hurd: fix f?chflags prototypes, declare them and their flags
[glibc.git] / ChangeLog
blob0474b0f0355de4d598e2ce15dacfc92d3150b7ff
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.
5         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6         instead of int.
7         * misc/fchflags.c (fchflags): Likewise.
8         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
9         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
10         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
11         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
12         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
13         Declare macros.
14         [__USE_MISC] (chflags, fchflags): Declare functions.
16 2015-02-06  Roland McGrath  <roland@hack.frob.com>
18         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
19         Use sfi_breg on ldr.
20         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
21         Likewise.
23         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24         it's defined.
25         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
26         Test SIGSETXID only if it's defined.
28         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
30         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
31         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
33         * nptl/tst-align2.c: Moved ...
34         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
35         * nptl/Makefile (tests): Remove tst-align2.
36         * sysdeps/unix/sysv/linux/Makefile
37         [$(subdir) = nptl] (tests): Add tst-align-clone.
38         * nptl/tst-getpid1.c: Moved ...
39         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
40         * nptl/tst-getpid2.c: Moved ...
41         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
42         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
43         * sysdeps/unix/sysv/linux/Makefile
44         [$(subdir) = nptl] (tests): ... here.
45         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
46         * sysdeps/unix/sysv/linux/Makefile
47         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
49         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
50         Drop trailing \n from perror argument.  Use return rather than exit.
52         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
53         on [SA_SIGINFO].
54         * nptl/tst-cancel21.c (do_test): Likewise.
55         * debug/tst-backtrace6.c: Include <signal.h> first thing.
56         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
57         [!SA_SIGINFO]: Make it a stub test.
59         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
60         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
62         * posix/tst-getlogin.c: Move to ...
63         * login/tst-getlogin.c: ... here.
64         * posix/Makefile (tests): Move tst-getlogin to ...
65         * login/Makefile (tests): ... here.
67         * libio/tst-atime.c (do_test): Move local variables SV and E
68         inside [ST_NOATIME] conditional.
70         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
72         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
74         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
75         (wait_code): New function replaces macro.
76         Call nanosleep rather than syscall.
78         * nptl/pt-system.c: Rewritten.  Put everything under
79         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
80         Use IFUNC to redirect when possible.
82         * nptl/pt-longjmp.c: Rewritten.  Put everything under
83         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
84         Use IFUNC to redirect when possible.
86         * nptl/pt-fork.c: Rewritten.  Put everything under
87         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
88         Use IFUNC to redirect when possible.
89         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
91         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
92         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
93         unconditionally nowadays.  This included the only reference to
94         __vdso_clock_gettime that appears outside libc proper.
95         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
96         Remove version set (containing only __vdso_clock_gettime).
97         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
98         Add attribute_hidden.
99         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
100         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
101         libc_hidden_data_def.
102         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
103         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
105         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
106         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
107         setrpcent, and getrpcport to ...
108         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
109         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
110         getrpcbynumber_r, and getrpcent_r to ...
111         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
112         * inet/getrpcbyname.c: Moved ...
113         * sunrpc/getrpcbyname.c: ... here.
114         * inet/getrpcbyname_r.c: Moved ...
115         * sunrpc/getrpcbyname_r.c: ... here.
116         * inet/getrpcbynumber.c: Moved ...
117         * sunrpc/getrpcbynumber.c: ... here.
118         * inet/getrpcbynumber_r.c: Moved ...
119         * sunrpc/getrpcbynumber_r.c: ... here.
120         * inet/getrpcent.c: Moved ...
121         * sunrpc/getrpcent.c: ... here.
122         * inet/getrpcent_r.c: Moved ...
123         * sunrpc/getrpcent_r.c: ... here.
124         * inet/Makefile (routines): Move those to ...
125         * sunrpc/Makefile (routines): ... here.
126         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
127         the $(subdirs) list.
128         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
129         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
130         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
131         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
133         * elf/Makefile (routines): Include $(all-dl-routines), not just
134         $(dl-routines).
135         (rtld-routines): Likewise.  Use = rather than :=.
136         * sysdeps/aarch64/Makefile [$(subdir) = elf]
137         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
138         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
139         * sysdeps/arm/Makefile: Likewise.
140         * sysdeps/i386/Makefile: Likewise.
141         * sysdeps/x86_64/Makefile: Likewise.
142         * sysdeps/hppa/Makefile [$(subdir) = elf]
143         (sysdep_routines, sysdep-rtld-routines): Don't add
144         $(sysdep-dl-routines) to these.
145         * sysdeps/ia64/Makefile: Likewise.
146         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
147         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
148         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
149         Don't add dl-static to these; sysdep-dl-routines alone is enough.
150         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
151         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
152         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
153         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
154         * sysdeps/powerpc/Makefile [$(subdir) = elf]
155         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
156         these; sysdep-dl-routines alone is enough.
158 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
160         [BZ #17932]
161         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
162         where multiplication results in zero and third argument is finite
163         and nonzero.
164         * math/auto-libm-test-in: Add more tests of fma.
165         * math/auto-libm-test-out: Regenerated.
167         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
168         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
169         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
170         (_FP_CMP_EQ): Likewise.
171         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
173         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
174         extra argument CHECK_NAN.  Redefine as wrapper around
175         _FP_EXTEND_CNAN.
177 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
179         * version.h (RELEASE): Set to "stable".
180         (VERSION): Set to "2.21"
181         * include/features.h (__GLIBC_MINOR__): Set to 21.
183         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
185 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
186             Paul Eggert  <eggert@cs.ucla.edu>
188         [BZ #16618]
189         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
190         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
191         size in bytes. Store needed elements in wpmax. Use needed size
192         in bytes for extend_alloca.
194 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
196         * manual/install.texi: Latest tested versions are GCC 4.9.2,
197         binutls 2.25, and texinfo 5.2.
198         * INSTALL: Regenerate.
199         * sysdeps/nios2/configure: Regenerate.
200         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
201         * manual/contrib.texi: Update.
202         * po/be.po: Update.
203         * po/bg.po: Update.
204         * po/ca.po: Update.
205         * po/cs.po: Update.
206         * po/da.po: Update.
207         * po/de.po: Update.
208         * po/el.po: Update.
209         * po/eo.po: Update.
210         * po/es.po: Update.
211         * po/fi.po: Update.
212         * po/fr.po: Update.
213         * po/gl.po: Update.
214         * po/hr.po: Update.
215         * po/hu.po: Update.
216         * po/ia.po: Update.
217         * po/id.po: Update.
218         * po/it.po: Update.
219         * po/ja.po: Update.
220         * po/ko.po: Update.
221         * po/lt.po: Update.
222         * po/nb.po: Update.
223         * po/nl.po: Update.
224         * po/pl.po: Update.
225         * po/pt_BR.po: Update.
226         * po/ru.po: Update.
227         * po/rw.po: Update.
228         * po/sk.po: Update.
229         * po/sl.po: Update.
230         * po/sv.po: Update.
231         * po/tr.po: Update.
232         * po/uk.po: Update.
233         * po/vi.po: Update.
234         * po/zh_CN.po: Update.
235         * po/zh_TW.po: Update.
237         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
238         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
239         * sysdeps/hppa/dl-irel.h: Remove #warning.
240         * sysdeps/hppa/entry.h: Provide prototype for
241         __canonicalize_funcptr_for_compare and cast argument.
242         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
243         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
244         * sysdeps/hppa/sotruss-lib.c: New file.
245         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
246         (atomic_compare_and_exchange_val_acq): Use __typeof__.
247         (atomic_compare_and_exchange_bool_acq): Likewise.
248         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
249         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
251         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
252         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
253         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
255 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
257         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
258         called function in non-PIC case.
260 2015-01-31  David S. Miller  <davem@davemloft.net>
262         * sysdeps/sparc/sparc32/bits/atomic.h
263         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
264         unlock not after it.
265         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
266         volatile register usage warnings from the compiler.
268         * sysdeps/sparc/nptl/sem_init.c: Delete.
269         * sysdeps/sparc/nptl/sem_post.c: Delete.
270         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
271         * sysdeps/sparc/nptl/sem_wait.c: Delete.
272         * sysdeps/sparc/sparc32/sem_init.c: New file.
273         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
274         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
275         padding explicitly initialized.
276         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
277         padding for in-semaphore spinlock.
278         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
279         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
280         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
281         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
282         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
283         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
284         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
285         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
286         version.
287         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
288         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
290 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
292         [BZ #17801]
293         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
294         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
295         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
296         New.
297         (index_AVX_Fast_Unaligned_Load): Likewise.
298         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
299         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
300         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
301         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
302         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
303         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
304         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
305         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
306         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
308 2015-01-29  Andreas Schwab  <schwab@suse.de>
310         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
312 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
314         [BZ #17892]
315         * nscd/nscd_stat.c (send_stats): Initialize DATA.
317 2015-01-28  Martin Sebor  <msebor@redhat.com>
319         * math/README.libm-test: Clarify. Add "How to read the test output."
321 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
323         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
324         Define to 0.
326 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
328         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
329         (__HAVE_64B_ATOMICS): Define to 0.
331 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
333         [BZ #17885]
334         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
335         value to set as new flag.
337         [BZ #16576]
338         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
339         and use _ARCH_PPCSQ instead.
340         (__ieee754_sqrt): Likewise.
341         (__ieee754_sqrtf): Likewise.
342         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
343         _ARCH_PPCSQ is defined.
344         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
345         fsqrt instruction.
346         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
347         _ARCH_PPCSQ is defined.
348         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
349         fsqrts instruction.
350         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
352 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
354         * iconv/loop.c: Suppress array out of bound warning caused by GCC
355         bug (GCC BZ #64739).
357 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
359         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
360         Mark _retval as used.
361         (lll_futex_wake_unlock): Likewise.
362         (lll_futex_timed_wait_requeue_pi): Likewise.
364         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
365         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
366         register variables.
368         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
369         libm_hidden_def.
371         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
372         (__bswap_64): Mark as __always_inline.
374 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
376         [BZ #15378]
377         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
378         when none of the search directories exist.
380 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
382         [BZ #17869]
383         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
384         power8 in .machine directive.
386         [BZ #17868]
387         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
388         set dependency from opd value.
390 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
392         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
393         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
394         architecture.
396 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
398         [BZ #17870]
399         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
400         with uint64_t.
401         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
402         (uint64_t) 1.
403         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
404         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
405         Replace 1UL with (uint64_t) 1.
406         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
407         int with uint64_t.
409 2015-01-23  Roland McGrath  <roland@hack.frob.com>
411         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
412         (if_freenameindex): Likewise.
414         * resource/getrlimit64.c: Add missing libc_hidden_def.
416 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
418         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
419         __label__.
420         (_FP_FMA): Likewise.
421         (_FP_TO_INT_ROUND): Likewise.
422         (_FP_FROM_INT): Likewise.
424 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
426         [BZ #16418]
427         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
428         Make code racy and cancel safe.
430 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
432         * sysdeps/arm/unwind-resume.h: Fix copyright year.
433         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
434         attribution.
436         * pwd/tst-getpw.c: Rewrite.
438         [BZ #17702]
439         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
440         (modules-names): Add moddummy1 and moddummy2.
441         ($(objpfx)tst-rec-dlopen): Define.
442         * dlfcn/moddummy1.c: New file.
443         * dlfcn/moddummy2.c: New file.
444         * dlfcn/tst-rec-dlopen.c: New file.
445         * elf/dl-cache.c (_dl_load_cache_lookup):
446         Return char*. Copy result with alloca/strcpy/strdup.
447         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
448         returns char*. Free cached. If not saving realname
449         free cached.
450         * elf/dl-open.c (dl_open_worker): Do not assert that
451         _r_debug->r_state is RT_CONSISTENT.
452         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
453         returns char*.
455 2015-01-21  Torvald Riegel  <triegel@redhat.com>
456             Carlos O'Donell  <carlos@redhat.com>
458         [BZ #12674]
459         * nptl/sem_waitcommon.c: New file.
460         * nptl/sem_wait.c: Include sem_waitcommon.c.
461         (__sem_wait_cleanup, do_futex_wait): Remove.
462         (__new_sem_wait): Adapt.
463         (__new_sem_trywait): New function.
464         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
465         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
466         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
467         (sem_timedwait): Adapt.
468         * nptl/sem_post.c (__new_sem_post): Adapt.
469         (futex_wake): New function.
470         (__old_sem_post): Add release MO fence.
471         * nptl/sem_open.c (sem_open): Adapt.
472         * nptl/sem_init.c (__new_sem_init): Adapt.
473         (futex_private_if_supported): New function.
474         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
475         (__old_sem_getvalue): Add using previous code.
476         * sysdeps/nptl/internaltypes.h: Adapt.
477         * nptl/tst-sem13.c (do_test): Adapt.
478         * nptl/tst-sem11.c (main): Adapt.
479         * nptl/sem_trywait.c: Remove.
480         * nptl/DESIGN-sem.txt: Remove.
481         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
482         (gen-as-const-headers): Remove structsem.sym.
483         * nptl/structsem.sym: Remove.
484         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
485         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
486         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
487         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
488         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
489         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
490         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
491         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
492         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
493         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
494         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
495         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
496         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
497         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
498         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
499         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
500         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
501         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
502         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
503         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
504         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
505         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
507 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
509         * INSTALL: Regenerated.
511         * po/libc.pot: Regenerated.
513 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
514             Sandra Loosemore  <sandra@codesourcery.com>
515             Andrew Jenner  <andrew@codesourcery.com>
516             Joseph Myers  <joseph@codesourcery.com>
517             Nathan Sidwell  <nathan@codesourcery.com>
519         * NEWS: Mention new Nios II port.
520         * sysdeps/nios2/Implies: New file.
521         * sysdeps/nios2/Makefile: New file.
522         * sysdeps/nios2/Subdirs: New file.
523         * sysdeps/nios2/Versions: New file.
524         * sysdeps/nios2/__longjmp.S: New file.
525         * sysdeps/nios2/abort-instr.h: New file.
526         * sysdeps/nios2/backtrace.c: New file.
527         * sysdeps/nios2/bits/endian.h: New file.
528         * sysdeps/nios2/bits/fenv.h: New file.
529         * sysdeps/nios2/bits/link.h: New file.
530         * sysdeps/nios2/bits/setjmp.h: New file.
531         * sysdeps/nios2/bsd-_setjmp.S: New file.
532         * sysdeps/nios2/bsd-setjmp.S: New file.
533         * sysdeps/nios2/configure: New generated file.
534         * sysdeps/nios2/configure.ac: New file.
535         * sysdeps/nios2/crti.S: New file.
536         * sysdeps/nios2/crtn.S: New file.
537         * sysdeps/nios2/dl-init.c: New file.
538         * sysdeps/nios2/dl-machine.h: New file.
539         * sysdeps/nios2/dl-sysdep.h: New file.
540         * sysdeps/nios2/dl-tls.h: New file.
541         * sysdeps/nios2/dl-trampoline.S: New file.
542         * sysdeps/nios2/gccframe.h: New file.
543         * sysdeps/nios2/gmp-mparam.h: New file.
544         * sysdeps/nios2/jmpbuf-offsets.h: New file.
545         * sysdeps/nios2/jmpbuf-unwind.h: New file.
546         * sysdeps/nios2/ldsodefs.h: New file.
547         * sysdeps/nios2/libc-tls.c: New file.
548         * sysdeps/nios2/libm-test-ulps: New file.
549         * sysdeps/nios2/machine-gmon.h: New file.
550         * sysdeps/nios2/math-tests.h: New file.
551         * sysdeps/nios2/math_private.h: New file.
552         * sysdeps/nios2/memusage.h: New file.
553         * sysdeps/nios2/nptl/Makefile: New file.
554         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
555         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
556         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
557         * sysdeps/nios2/nptl/pthreaddef.h: New file.
558         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
559         * sysdeps/nios2/nptl/tls.h: New file.
560         * sysdeps/nios2/preconfigure: New file.
561         * sysdeps/nios2/s_fma.c: New file.
562         * sysdeps/nios2/s_fmaf.c: New file.
563         * sysdeps/nios2/setjmp.S: New file.
564         * sysdeps/nios2/sfp-machine.h: New file.
565         * sysdeps/nios2/sotruss-lib.c: New file.
566         * sysdeps/nios2/stackguard-macros.h: New file.
567         * sysdeps/nios2/stackinfo.h: New file.
568         * sysdeps/nios2/start.S: New file.
569         * sysdeps/nios2/sysdep.h: New file.
570         * sysdeps/nios2/tls-macros.h: New file.
571         * sysdeps/nios2/tst-audit.h: New file.
572         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
573         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
574         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
575         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
576         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
577         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
578         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
579         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
580         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
581         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
582         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
583         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
584         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
585         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
586         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
587         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
588         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
589         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
590         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
591         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
592         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
593         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
594         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
595         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
596         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
597         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
598         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
599         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
600         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
601         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
602         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
603         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
604         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
605         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
606         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
607         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
608         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
609         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
610         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
611         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
612         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
613         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
614         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
615         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
617 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
619         [BZ #17844]
620         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
621         (getutent): Use weak_alias in non SHARED case
622         and default_symbol_version in SHARED case.
623         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
624         (getutent_r, pututline): Likewise.
625         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
626         (getutid): Likewise.
627         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
628         (getutid_r): Likewise.
629         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
630         (getutline): Likewise.
631         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
632         (getutline_r): Likewise.
633         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
634         (updwtmp): Likewise.
636 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
638         [BZ #17848]
639         * sysdeps/s390/s390-32/memcmp.S
640         (memcmp_g5): Rename to __memcmp_g5.
641         * sysdeps/s390/s390-32/memcpy.S
642         (memcpy_g5): Rename to __memcpy_g5.
643         Jump to __memcpy_mvcle instead of memcpy_mvcle.
644         (memcpy_mvcle) Rename to __memcpy_mvcle.
645         * sysdeps/s390/s390-32/memset.S
646         (memset_g5): Rename to __memset_g5.
647         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
648         (IFUNC_RESOLVE): Prefix ifunc-resolve function
649         and use prefixed functions.
650         * sysdeps/s390/s390-32/multiarch/memcmp.S
651         (memcmp_z196): Rename to __memcmp_z196.
652         (memcmp_z10): Rename to __memcmp_z10.
653         (memcmp): Set alias to __memcmp_g5.
654         (bcmp): Set alias to __memcmp_g5.
655         * sysdeps/s390/s390-32/multiarch/memcpy.S
656         (memcpy_z196): Rename to __memcpy_z196.
657         Jump to __memcpy_mvcle instead of memcpy_mvcle.
658         (memcpy_z10): Rename to __memcpy_z10.
659         Jump to __memcpy_mvcle instead of memcpy_mvcle.
660         (memcpy): Set alias to __memcpy_g5.
661         * sysdeps/s390/s390-32/multiarch/memset.S
662         (memset_z196): Rename to __memset_z196.
663         Jump to __memset_mvcle instead of memset_mvcle.
664         (memset_z10): Rename to __memset_z10.
665         Jump to __memset_mvcle instead of memset_mvcle.
666         (memset_mvcle) Rename to __memset_mvcle.
667         (memset): Set alias to __memset_g5.
668         * sysdeps/s390/s390-64/memcmp.S
669         (memcmp_z900): Rename to __memcmp_z900.
670         * sysdeps/s390/s390-64/memcpy.S
671         (memcpy_z900): Rename to __memcpy_z900.
672         Jump to __memcpy_mvcle instead of memcpy_mvcle.
673         (memcpy_mvcle) Rename to __memcpy_mvcle.
674         * sysdeps/s390/s390-64/memset.S
675         (memset_z900): Rename to __memset_z900.
676         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
677         (IFUNC_RESOLVE): Prefix ifunc-resolve function
678         and use prefixed functions.
679         * sysdeps/s390/s390-64/multiarch/memcmp.S
680         (memcmp_z196): Rename to __memcmp_z196.
681         (memcmp_z10): Rename to __memcmp_z10.
682         (memcmp): Set alias to __memcmp_z900.
683         (bcmp): Set alias to __memcmp_z900.
684         * sysdeps/s390/s390-64/multiarch/memcpy.S
685         (memcpy_z196): Rename to __memcpy_z196.
686         Jump to __memcpy_mvcle instead of memcpy_mvcle.
687         (memcpy_z10): Rename to __memcpy_z10.
688         Jump to __memcpy_mvcle instead of memcpy_mvcle.
689         (memcpy): Set alias to __memcpy_z900.
690         * sysdeps/s390/s390-64/multiarch/memset.S
691         (memset_z196): Rename to __memset_z196.
692         Jump to __memset_mvcle instead of memset_mvcle.
693         (memset_z10): Rename to __memset_z10.
694         Jump to __memset_mvcle instead of memset_mvcle.
695         (memset_mvcle) Rename to __memset_mvcle.
696         (memset): Set alias to __memset_z900.
698 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
700         [BZ #17748]
701         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
702         __fesetenv instead of fesetenv.
704 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
706         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
707         macro.
709 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
711         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
712         regression on LE.
714         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
715         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
716         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
717         strncmp-power8 object.
718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
719         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
720         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
721         * NEWS: Update.
723 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
724             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
726         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
727         trailing byte check.
729 2015-01-13  David S. Miller  <davem@davemloft.net>
731         * include/signal.h (__sigreturn): Guard with __USE_MISC.
733 2015-01-13  Roland McGrath  <roland@hack.frob.com>
735         * login/logout.c (logout): Use memset rather than bzero.
736         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
737         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
738         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
739         (_gethtbyaddr): Likewise.
740         * locale/programs/simple-hash.c (bcopy): Macro removed.
742 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
744         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
745         Add strcmp-power8 object.
746         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
747         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
748         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
749         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
750         __strcmp_power8 implementation.
751         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
752         * NEWS: Update.
754         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
755         Add strncpy-power8 and stpncpy-power8 objects.
756         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
757         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
758         implementations.
759         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
760         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
761         __stpncpy_power8 implementation.
762         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
763         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
764         __strncpy_power8 implementation.
765         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
766         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
767         * NEWS: Update.
769         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
770         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
771         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
773         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
774         strncat-power8 object.
775         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
776         __strcat_power8 implementation.
777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
778         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
779         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
780         optimized strcat for power8.
782         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
783         strcpy-power8 and stpcpy-power8 objects.
784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
785         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
786         implementations.
787         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
788         multiarch stpcpy implementation for POWER8.
789         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
790         multiarch strcpy implementation for POWER8.
791         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
792         __strcpy_power8 function.
793         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
794         stpcpy for POWER8.
795         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
796         strcpy for POWER8.
797         * NEWS: Update.
799 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
801         [BZ #16009]
802         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
803         weights and rules. Use do_xfrm_cached if data fits in cache,
804         do_xfrm otherwise.  Moved former main loop to...
805         * (do_xfrm_cached): New function.
806         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
807         find_idx, find_position and stack_push.
808         * (find_idx): New function.
809         * (find_position): Likewise.
810         * localedata/sort-test.sh: Added test run for do_xfrm.
811         * localedata/xfrm-test.c (main): Added command line option
812         -nocache to run the test with strings that are too large for
813         the STRXFRM cache.
815 2015-01-13  Torvald Riegel  <triegel@redhat.com>
817         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
818         variable to lll_futex_wake call, not the value itself.
820 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
822         [BZ #17803]
823         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
824         twom64.  Adjust value to 0x1p-64L.
825         (__scalblnl): Only return standard underflowing result for K <=
826         -64 not K <= -63; adjust exponent for underflowing result by 64
827         not 63.
828         * math/libm-test.inc (scalbn_test_data): Add more tests.
829         (scalbln_test_data): Likewise.
831         [BZ #17834]
832         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
833         0x1p63L.
834         (__scalblnl): Get new exponent of adjusted subnormal value from ES
835         not HX.
836         * math/libm-test.inc (scalbn_test_data): Add more tests.
837         (scalbln_test_data): Likewise.
839 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
840             Stefani Seibold  <stefani@seibold.net>
842         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
843         (sysdep_routines): Add dl-vdso here, ...
844         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
845         (sysdep_routines): ... not here.
846         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
847         fallback when vDSO is not presented.
848         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
849         Define with libc_hidden_proto/libc_hidden_data_def definitions.
850         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
851         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
852         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
853         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
854         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
855         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
856         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
857         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
858         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
859         fallback configurable symbol when vDSO is not available.
860         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
861         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
862         be able to redefine fallback symbol when vDSO is not available.
863         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
864         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
866 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
868         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
869         (TLS_INIT_TP): Add tm_capable initialization.
870         (TLS_DEFINE_INIT_TP): Likewise.
871         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
872         TCB.
873         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
874         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
875         calculation.
876         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
877         transactoion is lock elision is built and TCB tm_capable is set.
878         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
880         (INTERNAL_SYSCALL_NCS): Likewise.
881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
882         (INTERNAL_SYSCALL_NCS): Likewise.
883         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
885         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
886         for powerpc.
887         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
888         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
889         and remove it for 32 bits case.
890         [pthread_rwlock_t] (__rwelision): New field for lock elision.
891         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
892         initialization.
893         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
894         Disable lock elision with rdlocks if elision is not available.
896         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
897         (sysdep_routines): Add lock elision objects.
898         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
899         [pthread_mutex_t] (__spins): Rework to add lock elision field.
900         [pthread_mutex_t] (__elision): Add field.
901         [__PTHREAD_SPINS]: Adjust to init lock elision field.
902         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
903         elision definitions for powerpc.
904         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
905         implementation of lock elision for powerpc.
906         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
907         implementation of timed lock elision for powerpc.
908         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
909         implementation of trylock with lock elision for powerpc.
910         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
911         implementaion of unlock for lock elision for powerpc.
912         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
913         automatic enable lock elision for mutexes.
914         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
915         transaction execution definitions for powerpc.
916         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
917         definitions.
918         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
919         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
920         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
921         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
922         * NEWS: Update.
924 2015-01-09  Roland McGrath  <roland@hack.frob.com>
926         * sysdeps/posix/shm-directory.c: Use <> rather than ""
927         for #include of <shm-directory.h>.
929 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
931         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
932         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
934 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
936         [BZ #17791]
937         * NEWS: Mention bug fix.
938         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
939         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
940         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
942 2015-01-09  Torvald Riegel <triegel@redhat.com>
944         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
946 2015-01-09  Torvald Riegel <triegel@redhat.com>
948         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
950 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
952         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
953         pointer and cast to uintptr_t.
955 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
957         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
958         removed.
959         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
961 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
963         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
964         of 0.
966 2015-01-08  Roland McGrath  <roland@hack.frob.com>
968         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
969         <nptl/pthreadP.h> instead.
970         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
972         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
973         already defined.
974         [__SIGRTMIN] (init): Function removed.
975         [__SIGRTMIN] (initialized): Variable removed.
976         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
977         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
978         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
979         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
980         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
981         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
982         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
983         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
984         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
985         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
986         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
987         * sysdeps/nptl/allocrtsig.c: New file.
988         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
989         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
990         * sysdeps/generic/testrtsig.h: File removed.
992         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
993         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
995         * nptl/nptl-init.c (pthread_functions): Conditionalize
996         .ptr__nptl_setxid initialization on [SIGSETXID].
998         * sysdeps/nptl/sys/procfs.h: New file.
999         * nptl_db/Makefile (headers): Add it.
1000         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1002         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1003         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1004         * nptl/pthread_attr_setaffinity.c: Include it.
1005         * nptl/pthread_setattr_default_np.c: Likewise.
1006         * nptl/check-cpuset.h: New file.
1008 2015-01-08  Richard Henderson  <rth@redhat.com>
1010         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1011         (CFLAGS-tst-execstack-prog.c): Likewise.
1012         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1014 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
1015             Sandra Loosemore  <sandra@codesourcery.com>
1016             Andrew Jenner  <andrew@codesourcery.com>
1017             Joseph Myers  <joseph@codesourcery.com>
1018             Nathan Sidwell  <nathan@codesourcery.com>
1020         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1021         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1022         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1023         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1024         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1025         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1026         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1027         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1028         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1029         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1030         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1031         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1032         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1033         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1034         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1035         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1036         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1038 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1040         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1041         timespec struct member in syscall macro.
1042         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1043         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1044         first timeval struct member in syscall macro.
1045         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1047 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
1049         [BZ #17748]
1050         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1051         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1052         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1053         __feupdateenv and define as weak alias of __feupdateenv.  Use
1054         libm_hidden_weak.
1055         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1056         libm_hidden_def.
1057         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1058         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
1059         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1060         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1061         libm_hidden_def.
1062         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1063         __feupdateenv and define as weak alias of __feupdateenv.  Use
1064         libm_hidden_weak.
1065         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1066         libm_hidden_def.
1067         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1068         __feupdateenv and define as weak alias of __feupdateenv.  Use
1069         libm_hidden_weak.
1070         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1071         libm_hidden_def.
1072         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1073         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1074         (__feupdateenv): Likewise.
1075         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1076         __feupdateenv and define as weak alias of __feupdateenv.  Use
1077         libm_hidden_weak.
1078         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1079         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1080         libm_hidden_def.
1081         * sysdeps/tile/math_private.h (__feupdateenv): New inline
1082         function.
1083         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1084         libm_hidden_def.
1085         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1086         __feupdateenv instead of feupdateenv.
1087         (default_libc_feupdateenv_test): Likewise.
1088         (libc_feresetround_ctx): Likewise.
1090 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1092         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1093         prototype.
1095 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
1097         * posix/regcomp.c (parse_bracket_exp): Initialize type to
1098         COLL_SYM in a couple of places to avoid uninitialized variable
1099         wanings on tilegx gcc 4.8.2.
1101 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1103         * sysdeps/aarch64/strcpy.S: New file.
1104         * sysdeps/aarch64/stpcpy.S: New file.
1105         * NEWS: Updated.
1107 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1109         * sysdeps/aarch64/strrchr.S: New file.
1110         * NEWS: Updated.
1112 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
1114         [BZ #17658]
1115         * stdlib/setenv.c: Fix memory leak when setting large,
1116         duplicate string.
1118 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
1120         [BZ #17273]
1121         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1122         and tabs from buffer before parsing fstab entry.
1123         * misc/tst-mntent.c (main): Add test for mount entry with
1124         trailing spaces and tabs.
1126 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
1128         [BZ #17748]
1129         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
1130         * math/fesetround.c (fesetround): Rename to __fesetround and
1131         define as weak alias of __fesetround.  Use libm_hidden_weak.
1132         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1133         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1134         * sysdeps/arm/fesetround.c (fesetround): Likewise.
1135         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1136         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1137         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1138         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1139         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1140         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1141         __fesetround_inline.
1142         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1143         __fesetround_inline instead of __fesetround.
1144         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1145         __fesetround and define as weak alias of __fesetround.  Use
1146         libm_hidden_weak.  Call __fesetround_inline instead of
1147         __fesetround.
1148         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1149         __fesetround and define as weak alias of __fesetround.  Use
1150         libm_hidden_weak.
1151         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1152         Likewise.
1153         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1154         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1155         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1156         * sysdeps/tile/math_private.h (__fesetround): New inline function.
1157         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1158         __fesetround and define as weak alias of __fesetround.  Use
1159         libm_hidden_weak.
1160         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1161         __fesetround instead of fesetround.
1162         (default_libc_feholdexcept_setround): Likewise.
1163         (libc_feholdsetround_ctx): Likewise.
1164         (libc_feholdsetround_noex_ctx): Likewise.
1166         [BZ #17748]
1167         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1168         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1169         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1170         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1171         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1172         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1173         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1174         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1175         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1176         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1177         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1178         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1179         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1180         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1181         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1182         libm_hidden_def.
1183         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1184         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1185         Likewise.
1186         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1187         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1188         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1189         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1190         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1191         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1192         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1193         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1194         __fesetenv instead of fesetenv.
1195         (libc_feresetround_noex_ctx): Likewise.
1196         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1197         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1198         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1199         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1200         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1201         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1202         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1203         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1204         (__feupdateenv): Likewise.
1205         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1206         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1207         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1208         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1210 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1212         [BZ #17806]
1213         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1214         addresses have been freed.
1216 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1218         * resolv/res_init.c (__res_vinit): Improve comments about nserv
1219         and nservall.
1221 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
1223         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1224         Clean up check_pf allocation pattern. addresses
1226 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1228         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1229         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1230         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1231         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1232         * nptl/pthread_join.c (pthread_join): Likewise.
1233         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1234         * sysdeps/posix/waitid.c (__waitid): Likewise.
1235         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1236         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1237         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1238         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1239         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1240         Likewise.
1241         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1242         (__libc_pread64): Likewise.
1243         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1244         (__libc_pwrite): Likewise.
1245         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1246         (__libc_pwrite64): Likewsie.
1247         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1248         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1249         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1250         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1251         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1252         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1253         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1255         Likewise.
1256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1257         (__libc_pread64): Likewise.
1258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1259         Likewise.
1260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1261         (__libc_pwrite64): Likewise.
1262         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1263         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1264         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1265         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1266         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1267         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1268         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1269         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1270         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1271         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1272         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1273         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1274         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1275         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1276         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1277         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1278         Likewise.
1280 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1282         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1283         (CFLAGS-test-double.c): Likewise.
1284         (CFLAGS-test-ldouble.c): Likewise.
1285         (CPPFLAGS-test-ifloat.c): Likewise.
1286         (CPPFLAGS-test-idouble.c): Likewise.
1287         (CPPFLAGS-test-ildoubl.c): Likewise.
1288         (CFLAGS-test-test-fenv.c): Remove variable.
1289         (CFLAGS-test-misc.c): Likewise.
1291 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
1293         [BZ #17797]
1294         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1295         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1296         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1297         CLOCKS_PER_SEC == 1000000.
1298         * time/clocktest.c (main): Replace %ld with %jd and cast to
1299         intmax_t.
1301 2015-01-05  Roland McGrath  <roland@hack.frob.com>
1303         * sysdeps/generic/unwind-resume.h: New file.
1304         * sysdeps/gnu/unwind-resume.c: Include it.
1305         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1306         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1307         argument list.
1308         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1309         global rather than static.
1310         (_Unwind_Resume): Update user.
1311         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1312         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
1313         rather than static.  Add __attribute__ ((cold)).
1314         (_Unwind_Resume, __gcc_personality_v0): Update callers.
1315         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1316         * sysdeps/arm/arm-unwind-resume.S: New file.
1317         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1318         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1319         * sysdeps/arm/Makefile [$(subdir) = csu]
1320         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1321         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1322         Add rt-arm-unwind-resume.
1323         [$(subdir) = nptl]
1324         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1325         Add pt-arm-unwind-resume.
1326         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1327         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1329 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1331         [BZ #17748]
1332         * include/fenv.h (__feholdexcept): Declare.  Use
1333         libm_hidden_proto.
1334         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1335         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
1336         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1337         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1338         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1339         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1340         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1341         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1342         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1343         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1344         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1345         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1346         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1347         (feholdexcept): Likewise.
1348         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1349         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1350         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1351         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1352         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1353         __feholdexcept instead of feholdexcept.
1354         (default_libc_feholdexcept_setround): Likewise.
1356 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1358         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1359         to avoid using stl/str to align destination.
1361 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1363         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1365 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1367         [BZ #17796]
1368         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1369         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1370         Define as weak alias not strong alias.
1372 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1374         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1375         bltzal with addiupc.
1376         (RTLD_START): Ditto.
1378 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
1380         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1381         for __vdso_* functions in declarations.
1382         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1383         definitions.
1384         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1385         INTERNAL_VSYSCALL): Use struct return types to check for error.
1387         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1388         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1389         function with cast from llround().
1390         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1391         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1392         Define.
1394 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1396         [BZ #17793]
1397         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1398         Define as weak alias not strong alias.
1400         [BZ #17635]
1401         * ctype/ctype-c99.c: New file.  isblank implementation moved from
1402         ...
1403         * ctype/ctype-extn.c: ... here.
1404         (__isblank_l): Move to ...
1405         * ctype/ctype-c99_l.c: ... here.  New file.
1406         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1407         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1408         Remove variable.
1409         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1410         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1411         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1412         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1413         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1415         [BZ #17777]
1416         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1417         (posix_fadvise64): Define as weak alias not strong alias.
1418         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1419         (posix_fallocate64): Likewise.
1420         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1421         Remove variable.
1422         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1423         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1424         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1425         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1426         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1428 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
1430         [BZ #16191]
1431         * NEWS: Mention bug fix.
1432         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1433         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1434         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1435         (HOST_STACK_END_ADDR): Likewise.
1437 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1439         [BZ #17748]
1440         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
1441         * math/fegetround.c (fegetround): Rename to __fegetround and
1442         define as weak alias of __fegetround.  Use libm_hidden_weak.
1443         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1444         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1445         * sysdeps/arm/fegetround.c (fegetround): Likewise.
1446         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1447         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1448         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1449         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1450         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1451         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1452         Undefine after rather than before function definition; use
1453         parentheses around function name in definition.
1454         (__fegetround): Also undefine macro after function definition.
1455         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1456         __fegetround and define as weak alias of __fegetround.  Use
1457         libm_hidden_weak.  Do not undefine as macro.
1458         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1459         Likewise.
1460         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1461         __fegetround and define as weak alias of __fegetround.  Use
1462         libm_hidden_weak.
1463         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1464         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1465         * sysdeps/tile/math_private.h (__fegetround): New inline function.
1466         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1467         __fegetround and define as weak alias of __fegetround.  Use
1468         libm_hidden_weak.
1469         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1470         __fegetround instead of fegetround.
1472         [BZ #17782]
1473         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1474         Condition macro definition on [__USE_MISC].
1476         [BZ #17781]
1477         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1478         (struct sigaction): Change type of sa_flags field to int.
1480         [BZ #17780]
1481         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1482         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1483         __glibc_reserved0.
1485         * nptl/version.c (banner): Use single year in copyright notice.
1487         * NEWS: Update copyright dates.
1488         * catgets/gencat.c (print_version): Likewise.
1489         * csu/version.c (banner): Likewise.
1490         * debug/catchsegv.sh: Likewise.
1491         * debug/pcprofiledump.c (print_version): Likewise.
1492         * debug/xtrace.sh (do_version): Likewise.
1493         * elf/ldconfig.c (print_version): Likewise.
1494         * elf/ldd.bash.in: Likewise.
1495         * elf/pldd.c (print_version): Likewise.
1496         * elf/sotruss.sh: Likewise.
1497         * elf/sprof.c (print_version): Likewise.
1498         * iconv/iconv_prog.c (print_version): Likewise.
1499         * iconv/iconvconfig.c (print_version): Likewise.
1500         * locale/programs/locale.c (print_version): Likewise.
1501         * locale/programs/localedef.c (print_version): Likewise.
1502         * login/programs/pt_chown.c (print_version): Likewise.
1503         * malloc/memusage.sh (do_version): Likewise.
1504         * malloc/memusagestat.c (print_version): Likewise.
1505         * malloc/mtrace.pl: Likewise.
1506         * manual/libc.texinfo: Likewise.
1507         * nptl/version.c (banner): Likewise.
1508         * nscd/nscd.c (print_version): Likewise.
1509         * nss/getent.c (print_version): Likewise.
1510         * nss/makedb.c (print_version): Likewise.
1511         * posix/getconf.c (main): Likewise.
1512         * scripts/test-installation.pl: Likewise.
1513         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1515 2015-01-02  Will Newton  <will.newton@linaro.org>
1517         * sysdeps/arm/armv7/configure: Removed.
1518         * sysdeps/arm/armv7/configure.ac: Likewise.
1520 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1522         * All files with FSF copyright notices: Update copyright dates
1523         using scripts/update-copyrights.
1524         * intl/plural.c: Regenerated.
1525         * locale/programs/charmap-kw.h: Likewise.
1526         * locale/programs/locfile-kw.h: Likewise.
1528 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1530         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1532 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1534         [BZ #17748]
1535         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1536         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1537         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1538         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1539         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1540         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1541         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1542         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1543         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1544         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1545         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1546         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1547         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1548         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1549         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1550         libm_hidden_def.
1551         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1552         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1553         Likewise.
1554         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1555         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1556         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1557         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1558         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1559         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1560         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1561         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1562         __fegetenv instead of fegetenv.
1563         (libc_feholdsetround_noex_ctx): Likewise.
1565 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1567         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1568         (Elf_MIPS_ABIFlags_v0): New structure.
1569         (EF_MIPS_FP64): Define.
1570         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1571         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1572         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1573         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1574         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1575         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1576         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1577         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1578         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1579         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1580         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1581         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1582         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1583         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1584         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1585         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1586         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1587         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1588         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1589         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1590         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1591         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1592         field.
1593         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1594         EF_MIPS_FP64.
1595         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1596         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1597         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1598         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1599         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1600         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1601         * sysdeps/mips/tst-abi-interlink.c: Likewise.
1602         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1603         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1604         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1605         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1606         record the current FP ABI extension.
1607         (mips-mode-switch): Define to show if kernel headers support mode
1608         switching.
1609         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1610         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1611         supported SYSV ABI version to 3.
1612         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1613         feature.
1615 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1616             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1618         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1619         path.
1620         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1622 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1624         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1625         __fegetround and redefine to call __fegetround.  Remove condition
1626         on [!__NO_MATH_INLINES].
1627         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1628         function.
1629         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1630         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1631         Remove macro.
1632         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1633         instead of <fenv_libc.h>.
1634         (__llrintl): Call fegetround instead of __fegetround.
1635         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1636         instead of <fenv_libc.h>.
1637         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1638         (__lrintl): Call fegetround instead of __fegetround.
1639         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1640         instead of <fenv_libc.h>.
1641         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1642         (__rintl): Call fegetround instead of __fegetround.
1644 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1646         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1647         arrays.
1649 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1651         [BZ #17775]
1652         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1653         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1654         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1656 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1658         * sysdeps/i386/tls-macros.h: Include <features.h>.
1659         (TLS_LE): Use non-PIC version for GCC >= 5.0.
1660         (TLS_IE): Likewise.
1661         (TLS_LD): Likewise.
1662         (TLS_GD): Likewise.
1663         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1664         define for GCC >= 5.0.
1666 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
1668         * math/test-fenv.c (test_single_exception, set_single_exc,
1669         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1670         feexcp_mask_test, feenable_test, fe_single_test): Add
1671         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1672         case where they are not used.
1673         * math/libm-test.inc: Likewise.
1674         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1675         unused in the absence of FP rounding/exception support.
1676         * stdio-common/tst-printf-round.c: Likewise.
1677         * stdlib/tst-strtod-round.c: Likewise.
1678         * stdlib/tst-strtod-underflow.c: Likewise.
1680 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
1682         [BZ #17723]
1683         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1684         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1685         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1686         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1687         libm_hidden_weak.
1688         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1689         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1690         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1691         libm_hidden_def.
1692         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1693         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1694         libm_hidden_weak.
1695         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1696         Likewise.
1697         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1698         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1699         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1700         libm_hidden_weak.
1701         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1702         libm_hidden_def.
1703         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1704         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1705         (__feraiseexcept): Likewise.
1706         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1707         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1708         libm_hidden_weak.
1709         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1710         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1711         libm_hidden_def.
1712         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1713         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1714         Use libm_hidden_def.
1715         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1716         libm_hidden_def.
1717         (feraiseexcept): Define as weak not strong alias.  Use
1718         libm_hidden_weak.
1719         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1720         New inline function.  Factored out of ...
1721         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
1722         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1723         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1724         feraiseexcept.
1725         * math/w_acos.c (__acos): Likewise.
1726         * math/w_asin.c (__asin): Likewise.
1727         * math/w_ilogb.c (__ilogb): Likewise.
1728         * math/w_j0.c (y0): Likewise.
1729         * math/w_j1.c (y1): Likewise.
1730         * math/w_jn.c (yn): Likewise.
1731         * math/w_log.c (__log): Likewise.
1732         * math/w_log10.c (__log10): Likewise.
1733         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1734         * sysdeps/aarch64/fpu/math_private.h
1735         (libc_feupdateenv_test_aarch64): Likewise.
1736         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1737         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1738         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1739         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1740         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1741         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1742         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1743         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1744         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1745         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1747 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1749         [BZ #17732]
1750         * io/test-utime.c (main): Replace %ld with %jd and cast to
1751         intmax_t.
1752         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1753         * nptl/tst-mutex5.c: Include <stdint.h>.
1754         (do_test): Replace %ld with %jd and cast to intmax_t.
1755         * posix/tst-regex.c (run_test): Likewise.
1756         (run_test_backwards): Likewise.
1757         * rt/tst-clock.c: Include <stdint.h>.
1758         (clock_test): Replace %ld with %jd and cast to intmax_t.
1759         * rt/tst-cpuclock1.c: Include <stdint.h>.
1760         (do_test): Replace %lu with %ju and cast to uintmax_t.
1761         * rt/tst-cpuclock2.c: Include <stdint.h>.
1762         (do_test): Replace %lu with %ju and cast to uintmax_t.
1763         * rt/tst-mqueue1.c: Include <stdint.h>.
1764         (check_attrs): Replace %ld with %jd and cast to intmax_t.
1765         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1766         intmax_t.
1767         * rt/tst-mqueue4.c (do_test): Likewise.
1768         * rt/tst-timer4.c: Include <stdint.h>.
1769         (check_ts): Replace %ld with %jd and cast to intmax_t.
1770         (do_test): Likewise.
1771         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1772         and cast to intmax_t.
1773         * sysdeps/pthread/tst-timer.c (main): Likewise.
1774         * time/clocktest.c (main): Likewise.
1775         * time/tst-posixtz.c (do_test): Likewise.
1776         * timezone/tst-timezone.c (main): Likewise.
1778 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1779             H.J. Lu  <hongjiu.lu@intel.com>
1781         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1782         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1783         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1784         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1785         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1786         version if bit_Fast_Unaligned_Load is set.
1787         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1788         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1789         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1790         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1791         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1792         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1793         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1794         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1795         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1796         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1797         to 4.
1798         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1799         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1800         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1801         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1803 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
1805         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1806         instead of #if to avoid a Wundef warning.
1807         * stdlib/tst-limits.c (do_test): Likewise.
1809         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1810         parallel other exception macros.
1811         (fegetenv): Convert from macro to extern inline so that it applies
1812         retroactively to inline functions already seen by the compiler.
1813         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1815         * posix/Makefile (before-compile): Use $(objpfx) for
1816         posix-conf-vars-def.h.
1818 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1820         * posix/getconf.c (main): Use size_t for type of I.
1821         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1822         NSPEC.
1824         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1825         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1826         * posix/posix-envs.def: Likewise.
1827         * sysdeps/posix/sysconf.c: Likewise.
1828         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1829         (specs): Remove array.
1830         * scripts/gen-posix-conf-vars.awk: Support generation of specs
1831         array.
1833         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1834         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1835         (__sysconf): Use CONF_IS_* macros.
1837         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1838         ($(objpfx)posix-conf-vars-def.h): New target.
1839         * posix/posix-conf-vars.list: New file.
1840         * posix/posix-conf-vars.h: New file.
1841         * posix/confstr.c: Include posix-conf-vars.h.
1842         (confstr): Use CONF_IS_* macros.
1843         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
1844         CONF_IS_* macros.
1845         * scripts/gen-posix-conf-vars.awk: New file.
1847 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
1849         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1850         fegetround): Add no-op macros to avoid linknamespace issues.
1852         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1853         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1855         * sysdeps/unix/sysv/linux/tile/sysdep.h
1856         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1857         assembly-specific section to avoid a redefinition warning.
1859         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1860         long before casting to pointer to avoid a cast warning.
1862 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
1864         * sysdeps/tile/tilegx/Implies: New file.
1866 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
1868         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1870 2014-12-23  Florian Weimer  <fweimer@redhat.com>
1872         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1874 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1876         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1877         not define.
1878         * sysdeps/unix/sysv/linux/utimes.c: Do not include
1879         <kernel-features.h>.
1880         (__utimes) [__NR_utimes]: Make code unconditional.
1881         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1882         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1883         (__ASSUME_UTIMES): Do not undefine.
1884         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1885         (__ASSUME_UTIMES): Likewise.
1886         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1887         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1888         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1889         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1891 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1893         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1895 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
1897         [BZ #17747]
1898         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1899         alias to weak alias for j0l, y0l.
1900         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1901         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1903         [BZ #17746]
1904         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1905         conversion.
1907 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1909         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1910         to zero if not already defined.
1912 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1914         [BZ #17724]
1915         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1916         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
1917         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
1918         (char *) casts added.
1919         * sysdeps/ieee754/k_standardf.c: New file.
1920         * sysdeps/ieee754/k_standardl.c: Likewise.
1921         * math/Makefile (libm-support): Remove k_standard.
1922         (libm-calls): Add k_standard.
1924 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1926         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1927         Optimize to avoid an unnecessary FPCR read.
1929 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1931         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1932         Optimize to reduce FPCR/FPSR accesses.
1934 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1936         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1937         Call libc_fetestexcept_aarch64.
1939 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1941         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1942         Call libc_fesetround_aarch64.
1944 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1946         [BZ #17733]
1947         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1948         (__bind): Do not define as weak alias.
1949         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1950         define.
1951         (__getsockname): Do not define as weak alias.
1953 2014-12-22  Will Newton  <will.newton@linaro.org>
1955         * manual/install.texi: Document that we require bison 2.7
1956         or above.
1957         * INSTALL: Regenerate.
1958         * configure.ac: Use AC_CHECK_PROG_VER instead of
1959         AC_PATH_PROG when checking for bison and check for
1960         version 2.7 or above.
1961         * configure: Regenerate.
1963 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
1965         [BZ #17745]
1966         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1967         * sysdeps/tile/ffsll.c (ffsll): To here.
1969         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1971 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1973         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1974         if not defined.
1975         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1976         definition.
1977         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1978         hidden ___tls_get_addr.
1979         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1980         hidden __tls_get_addr.
1981         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1982         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1983         Likewise.
1985 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
1987         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1988         _dl_init call.
1990 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1992         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1993         from "call _dl_init@PLT".
1994         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1996 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
1998         * manual/search.texi: (Array Sort Function): Clarify stable sorting
1999         guarantees.
2001 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
2003         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2005 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2007         [BZ #17744]
2008         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2009         strnlen.
2011 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2013         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2014         of multu on MIPSr6.
2015         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2016         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2017         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2018         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2019         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2021 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2023         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2024         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2025         (PTR_SUBU): Use subu for mips32r6/mips64r6.
2026         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2027         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2028         mips32r6/mips64r6.
2029         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2031 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
2033         * string/strncat.c (STRNCAT): Simplify implementation.
2035 2014-12-19  David S. Miller  <davem@davemloft.net>
2037         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2038         access the quad as both a long double and as a series of 4 words.
2040         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2041         link_map->l_info array access.
2043 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2045         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2047         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2048         * math/atest-exp2.c (TIMEOUT): Likewise.
2049         * math/atest-sincos.c (TIMEOUT): Likewise.
2051 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2053         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2054         -Wno-error with -fno-builtin-lround.
2056 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2058         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2059         Contains futex constants and functions moved over from ...
2060         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
2061         <lowlevellock-futex.h>.
2062         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2063         (lll_timedwait_tid): Add comments and parentheses around macro
2064         arguments.
2066 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2068         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2069         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
2070         (__lll_private_flag): Remove.
2071         (lll_futex_wait): Likewise.
2072         (lll_futex_timed_wait): Likewise.
2073         (lll_futex_wake): Likewise.
2074         (lll_futex_requeue): Likewise.
2075         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2076         (__lll_timedwait_tid): Spell out argument names.
2077         (lll_timedwait_tid): Add comments and parentheses around macro
2078         arguments.
2079         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2080         LLL_SHARED and LLL_PRIVATE usable from assembly code.
2082 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2084         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2085         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2086         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2087         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2088         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2089         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2090         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2091         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2092         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2093         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2094         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2095         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2096         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2097         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2098         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2099         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2100         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2101         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2102         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2104 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2106         * sysdeps/x86_64/x32/Makefile: New file.
2108 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2110         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2111         1L with (mp_limb_t) 1.
2113 2014-12-17  Roland McGrath  <roland@hack.frob.com>
2115         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2116         * nptl/libc_pthread_init.c: ... here.
2117         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2118         * nptl/register-atfork.c: ... here.
2120         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2121         Use pthread_sigmask rather than INTERNAL_SYSCALL.
2122         Use assert_perror to check its return value.
2123         (__gai_create_helper_thread): Likewise.
2125         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2127         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2129 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
2131         [BZ #17725]
2132         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2133         __profil_counter.
2134         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2135         Likewise.
2136         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2137         Likewise.
2138         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2139         Likewise.
2140         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2141         (profil_counter): Likewise.
2142         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2143         (profil_counter): Likewise.
2144         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2145         Likewise.
2146         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2147         Likewise.
2148         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2149         (profil_counter): Likewise.
2150         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2151         Likewise.
2152         [!__profil_counter] (profil_counter): Define as weak alias of
2153         __profil_counter.
2154         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2155         (profil_counter): Rename to __profil_counter.
2156         [!__profil_counter] (profil_counter): Define as weak alias of
2157         __profil_counter.
2158         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2159         (profil_counter): Rename to __profil_counter.
2160         [!__profil_counter] (profil_counter): Define as weak alias of
2161         __profil_counter.
2162         * sysdeps/posix/profil.c: Update comment referring to
2163         profil_counter.
2164         (__profil): Use __profil_counter instead of profil_counter.
2165         * sysdeps/posix/sprofil.c (profil_counter): Rename to
2166         __profil_counter.  Use __profil_counter_ushort and
2167         __profil_counter_uint in definitions.
2168         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2169         instead of profil_counter_uint and profil_counter_ushort.
2171         [BZ #17722]
2172         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2173         define as weak alias of __inet_makeaddr.
2174         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2175         as weak alias of __inet_addr.
2176         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2177         as weak alias of __inet_pton.  Use libc_hidden_weak.
2178         * include/arpa/inet.h (__inet_pton): Declare.  Use
2179         libc_hidden_proto.
2180         (inet_makeaddr): Don't use libc_hidden_proto.
2181         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
2182         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2183         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
2184         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2185         Remove variable.
2186         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2187         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2189 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
2191         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2193 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2195         * stdio-common/bug-vfprintf-nargs.c (do_test):
2196         Cast value to intptr_t to avoid format warning
2197         for usage with PRIdPTR printing macro.
2199 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2201         * libio/tst-widetext.c (do_test):
2202         Use format type %td instead of %Zd for ptrdiff_t
2203         in order to avoid format warning.
2205 2014-12-17  Andreas Schwab  <schwab@suse.de>
2207         * nscd/mem.c (gc): Add size_t cast to match printf format.
2209 2014-12-16  Roland McGrath  <roland@hack.frob.com>
2211         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2212         (init): Apply PTR_MANGLE to pointers before storing them.
2213         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2214         before using them.
2216 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
2218         [BZ #17719]
2219         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2220         define as weak alias of __memrchr.
2221         (__memrchr): Do not define as strong alias of memrchr.
2222         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2223         Remove variable.
2224         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2225         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2226         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2228         [BZ #17717]
2229         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2230         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
2231         (if_indextoname): Rename to __if_indextoname and define as weak
2232         alias of __if_indextoname.  Use libc_hidden_weak.
2233         (if_freenameindex): Rename to __if_freenameindex and define as
2234         weak alias of __if_freenameindex.
2235         (if_nameindex): Rename to __if_nameindex and define as weak alias
2236         of __if_nameindex.
2237         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2238         __if_nametoindex and define as weak alias of __if_nametoindex.
2239         Use libc_hidden_weak.
2240         (if_freenameindex): Rename to __if_freenameindex and define as
2241         weak alias of __if_freenameindex.
2242         (if_nameindex): Rename to __if_nameindex and define as weak alias
2243         of __if_nameindex.
2244         (if_indextoname): Rename to __if_indextoname and define as weak
2245         alias of __if_indextoname.  Use libc_hidden_weak.
2246         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2247         __if_nametoindex and define as weak alias of __if_nametoindex.
2248         Use libc_hidden_weak.
2249         (if_freenameindex): Rename to __if_freenameindex and define as
2250         weak alias of __if_freenameindex.  Use libc_hidden_weak.
2251         (if_nameindex_netlink): Use __if_freenameindex instead of
2252         if_freenameindex.
2253         (if_nameindex): Rename to __if_nameindex and define as weak alias
2254         of __if_nameindex.  Use libc_hidden_weak.
2255         (if_indextoname): Rename to __if_indextoname and define as weak
2256         alias of __if_indextoname.  Use libc_hidden_weak.
2257         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2258         libc_hidden_proto.
2259         [!_ISOMAC] (__if_freenameindex): Likewise.
2260         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2261         if_nametoindex.
2262         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2263         variable.
2264         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2265         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2266         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2267         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2268         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2269         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2270         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2272         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2273         Remove variable.
2274         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2275         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2277 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2279         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2280         subscript above bounds'
2282         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2283         bounds.
2285 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
2287         * libio/tst-fopenloc.c: Use test-skeleton.c.
2289         * stdlib/tst-bsearch.c: Use test-skeleton.c.
2290         (entry): Rename to ITEM.
2291         (do_test, comp): Adjust.
2293         * stdio-common/tst-fseek.c: Use test-skeleton.c.
2295 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2297         * string/tester.c: Include <libc-internal.h>.
2298         (test_memset): Ignore -Wmemset-transposed-args.
2300 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2302         * misc/tst-mntent2.c (do_test): Fix warning.
2304 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2306         * elf/tst-unique4lib.cc(a): Mark as used.
2308 2014-12-16  Florian Weimer  <fweimer@redhat.com>
2310         [BZ #17630]
2311         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2312         names.
2314 2014-12-16  Allan McRae  <allan@archlinux.org>
2316         * stdio-common/Makefile (tests): Re-add bug26.
2318 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
2320         [BZ #17657]
2321         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2322         static array.
2324 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
2326         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2327         (__lll_lock_wait): Likewise.
2328         (__lll_timedlock_wait): Likewise.
2329         (__lll_timedwait_tid): Likewise.
2330         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2331         (__lll_robust_timedlock_wait): Likewise.
2332         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2333         (lll_cond_trylock): Likewise.
2334         (__lll_lock): Likewise.
2335         (__lll_robust_lock): Likewise.
2336         (__lll_cond_lock): Likewise.
2337         (lll_robust_cond_lock): Likewise.
2338         (__lll_timedlock): Likewise.
2339         (__lll_robust_timedlock): Likewise.
2340         (__lll_unlock): Likewise.
2341         (__lll_robust_unlock): Likewise.
2342         (lll_wait_tid): Likewise.
2343         (lll_timedwait_tid): Likewise.
2345 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2347         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2349 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2351         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2353 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2355         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2356         * stdio-common/tst-sprintf.c: Likewise.
2358 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2360         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2362 2014-12-15  Jeff Law  <law@redhat.com>
2364         [BZ #16617]
2365         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2366         on the heap.  (CVE-2012-3406)
2367         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2368         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
2369         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2371 2014-12-15  Will Newton  <will.newton@linaro.org>
2373         * manual/install.texi: Bump required version of texinfo
2374         to 4.7 from 4.5.
2375         * INSTALL: Regenerated.
2376         * configure.ac: Check for makeinfo version 4.7 and above.
2377         * configure: Regenerated.
2379 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2381         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2382         PREFIX, string constant to insert between directory and name.
2383         * sysdeps/posix/shm_open.c: Update caller.
2384         * sysdeps/posix/shm_unlink.c: Likewise.
2385         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2386         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2387         (SEM_SHM_PREFIX): New macro.
2388         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2389         [$(have-thread-library) = no].
2390         * nptl/Makefile (libpthread-routines): Add shm-directory.
2391         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2392         * sysdeps/nptl/shm-directory.h: New file.
2393         * sysdeps/posix/shm-directory.c
2394         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2395         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2396         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2397         INTERNAL_SYSCALL.
2398         (__where_is_shmfs): Function removed.
2399         (mountpoint, defaultmount, defaultdir, __namedsem_once):
2400         Variables removed.
2401         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2402         Use SHM_GET_NAME.
2403         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
2405         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2406         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2407         unconditional for use inside libpthread.
2408         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2410 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2412         * nptl/pthread_getaffinity.c: New file.
2413         * nptl/pthread_setaffinity.c: New file.
2414         * nptl/pthread_getname.c: New file.
2415         * nptl/pthread_setname.c: New file.
2417         * nptl/pthread_create.c (START_THREAD_DEFN)
2418         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2420 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2421             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2423         * resolv/res_send.c (send_vc): Disable warning resplen may
2424         be used uninitialized.
2426 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2428         * nptl/tst-mutex6.c
2429         (ATTR_NULL): New define checks ATTR against NULL.
2430         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2431         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2433 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
2435         [BZ #17581]
2436         * malloc/hooks.c
2437         (mem2mem_check): Revert my previous change.
2438         (malloc_check_get_size): Revert my previous change.
2439         (mem2chunk_check): Revert my previous change.
2441 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2443         * sysdeps/posix/shm-directory.c: New file.
2444         * sysdeps/posix/shm-directory.h: New file.
2445         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2446         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2447         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
2448         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2449         Transmute EPERM to EACCES.
2450         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2451         from ...
2452         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
2453         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2455 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2457         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2458         pointer and cast to uintptr_t.
2459         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2460         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2461         Add cast to avoid warning.
2462         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2464 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2466         * nptl/semaphore.h: Move to ...
2467         * sysdeps/pthread/semaphore.h: ... here.
2468         * Makefile (installed-headers): Change nptl/semaphore.h to
2469         sysdeps/pthread/semaphore.h.
2471 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2473         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2474         generated error format strings.
2476         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2477         -Wformat-extra-args warnings for scanf formats.
2478         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2479         test of zero-length format (duh).
2480         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2481         corner-case scanf format test.
2482         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2483         generated fprintf format string.
2484         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2485         corner-case sprintf format tests.
2486         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2487         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2488         -Wformat-extra-args warnings throughout.
2489         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2490         (CFLAGS-scanf4.c): Likewise.
2491         (CFLAGS-scanf7.c): Likewise.
2492         (CFLAGS-tst-sprintf.c): Likewise.
2493         (CFLAGS-tst-printf.c): Likewise.
2494         (CFLAGS-tst-printfsz.c): Likewise.
2496 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2498         * include/cpio.h: New file.
2499         * include/fmtmsg.h: Likewise.
2501         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
2502         corresponding format argument to size_t.
2503         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
2504         arguments.
2505         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
2506         corresponding format argument to size_t.
2507         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
2508         arguments.
2509         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
2510         corresponding format argument to size_t.
2511         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2512         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2513         (CFLAGS-tst-mbswcs2.c): Likewise.
2514         (CFLAGS-tst-mbswcs3.c): Likewise.
2515         (CFLAGS-tst-mbswcs4.c): Likewise.
2516         (CFLAGS-tst-mbswcs5.c): Likewise.
2517         (CFLAGS-tst-trans.c): Likewise
2519 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2521         * posix/regexbug1.c (main): Use "%s" format with regerror results,
2522         rather than assuming they won't contain any '%'s.
2524 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
2526         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2527         inhibit_loop_to_libcall to avoid recursive calls.
2528         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2529         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2531 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2533         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2534         prototype.
2536 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2538         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2539         integer value instead of boolean.
2541 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2543         * malloc/malloc.c: Fix powerof2 check.
2545 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2547         * locale/programs/locfile.h (maybe_swap_uint32):
2548         Remove inline and add unused attribute.
2550 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2552         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2553         Truncating assembler expression to a .long expression.
2555 2014-12-11  Andreas Schwab  <schwab@suse.de>
2557         * elf/rtld.c (struct map_args): Constify str member.
2558         (do_preload): Constify fname argument.
2560 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2562         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2563         constants definition.
2565 2014-12-11  Andreas Schwab  <schwab@suse.de>
2567         [BZ #16657]
2568         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2569         FORCE_ELISION instead of DO_ELISION.
2570         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2571         Remove.
2572         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2573         Likewise.
2575         * iconvdata/gconv-modules: Remove duplicate entry.
2577 2014-12-11  Will Newton  <will.newton@linaro.org>
2579         Merge gettext 0.19.3 into intl/.
2581         This involves a number of cosmetic changes to comments
2582         and ANSI function definitions and prototypes throughout
2583         all the files. The gettext copyright header is used but
2584         with the date ranges taken from the glibc copy.
2586         * NEWS: Add gettext merge to 2.21.
2587         * intl/bindtextdom.c: Switch to gettext copyright.
2588         Use ANSI definitions and prototypes.
2589         Use gl_* locking primitives rather than __libc_* ones.
2590         Use __builtin_expect rather than __glibc_likely/unlikely.
2591         * intl/dcgettext.c: Switch to gettext copyright.
2592         Use ANSI definitions and prototypes.
2593         * intl/dcigettext.c: Switch to gettext copyright.
2594         Use ANSI definitions and prototypes.
2595         (INTDIV0_RAISES_SIGFPE): New define.
2596         Use gl_* locking primitives rather than __libc_* ones.
2597         Include eval-plural.h instead of plural-eval.c.
2598         Use __builtin_expect rather than __glibc_likely/unlikely.
2599         * intl/dcngettext.c: Switch to gettext copyright.
2600         Use ANSI definitions and prototypes.
2601         * intl/dgettext.c: Likewise.
2602         * intl/dngettext.c: Likewise.
2603         * intl/plural-eval.c: Renamed to...
2604         * intl/eval-plural.h: ...this.
2605         * intl/explodename.c: Switch to gettext copyright.
2606         Use ANSI definitions and prototypes.
2607         (_nl_explode_name): Use strchr instead of __rawmemchr.
2608         * intl/finddomain.c: Switch to gettext copyright.
2609         Use ANSI definitions and prototypes.
2610         Use gl_* locking primitives rather than __libc_* ones.
2611         (_nl_find_domain): Use malloc rather than alloca for
2612         allocation of temporary locale name.
2613         * intl/gettext.c: Switch to gettext copyright.
2614         Use ANSI definitions and prototypes.
2615         * intl/gettextP.h: Switch to gettext copyright.
2616         Use ANSI definitions and prototypes.
2617         Use gl_* locking primitives rather than __libc_* ones.
2618         * intl/gmo.h: Switch to gettext copyright.
2619         (struct sysdep_string): Move struct segment_pair outside of
2620         struct definition.
2621         * intl/hash-string.c: Use ANSI definitions and prototypes.
2622         * intl/hash-string.h: Switch to gettext copyright.
2623         Use ANSI definitions and prototypes.
2624         * intl/l10nflist.c: Switch to gettext copyright.
2625         Use ANSI definitions and prototypes.
2626         (_nl_normalize_codeset): Avoid integer overflow.
2627         * intl/loadinfo.h: Switch to gettext copyright.
2628         Use ANSI definitions and prototypes.
2629         (LIBINTL_DLL_EXPORTED): New define.
2630         (PATH_SEPARATOR): New define.
2631         * intl/loadmsgcat.c: Switch to gettext copyright.
2632         * intl/localealias.c: Switch to gettext copyright.
2633         Use ANSI definitions and prototypes.
2634         (_nl_expand_alias): Use PATH_SEPARATOR.
2635         * intl/ngettext.c: Switch to gettext copyright.
2636         Use ANSI definitions and prototypes.
2637         * intl/plural-exp.c: Likewise.
2638         * intl/plural-exp.h: Switch to gettext copyright.
2639         Use ANSI definitions and prototypes.
2640         (struct expression): Move definition of enum operator outside
2641         of struct definition.
2642         * intl/plural.c: Regenerate.
2643         * intl/plural.y: Switch to gettext copyright.
2644         Use ANSI definitions and prototypes.
2645         Port to bison 3.0.
2646         * intl/textdomain.c: Switch to gettext copyright.
2647         Use ANSI definitions and prototypes.
2648         Use gl_* locking primitives rather than __libc_* ones.
2650 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
2652         * debug/warning-nop.c: Add used atrribute.
2654 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2656         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2658         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2659         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2660         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2662 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2663             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2665         [BZ #17634]
2666         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2667         Undefine after defining function.  Define as weak alias of
2668         __wcschr.  Use libc_hidden_weak.
2669         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
2670         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2671         (libc_hidden_def): Also define __GI___wcschr alias.
2672         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2673         __wcschr and define as weak alias of __wcschr.
2674         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2675         __wcschr.
2676         [!WCSCHR] (DEFAULT_WCSCHR): Define.
2677         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2678         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
2679         libc_hidden_weak.  Do not use libc_hidden_def.
2680         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2681         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2682         __GI___wcschr alias.
2683         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2684         [IS_IN (libc)] (wcschr): Define as macro expanding to
2685         __redirect_wcschr.
2686         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2687         [IS_IN (libc)] (__wcschr_power6): Likewise.
2688         [IS_IN (libc)] (__wcschr_power7): Likewise.
2689         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
2690         instead of wcschr.
2691         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2692         __libc_wcschr.
2693         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2694         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2695         __wcschr and define as weak alias of __wcschr.  Use
2696         libc_hidden_builtin_def.
2697         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2698         as weak alias of __wcschr.  Use libc_hidden_weak.
2699         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2700         wcschr.
2701         * time/era.c (_nl_init_era_entries): Likewise.
2702         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2703         variable.
2704         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2705         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2707 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2709         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2710         format for long int variable.
2712 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
2714         [BZ #10672]
2715         * manual/search.texi: (Array Sort Function): Remove claim how to make
2716         qsort stable.
2718 2014-12-10  Andreas Schwab  <schwab@suse.de>
2720         [BZ #12847]
2721         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2722         user-controlled locks.
2724 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
2726         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2727         register.
2729 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2731         * configure.ac (--disable-werror): New configure option.
2732         (enable_werror): New AC_SUBST.
2733         * configure: Regenerated.
2734         * config.make.in (enable-werror): New variable.
2735         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2736         -Wno-error=undef.
2737         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2738         * manual/install.texi (Configuring and compiling): Document
2739         --disable-werror.
2740         * INSTALL: Regenerated.
2741         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2742         (CFLAGS-tst-chk2.c): Likewise.
2743         (CFLAGS-tst-chk3.c): Likewise.
2744         (CFLAGS-tst-chk4.cc): Likewise.
2745         (CFLAGS-tst-chk5.cc): Likewise.
2746         (CFLAGS-tst-chk6.cc): Likewise.
2747         (CFLAGS-tst-lfschk1.c): Likewise.
2748         (CFLAGS-tst-lfschk2.c): Likewise.
2749         (CFLAGS-tst-lfschk3.c): Likewise.
2750         (CFLAGS-tst-lfschk4.cc): Likewise.
2751         (CFLAGS-tst-lfschk5.cc): Likewise.
2752         (CFLAGS-tst-lfschk6.cc): Likewise.
2754         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2755         (main): Disable -Wdeprecated-declarations around calls to
2756         register_printf_function.
2758         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2759         (do_test): Disable -Wdiv-by-zero around some calls to
2760         fwrite_unlocked and fread_unlocked.
2762         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2763         (DIAG_POP_NEEDS_COMMENT): Likewise.
2764         (_DIAG_STR1): Likewise.
2765         (_DIAG_STR): Likewise.
2766         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2767         * stdio-common/bug21.c: Include <libc-internal.h>.
2768         (do_test): Disable -Wformat around call to sscanf.
2769         * stdio-common/scanf14.c: Include <libc-internal.h>.
2770         (main): Disable -Wformat around some calls to scanf functions.
2772 2014-12-09  Torvald Riegel  <triegel@redhat.com>
2774         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2776 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2778         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2779         stack variable alignment.
2781 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
2783         [BZ #17682]
2784         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2785         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2786         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2787         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2788         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2789         __getrlimit instead of getrlimit.
2790         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2791         __gettimeofday instead of gettimeofday.
2792         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2793         Likewise.
2794         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2795         Likewise.
2796         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2797         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2798         Remove variable.
2799         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2800         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2802 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2804         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2805         for wide-character tests.
2807 2014-12-04  Roland McGrath  <roland@hack.frob.com>
2809         * io/openat64.c: #include <libc-internal.h>
2810         (__openat64): Prototypify.  Use ignore_value on MODE.
2811         * io/openat.c: Likewise.
2812         * misc/reboot.c: #include <libc-internal.h>
2813         (reboot): Prototypify.  Use ignore_value on HOWTO.
2814         * misc/ptrace.c: #include <libc-internal.h>
2815         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
2817 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
2819         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2820         XPG4, UNIX98 and XOPEN2K.
2821         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2822         Remove variable.
2823         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2825 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2827         * libio/fileops.c: Use ISO C style for function definitions.
2828         * libio/iofopen.c: Likewise.
2829         * libio/wfileops.c: Likewise.
2831         [BZ #17653]
2832         * libio/fileops.c (_IO_new_file_underflow): Unset cached
2833         offset on EOF.
2834         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2835         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2836         (fgets_func): Function pointer to fgets and fgetws.
2837         (do_ftell_test): Add test to verify ftell value after read
2838         EOF.
2839         (do_test): Set fgets_func.
2841         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2842         O_TRUNC flag for w and w+ modes.
2843         (do_rewind_test): Likewise.
2844         (do_ftell_test): Likewise.
2845         (do_write_test): Likewise.
2847         [BZ #17647]
2848         * libio/fileops.c (do_ftell): Seek only when there are
2849         unflushed writes.
2850         * libio/wfileops.c (do_ftell_wide): Likewise.
2851         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2852         test case.
2853         (do_one_test): Call it.
2855 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
2857         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2858         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2859         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2860         Remove variable.
2861         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2862         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2863         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2865 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2867         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2868         Remove variable.
2869         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2871         [BZ #17668]
2872         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2873         as weak alias of __getifaddrs.  Use libc_hidden_weak.
2874         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2875         __freeifaddrs.  Use libc_hidden_weak.
2876         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2877         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
2878         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2879         __freeifaddrs.  Use libc_hidden_weak.
2880         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2881         __getifaddrs and define as weak alias of __getifaddrs.  Use
2882         libc_hidden_weak.
2883         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2884         __freeifaddrs.  Use libc_hidden_weak.
2885         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2886         Remove variable.
2887         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2888         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2890 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
2892         [BZ #17601]
2893         * sysdeps/mips/start.S (__start): Use indirect jump to call
2894         __libc_start_main.
2896 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2898         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2900         * nptl/tst-mutex1.c: Include <stdbool.h>.
2901         [!ATTR] (ATTR_NULL): New macro.
2902         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2903         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2904         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2906         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2907         to char *.
2909         [BZ #17665]
2910         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2911         Change conditional to [__USE_MISC].
2913         [BZ #17664]
2914         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2915         fgets_unlocked.
2916         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2917         __fgets_unlocked.
2918         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2919         fgets_unlocked.
2920         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2921         Remove variable.
2922         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2923         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2924         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2925         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2926         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2927         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2928         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2929         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2930         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2932         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2934 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2936         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2937         Remove strpbrk objects.
2938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2939         (__libc_ifunc_impl_list): Remove strpbrk implementation.
2940         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2941         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2942         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2943         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2945         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2946         Remove strcspn objects.
2947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2948         (__libc_ifunc_impl_list): Remove strcspn implementation.
2949         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2950         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2951         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2952         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2954         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2955         Remove strspn objetcs.
2956         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2957         (__libc_ifunc_impl_list): Remove strspn implementation.
2958         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2959         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2960         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2961         * sysdeps/powerpc/powerpc64/strspn.S: New file.
2963 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
2965         [BZ #17581]
2966         * malloc/hooks.c
2967         (mem2mem_check): Add a terminator to the chain of checking blocks.
2968         (malloc_check_get_size): Use it here.
2969         (mem2chunk_check): Ditto.
2971 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2973         * sysdeps/powerpc/powerpc64/strtok.S: New file.
2974         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2976 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
2978         * bits/ioctl-types.h: Indent preprocessor directives correctly.
2980         * nptl/nptl-init.c: Include libc-internal.h.
2981         (__pthread_initialize_minimal_internal): Use ROUND_UP.
2983         * elf/ldconfig.c (search_dir): Expand comment.
2985 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
2987         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2988         variable.
2989         (linknamespace-symlist-stdlibs-tests): Likewise.
2990         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2991         instead of $(objpfx)symlist-stdlibs.
2992         (linknamespace-libs-isoc): New variable.
2993         (linknamespace-libs): Use $(linknamespace-libs-isoc).
2994         (linknamespace-libs-ISO): New variable.
2995         (linknamespace-libs-ISO99): Likewise.
2996         (linknamespace-libs-ISO11): Likewise.
2997         (linknamespace-libs-XPG3): Likewise.
2998         (linknamespace-libs-XPG4): Likewise.
2999         (linknamespace-libs-POSIX): Likewise.
3000         (linknamespace-libs-UNIX98): Likewise.
3001         (linknamespace-libs-XOPEN2K): Likewise.
3002         (linknamespace-libs-POSIX2008): Likewise.
3003         (linknamespace-libs-XOPEN2K8): Likewise.
3004         ($(objpfx)symlist-stdlibs): Replace by
3005         $(linknamespace-symlist-stdlibs-tests).  Use
3006         $(linknamespace-libs-$*) as set of libraries.
3007         ($(linknamespace-header-tests)): Update dependencies.  Use
3008         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3009         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3010         * conform/linknamespace.pl: Remove comment about considering
3011         definitions of symbols from irrelevant libraries.
3013 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3015         [BZ #13862]
3016         * elf/dl-tls.c: Include <atomic.h>.
3017         (oom): Remove #ifdef SHARED/#endif.
3018         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3019         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
3020         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3021         big enough.
3022         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3023         * nptl/Makefile (tests): Add tst-stack4.
3024         (modules-names): Add tst-stack4mod.
3025         ($(objpfx)tst-stack4): New.
3026         (tst-stack4mod.sos): Likewise.
3027         ($(objpfx)tst-stack4.out): Likewise.
3028         ($(tst-stack4mod.sos)): Likewise.
3029         (clean): Likewise.
3030         * nptl/tst-stack4.c: New file.
3031         * nptl/tst-stack4mod.c: Likewise.
3033 2014-11-27  J. Brown  <jb999@gmx.de>
3035         * sysdeps/x86/bits/string.h: Add recent CPUs.
3037 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3039         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3040         sigblock.
3042         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3043         feof.
3045         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3046         variable.
3048 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3050         * nscd/connections.c: Include libc-internal.h because of macro
3051         usage ignore_value.
3053 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3055         * string/bits/string3.h (__warn_memset_zero_len): Don't
3056         declare for gcc newer than 5.0.
3057         (memset): Don't test for zero-length __LEN for gcc newer than
3058         5.0.
3060 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3062         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3063         size_t for %zu format.
3065         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3066         difference, not %ju.
3068 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3070         * include/libc-internal.h (ignore_value): New macro.
3071         * nscd/connections.c (restart): Wrap calls to setuid and setgid
3072         with ignore_value.
3074         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3075         definition.
3077         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3078         pthread_cleanup_push to void *.
3080         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3081         Undefine.
3083         [BZ #16619]
3084         [BZ #16740]
3085         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3086         instead of 1L << 52.
3088         * libio/bug-rewind.c (do_test): Check fwscanf return values.
3089         * libio/bug-rewind2.c (do_test): Likewise.
3091         * debug/test-stpcpy_chk-ifunc.c: Remove file.
3092         * debug/test-strcpy_chk-ifunc.c: Likewise.
3093         * wcsmbs/test-wcschr-ifunc.c: Likewise.
3094         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3095         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3096         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3097         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3098         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3099         * Rules [$(multi-arch) = no] (tests): Do not filter out
3100         $(tests-ifunc).
3101         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3102         * debug/Makefile (tests-ifunc): Remove variable.
3103         (tests): Do not add $(tests-ifunc).
3104         * wcsmbs/Makefile (tests-ifunc): Remove variable.
3105         (tests): Do not add $(tests-ifunc).
3106         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3107         [TEST_IFUNC]: Remove conditionals.
3108         * string/test-string.h (TEST_IFUNC): Remove macro.
3109         [TEST_IFUNC]: Remove conditionals.
3111         * string/test-strchr.c [!WIDE] (L): New macro.
3112         [WIDE] (L): Likewise.
3113         (check1): Use CHAR instead of char.  Use L on string and character
3114         constants.
3116 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
3118         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3119         tests.
3120         * sysdeps/powerpc/bits/atomic.h
3121         (__arch_atomic_exchange_and_add_32_acq): Add definition.
3122         (__arch_atomic_exchange_and_add_32_rel): Likewise.
3123         (atomic_exchange_and_add_acq): Likewise.
3124         (atomic_exchange_and_add_rel): Likewise.
3125         * sysdeps/powerpc/powerpc32/bits/atomic.h
3126         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3127         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3128         * sysdeps/powerpc/powerpc64/bits/atomic.h
3129         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3130         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3132 2014-11-26  Torvald Riegel  <triegel@redhat.com>
3134         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3135         Change synchronization of __sched_fifo_min_prio and
3136         __sched_fifo_max_prio.
3137         * nptl/pthread_mutexattr_getprioceiling.c
3138         (pthread_mutexattr_getprioceiling): Likewise.
3139         * nptl/pthread_mutexattr_setprioceiling.c
3140         (pthread_mutexattr_setprioceiling): Likewise.
3141         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3142         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3143         Likewise.
3145 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3147         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3148         void.
3150 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3152         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3153         third argument const.
3155 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
3157         fnmatch: work around GCC compiler warning bug with uninit var
3158         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3159         This works around a bug with x86-64 GCC 4.9.2 and earlier
3160         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3161         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3162         used uninitialized in this function [-Wmaybe-uninitialized]".
3164 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3166         * posix/bug-regex31.c (main): Return RES not 0.
3168 2014-11-25  Anton Blanchard <anton@samba.org>
3170         * sysdeps/powerpc/bits/atomic.h
3171         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3173 2014-11-24  Sterling Augustine  <saugustine@google.com>
3175         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3177 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
3179         [BZ #17608]
3180         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3182 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
3184         [BZ #17633]
3185         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3186         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3187         variable.
3188         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3189         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3191 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3193         * string/strncpy.c (strncpy): Improve performance by using memset.
3195 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3197         * string/strcpy.c (strcpy):
3198         Improve performance by using strlen and memcpy.
3200 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
3202         * string/strcoll_l.c (get_next_seq): __always_inline.
3203         * string/strcoll_l.c (do_compare): __always_inline.
3205 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3207         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3208         defined.
3209         * include/mqueue.h: Likewise.
3210         * include/stdlib.h: Likewise.
3212         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3213         (get_null_defines): Adjust.
3214         * sunrpc/Makefile: Adjust comment.
3215         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3216         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3217         (CFLAGS-interp.c): Likewise.
3218         (CFLAGS-ldconfig.c): Likewise.
3219         (CPPFLAGS-.os): Likewise.
3220         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3221         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3222         * extra-modules.mk (extra-modules.mk): Likewise.
3223         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3224         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3225         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3226         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3227         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3228         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3229         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3230         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3231         * iconvdata/Makefile (CPPFLAGS): Likewise.
3232         (cpp-srcs-left): Add libof for all iconvdata routines.
3233         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3234         * include/assert.h: Likewise.
3235         * include/ctype.h: Likewise.
3236         * include/errno.h: Likewise.
3237         * include/libc-symbols.h: Likewise.
3238         * include/math.h: Likewise.
3239         * include/netdb.h: Likewise.
3240         * include/resolv.h: Likewise.
3241         * include/stdio.h: Likewise.
3242         * include/stdlib.h: Likewise.
3243         * include/string.h: Likewise.
3244         * include/sys/stat.h: Likewise.
3245         * include/wctype.h: Likewise.
3246         * intl/l10nflist.c: Likewise.
3247         * libidn/idn-stub.c: Likewise.
3248         * libio/libioP.h: Likewise.
3249         * nptl/libc_multiple_threads.c: Likewise.
3250         * nptl/pthreadP.h: Likewise.
3251         * posix/regex_internal.h: Likewise.
3252         * resolv/res_hconf.c: Likewise.
3253         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3254         * sysdeps/arm/memmove.S: Likewise.
3255         * sysdeps/arm/sysdep.h: Likewise.
3256         * sysdeps/generic/_itoa.h: Likewise.
3257         * sysdeps/generic/symbol-hacks.h: Likewise.
3258         * sysdeps/gnu/errlist.awk: Likewise.
3259         * sysdeps/gnu/errlist.c: Likewise.
3260         * sysdeps/i386/i586/memcpy.S: Likewise.
3261         * sysdeps/i386/i586/memset.S: Likewise.
3262         * sysdeps/i386/i686/memcpy.S: Likewise.
3263         * sysdeps/i386/i686/memmove.S: Likewise.
3264         * sysdeps/i386/i686/mempcpy.S: Likewise.
3265         * sysdeps/i386/i686/memset.S: Likewise.
3266         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3267         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3268         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3269         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3270         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3271         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3272         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3273         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3274         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3275         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3276         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3277         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3278         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3279         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3280         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3281         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3282         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3283         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3284         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3285         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3286         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3287         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3288         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3289         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3290         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3291         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3292         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3293         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3294         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3295         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3296         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3297         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3298         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3299         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3300         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3301         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3302         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3303         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3304         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3305         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3306         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3307         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3308         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3309         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3310         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3311         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3312         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3313         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3314         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3315         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3316         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3317         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3318         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3319         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3320         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3321         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3322         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3323         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3324         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3325         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3326         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3327         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3328         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3329         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3330         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3331         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3332         * sysdeps/posix/closedir.c: Likewise.
3333         * sysdeps/posix/opendir.c: Likewise.
3334         * sysdeps/posix/readdir.c: Likewise.
3335         * sysdeps/posix/rewinddir.c: Likewise.
3336         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3337         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3338         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3339         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3340         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3341         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3342         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3343         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3344         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3345         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3346         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3347         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3348         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3349         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3350         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3351         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3352         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3353         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3354         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3355         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3356         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3357         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3358         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3359         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3360         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3361         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3362         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3363         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3364         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3365         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3366         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3367         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3368         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3369         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3370         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3371         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3372         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3373         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3374         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3375         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3376         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3377         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3378         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3379         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3380         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3381         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3382         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3383         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3384         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3385         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3386         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3387         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3388         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3389         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3390         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3391         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3392         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3393         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3394         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3395         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3396         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3397         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3398         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3399         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3400         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3401         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3402         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3403         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3404         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3405         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3406         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3407         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3408         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3409         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3410         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3411         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3412         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3413         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3414         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3415         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3416         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3417         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3418         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3419         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3420         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3421         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3422         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3423         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3424         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3425         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3426         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3427         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3428         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3429         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3430         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3431         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3432         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3433         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3434         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3435         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3436         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3437         * sysdeps/unix/alpha/sysdep.S: Likewise.
3438         * sysdeps/unix/alpha/sysdep.h: Likewise.
3439         * sysdeps/unix/make-syscalls.sh: Likewise.
3440         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3441         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3442         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3443         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3444         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3445         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3446         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3447         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3448         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3449         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3450         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3451         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3452         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3453         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3454         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3455         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3456         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3457         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3458         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3459         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3460         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3461         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3462         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3463         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3464         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3465         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3466         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3469         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3470         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3471         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3472         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3473         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3474         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3475         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3476         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3477         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3478         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3479         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3480         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3481         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3482         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3483         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3484         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3485         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3486         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3487         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3488         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3489         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3490         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3491         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3492         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3493         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3494         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3495         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3496         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3497         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3498         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3499         * sysdeps/x86_64/memcpy.S: Likewise.
3500         * sysdeps/x86_64/memmove.c: Likewise.
3501         * sysdeps/x86_64/memset.S: Likewise.
3502         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3503         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3504         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3505         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3506         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3507         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3508         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3509         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3510         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3511         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3512         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3513         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3514         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3515         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3516         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3517         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3518         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3519         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3520         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3521         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3522         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3523         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3524         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3525         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3526         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3527         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3528         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3529         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3530         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3531         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3532         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3533         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3534         * sysdeps/x86_64/strcmp.S: Likewise.
3536         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3538         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3539         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3540         * elf/rtld-Rules: Likewise.
3541         * elf/setup-vdso.h: Likewise.
3542         * include/assert.h: Likewise.
3543         * include/bits/stdlib-float.h: Likewise.
3544         * include/errno.h: Likewise.
3545         * include/sys/stat.h: Likewise.
3546         * include/unistd.h: Likewise.
3547         * sysdeps/aarch64/setjmp.S: Likewise.
3548         * sysdeps/alpha/setjmp.S: Likewise.
3549         * sysdeps/arm/__longjmp.S: Likewise.
3550         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3551         * sysdeps/arm/setjmp.S: Likewise.
3552         * sysdeps/arm/sysdep.h: Likewise.
3553         * sysdeps/generic/_itoa.h: Likewise.
3554         * sysdeps/generic/dl-sysdep.h: Likewise.
3555         * sysdeps/generic/ldsodefs.h: Likewise.
3556         * sysdeps/i386/dl-tls.h: Likewise.
3557         * sysdeps/i386/setjmp.S: Likewise.
3558         * sysdeps/m68k/setjmp.c: Likewise.
3559         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3560         * sysdeps/mach/hurd/opendir.c: Likewise.
3561         * sysdeps/posix/getcwd.c: Likewise.
3562         * sysdeps/posix/opendir.c: Likewise.
3563         * sysdeps/posix/profil.c: Likewise.
3564         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3565         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3566         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3567         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3568         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3569         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3570         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3571         * sysdeps/s390/dl-tls.h: Likewise.
3572         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3573         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3574         * sysdeps/sh/sh3/setjmp.S: Likewise.
3575         * sysdeps/sh/sh4/setjmp.S: Likewise.
3576         * sysdeps/unix/alpha/sysdep.h: Likewise.
3577         * sysdeps/unix/arm/sysdep.S: Likewise.
3578         * sysdeps/unix/i386/sysdep.S: Likewise.
3579         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3580         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3581         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3582         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3583         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3584         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3585         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3586         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3587         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3588         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3589         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3590         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3591         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3594         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3595         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3596         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3597         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3598         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3599         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3600         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3601         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3602         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3603         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3604         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3605         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3606         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3607         * sysdeps/x86_64/setjmp.S: Likewise.
3609         * include/math.h: Use IS_IN instead of IS_IN_libm.
3610         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3611         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3612         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3613         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3614         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3615         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3616         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3617         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3618         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3619         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3620         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3621         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3622         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3623         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3624         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3625         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3626         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3627         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3628         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3629         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3630         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3631         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3632         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3633         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3634         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3635         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3636         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3637         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3638         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3639         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3640         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3641         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3642         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3644         Likewise.
3645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3646         Likewise.
3647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3648         Likewise.
3649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3650         Likewise.
3651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3652         Likewise.
3653         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3654         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3655         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3656         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3657         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3658         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3664         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3665         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3666         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3667         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3668         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3669         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3670         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3671         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3672         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3673         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3674         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3675         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3676         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3677         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3679         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3681         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3682         * nptl/pthreadP.h: Likewise.
3683         * nptl_db/structs.def: Likewise.
3684         * sysdeps/arm/sysdep.h: Likewise.
3685         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3686         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3687         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3688         * sysdeps/unix/alpha/sysdep.h: Likewise.
3689         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3690         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3691         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3692         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3693         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3694         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3695         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3696         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3697         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3698         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3699         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3700         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3701         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3702         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3705         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3706         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3707         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3708         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3709         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3710         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3711         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3712         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3713         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3714         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3716         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3717         * nptl/pthreadP.h: Likewise.
3718         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3719         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3720         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3721         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3722         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3723         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3724         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3725         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3726         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3727         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3728         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3729         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3731         Likewise.
3732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3733         Likewise.
3734         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3735         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3736         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3737         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3738         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3739         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3740         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3741         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3743         * dlfcn/dladdr.c: Use IS_IN.
3744         * dlfcn/dladdr1.c: Likewise.
3745         * dlfcn/dlclose.c: Likewise.
3746         * dlfcn/dlerror.c: Likewise.
3747         * dlfcn/dlinfo.c: Likewise.
3748         * dlfcn/dlmopen.c: Likewise.
3749         * dlfcn/dlopen.c: Likewise.
3750         * dlfcn/dlsym.c: Likewise.
3751         * dlfcn/dlvsym.c: Likewise.
3753         * include/ifaddrs.h: Use IS_IN.
3754         * inet/check_pf.c: Likewise.
3755         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3756         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3758         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3759         IS_IN_ldconfig.
3760         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3761         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3763         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3764         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3765         IS_IN (libc).
3767         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3769         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3770         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3771         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3772         * include/libc-symbols.h (IS_IN_LIB): New macro.
3773         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3774         * include/netdb.h: Likewise.
3775         * include/stap-probe.h: Remove all uses of IN_LIB.
3777         * Makeconfig (module-cppflags-real): Define MODULE_NAME
3778         instead of IN_MODULE.
3779         * include/libc-symbols.h (IN_MODULE): Define using
3780         MODULE_NAME.
3781         (PASTE_NAME, PASTE_NAME1): New macros.
3782         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3783         of IN_LIB.
3784         (STAP_PROBE_ASM): Likewise.
3786 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3788         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3789         __mach_init in dlopened libc.
3791 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
3793         * sysdeps/arm/preconfigure.ac: Delete EABI check.
3794         * sysdeps/arm/preconfigure: Regenerate.
3796 2014-11-21  Roland McGrath  <roland@hack.frob.com>
3798         * nptl/pthread_create.c (__pthread_create_2_1): Set
3799         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3800         when copying values from IATTR into PD.
3802 2014-11-21  Will Newton  <will.newton@linaro.org>
3803             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3805         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3806         Refactor inline-asm.  Also add comment.
3808         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3809         ElfW macro instead of hardcoded Elf64 types.
3810         (la_aarch64_gnu_pltenter): Likewise.
3811         * sysdeps/aarch64/dl-machine.h
3812         (elf_machine_runtime_setup): Use ElfW(Addr).
3814         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3815         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3816         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3817         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3818         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3819         (R_AARCH64_TLS_DTPMOD64): Rename to ..
3820         (R_AARCH64_TLS_DTPMOD): This.
3821         (R_AARCH64_TLS_DTPREL64): Rename to ...
3822         (R_AARCH64_TLS_DTPREL): This.
3823         (R_AARCH64_TLS_TPREL64): Rename to ...
3824         (R_AARCH64_TLS_TPREL): This.
3825         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3826         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3827         R_AARCH64_TLS_TPREL64.
3828         (elf_machine_rela): Likewise.
3830 2014-11-21  Torvald Riegel  <triegel@redhat.com>
3832         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3833         by setting it to 0.  64b atomics are not supported currently.
3835 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3837         [BZ #16469]
3838         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3839         search domain names.
3841 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3843         [BZ #16469]
3844         * NEWS: Update.
3845         * resolv/res_query.c (__libc_res_nquerydomain): Retain
3846         trailing dot.
3847         * posix/tst-getaddrinfo5.c: New.
3848         * posix/Makefile (tests): Add it.
3850 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3852         [BZ #14498]
3853         * NEWS: Fixed.
3854         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3855         after parsing line but before break_if_match.
3856         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3857         if there is a protocol mismatch.
3859 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3861         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3862         because the potential race is on the user-supplied stream.
3864 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3866         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3867         string literal if not passed a buffer.
3868         * manual/job.texi (ctermid): Update reasoning, note deviation
3869         from posix, suggest mtasurace when not passed a buffer, for
3870         future non-preliminary safety notes.
3872 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3874         * manual/users.texi (cuserid): Fix MT-Safety note for the case
3875         of not passing it a buffer.
3876         Reported by Peng Haitao.
3878 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3880         * manual/Makefile ($(objpfx)stamp-summary): Require
3881         check-safety.sh to pass.
3882         * manual/check-safety.sh: Wish for verification that every
3883         @deftypefn and @deftypefun is followed by a @safety remark.
3885 2014-11-20  Roland McGrath  <roland@hack.frob.com>
3887         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3889         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3890         PTHREAD_CANCEL_ASYNCHRONOUS.
3891         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3892         send SIGCANCEL.
3894         * nptl/default-sched.h: New file.
3895         * sysdeps/unix/sysv/linux/default-sched.h: New file.
3896         * nptl/pthread_create.c: Include it.
3897         (__pthread_create_2_1): Use collect_default_sched instead of making
3898         Linux syscalls here directly.
3900 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3902         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3903         __pthread_once): Use C11 atomics.
3905 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3907         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3909 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3911         * include/atomic.h (__atomic_link_error, __atomic_check_size,
3912         atomic_thread_fence_acquire, atomic_thread_fence_release,
3913         atomic_thread_fence_seq_cst, atomic_load_relaxed,
3914         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3915         atomic_compare_exchange_weak_relaxed,
3916         atomic_compare_exchange_weak_acquire,
3917         atomic_compare_exchange_weak_release,
3918         atomic_exchange_acquire, atomic_exchange_release,
3919         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3920         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3921         atomic_fetch_and_acquire,
3922         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3924 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3926         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3927         USE_ATOMIC_COMPILER_BUILTINS): Define.
3928         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3929         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3930         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3931         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3932         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3933         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3934         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3935         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3936         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3937         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3938         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3939         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3940         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3941         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3942         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3943         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3944         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3945         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3946         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3947         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3948         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3949         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3950         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3951         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3952         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3953         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3954         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3955         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3956         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3957         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3958         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3959         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3960         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3961         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3962         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3963         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3964         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3965         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3966         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3967         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3969 2014-11-19  Roland McGrath  <roland@hack.frob.com>
3971         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3972         the sched_priority value here.  It was already checked when the user
3973         called pthread_attr_setschedparam.
3975         * nptl/tst-bad-schedattr.c: New file.
3976         * nptl/Makefile (tests): Add it.
3978 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
3979             Florian Weimer  <fweimer@redhat.com>
3980             Joseph Myers  <joseph@codesourcery.com>
3981             Adam Conrad  <adconrad@0c3.net>
3982             Andreas Schwab  <schwab@suse.de>
3983             Brooks  <bmoses@google.com>
3985         [BZ #17625]
3986         * wordexp-test.c (__dso_handle): Add prototype.
3987         (__register_atfork): Likewise.
3988         (__app_register_atfork): New function.
3989         (registered_forks): New global.
3990         (register_fork): New function.
3991         (test_case): Add 3 new tests for WRDE_CMDSUB.
3992         (main): Call __app_register_atfork.
3993         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3994         fork count is non-zero fail the test.
3995         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3996         is set.
3997         (parse_dollars): Remove check for WRDE_NOCMD.
3998         (parse_dquote): Likewise.
4000 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4002         * Makeconfig (built-modules): List non-library modules to be
4003         built.
4004         (module-cppflags): Include libc-modules.h for
4005         everything except shlib-versions.v.i.
4006         (CPPFLAGS): Use it.
4007         (before-compile): Add libc-modules.h.
4008         ($(common-objpfx)libc-modules.h,
4009         $(common-objpfx)libc-modules.stmp): New targets.
4010         (common-generated): Add libc-modules.h and libc-modules.stmp.
4011         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4012         * include/libc-symbols.h: Don't include libc-modules.h.
4013         * include/libc-modules.h: Remove file.
4014         * scripts/gen-libc-modules.awk: New script to generate
4015         libc-modules.h.
4016         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4017         Depend on libc-modules.stmp.
4019         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4021         * Makeconfig (in-module): Get value of libof set for the
4022         translation unit.
4023         (CPPFLAGS): Use $(in-module).
4024         * Makerules: Don't suffix routine names for nonlib.
4025         * include/libc-modules.h: New file.
4026         * include/libc-symbols.h: Include libc-modules.h
4027         (IS_IN): New macro to replace IS_IN_* macros.
4028         * elf/Makefile: Set libof-* for each routine.
4029         * elf/rtld-Rules: Likewise.
4030         * extra-modules.mk: Likewise.
4031         * iconv/Makefile: Likewise.
4032         * iconvdata/Makefile: Likewise.
4033         * locale/Makefile: Likewise.
4034         * malloc/Makefile: Likewise.
4035         * nss/Makefile: Likewise.
4036         * sysdeps/gnu/Makefile: Likewise.
4037         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4038         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4039         * sysdeps/s390/s390-64/Makefile: Likewise.
4040         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
4041         CPPFLAGS for nscd instead of nonlib.
4043 2014-11-18  Roland McGrath  <roland@hack.frob.com>
4045         * nptl/createthread.c: New file.
4047         * nptl/createthread.c: Moved ...
4048         * sysdeps/unix/sysv/linux/createthread.c: ... here.
4050         * nptl/createthread.c: Add proper top-line comment.
4051         (do_clone): Folded into ...
4052         (create_thread): ... here.  Take new arguments STOPPED_START and
4053         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
4054         increment __nptl_threads, do event-reporting logic, do
4055         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4056         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
4057         resource cleanup if sched_setaffinity or sched_setscheduler fails,
4058         just send SIGCANCEL.
4059         * nptl/pthread_create.c: Forward-declare create_thread before
4060         including createthread.c.
4061         (start_thread): Use new macro START_THREAD_DEFN to replace defining
4062         declaration, and new macro START_THREAD_SELF to replace argument.
4063         Remove return statement.
4064         (report_thread_creation): New function.
4065         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
4066         synchronization logic, and __nptl_nthreads increment here, around
4067         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
4068         PD->parent_cancelhandling here, before create_thread.  When
4069         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4070         __deallocate_stack, and ENOMEM translation here.
4072 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
4074         [BZ #17616]
4075         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4076         (mptwo): Rename to __mptwo.
4077         (__inv): Use __mptwo instead of mptwo.
4078         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4079         (mptwo): Rename to __mptwo.
4080         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4081         of mpone and __mptwo instead of mptwo.
4082         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4083         instead of mpone.
4084         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4085         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4086         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4087         of mpone and __mptwo instead of mptwo.
4088         (__mpranred): Use __mpone instead of mpone.
4089         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4090         variable.
4091         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4092         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4093         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4094         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4095         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4096         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4097         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4098         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4099         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4100         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4101         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4102         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4103         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4104         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4105         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4106         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4107         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4108         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4109         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4111 2014-11-18  Tom de Vries  <tom@codesoucery.com>
4113         * manual/signal.texi (Primitives Interrupted by Signals): In section,
4114         replace BSD Handler xref with BSD Signal Handling.
4116 2014-11-17  Richard Henderson  <rth@redhat.com>
4118         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4119         (_FP_PACK_RAW_2): Remove.
4120         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4121         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4122         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4123         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4124         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4125         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4126         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4127         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4128         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4129         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4130         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4131         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4132         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4133         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4134         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4135         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4137 2014-11-14  Roland McGrath  <roland@hack.frob.com>
4139         * signal/signal.h [__USE_MISC]
4140         (struct sigvec): Remove type.
4141         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4142         (sigvec): Remove declaration.
4143         * sysdeps/posix/sigvec.c: Moved ...
4144         * signal/sigvec.c: ... here, replacing old file.
4145         (struct sigvec): New type, copied from old signal.h definition.
4146         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4147         (__sigvec): Convert definition to prototype.
4148         (sigvec): Replace weak_alias with compat_symbol.
4149         * signal/Versions (libc: GLIBC_2.21): New version set.
4150         * include/signal.h: Remove __sigvec declaration.
4151         * sysdeps/unix/bsd/sigvec.c: Remove file.
4152         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4153         * manual/signal.texi (BSD Handler): Remove subsection.
4154         Move siginterrupt up to ...
4155         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
4156         (Blocking in BSD): Fold subsection into its parent.
4157         * NEWS: Mention sigvec removal.
4159 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4161         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4162         (DLA_FMS): Make definition conditional only on [__FMA4__].
4163         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4164         definition.
4166         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4167         Make definition conditional only on [PROF].
4168         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4169         definition.
4170         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4171         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4173         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4174         !__GNUC__].
4175         * include/signal.h (__sigpause): Move declaration above call to
4176         libc_hidden_proto.
4177         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4178         variable.
4179         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4180         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4182 2014-11-14  David S. Miller  <davem@davemloft.net>
4184         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4185         Define before including <string/memcpy.c> and <string/mempcpy.c>.
4187 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4189         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4190         * configure: Regenerated.
4191         * manual/install.texi (Tools for Compilation): Document a
4192         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4193         compiler verified to work.
4194         * INSTALL: Regenerated.
4196         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4197         redeclare with asm name.
4198         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4199         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4200         including <string.h>.
4201         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4202         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4203         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4204         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4205         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4206         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4207         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4209 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
4211         * stdlib/strtol.c (__strtol): Use prototype definition.
4213         [BZ #17594]
4214         * stdlib/strtol.c (SYM__): New macro.
4215         (SYM__1): Likewise.
4216         (__strtol): Likewise.
4217         (strtol): Rename to __strtol and define as weak alias of
4218         __strtol.  Use libc_hidden_weak.
4220 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4222         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4223         Use numbered labels in inline assembly.
4225 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4227         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4228         Add setjmp LIBC_PROBE.
4229         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4230         Likewise.
4231         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4232         Add longjmp, longjmp_target LIBC_PROBE.
4233         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4234         Likewise.
4236 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4238         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4239         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4240         to get rid of unused variable warning.
4242 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4244         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4245         Check for unwind_backtrace ==  NULL only in SHARED case.
4246         (__backchain_backtrace): Compile only in SHARED case.
4247         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4248         Likewise.
4249         (__backchain_backtrace): Declare as static.
4251 2014-11-12  Roland McGrath  <roland@hack.frob.com>
4253         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4254         (__libc_multiple_threads_ptr): Variable moved ...
4255         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4257 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
4259         * conform/GlibcConform.pm: New file.
4260         * conform/conformtest.pl: Use GlibcConform module.
4261         * conform/linknamespace.pl: New file.
4262         * conform/list-header-symbols.pl: Likewise.
4263         * conform/Makefile (linknamespace-symlists-base): New variable.
4264         (linknamespace-symlists-tests): Likewise.
4265         (linknamespace-header-base): Likewise.
4266         (linknamespace-header-tests): Likewise.
4267         (tests-special): Add new tests.
4268         ($(linknamespace-symlists-tests)): New rule.
4269         (linknamespace-libs): New variable.
4270         ($(objpfx)symlist-stdlibs): New rule.
4271         ($(linknamespace-header-tests)): Likewise.
4272         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4273         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4274         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4275         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4276         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4277         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4278         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4279         (test-xfail-ISO/math.h/linknamespace): Likewise.
4280         (test-xfail-ISO/signal.h/linknamespace): Likewise.
4281         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4282         (test-xfail-ISO/time.h/linknamespace): Likewise.
4283         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4284         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4285         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4286         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4287         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4288         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4289         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4290         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4291         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4292         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4293         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4294         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4295         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4296         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4297         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4298         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4299         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4300         (test-xfail-XPG3/search.h/linknamespace): Likewise.
4301         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4302         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4303         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4304         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4305         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4306         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4307         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4308         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4309         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4310         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4311         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4312         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4313         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4314         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4315         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4316         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4317         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4318         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4319         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4320         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4321         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4322         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4323         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4324         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4325         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4326         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4327         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4328         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4329         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4330         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4331         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4332         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4333         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4334         (test-xfail-POSIX/time.h/linknamespace): Likewise.
4335         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4336         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4337         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4338         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4339         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4340         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4341         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4342         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4343         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4344         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4345         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4346         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4347         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4348         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4349         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4350         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4351         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4352         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4353         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4354         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4355         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4356         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4357         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4358         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4359         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4360         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4361         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4362         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4363         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4364         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4365         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4366         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4367         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4368         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4369         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4370         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4371         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4372         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4373         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4374         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4375         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4376         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4377         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4378         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4379         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4380         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4381         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4382         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4383         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4384         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4385         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4386         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4387         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4388         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4389         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4390         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4391         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4392         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4393         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4394         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4395         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4396         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4397         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4398         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4399         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4400         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4401         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4402         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4403         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4404         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4405         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4406         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4407         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4408         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4409         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4410         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4411         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4412         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4413         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4414         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4415         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4416         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4417         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4418         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4419         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4420         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4421         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4422         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4423         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4424         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4425         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4426         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4427         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4428         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4429         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4430         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4431         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4432         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4434         [BZ #17589]
4435         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4436         of fgets_unlocked.
4438         [BZ #17585]
4439         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4440         (memmem): Rename to __memmem and define as weak alias of
4441         __memmem.  Use libc_hidden_weak.
4442         (__memmem): Use libc_hidden_def.
4443         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
4444         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4445         memmem.
4447         [BZ #17582]
4448         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4449         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
4450         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4451         and define as weak alias of __fgets_unlocked.  Use
4452         libc_hidden_weak.
4453         (__fgets_unlocked): Use libc_hidden_def.
4454         * include/stdio.h (__fgets_unlocked): Declare.  Use
4455         libc_hidden_proto.
4456         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4457         __fgets_unlocked instead of fgets_unlocked.
4458         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4459         (GET_NPROCS_CONF_PARSER): Likewise.
4460         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4461         (GET_NPROCS_CONF_PARSER): Likewise.
4463         [BZ #17574]
4464         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4465         weak alias of __wmemset.  Use libc_hidden_weak.
4466         (__wmemset): Use libc_hidden_def.
4467         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
4468         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4469         of wmemset.
4471         [BZ #17573]
4472         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4473         with asm name __mempcpy.
4474         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4476         [BZ #17572]
4477         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4478         and define as weak alias of __rawmemchr.
4479         (__rawmemchr): Do not define as strong alias of rawmemchr.
4481         [BZ #17571]
4482         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4483         alias of __qsort_r.
4484         (qsort): Call __qsort_r instead of qsort_r.
4485         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4486         (__qsort_r): Declare.  Call libc_hidden_proto.
4487         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4488         instead of qsort_r.
4489         * nscd/gai.c (__qsort_r): Define to qsort_r.
4490         * posix/tst-rfc3484.c (__qsort_r): Likewise.
4491         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4492         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4494         [BZ #17570]
4495         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4496         define as weak alias of __malloc_info.
4498         [BZ #17584]
4499         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4500         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4501         (__rewinddir): Use libc_hidden_def.
4502         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4503         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4504         (__rewinddir): Use libc_hidden_def.
4505         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4506         weak alias of __rewinddir.  Don't use libc_hidden_def.
4507         (__rewinddir): Use libc_hidden_def.
4508         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4509         (__rewinddir): Use libc_hidden_proto.
4510         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4511         rewinddir.
4512         (__getcwd): Use __rewinddir instead of rewinddir.
4514         [BZ #17583]
4515         * libio/fileno.c (fileno): Rename to __fileno and define as weak
4516         alias of __fileno.  Use libc_hidden_weak.
4517         (__fileno): Use libc_hidden_def.
4518         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4519         * libio/ftello.c (ftello): Rename to __ftello and define as weak
4520         alias of __ftello.
4521         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4522         __ftello.
4523         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4524         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
4525         libc_hidden_def.
4526         (fread_unlocked): Don't use libc_hidden_ver.
4527         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4528         and define as weak alias of __fread_unlocked.  Don't use
4529         libc_hidden_def.
4530         (__fread_unlocked): Use libc_hidden_def.
4531         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
4532         (ftello): Don't use libc_hidden_proto.
4533         (__ftello): Declare.  Use libc_hidden_proto.
4534         (fread_unlocked): Don't use libc_hidden_proto.
4535         (__fread_unlocked): Declare.  Use libc_hidden_proto.
4536         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4537         and __ftello instead of fileno, fread_unlocked and ftello.
4539 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4541         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4542         GOT12.
4543         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4544         Likewise.
4545         (_dl_start_user): Likewise.
4546         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4548 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
4549             Siddhesh Poyarekar  <siddhesh@redhat.com>
4551         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4552         Move argv and envp down instead of moving argc up.
4553         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4555 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
4557         [BZ #17506]
4558         * test-skeleton.c (main): Return successful if one of
4559         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4560         * string/tst-strcoll-overflow.c: Define expected status.
4562 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
4564         [BZ #17475]
4565         * locale/iso-639.def: Define Bhili and Tulu language codes.
4567 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
4569         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4571 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
4573         [BZ #17555]
4574         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4576 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4578         * configure.ac: Updated check of minimal required version to
4579         2.22.
4580         * manual/install.texi (Tools for Compilation): Updated version
4581         number.
4582         * configure: Regenerated.
4583         * INSTALL: Likewise.
4585 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
4587         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4588         __tls_get_addr.
4590 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
4592         * include/sys/wait.h (__libc_waitpid): Remove declaration.
4593         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4594         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4595         libc_hidden_weak.
4596         (waitpid): Define as alias of __waitpid.
4597         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4598         __waitpid.
4599         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4600         libc_hidden_weak.
4601         (waitpid): Define as alias of __waitpid.
4602         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4603         __libc_waitpid alias.
4604         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4605         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4606         Likewise.
4607         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4608         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4609         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4610         alias.
4611         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4612         __waitpid.
4613         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4614         libc_hidden_weak.
4615         (waitpid): Define as alias of __waitpid.
4617 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
4619         * manual/llio.texi: Add comment that write safety has been
4620         fixed in Linux.
4622         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4623         (localplt-build-dso): Add elf/ld.so.
4624         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4625         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4626         and free for ld.so.
4627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4628         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4630         Likewise.
4631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4632         Likewise.
4633         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4634         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4635         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4636         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4637         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4638         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4639         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4640         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4641         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4642         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4643         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4645 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
4647         [BZ #14132]
4648         * include/libc-symbols.h (INTUSE): Remove macro.
4649         (INTDEF): Likewise.
4650         (INTVARDEF): Likewise.
4651         (_INTVARDEF): Likewise.
4652         (INTDEF2): Likewise.
4653         (INTVARDEF2): Likewise.
4654         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4655         rtld_hidden_def instead of INTVARDEF.
4656         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4657         (_dl_starting_up_internal): Remove declaration.
4658         (_dl_starting_up): Use rtld_hidden_proto.
4659         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4660         declaration.
4661         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4662         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4663         _dl_starting_up.
4664         * elf/dl-writev.h (_dl_writev): Likewise.
4665         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4666         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4667         _dl_starting_up_internal.
4669 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4671         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4672         test-skeleton.c.
4674 2014-11-05  Will Newton  <will.newton@linaro.org>
4676         * benchtests/Makefile: (bench-malloc): Add malloc thread
4677         scalability benchmark.
4678         * benchtests/bench-malloc-threads.c: New file.
4680 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
4682         * sysdeps/aarch64/strchrnul.S: New file.
4684 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4686         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4687         definition.
4688         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4689         Likwise.
4690         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4691         Likewise.
4692         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4693         Likewise.
4694         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4695         Likewise.
4696         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4697         Likewise.
4699 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
4701         * catgets/test-gencat.c: Use test-skeleton.c.
4702         * catgets/tst-catgets.c: Likewise.
4703         * csu/tst-empty.c: Likewise.
4704         * elf/tst-audit2.c: Likewise.
4705         * elf/tst-global1.c: Likewise.
4706         * elf/tst-pathopt.c: Likewise.
4707         * elf/tst-piemod1.c: Likewise.
4708         * elf/tst-tls10.c: Likewise.
4709         * elf/tst-tls11.c: Likewise.
4710         * elf/tst-tls12.c: Likewise.
4711         * gnulib/tst-gcc.c: Likewise.
4712         * iconvdata/tst-e2big.c: Likewise.
4713         * iconvdata/tst-loading.c: Likewise.
4714         * iconv/tst-iconv1.c: Likewise.
4715         * iconv/tst-iconv2.c: Likewise.
4716         * inet/test-inet6_opt.c: Likewise.
4717         * inet/tst-gethnm.c: Likewise.
4718         * inet/tst-network.c: Likewise.
4719         * inet/tst-ntoa.c: Likewise.
4720         * intl/tst-codeset.c: Likewise.
4721         * intl/tst-gettext2.c: Likewise.
4722         * intl/tst-gettext3.c: Likewise.
4723         * intl/tst-ngettext.c: Likewise.
4724         * intl/tst-translit.c: Likewise.
4725         * io/test-stat.c: Likewise.
4726         * libio/test-fmemopen.c: Likewise.
4727         * libio/tst-freopen.c: Likewise.
4728         * libio/tst-sscanf.c: Likewise.
4729         * libio/tst-ungetwc1.c: Likewise.
4730         * libio/tst-ungetwc2.c: Likewise.
4731         * libio/tst-widetext.c: Likewise.
4732         * localedata/tst-ctype.c: Likewise.
4733         * localedata/tst-digits.c: Likewise.
4734         * localedata/tst-leaks.c: Likewise.
4735         * localedata/tst-mbswcs1.c: Likewise.
4736         * localedata/tst-mbswcs2.c: Likewise.
4737         * localedata/tst-mbswcs3.c: Likewise.
4738         * localedata/tst-mbswcs4.c: Likewise.
4739         * localedata/tst-mbswcs5.c: Likewise.
4740         * localedata/tst-setlocale.c: Likewise.
4741         * localedata/tst-trans.c: Likewise.
4742         * localedata/tst-wctype.c: Likewise.
4743         * localedata/tst-xlocale1.c: Likewise.
4744         * login/tst-grantpt.c: Likewise.
4745         * malloc/tst-calloc.c: Likewise.
4746         * malloc/tst-malloc.c: Likewise.
4747         * malloc/tst-mallocstate.c: Likewise.
4748         * malloc/tst-mcheck.c: Likewise.
4749         * malloc/tst-mtrace.c: Likewise.
4750         * malloc/tst-obstack.c: Likewise.
4751         * math/atest-exp2.c: Likewise.
4752         * math/atest-exp.c: Likewise.
4753         * math/atest-sincos.c: Likewise.
4754         * math/test-matherr.c: Likewise.
4755         * math/test-misc.c: Likewise.
4756         * math/test-powl.c: Likewise.
4757         * math/tst-definitions.c: Likewise.
4758         * misc/tst-dirname.c: Likewise.
4759         * misc/tst-efgcvt.c: Likewise.
4760         * misc/tst-fdset.c: Likewise.
4761         * misc/tst-hsearch.c: Likewise.
4762         * misc/tst-mntent2.c: Likewise.
4763         * nptl/tst-sem7.c: Likewise.
4764         * nptl/tst-sem8.c: Likewise.
4765         * nptl/tst-sem9.c: Likewise.
4766         * nss/test-netdb.c: Likewise.
4767         * posix/tst-fnmatch.c: Likewise.
4768         * posix/tst-getlogin.c: Likewise.
4769         * posix/tst-gnuglob.c: Likewise.
4770         * posix/tst-mmap.c: Likewise.
4771         * pwd/tst-getpw.c: Likewise.
4772         * resolv/tst-inet_ntop.c: Likewise.
4773         * rt/tst-timer.c: Likewise.
4774         * stdio-common/test-fseek.c: Likewise.
4775         * stdio-common/test-popen.c: Likewise.
4776         * stdio-common/test-vfprintf.c: Likewise.
4777         * stdio-common/tst-cookie.c: Likewise.
4778         * stdio-common/tst-fileno.c: Likewise.
4779         * stdio-common/tst-gets.c: Likewise.
4780         * stdio-common/tst-obprintf.c: Likewise.
4781         * stdio-common/tst-perror.c: Likewise.
4782         * stdio-common/tst-sprintf2.c: Likewise.
4783         * stdio-common/tst-sprintf3.c: Likewise.
4784         * stdio-common/tst-sprintf.c: Likewise.
4785         * stdio-common/tst-swprintf.c: Likewise.
4786         * stdio-common/tst-tmpnam.c: Likewise.
4787         * stdio-common/tst-unbputc.c: Likewise.
4788         * stdio-common/tst-wc-printf.c: Likewise.
4789         * stdlib/tst-environ.c: Likewise.
4790         * stdlib/tst-fmtmsg.c: Likewise.
4791         * stdlib/tst-limits.c: Likewise.
4792         * stdlib/tst-rand48-2.c: Likewise.
4793         * stdlib/tst-rand48.c: Likewise.
4794         * stdlib/tst-random2.c: Likewise.
4795         * stdlib/tst-random.c: Likewise.
4796         * stdlib/tst-strtol.c: Likewise.
4797         * stdlib/tst-strtoll.c: Likewise.
4798         * stdlib/tst-tls-atexit.c: Likewise.
4799         * stdlib/tst-xpg-basename.c: Likewise.
4800         * string/test-ffs.c: Likewise.
4801         * string/tst-bswap.c: Likewise.
4802         * string/tst-inlcall.c: Likewise.
4803         * string/tst-strtok.c: Likewise.
4804         * string/tst-strxfrm.c: Likewise.
4805         * sysdeps/x86_64/tst-audit10.c: Likewise.
4806         * sysdeps/x86_64/tst-audit3.c: Likewise.
4807         * sysdeps/x86_64/tst-audit4.c: Likewise.
4808         * sysdeps/x86_64/tst-audit5.c: Likewise.
4809         * time/tst-ftime_l.c: Likewise.
4810         * time/tst-getdate.c: Likewise.
4811         * time/tst-mktime3.c: Likewise.
4812         * time/tst-mktime.c: Likewise.
4813         * time/tst-posixtz.c: Likewise.
4814         * time/tst-strptime2.c: Likewise.
4815         * time/tst-strptime3.c: Likewise.
4816         * wcsmbs/tst-btowc.c: Likewise.
4817         * wcsmbs/tst-mbrtowc.c: Likewise.
4818         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4819         * wcsmbs/tst-wchar-h.c: Likewise.
4820         * wcsmbs/tst-wcpncpy.c: Likewise.
4821         * wcsmbs/tst-wcrtomb.c: Likewise.
4822         * wcsmbs/tst-wcsnlen.c: Likewise.
4823         * wcsmbs/tst-wcstof.c: Likewise.
4825 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
4827         [BZ #14132]
4828         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4829         INTDEF.
4830         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4831         declaration.
4832         (_dl_mcount): Use rtld_hidden_proto.
4833         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4834         _dl_mcount.
4835         * elf/rtld.c (_rtld_global_ro): Likewise.
4837         [BZ #14132]
4838         * elf/dl-init.c (_dl_init): Don't use INTDEF.
4839         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4840         of _dl_init_internal.
4841         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4842         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4843         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4844         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4845         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4846         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4847         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4848         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4849         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4850         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4851         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4852         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4853         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4854         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4855         * sysdeps/tile/dl-start.S (_start): Likewise.
4856         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4857         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4859         [BZ #14132]
4860         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4861         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4862         (rtld_progname): Make macro definition unconditional.
4863         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4864         INTDEF.
4865         (dlmopen_doit): Do not use INTUSE with _dl_argv.
4866         (dl_main): Likewise.
4867         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4868         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4869         instead of _dl_argv_internal.
4870         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4871         __GI__dl_argv instead of INTUSE(_dl_argv).
4872         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4873         __GI__dl_argv instead of _dl_argv_internal.
4875         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4876         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4877         macro.
4878         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4879         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4880         New macro.
4881         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4882         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4883         macro.
4884         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4885         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4887 2014-11-04  Andreas Schwab  <schwab@suse.de>
4889         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4891 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4893         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4894         mtvsrd instruction in binary form.
4896 2014-11-03  Andreas Schwab  <schwab@suse.de>
4898         [BZ #17522]
4899         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4900         for less than MB_LEN_MAX use a local buffer of that size.
4901         * libio/tst-fputws.c: New file.
4902         * libio/Makefile (tests): Add tst-fputws.
4904 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
4906         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4907         the size of the fpu_fr.fpu_dregs[] array.
4909 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
4911         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4912         (__nanosleep): Do not define as alias.
4913         (nanosleep): Define as alias of __nanosleep.
4914         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4915         __libc_nanosleep name.
4917 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4919         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4920         install.texi in comment.
4922 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4924         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4925         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4926         ... add here and use lwsync or sync ...
4927         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4928         ... and add here using lwsync.
4930 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
4932         * elf/dl-machine-reject-phdr.h: New file.
4933         * elf/dl-load.c: #include that.
4934         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4935         if that returned true.
4937 2014-10-31  Roland McGrath  <roland@hack.frob.com>
4939         [BZ #17496]
4940         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4941         gen-as-const-headers chunk.  Add a big scare comment after the last
4942         safe place to touch before-compile.
4944 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4946         * manual/install.texi (Tools for Compilation): Update autoconf
4947         version requirements.
4948         * INSTALL: Regenerated.
4950         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4951         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4952         (__libc_pselect): Likewise.
4954         [BZ #14138]
4955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4960 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4962         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4963         correct barrier instruction.
4964         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4965         Likewise.
4966         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4967         Likewise.
4969 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4971         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4972         after defining inlines.  Instead, just use parens to defeat macro
4973         expansion of __isctype in its declaration.
4975 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4977         * include/sys/uio.h (__libc_readv): Remove declaration.
4978         (__libc_writev): Likewise.
4979         * misc/readv.c (__libc_readv): Rename to __readv.
4980         (__readv): Do not define as alias.
4981         (readv): Define as alias of __readv.
4982         * misc/writev.c (__libc_writev): Rename to __writev.
4983         (__writev): Do not define as alias.
4984         (writev): Define as alias of __writev.
4985         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4986         (__readv): Do not define as alias.
4987         (readv): Define unconditionally as alias of __readv.
4988         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4989         (__writev): Do not define as alias.
4990         (writev): Define unconditionally as alias of __writev.
4991         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4992         name.
4993         (writev): Do not define __libc_writev name.
4995 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4997         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4998         (convert_charseq): New function, broken out of ...
4999         (use_from_charmap): ... here.  Call it.
5000         (use_to_charmap): Use convert_charseq and free instead of duplicating
5001         its code with a variable-length stack struct.
5003 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5005         * include/fcntl.h (__libc_creat): Remove declaration.
5006         * io/creat.c (__libc_creat): Rename to creat.
5007         (creat): Do not define as alias.
5008         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5009         of creat instead of __libc_creat.
5010         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5011         to creat.
5012         (creat): Do not define as alias.
5013         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5014         __libc_creat.
5015         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5016         __libc_creat name.
5017         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5018         Likewise.
5020 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
5022         * manual/llio.texi: Add comments discussing why write() may be
5023         considered MT-unsafe on Linux.
5025 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
5027         * dl-load.c (local_strdup): Remove.
5028         (expand_dynamic_string_token): Use __strdup.
5029         (decompose_rpath): Likewise.
5030         (_dl_map_object): Likewise.
5032 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
5034         [BZ #14132]
5035         * sysdeps/generic/unwind-dw2-fde.c
5036         (__register_frame_info_bases_internal): Do not declare.
5037         (__register_frame_info_table_bases_internal): Likewise.
5038         (__deregister_frame_info_bases_internal): Likewise.
5039         (__register_frame_info_bases): Declare and use hidden_proto before
5040         definition.  Use hidden_def instead of INTDEF.
5041         (__register_frame_info_table_bases): Likewise.
5042         (__deregister_frame_info_bases): Likewise.
5043         (__register_frame_info): Do not use INTUSE.
5044         (__register_frame): Likewise.
5045         (__register_frame_info_table): Likewise.
5046         (__register_frame_table): Likewise.
5047         (__deregister_frame_info): Likewise.
5048         (__deregister_frame): Likewise.
5050 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
5052         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5053         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5054         not undefine.
5055         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5056         Likewise.
5057         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5058         Likewise.
5060 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
5062         [BZ #14138]
5063         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5064         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5065         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5066         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5067         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5068         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5069         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5070         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5071         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5072         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5073         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5074         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5075         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5076         syscall.
5077         (setfsuid): Likewise.
5078         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5079         (setfsuid): Likewise.
5080         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5081         (setfsuid): Likewise.
5082         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5083         Likewise.
5084         (setfsuid): Likewise.
5085         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5086         (setfsuid): Likewise.
5087         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5088         Likewise.
5089         (setfsuid): Likewise.
5091 2014-10-27  Andreas Schwab  <schwab@suse.de>
5093         [BZ #17501]
5094         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5095         check for Slow_SSE4_2 feature bit.
5096         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5097         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5098         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5099         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
5101 2014-10-24  Roland McGrath  <roland@hack.frob.com>
5103         * configure.ac: Validate compiler version with a empirical test of
5104         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5105         $CC -v output.
5106         * configure: Regenerated.
5108         * inet/htons.c (htons): Prototypify.
5109         * inet/htonl.c (htonl): Likewise.
5111 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5113         * string/strncat.c (strncat): Improve performance by using strlen.
5115 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5117         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5119 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5121         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5122         Call libc_fetestexcept_aarch64.
5124 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5126         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5127         Call libc_feholdexcept_aarch64.
5129 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5131         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5132         Call get_rounding_mode.
5134 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5136         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5137         Simplify logic.
5139 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5141         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5142         Simplify logic.
5144 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
5146         [BZ #14138]
5147         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5148         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5149         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5150         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5151         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5152         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5153         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5154         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5155         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5156         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5157         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5158         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5159         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5160         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5161         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5162         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5163         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5164         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5165         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5166         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5167         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5168         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5169         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5170         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5171         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5172         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5173         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5174         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5175         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5176         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5177         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5178         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5179         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5180         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5181         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5182         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5183         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5184         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5185         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5186         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5187         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5188         syscall.
5189         (geteuid): Likewise.
5190         (getgid): Likewise.
5191         (getuid): Likewise.
5192         (getresgid): Likewise.
5193         (getresuid): Likewise.
5194         (getgroups): Likewise.
5195         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5196         (geteuid): Likewise.
5197         (getgid): Likewise.
5198         (getuid): Likewise.
5199         (getresgid): Likewise.
5200         (getresuid): Likewise.
5201         (getgroups): Likewise.
5202         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5203         (geteuid): Likewise.
5204         (getgid): Likewise.
5205         (getuid): Likewise.
5206         (getresgid): Likewise.
5207         (getresuid): Likewise.
5208         (getgroups): Likewise.
5209         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5210         Likewise.
5211         (geteuid): Likewise.
5212         (getgid): Likewise.
5213         (getuid): Likewise.
5214         (getresgid): Likewise.
5215         (getresuid): Likewise.
5216         (getgroups): Likewise.
5217         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5218         (geteuid): Likewise.
5219         (getgid): Likewise.
5220         (getuid): Likewise.
5221         (getresgid): Likewise.
5222         (getresuid): Likewise.
5223         (getgroups): Likewise.
5224         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5225         Likewise.
5226         (geteuid): Likewise.
5227         (getgid): Likewise.
5228         (getuid): Likewise.
5229         (getgroups): Likewise.
5231         [BZ #14138]
5232         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5233         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5234         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5235         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5236         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5237         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5238         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5239         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5240         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5241         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5242         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5243         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5244         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5245         __chown.
5246         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5247         (lchown): Likewise.
5248         (fchown): Likewise.
5249         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5250         Likewise.
5251         (lchown): Likewise.
5252         (fchown): Likewise.
5253         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5254         (lchown): Likewise.
5255         (fchown): Likewise.
5256         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5257         Likewise.
5258         (lchown): Likewise.
5259         (fchown): Likewise.
5261 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5263         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5264         Simplify logic.
5266 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5268         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5269         Cleanup logic.
5271 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5273         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5274         Remove unused include.
5276 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5278         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5279         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5280         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5281         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5283 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
5284             Helge Deller <deller@gmx.de>
5286         [BZ #17508]
5287         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5288         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5289         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5291 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
5293         [BZ #14132]
5294         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5295         Remove macro definition.
5296         (__ashrdi3_v_glibc20): Likewise.
5297         (__lshrdi3_v_glibc20): Likewise.
5298         (__cmpdi2_v_glibc20): Likewise.
5299         (__ucmpdi2_v_glibc20): Likewise.
5300         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5301         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5302         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5303         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5304         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5305         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5307 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5309         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5310         old GNU extension [0] syntax.
5311         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5312         alloca rather than an array member with variable length.
5313         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5314         * nscd/nscd.c (invalidate_db): New function, broken out of ...
5315         (parse_opt): ... here.  Likewise use alloca there.
5316         Validate the -i argument before checking for rootness.
5317         (send_shutdown): New function, broken out of ...
5318         (parse_opt): ... here.
5320 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5322         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5323         macro to get at the _rt_local_ro field.
5324         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5325         ([PIC] case) or _dl_hwcap ([!PIC] case).
5326         * sysdeps/arm/setjmp.S: Likewise.
5328         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5329         * sysdeps/arm/configure.ac: New check to define it.
5330         * sysdeps/arm/configure: Regenerated.
5331         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5332         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5333         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5334         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5335         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5336         Use move/movt pair instead of a load.
5337         (LDST_GLOBAL): Macro removed.
5338         (LDR_GLOBAL): New macro replaces it.
5339         (LDR_HIDDEN): New macro.
5340         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5341         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5343         * setjmp/tst-setjmp-static.c: New file.
5344         * setjmp/Makefile (tests): Add it.
5345         (tests-static): New variable.
5347 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
5349         [BZ #17485]
5350         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5352 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
5354         [BZ #14132]
5355         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5357 2014-10-21  Roland McGrath  <roland@hack.frob.com>
5359         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5361 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5363         * io/fts.c (dirent_not_directory): New function.
5364         (fts_build): Call it.
5366 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5368         * nptl/version.c (__nptl_main): Use normal __write rather than
5369         INTERNAL_SYSCALL.
5370         (banner): Update copyright years.
5372         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5373         gettimeofday.
5374         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5375         * nptl/pthread_cond_timedwait.c: Likewise.
5376         * nptl/pthread_mutex_timedlock.c: Likewise.
5377         * nptl/sem_timedwait.c: Likewise.
5379         * sysdeps/nptl/bits/libc-lock.h
5380         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5381         (__libc_lock_init_recursive): Return void, not 0.
5382         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5383         (__libc_rwlock_init): Likewise.
5384         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5386 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5388         [BZ #15215]
5389         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5390         (__pthread_once_slow): ... here.
5391         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5392         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5394 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5396         [BZ #15215]
5397         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5398         __PTHREAD_ONCE_FORK_GEN_INCR): New.
5399         * sysdeps/nptl/fork.c (__libc_fork): Use them.
5400         * nptl/pthread_once.c (__pthread_once): Likewise.
5401         Update comments.
5403 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
5405         [BZ #14138]
5406         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5407         name.
5408         (writev): Use __libc_writev as strong name.
5409         * sysdeps/unix/sysv/linux/readv.c: Remove file.
5410         * sysdeps/unix/sysv/linux/writev.c: Likewise.
5412 2014-10-17  Roland McGrath  <roland@hack.frob.com>
5414         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5416         * sysdeps/i386/nptl/tls.h
5417         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5418         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5419         New macros.
5420         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5421         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5422         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5423         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5424         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5425         Call CHECK_THREAD_SYSINFO instead of doing an assert.
5427         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5428         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5429         on [__NR_futex].
5430         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5431         broken out of ...
5432         (__pthread_mutex_init): ... here.  Call it.
5433         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5434         Conditionalize PI cases on [__NR_futex].
5435         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5436         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5437         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5439         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5440         conditional on [SIGSETXID].
5441         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5442         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5443         is defined.  Likewise for SIGSETXID.
5444         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5445         Conditionalize definitions on [SIGSETXID].
5446         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5447         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5448         unblocking on [SIGCANCEL].
5450         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5451         [__NR_set_robust_list].
5453 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5455         * string/strcoll_l.c (get_next_seq): Fix up formatting.
5456         (do_compare): Likewise.
5458 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
5460         [BZ #15884]
5461         * string/strcoll_l.c: Don't include stdio.h.
5462         (coll_seq): Remove members idxarr and rulearr.
5463         (get_next_seq_cached): Remove function.
5464         (get_next_seq): Likewise.
5465         (get_next_seq_nocache): Rename to get_next_seq.
5466         (do_compare): Remove function.
5467         (do_compare_nocache): Rename to do_compare.
5468         (STRCOLL): Remove weight and rules cache.
5470 2014-10-16  Roland McGrath  <roland@hack.frob.com>
5472         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5473         * sysdeps/arm/sfp-machine.h: ... to here.
5474         * sysdeps/arm/Implies: Remove arm/soft-fp.
5476 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
5478         * conform/data/sys/utsname.h-data (*_t): Allow.
5479         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5480         [POSIX] (WEXITED): Do not expect constant.
5481         [POSIX] (WSTOPPED): Likewise.
5482         [POSIX] (WNOHANG): Likewise.
5483         [POSIX] (WNOWAIT): Likewise.
5484         [POSIX] (siginfo_t): Do not expect type or elements.
5485         [POSIX] (pid_t): Do not expect type.
5486         [POSIX] (signal.h): Do not allow header.
5487         [POSIX] (sys/resource.h): Likewise.
5488         [POSIX] (si_*): Do not allow pattern.
5489         [POSIX] (W*): Likewise.
5490         [POSIX] (P_*): Likewise.
5491         [POSIX] (BUS_*): Likewise.
5492         [POSIX] (CLD_*): Likewise.
5493         [POSIX] (FPE_*): Likewise.
5494         [POSIX] (ILL_*): Likewise.
5495         [POSIX] (POLL_*): Likewise.
5496         [POSIX] (SEGV_*): Likewise.
5497         [POSIX] (SI_*): Likewise.
5498         [POSIX] (TRAP_*): Likewise.
5499         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5500         variable.
5502 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5504         [BZ #12926]
5505         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5506         infinite loop when __recvmsg returns 0.
5508 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
5510         * CANCEL-FCT-WAIVE: Remove file.
5511         * CANCEL-FILE-WAIVE: Likewise.
5513         [BZ #14132]
5514         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5515         instead of INTVARDEF.
5516         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5517         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5518         rtld_hidden_data_def instead of INTVARDEF.
5519         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5520         * elf/dl-deps.c (expand_dst): Likewise.
5521         * elf/dl-load.c (_dl_dst_count): Likewise.
5522         (_dl_dst_substitute): Likewise.
5523         (decompose_rpath): Likewise.
5524         (_dl_init_paths): Likewise.
5525         (open_path): Likewise.
5526         (_dl_map_object): Likewise.
5527         * elf/rtld.c (dl_main): Likewise.
5528         (process_dl_audit): Likewise.
5529         (process_envvars): Likewise.
5530         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5531         Remove declaration.
5532         (__libc_enable_secure): Use rtld_hidden_proto.
5534 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5536         * elf/dl-load.c
5537         (add_path): New function broken out of _dl_rtld_di_serinfo.
5538         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
5540 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5542         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5543         parentheses around macro arguments.
5544         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5545         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5546         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5547         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5548         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5549         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5550         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5551         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5552         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5553         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5554         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5555         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5556         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5557         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5558         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5559         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5560         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5561         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5562         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5563         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5564         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5565         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5566         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5567         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5568         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5569         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5570         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5571         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5572         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5573         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5574         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5575         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5576         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5577         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5578         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5579         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5580         Likewise.
5581         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5582         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5583         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5584         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5585         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5586         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5587         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5588         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5589         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5590         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5591         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5592         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5593         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5594         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5595         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5596         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5597         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5598         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5599         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5600         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5601         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5602         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5603         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5604         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5605         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5606         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5607         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5608         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5609         (_FP_FRAC_SRS_1): Likewise.
5610         (_FP_FRAC_CLZ_1): Likewise.
5611         (_FP_MUL_MEAT_1_imm): Likewise.
5612         (_FP_MUL_MEAT_1_wide): Likewise.
5613         (_FP_MUL_MEAT_1_hard): Likewise.
5614         (_FP_SQRT_MEAT_1): Likewise.
5615         (_FP_FRAC_ASSEMBLE_1): Likewise.
5616         (_FP_FRAC_DISASSEMBLE_1): Likewise.
5617         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5618         (__FP_CLZ_2): Likewise.
5619         (_FP_MUL_MEAT_2_wide): Likewise.
5620         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5621         (_FP_MUL_MEAT_2_gmp): Likewise.
5622         (_FP_MUL_MEAT_2_120_240_double): Likewise.
5623         (_FP_SQRT_MEAT_2): Likewise.
5624         (_FP_FRAC_ASSEMBLE_2): Likewise.
5625         (_FP_FRAC_DISASSEMBLE_2): Likewise.
5626         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5627         (_FP_FRAC_CLZ_4): Likewise.
5628         (_FP_MUL_MEAT_4_wide): Likewise.
5629         (_FP_MUL_MEAT_4_gmp): Likewise.
5630         (_FP_SQRT_MEAT_4): Likewise.
5631         (_FP_FRAC_ASSEMBLE_4): Likewise.
5632         (_FP_FRAC_DISASSEMBLE_4): Likewise.
5633         * soft-fp/op-common.h (_FP_CMP): Likewise.
5634         (_FP_CMP_EQ): Likewise.
5635         (_FP_CMP_UNORD): Likewise.
5636         (_FP_TO_INT): Likewise.
5637         (_FP_FROM_INT): Likewise.
5638         [!__FP_CLZ] (__FP_CLZ): Likewise.
5639         (_FP_DIV_HELP_imm): Likewise.
5640         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5641         Likewise.
5642         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5643         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5644         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5645         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5646         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5647         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5648         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5649         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5650         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5651         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5652         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5653         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5654         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5655         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5656         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5657         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5658         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5659         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5660         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5661         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5662         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5663         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5664         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5665         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5666         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5667         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5668         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5669         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5670         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5671         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5672         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5673         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5674         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5675         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5676         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5677         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5678         (FP_UNPACK_RAW_SP): Likewise.
5679         (FP_PACK_RAW_S): Likewise.
5680         (FP_PACK_RAW_SP): Likewise.
5681         (FP_UNPACK_S): Likewise.
5682         (FP_UNPACK_SP): Likewise.
5683         (FP_UNPACK_SEMIRAW_S): Likewise.
5684         (FP_UNPACK_SEMIRAW_SP): Likewise.
5685         (FP_PACK_S): Likewise.
5686         (FP_PACK_SP): Likewise.
5687         (FP_PACK_SEMIRAW_S): Likewise.
5688         (FP_PACK_SEMIRAW_SP): Likewise.
5689         (_FP_SQRT_MEAT_S): Likewise.
5690         (FP_CMP_S): Likewise.
5691         (FP_CMP_EQ_S): Likewise.
5692         (FP_CMP_UNORD_S): Likewise.
5693         (FP_TO_INT_S): Likewise.
5694         (FP_FROM_INT_S): Likewise.
5696         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5698         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5699         (FP_EX_INVALID_IMZ): Likewise.
5700         (FP_EX_INVALID_IMZ_FMA): Likewise.
5701         (FP_EX_INVALID_ISI): Likewise.
5702         (FP_EX_INVALID_ZDZ): Likewise.
5703         (FP_EX_INVALID_IDI): Likewise.
5704         (FP_EX_INVALID_SQRT): Likewise.
5705         (FP_EX_INVALID_CVI): Likewise.
5706         (FP_EX_INVALID_VC): Likewise.
5707         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5708         "invalid" exceptions.
5709         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5710         (_FP_ADD_INTERNAL): Likewise.
5711         (_FP_MUL): Likewise.
5712         (_FP_FMA): Likewise.
5713         (_FP_DIV): Likewise.
5714         (_FP_CMP_CHECK_NAN): Likewise.
5715         (_FP_SQRT): Likewise.
5716         (_FP_TO_INT): Likewise.
5717         (FP_EXTEND): Likewise.
5719 2014-10-09  Allan McRae  <allan@archlinux.org>
5721         * po/fr.po: Update French translation from translation project.
5723 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5725         [BZ #14132]
5726         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5727         of INTDEF.
5728         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5729         (__cxa_atexit): Use libc_hidden_proto.
5730         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5732         [BZ #14132]
5733         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5734         declaration.
5735         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5736         [!_ISOMAC] (__iswspace_l_internal): Likewise.
5737         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5738         [!_ISOMAC] (__iswctype_internal): Likewise.
5739         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5740         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5741         alias.
5742         (fcntl): Remove __fcntl_internal alias.
5743         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5744         __connect_internal alias.
5745         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5746         Likewise.
5748         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5749         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5750         FP_DENORM_ZERO.
5751         (_FP_CHECK_FLUSH_ZERO): New macro.
5752         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5753         (_FP_CMP): Likewise.
5754         (_FP_CMP_EQ): Likewise.
5755         (_FP_TO_INT): Do not set inexact for subnormal arguments if
5756         FP_DENORM_ZERO.
5757         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5758         (FP_TRUNC): Likewise.
5760         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5761         treated as invalid conversion, not as normal exponent.
5763         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5764         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
5765         (_FP_CMP_EQ): Likewise.
5766         (_FP_CMP_UNORD): Likewise.
5767         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5768         (FP_CMP_EQ_D): Likewise.
5769         (FP_CMP_UNORD_D): Likewise.
5770         * soft-fp/extended.h (FP_CMP_E): Likewise.
5771         (FP_CMP_EQ_E): Likewise.
5772         (FP_CMP_UNORD_E): Likewise.
5773         * soft-fp/quad.h (FP_CMP_Q): Likewise.
5774         (FP_CMP_EQ_Q): Likewise.
5775         (FP_CMP_UNORD_Q): Likewise.
5776         * soft-fp/single.h (FP_CMP_S): Likewise.
5777         (FP_CMP_EQ_S): Likewise.
5778         (FP_CMP_UNORD_S): Likewise.
5779         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5780         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5781         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5782         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5783         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5784         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5785         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5786         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5787         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5788         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5789         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5790         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5791         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5792         to FP_CMP_Q.
5793         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5794         FP_CMP_Q.
5795         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5796         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5797         FP_CMP_EQ_Q.
5798         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5799         FP_CMP_Q.
5800         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5801         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5802         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5803         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5804         FP_CMP_EQ_Q.
5805         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5806         FP_CMP_Q.
5807         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5808         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5809         FP_CMP_EQ_Q.
5810         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5811         FP_CMP_Q.
5812         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5813         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5814         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5815         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5816         FP_CMP_EQ_Q.
5818         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5819         a subnormal result, set the underflow exception if trapping on
5820         underflow is enabled.
5821         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5822         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5823         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5824         redefine to 0.
5825         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5826         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5827         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5828         * soft-fp/extendxftf2.c (__extendxftf2): Use
5829         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5831         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5832         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5833         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5834         FP_HANDLE_EXCEPTIONS.
5835         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5836         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5837         FP_HANDLE_EXCEPTIONS.
5838         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5839         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5840         FP_HANDLE_EXCEPTIONS.
5841         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5842         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5843         FP_HANDLE_EXCEPTIONS.
5845 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
5847         [BZ #14132]
5848         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5849         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5850         use INTUSE.
5851         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5852         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5853         Remove alias.
5854         (__adjtimex): Define using libc_hidden_ver.
5855         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5856         Remove declaration.
5857         (ntp_gettime): Call __adjtimex directly.
5858         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5859         Remove declaration.
5860         (ntp_gettimex): Call __adjtimex directly.
5861         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5862         __adjtimex_internal alias.
5864 2014-10-08  Roland McGrath  <roland@hack.frob.com>
5866         [BZ #17460]
5867         * nscd/nscd.c (more_help): Rewrite list of tables collection
5868         using xstrdup and asprintf.
5870         * nscd/nscd_conf.c: Remove local xstrdup declaration.
5872 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5873             Roland McGrath  <roland@hack.frob.com>
5875         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5876         (do_lookup_unique): ... local function 'enter' here; update callers.
5878 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
5880         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5881         compat_symbol calls on [SHARED].
5882         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5883         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5884         Remove.
5885         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5886         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5887         (oldsetrlimit): Remove.
5888         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5890         (lchown): New syscall entry.
5891         (oldsetrlimit): Remove.
5892         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5893         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5894         (oldsetrlimit): Remove.
5895         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5897         [BZ #14138]
5898         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5899         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5900         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5901         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5902         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5903         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5904         (fchown): Likewise.
5905         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5906         (fchown): Likewise.
5907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5908         Likewise.
5910 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5912         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5913         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5914         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5915         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5916         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5917         Likewise.
5918         (__old_sem_post): Likewise.
5920 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
5922         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5923         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5924         HAVE_CLOCK_GETTIME_VSYSCALL macros.
5925         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5926         Use INLINE_VSYSCALL macro.
5927         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5928         __vdso_clock_gettime.
5929         * sysdeps/unix/sysv/linux/tile/init-first.c
5930         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5931         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5932         __vdso_clock_gettime.
5934         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5935         to set up frame more cleanly.
5937         * sysdeps/tile/memcmp.c: New file.
5939         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5941         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5942         * sysdeps/tile/tilegx/strcasestr.c: New file.
5943         * sysdeps/tile/tilegx/strnlen.c: New file.
5944         * sysdeps/tile/tilegx/strstr.c: New file.
5946         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5948 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
5950         * nptl/tst-setuid3.c: Write errors to stdout.
5952 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5954         * elf/dl-deps.c
5955         (preload): New functions broken out of _dl_map_object_deps.
5956         (_dl_map_object_deps):  Remove a nested function. Update call sites.
5958 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
5960         [BZ #14138]
5961         * sysdeps/unix/sysv/linux/execve.c: Remove file.
5962         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5964 2014-10-01  Steve Ellcey  <sellcey@mips.com>
5966         * sysdeps/mips/strcmp.S: New.
5968 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
5970         [BZ #14138]
5971         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5972         (linkat): Likewise.
5973         (mkdirat): Likewise.
5974         (readlinkat): Likewise.
5975         (renameat): Likewise.
5976         (symlinkat): Likewise.
5977         (unlinkat): Likewise.
5978         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5979         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5980         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5981         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5982         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5983         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5984         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5986 2014-09-30  Will Newton  <will.newton@linaro.org>
5988         * math/math.h: Define long double math functions if
5989         _LIBC_TEST is defined.
5990         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5992         * localedata/Makefile: Move assignment to tests-special
5993         into an ifdef testing run-built-tests.
5994         * timezone/Makefile: Likewise.
5996 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
5998         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5999         with $(BASH) not $(SHELL).
6001 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
6002             Matthew LeGendre  <legendre1@llnl.gov>
6004         [BZ #17411]
6005         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6006         l_reloc_result.
6008 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6010         * stdio-common/printf_fp.c
6011         (hack_digit): New function, broken out of ...
6012         (__printf_fp): ... local function here.  Update call sites.
6013         hack_digit now takes an additional parameter that is a pointer
6014         to a struct of the referenced locals.  Those locals moved inside
6015         the struct and references updated.
6017 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
6019         * aclocal.m4: Require autoconf 2.69.
6020         * configure: Regenerated.
6021         * sysdeps/aarch64/configure: Likewise.
6022         * sysdeps/alpha/configure: Likewise.
6023         * sysdeps/arm/armv7/configure: Likewise.
6024         * sysdeps/arm/configure: Likewise.
6025         * sysdeps/ia64/configure: Likewise.
6026         * sysdeps/mach/configure: Likewise.
6027         * sysdeps/mips/configure: Likewise.
6028         * sysdeps/s390/configure: Likewise.
6029         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6032         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6033         file.
6034         * sysdeps/ia64/configure.ac: Likewise.
6036 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
6038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6039         specify symbol version for ld.so.  Do not include entry for
6040         libpthread.
6041         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6042         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6043         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6045         [BZ #14171]
6046         * Makeconfig [$(build-shared) = yes]
6047         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6048         makefiles.
6049         [$(build-shared) = yes && $(soversions.mk-done) = t]
6050         ($(common-objpfx)gnu/lib-names.h): Remove rule.
6051         [$(build-shared) = yes && $(soversions.mk-done) = t]
6052         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
6053         to Makerules.
6054         [$(build-shared) = yes && $(soversions.mk-done) = t]
6055         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6056         here.
6057         [$(build-shared) = yes && $(soversions.mk-done) = t]
6058         (common-generated): Don't append gnu/lib-names.h and
6059         gnu/lib-names.stmp here.
6060         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6061         (lib-names-h-abi): New variable.
6062         [$(build-shared) = yes && $(soversions.mk-done) = t]
6063         (lib-names-stmp-abi): Likewise.
6064         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6065         abi-variants] (before-compile): Append
6066         $(common-objpfx)$(lib-names-h-abi).
6067         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6068         abi-variants] (common-generated): Append gnu/lib-names.h.
6069         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6070         abi-variants] (install-others-nosubdir): Depend on
6071         $(inst_includedir)/$(lib-names-h-abi).
6072         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6073         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6074         [$(build-shared) = yes && $(soversions.mk-done) = t]
6075         ($(common-objpfx)$(lib-names-h-abi)): New rule.
6076         [$(build-shared) = yes && $(soversions.mk-done) = t]
6077         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6078         [$(build-shared) = yes && $(soversions.mk-done) = t]
6079         (common-generated): Append $(lib-names-h-abi) and
6080         $(lib-names-stmp-abi).
6081         * scripts/lib-names.awk: Do not handle multi being set.
6082         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6083         Remove variable.
6084         (abi-lp64_be-ld-soname): Likewise.
6085         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6086         Likewise.
6087         (abi-hard-ld-soname): Likewise.
6088         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6089         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6090         Remove variable.
6091         (abi-o32_hard-ld-soname): Likewise.
6092         (abi-o32_soft_2008-ld-soname): Likewise.
6093         (abi-o32_hard_2008-ld-soname): Likewise.
6094         (abi-n32_soft-ld-soname): Likewise.
6095         (abi-n32_hard-ld-soname): Likewise.
6096         (abi-n32_soft_2008-ld-soname): Likewise.
6097         (abi-n32_hard_2008-ld-soname): Likewise.
6098         (abi-n64_soft-ld-soname): Likewise.
6099         (abi-n64_hard-ld-soname): Likewise.
6100         (abi-n64_soft_2008-ld-soname): Likewise.
6101         (abi-n64_hard_2008-ld-soname): Likewise.
6102         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6103         Likewise.
6104         (abi-64-v2-ld-soname): Likewise.
6105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6106         ld.so entries.
6107         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6108         variable.
6109         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6110         entry.
6111         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6112         variable.
6113         (abi-64-ld-soname): Likewise.
6114         (abi-x32-ld-soname): Likewise.
6115         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6116         entry.
6117         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6119 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
6121         [BZ #14138]
6122         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6123         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6124         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6125         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6126         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6127         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6128         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6129         syscall entry for GLIBC_2.2 symbol version.
6130         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6131         Likewise.
6132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6133         (setrlimit): Likewise.
6134         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6135         Likewise.
6137 2014-09-23  Will Newton  <will.newton@linaro.org>
6139         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6140         _LINUX_ARM_SYSDEP_H include guard too.
6141         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6142         define.
6144 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6146         * sysdeps/unix/sysv/linux/eventfd.c:
6147         Make first argument unsigned.
6148         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6149         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6151 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
6153         * socket/recvmmsg.c (recvmmsg): Drop const argument.
6154         * socket/sys/socket.h: Likewise
6155         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6157 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6159         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6161 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
6163         * time/tst-ftime.c: New test.
6164         * time/Makefile (tests): Add tst-ftime.
6166 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
6168         * soft-fp/extended.h: Fix comment formatting.
6169         * soft-fp/op-1.h: Likewise.
6170         * soft-fp/op-2.h: Likewise.
6171         * soft-fp/op-4.h: Likewise.
6172         * soft-fp/op-8.h: Likewise.
6173         * soft-fp/op-common.h: Likewise.
6174         * soft-fp/soft-fp.h: Likewise.
6176         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6178 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
6180         [BZ #6652]
6181         * Makeconfig (soversions-default-setname): Remove variable.
6182         ($(common-objpfx)soversions.i): Don't pass default_setname to
6183         soversions.awk.
6184         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6185         oldest_abi to abi-versions.awk.
6186         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6187         * config.make.in (oldest-abi): Remove variable.
6188         * configure.ac (--enable-oldest-abi): Remove configure option.
6189         * configure: Regenerated.
6190         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6191         text.
6192         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6193         * scripts/soversions.awk: Do not handle default_setname variable.
6194         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6195         variable.
6196         * sysdeps/mach/hurd/configure: Regenerated.
6197         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6198         variable.
6199         * sysdeps/unix/sysv/linux/configure: Regenerated.
6201 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6203         * elf/Makefile (CFLAGS-interp.c): Remove.
6204         ($(elf-objpfx)runtime-linker.h): Generate header with linker
6205         path string.
6206         * elf/interp.c: Include generated runtime-linker.h
6208         * Makerules (lib%.so): Don't include $(+interp) in
6209         prerequisites.
6210         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6211         * dlfcn/eval.c: Remove file.
6213         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6214         macros.
6216         [BZ #17266]
6217         * misc/sys/cdefs.h: Define __extern_always_inline for clang
6218         4.2 and newer.
6220         [BZ #17370]
6221         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6223 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6224             Jakub Jelinek  <jakub@redhat.com>
6226         [BZ #17266]
6227         * libio/stdio.h: Check definition of __fortify_function
6228         instead of __extern_always_inline to include bits/stdio2.h.
6229         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6230         check if __extern_always_inline is defined.
6231         [__USE_MISC || __USE_XOPEN]: Likewise.
6232         [__USE_ISOC99] Likewise.
6233         * misc/sys/cdefs.h (__fortify_function): Define only if
6234         __extern_always_inline is defined.
6235         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6236         __extern_always_inline and __extern_inline only for g++-4.3
6237         and newer or a compatible gcc.
6239 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
6241         [BZ #17371]
6242         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6243         last change to handle zero prefix length.
6245 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6247         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6248         _SC_REGEX_VERSION.
6250         * posix/getconf.c (vars): Add _POSIX_IPV6 and
6251         _POSIX_RAW_SOCKETS.
6253 2014-09-13  Allan McRae  <allan@archlinux.org>
6255         * po/ru.po: Update Russian translation from translation project.
6257 2014-09-12  Roland McGrath  <roland@hack.frob.com>
6259         * locale/programs/locale.c (show_locale_vars): Inline local function
6260         into its sole call site.  Clean up some style nits.
6261         (print_item): New function, broken out of ...
6262         (show_info): ... local function here.  Clean up style nits.
6264         * locale/programs/ld-ctype.c (set_one_default): New function, broken
6265         out of ...
6266         (set_class_defaults): ... local function set_default here.
6267         Define set_default as a macro locally to pass constant parameters.
6268         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6269         rather than a shared local.
6271         * stdlib/rpmatch.c (try): New function, broken out of ...
6272         (rpmatch): ... local function here.  Also, prototypify definition.
6274 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6276         * scripts/soversions.awk: Do not handle configuration names.
6277         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6278         vendor and os variables to soversions.awk.
6279         * configure.ac: Do not modify gnu-* host_os.
6280         * configure: Regenerated
6281         * shlib-versions: Remove first column with configuration names.
6282         * nptl/shlib-versions: Likewise.
6283         * nptl_db/shlib-versions: Likewise.
6284         * sysdeps/hppa/shlib-versions: Likewise.
6285         * sysdeps/m68k/shlib-versions: Likewise.
6286         * sysdeps/mach/hurd/shlib-versions: Likewise.
6287         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6288         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6289         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6290         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6291         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6292         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6293         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6294         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6296         Likewise.
6297         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6298         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6299         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6300         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6301         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6302         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6303         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6304         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6307         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6309         Regenerated.
6310         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6312         Condition symbol version definitions on [HAVE_ELFV2_ABI].
6314         * shlib-versions: Remove OS-specific entries.  Moved to files in
6315         sysdeps.
6316         * sysdeps/mach/hurd/shlib-versions: New file.
6317         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6319         * nptl/shlib-versions: Remove architecture-specific entries.
6320         Moved to files in sysdeps.
6321         * shlib-versions: Likewise.
6322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6323         file.
6324         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6325         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6326         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6327         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6329         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6330         (UDP_NO_CHECK6_RX): Likewise.
6332 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6334         * sysdeps/posix/sysconf.c (__sysconf): Spell
6335         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6337 2014-08-12  Florian Weimer  <fweimer@redhat.com>
6339         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6340         loading.
6341         * iconv/Versions (__gconv_transliterate): Export for use from
6342         gconv modules.
6343         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6344         (struct __gconv_trans_data, __gconv_trans_fct,
6345         __gconv_trans_context_fct, __gconv_trans_query_fct,
6346         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6347         definitions.
6348         (struct __gconv_step_data): Remove __trans member.
6349         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
6350         longer hidden.  Remove unused trans_data argument.
6351         * iconv/gconv_int.h (struct trans_struct): Remove definition.
6352         (__gconv_translit_find): Remove declaration.
6353         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
6354         prototype.
6355         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6356         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6357         trans_data argument.  Add hidden definition.
6358         (__gconv_translit_find): Remove.
6359         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6360         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6361         * iconv/skeleton.c: Remove transliteration initialization.
6362         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6363         __gconv_step_data initialization.
6364         * libio/iofwide.c (__libio_translit_): Remove.
6365         (_IO_fwide): Adjust struct __gconv_step_data initialization.
6366         * wcsmbs/btowc.c (__btowc): Likewise.
6367         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6368         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6369         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6370         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6371         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6372         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6373         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6374         * wcsmbs/wctob.c (wctob): Likewise.
6376 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6378         [BZ #16194]
6379         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6380         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
6381         register usage.
6382         * sysdeps/x86/Makefile: Adjust.
6384 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6385             Roland McGrath  <roland@hack.frob.com>
6387         * locale/weight.h: Add include guard.
6388         (findidx): Make static rather than auto; take new parameters
6389         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6390         * locale/weightwc.h: Likewise.
6391         * posix/fnmatch_loop.c
6392         (FCT): Change type of EXTRA from int32_t to wint_t.
6393         Don't include either header inside the function.
6394         Call FINDIDX rather than findidx, and pass new arguments.
6395         #undef FINDIDX at the end of the file.
6396         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6397         FINDIDX before including fnmatch_loop.c for the non-wide version.
6398         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6399         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6400         for the wide version.
6401         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6402         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6403         Pass new arguments to findidx.
6404         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6405         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6406         Don't #include it inside the function.  Pass new arguments to findidx.
6407         * posix/regex_internal.h
6408         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6409         (re_string_elem_size_at): Don't #include it inside the function.
6410         Pass new arguments to findidx.
6411         * string/strcoll_l.c: #include WEIGHT_H at top level.
6412         (get_next_seq): Don't #include it inside the function.
6413         Pass new arguments to findidx.
6414         (get_next_seq_nocache): Likewise.
6415         * string/strxfrm_l.c: #include WEIGHT_H at top level.
6416         (STRXFRM): Don't #include it inside the function.
6417         Pass new arguments to findidx.
6419 2014-09-11  Florian Weimer  <fweimer@redhat.com>
6421         [BZ #17344]
6422         * malloc/malloc.c (unlink): Turn asserts into a call to
6423         malloc_printerr.
6425 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
6427         [BZ #17370]
6428         * libio/wfileops (do_ftell_wide): Free OUT.
6430 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
6432         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6434 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6436         [BZ #17363]
6437         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6438         group if the current group is empty.
6440 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6442         * benchtests/bench-memset.c (test_main): Add more test from size
6443         from 32 to 512 bytes.
6444         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6445         Add POWER8 memset object.
6446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6447         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6448         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6449         implementation.
6450         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6451         Likewise.
6452         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6453         multiarch POWER8 memset optimization.
6454         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6455         POWER8 memset optimization.
6457         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6458         Remove bzero multiarch objects.
6459         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6460         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6461         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6462         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6463         Remove define.
6464         [__bzero]: Redefine to specific name.
6465         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6466         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6467         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6468         define.
6469         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6470         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6472 2014-09-10  Florian Weimer  <fweimer@redhat.com>
6474         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6475         warnings into errors.
6477         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6478         __cxa_thread_atexit_impl prototype.
6480 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6482         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6483         Fix capitalization of error message.
6485 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6487         * sysdeps/mips/preconfigure: Modify ABI tests.
6489 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
6491         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6493 2014-09-07  Roland McGrath  <roland@hack.frob.com>
6494             Carlos O'Donell  <carlos@systemhalted.org>
6496         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6497         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6498         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6499         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6500         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6501         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6502         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6503         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6504         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6505         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6506         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6507         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6508         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6509         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6510         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6511         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6512         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6513         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6514         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6515         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6516         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6517         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6518         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6519         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6520         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6521         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6522         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6523         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6524         Deconditionalize the code that was previously under [RESET_PID].
6525         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6526         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6527         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6528         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6529         include sysdep.h.
6531 2014-09-08  Allan McRae  <allan@archlinux.org>
6533         * version.h (RELEASE): Set to "development".
6534         (VERSION): Set to "2.20.90"
6536 2014-09-07  Allan McRae  <allan@archlinux.org
6538         * version.h (RELEASE): Set to "stable".
6539         (VERSION): Set to "2.20"
6540         * include/features.h (__GLIBC_MINOR__): Set to 20.
6542         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6543         Liebler.
6545         * po/ko.po: Update Korean translation from translation project.
6547 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
6549         [BZ #17354]
6550         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6551         macro for handling signed relocations.
6553 2014-09-03  Florian Weimer  <fweimer@redhat.com>
6555         [BZ #17325]
6556         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6557         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6558         assert.
6559         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6560         * iconvdata/ibm935.c (BODY): Likewise.
6561         * iconvdata/ibm937.c (BODY): Likewise.
6562         * iconvdata/ibm939.c (BODY): Likewise.
6563         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6564         assert.
6565         * iconvdata/Makefile (iconv-test.out): Pass module list to test
6566         script.
6567         * iconvdata/run-iconv-test.sh: New test loop for checking for
6568         decoder crashers.
6570 2014-09-02  Khem Raj  <raj.khem@gmail.com>
6572         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6573         libm_hidden_ver.
6575 2014-09-01  Allan McRae  <allan@archlinux.org>
6577         * po/eo.po: Update Esperanto translation from translation project.
6579         * po/ca.po: Update Catalan translation from translation project.
6581 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6583         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6584         __proc_dostop call.
6586 2014-08-27  Mark Wielaard  <mjw@redhat.com>
6588         [BZ #17319]
6589         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6590         to call set_thread_area instead of hand written asm.
6591         (__NR_set_thread_area): Removed define.
6592         (TLS_FLAG_WRITABLE): Likewise.
6593         (__ASSUME_SET_THREAD_AREA): Remove check.
6594         (TLS_EBX_ARG): Remove define.
6595         (TLS_LOAD_EBX): Likewise.
6597 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6599         Simplify atomicity of socket creation in bind.
6601         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6602         looking up the name after linking the file.
6604 2014-08-27  Allan McRae  <allan@archlinux.org>
6606         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6608 2014-08-26  Florian Weimer  <fweimer@redhat.com>
6610         [BZ #17187]
6611         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6612         trans_compare, open_translit, __gconv_translit_find):
6613         Remove module loading code.
6615 2014-08-26  Allan McRae  <allan@archlinux.org>
6617         * po/vi.po: Update Vietnamese translation from translation project.
6619         * po/uk.po: Update Ukrainian translation from translation project.
6621         * po/fr.po: Update French translation from translation project.
6623         * po/ru.po: Update Russian translation from translation project.
6625         * po/pl.po: Update Polish translation from translation project.
6627         * po/cs.po: Update Czech translation from translation project.
6629         * po/de.po: Update German translation from translation project.
6631         * po/bg.po: Update Bulgarian translation from translation project.
6633         * po/sv.po: Update Sweedish translation from translation project.
6635         * po/nl.po: Update Dutch translation from translation project.
6637         * po/es.po: Update Spanish translation from translation project.
6639 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6641         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6643         * catgets/Makefile (CPPFLAGS-gencat): Remove.
6644         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6645         (CPPFLAGS-iconvconfig): Likewise.
6646         * timezone/Makefile (CPPFLAGS-zic): Likewise.
6648         * include/libc-symbols.h: Remove unnecessary check for
6649         NOT_IN_libc.
6650         * nptl/pthreadP.h: Likewise.
6651         * sysdeps/aarch64/setjmp.S: Likewise.
6652         * sysdeps/alpha/setjmp.S: Likewise.
6653         * sysdeps/arm/sysdep.h: Likewise.
6654         * sysdeps/i386/setjmp.S: Likewise.
6655         * sysdeps/m68k/setjmp.c: Likewise.
6656         * sysdeps/posix/getcwd.c: Likewise.
6657         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6658         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6659         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6660         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6661         * sysdeps/sh/sh3/setjmp.S: Likewise.
6662         * sysdeps/sh/sh4/setjmp.S: Likewise.
6663         * sysdeps/unix/alpha/sysdep.h: Likewise.
6664         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6665         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6666         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6667         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6670         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6671         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6672         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6673         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6674         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6675         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6676         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6677         * sysdeps/x86_64/setjmp.S: Likewise.
6679 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
6681         [BZ #17263]
6682         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6683         <stdint.h>.
6684         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6685         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6687 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6689         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6691         [BZ #17262]
6692         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6693         and __x86_64__ when disabling x87 inline functions.
6695 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6697         [BZ #17259]
6698         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6699         asm statement with __cpuid_count.
6701 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
6703         * configure.ac: Change __ehdr_start code to dereference the struct.
6704         Run readelf on the output to look for relocations.
6705         * configure: Regenerated.
6707 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
6709         [BZ #17261]
6710         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6711         value to 0.
6712         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6714 2014-08-12  Roland McGrath  <roland@hack.frob.com>
6716         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6718 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
6720         [BZ #16892]
6721         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6722         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6724 2014-08-12  Sean Anderson  <seanga2@gmail.com>
6726         * malloc/malloc.c: Fix typo in comment.
6728 2014-08-09  Allan McRae  <allan@archlinux.org>
6730         * Regenerate libc.po.
6732 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
6734         * intl/tst-gettext2.sh: Check every lang file for creation.
6736 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6738         * sysdeps/aarch64/fpu/math_private.h
6739         (libc_feholdsetround_noex_aarch64_ctx): New function.
6741 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6743         * sysdeps/arm/armv6/strcpy.S (strcpy):
6744         Fix performance issue in misaligned cases.
6746 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6748         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6749         Move definition from termios.h.
6750         (struct termio): Likewise.
6751         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6752         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6753         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6754         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6755         Likewise.
6756         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6757         Move definition to ioctl-types.h
6758         (struct termio): Likewise.
6759         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6760         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6761         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6762         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6763         Likewise.
6765 2014-08-05  Richard Henderson  <rth@redhat.com>
6767         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6768         exceptions.
6769         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6770         Add fraiseexcpt.
6771         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6772         Use __feraiseexcept.
6773         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6774         Protect libm symbols with IS_IN_libm.
6776         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6778 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
6780         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6782 2014-08-04  Will Newton  <will.newton@linaro.org>
6784         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6785         file.
6787 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
6789         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6790         variants for each function.
6792 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6794         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6795         appended ...
6796         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6797         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6798         appended ...
6799         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6800         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6801         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6802         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6803         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6804         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6805         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6806         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6807         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6808         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6809         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6810         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6811         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6812         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6813         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6814         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6815         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6816         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6817         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6818         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6819         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6820         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6821         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6822         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6823         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6824         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6825         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6826         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6827         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6828         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6829         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6830         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6831         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6832         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6833         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6834         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6835         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6836         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6837         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6838         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6839         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6840         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6841         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6842         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6843         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6844         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6845         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6846         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6847         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6848         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6849         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6850         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6851         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6852         Update #include.
6853         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6854         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6856 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6858         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6859         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6860         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6861         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6862         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6863         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6865 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6867         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6868         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6869         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6870         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6872 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6874         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6875         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6876         (__libc_vfork): Define function under this name.
6877         (__vfork): Define as an alias.
6878         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6879         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6881 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6883         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6884         that was previously under [RESET_PID].
6885         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6887 2014-08-04  Andreas Schwab  <schwab@suse.de>
6889         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6891 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
6893         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6894         (main): Likewise.
6896 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6898         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6900 2014-08-01  Richard Henderon  <rth@redhat.com>
6902         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6903         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6904         typo in exact zero test.
6905         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6906         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6907         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6909 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6911         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6912         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6913         * sysdeps/arm/sysdep.h: ... here.
6914         [!__ASSEMBLER__]: Include <stdint.h>.
6916 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6918         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6919         (HAVE_WCTYPE_H): Likewise.
6920         (HAVE_ISWCTYPE): Likewise.
6921         (ENABLE_NLS): Likewise.
6922         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6923         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6925         * posix/regex_internal.c: Check if DEBUG is defined and is
6926         set.
6928         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6929         (HAVE_MBSRTOWCS): Likewise.
6930         * posix/fnmatch.c: Include string.h unconditionally.
6932 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6934         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6935         reversal.
6937 2014-07-31  Roland McGrath  <roland@hack.frob.com>
6939         * sysdeps/generic/safe-fatal.h: New file.
6940         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6941         * nptl/forward.c: Include it.
6942         (__pthread_unwind): Use __safe_fatal as default action, rather
6943         than a bogus use of INTERNAL_SYSCALL that could never work.
6945         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6946         * configure.ac (libc_cv_builtin_trap): New test.
6947         * configure: Regenerated.
6948         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6949         (ABORT_INSTRUCTION): Define using __builtin_trap.
6951         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6952         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6953         * sysdeps/nptl/nptl-signals.h: New file.
6954         * nptl/pthreadP.h: Include <nptl-signals.h>.
6956 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6958         * sysdeps/s390/s390-64/utf16-utf32-z9.c
6959         (ONE_DIRECTION): Define.
6960         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6961         (ONE_DIRECTION): Define.
6962         * sysdeps/s390/s390-64/utf8-utf32-z9.c
6963         (ONE_DIRECTION): Define.
6965 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6967         * sysdeps/s390/Makefile: Delete file.
6968         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6969         * sysdeps/s390/__longjmp.c: Delete file.
6970         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6971         Remove fields __flags and __reserved.
6972         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6973         and add versioning.
6974         * sysdeps/s390/rtld-__longjmp.c: Delete file.
6975         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6976         * sysdeps/s390/rtld-setjmp.S: Likewise.
6977         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6978         * sysdeps/s390/s390-32/__longjmp.c: ... here.
6979         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6980         * sysdeps/s390/s390-32/setjmp.S: ... here.
6981         Add versioning.
6982         (__sigsetjmp): Remove setting __flags field.
6983         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6984         * sysdeps/s390/s390-64/__longjmp.c: ... here.
6985         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6986         * sysdeps/s390/s390-64/setjmp.S: ... here.
6987         Add versioning.
6988         (__sigsetjmp): Remove setting __flags field.
6989         * sysdeps/s390/setjmp.S: Delete file.
6990         * sysdeps/s390/sigjmp.c: Likewise.
6991         * sysdeps/s390/v1-longjmp.c: Likewise.
6992         * sysdeps/s390/v1-setjmp.h: Likewise.
6993         * sysdeps/s390/v1-sigjmp.c: Likewise.
6994         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6995         Remove v1-longjmp_chk.
6996         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6997         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6998         Include debug/longjmp_chk.c and add versioning.
6999         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7000         Include nptl/pt-longjmp.c and add versioning.
7001         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7002         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7003         Include __longjmp.c.
7004         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7005         Move to ...
7006         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7007         (__getcontext): Remove setting __flags field.
7008         Add versioning.
7009         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7010         Don't restore upper high grps.
7011         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7012         Likewise.
7013         (__swapcontext): Remove setting uc_flags field.
7014         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7015         Delete file.
7016         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7017         Include __longjmp.c.
7018         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7019         Move to ...
7020         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7021         (__getcontext): Remove setting __flags field.
7022         Add versioning.
7023         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7024         (__swapcontext): Remove setting uc_flags field.
7025         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7026         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7027         Remove fields uc_high_gprs and __reserved.
7028         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7029         New file with reverted content.
7030         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7031         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7032         Regenerated.
7033         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7034         Regenerated.
7036 2014-07-31  Andreas Schwab  <schwab@suse.de>
7038         * config.h.in (HAVE_IFUNC): Define to 0.
7039         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7040         definedness.
7042 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
7044         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7045         memmove-avx-unaligned, memcpy-avx-unaligned and
7046         mempcpy-avx-unaligned.
7047         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7048         Add tests for AVX memcpy functions.
7049         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7050         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7051         memcpy_chk.
7052         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7053         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7054         memmove_chk.
7055         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7056         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7057         mempcpy_chk.
7058         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7059         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7060         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7062 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7064         [BZ #17213]
7065         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7066         powerpc64le.
7068 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
7070         [BZ #16839]
7071         * manual/llio.texi: Add section about open file description locks.
7072         * manual/examples/ofdlocks.c: Example of open file description
7073         lock usage.
7074         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7075         F_OFD_SETLK, and F_OFD_SETLKW.
7077 2014-07-23  Allan McRae  <allan@archlinux.org>
7079         * po/es.po: Update Spanish translation from translation project.
7081 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
7083         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7085 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
7087         [BZ #17078]
7088         * sysdeps/arm/dl-machine.h (elf_machine_rela)
7089         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7090         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7092 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
7094         [BZ #17088]
7095         * math/fesetenv.c (__fesetenv)
7096         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7097         * math/feupdateenv.c (__feupdateenv)
7098         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7100         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7101         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7102         (__ASSUME_SOCKETCALL): Do not define.
7104         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7105         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7106         (__ASSUME_SOCKETCALL): Do not define.
7107         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7108         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7109         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7110         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7111         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7112         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7113         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7114         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7116         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7117         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7118         (__ASSUME_SOCKETCALL): Do not define.
7119         (__ASSUME_IPC64): Define unconditionally.
7120         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7121         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7122         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7123         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7124         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7125         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7126         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7127         Likewise.
7129         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7130         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7131         (__ASSUME_SOCKETCALL): Do not define.
7132         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7133         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7134         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7135         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7136         (__ASSUME_REQUEUE_PI): Define unconditionally.
7137         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7138         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7139         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7140         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7141         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7142         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7144         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7145         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7146         (__ASSUME_SOCKETCALL): Do not define.
7147         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7148         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7149         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7150         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7151         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7152         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7154         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7155         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7156         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7157         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7158         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7159         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7160         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7161         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7162         (__ASSUME_GETCPU_SYSCALL): Likewise.
7164         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7165         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
7166         cases for individual architectures.
7167         * sysdeps/gnu/configure: Regenerated.
7168         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7169         LIBC_SLIBDIR_RTLDDIR.
7170         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7171         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7172         LIBC_SLIBDIR_RTLDDIR.
7173         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7175         LIBC_SLIBDIR_RTLDDIR.
7176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7177         Regenerated.
7178         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7179         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7180         file.
7181         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7182         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7183         file.
7184         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7185         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7186         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7187         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7189         * sysdeps/aarch64/shlib-versions: Move to ...
7190         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7191         * sysdeps/alpha/shlib-versions: Move to ...
7192         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7193         * sysdeps/arm/shlib-versions: Move to ...
7194         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7195         * sysdeps/hppa/shlib-versions: Move all contents except for
7196         libgcc_s entry to ...
7197         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
7198         entry from ...
7199         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
7200         * sysdeps/ia64/shlib-versions: Move to ...
7201         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
7202         entry from ...
7203         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
7204         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7205         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7206         * sysdeps/microblaze/shlib-versions: Move to ...
7207         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7208         * sysdeps/mips/shlib-versions: Move to ...
7209         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
7210         entry from ...
7211         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
7212         * sysdeps/tile/shlib-versions: Move to ...
7213         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7214         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7215         from ...
7216         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
7217         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7218         entry from ...
7219         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
7221 2014-07-17  Will Newton  <will.newton@linaro.org>
7223         * sysdeps/arm/bits/atomic.h
7224         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7225         (__arch_compare_and_exchange_bool_16_int): Likewise.
7226         (__arch_compare_and_exchange_bool_64_int): Likewise.
7228         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7229         into an #else block.
7231 2014-07-16  Roland McGrath  <roland@hack.frob.com>
7233         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7234         just Linux configurations.  Test empirically that the compiler sets
7235         __ARM_EABI__, rather than using the tuple to decide.
7236         * sysdeps/arm/preconfigure: Regenerated.
7237         * sysdeps/unix/sysv/linux/arm/configure: File removed.
7238         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7239         contents appended ...
7240         * sysdeps/arm/configure.ac: ... here.
7241         * sysdeps/arm/configure: Regenerated.
7243 2014-07-15  Roland McGrath  <roland@hack.frob.com>
7245         * nptl/pthread_kill.c: New file.
7246         * nptl/pthread_sigmask.c: New file.
7247         * nptl/pthread_sigqueue.c: New file.
7249         * sysdeps/nptl/lowlevellock.h: New file.
7250         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7251         * sysdeps/nptl/lowlevellock-futex.h: New file.
7253         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7254         Remove dead declarations.
7256 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
7258         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7259         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7260         config-cflags-avx2.
7261         * sysdeps/x86_64/configure.ac: Likewise.
7262         * sysdeps/i386/configure: Regenerated.
7263         * sysdeps/x86_64/configure: Likewise.
7264         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7265         memset-avx2 only if config-cflags-avx2 is yes.
7266         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7267         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7268         defined.
7269         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7270         only if HAVE_AVX2_SUPPORT is defined.
7271         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7273 2014-07-14  Alan Modra  <amodra@gmail.com>
7275         [BZ #17153]
7276         * elf/elf.h (DT_PPC64_NUM): Correct value.
7277         * NEWS: Add to fixed bug list.
7279 2014-07-13  Jim Meyering  <meyering@fb.com>
7281         [BZ 17150]
7282         regex: don't deref NULL upon heap allocation failure
7283         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7284         failure in one more place.
7285         To trigger the segfault, configure grep -with-included-regex,
7286         build it, and run these commands:
7287         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7289 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
7291         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7293 2014-07-11  Richard Henderson  <rth@redhat.com>
7295         * sysdeps/aarch64/libm-test-ulps: Update.
7297 2014-07-10  Florian Weimer  <fweimer@redhat.com>
7299         [BZ #17135]
7300         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7301         * nptl/allocatestack.c (__nptl_setxid_error): New function.
7302         (__nptl_setxid): Initialize error member.  Call
7303         __nptl_setxid_error.
7304         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7305         * nptl/descr.h (struct xid_command): Add error member.
7306         * nptl/tst-setuid3.c: New file.
7307         * nptl/Makefile (tests): Add it.
7309 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7311         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7312         New define.
7313         (__lll_trylock): Use __lll_base_trylock.
7314         (__lll_cond_trylock): Likewise.
7316 2014-07-10  Roland McGrath  <roland@hack.frob.com>
7318         * nptl/pthread_create.c (start_thread): Use atomic_or and
7319         lll_futex_wake directly rather than lll_robust_dead.
7320         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7321         (lll_robust_dead): Macro removed.
7322         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7323         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7324         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7325         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7326         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7327         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7328         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7329         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7330         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7331         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7332         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7333         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7334         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7335         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7336         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7338         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7339         Use atomic_compare_and_exchange_val_acq directly rather than
7340         lll_robust_trylock.
7341         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7342         (__lll_robust_trylock, lll_robust_trylock): Removed.
7343         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7344         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7345         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7346         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7347         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7348         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7349         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7350         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7351         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7352         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7353         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7354         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7355         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7356         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7358 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7360         * manual/locale.texi (Locale Names): New section documenting
7361         locale name syntax.  Adjust menu and node chaining accordingly.
7362         (Choosing Locale): Reference Locale Names, Locale Categories.
7363         Mention setting LC_ALL=C.  Reflect that name syntax is now
7364         documented.
7365         (Locale Categories): New section title.  Reference Locale Names.
7366         LC_ALL is an environment variable, but not a category.
7367         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7368         description, now in Locale Name.  Reference that section.  Locale
7369         name syntax is now documented.
7371 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7373         [BZ #17137]
7374         * locale/findlocale.c (name_present, valid_locale_name): New
7375         functions.
7376         (_nl_find_locale): Use the loc_name variable to store name
7377         candidates.  Call name_present and valid_locale_name to check and
7378         validate locale names.  Return an error if the locale is invalid.
7380 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7382         * locale/setlocale.c (setlocale): Use strdup for allocating
7383         composite name copy.
7385 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7387         Sync up with gnulib.
7388         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7389         [!_LIBC && ENABLE_NLS]: Include gettext.h.
7390         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7391         and _GL_ARG_NONNULL.
7392         [USE_UNLOCKED_IO]: Include unlocked-io.h.
7393         [!_LIBC]: Include code for Windows and Cygwin.
7394         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7395         Include prototype for int strerror_r.
7396         [!_LIBC] (is_open): New function.
7397         (flush_stdout): New function.
7398         (print_errno_message): Use it.
7399         (error): Likewise.
7400         (error_at_line): Likewise.
7401         (error_tail) Add function attribute macros.  Use
7402         __builtin_expect.
7404         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7406         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7408         * io/ftw.c: Include sys/param.h unconditionally.
7410         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7412         [BZ #17125]
7413         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7414         libc_freeres_ptr.
7415         (freecache): New function to free CACHE on exit.
7417         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7418         initialization.
7420 2014-07-09  David S. Miller  <davem@davemloft.net>
7422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7424         * sysdeps/sparc/nptl/internaltypes.h: Delete.
7425         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7426         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7427         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7428         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7429         * sysdeps/sparc/nptl/sem_init.c: Likewise.
7430         * sysdeps/sparc/nptl/sem_post.c: Likewise.
7431         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7432         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7433         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7434         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7435         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7436         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7438 2014-07-09  Andreas Schwab  <schwab@suse.de>
7440         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7441         output.
7442         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7443         (do_test): Likewise.
7445         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7447 2014-07-09  Will Newton  <will.newton@linaro.org>
7449         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7450         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7451         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7452         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7453         * sysdeps/hppa/start.S (_start): Likewise.
7455 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7457         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7459         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7460         defined.
7462 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7464         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7465         after checking that it is non-NULL.
7467         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7469 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7471         * sysdeps/powerpc/memmove.c: Remove file.
7472         * sysdeps/powerpc/powerpc32/power4/memcopy.h
7473         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7474         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7475         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7476         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7477         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7478         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7479         string memmove instead of removed powerpc one.
7481         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7482         [weak_alias]: Fix compiler warning due trailing data.
7483         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7484         [weak_alias]: Likewise.
7485         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7486         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7488         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7489         (__libc_ifunc_impl_list): Add memmove functions.
7491 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7493         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7494         Remove code.
7495         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7496         Likewise
7497         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7498         Likewise
7499         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7500         Likewise
7501         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7502         Likewise
7503         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7504         Likewise
7505         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7506         Likewise
7507         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7508         Likewise
7509         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7510         Likewise
7511         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7512         Likewise
7513         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7514         Likewise
7515         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7516         Likewise
7517         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7518         Likewise
7519         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7520         Likewise
7521         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7522         Likewise
7523         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7524         Likewise
7525         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7526         Likewise
7528 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7530         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7531         to avoid alignment traps in non-cacheable memory.
7532         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7534         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7535         multiarch objects.
7536         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7537         file: multiarch power7 memmove.
7538         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7539         multiarch default memmove.
7540         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7541         multiarch memove for powerpc32/power4.
7543         * string/bcopy.c: Use full path to include memmove.c.
7544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7545         multiarch objects.
7546         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7547         bcopy for powerpc64.
7548         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7549         bcopy for powerpc64.
7550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7551         and memmove implementations.
7552         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7553         optimized multiarch memmove for POWER7/powerpc64.
7554         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7555         default multiarch memmove for powerpc64.
7556         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7557         multiarch for powerpc64.
7558         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7559         for POWER7/powerpc64.
7560         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7561         memmove for POWER7/powerpc64.
7563         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7564         glibc default one.
7566         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7567         __ELF_NATIVE_CLASS equal to 64.
7569 2014-07-07  Roland McGrath  <roland@hack.frob.com>
7571         * sysdeps/nptl/lowlevellock.h: File removed.
7573         * NEWS: NPTL is no longer an add-on!
7574         * nptl/internaltypes.h: Moved ...
7575         * sysdeps/nptl/internaltypes.h: ... here.
7576         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7577         * sysdeps/nptl/fork.c: Likewise.
7578         * sysdeps/nptl/gai_misc.h: Likewise.
7579         * sysdeps/nptl/librt-cancellation.c: Likewise.
7580         * sysdeps/nptl/jmp-unwind.c: Likewise.
7581         * sysdeps/nptl/setxid.h: Likewise.
7582         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7583         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7584         * sysdeps/unix/sysv/linux/arm/Implies: New file.
7585         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7586         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7587         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7588         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7589         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7590         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7591         * sysdeps/unix/sysv/linux/mips/Implies: New file.
7592         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7593         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7594         * sysdeps/unix/sysv/linux/sh/Implies: New file.
7595         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7596         * sysdeps/unix/sysv/linux/tile/Implies: New file.
7597         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7598         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7599         * nptl/Makeconfig: Moved ...
7600         * sysdeps/nptl/Makeconfig: ... here.
7601         * nptl/configure: File removed.
7602         * nptl/ANNOUNCE: File removed.
7603         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7604         * sysdeps/unix/sysv/linux/configure: Regenerated.
7606         * nptl/Makefile (routines): Add libc_pthread_init,
7607         libc_multiple_threads, register-atfork and unregister-atfork.
7608         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7609         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7610         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7611         pthread-pi-defines.sym, structsem.sym.
7612         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7613         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7614         [$(subdir) = nptl] (tests): Add tst-setgetname.
7615         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7616         * sysdeps/unix/sysv/linux/sigaction.c: Just include
7617         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7618         [!LIBC_SIGACTION]: Remove aliases.
7619         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7620         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7621         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7622         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7623         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7624         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7625         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7626         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7627         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7628         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7629         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7630         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7631         __libc_allocate_rtsig_private.
7632         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7633         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7634         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7635         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7636         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7637         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7638         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7639         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7640         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7641         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7642         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7643         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7644         * nptl/internaltypes.h: ... here.
7645         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7646         * sysdeps/nptl/jmp-unwind.c: ... here.
7647         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7648         * nptl/libc-lowlevellock.c: ... here.
7649         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7650         * nptl/libc_multiple_threads.c: ... here.
7651         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7652         * nptl/libc_pthread_init.c: ... here.
7653         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7654         * nptl/lowlevelbarrier.sym: ... here.
7655         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7656         * nptl/lowlevelcond.sym: ... here.
7657         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7658         * nptl/lowlevellock.c: ... here.
7659         * nptl/lowlevellock.h: Moved ...
7660         * sysdeps/nptl/lowlevellock.h: ... here.
7661         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7662         * nptl/lowlevelrobustlock.c: ... here.
7663         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7664         * nptl/lowlevelrobustlock.sym: ... here.
7665         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7666         * nptl/lowlevelrwlock.sym: ... here.
7667         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7668         * nptl/pt-fork.c: ... here.
7669         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7670         * nptl/pthread-pi-defines.sym: ... here.
7671         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7672         * nptl/pthread_attr_getaffinity.c: ... here.
7673         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7674         * nptl/pthread_attr_setaffinity.c: ... here.
7675         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7676         * nptl/pthread_mutex_cond_lock.c: ... here.
7677         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7678         Update #include.
7679         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7680         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7681         * nptl/pthread_once.c: ... here, replacing old file.
7682         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7683         * nptl/pthread_yield.c: ... here.
7684         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7685         * nptl/register-atfork.c: ... here.
7686         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7687         * nptl/sem_post.c: ... here.
7688         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7689         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7690         * nptl/sem_timedwait.c: ... here.
7691         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7692         * nptl/sem_trywait.c: ... here.
7693         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7694         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7695         * nptl/sem_wait.c: ... here.
7696         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7697         * nptl/structsem.sym: ... here.
7698         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7699         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7700         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7701         * nptl/unregister-atfork.c: ... here.
7702         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7703         * nptl/unwindbuf.sym: ... here.
7704         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7705         * sysdeps/nptl/fork.c: ... here.
7706         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7707         * sysdeps/nptl/fork.h: ... here.
7708         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7709         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7710         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7711         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7712         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7713         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7714         * sysdeps/unix/sysv/linux/getpid.c: ... here.
7715         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7716         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7717         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7718         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7719         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7720         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7721         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7722         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7723         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7724         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7725         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7726         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7727         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7728         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7729         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7730         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7731         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7732         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7733         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7734         * sysdeps/unix/sysv/linux/raise.c: ... here.
7735         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7736         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7737         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7738         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7739         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7740         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7741         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7742         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7743         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7744         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7745         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7746         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7747         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7748         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7749         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7751 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7753         * sysdeps/generic/memcopy.h: Add comment for
7754         MEMCPY_OK_FOR_FWD_MEMMOVE.
7756 2014-07-04  Will Newton  <will.newton@linaro.org>
7758         * string/memchr.c: Merge from gnulib.
7759         [_LIBC]: Remove conditionals.
7760         (__ptr_t): Remove define.
7761         (LONG_MAX_32_BITS): Likewise.
7762         (LONG_MAX): Likewise.
7763         (MEMCHR): Use ANSI prototype and optimize algorithm.
7765         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7767 2014-07-03  Roland McGrath  <roland@hack.frob.com>
7769         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7770         (lll_futex_timed_wait_bitset): Fix syscall argument count.
7772         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7773         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7774         in a bare environment with no <stdlib.h> installed.
7775         * sysdeps/nptl/configure: Regenerated.
7777         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7779         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7780         AC_EGREP_CPP for kernel header checks, so they only succeed if
7781         including <linux/version.h> actually works right.
7782         * sysdeps/unix/sysv/linux/configure: Regenerated.
7784         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7785         value so it's not diagnosed as unused.
7787         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7788         thing) with "ifeq ($(subdir),rt)".
7790 2014-07-03  Richard Henderson  <rth@redhat.com>
7792         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7793         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7794         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7796         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7797         (math_force_eval): New.
7799         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7800         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7802         * sysdeps/alpha/fpu/s_round.c: Remove file.
7803         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7805         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7806         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7807         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7808         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7809         (_dl_start, print_statistics): Likewise.
7810         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7811         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7813         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7814         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7815         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7816         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7817         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7818         (HP_SMALL_TIMING_AVAIL): Define.
7819         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7820         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7821         (HP_SMALL_TIMING_AVAIL): Define.
7822         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7823         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7825         * sysdeps/aarch64/hp-timing.h: New file.
7827         * sysdeps/generic/hp-timing.h: Remove dead comment.
7828         * sysdeps/generic/hp-timing-common.h: New file.
7829         * sysdeps/alpha/hp-timing.h: Include it.
7830         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7831         * sysdeps/i386/i686/hp-timing.h: Likewise.
7832         * sysdeps/ia64/hp-timing.h: Likewise.
7833         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7834         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7835         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7836         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7837         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7838         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7839         (hp_timing_t): New.
7841         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7842         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7843         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7844         * elf/rtld.c (_dl_start_final): Likewise.
7845         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7846         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7847         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7848         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7849         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7850         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7851         (HP_TIMING_DIFF_INIT): Remove.
7852         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7853         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7854         (HP_TIMING_DIFF_INIT): Remove.
7855         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7856         * sysdeps/i386/i686/hp-timing.c: Remove file.
7857         * sysdeps/x86_64/hp-timing.c: Remove file.
7858         * sysdeps/ia64/hp-timing.c: Remove file.
7859         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7860         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7861         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7862         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7864         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7865         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7866         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7867         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7868         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7869         (HP_TIMING_ACCUM): Remove.
7870         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7871         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7872         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7874         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7875         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7876         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7877         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7878         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7879         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7880         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7881         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7883         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7885 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
7887         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7889 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7891         Sync up with gettext.
7892         * intl/loadmsgcat.c: Define O_BINARY if not defined.
7893         [_MSC_VER]: Include malloc.h
7894         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7895         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7896         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
7897         TEMP_FAILURE_RETRY.  Cast return of alloca.
7898         [!_LIBC] Call gl_rwlock_init.
7899         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7901 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7903         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7904         before checking its value.
7906 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7908         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7910         * debug/memcpy_chk.c: Don't include pagecopy.h.
7911         * debug/mempcpy_chk.c: Likewise.
7912         * string/memcpy.c: Likewise.
7913         * string/memmove.c: Likewise.
7914         * sysdeps/powerpc/memmove.c: Likewise.
7915         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
7916         definition of PAGE_COPY_FWD_MAYBE here...
7917         * sysdeps/generic/pagecopy.h: ... from here.
7918         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7920 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7921             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7923         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7925         optimizations.
7926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7927         (__libc_ifunc_impl_list): Likewise.
7928         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7929         multiarch strcat for PPC64.
7930         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7931         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7933 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7935         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7937 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7939         * intl/loadmsgcat.c: Remove declaration of
7940         get_sysdep_segment_value.
7941         (get_sysdep_segment_value): Use ISO C style.
7942         (_nl_load_domain): Use ISO C style.  Get rid of redundant
7943         semicolon.  Fix typo and formatting in comment.
7944         (_nl_unload_domain): Use ISO C style.
7946         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7948 2014-07-02  Will Newton  <will.newton@linaro.org>
7950         * malloc/obstack.c: Merge from gnulib master.
7951         [HAVE_CONFIG_H]: Remove conditional code.
7952         [!_LIBC]: Include config.h.
7953         [!ELIDE_CODE]: Don't include inttypes.h, include
7954         stdint.h unconditionally.
7955         (print_and_abort): Mark as _Noreturn.
7956         (_obstack_allocated_p): Mark as __attribute_pure__.
7957         (obstack_free): Rename to __obstack_free.
7958         [!__attribute__]: Remove conditional code.
7959         * malloc/obstack.h: Merge from gnulib master.
7960         [__cplusplus]: Move conditional down.
7961         [!__attribute_pure__]: Define __attribute_pure__ here
7962         if it is not already defined.
7963         (_obstack_memory_used): Mark as __attribute_pure__.
7964         [!__obstack_free]: Define as obstack_free.
7965         [__GNUC__]: Remove check for ancient NeXT gcc.
7967 2014-07-02  Will Newton  <will.newton@linaro.org>
7968             Paul Eggert  <eggert@cs.ucla.edu>
7970         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7972 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7974         * resolv/gethnamaddr.c: Add comment warning that the file is
7975         not maintained.
7977 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
7979         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7980         entries.
7982         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7983         entry for aio_cancel and aio_cancel64.
7984         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7985         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7986         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7987         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7988         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7989         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7990         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7991         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7992         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7993         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7994         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7995         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7996         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7998 2014-07-01  Roland McGrath  <roland@hack.frob.com>
8000         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8001         * nptl/pthread_mutex_lock.c: Likewise.
8002         * nptl/pthread_mutex_timedlock.c: Likewise.
8003         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8005 2014-07-01  Richard henderson  <rth@redhat.com>
8007         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8008         (__isnan, __isnanl): Remove.
8009         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8011         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8013 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8015         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8017 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8019         * resolv/nss_dns/dns-host.c (getanswer_r)
8020         [MULTI_PTRS_ARE_ALIASES]: Remove code.
8022 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
8024         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8025         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8026         undefine.
8027         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8028         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8030 2014-07-01  Roland McGrath <roland@hack.frob.com>
8032         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8033         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8035         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8036         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8038         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8039         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8040         ... here.
8041         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8042         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8044         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8045         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8046         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8047         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8049         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8050         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8051         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8052         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8053         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8054         Moved ...
8055         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8056         ... here.
8057         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8058         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8059         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8060         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8061         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8062         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8063         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8064         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8065         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8066         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8067         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8068         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8069         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8070         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8071         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8072         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8073         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8074         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8075         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8076         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8077         ... here.
8078         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8079         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8080         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8081         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8082         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8083         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8084         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8085         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8087 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
8089         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8090         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8091         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8092         Add sysdep.
8094 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8098 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8100         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8101         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8103         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8105         * sysdeps/arm/libm-test-ulps: Regenerated.
8107 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8108             Roland McGrath <roland@hack.frob.com>
8110         * test-skeleton.c (signal_handler): Kill the whole process group
8111         before killing the child individually.
8112         (main): Report any failure on `setpgid'.
8114 2014-06-30  Roland McGrath  <roland@hack.frob.com>
8116         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8117         from _TLS_H to _ARM_NPTL_TLS_H.
8118         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8119         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8121 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8123         [BZ #16539]
8124         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8125         (__expm1l): Return argument unchanged when small but not
8126         subnormal.
8128         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8129         include macro name.
8130         (_FP_UNPACK_RAW_1_P): Likewise.
8131         (_FP_PACK_RAW_1): Likewise.
8132         (_FP_PACK_RAW_1_P): Likewise.
8133         (_FP_MUL_MEAT_1_wide): Likewise.
8134         (_FP_MUL_MEAT_DW_1_hard): Likewise.
8135         (_FP_MUL_MEAT_1_hard): Likewise.
8136         (_FP_DIV_MEAT_1_imm): Likewise.
8137         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8138         (_FP_DIV_MEAT_1_udiv): Likewise.
8139         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8140         (_FP_UNPACK_RAW_2): Likewise.
8141         (_FP_UNPACK_RAW_2_P): Likewise.
8142         (_FP_PACK_RAW_2): Likewise.
8143         (_FP_PACK_RAW_2_P): Likewise.
8144         (_FP_MUL_MEAT_DW_2_wide): Likewise.
8145         (_FP_MUL_MEAT_2_wide): Likewise.
8146         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8147         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8148         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8149         (_FP_MUL_MEAT_2_gmp): Likewise.
8150         (_FP_DIV_MEAT_2_udiv): Likewise.
8151         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8152         (_FP_FRAC_SRL_4): Likewise.
8153         (_FP_FRAC_SRST_4): Likewise.
8154         (_FP_FRAC_SRS_4): Likewise.
8155         (_FP_UNPACK_RAW_4): Likewise.
8156         (_FP_UNPACK_RAW_4_P): Likewise.
8157         (_FP_PACK_RAW_4): Likewise.
8158         (_FP_PACK_RAW_4_P): Likewise.
8159         (_FP_MUL_MEAT_DW_4_wide): Likewise.
8160         (_FP_MUL_MEAT_4_wide): Likewise.
8161         (_FP_MUL_MEAT_4_gmp): Likewise.
8162         (umul_ppppmnnn): Likewise.
8163         (_FP_DIV_MEAT_4_udiv): Likewise.
8164         (__FP_FRAC_ADD_4): Likewise.
8165         (__FP_FRAC_SUB_3): Likewise.
8166         (__FP_FRAC_SUB_4): Likewise.
8167         (__FP_FRAC_DEC_3): Likewise.
8168         (__FP_FRAC_DEC_4): Likewise.
8169         (__FP_FRAC_ADDI_4): Likewise.
8170         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8171         (_FP_FRAC_SRL_8): Likewise.
8172         (_FP_FRAC_SRS_8): Likewise.
8174         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8175         include macro name.
8176         (FP_UNPACK_RAW_EP): Likewise.
8177         (FP_PACK_RAW_E): Likewise.
8178         (FP_PACK_RAW_EP): Likewise.
8179         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8180         (_FP_ISSIGNAN): Likewise.
8181         (_FP_ADD_INTERNAL): Likewise.
8182         (_FP_FMA): Likewise.
8183         (_FP_CMP): Likewise.
8184         (_FP_SQRT): Likewise.
8185         (_FP_TO_INT): Likewise.
8186         (_FP_FROM_INT): Likewise.
8187         (FP_EXTEND): Likewise.
8188         (_FP_DIV_MEAT_N_loop): Likewise.
8190 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8192         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8193         throughout.
8195 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
8197         [BZ #17097]
8198         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8199         result with correct sign in case of exponents that produce
8200         overflow except for X very close to 1.
8202 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
8204         mktime: merge #if/#ifdef usage from glibc
8205         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8206         as that works with both Glibc's and Gnulib's style.
8207         See thread starting at Siddhesh Poyarekar's bug report at:
8208         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8210 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8212         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8213         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8214         * sysdeps/tile/tilegx/memmove.c: Remove file.
8216 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8218         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8219         abi-name definition.
8220         * scripts/soversions.awk: Do not handle or generate ABI lines.
8221         * shlib-versions: Remove ABI entries.
8222         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8223         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8225 2014-06-27  Roland McGrath  <roland@hack.frob.com>
8227         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8228         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8229         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8230         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8231         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8232         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8233         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8234         Moved ...
8235         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8236         ... here.
8237         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8238         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8239         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8240         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8241         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8242         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8243         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8244         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8245         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8246         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8247         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8248         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8249         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8250         Moved ...
8251         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8252         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8253         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8254         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8255         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8256         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8257         Moved ...
8258         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8259         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8260         Moved ...
8261         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8263         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8264         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8265         Moved ...
8266         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8267         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8268         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8269         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8270         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8271         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8272         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8273         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8274         Moved ...
8275         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8276         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8277         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8278         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8279         Moved ...
8280         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8281         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8282         Moved ...
8283         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8284         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8285         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8286         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8287         Moved ...
8288         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8289         ... here.
8290         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8291         Identical file removed.
8292         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8293         Moved ...
8294         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8295         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8296         Identical file removed.
8297         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8298         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8299         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8300         Moved ...
8301         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8302         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8303         Identical file removed.
8304         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8305         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8306         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8307         Identical file removed.
8308         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8309         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8310         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8311         Identical file removed.
8312         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8313         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8314         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8315         Identical file removed.
8316         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8317         Moved ...
8318         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8319         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8320         Identical file removed.
8321         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8322         Moved ...
8323         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8324         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8325         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8326         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8327         Identical file removed.
8328         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8329         Moved ...
8330         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8331         ... here.
8332         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8333         Identical file removed.
8334         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8335         Moved ...
8336         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8337         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8338         Identical file removed.
8339         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8340         Moved ...
8341         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8342         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8343         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8344         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8345         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8346         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8347         Moved ...
8348         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8349         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8350         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8352         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8353         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8354         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8355         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8356         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8358 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
8360         [BZ #17092]
8361         * nscd/nscd.c (monitor_child): Return exit status of child
8362         instead of return value from wait syscall.
8364 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8366         * configure.ac (libc_commonpagesize): Remove variable.
8367         (libc_relro_required): Likewise.
8368         (libc_cv_z_relro): Remove configure test.
8369         * configure: Regenerated.
8370         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8371         variable.
8372         (libc_relro_required): Likewise.
8373         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8374         (libc_relro_required): Likewise.
8375         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8376         (libc_relro_required): Likewise.
8377         * sysdeps/arm/preconfigure: Regenerated.
8378         * sysdeps/ia64/preconfigure: Remove file.
8379         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8380         variable.
8381         (libc_relro_required): Likewise.
8383         [BZ #16561]
8384         [BZ #16562]
8385         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8386         (__ieee754_yn): Set FE_TONEAREST mode internally and then
8387         recompute overflowing results in original rounding mode.
8388         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8389         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8390         recompute overflowing results in original rounding mode.
8391         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8392         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8393         recompute overflowing results in original rounding mode.
8394         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8395         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8396         recompute overflowing results in original rounding mode.
8397         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8398         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8399         recompute overflowing results in original rounding mode.
8400         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8401         (libc_feholdsetround_ctx): New macro.
8402         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8403         * sysdeps/i386/fpu/libm-test-ulps: Update.
8404         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8406 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8408         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8409         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8410         corresponding .cpsetup call.
8412 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8414         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8415         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8416         * sysdeps/arm/Makefile [$(subdir) = csu]
8417         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8418         (static-only-routines): Add aeabi_read_tp here.
8419         (shared-only-routines): Add libc-aeabi_read_tp here.
8420         (CFLAGS-libc-start.c): Add -fexceptions here.
8421         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8422         (sysdep_routines, static-only-routines, shared-only-routines):
8423         Don't add to these here.
8424         (CFLAGS-libc-start.c): Likewise.
8426         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8427         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8428         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8429         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8430         * sysdeps/arm/Makefile [$(subdir) = rt]
8431         (librt-sysdep_routines, librt-shared-only-routines):
8432         Append rt-aeabi_unwind_cpp_pr1 here.
8433         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8434         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8435         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8436         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8437         Append nptl-aeabi_unwind_cpp_pr1 here.
8438         (tests): Filter out tst-cleanupx4 here.
8439         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8440         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8441         Don't do those here.
8443 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8445         * scripts/list-sources.sh: Do not handle ports specially.
8447 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8449         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8450         * sysdeps/arm/feupdateenv.c: Likewise.
8452         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8454 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8456         * manual/texinfo.tex: Update to version 2014-05-05.10 with
8457         trailing whitespace removed.
8458         * scripts/config.guess: Update to version 2014-03-23.
8459         * scripts/config.sub: Update to version 2014-05-01
8460         * scripts/install-sh: Update to version 2013-12-25.23.
8461         * scripts/move-if-change: Update from gnulib.
8463 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8465         * debug/memmove_chk.c: Remove pagecopy.h include.
8467 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
8469         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
8470         identical to gnulib mktime.
8472 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8474         * configure.ac: Do not test for machine being rs6000.  Do not test
8475         for powerpc*-*soft.
8476         * configure: Regenerated.
8478         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8479         test.
8480         * configure: Regenerated.
8481         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8482         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8483         Remove configure test.
8484         * sysdeps/arm/configure: Regenerated.
8485         * sysdeps/nptl/configure.ac: Do not check
8486         libc_cv_asm_cfi_directives.
8487         * sysdeps/nptl/configure: Regenerated.
8488         * sysdeps/x86_64/nptl/configure.ac: Remove file.
8489         * sysdeps/x86_64/nptl/configure: Remove generated file.
8490         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8491         unconditional.
8492         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8494 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8496         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8497         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8498         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8499         it is defined.
8501         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8502         instead of whether it is defined.
8503         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8504         * sysdeps/hppa/dl-machine.h: Likewise.
8505         * sysdeps/ia64/dl-machine.h: Likewise.
8506         * sysdeps/m68k/dl-machine.h: Likewise.
8507         * sysdeps/microblaze/dl-machine.h: Likewise.
8508         * sysdeps/mips/dl-machine.: Likewise.
8509         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8510         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8511         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8512         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8513         * sysdeps/sh/dl-machine.h: Likewise.
8514         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8515         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8516         * sysdeps/tile/dl-machine.h: Likewise.
8517         * sysdeps/x86_64/dl-machine.h: Likewise.
8519         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8520         code.
8521         (verify_persistent_db): Likewise.
8523 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8526         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8528         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8530         Moved ...
8531         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8532         ... here.
8533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8534         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8536         Identical file removed.
8537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8538         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8540         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8542         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8544         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8546         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8548         Moved ...
8549         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8551         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8553         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8555         Moved ...
8556         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8558         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8560         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8562         Identical file removed.
8563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8564         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8566         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8568         Moved ...
8569         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8570         ... here.
8571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8572         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8574         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8576         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8578         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8580         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8582         Moved ...
8583         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8585         Moved ...
8586         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8588         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8590         Moved ...
8591         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8593         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8595         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8596         folded into ...
8597         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8598         * sysdeps/unix/sysv/linux/s390/Versions
8599         (libpthread: GLIBC_2.19): New version set.
8600         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8601         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8602         (librt: GLIBC_2.3.3): New version set.
8603         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8604         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8605         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8606         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8607         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8608         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8609         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8610         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8611         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8612         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8613         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8614         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8615         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8616         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8617         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8618         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8619         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8620         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8621         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8622         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8623         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8624         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8625         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8626         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8627         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8628         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8629         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8630         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8631         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8632         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8633         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8634         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8635         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8636         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8637         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8638         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8639         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8640         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8641         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8642         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8643         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8644         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8645         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8646         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8647         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8649         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8650         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8651         (__libc_vfork): Define the function under this name.
8652         [!NOT_IN_libc] (__vfork): Make this an alias.
8653         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8654         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8655         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8656         (__libc_vfork): Define the function under this name.
8657         [!NOT_IN_libc] (__vfork): Make this an alias.
8658         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8659         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8660         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8661         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8662         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8663         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8665         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8666         code that was previously under [RESET_PID].
8667         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8668         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8669         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8671         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8672         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8673         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8674         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8675         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8676         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8677         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8678         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8679         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8680         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8681         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8682         Moved ...
8683         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8684         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8685         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8686         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8687         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8688         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8689         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8690         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8691         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8692         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8693         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8694         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8695         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8696         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8697         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8698         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8699         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8700         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8701         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8702         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8703         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8704         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8705         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8706         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8707         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8708         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8709         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8710         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8711         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8713 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8715         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8716         that was previously under [RESET_PID].
8717         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8719 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8721         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8722         not undefine and redefine.
8723         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8724         [O_CLOEXEC]: Make code unconditional.
8725         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8726         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8727         <kernel-features.h>.
8728         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8729         conditional variable definition.
8730         (shm_open) [O_CLOEXEC]: Make code unconditional.
8731         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8732         code.
8734         * configure.ac (USE_REGPARMS): Don't define here.
8735         * configure: Regenerated.
8736         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8737         * sysdeps/i386/configure: Regenerated.
8739         * nptl/createthread.c: Don't include kernel-features.h.
8740         * nptl/pthread_cancel.c: Likewise.
8741         * nptl/pthread_condattr_setclock.c: Likewise.
8742         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8743         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8744         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8745         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8746         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8747         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8748         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8749         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8750         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8751         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8752         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8753         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8754         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8755         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8756         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8757         * nscd/gai.c: Likewise.
8758         * nss/nss_db/db-open.c: Likewise.
8759         * sysdeps/generic/ldsodefs.h: Likewise.
8760         * sysdeps/sh/nptl/tls.h: Likewise.
8761         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8762         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8763         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8764         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8765         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8766         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8767         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8768         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8769         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8770         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8771         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8772         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8773         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8774         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8775         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8776         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8777         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8778         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8779         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8780         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8781         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8782         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8783         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8784         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8785         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8786         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8787         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8788         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8789         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8790         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8791         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8792         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8793         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8794         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8795         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8796         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8797         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8798         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8799         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8800         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8801         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8802         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8803         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8804         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8805         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8806         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8807         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8808         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8809         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8810         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8811         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8812         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8813         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8814         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8815         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8816         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8817         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8818         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8841         * sysdeps/unix/sysv/linux/pread.c: Likewise.
8842         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8843         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8844         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8845         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8846         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8847         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8848         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8849         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8850         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8851         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8852         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8853         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8854         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8855         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8856         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8857         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8858         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8859         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8860         * sysdeps/unix/sysv/linux/system.c: Likewise.
8861         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8862         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8863         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8864         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8865         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8866         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8867         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8869         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8870         * configure: Regenerated.
8871         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8873         * configure.ac (base_machine): Do not set specially for particular
8874         machines here.
8875         * configure: Regenerated.
8876         * sysdeps/powerpc/preconfigure: Move machine and base_machine
8877         settings from configure.ac.
8878         * sysdeps/i386/preconfigure: New file.
8879         * sysdeps/s390/preconfigure: Likewise.
8880         * sysdeps/sh/preconfigure: Likewise.
8881         * sysdeps/sparc/preconfigure: Likewise.
8883 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8885         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8886         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8887         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8888         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8889         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8890         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8891         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8892         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8893         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8894         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8895         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8896         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8897         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8898         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8899         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8900         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8901         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8902         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8903         * sysdeps/sparc/sparc64/Makefile: ... appended here.
8905         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8906         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8907         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8908         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8909         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8910         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8911         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8912         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8913         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8914         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8915         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8916         * sysdeps/sparc/sparc32/sem_post.c: ... here.
8917         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8918         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8919         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8920         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8921         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8922         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8923         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8924         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8925         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8926         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8927         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8928         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8929         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8930         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8931         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8932         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8933         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8934         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8935         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8936         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8937         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8938         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8939         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8940         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8941         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8942         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8945         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8947         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8949         Moved ...
8950         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8951         ... here.
8952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8953         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8955         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8957         Moved ...
8958         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8960         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8962         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8964         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8966         Moved ...
8967         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8969         Moved ...
8970         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8971         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8972         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8974         Moved ...
8975         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8977         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8979         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8981         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8983         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8985         Moved ...
8986         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8987         ... here.
8988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8989         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8990         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8991         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8993         Moved ...
8994         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8996         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8998         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9000         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9002         Moved ...
9003         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9005         Moved ...
9006         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9008         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9010         Moved ...
9011         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9013         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9015         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9017 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9019         * timezone/checktab.awk: Update from tzcode 2014e.
9020         * timezone/private.h: Likewise.
9021         * timezone/tzfile.h: Likewise.
9022         * timezone/zdump.c: Likewise.
9023         * timezone/zic.c: Likewise.
9025         * sysdeps/unix/sysv/linux/kernel-features.h
9026         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9027         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9028         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9029         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9030         Remove conditional code.
9032 2014-06-25  Will Newton  <will.newton@linaro.org>
9034         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9035         (_dl_arm_cap_flags): Add HWCAP2 values.
9036         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9037         (_DL_HWCAP_COUNT): Increase to 37.
9038         (_DL_HWCAP_LAST): New define.
9039         (_DL_HWCAP2_LAST): New define.
9040         (_dl_procinfo): Add support for printing
9041         AT_HWCAP2 entries.
9042         (_dl_string_hwcap): Use _dl_hwcap_string.
9044 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9048 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9050         * README: Do not mention ports directory.
9052         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9053         Remove macro.
9054         * sysdeps/unix/sysv/linux/futimes.c: Do not include
9055         <kernel-features.h>.
9056         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9057         conditional variable definition.
9058         (__futimes): Update comment.
9059         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9060         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9062         [BZ #16560]
9063         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9064         arguments close to 0.
9065         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9066         Likewise.
9067         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9068         Likewise.
9069         * math/auto-libm-test-in: Add more tests of exp10.
9070         * math/auto-libm-test-out: Regenerated.
9071         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9073         * sysdeps/unix/sysv/linux/kernel-features.h
9074         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9075         * sysdeps/unix/sysv/linux/readv.c: Do not include
9076         <kernel-features.h>.
9077         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9078         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9079         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9080         unconditional.
9081         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9082         conditional code.
9083         * sysdeps/unix/sysv/linux/writev.c: Do not include
9084         <kernel-features.h>.
9085         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9086         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9087         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9088         unconditional.
9089         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9090         conditional code.
9092 2014-06-25  Will Newton  <will.newton@linaro.org>
9094         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9095         comment changes throughout the file.  Remove checks
9096         for HAVE_*_H definitions that are not required.
9097         (__gen_tempname): Call abort if an unknown kind value is
9098         passed.
9100 2014-06-25  Andreas Schwab  <schwab@suse.de>
9102         [BZ #17086]
9103         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9104         scalbln, scalblnf, scalblnl in libc.
9106 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9108         [BZ #17086]
9109         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9110         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9111         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9113 2014-06-24  Roland McGrath  <roland@hack.frob.com>
9115         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9116         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9117         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9118         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9119         Update #include.
9120         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9121         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9122         Update #include.
9123         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9124         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9125         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9126         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9127         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9128         * sysdeps/x86/bits/pthreadtypes.h: ... here.
9129         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9130         * sysdeps/x86/bits/semaphore.h: ... here.
9131         * sysdeps/x86/nptl/elide.h: Moved ...
9132         * sysdeps/x86/elide.h: ... here.
9133         * sysdeps/x86_64/nptl/Implies: File removed.
9134         * sysdeps/i386/nptl/Implies: File removed.
9136 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
9138         [BZ #16539]
9139         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9140         return the argument for normal arguments with exponent below -64.
9141         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9142         Likewise.
9143         * math/auto-libm-test-in: Add another test of expm1.
9144         * math/auto-libm-test-out: Regenerated.
9146         [BZ #16287]
9147         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9148         calling __erfcl for arguments at least 16.
9149         * math/auto-libm-test-in: Add more tests of erf.
9150         * math/auto-libm-test-out: Regenerated.
9152         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9153         individual architectures.
9154         * sysdeps/unix/sysv/linux/configure: Regenerated.
9155         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9156         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9157         * sysdeps/unix/sysv/linux/powerpc/configure.ac
9158         (ldd_rewrite_script): Define variable.
9159         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9161         file.
9162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9163         generated file.
9164         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9165         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9166         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9167         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9168         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9169         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9170         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9171         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9173 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9175         [BZ #17084]
9176         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9177         Rename member __data.d to __data.__elision_data.
9179 2014-06-24  Wilco  <wdijkstr@arm.com>
9181         * NEWS: Add 16918 to fixed bug list.
9183 2014-06-24  Wilco  <wdijkstr@arm.com>
9185         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9187 2014-06-24  Wilco  <wdijkstr@arm.com>
9189         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9190         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9191         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9192         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9193         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9194         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9195         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9196         Use _FPU_MASK_RM.
9198 2014-06-24  Wilco  <wdijkstr@arm.com>
9200         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9202 2014-06-24  Wilco  <wdijkstr@arm.com>
9204         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9205         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9206         * sysdeps/arm/fesetround.c (fesetround): Remove space.
9207         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9209 2014-06-24  Wilco  <wdijkstr@arm.com>
9211         [BZ #16918]
9212         * sysdeps/arm/feupdateenv.c (feupdateenv):
9213         Rewrite to reduce FPSCR accesses and fix return value.
9215 2014-06-24  Wilco  <wdijkstr@arm.com>
9217         * sysdeps/arm/fclrexcpt.c (feclearexcept):
9218         Optimize to avoid unnecessary FPSCR writes.
9219         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9220         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9221         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9222         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9224 2014-06-24  Wilco  <wdijkstr@arm.com>
9226         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9227         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9228         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9229         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9230         Call libc_fetestexcept_vfp.
9231         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9232         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9233         __SOFTFP__ ifdef so that they can be built for softfp.
9235 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9237         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9238         argument type signed char.
9240         * Makerules (check-abi): Dump diff of symlist if the test
9241         fails.
9243 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9245         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9246         using abort.
9248         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9249         Remove unused variable ST.
9251 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9253         [BZ #16354]
9254         [BZ #17061]
9255         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9256         small arguments before calling __expm1.
9257         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9258         small arguments before calling __expm1f.
9259         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9260         small arguments before calling __expm1l.
9261         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9262         Likewise.
9263         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9264         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
9265         spurious underflow for some cosh tests.
9266         * math/auto-libm-test-out: Regenerated.
9267         * sysdeps/i386/fpu/libm-test-ulps: Update.
9269         [BZ #17050]
9270         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9271         (__ieee754_y1): Set errno if return value overflows.
9272         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9273         (__ieee754_y1f): Set errno if return value overflows.
9274         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9275         (__ieee754_y1l): Set errno if return value overflows.
9276         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9277         (__ieee754_y1l): Set errno if return value overflows.
9278         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9279         * math/auto-libm-test-out: Regenerated.
9281         * math/gen-auto-libm-tests.c: Document use of
9282         ignore-zero-inf-sign.
9283         (input_flag_type): Add value flag_ignore_zero_inf_sign.
9284         (input_flags): Add ignore-zero-inf-sign.
9285         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9286         * math/gen-libm-test.pl (generate_testfile): Handle
9287         ignore-zero-inf-sign.
9288         * math/auto-libm-test-in: Mark some cpow tests with
9289         ignore-zero-inf-sign and some with xfail-rounding.
9290         * math/auto-libm-test-out: Regenerated.
9291         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9292         * sysdeps/i386/fpu/libm-test-ulps: Update.
9293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9295         [BZ #16315]
9296         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9297         overflowing or underflowing operations take place with sign of
9298         result.
9299         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9300         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9301         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9302         (__ieee754_pow): Recompute overflowing and underflowing results in
9303         original rounding mode.
9304         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9305         (__powl_helper): Allow negative argument X and scale negated value
9306         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
9307         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9308         overflowing or underflowing operations take place with sign of
9309         result.
9310         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9311         Include <math.h>.
9312         * math/auto-libm-test-in: Add more tests of pow.
9313         * math/auto-libm-test-out: Regenerated.
9314         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9315         (pow_tonearest_test_data): Remove.
9316         (pow_test_tonearest): Likewise.
9317         (pow_towardzero_test_data): Likewise.
9318         (pow_test_towardzero): Likewise.
9319         (pow_downward_test_data): Likewise.
9320         (pow_test_downward): Likewise.
9321         (pow_upward_test_data): Likewise.
9322         (pow_test_upward): Likewise.
9323         (main): Don't call removed functions.
9324         * sysdeps/i386/fpu/libm-test-ulps: Update.
9325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9327 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9330         Moved ...
9331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9333         Moved ...
9334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9336         Moved ...
9337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9339         Moved ...
9340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9342         File removed.
9343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9344         File removed.
9345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9346         File removed.
9347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9348         File removed.
9349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9350         File removed.
9351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9352         File removed.
9353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9354         File removed.
9355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9356         File removed.
9357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9358         File removed.
9359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9360         File removed.
9361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9362         File removed.
9363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9364         File removed.
9365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9366         Moved ...
9367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9369         Moved ...
9370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9371         ... here.
9372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9373         Moved ...
9374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9376         Moved ...
9377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9379         Moved ...
9380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9382         Moved ...
9383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9385         Moved ...
9386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9388         Moved ...
9389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9391         Moved ...
9392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9395         ... here.
9396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9397         Moved ...
9398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9400         Moved ...
9401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9402         ... here.
9403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9404         Moved ...
9405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9406         ... here.
9407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9408         Moved ...
9409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9410         ... here.
9411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9412         Moved ...
9413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9415         Moved ...
9416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9420         Moved ...
9421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9422         ... here.
9423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9424         Moved ...
9425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9426         ... here.
9427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9428         Moved ...
9429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9431         Moved ...
9432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9434         Moved ...
9435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9437         Moved ...
9438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9440         Moved ...
9441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9442         ... here.
9443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9444         Moved ...
9445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9447         Moved ...
9448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9450         Moved ...
9451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9453         Moved ...
9454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9458         Moved ...
9459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9461         Moved ...
9462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9464         Moved ...
9465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9466         ... here.
9467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9468         Moved ...
9469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9470         ... here.
9471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9472         Moved ...
9473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9474         ... here.
9475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9476         Moved ...
9477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9479         Moved ...
9480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9482         Moved ...
9483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9485         Moved ...
9486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9487         ... here.
9488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9489         Moved ...
9490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9491         ... here.
9492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9493         Moved ...
9494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9495         ... here.
9496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9497         Moved ...
9498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9500         Moved ...
9501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9503 2014-06-23  Will Newton  <will.newton@linaro.org>
9504             Wilco  <wdijkstr@arm.com>
9506         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9507         implementation.  Include get-rounding-mode.h.
9508         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9509         [!libc_feholdsetround_noex_ctx]: Define
9510         libc_feholdsetround_noex_ctx.
9511         [!libc_feholdsetround_noexf_ctx]: Define
9512         libc_feholdsetround_noexf_ctx.
9513         [!libc_feholdsetround_noexl_ctx]: Define
9514         libc_feholdsetround_noexl_ctx.
9515         (libc_feholdsetround_ctx): New function.
9516         (libc_feresetround_ctx): New function.
9517         (libc_feholdsetround_noex_ctx): New function.
9518         (libc_feresetround_noex_ctx): New function.
9520 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9522         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9523         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9524         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9525         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9526         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9527         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9529         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9530         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9531         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9532         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9533         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9534         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9535         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9536         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9537         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9538         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9539         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9540         Moved ...
9541         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9542         ... here.
9543         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9544         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9545         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9546         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9547         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9548         Moved ...
9549         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9550         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9551         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9552         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9553         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9554         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9555         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9556         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9557         Moved ...
9558         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9559         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9560         Moved ...
9561         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9562         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9563         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9564         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9565         Moved ...
9566         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9567         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9568         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9569         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9570         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9571         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9572         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9573         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9574         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9575         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9576         Moved ...
9577         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9578         ... here.
9579         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9580         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9581         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9582         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9583         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9584         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9585         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9586         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9587         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9588         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9589         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9590         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9591         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9592         Moved ...
9593         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9594         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9595         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9596         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9597         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9598         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9599         Moved ...
9600         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9601         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9602         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9603         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9604         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9606         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9607         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9608         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9609         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9610         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9611         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9612         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9613         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9614         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9615         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9616         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9617         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9618         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9619         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9620         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9621         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9622         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9623         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9624         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9625         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9626         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9627         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9628         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9629         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9630         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9631         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9632         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9633         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9635 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9637         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9638         (FALLOC_FL_COLLAPSE_RANGE): New macro.
9639         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9640         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9641         (IPV6_PMTUDISC_INTERFACE): Likewise.
9642         (IPV6_PMTUDISC_OMIT): Likewise.
9644 2014-06-23  Andreas Schwab  <schwab@suse.de>
9646         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9647         Remove unused errout label.
9649 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9651         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9652         macro: hardware supports Vector Crypto instructions.
9654 2014-06-23  Will Newton  <will.newton@linaro.org>
9656         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9657         rather than __builtin_expect.
9659         * elf/dl-lookup.c (undefined_msg): Remove variable.
9660         (_dl_lookup_symbol_x): Replace undefined_msg with string
9661         literal.
9663         * elf/dl-lookup.c (do_lookup_unique): New function.
9664         (do_lookup_x): Move STB_GNU_UNIQUE handling code
9665         to a separate function.
9667 2014-06-23  Andreas Schwab  <schwab@suse.de>
9669         [BZ #17079]
9670         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9671         before reading the next line.
9673 2014-06-23  Will Newton  <will.newton@linaro.org>
9675         * test-skeleton.c (signal_handler): Use printf and %m
9676         rather than perror.  Use printf rather than fprintf to
9677         stderr.  Use puts rather than fputs to stderr.
9678         (main): Likewise.
9680 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
9682         * nscd/nscd.c (thread_info_t): Remove typedef.
9683         (thread_info): Remove variable.
9685 2014-06-21  Allan McRae  <allan@archlinux.org>
9687         * NEWS: Mention CVE-2014-4043.
9689 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9691         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9692         * nptl/smp.h: ... here.
9694         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9696         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9697         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9698         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9699         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9701         * nptl/allocatestack.c: Include <stack-aliasing.h>.
9702         * nptl/stack-aliasing.h: New file.
9703         * sysdeps/i386/i686/stack-aliasing.h: New file.
9704         * sysdeps/i386/i686/nptl/Makefile: File removed.
9705         * sysdeps/x86_64/stack-aliasing.h: New file.
9706         * sysdeps/x86_64/nptl/Makefile
9707         (CFLAGS-pthread_create.c): Variable removed.
9709         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9710         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9711         old file.
9712         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9713         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9714         old file.
9716 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
9718         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9719         (__ASSUME_SIGFRAME_V2): Remove macro.
9720         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9721         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9722         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9723         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9724         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9725         Declare as function.  Remove conditional macro definitions.
9726         (__default_rt_sa_restorer): Likewise.
9727         (__default_sa_restorer_v1): Remove declaration.
9728         (__default_sa_restorer_v2): Likewise.
9729         (__default_rt_sa_restorer_v1): Likewise.
9730         (__default_rt_sa_restorer_v2): Likewise.
9731         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9732         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9733         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9735 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9737         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9738         (libpthread-routines): Add sysdep.
9739         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9740         * sysdeps/unix/sysv/linux/sparc/Versions
9741         (libpthread: GLIBC_2.3.3): New version set.
9742         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9743         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9744         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9745         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9746         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
9747         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9748         Moved ...
9749         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9750         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9751         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9752         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9753         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9754         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9755         * sysdeps/sparc/nptl/sem_init.c: ... here.
9756         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9757         * sysdeps/sparc/nptl/sem_post.c: ... here.
9758         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9759         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9760         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9761         * sysdeps/sparc/nptl/sem_wait.c: ... here.
9762         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9763         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9764         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9765         (libpthread-routines): Add cpu_relax.
9766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9767         File removed.
9768         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9769         (librt: GLIBC_2.3.3): New version set.
9770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9771         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9772         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9773         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9775         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9776         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9777         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9778         Moved ...
9779         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9781         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9783         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9785         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9787         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9789         Moved ...
9790         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9791         Update #include.
9792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9793         Moved ...
9794         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9795         Update #include.
9796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9797         Moved ...
9798         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9799         Update #include.
9800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9801         Moved ...
9802         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9803         Update #include.
9804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9805         Moved ...
9806         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9807         Update #include.
9808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9809         Moved ...
9810         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9811         Update #include.
9812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9813         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9814         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9815         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9817         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9818         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9819         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9820         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9821         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9823         Moved ...
9824         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9826         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9828         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9830 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9832         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9833         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9834         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9835         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9836         * nscd/nscd.c: Likewise.
9837         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9838         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9839         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9840         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9842         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9843         <kernel-features.h>.
9844         (init_mq_netlink): Remove conditional have_sock_cloexec
9845         definitions.  Remove code conditional on have_sock_cloexec < 0.
9846         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9847         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9848         * sysdeps/unix/sysv/linux/opensock.c: Do not include
9849         <kernel-features.h>.
9850         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9851         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9853 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9855         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9856         Add tests for memset_chk and memset.
9858         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9859         with AVX2_Usable.
9861 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9863         [BZ #16046]
9864         * elf/tst-dl-iter-static.c: New file.
9865         * elf/Makefile (tests-static): Add tst-dl-iter-static.
9867         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9868         error.
9870 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9872         * sysdeps/unix/sysv/linux/kernel-features.h
9873         (__ASSUME_F_GETOWN_EX): Remove macro.
9874         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9875         <kernel-features.h>.
9876         (miss_F_GETOWN_EX): Remove variable or macro.
9877         (do_fcntl): Do not check miss_F_GETOWN_EX.
9878         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9880         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9881         Remove macro.
9882         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9883         [!__ASSUME_AT_RANDOM]: Remove conditional code.
9884         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9886         * sysdeps/unix/sysv/linux/kernel-features.h
9887         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9888         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9889         [ADJ_OFFSET_SS_READ]: Make code unconditional.
9890         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9892 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9894         [BZ #17075]
9895         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9896         Fix calculation of the symbol's value.
9897         * sysdeps/arm/tst-armtlsdescloc.c: New file.
9898         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9899         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9900         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9901         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9902         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9903         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9904         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9905         (modules-names): Add `tst-armtlsdescmod',
9906         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9907         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9908         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9909         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9910         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9911         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9912         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9913         ($(objpfx)tst-armtlsdescloc): New dependency.
9914         ($(objpfx)tst-armtlsdescextnow): Likewise.
9915         ($(objpfx)tst-armtlsdescextlazy): Likewise.
9916         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9917         TLS scheme support.
9918         * sysdeps/arm/configure: Regenerate.
9920 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9922         * include/fcntl.h (__atfct_seterrno): Remove prototype.
9923         (__atfct_seterrno_2): Likewise.
9924         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9925         <kernel-features.h>.
9926         (__ASSUME_ATFCTS): Do not undefine and redefine.
9927         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9928         (__have_atfcts): Remove conditional definition.
9929         (__fxstatat([__NR_fstatat64]: Make code unconditional.
9930         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9931         unreachable if [__ASSUME_ATFCTS].
9932         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9933         not undefine and redefine.
9934         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9935         <kernel-features.h>.
9936         (faccessat) [__NR_faccessat]: Make code unconditional.
9937         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9938         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9939         <kernel-features.h>.
9940         (fchmodat) [__NR_fchmodat]: Make code unconditional.
9941         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9942         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9943         <kernel-features.h>.
9944         (fchownat) [__NR_fchownat]: Make code unconditional.
9945         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9946         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9947         <kernel-features.h>.
9948         (futimesat) [__NR_futimesat]: Make code unconditional.
9949         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9950         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9951         <kernel-features.h>.
9952         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9953         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9954         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9955         <kernel-features.h>.
9956         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9957         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9958         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9959         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9960         <kernel-features.h>.
9961         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9962         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9963         * sysdeps/unix/sysv/linux/linkat.c: Do not include
9964         <kernel-features.h>.
9965         (linkat) [__NR_linkat]: Make code unconditional.
9966         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9967         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9968         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9969         <kernel-features.h>.
9970         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9971         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9972         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9973         <kernel-features.h>.
9974         (mkdirat) [__NR_mkdirat]: Make code unconditional.
9975         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9976         * sysdeps/unix/sysv/linux/openat.c: Do not include
9977         <kernel-features.h>.
9978         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9979         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9980         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9981         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9982         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9983         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9984         <kernel-features.h>.
9985         (readlinkat) [__NR_readlinkat]: Make code unconditional.
9986         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
9987         result of INLINE_SYSCALL directly, not via int variable.
9988         * sysdeps/unix/sysv/linux/renameat.c: Do not include
9989         <kernel-features.h>.
9990         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9991         (renameat) [__NR_renameat]: Make code unconditional.
9992         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9993         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9994         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9995         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9996         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9997         (__ASSUME_ATFCTS): Do not undefine and redefine.
9998         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9999         <kernel-features.h>.
10000         (symlinkat) [__NR_symlinkat]: Make code unconditional.
10001         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10002         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10003         <kernel-features.h>.
10004         (unlinkat) [__NR_unlinkat]: Make code unconditional.
10005         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10006         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10007         (__ASSUME_ATFCTS): Do not undefine and redefine.
10008         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10009         <kernel-features.h>.
10010         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10011         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10012         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10013         <kernel-features.h>.
10014         (__xmknodat) [__NR_mknodat]: Make code unconditional.
10015         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10017 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10019         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10021 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
10023         [BZ #17069]
10024         * posix/regcomp.c (parse_reg_exp): Deallocate partially
10025         constructed tree before returning error.
10026         * posix/bug-regexp36.c: Expand test case.
10028 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10030         [BZ #6803]
10031         * math/libm-test.inc (scalbln_test_date):
10032         Add errno expectations.
10033         * math/w_scalblnf.c: New File.
10034         Add wrapper which checks for setting errno to ERANGE.
10035         Add weak_alias for corresponding scalbln function.
10036         * math/w_scalbln.c: Likewise.
10037         * math/w_scalblnl.c: Likewise.
10038         * math/Makefile (libm-calls): Add w_scalbln.
10039         * sysdeps/ieee754/flt-32/s_scalblnf.c:
10040         Remove weak_alias for corresponding scalbln function.
10041         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10042         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10043         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10044         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10045         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10046         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10047         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10048         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10049         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10050         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10051         Remove long_double_symbol for scalblnl function in libm, libc.
10052         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10053         Add wrapper which checks for setting errno to ERANGE.
10054         Add long_double_symbol for scalblnl function in libm, libc.
10055         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10056         Remove long_double_symbol for scalblnl in libm.
10057         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10058         Add wrapper which checks for setting errno to ERANGE.
10059         Add long_double_symbol for scalblnl function in libm.
10060         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10061         Do not use wrapper because of own implementation.
10063 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
10065         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10066         3 bytes for __pad1 for x32.
10067         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10069 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
10070             H.J. Lu  <hongjiu.lu@intel.com>
10072         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10073         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10074         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10075         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10076         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10078 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
10080         [BZ #17069]
10081         * posix/regcomp.c (parse_expression): Deallocate partially
10082         constructed tree before returning error.
10083         * posix/Makefile.c (tests): Add bug-regex36.
10084         (generated): Add bug-regex36.mtrace.
10085         (tests-special): Add $(objpfx)bug-regex36-mem.out
10086         (bug-regex36-ENV): New variable.
10087         ($(objpfx)bug-regex36-mem.out): New rule.
10088         * posix/bug-regex36.c: New file.
10090 2014-06-19  Will Newton  <will.newton@linaro.org>
10092         * malloc/malloc.c (systrim): If extra is zero then return
10093         early.
10095 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10097         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10099 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
10101         * sysdeps/aarch64/strchr.S: New file.
10103 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10105         [BZ #17022]
10106         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10107         from arguments -2 or below.
10108         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10109         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10111 2014-06-18  Andreas Schwab  <schwab@suse.de>
10113         [BZ #17062]
10114         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10115         of a bracket expr not to run off the end of the string.
10116         * posix/Makefile (tests): Add tst-fnmatch3.
10117         * posix/tst-fnmatch3.c: New file.
10119 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10121         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10122         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10123         [$(cross-compiling) = no]: Likewise.
10124         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10125         [$(cross-compiling) = no]: Likewise.
10127 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10129         [BZ #17031]
10130         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10131         double, adjusted for any remainder from the high double.
10132         * math/libm-test.inc (nearbyint): Add tests.
10133         (rint): Likewise.
10135 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10137         * nptl/sysdeps/powerpc/Makefile: Moved ...
10138         * sysdeps/powerpc/nptl/Makefile: ... here.
10139         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10140         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10141         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10142         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10143         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10144         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10145         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10146         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10147         * nptl/sysdeps/powerpc/tls.h: Moved ...
10148         * sysdeps/powerpc/nptl/tls.h: ... here.
10150 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
10152         [BZ #16681]
10153         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10154         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10155         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10156         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10157         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10158         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10159         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10160         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10161         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10163 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
10165         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10167 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
10169         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10170         defined operator.
10172         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10173         $TIMEOUTFACTOR.
10175 2014-06-16  Florian Weimer  <fweimer@redhat.com>
10177         [BZ #17058]
10178         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10179         non-executed part of the test.
10181 2014-06-16  Andreas Schwab  <schwab@suse.de>
10183         * string/bits/string2.h (strdup, strndup): Update feature guard.
10185 2014-06-14  David S. Miller  <davem@davemloft.net>
10187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10189 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
10191         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10192         that was previously under [RESET_PID].
10193         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10195         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10196         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10197         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10198         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10199         (__libc_vfork): New strong alias.
10200         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10202 2014-06-14 Andi Kleen  <ak@linux.intel.com>
10204         * sysdeps/generic/elide.h: New file.
10206 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10208         * Makefile (installed-headers): Adjust path of pthread.h header.
10210 2014-06-13  Roland McGrath  <roland@hack.frob.com>
10212         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10213         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10214         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10215         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10217         * nptl/sysdeps/s390/Makefile: Moved ...
10218         * sysdeps/s390/nptl/Makefile: ... here.
10219         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10220         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10221         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10222         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10223         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10224         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10225         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10226         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10227         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10228         * sysdeps/s390/nptl/pthreaddef.h: ... here.
10229         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10230         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10231         * nptl/sysdeps/s390/tls.h: Moved ...
10232         * sysdeps/s390/nptl/tls.h: ... here.
10234         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10235         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10237 2014-06-13  David S. Miller  <davem@davemloft.net>
10239         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10241         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10242         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10243         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10244         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10245         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10246         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10247         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10248         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10249         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10250         Remove RESET_PID cpp guards.
10251         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10252         Remove RESET_PID cpp guards.
10253         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10255 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
10257         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10258         __sp to uintptr_t.
10260 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10262         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10263         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10264         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10265         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10266         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10267         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10268         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10269         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10270         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10271         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10272         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10273         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10274         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10275         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10276         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10277         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10278         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10279         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10280         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10281         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10283         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10284         (pthread_rwlock_rdlock): Add elision.
10285         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10286         (pthread_rwlock_wrlock): Add elision.
10287         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10288         (pthread_rwlock_trywrlock): Add elision.
10289         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10290         (pthread_rwlock_tryrdlock): Add elision.
10291         * nptl/pthread_rwlock_unlock.c: Include elide.h.
10292         (pthread_rwlock_tryrdlock): Add elision unlock.
10293         * nptl/sysdeps/pthread/pthread.h:
10294         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10295         (PTHREAD_RWLOCK_INITIALIZER,
10296         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10297         Handle new elision field.
10298         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10299         * sysdeps/arm/nptl/bits/pthreadtypes.h
10300         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10301         * sysdeps/sh/nptl/bits/pthreadtypes.h
10302         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10303         * sysdeps/tile/nptl/bits/pthreadtypes.h
10304         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10305         * sysdeps/a/nptl/bits/pthreadtypes.h
10306         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10307         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10308         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10309         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10310         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10311         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10312         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10313         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10314         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10315         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10316         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10317         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10318         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10319         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10320         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10321         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10322         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10323         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10324         (elision_init): Set try_xbegin to zero when no RTM.
10325         * sysdeps/x86/nptl/bits/pthreadtypes.h
10326         (pthread_rwlock_t): Change __pad1 to __rwelision.
10327         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10329 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10331         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10332         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10333         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10334         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10336 2014-06-13  Meador Inge  <meadori@codesourcery.com>
10338         [BZ #16996]
10339         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10340         that the cached result has been set before returning it.
10342 2014-06-12  Roland McGrath  <roland@hack.frob.com>
10344         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10345         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10346         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10347         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10348         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10349         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10351         * nptl/sysdeps/sparc/Makefile: Moved ...
10352         * sysdeps/sparc/nptl/Makefile: ... here.
10353         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10354         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10355         * nptl/sysdeps/sparc/tls.h: Moved ...
10356         * sysdeps/sparc/nptl/tls.h: ... here.
10357         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10358         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10359         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10360         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10361         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10362         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10363         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10364         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10365         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10366         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10367         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10368         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10369         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10370         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10371         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10372         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10373         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10374         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10375         Update #include.
10376         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10377         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10378         Update #include.
10379         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10380         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10381         Update #include.
10382         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10383         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10384         Update #include.
10386         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10388         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10389         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10391         * sysdeps/pthread/posix-timer.h: Include <list.h>.
10392         (struct list_links): Type removed.
10393         (struct thread_node, struct timer_node): Replace struct list_links
10394         with struct list_head.
10395         (list_unlink_ip): Likewise.
10396         * sysdeps/pthread/timer_routines.c
10397         (timer_free_list, thread_free_list, thread_active_list): Likewise.
10398         (list_append, list_insbefore): Likewise.
10399         (list_init): Function removed.
10400         (thread_init, init_module): Use INIT_LIST_HEAD instead.
10401         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10402         * sysdeps/pthread/Makefile: ... here, new file.
10404         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10405         * sysdeps/nptl/Implies: ... here.
10406         * sysdeps/unix/sysv/linux/Implies: Add nptl.
10407         * nptl/sysdeps/pthread/list.h: Moved ...
10408         * include/list.h: ... here.
10409         * nptl/sysdeps/pthread/createthread.c: Moved ...
10410         * nptl/createthread.c: ... here.
10411         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10412         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10413         * nptl/pt-longjmp.c: ... here.
10414         * nptl/sysdeps/pthread/Makefile: Moved ...
10415         * sysdeps/nptl/Makefile: ... here.
10416         * nptl/sysdeps/pthread/Subdirs: Moved ...
10417         * sysdeps/nptl/Subdirs: ... here.
10418         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10419         * sysdeps/nptl/aio_misc.h: ... here.
10420         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10421         * sysdeps/nptl/bits/libc-lock.h: ... here.
10422         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10423         * sysdeps/nptl/bits/libc-lockP.h: ... here.
10424         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10425         * sysdeps/nptl/bits/stdio-lock.h: ... here.
10426         * nptl/sysdeps/pthread/configure: Moved ...
10427         * sysdeps/nptl/configure: ... here.
10428         * nptl/sysdeps/pthread/configure.ac: Moved ...
10429         * sysdeps/nptl/configure.ac: ... here.
10430         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10431         * sysdeps/nptl/gai_misc.h: ... here.
10432         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10433         * sysdeps/nptl/librt-cancellation.c: ... here.
10434         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10435         * sysdeps/nptl/malloc-machine.h: ... here.
10436         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10437         * sysdeps/nptl/pthread-functions.h: ... here.
10438         * nptl/sysdeps/pthread/pthread.h: Moved ...
10439         * sysdeps/nptl/pthread.h: ... here.
10440         * nptl/sysdeps/pthread/setxid.h: Moved ...
10441         * sysdeps/nptl/setxid.h: ... here.
10442         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10443         * sysdeps/nptl/sigfillset.c: ... here.
10444         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10445         * sysdeps/nptl/tcb-offsets.h: ... here.
10446         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10447         * sysdeps/nptl/tst-mqueue8x.c: ... here.
10448         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10449         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10450         * nptl/sysdeps/pthread/allocalim.h: Moved ...
10451         * sysdeps/pthread/allocalim.h: ... here.
10452         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10453         * sysdeps/pthread/bits/sigthread.h: ... here.
10454         * nptl/sysdeps/pthread/flockfile.c: Moved ...
10455         * sysdeps/pthread/flockfile.c: ... here.
10456         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10457         * sysdeps/pthread/ftrylockfile.c: ... here.
10458         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10459         * sysdeps/pthread/funlockfile.c: ... here.
10460         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10461         * sysdeps/pthread/posix-timer.h: ... here.
10462         * nptl/sysdeps/pthread/timer_create.c: Moved ...
10463         * sysdeps/pthread/timer_create.c: ... here.
10464         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10465         * sysdeps/pthread/timer_delete.c: ... here.
10466         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10467         * sysdeps/pthread/timer_getoverr.c: ... here.
10468         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10469         * sysdeps/pthread/timer_gettime.c: ... here.
10470         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10471         * sysdeps/pthread/timer_routines.c: ... here.
10472         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10473         * sysdeps/pthread/timer_settime.c: ... here.
10474         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10475         * sysdeps/pthread/tst-timer.c: ... here.
10476         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10477         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10479         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10480         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10482         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10483         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10484         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10485         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10486         Update #include target.
10487         * nptl/sysdeps/i386/i686/Makefile: Moved ...
10488         * sysdeps/i386/i686/nptl/Makefile: ... here.
10489         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10490         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10491         Update #include target.
10492         * nptl/sysdeps/i386/i686/tls.h: Moved ...
10493         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
10494         * nptl/sysdeps/i386/Makefile: Moved ...
10495         * sysdeps/i386/nptl/Makefile: ... here.
10496         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10497         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10498         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10499         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10500         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10501         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10502         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10503         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10504         * sysdeps/i386/nptl/pthreaddef.h: ... here.
10505         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10506         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10507         * nptl/sysdeps/i386/tls.h: Moved ...
10508         * sysdeps/i386/nptl/tls.h: ... here.
10510         * sysdeps/sh/Makefile [$(subdir) = csu]
10511         (gen-as-const-headers): Add tcb-offsets.sym.
10512         * nptl/sysdeps/sh/Makefile: File removed.
10513         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10514         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10515         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10516         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10517         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10518         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10519         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10520         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10521         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10522         * sysdeps/sh/nptl/pthreaddef.h: ... here.
10523         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10524         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10525         * nptl/sysdeps/sh/tls.h: Moved ...
10526         * sysdeps/sh/nptl/tls.h: ... here.
10527         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10528         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10529         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10530         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10531         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10532         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10533         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10534         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10535         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10536         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10537         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10538         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10539         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10540         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10541         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10542         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10543         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10544         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10545         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10546         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10547         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10548         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10549         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10550         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10551         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10552         Moved ...
10553         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10554         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10555         Moved ...
10556         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10557         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10558         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10559         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10560         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10561         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10562         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10563         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10564         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10565         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10566         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10567         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10568         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10569         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10570         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10571         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10572         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10573         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10574         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10576 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10578         * posix/spawn_faction_addopen.c: Include string.h.
10580 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10582         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10583         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10584         * nptl/sysdeps/x86_64/Makefile: Moved ...
10585         * sysdeps/x86_64/nptl/Makefile: ... here.
10586         * nptl/sysdeps/x86_64/configure: Moved ...
10587         * sysdeps/x86_64/nptl/configure: ... here.
10588         * nptl/sysdeps/x86_64/configure.ac: Moved ...
10589         * sysdeps/x86_64/nptl/configure.ac: ... here.
10590         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10591         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10592         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10593         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10594         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10595         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10596         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10597         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10598         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10599         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10600         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10601         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10602         * nptl/sysdeps/x86_64/tls.h: Moved ...
10603         * sysdeps/x86_64/nptl/tls.h: ... here.
10604         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10605         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10606         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10607         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10609         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10611 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10615 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
10617         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10618         type.
10619         [POSIX] (off_t): Likewise.
10620         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10621         [POSIX] (S_ISBLK): Require macro.
10622         [POSIX] (S_ISCHR): Likewise.
10623         [POSIX] (S_ISDIR): Likewise.
10624         [POSIX] (S_ISFIFO): Likewise.
10625         [POSIX] (S_ISREG): Likewise.
10626         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10627         optional-macro.
10628         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10629         type.
10630         [POSIX] (time_t): Likewise.
10631         [POSIX] (timer_t): Likewise.
10633 2014-06-11  Florian Weimer  <fweimer@redhat.com>
10635         [BZ #17048]
10636         * posix/spawn_int.h (struct __spawn_action): Make the path string
10637         non-const to support deallocation.
10638         * posix/spawn_faction_addopen.c
10639         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10640         * posix/spawn_faction_destroy.c
10641         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
10642         path in all spawn_do_open actions.
10643         * posix/tst-spawn.c (do_test): Exercise the copy operation in
10644         posix_spawn_file_actions_addopen.
10646 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
10648         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10649         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10650         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10651         conditional code always true.
10652         (__libc_vfork): New alias.
10654 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10656         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10657         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10659         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10661         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10662         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10664         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10665         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10667         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10668         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10670 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10672         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10673         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10674         multiarch strcmp for PPC64.
10675         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10676         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10678         multiarch optimizations.
10679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10680         (__libc_ifunc_impl_list): Likewise.
10682 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10684         * benchtests/scripts/validate_benchout.py: New script.
10685         * benchtests/Makefile (bench-func): Call it.
10686         * benchtests/scripts/benchout.schema.json: New file.
10688 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
10690         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10691         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10692         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10693         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10694         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10695         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10696         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10697         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10698         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10699         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10700         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10701         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10702         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10703         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10704         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10705         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10707         Moved ...
10708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10709         ... here.
10710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10711         Moved ...
10712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10714         Moved ...
10715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10716         ... here.
10717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10718         Moved ...
10719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10720         ... here.
10721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10722         Moved ...
10723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10725         Moved ...
10726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10727         ... here.
10728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10729         Moved ...
10730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10731         ... here.
10732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10733         Moved ...
10734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10736         Moved ...
10737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10738         ... here.
10739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10740         Moved ...
10741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10742         ... here.
10743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10744         Moved ...
10745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10746         ... here.
10747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10748         Moved ...
10749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10751         Moved ...
10752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10753         ... here.
10754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10755         Moved ...
10756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10757         ... here.
10758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10759         Moved ...
10760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10761         ... here.
10762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10763         Moved ...
10764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10766         Moved ...
10767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10768         ... here.
10769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10770         Moved ...
10771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10772         ... here.
10773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10774         Moved ...
10775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10777         Moved ...
10778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10779         ... here.
10780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10781         Moved ...
10782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10784         Moved ...
10785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10787         Moved ...
10788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10789         ... here.
10790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10791         Moved ...
10792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10793         ... here.
10794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10795         Moved ...
10796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10797         ... here.
10798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10799         Moved ...
10800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10802         Moved ...
10803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10804         ... here.
10805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10806         Moved ...
10807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10808         ... here.
10809         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10810         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10811         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10812         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10813         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10814         Moved ...
10815         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10816         ... here.
10817         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10818         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10819         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10820         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10821         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10822         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10823         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10824         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10825         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10826         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10827         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10828         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10829         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10830         Moved ...
10831         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10832         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10833         Moved ...
10834         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10835         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10836         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10837         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10838         Moved ...
10839         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10840         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10841         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10842         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10843         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10844         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10845         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10847 2014-06-10  Wilco  <wdijkstr@arm.com>
10849         * math/test-fenv-return.c: New file.
10850         * math/Makefile: Add new test test-fenv-return.
10852 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
10854         [BZ #17042]
10855         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10856         when x - 1 is zero.
10857         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10858         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10859         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10860         0.0L for an argument of 1.0L.
10861         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10862         Likewise.
10863         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10864         value when x - 1 is zero.
10865         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10866         * sysdeps/i386/fpu/libm-test-ulps: Update.
10867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10869 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
10871         [BZ #15119]
10872         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10874 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10876         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10877         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10879 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10881         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10882         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10884         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10885         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10887         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10888         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10890         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10891         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10893         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10894         if not already defined.
10895         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10896         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10897         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10898         (TLS_INIT_TP): Use it.
10899         (TLS_DEFINE_INIT_TP): New macro.
10900         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10902 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
10904         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10905         constant.
10906         [POSIX] (IXANY): Likewise.
10907         [POSIX] (OLCUC): Likewise.
10908         [POSIX || POSIX2008] (CBAUD): Do not allow.
10909         [POSIX || POSIX2008] (DEFECHO): Likewise.
10910         [POSIX || POSIX2008] (ECHOCTL): Likewise.
10911         [POSIX || POSIX2008] (ECHOKE): Likewise.
10912         [POSIX || POSIX2008] (ECHOPRT): Likewise.
10913         [POSIX || POSIX2008] (EXTA): Likewise.
10914         [POSIX || POSIX2008] (EXTB): Likewise.
10915         [POSIX || POSIX2008] (FLUSHO): Likewise.
10916         [POSIX || POSIX2008] (LOBLK): Likewise.
10917         [POSIX || POSIX2008] (PENDIN): Likewise.
10918         [POSIX || POSIX2008] (SWTCH): Likewise.
10919         [POSIX || POSIX2008] (VDISCARD): Likewise.
10920         [POSIX || POSIX2008] (VDSUSP): Likewise.
10921         [POSIX || POSIX2008] (VLNEXT): Likewise.
10922         [POSIX || POSIX2008] (VREPRINT): Likewise.
10923         [POSIX || POSIX2008] (VSTATUS): Likewise.
10924         [POSIX || POSIX2008] (VWERASE): Likewise.
10925         (B*): Change to B[0123456789]*.
10926         * conform/data/time.h-data [POSIX || UNIX98]
10927         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10928         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10929         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10930         [POSIX] (tm_*): Do not allow.
10932 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
10934         * Makefile (install): Don't set LANGUAGE.
10935         * Makefile.in (install): Likewise.
10936         * assert/Makefile (test-assert-ENV): Remove variable.
10937         (test-assert-perr-ENV): Likewise.
10938         * elf/Makefile (neededtest4-ENV): Likewise.
10939         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10940         [$(cross-compiling) = no]: Don't set LANGUAGE.
10941         * io/ftwtest-sh (LANG): Remove variable.
10942         * libio/Makefile (tst-widetext-ENV): Likewise.
10943         * manual/install.texi (Running make install): Don't refer to
10944         environment settings for make install.
10945         * INSTALL: Regenerated.
10946         * nptl/tst-tls6.sh: Don't set LANG.
10947         * posix/globtest.sh (LANG): Remove variable.
10948         * string/Makefile (tester-ENV): Likewise.
10949         (inl-tester-ENV): Likewise.
10950         (noinl-tester-ENV): Likewise.
10951         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10952         [$(cross-compiling) = no]: Don't set LANGUAGE.
10953         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10954         without explicit environment settings.
10956 2014-06-06  Roland McGrath  <roland@hack.frob.com>
10958         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10959         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10960         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10961         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10963 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
10965         * crypt/crypt-private.h [DOS]: Add some includes taken from the
10966         other files in the crypt directory.
10967         * crypt/crypt.c: Remove duplicate includes.
10968         * crypt/crypt-entry.c: Likewise.
10969         * crypt/crypt_util.c: Likewise.
10971 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
10973         * Makeconfig (run-program-env): New variable.
10974         (run-program-prefix-before-env): Likewise.
10975         (run-program-prefix-after-env): Likewise.
10976         (run-program-prefix): Define in terms of new variables.
10977         (built-program-cmd-before-env): New variable.
10978         (built-program-cmd-after-env): Likewise.
10979         (built-program-cmd): Define in terms of new variables.
10980         (test-program-prefix-before-env): New variable.
10981         (test-program-prefix-after-env): Likewise.
10982         (test-program-prefix): Define in terms of new variables.
10983         (test-program-cmd-before-env): New variable.
10984         (test-program-cmd-after-env): Likewise.
10985         (test-program-cmd): Define in terms of new variables.
10986         * Rules (make-test-out): Use $(run-program-env).
10987         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10988         (help): Do not mention environment variables.  Mention
10989         --timeoutfactor option.
10990         (timeoutfactor): New variable.
10991         (blacklist_exports): Remove function.
10992         (exports): Remove variable.
10993         (command): Do not include ${exports}.
10994         * manual/install.texi (Configuring and compiling): Do not mention
10995         test wrappers preserving environment variables.  Mention that last
10996         assignment to a variable must take precedence.
10997         * INSTALL: Regenerated.
10998         * benchtests/Makefile (run-bench): Use $(run-program-env).
10999         * catgets/Makefile ($(objpfx)test1.cat): Use
11000         $(built-program-cmd-before-env), $(run-program-env) and
11001         $(built-program-cmd-after-env).
11002         ($(objpfx)test2.cat): Do not specify environment variables
11003         explicitly.
11004         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11005         $(run-program-env) and $(built-program-cmd-after-env).
11006         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11007         $(run-program-env) and $(test-program-cmd-after-env).
11008         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11009         explicitly.
11010         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11011         run_program_env and test_program_cmd_after_env arguments.
11012         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11013         * elf/tst-pathopt.sh: Use run_program_env argument.
11014         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11015         $(test-wrapper-env) and $(run-program-env).
11016         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11017         run_program_env arguments.
11018         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11019         * intl/Makefile ($(objpfx)tst-gettext.out): Use
11020         $(test-program-prefix-before-env), $(run-program-env) and
11021         $(test-program-prefix-after-env).
11022         ($(objpfx)tst-gettext2.out): Likewise.
11023         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11024         run_program_env and test_program_prefix_after_env arguments.
11025         * intl/tst-gettext2.sh: Likewise.
11026         * intl/tst-gettext4.sh: Do not set environment variables
11027         explicitly.
11028         * intl/tst-gettext6.sh: Likewise.
11029         * intl/tst-translit.sh: Likewise.
11030         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11031         $(test-program-prefix-before-env), $(run-program-env) and
11032         $(test-program-prefix-after-env).
11033         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11034         run_program_env and test_program_prefix_after_env arguments.
11035         * math/Makefile (run-regen-ulps): Use $(run-program-env).
11036         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11037         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
11038         explicitly with each use of ${test_wrapper_env}.
11039         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11040         $(test-program-prefix-before-env), $(run-program-env) and
11041         $(test-program-prefix-after-env).
11042         * posix/tst-getconf.sh: Do not set environment variables
11043         explicitly.
11044         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11045         run_program_env and test_program_prefix_after_env arguments.
11046         * stdio-common/tst-printf.sh: Do not set environment variables
11047         explicitly.
11048         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11049         $(test-program-prefix-before-env), $(run-program-env) and
11050         $(test-program-prefix-after-env).
11051         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11052         run_program_env and test_program_prefix_after_env arguments.
11053         Split $test calls into $test_pre and $test.
11054         * timezone/Makefile (build-testdata): Use
11055         $(built-program-cmd-before-env), $(run-program-env) and
11056         $(built-program-cmd-after-env).
11058 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11060         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11061         strlen for non SHARED builds.
11063 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11065         * nptl/allocatestack.c (check_list): Inlined function...
11066         (__reclaim_stacks): ... here.
11068 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11070         [BZ #15698]
11071         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11072         memory overrun.
11074 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
11076         * Rules (make-test-out): Include
11077         LOCPATH=$(common-objpfx)localedata in default environment.
11078         * debug/Makefile (tst-chk1-ENV): Remove variable.
11079         (tst-chk2-ENV): Likewise.
11080         (tst-chk3-ENV): Likewise.
11081         (tst-chk4-ENV): Likewise.
11082         (tst-chk5-ENV): Likewise.
11083         (tst-chk6-ENV): Likewise.
11084         (tst-lfschk1-ENV): Likewise.
11085         (tst-lfschk2-ENV): Likewise.
11086         (tst-lfschk3-ENV): Likewise.
11087         (tst-lfschk4-ENV): Likewise.
11088         (tst-lfschk5-ENV): Likewise.
11089         (tst-lfschk6-ENV): Likewise.
11090         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11091         (tst-iconv7-ENV): Likewise.
11092         * intl/Makefile (LOCPATH-ENV): Likewise.
11093         (tst-codeset-ENV): Likewise.
11094         (tst-gettext3-ENV): Likewise.
11095         (tst-gettext5-ENV): Likewise.
11096         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11097         (tst-fopenloc-ENV): Likewise.
11098         (tst-fgetws-ENV): Remove variable.
11099         (tst-ungetwc1-ENV): Likewise.
11100         (tst-ungetwc2-ENV): Likewise.
11101         (bug-ungetwc2-ENV): Likewise.
11102         (tst-swscanf-ENV): Likewise.
11103         (bug-ftell-ENV): Likewise.
11104         (tst-fgetwc-ENV): Likewise.
11105         (tst-fseek-ENV): Likewise.
11106         (tst-ftell-partial-wide-ENV): Likewise.
11107         (tst-ftell-active-handler-ENV): Likewise.
11108         (tst-ftell-append-ENV): Likewise.
11109         * posix/Makefile (tst-fnmatch-ENV): Likewise.
11110         (tst-regexloc-ENV): Likewise.
11111         (bug-regex1-ENV): Likewise.
11112         (tst-regex-ENV): Likewise.
11113         (tst-regex2-ENV): Likewise.
11114         (bug-regex5-ENV): Likewise.
11115         (bug-regex6-ENV): Likewise.
11116         (bug-regex17-ENV): Likewise.
11117         (bug-regex18-ENV): Likewise.
11118         (bug-regex19-ENV): Likewise.
11119         (bug-regex20-ENV): Likewise.
11120         (bug-regex22-ENV): Likewise.
11121         (bug-regex23-ENV): Likewise.
11122         (bug-regex25-ENV): Likewise.
11123         (bug-regex26-ENV): Likewise.
11124         (bug-regex30-ENV): Likewise.
11125         (bug-regex32-ENV): Likewise.
11126         (bug-regex33-ENV): Likewise.
11127         (bug-regex34-ENV): Likewise.
11128         (bug-regex35-ENV): Likewise.
11129         (tst-rxspencer-ENV): Likewise.
11130         (tst-rxspencer-no-utf8-ENV): Likewise.
11131         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11132         (tst-sscanf-ENV): Likewise.
11133         (tst-swprintf-ENV): Likewise.
11134         (tst-swscanf-ENV): Likewise.
11135         (test-vfprintf-ENV): Likewise.
11136         (scanf13-ENV): Likewise.
11137         (bug14-ENV): Likewise.
11138         (tst-grouping-ENV): Likewise.
11139         * stdlib/Makefile (tst-strtod-ENV): Likewise.
11140         (tst-strtod3-ENV): Likewise.
11141         (tst-strtod4-ENV): Likewise.
11142         (tst-strtod5-ENV): Likewise.
11143         (testmb2-ENV): Likewise./
11144         * string/Makefile (tst-strxfrm-ENV): Likewise.
11145         (tst-strxfrm2-ENV): Likewise.
11146         (bug-strcoll1-ENV): Likewise.
11147         (test-strcasecmp-ENV): Likewise.
11148         (test-strncasecmp-ENV): Likewise.
11149         * time/Makefile (tst-strptime-ENV): Likewise.
11150         (tst-ftime_l-ENV): Likewise.
11151         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11152         (tst-mbrtowc-ENV): Likewise.
11153         (tst-wcrtomb-ENV): Likewise.
11154         (tst-mbrtowc2-ENV): Likewise.
11155         (tst-c16c32-1-ENV): Likewise.
11156         (tst-mbsnrtowcs-ENV): Likewise.
11158 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11160         * manual/resource.texi (How to get information about the memory
11161         subsystem?): Fix typo.
11162         Reported by Peon de la Parra Ivan <peon@keba.com>
11164 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
11166         [BZ #16882]
11167         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11168         (pthread_spin_lock): Branch out of spin loop to proper location.
11169         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11170         (pthread_spin_lock): Likewise.
11172         * nptl/tst-spin4.c: New test.
11173         * nptl/Makefile (tests): Add tst-spin4.
11175 2014-06-03  Andreas Schwab  <schwab@suse.de>
11177         [BZ #15946]
11178         * resolv/res_send.c (send_dg): Reload file descriptor after
11179         calling reopen.
11181 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
11183         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11185 2014-06-03  Richard Henderson  <rth@redhat.com>
11187         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11188         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11189         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11190         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
11191         in the SAVE_PID block.
11192         (__libc_vfork): New alias.
11193         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11195         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11196         child in registers, not on the stack.  Remove RESET_PID conditionals.
11197         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11199 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11201         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11203 2014-06-03  Wilco  <wdijkstr@arm.com>
11205         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11206         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11207         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11208         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11209         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11210         Likewise.
11212 2014-06-03  Wilco  <wdijkstr@arm.com>
11214         * sysdeps/aarch64/fpu/math_private.h
11215         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11216         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11217         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11218         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11219         Fix declarations.
11221 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11223         * crypt/crypt-private.h: Include ufc-crypt.h.
11224         (__b64_from_24bit): Declare extern.
11225         * crypt/crypt_util.c(__b64_from_24bit): New function.
11226         (b64t): New static const variable.
11227         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11228         (b64t): Remove variable.
11229         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11230         * crypt/sha256-crypt.c: Include crypt-private.h.
11231         (b64t): Remove variable.
11232         (__sha256_crypt_r): Remove b64_from_24bit and replace
11233         with __b64_from_24bit.
11234         * crypt/sha512-crypt.c: Likewise.
11236 2014-06-02  Roland McGrath  <roland@hack.frob.com>
11238         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11239         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11240         Label the code __libc_vfork rather than __vfork.
11241         [!NOT_IN_libc] (vfork): Define as weak alias.
11242         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11243         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11244         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11246 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11248         * malloc/malloc.c (malloc_info): Fix format specifier for
11249         n_mmaps.
11251 2014-06-02  Wilco  <wdijkstr@arm.com>
11253         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11254         FPCR write.
11256 2014-06-02  Wilco  <wdijkstr@arm.com>
11258         [BZ #17009]
11259         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11260         Rewrite to reduce FPCR/FPSR accesses.
11262 2014-06-01  David S. Miller  <davem@davemloft.net>
11264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11266 2014-05-31  David S. Miller  <davem@davemloft.net>
11268         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11269         to occur in round to nearest mode when |x| >= 2.0
11271 2014-05-30  Richard Henderson  <rth@twiddle.net>
11273         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11274         (PSEUDO_RET_NOERRNO): Remove.
11275         (ret): Don't redefine.
11276         (ret_NOERRNO): Define in terms of ret.
11277         (ret_ERRVAL): Likewise.
11279         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11280         use of PSEUDO_RET; perform the error check directly.
11282 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
11284         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11285         with __int128_t.
11287 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11289         * malloc/malloc (malloc_info): Fix formatting.
11291 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11292             Roland McGrath  <roland@hack.frob.com>
11294         * malloc/malloc (malloc_info): Also print mmapped statistics.
11296 2014-05-30  Roland McGrath  <roland@hack.frob.com>
11298         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11299         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11301 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
11303         * malloc/malloc.c (malloc_info): Inline mi_arena.
11305 2014-05-29  Richard Henderson  <rth@twiddle.net>
11307         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11308         Remove comma before expanding ASM_ARGS_##nr.
11309         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11310         Make _x0 a strict output; make _x8 a strict input; adjust expansion
11311         of ASM_ARGS_##nr.
11312         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11313         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11314         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11315         (ASM_ARGS_1): Add leading comma.
11317         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11318         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11319         to __errno_location.
11320         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11321         Remove the expected plt for __errno_location.
11323         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11324         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11325         call to __read_tp.
11327         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11328         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
11329         it and break it down.
11330         (DOCARGS_0, DOCARGS_1): Do nothing.
11331         (DOCARGS_2): Update to store into the new stack frame.
11332         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11333         (UNDOCARGS_1): Update to restore from the new stack frame.
11334         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11335         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11337         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11338         (SINGLE_THREAD_P): New parameter for result regno.
11339         (PSEUDO): Update to match; use cbz instead of beq.
11341         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11342         Use ENTRY to define the _nocancel entry point.  Share the syscall
11343         and syscall error check paths with the cancel path.
11344         (PSEUDO_END): New.
11346         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11347         whitespace; tabs before and after asm mnemonics.
11349 2014-05-29  Eric Wong  <normalperson@yhbt.net>
11351         [BZ #15132]
11352         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11353         Call fstat64 or stat64 internally, depending on arguments passed.
11354         Replace stat buffer argument with file descriptor argument.
11355         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11356         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11357         Pass fd to __internal_statvfs instead of calling fstat64.
11358         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11359         Pass fd to __internal_statvfs64 instead of calling fstat64.
11360         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11361         Pass -1 to __internal_statvfs instead of calling stat64.
11362         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11363         Pass -1 to __internal_statvfs64 instead of calling stat64.
11365 2014-05-28  Roland McGrath  <roland@hack.frob.com>
11367         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11368         that was previously under [RESET_PID].
11369         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11371         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11372         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11374 2014-05-27  Roland McGrath  <roland@hack.frob.com>
11376         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11378         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11379         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11381 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
11383         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11385 2014-05-27  Andreas Schwab  <schwab@suse.de>
11387         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11388         TLS_INIT_TP macro.
11389         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11390         * elf/rtld.c (init_tls, dl_main): Likewise.
11391         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11392         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11393         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11394         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11395         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11396         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11397         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11398         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11399         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11400         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11401         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11402         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11403         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11404         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11405         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11406         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11407         * sysdeps/generic/tls.h: Update description.
11409 2014-05-27  Will Newton  <will.newton@linaro.org>
11411         [BZ #16990]
11412         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11413         and restore r2 rather than just restoring.
11415 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11417         [BZ #16724]
11418         * libio/tst-ftell-append.c: New test case.
11419         * libio/Makefile (tests): Add test case.
11420         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11421         append mode.
11422         * libio/wfileops.c (do_ftell_wide): Likewise.
11424 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11428         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11429         ...
11430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11432         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11433         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11434         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11435         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11436         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11437         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11438         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11439         Moved ...
11440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11441         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11442         Moved ...
11443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11444         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11445         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11446         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11447         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11448         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11449         ...
11450         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11451         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11452         Moved ...
11453         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11454         here.
11455         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11456         ...
11457         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11458         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11459         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11461         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11462         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11463         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11464         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11466         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11467         merge into ...
11468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11470         ...
11471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11472         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11473         ...
11474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11475         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11476         Moved ...
11477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11478         here.
11479         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11480         Moved ...
11481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11482         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11483         Moved ...
11484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11487         conditional [RESET_PID].
11488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11489         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11490         removed.
11491         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11492         removed.
11494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11495         <tcb-offsets.h>.
11496         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11497         (__libc_vfork): New strong alias.
11498         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11499         removed.
11500         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11501         Removed.
11503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11504         <tcb-offsets.h>.
11505         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11506         (__libc_vfork): New strong alias.
11507         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11508         removed.
11509         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11510         removed.
11512 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
11514         * malloc/malloc.c (mi_arena): New function.
11515         (malloc_info): Remove nested function mi_arena. Call non-nosted
11516         function mi_arena.
11518 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11520         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11521         by insrwi.
11522         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11523         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11524         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11525         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11526         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11527         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11528         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11530 2014-05-26  Andreas Schwab  <schwab@suse.de>
11532         [BZ #16984]
11533         * locale/programs/repertoire.c (repertoire_read): Add slash
11534         between I18NPATH element and file name.
11535         * locale/programs/locfile.c (locfile_read): Likewise.
11537 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11539         * nptl/pthread_mutexattr_settype.c
11540         (__pthread_mutexattr_settype):
11541         Disable lock elision for PTHREAD_MUTEX_NORMAL.
11543 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11545         * nptl/tst-mutex5 (do_test):
11546         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11548 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11550         * benchtests/README: Document 'init' directive.
11551         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11552         BENCH_INIT.
11553         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11554         (parse_file): Recognize 'init' directive.
11556 2014-05-26  Kyle McMartin  <kyle@redhat.com>
11558         [BZ #16796]
11559         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11560         alignment of struct pthread.
11562 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11564         [BZ #16878]
11565         * nscd/netgroupcache.c (addgetnetgrentX): Look for
11566         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11567         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11568         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11570 2014-05-25  Richard Henderson  <rth@twiddle.net>
11572         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11573         (SINGLE_THREAD_P_PIC): Remove.
11574         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11575         (SINGLE_THREAD_P_PIC): Remove.
11577         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11578         branch to syscall error ...
11579         (PSEUDO): ... here.
11580         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11581         from __local_syscall_error to .Lsyscall_error.
11582         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11583         (SYSCALL_ERROR): Update label name.
11585         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11586         Do not use DOARGS/UNDOARGS.
11587         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11588         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11589         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11590         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11591         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11593         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11594         block comment.
11596         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11597         define if !NOT_IN_libc.
11598         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11599         define with non-default symbol versions.
11601 2014-05-23  Richard Henderson  <rth@twiddle.net>
11603         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11604         (vfork, __vfork): Define via compat_symbol.
11606         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11607         [!HAVE_IFUNC] (vfork_compat): Remove.
11608         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11610 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11612         [BZ #16978]
11613         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11614         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11615         variable.
11617 2014-05-23  Richard Henderson  <rth@twiddle.net>
11619         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11620         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11621         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11622         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11624         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11625         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11626         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11627         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11628         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11629         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11630         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11631         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11632         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11633         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11634         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11635         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11636         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11637         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11638         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11639         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11640         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11641         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11642         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11643         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11644         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11645         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11646         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11647         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11648         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11649         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11650         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11651         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11652         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11653         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11654         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11655         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11656         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11657         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11658         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11659         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11660         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11661         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11662         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11663         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11664         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11665         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11666         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11667         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11668         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11669         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11670         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11671         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11672         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11673         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11674         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11675         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11676         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11677         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11678         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11679         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11681         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11682         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11683         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
11684         before exiting on error.
11685         (__libc_vfork): New strong alias.
11686         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11687         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11689         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11690         that was previously under [RESET_PID].
11691         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11693         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11695 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11697         [BZ #16977]
11698         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11699         value when x - 1 is zero.
11700         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11701         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11702         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11703         0.0L for an argument of 1.0L.
11704         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11705         Likewise.
11706         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11707         value when x - 1 is zero.
11708         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11709         * sysdeps/i386/fpu/libm-test-ulps: Update.
11710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11712 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11714         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11715         alphasort and versionsort.
11717 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11719         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11720         macro.
11721         [copysignf]: Likewise.
11723 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11725         * crypt/md5-crypt.c: Fix formatting.
11727 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11729         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11730         (b64_from_24bit): New function.
11732 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11734         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11735         libc_hidden_builtin_def to ifunc.
11736         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11737         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11739 2014-05-21  Roland McGrath  <roland@hack.frob.com>
11741         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11742         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11744 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
11746         * nscd/Depend (linuxthreads): Remove.
11747         (nptl): Add.
11748         * resolv/Depend (linuxthreads): Remove.
11749         * rt/Depend (linuxthreads): Remove.
11751         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11752         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11753         $(common-objpfx)elf/.
11754         (link-libc-before-gnulib): Likewise.
11755         (elfobjdir): Remove variable.
11756         * Makefile (install): Use $(elf-objpfx) instead of
11757         $(common-objpfx)elf/.
11758         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11759         $(elfobjdir)/.
11760         (link-libc-deps): Likewise.
11761         ($(common-objpfx)libc.so): Likewise.
11762         ($(common-objpfx)linkobj/libc.so): Likewise.
11763         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11764         instead of $(common-objpfx)elf/.
11765         (symbolic-link-list): Likewise.
11766         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11767         [$(cross-compiling) = no]: Likewise.
11768         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11769         $(elfobjdir)/.
11770         (static-gnulib-arch): Likewise.
11771         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11772         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11773         $(common-objpfx)elf/.
11775 2014-05-21  Richard Henderson  <rth@redhat.com>
11777         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11778         (SINGLE_THREAD_P): Use the correct width load.  Fold
11779         into the ldr offset.
11781         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11782         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11784 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
11786         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11787         (libgcc_s_resume): Use __attribute_used__.
11788         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11789         Likewise.
11791 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11793         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11794         optimization when used with float constants.
11796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11798 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
11800         [BZ #16915]
11801         * locale/nl_langinfo_l.c: Make direct reference to every
11802         _nl_current_CATEGORY symbol.
11803         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11804         (tests-static): Add tst-langinfo-static.
11805         (tests-special): Add tst-langinfo-static.out.
11806         ($(objpfx)tst-langinfo.out): Redirect output.
11807         ($(objpfx)tst-langinfo-static.out): New.
11808         * localedata/tst-langinfo.sh: Send output to stdout.
11809         * localedata/tst-langinfo-static.c: New file.
11811         [BZ #16965]
11812         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11813         when the shift amount is modulo the limb size.
11815 2014-05-20  Richard Henderson  <rth@redhat.com>
11817         [BZ #16967]
11818         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11819         Change type of sa_flags from unsigned int to int.
11821         [BZ #16966]
11822         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11824         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11826 2014-05-20  Will Newton  <will.newton@linaro.org>
11828         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11829         Test the return value of the system call in the nocancel case.
11831 2014-05-20  Will Newton  <will.newton@linaro.org>
11832             Yvan Roux  <yvan.roux@linaro.org>
11834         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11835         #include of asm/ptrace.h.
11836         (PTRACE_GET_THREAD_AREA): Remove #undef.
11837         (PTRACE_GETHBPREGS): Likewise.
11838         (PTRACE_SETHBPREGS): Likewise.
11839         (struct user_regs_struct): New structure.
11840         (struct user_fpsimd_struct): New structure.
11841         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11842         #include of asm/ptrace.h and second #include of sys/user.h.
11843         (PTRACE_GET_THREAD_AREA): Remove #undef.
11844         (PTRACE_GETHBPREGS): Likewise.
11845         (PTRACE_SETHBPREGS): Likewise.
11846         (ELF_NGREG): Use new struct user_regs_struct.
11847         (elf_fpregset_t): Use new struct user_fpsimd_struct.
11849 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11851         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11852         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11854 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11856         [BZ #16958]
11857         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11858         membar to avoid block loads/stores to overlap previous stores.
11860 2014-05-17  Richard Henderson  <rth@redhat.com>
11862         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11863         Create the __##syscall_name##_nocancel entry point.
11864         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11865         Remove; let the sysdep-cancel.h code create it.
11867 2014-05-17  David S. Miller  <davem@davemloft.net>
11869         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11870         Protect with __USE_GNU.
11871         (TIOCSET_TEMPT): Likewise.
11872         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11873         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11874         these are already provided in bits/ioctl-types.h
11876 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11878         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11879         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11881         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11882         Use wait4 regardless of [__NR_waitpid].
11884 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
11886         PR libgcc/60166
11887         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11888         (_FP_NANSIGN_Q): Set the quiet bit.
11890 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
11892         * benchtests/Makefile
11893         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11894         not $(common-objpfx)math/libm.so.
11895         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11896         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11897         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11898         $(common-objpfx)dlfcn/libdl.so.
11899         ($(objpfx)tst-audit8): Depend on $(libm), not
11900         $(common-objpfx)math/libm.so.
11901         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11902         not $(common-objpfx)dlfcn/libdl.so.
11903         * math/Makefile
11904         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11905         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
11906         [$(build-shared) = yes].
11907         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11908         $(common-objpfx)nptl/libpthread.so.
11909         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11910         $(common-objpfx)math/libm.so$(libm.so-version) or
11911         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11912         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11913         $(common-objpfx)dlfcn/libdl.so.
11914         * setjmp/Makefile (link-libm): Remove variable.
11915         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11916         * stdio-common/Makefile (link-libm): Remove variable.
11917         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11918         * stdlib/Makefile (link-libm): Remove variable.
11919         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11920         ($(objpfx)tst-strtod-round): Likewise.
11921         ($(objpfx)tst-tininess): Likewise.
11922         ($(objpfx)tst-strtod-underflow): Likewise.
11923         ($(objpfx)tst-strtod6): Likewise.
11924         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11925         $(libdl), not $(common-objpfx)nptl/libpthread.so and
11926         $(common-objpfx)dlfcn/libdl.so.
11928 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11930         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11931         BSD terminal modes definitions.
11933 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11935         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11936         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11938         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11939         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11940         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11941         Don't do #include_next.
11942         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11943         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11944         Don't do #include_next.
11945         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11946         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11947         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11948         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11950 2014-05-16  Allan McRae  <allan@archlinux.org>
11952         * po/sv.po: Update Swedish translation from translation project.
11954         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11955         in sed expression.
11957 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
11959         [BZ #16917]
11960         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11961         errno if the TIOCGPTN ioctl fails with an error different than
11962         EINVAL.
11963         * login/tst-ptsname.c: New file.
11964         * login/Makefile (tests): Add tst-ptsname.
11966         [BZ #16943]
11967         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11968         and prlimit64.
11970 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11972         [BZ #16849]
11973         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11974         herrno to return EAI_AGAIN.
11976 2014-05-14  Roland McGrath  <roland@hack.frob.com>
11978         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11979         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11980         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11981         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11982         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11983         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11984         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11985         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11986         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11987         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11988         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11989         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11990         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11991         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11992         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11993         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11994         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11995         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11996         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11997         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11998         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11999         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12000         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12001         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12002         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12003         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12004         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12005         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12006         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12007         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12009         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12011         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12012         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12013         Moved ...
12014         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12016         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12018         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12020         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12022         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12024         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12026         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12027         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12028         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12030         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12031         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12032         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12034         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12036         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12038         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12040         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12042         Moved ...
12043         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12045         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12047         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12049         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12051         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12053         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12055         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12057         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12059         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12061         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12063         Moved ...
12064         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12065         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12066         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12068         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12069         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12070         (libpthread-sysdep_routines): Add elision-related stuff here instead.
12071         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12072         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12073         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12074         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12075         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12076         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12077         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12078         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12079         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12080         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12081         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12082         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12083         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12084         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12085         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12086         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12087         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12088         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12089         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12090         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12091         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12092         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12093         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12094         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12095         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12096         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12097         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12098         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12100         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12101         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12103         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12104         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12105         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12106         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12107         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12108         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12109         Moved ...
12110         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12111         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12112         Moved ...
12113         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12114         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12115         Moved ...
12116         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12117         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12118         Moved ...
12119         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12120         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12121         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12122         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12123         Moved ...
12124         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12125         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12126         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12127         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12128         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12129         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12130         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12131         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12132         Moved ...
12133         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12134         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12135         Moved ...
12136         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12137         ... here.
12138         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12139         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12140         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12141         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12142         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12143         Moved ...
12144         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12145         ... here.
12146         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12147         Moved ...
12148         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12149         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12150         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12151         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12152         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12153         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12154         Moved ...
12155         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12156         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12157         Moved ...
12158         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12159         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12160         Moved ...
12161         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12162         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12163         Moved ...
12164         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12165         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12166         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12167         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12168         Moved ...
12169         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12170         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12171         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12172         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12173         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12174         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12175         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12176         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12177         Moved ...
12178         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12179         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12180         Moved ...
12181         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12182         ... here.
12183         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12184         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12185         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12186         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12187         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12188         Moved ...
12189         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12190         ... here.
12191         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12192         Moved ...
12193         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12194         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12195         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12196         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12197         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12198         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12199         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12200         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12201         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12202         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12203         Moved ...
12204         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12205         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12206         Moved ...
12207         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12208         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12209         Moved ...
12210         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12211         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12212         Moved ...
12213         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12214         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12215         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12216         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12217         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12218         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12219         Moved ...
12220         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12221         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12222         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12223         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12224         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12225         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12226         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12227         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12228         Moved ...
12229         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12230         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12231         Moved ...
12232         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12233         ... here.
12234         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12235         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12236         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12237         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12238         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12239         Moved ...
12240         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12241         ... here.
12242         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12243         Moved ...
12244         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12245         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12246         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12247         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12248         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12249         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12250         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12251         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12252         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12253         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12254         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12256         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12257         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12259         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12260         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12262         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12263         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12264         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12265         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12266         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12267         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12268         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12269         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12270         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12271         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12272         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12273         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12274         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12275         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12276         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12277         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12278         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12279         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12280         Moved ...
12281         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12282         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12283         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12284         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12285         Moved ...
12286         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12287         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12288         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12289         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12290         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12291         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12292         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12293         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12294         Moved ...
12295         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12296         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12297         Moved ...
12298         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12299         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12300         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12301         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12302         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12303         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12304         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12305         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12306         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12307         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12308         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12309         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12310         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12311         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12312         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12313         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12314         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12316         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12317         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12318         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12319         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12320         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12322         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12323         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12324         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12325         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12326         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12327         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12328         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12329         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12330         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12331         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12333         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12334         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12336         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12337         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12338         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12339         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12340         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12341         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12342         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12343         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12344         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12345         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12346         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12347         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12348         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12349         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12350         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12351         Update #include.
12352         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12353         Likewise.
12354         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12355         Likewise.
12356         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12357         Likewise.
12358         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12359         Likewise.
12360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12361         Likewise.
12362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12363         Likewise.
12364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12365         Likewise.
12366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12367         Likewise.
12368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12369         Likewise.
12370         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12371         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12372         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12373         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12374         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12375         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12376         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12377         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12378         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12379         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12380         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12381         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12382         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12383         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
12384         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
12386         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12387         that was previously under [RESET_PID].
12388         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12389         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12390         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12392         * sysdeps/i386/nptl/Implies: New file.
12393         * sysdeps/x86_64/nptl/Implies: New file.
12394         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12395         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12396         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12397         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12399         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12400         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12401         (__libc_vfork): New strong alias.
12402         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12403         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12405         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12406         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12407         (__libc_vfork): New strong alias.
12408         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12409         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12411         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12412         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12413         (__libc_vfork): New strong alias.
12414         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12415         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12416         * nptl/pt-vfork.c: New file.
12417         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12418         (libpthread: GLIBC_2.20): New version set (empty).
12420 2014-05-14  Will Newton  <will.newton@linaro.org>
12422         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12423         rather than #if.
12425 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12427         [BZ #16564]
12428         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12429         arguments with exponent 65 or above.
12430         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12431         arguments 0x1p113L or above.
12432         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12433         to arguments 0x1p107L or above.
12434         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12435         positive arguments with exponent 65 or above.
12436         * math/auto-libm-test-in: Add more tests of log1p.
12437         * math/auto-libm-test-out: Regenerated.
12439         [BZ #16928]
12440         * math/s_cacos.c (__cacos): Ensure zero real part of result from
12441         non-finite arguments is +0.
12442         * math/s_cacosf.c (__cacosf): Likewise.
12443         * math/s_cacosl.c (__cacosl): Likewise.
12444         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12445         * sysdeps/i386/fpu/libm-test-ulps: Update.
12446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12448         [BZ #16927]
12449         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12450         value.
12451         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12452         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12453         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12454         for explicit high bit of mantissa when testing for argument equal
12455         to 1.
12456         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12457         * sysdeps/i386/fpu/libm-test-ulps: Update.
12458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12460         [BZ #16516]
12461         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12462         (__erf): Scale by 16 instead of 8 in potentially underflowing
12463         case.  Ensure exception if result actually underflows.
12464         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12465         (__erff): Scale by 16 instead of 8 in potentially underflowing
12466         case.  Ensure exception if result actually underflows.
12467         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12468         (efx8): Remove variable.
12469         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12470         case.  Ensure exception if result actually underflows.
12471         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12472         (efx8): Remove variable.
12473         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12474         case.  Ensure exception if result actually underflows.
12475         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12476         (efx8): Remove variable.
12477         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12478         case.  Ensure exception if result actually underflows.
12479         * math/auto-libm-test-in: Add more tests of erf.
12480         * math/auto-libm-test-out: Regenerated.
12482 2014-05-14  Andreas Schwab  <schwab@suse.de>
12484         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12485         Remove code conditionalized on USE___THREAD.
12487         * config.h.in (HAVE_PT_CHOWN): Define as 0.
12488         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12489         not definedness.
12491 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12493         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12494         Define unconditionally.
12495         (__ASSUME_O_CLOEXEC): Likewise.
12496         (__ASSUME_SOCK_CLOEXEC): Likewise.
12497         (__ASSUME_IN_NONBLOCK): Likewise.
12498         (__ASSUME_PIPE2): Likewise.
12499         (__ASSUME_EVENTFD2): Likewise.
12500         (__ASSUME_SIGNALFD4): Likewise.
12501         (__ASSUME_DUP3): Likewise.
12502         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12503         (__ASSUME_DUP3): Do not define.
12504         (__ASSUME_EVENTFD2): Likewise.
12505         (__ASSUME_IN_NONBLOCK): Likewise.
12506         (__ASSUME_O_CLOEXEC): Likewise.
12507         (__ASSUME_PIPE2): Likewise.
12508         (__ASSUME_SIGNALFD4): Likewise.
12509         (__ASSUME_SOCK_CLOEXEC): Likewise.
12510         (__ASSUME_UTIMES): Undefine.
12511         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12512         (__ASSUME_UTIMES): Do not define.
12513         (__ASSUME_O_CLOEXEC): Likewise.
12514         (__ASSUME_SOCK_CLOEXEC): Likewise.
12515         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12516         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12517         0x020621].
12518         (__ASSUME_PIPE2): Likewise.
12519         (__ASSUME_EVENTFD2): Likewise.
12520         (__ASSUME_SIGNALFD4): Likewise.
12521         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12522         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12523         Do not define.
12524         (__ASSUME_EVENTFD2): Likewise.
12525         (__ASSUME_SIGNALFD4): Likewise.
12526         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12527         (__ASSUME_32BITUIDS): Likewise.
12528         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12529         (__ASSUME_IPC64): Likewise.
12530         (__ASSUME_ST_INO_64_BIT): Likewise.
12531         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12532         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12533         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12534         (__ASSUME_UTIMES): Do not define.
12535         (__ASSUME_PSELECT): Likewise.
12536         (__ASSUME_PPOLL): Likewise.
12537         (__ASSUME_O_CLOEXEC): Likewise.
12538         (__ASSUME_SOCK_CLOEXEC): Likewise.
12539         (__ASSUME_IN_NONBLOCK): Likewise.
12540         (__ASSUME_PIPE2): Likewise.
12541         (__ASSUME_EVENTFD2): Likewise.
12542         (__ASSUME_SIGNALFD4): Likewise.
12543         (__ASSUME_DUP3): Likewise.
12544         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12545         (__ASSUME_UTIMES): Likewise.
12546         (__ASSUME_O_CLOEXEC): Likewise.
12547         (__ASSUME_SOCK_CLOEXEC): Likewise.
12548         (__ASSUME_IN_NONBLOCK): Likewise.
12549         (__ASSUME_PIPE2): Likewise.
12550         (__ASSUME_EVENTFD2): Likewise.
12551         (__ASSUME_SIGNALFD4): Likewise.
12552         (__ASSUME_DUP3): Likewise.
12553         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12554         (__ASSUME_UTIMES): Likewise.
12555         (__ASSUME_O_CLOEXEC): Likewise.
12556         (__ASSUME_SOCK_CLOEXEC): Likewise.
12557         (__ASSUME_IN_NONBLOCK): Likewise.
12558         (__ASSUME_PIPE2): Likewise.
12559         (__ASSUME_EVENTFD2): Likewise.
12560         (__ASSUME_SIGNALFD4): Likewise.
12561         (__ASSUME_DUP3): Likewise.
12562         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12563         Likewise.
12564         (__ASSUME_UTIMES): Likewise.
12565         (__ASSUME_EVENTFD2): Likewise.
12566         (__ASSUME_SIGNALFD4): Likewise.
12567         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12568         (__ASSUME_O_CLOEXEC): Likewise.
12569         (__ASSUME_SOCK_CLOEXEC): Likewise.
12570         (__ASSUME_IN_NONBLOCK): Likewise.
12571         (__ASSUME_PIPE2): Likewise.
12572         (__ASSUME_EVENTFD2): Likewise.
12573         (__ASSUME_SIGNALFD4): Likewise.
12574         (__ASSUME_DUP3): Likewise.
12575         (__ASSUME_UTIMES): Undefine.
12577         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12578         feclearexcept.  Remove symbol versioning code.
12579         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
12580         symbol versioning code.
12581         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
12582         symbol versioning code.
12583         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12584         feupdateenv.  Remove symbol versioning code.
12585         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12586         fegetexceptflag.  Remove symbol versioning code.
12587         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12588         fesetexceptflag.  Remove symbol versioning code.
12589         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12590         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
12591         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12592         (__posix_fadvise64_l32): Remove prototype.
12593         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12594         code.
12596 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12598         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12599         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12600         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12601         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12603 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
12605         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12606         current working directory
12608 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12610         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12611         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12612         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12613         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12614         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12615         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12616         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12617         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12618         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12619         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12620         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12621         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12622         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12623         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12624         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12625         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12626         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12627         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12628         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12629         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12630         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12631         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12632         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12633         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12634         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12635         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12636         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12637         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12638         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12639         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12640         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12641         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12642         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12643         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12644         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12645         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12646         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12647         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12648         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12649         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12650         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12651         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12653         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12654         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12656         * sysdeps/unix/sysv/linux/arm/Makefile
12657         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12658         Add rt-aeabi_unwind_cpp_pr1.
12659         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12660         Add nptl-aeabi_unwind_cpp_pr1.
12661         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12662         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12663         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12664         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12665         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12666         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12668         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12669         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12670         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12671         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12673         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12674         Deconditionalize the code that was previously under [RESET_PID].
12675         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12677         * sysdeps/generic/exit-thread.h: New file.
12678         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12679         * include/unistd.h (__exit_thread): Remove declaration.
12680         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12681         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12682         * csu/libc-start.c: Include <exit-thread.h>.
12683         (LIBC_START_MAIN): Pass no argument to __exit_thread.
12684         * nptl/pthread_create.c: Include <exit-thread.h>.
12685         (start_thread): Call __exit_thread in place of __exit_thread_inline.
12686         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12687         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12688         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12689         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12690         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12691         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12692         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12693         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12694         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12695         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12696         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12697         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12698         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12699         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12700         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12701         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12703 2014-05-13  Andreas Schwab  <schwab@suse.de>
12705         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12707 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
12709         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12710         (__ASSUME_UTIMES): Do not condition on kernel version.
12711         (__ASSUME_PSELECT): Define unconditionally.
12712         (__ASSUME_PPOLL): Likewise.
12713         (__ASSUME_ATFCTS): Likewise.
12714         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12715         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12716         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12717         (__ASSUME_UTIMENSAT): Define unconditionally.
12718         (__ASSUME_PRIVATE_FUTEX): Likewise.
12719         (__ASSUME_FALLOCATE): Likewise.
12720         (__ASSUME_O_CLOEXEC): Likewise.
12721         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12722         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12723         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12724         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12725         (__ASSUME_IN_NONBLOCK): Likewise.
12726         (__ASSUME_PIPE2): Likewise.
12727         (__ASSUME_EVENTFD2): Likewise.
12728         (__ASSUME_SIGNALFD4): Likewise.
12729         (__ASSUME_DUP3): Likewise.
12730         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12731         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12732         (__ASSUME_AT_RANDOM): Likewise.
12733         (__ASSUME_PREADV): Likewise.
12734         (__ASSUME_PWRITEV): Likewise.
12735         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12736         (__ASSUME_F_GETOWN_EX): Define unconditionally.
12737         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12738         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12739         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12740         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12741         (__ASSUME_O_CLOEXEC): Define unconditionally.
12742         (__ASSUME_PSELECT): Do not undefine conditionally.
12743         (__ASSUME_PPOLL): Likewise.
12744         (__ASSUME_ATFCTS): Likewise.
12745         (__ASSUME_SET_ROBUST_LIST): Likewise.
12746         (__ASSUME_UTIMENSAT): Likewise.
12747         (__ASSUME_FDATASYNC): Define unconditionally.
12748         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12749         (__ASSUME_SIGFRAME_V2): Likewise.
12750         )__ASSUME_EVENTFD2): Likewise.
12751         (__ASSUME_SIGNALFD4): Likewise.
12752         (__ASSUME_PSELECT): Do not undefine conditionally.
12753         (__ASSUME_PPOLL): Likewise.
12754         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12755         (__ASSUME_PSELECT): Define unconditionally.
12756         (__ASSUME_PPOLL): Likewise.
12757         (__ASSUME_O_CLOEXEC): Likewise.
12758         (__ASSUME_SOCK_CLOEXEC): Likewise.
12759         (__ASSUME_IN_NONBLOCK): Likewise.
12760         (__ASSUME_PIPE2): Likewise.
12761         (__ASSUME_EVENTFD2): Likewise.
12762         (__ASSUME_SIGNALFD4): Likewise.
12763         (__ASSUME_DUP3): Likewise.
12764         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12765         (__ASSUME_O_CLOEXEC): Likewise.
12766         (__ASSUME_SOCK_CLOEXEC): Likewise.
12767         (__ASSUME_IN_NONBLOCK): Likewise.
12768         (__ASSUME_PIPE2): Likewise.
12769         (__ASSUME_EVENTFD2): Likewise.
12770         (__ASSUME_SIGNALFD4): Likewise.
12771         (__ASSUME_DUP3): Likewise.
12772         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12773         (__ASSUME_EVENTFD2): Likewise.
12774         (__ASSUME_SIGNALFD4): Likewise.
12775         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12777 2014-05-12  Andreas Schwab  <schwab@suse.de>
12779         [BZ #16932]
12780         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12781         (_nss_nis_gethostbyname4_r): Return error if item length is larger
12782         than maximum RPC packet size.
12783         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12784         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12785         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12786         (_nss_nis_getservbyport_r): Likewise.
12788 2014-05-12  Will Newton  <will.newton@linaro.org>
12790         * malloc/Makefile (tests): Add tst-mallopt.
12791         * malloc/tst-mallopt.c: New file.
12793 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12795         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12796         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12798 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12800         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12801         (tst-tlsmod6.so): Likewise.
12803 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12805         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12807 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
12809         [BZ #16064]
12810         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12811         and <dl-procinfo.h>.
12812         (__fegetenv): Save SSE state in envp->__eip if supported.
12813         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12814         envp->__eip if supported.
12815         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12816         and <dl-procinfo.h>.
12817         (__fesetenv): Always set __eip, __cs_selector, __opcode,
12818         __data_offset and __data_selector in environment to 0.  Set SSE
12819         state if supported.
12820         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12821         test-fenv-sse.
12822         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12823         -mfpmath=sse.
12824         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12826 2014-05-09  Will Newton  <will.newton@linaro.org>
12828         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12829         and libc_relro_required for ARM.
12830         * sysdeps/arm/preconfigure: Regenerate.
12832 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
12833             Stefan Liebler  <stli@linux.vnet.ibm.com>
12835         * config.make.in (enable-lock-elision): New Makefile variable.
12836         * configure.ac: Likewise.
12837         * configure: Regenerate.
12838         * sysdeps/s390/configure.ac:
12839         Add check for gcc transactions support.
12840         * sysdeps/s390/configure: Regenerate.
12841         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12842         Build elision files if enabled.
12843         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12844         Add lock elision support for s390.
12845         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12846         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12847         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12848         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12849         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12850         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12851         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12852         Likewise.
12853         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12854         Likewise.
12855         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12856         Likewise.
12857         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12858         Likewise.
12859         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12860         (__lll_timedlock_elision, __lll_lock_elision)
12861         (__lll_unlock_elision, __lll_trylock_elision)
12862         (lll_timedlock_elision, lll_lock_elision)
12863         (lll_unlock_elision, lll_trylock_elision): Add.
12864         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12865         (pthread_mutex_t): Add lock elision support for s390.
12867 2014-05-14  Wilco  <wdijkstr@arm.com>
12869         * sysdeps/arm/fclrexcpt.c: Cleanup.
12870         * sysdeps/arm/fedisblxcpt.c: Cleanup.
12871         * sysdeps/arm/feenablxcpt.c: Cleanup.
12872         * sysdeps/arm/fegetenv.c: Cleanup.
12873         * sysdeps/arm/fegetexcept.c: Cleanup.
12874         * sysdeps/arm/fegetround.c: Cleanup.
12875         * sysdeps/arm/feholdexcpt.c: Cleanup.
12876         * sysdeps/arm/fesetenv.c: Cleanup.
12877         * sysdeps/arm/fesetround.c: Cleanup.
12878         * sysdeps/arm/feupdateenv.c: Cleanup.
12879         * sysdeps/arm/fgetexcptflg.c: Cleanup.
12880         * sysdeps/arm/fraiseexcpt.c: Cleanup.
12881         * sysdeps/arm/fsetexcptflg.c: Cleanup.
12882         * sysdeps/arm/ftestexcept.c: Cleanup.
12883         * sysdeps/arm/get-rounding-mode.h: Cleanup.
12884         * sysdeps/arm/setfpucw.c: Cleanup.
12886 2014-05-09  Will Newton  <will.newton@linaro.org>
12888         * sysdeps/arm/armv7/strcmp.S: New file.
12889         * NEWS: Mention addition of ARMv7 optimized strcmp.
12891 2014-05-08  Roland McGrath  <roland@hack.frob.com>
12893         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12894         look for %.ac rather than %.in.
12896         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12897         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12898         * sysdeps/mach/hurd/configure: Regenerated.
12899         * sysdeps/unix/sysv/linux/configure: Regenerated.
12901         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12903 2014-05-07  Steve Ellcey  <sellcey@mips.com>
12905         [BZ# 16922]
12906         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12907         (LONG_SUB): Ditto.
12908         (PTR_SUB): Ditto.
12910 2014-05-07  Andreas Schwab  <schwab@suse.de>
12912         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12913         when skipping over non-matching result from nscd.
12915 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
12917         [BZ #16876]
12918         * nptl/sockperf.c (client): Check socket return value.
12920         [BZ #16877]
12921         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12922         nscd security class.
12924 2014-05-06  Roland McGrath  <roland@hack.frob.com>
12926         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12927         * sysdeps/arm/unwind.h: ... here.
12929 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
12931         [BZ# 16916]
12932         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12933         Define.
12935 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12937         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12938         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12939         multiarch strncpy for PPC64.
12940         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12941         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12942         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12943         multiarch optimizations.
12944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12945         (__libc_ifunc_impl_list): Likewise.
12946         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12947         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12948         multiarch stpncpy for PPC64.
12949         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12950         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12952 2014-05-06  Andreas Schwab  <schwab@suse.de>
12954         [BZ #16912]
12955         * gmon/mcount.c (_MCOUNT_DECL): Use
12956         atomic_compare_and_exchange_bool_acq instead of
12957         catomic_compare_and_exchange_bool_acq.
12959 2014-05-05  Roland McGrath  <roland@hack.frob.com>
12961         * elf/Makefile (others, install-bin): Remove pldd.
12962         (pldd-modules): Variable removed.
12963         ($(objpfx)pldd): Target removed.
12964         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12965         (others, install-bin): Append pldd here.
12966         ($(objpfx)pldd): New target.
12968         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12969         to 0, so the first #if test emitted later doesn't see it undefined.
12970         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12971         * sysdeps/gnu/errlist.c: Regenerated.
12973 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12975         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12976         [libc_hidden_builtin_def]: Define to empty value.
12977         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12978         [libc_hidden_builtin_def]: Likewise.
12979         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12980         [libc_hidden_builtin_def]: Likewise.
12981         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12982         [libc_hidden_builtin_def]: Likewise.
12983         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12984         __redirect_memcpy and define ifunc as default hidden symbol.
12985         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12986         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12988 2014-05-04  Adam Conrad  <adconrad@0c3.net>
12990         * locale/iso-4217.def: Reintroduce XDR currency.
12992 2014-05-04  Allan McRae  <allan@archlinux.org>
12994         * po/eo.po: Update Esperanto translation from translation project.
12996 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
12998         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12999         and FEATURE_INDEX_MAX to 1.
13000         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13002 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13004         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13005         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13006         * iconvdata/big5.c (ONE_DIRECTION): Define.
13007         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13008         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13009         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13010         * iconvdata/cp932.c (ONE_DIRECTION): Define.
13011         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13012         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13013         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13014         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13015         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13016         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13017         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13018         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13019         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13020         * iconvdata/gbk.c (ONE_DIRECTION): Define.
13021         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13022         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13023         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13024         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13025         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13026         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13027         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13028         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13029         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13030         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13031         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13032         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13033         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13034         * iconvdata/iso646.c (ONE_DIRECTION): Define.
13035         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13036         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13037         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13038         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13039         * iconvdata/johab.c (ONE_DIRECTION): Define.
13040         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13041         * iconvdata/sjis.c (ONE_DIRECTION): Define.
13042         * iconvdata/t.61.c (ONE_DIRECTION): Define.
13043         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13044         * iconvdata/tscii.c (ONE_DIRECTION): Define.
13045         * iconvdata/uhc.c (ONE_DIRECTION): Define.
13046         * iconvdata/unicode.c (ONE_DIRECTION): Define.
13047         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13048         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13049         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13051 2014-05-01  Roland McGrath  <roland@hack.frob.com>
13053         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13054         (_IO_JUMPS_OFFSET): Define to 0.
13056         * nptl/sysdeps/pthread/bits/libc-lock.h
13057         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13058         (__libc_lock_define_initialized_recursive): Always define using
13059         initializer.  Modern compilers treat uninitialized (implicit zero) and
13060         explicit zero initializers the same (i.e. put the datum in bss).
13062 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13064         * nscd/nscd-client.h: Include <string.h>.
13066 2014-05-01  David S. Miller  <davem@davemloft.net>
13068         [BZ #16885]
13069         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13070         multiple zero bytes exist at the end of a string.
13071         Reported by Aurelien Jarno <aurelien@aurel32.net>
13073         * string/test-strcmp.c (check): Add explicit test for situations where
13074         there are multiple zero bytes after the first.
13076 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13078         [BZ #16890]
13079         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13080         when compiling wprintf.
13081         * stdio-common/tstdiomisc.c (t3): New function.
13082         (main): Call it.
13084 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13086         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13087         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13088         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13089         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13091 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13093         * stdlib/longlong.h: Updated from GCC.
13095 2014-05-01  Will Newton  <will.newton@linaro.org>
13096             Bernard Ogden  <bernie.ogden@linaro.org>
13098         * NEWS: Update fixed bug list.
13100         [BZ #15119]
13101         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13103 2014-04-30  David S. Miller  <davem@davemloft.net>
13105         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13106         (libc_feholdexcept_setround_sparc_ctx): New function.
13107         (libc_fesetenv_sparc_ctx): Likewise.
13108         (libc_feupdateenv_sparc_ctx): Likewise.
13109         (libc_feholdsetround_sparc_ctx): Likewise.
13110         (libc_feholdexcept_setround_ctx): Define.
13111         (libc_feholdexcept_setroundf_ctx): Likewise.
13112         (libc_feholdexcept_setroundl_ctx): Likewise.
13113         (libc_fesetenv_ctx): Likewise.
13114         (libc_fesetenvf_ctx): Likewise.
13115         (libc_fesetenvl_ctx): Likewise.
13116         (libc_feupdateenv_ctx): Likewise.
13117         (libc_feupdateenvf_ctx): Likewise.
13118         (libc_feupdateenvl_ctx): Likewise.
13119         (libc_feresetround_ctx): Likewise.
13120         (libc_feresetroundf_ctx): Likewise.
13121         (libc_feresetroundl_ctx): Likewise.
13122         (libc_feholdsetround_ctx): Likewise.
13123         (libc_feholdsetroundf_ctx): Likewise.
13124         (libc_feholdsetroundl_ctx): Likewise.
13126         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13127         with __USE_GNU instead of XOPEN cpp guards.
13129         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13130         0.
13132         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13133         with XOPEN cpp guards.
13135 2014-04-30  Julian Brown  <julian@codesourcery.com>
13137         [BZ #16888]
13138         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13139         handling.
13141 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
13143         [BZ #9894]
13144         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13145         Change to 2.6.32.
13146         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13147         * sysdeps/unix/sysv/linux/configure: Regenerated.
13148         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13149         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13150         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13151         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13152         * README: Update reference to required Linux kernel version.
13153         * manual/install.texi (Linux): Update reference to required Linux
13154         kernel headers version.
13155         * INSTALL: Regenerated.
13157         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13158         header inclusion.
13159         [POSIX] (limits.h): Likewise.
13160         [POSIX] (math.h): Likewise.
13161         [POSIX] (sys/wait.h): Likewise.
13162         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13163         function.
13164         [POSIX] (stddef.h): Do not allow header inclusion.
13166 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13168         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13170 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
13172         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13173         Return immediately after lll_futex_wake.
13175 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13177         [BZ #16791]
13178         * nscd/nscd-client.h (datahead_init_common): Initialize entire
13179         structure.
13180         (datahead_init_pos): Call datahead_init_common early.
13181         (datahead_init_neg): Likewise.
13183         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13184         datahead_init_neg): New functions.
13185         * nscd/aicache.c (addhstaiX): Use them.
13186         * nscd/grpcache.c (cache_addgr): Likewise.
13187         * nscd/hstcache.c (cache_addhst): Likewise.
13188         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13189         * nscd/netgroupcache.c (do_notfound): Likewise.
13190         (addgetnetgrentX): Likewise.
13191         (addinnetgrX): Likewise.
13192         * nscd/pwdcache.c (cache_addpw): Likewise.
13193         * nscd/servicescache.c (cache_addserv): Likewise.
13195 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13196             Atsushi Onoe  <atsushi@onoe.org>
13198         [BZ #14308]
13199         [BZ #12994]
13200         [BZ #13651]
13201         * resolv/res_query.c (__libc_res_nsearch): Return if at least
13202         one response is valid.
13203         * resolv/res_send.c (send_dg): Check for validity of other
13204         response if the current response is a referral.
13206 2014-04-29  Steve Ellcey  <sellcey@mips.com>
13208         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13210 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
13212         [BZ #16823]
13213         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13214         Always divide by positive zero when computing -Inf result.
13215         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13216         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13218 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13220         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13221         FPSCR if value do not change.
13222         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13223         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13224         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13225         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13226         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13227         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13228         function.
13230 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
13232         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13233         * sysdeps/unix/sysv/linux/hppa: Move directory from
13234         ports/systeps/unix/sysv/linux/hppa.
13235         * README: Update listing for hppa-*-linux-gnu.
13237 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
13239         [BZ #16754]
13240         * manual/stdio.texi (Hook functions): Fix types of stream hook
13241         functions.
13242         [BZ #16854]
13243         * socket/sys/socket.h: Fix typo in comment.
13245 2014-04-28  Wilco  <wdijkstr@arm.com>
13247         * sysdeps/arm/fenv_private.h: New file.
13248         * sysdeps/arm/math_private.h: New file.
13249         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13251 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
13253         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13254         with __int128_t.
13255         (La_x86_64_retval): Likewise.
13257 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
13259         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13260         fpsr if value didn't change.
13261         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13262         to fpcr if value didn't change.
13263         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13264         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13265         fpsr or fpcr if value didn't change.
13266         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13267         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13268         fpcr if value didn't change.
13269         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13270         to fpsr if value didn't change.
13272 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13274         * nptl/tst-sem3.c: Use test-skeleton.c
13275         (main): Rename to do_test.  Use return instead of
13276         exit.
13277         * nptl/tst-sem4.c: Use test-skeleton.c
13278         (main): Rename to do_test.
13280 2014-04-22  David S. Miller  <davem@davemloft.net>
13282         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13283         (struct sigaction): New struct member __glibc_reserved0, change
13284         type of sa_flags to int.
13286 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
13288         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13289         (COUNT_LEADING_ZEROS_0): Define for AArch64.
13291 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13293         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13294         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13296 2014-04-22  Will Newton  <will.newton@linaro.org>
13297             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
13299         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13300         (__longjmp): Add longjmp and longjmp_target SystemTap
13301         probes.
13302         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13303         (__sigsetjmp): Add setjmp SystemTap probe.
13305 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
13307         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13308         match manual order.
13310 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13312         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13314         * sysdeps/powerpc/fpu/fenv_private.h
13315         (libc_feholdexcept_setroundl_ctx): Define to
13316         libc_feholdexcept_setround_ppc_ctx.
13317         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13318         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13319         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13320         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13322 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13324         * sysdeps/aarch64/math-tests.h: New file.
13326 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
13328         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13329         New.
13330         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13331         Check and set bit_AVX2_Usable.
13332         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13333         macro.
13334         (bit_AVX2): Likewise.
13335         (index_AVX2_Usable): Likewise.
13336         (CPUID_AVX2): Likewise.
13337         (HAS_AVX2): Likewise.
13339 2014-04-17  Will Newton  <will.newton@linaro.org>
13341         * manual/setjmp.texi (System V contexts): Add note that
13342         calling setcontext on a context created by a call to a
13343         signal handler is undefined.  Update text to note that
13344         setcontext from a signal handler is possible but not
13345         recommended.
13347         [BZ #16629]
13348         * stdlib/tst-setcontext.c: Include signal.h.
13349         (main): Check that the signal stack before and
13350         after swapcontext is the same.
13352         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13353         Re-implement to restore registers in user code and avoid
13354         rt_sigreturn system call.
13356 2014-04-17  Wilco  <wdijkstr@arm.com>
13358         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13359         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13360         * math/test-fenv.c: Skip exception trap tests on targets which only
13361         support non-stop mode.
13363 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13364             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13366         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13367         (libc_feholdsetround_aarch64_ctx)
13368         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13369         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13370         (libc_feresetround_ctx, libc_feresetroundf_ctx)
13371         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13372         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13373         (libc_feresetround_noexl_ctx): Define.
13375 2014-04-16  Richard Henderson  <rth@redhat.com>
13377         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13379         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13380         unwind tables.
13382         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13383         const from the non-libc, non-ldso copy.
13385         * sysdeps/alpha/libm-test-ulps: Regenerate.
13387 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
13388             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13390         * sysdeps/aarch64/fpu/math_private.h: New file.
13392 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13394         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13396 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
13398         [BZ #16275]
13399         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13400         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13401         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13402         Intel MPX bound registers before _dl_profile_fixup.
13403         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13404         registers after _dl_profile_fixup.  Save and restore bound
13405         registers bnd0/bnd1 when calling _dl_call_pltexit.
13406         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13407         (LR_BND_OFFSET): Likewise.
13408         (LRV_BND0_OFFSET): Likewise.
13409         (LRV_BND1_OFFSET): Likewise.
13411 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13413         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13414         to...
13415         * sysdeps/mach/hurd/i386/tls.h: ... here.
13416         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13417         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13418         fields.
13420 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13422         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13424 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13426         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13428 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13430         [BZ #14770]
13431         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13432         * sysdeps/s390/configure: Regenerate.
13434         [BZ #16824]
13435         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13436         Set round-to-nearest internally to reduce error accumulation.
13438 2014-04-16  Alan Modra  <amodra@gmail.com>
13440         [BZ #16740]
13441         [BZ #16619]
13442         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13443         * math/libm-test.inc (frexp_test_data): Add tests.
13444         * NEWS: Update fixed bug list.
13446 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13448         * benchtests/Makefile: Depend on libraries in build directory.
13449         (bench-math): Separate out math tests.
13450         (bench-pthread): Separate out pthread tests.
13451         (bench): Include math and pthread tests.
13453 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
13455         [BZ #16831]
13456         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13457         _dl_debug_initialize.
13459         * configure.ac: Remove SELinux header check.
13460         * configure: Regenerate.
13461         * nscd/selinux.c (perms): Array of const char* to permission names.
13462         (nscd_request_avc_has_perm): Call security_deny_unknown to find
13463         default policy. Call string_to_security_class and string_to_av_perm to
13464         translate strings. Enforce default policy and call avs_has_perm with
13465         results of translated strings.
13467 2014-04-13  David S. Miller  <davem@davemloft.net>
13469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13471 2014-04-12  Allan McRae  <allan@archlinux.org>
13473         [BZ #16838]
13474         * manual/string.texi (Collation Functions): Fix qsort argument
13475         order in example.
13476         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13478 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
13480         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13481         Make the test a no-op if there are no exceptions defined.
13483 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13485         * elf/Makefile (tests): make tst-dlopen-aout conditional on
13486         enable-hardcoded-path-in-tests
13488 2014-04-11  Will Newton  <will.newton@linaro.org>
13490         * benchtests/Makefile (extra-objs): Add json-lib.o.
13491         (bench-func): Tidy up JSON output.
13492         * benchtests/bench-skeleton.c: Include json-lib.h.
13493         (main): Use JSON library functions to do output of
13494         benchmark results.
13495         * benchtests/bench-timing-type.c (main): Output the
13496         timing type simply, leaving formatting to the user.
13497         * benchtests/json-lib.c: New file.
13498         * benchtests/json-lib.h: Likewise.
13500 2014-04-11  Torvald Riegel  <triegel@redhat.com>
13502         [BZ #15215]
13503         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13504         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
13505         memory barriers.  Add comments.
13506         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13507         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13508         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13509         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13510         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13511         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13513 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13515         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13516         * sysdeps/s390/s390-64/configure.ac: ... this ...
13517         * sysdeps/s390/configure.ac: ... to here.
13518         * sysdeps/s390/s390-32/configure: Delete file.
13519         * sysdeps/s390/s390-64/configure: Delete file.
13520         * sysdeps/s390/configure: Regenerate.
13522 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
13524         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13526 2014-04-11  Will Newton  <will.newton@linaro.org>
13528         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13529         to zero if it is not defined elsewhere.  (mtrim): Test
13530         the value of MALLOC_DEBUG with #if rather than #ifdef.
13532 2014-04-10 Torvald Riegel  <triegel@redhat.com>
13534         * benchtests/pthread_once-inputs: New file.
13535         * benchtests/pthread_once-source.c: New file.
13536         * benchtests/README: Update documentation.
13538 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13539             H.J. Lu  <hongjiu.lu@intel.com>
13541         [BZ #16275]
13542         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13543         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13544         * sysdeps/x86_64/configure: Regenerated.
13545         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13546         macro.
13547         (REGISTER_SAVE_RAX): Likewise.
13548         (REGISTER_SAVE_RCX): Likewise.
13549         (REGISTER_SAVE_RDX): Likewise.
13550         (REGISTER_SAVE_RSI): Likewise.
13551         (REGISTER_SAVE_RDI): Likewise.
13552         (REGISTER_SAVE_R8): Likewise.
13553         (REGISTER_SAVE_R9): Likewise.
13554         (REGISTER_SAVE_BND0): Likewise.
13555         (REGISTER_SAVE_BND1): Likewise.
13556         (REGISTER_SAVE_BND2): Likewise.
13557         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
13558         bound registers when calling _dl_fixup.
13560 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13562         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13563         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13564         of its definition.
13565         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13566         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13567         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13568         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13569         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13570         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13571         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13573 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
13575         [BZ #15514]
13576         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13577         pathconf(_PC_NAME_MAX).
13579 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13581         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13582         Remove macro usage.
13583         (__PTHREAD_SPINS): Move definition to ...
13584         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13585         (__PTHREAD_SPINS): ... here.
13586         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13587         (__PTHREAD_SPIN): Likewise.
13588         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13589         (__PTHREAD_SPIN): Likewise.
13590         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13591         (__PTHREAD_SPIN): Likewise.
13592         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13593         (__PTHREAD_SPIN): Likewise.
13594         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13595         (__PTHREAD_SPIN): Likewise.
13596         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13597         (__PTHREAD_SPIN): Likewise.
13598         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13599         (__PTHREAD_SPIN): Likewise.
13600         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13601         (__PTHREAD_SPIN): Likewise.
13602         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13603         (__PTHREAD_SPIN): Likewise.
13604         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13605         (__PTHREAD_SPIN): Likewise.
13606         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13607         (__PTHREAD_SPIN): Likewise.
13608         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13609         (__PTHREAD_SPIN): Likewise.
13611         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13612         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13613         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13614         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13615         imply folder.
13616         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13617         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13618         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13619         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13620         correct imply path.
13621         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13622         strlen symbol for non multi-arch builds.
13623         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13624         missing hidden_def and weak_alias.
13626 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
13628         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13630 2014-04-07  Will Newton  <will.newton@linaro.org>
13632         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13633         and contents.  [!_LIBC] Remove #ifndef and contents.
13634         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
13635         * string/memccpy.c (__memccpy): Use ANSI prototype.
13636         * string/memfrob.c (memfrob): Likewise.
13637         * string/strcoll.c (STRCOLL): Likewise.
13638         * string/strlen.c (strlen): Likewise.
13639         * string/strtok.c (STRTOK): Likewise.
13640         * string/strcat.c: Remove unused #include of memcopy.h.
13641         (strcat): Use ANSI prototype.
13642         * string/strchr.c: Remove unused #include of memcopy.h.
13643         (strchr): Use ANSI prototype.
13644         * string/strcmp.c: Remove unused #include of memcopy.h.
13645         (strcmp): Use ANSI prototype.
13646         * string/strcpy.c: Remove unused #include of memcopy.h.
13647         (strcpy): Use ANSI prototype.
13649 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13651         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13652         * config.make.in (config-extra-cppflags): Set it from
13653         libc_extra_cppflags.
13654         * configure.ac (libc_extra_cflags): Make it accumulate over
13655         configure fragments.
13656         (libc_extra_cppflags): New flag.
13657         * configure. Regenerate.
13658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13659         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13660         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13663         [BZ #16815]
13664         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13665         result for FE_DOWNWARD rounding mode.
13666         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13667         Likewise.
13668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13670 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
13672         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13673         in function argument name.
13675 2014-04-03  David Svoboda  <svoboda@cert.org>
13677         [BZ #5666]
13678         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13679         explicitly.
13681 2014-04-03  Roland McGrath  <roland@hack.frob.com>
13683         * elf/dl-unmap-segments.h: New file.
13684         * sysdeps/generic/ldsodefs.h
13685         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13686         * elf/dl-close.c: Include <dl-unmap-segments.h>.
13687         * elf/dl-fptr.c: Likewise.
13688         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13689         * sysdeps/aarch64/tlsdesc.c: Likewise.
13690         * sysdeps/arm/tlsdesc.c: Likewise.
13691         * sysdeps/i386/tlsdesc.c: Likewise.
13692         * sysdeps/tile/dl-runtime.c: Likewise.
13693         * sysdeps/x86_64/tlsdesc.c: Likewise.
13694         * elf/dl-load.h: New file.
13695         * elf/dl-load.c: Include it.
13696         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13697         Macros moved to dl-load.h.
13698         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13699         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13700         Use _dl_unmap_segments in place of __munmap.
13701         Break out segment-mapping loop into ...
13702         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13704 2014-04-03  Will Newton  <will.newton@linaro.org>
13706         * elf/dl-lookup.c (do_lookup_x): Remove comment
13707         referring to nested function and move variable
13708         declarations down to before first use.
13710 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
13712         [BZ #16799]
13713         [BZ #16800]
13714         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13715         with 0 numerator.
13716         * math/s_catanf.c (__catanf): Likewise.
13717         * math/s_catanh.c (__catanh): Likewise.
13718         * math/s_catanhf.c (__catanhf): Likewise.
13719         * math/s_catanhl.c (__catanhl): Likewise.
13720         * math/s_catanl.c (__catanl): Likewise.
13721         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13722         by positive zero when computing -Inf result.
13723         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13724         (catanh_test): Likewise.
13725         * sysdeps/i386/fpu/libm-test-ulps: Update.
13726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13728         [BZ #16789]
13729         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13730         instead of using underflowing value in computing result.
13731         * math/s_clog10.c (__clog10): Likewise.
13732         * math/s_clog10f.c (__clog10f): Likewise.
13733         * math/s_clog10l.c (__clog10l): Likewise.
13734         * math/s_clogf.c (__clogf): Likewise.
13735         * math/s_clogl.c (__clogl): Likewise.
13736         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13737         (clog10_test): Likewise.
13738         * sysdeps/i386/fpu/libm-test-ulps: Update.
13739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13741 2014-04-02  Alan Modra  <amodra@gmail.com>
13743         [BZ #16739]
13744         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13745         output when value is near a power of two.  Use int64_t for lx and
13746         remove casts.  Use decimal rather than hex exponent constants.
13747         Don't use long double multiplication when double will suffice.
13748         * math/libm-test.inc (nextafter_test_data): Add tests.
13749         * NEWS: Add 16739 and 16786 to bug list.
13751         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13753         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13755 2014-04-01  Will Newton  <will.newton@linaro.org>
13757         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13758         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
13760 2014-04-01  Florian Weimer  <fweimer@redhat.com>
13762         [BZ #13347]
13763         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13764         * nptl/tst-setuid2.c: New file.
13765         * nptl/Makefile (xtests): Add tst-setuid2.
13767 2014-04-01  Alan Modra  <amodra@gmail.com>
13769         [BZ #16786]
13770         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13772 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13774         [BZ #6803]
13775         [BZ #6804]
13776         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13777         set errno as appropriate.
13778         * math/w_scalbf.c (__scalbf): Likewise.
13779         * math/w_scalbl.c (__scalbl): Likewise.
13780         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13781         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13782         * math/libm-test.inc (scalb_test_data): Add errno expectations.
13783         Add more NaN tests.
13785         [BZ #16349]
13786         * math/w_atan2.c: Include <errno.h>.
13787         (__atan2): Set errno for result underflowing to zero.
13788         * math/w_atan2f.c: Include <errno.h>.
13789         (__atan2f): Set errno for result underflowing to zero.
13790         * math/w_atan2l.c: Include <errno.h>.
13791         (__atan2l): Set errno for result underflowing to zero.
13792         * math/auto-libm-test-in: Don't allow missing errno for some atan2
13793         tests.
13794         * math/auto-libm-test-out: Regenerated.
13796 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13798         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13799         Encode instruction correctly in little endian.
13800         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13801         Likewise.
13802         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13803         Likewise.
13804         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13805         Likewise.
13806         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13807         Likewise.
13809 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13811         [BZ #9894]
13812         * sysdeps/unix/sysv/linux/kernel-features.h
13813         [__sparc__ && !__arch64__ && !__sparc_v9__]
13814         (__ASSUME_SET_ROBUST_LIST): Do not define.
13815         [__sparc__ && !__arch64__ && !__sparc_v9__]
13816         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13817         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13818         Likewise.
13819         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13820         (__ASSUME_FUTEX_LOCK_PI): Undefine.
13821         (__ASSUME_REQUEUE_PI): Likewise.
13822         (__ASSUME_SET_ROBUST_LIST): Likewise.
13823         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13824         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13825         Undefine.
13826         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13827         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13828         Likewise.
13829         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13830         Likewise.
13831         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13832         Likewise.
13833         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13834         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13835         Undefine.
13836         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13837         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13838         Likewise.
13840         [BZ #16648]
13841         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13842         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13843         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13845 2014-03-31  Will Newton  <will.newton@linaro.org>
13847         * benchtests/Makefile (bench): Add ffs and ffsll to list
13848         of tests.
13849         * benchtests/ffs-inputs: New file.
13850         * benchtests/ffsll-inputs: Likewise.
13852 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
13854         [BZ #16770]
13855         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13856         too large before casting to int.
13857         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13858         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13859         * math/libm-test.inc (scalb_test_data): Add more tests.
13861 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13863         * benchtests/Makefile (DETAILED_OPT): New make option.
13864         (bench-func): Run benchmark program with -d if DETAILED_OPT is
13865         set.
13866         * benchtests/bench-skeleton.c: Include stdbool.h.
13867         (main): Store and print timings per input.
13868         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13869         member to each argument value.
13870         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13871         (_print_arg_data): Initialize per-input timing to 0.
13873         * benchtests/Makefile (timing-type): New binary.
13874         (bench-clean): Also remove bench-timing-type.
13875         (bench): New target for timing-type.
13876         (bench-func): Print output in JSON format.
13877         * benchtests/bench-skeleton.c (main): Print output in JSON
13878         format.
13879         * benchtests/bench-timing-type.c: New file.
13880         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13881         (TIMING_PRINT_STATS): Remove.
13882         * benchtests/scripts/bench.py (_print_arg_data): Store variant
13883         name separately.
13885         * benchtests/bench-modf.c: Remove.
13886         * benchtests/modf-inputs: New inputs file.
13888 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
13890         [BZ #16362]
13891         * math/s_clog10.c (M_PI_LOG10E): New macro.
13892         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13893         imaginary parts are 0.
13894         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13895         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13896         imaginary parts are 0.
13897         * math/s_clog10l.c (M_PI_LOG10El): New macro.
13898         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13899         imaginary parts are 0.
13900         * math/libm-test.inc (clog10_test_data): Update expected results
13901         for when real and imaginary parts are 0.
13903 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
13905         * elf/dl-load.c: Finish conversion of __builtin_expect into
13906         __glibc_{un}likely.
13908 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
13910         [BZ #16348]
13911         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13912         1+x for argument with exponent below -67.
13913         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13914         Likewise.
13915         * math/auto-libm-test-in: Add more tests of exp.
13916         * math/auto-libm-test-out: Regenerated.
13918 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13920         [BZ #16759]
13921         * inet/getnetgrent_r.c (get_nonempty_val): New function.
13922         (nscd_getnetgrent): Use it.
13924         [BZ #16760]
13925         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13926         of stpcpy.
13928 2014-03-27  Andi Kleen  <ak@linux.intel.com>
13930         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13931         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13932         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13933         (lll_robust_unlock): Remove out of line section. Use cfi
13934         intrinsics.
13935         (LLL_STUB_UNWIND_INFO*): Remove.
13936         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13937         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13938         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13939         (lll_robust_unlock): Remove out of line section. Use cfi
13940         intrinsics.
13941         (LLL_STUB_UNWIND_INFO*): Remove.
13943 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13945         [BZ #16758]
13946         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13947         blank values.
13949 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13951         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13953 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
13955         [BZ #16198]
13956         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13957         fnstenv.
13958         * math/test-fenv-preserve.c: New file.
13959         * math/Makefile (tests): Add test-fenv-preserve.
13961 2014-03-26  Will Newton <will.newton@linaro.org>
13963         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13965 2014-03-25  Roland McGrath  <roland@hack.frob.com>
13967         * scripts/versionlist.awk: Partition the version sets and emit all
13968         GLIBC_* (sorted) before all others (sorted).
13970 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13972         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13973         GLIBC_2.2.5 version.
13975 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13977         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13978         calls.
13980         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13981         previous change.
13983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13985 2014-03-25  Andreas Schwab  <schwab@suse.de>
13987         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13988         label to be used after in6ailist is initialized.
13990 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13992         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13993         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13995 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13997         [BZ #16357]
13998         [BZ #16599]
13999         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14000         min_plus_half.
14001         (fp_formats): Update initializers.
14002         (init_fp_formats): Initialize new field.
14003         (output_for_one_input_case): Allow underflow for results up to
14004         min_plus_half.
14005         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14006         * math/auto-libm-test-in: Don't mark some underflows from asin and
14007         atanh as spurious.
14008         * math/auto-libm-test-out: Regenerated.
14009         * sysdeps/i386/fpu/libm-test-ulps: Update.
14010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14012 2014-03-25  Andreas Schwab  <schwab@suse.de>
14014         * libio/Makefile (tst-ftell-partial-wide-ENV)
14015         (tst-ftell-active-handler-ENV): Define.
14017 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
14019         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14021 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14023         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14025 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14027         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14028         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14029         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14031 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14033         [BZ #16634]
14034         * elf/dl-load.c (open_verify): Add mode parameter.
14035         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14036         (open_path): Change from boolean 'secure' to complete flag 'mode'
14037         (_dl_map_object): Adjust.
14038         * elf/Makefile (tests): Add tst-dlopen-aout.
14039         * elf/tst-dlopen-aout.c: New test.
14041 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
14043         [BZ #16714]
14044         * sysdeps/unix/sysv/linux/s390/bits/stat.h
14045         (struct stat): Rename member pad0 to __glibc_reserved0.
14047         [BZ #16712]
14048         * sysdeps/s390/s390-32/bits/wordsize.h
14049         (__WORDSIZE32_SIZE_ULONG): New define.
14050         * sysdeps/s390/s390-64/bits/wordsize.h
14051         (__WORDSIZE32_SIZE_ULONG): Likewise.
14052         * sysdeps/generic/stdint.h (SIZE_MAX):
14053         Define as UL if __WORDSIZE32_SIZE_ULONG.
14055         [BZ #16713]
14056         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14057         (__glibc_reserved0): New variable.
14058         (sa_flags): Change type to int.
14060         * posix/Makefile (before-compile): Use += before-compile instead
14061         of a :=.
14063         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14064         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14066 2014-03-20  Andreas Schwab  <schwab@suse.de>
14068         [BZ #16743]
14069         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14070         non-matching result from nscd.
14072 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14074         * scripts/bench.py: Moved to ...
14075         * benchtests/scripts/bench.py: ... here.
14076         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14078 2014-03-24  Andreas Schwab  <schwab@suse.de>
14080         [BZ #16002]
14081         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14082         alloca_account and account alloca use for struct in6ailist.
14084 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14086         [BZ #16284]
14087         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14088         rounding mode to recompute results that overflow to infinity or
14089         underflow to zero.
14090         * math/auto-libm-test-in: Don't mark tests as expected to fail for
14091         bug 16284.
14092         * math/auto-libm-test-out: Regenerated.
14093         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14094         (ccosh_test): Likewise.
14095         (csin_test_data): Use plus_oflow.
14096         (csin_test): Use ALL_RM_TEST.
14097         (csinh_test_data): Use plus_oflow.
14098         (csinh_test): Use ALL_RM_TEST.
14099         * sysdeps/i386/fpu/libm-test-ulps: Update.
14100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14102 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
14104         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14105         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14106         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14108         [BZ #16731]
14109         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14110         when x - 1 is zero.
14111         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14112         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14113         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14114         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14115         argument is 1.
14116         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14117         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14118         zero.
14119         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14120         * sysdeps/i386/fpu/libm-test-ulps: Update.
14121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14123 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14125         * scripts/bench.pl: Remove file.
14126         * scripts/bench.py: New benchmark script.
14127         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14128         * benchtests/README: Mention python dependency.
14129         * scripts/pylintrc: New file.
14130         * scripts/pylint: New file.
14132         * bits/mathdef.h: Use #ifdef instead of #if.
14133         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14134         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14135         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14136         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14137         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14138         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14140 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14141             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14143         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14144         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14145         and strpbrk-ppc64 objects.
14146         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14147         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14148         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14149         multiarch strpbrk for POWER7.
14150         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14151         multiarch strpbrk for PPC64.
14152         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14153         ifunc selector.
14154         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14155         strpbrk for POWER7.
14157 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14159         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14160         (atan_test): Likewise.
14161         (atanh_test_data): Use NO_TEST_INLINE for two tests.
14162         (atanh_test): Use ALL_RM_TEST.
14163         (atan2_test_data): Likewise.
14164         (cabs_test): Likewise.
14165         (cacosh_test): Likewise.
14166         (carg_test): Likewise.
14167         (casin_test): Likewise.
14168         (casinh_test): Likewise.
14169         (cbrt_test): Likewise.
14170         (csqrt_test): Likewise.
14171         (erf_test): Likewise.
14172         (erfc_test): Likewise.
14173         (pow10_test): Likewise.
14174         (exp2_test): Likewise.
14175         (hypot_test): Likewise.
14176         (j0_test): Likewise.
14177         (j1_test): Likewise.
14178         (lgamma_test): Likewise.
14179         (gamma_test): Likewise.
14180         (sincos_test): Likewise.
14181         (tanh_test): Likewise.
14182         (y0_test): Likewise.
14183         (y1_test): Likewise.
14184         * sysdeps/i386/fpu/libm-test-ulps: Update.
14185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14187 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14189         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14191         and strcspn-ppc64 objects.
14192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14193         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14194         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14195         multiarch strcspn for POWER7.
14196         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14197         multiarch strcspn for PPC64.
14198         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14199         ifunc selector.
14200         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14201         strcspn for POWER7.
14203 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14205         * math/gen-libm-test.pl (generate_testfile): Expect only function
14206         name as argument to AUTO_TESTS_* and pass results for all rounding
14207         modes to parse_args.
14208         (parse_auto_input): Separate inputs of automatic tests from
14209         outputs before storing in %auto_tests.
14210         * math/libm-test.inc (acos_test_data): Update call to
14211         AUTO_TESTS_f_f.
14212         (acos_test): Use ALL_RM_TEST.
14213         (acos_tonearest_test_data): Remove.
14214         (acos_test_tonearest): Likewise.
14215         (acos_towardzero_test_data): Likewise.
14216         (acos_test_towardzero): Likewise.
14217         (acos_downward_test_data): Likewise.
14218         (acos_test_downward): Likewise.
14219         (acos_upward_test_data): Likewise.
14220         (acos_test_upward): Likewise.
14221         (acosh_test_data): Update call to AUTO_TESTS_f_f.
14222         (asin_test_data): Likewise.
14223         (asin_test): Use ALL_RM_TEST.
14224         (asin_tonearest_test_data): Remove.
14225         (asin_test_tonearest): Likewise.
14226         (asin_towardzero_test_data): Likewise.
14227         (asin_test_towardzero): Likewise.
14228         (asin_downward_test_data): Likewise.
14229         (asin_test_downward): Likewise.
14230         (asin_upward_test_data): Likewise.
14231         (asin_test_upward): Likewise.
14232         (asinh_test_data): Update call to AUTO_TESTS_f_f.
14233         (atan_test_data): Likewise.
14234         (atanh_test_data): Likewise.
14235         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14236         (cabs_test_data): Update call to AUTO_TESTS_c_f.
14237         (carg_test_data): Likewise.
14238         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14239         (ccos_test_data): Update call to AUTO_TESTS_c_c.
14240         (ccosh_test_data): Likewise.
14241         (cexp_test_data): Likewise.
14242         (clog_test_data): Likewise.
14243         (clog10_test_data): Likewise.
14244         (cos_test_data): Update call to AUTO_TESTS_f_f.
14245         (cos_test): Use ALL_RM_TEST.
14246         (cos_tonearest_test_data): Remove.
14247         (cos_test_tonearest): Likewise.
14248         (cos_towardzero_test_data): Likewise.
14249         (cos_test_towardzero): Likewise.
14250         (cos_downward_test_data): Likewise.
14251         (cos_test_downward): Likewise.
14252         (cos_upward_test_data): Likewise.
14253         (cos_test_upward): Likewise.
14254         (cosh_test_data): Update call to AUTO_TESTS_f_f.
14255         (cosh_test): Use ALL_RM_TEST.
14256         (cosh_tonearest_test_data): Remove.
14257         (cosh_test_tonearest): Likewise.
14258         (cosh_towardzero_test_data): Likewise.
14259         (cosh_test_towardzero): Likewise.
14260         (cosh_downward_test_data): Likewise.
14261         (cosh_test_downward): Likewise.
14262         (cosh_upward_test_data): Likewise.
14263         (cosh_test_upward): Likewise.
14264         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14265         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14266         (ctan_test_data): Likewise.
14267         (ctan_test): Use ALL_RM_TEST.
14268         (ctan_tonearest_test_data): Remove.
14269         (ctan_test_tonearest): Likewise.
14270         (ctan_towardzero_test_data): Likewise.
14271         (ctan_test_towardzero): Likewise.
14272         (ctan_downward_test_data): Likewise.
14273         (ctan_test_downward): Likewise.
14274         (ctan_upward_test_data): Likewise.
14275         (ctan_test_upward): Likewise.
14276         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14277         (ctanh_test): Use ALL_RM_TEST.
14278         (ctanh_tonearest_test_data): Remove.
14279         (ctanh_test_tonearest): Likewise.
14280         (ctanh_towardzero_test_data): Likewise.
14281         (ctanh_test_towardzero): Likewise.
14282         (ctanh_downward_test_data): Likewise.
14283         (ctanh_test_downward): Likewise.
14284         (ctanh_upward_test_data): Likewise.
14285         (ctanh_test_upward): Likewise.
14286         (erf_test_data): Update call to AUTO_TESTS_f_f.
14287         (erfc_test_data): Likewise.
14288         (exp_test_data): Likewise.
14289         (exp_test): Use ALL_RM_TEST.
14290         (exp_tonearest_test_data): Remove.
14291         (exp_test_tonearest): Likewise.
14292         (exp_towardzero_test_data): Likewise.
14293         (exp_test_towardzero): Likewise.
14294         (exp_downward_test_data): Likewise.
14295         (exp_test_downward): Likewise.
14296         (exp_upward_test_data): Likewise.
14297         (exp_test_upward): Likewise.
14298         (exp10_test_data): Update call to AUTO_TESTS_f_f.
14299         (exp10_test): Use ALL_RM_TEST.
14300         (exp10_tonearest_test_data): Remove.
14301         (exp10_test_tonearest): Likewise.
14302         (exp10_towardzero_test_data): Likewise.
14303         (exp10_test_towardzero): Likewise.
14304         (exp10_downward_test_data): Likewise.
14305         (exp10_test_downward): Likewise.
14306         (exp10_upward_test_data): Likewise.
14307         (exp10_test_upward): Likewise.
14308         (exp2_test_data): Update call to AUTO_TESTS_f_f.
14309         (expm1_test_data): Likewise.
14310         (expm1_test): Use ALL_RM_TEST.
14311         (expm1_tonearest_test_data): Remove.
14312         (expm1_test_tonearest): Likewise.
14313         (expm1_towardzero_test_data): Likewise.
14314         (expm1_test_towardzero): Likewise.
14315         (expm1_downward_test_data): Likewise.
14316         (expm1_test_downward): Likewise.
14317         (expm1_upward_test_data): Likewise.
14318         (expm1_test_upward): Likewise.
14319         (fma_test_data): Update call to AUTO_TESTS_fff_f.
14320         (fma_test): Use ALL_RM_TEST.
14321         (fma_towardzero_test_data): Remove.
14322         (fma_test_towardzero): Likewise.
14323         (fma_downward_test_data): Likewise.
14324         (fma_test_downward): Likewise.
14325         (fma_upward_test_data): Likewise.
14326         (fma_test_upward): Likewise.
14327         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14328         (j0_test_data): Update call to AUTO_TESTS_f_f.
14329         (j1_test_data): Likewise.
14330         (jn_test_data): Update call to AUTO_TESTS_if_f.
14331         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14332         (log_test_data): Update call to AUTO_TESTS_f_f.
14333         (log10_test_data): Likewise.
14334         (log1p_test_data): Likewise.
14335         (log2_test_data): Likewise.
14336         (pow_test_data): Update call to AUTO_TESTS_ff_f.
14337         (pow_tonearest_test_data): Likewise.
14338         (sin_test_data): Update call to AUTO_TESTS_f_f.
14339         (sin_test): Use ALL_RM_TEST.
14340         (sin_tonearest_test_data): Remove.
14341         (sin_test_tonearest): Likewise.
14342         (sin_towardzero_test_data): Likewise.
14343         (sin_test_towardzero): Likewise.
14344         (sin_downward_test_data): Likewise.
14345         (sin_test_downward): Likewise.
14346         (sin_upward_test_data): Likewise.
14347         (sin_test_upward): Likewise.
14348         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14349         (sinh_test_data): Update call to AUTO_TESTS_f_f.
14350         (sinh_test): Use ALL_RM_TEST.
14351         (sinh_tonearest_test_data): Remove.
14352         (sinh_test_tonearest): Likewise.
14353         (sinh_towardzero_test_data): Likewise.
14354         (sinh_test_towardzero): Likewise.
14355         (sinh_downward_test_data): Likewise.
14356         (sinh_test_downward): Likewise.
14357         (sinh_upward_test_data): Likewise.
14358         (sinh_test_upward): Likewise.
14359         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14360         (sqrt_test): Use ALL_RM_TEST.
14361         (sqrt_tonearest_test_data): Remove.
14362         (sqrt_test_tonearest): Likewise.
14363         (sqrt_towardzero_test_data): Likewise.
14364         (sqrt_test_towardzero): Likewise.
14365         (sqrt_downward_test_data): Likewise.
14366         (sqrt_test_downward): Likewise.
14367         (sqrt_upward_test_data): Likewise.
14368         (sqrt_test_upward): Likewise.
14369         (tan_test_data): Update call to AUTO_TESTS_f_f.
14370         (tan_test): Use ALL_RM_TEST.
14371         (tan_tonearest_test_data): Remove.
14372         (tan_test_tonearest): Likewise.
14373         (tan_towardzero_test_data): Likewise.
14374         (tan_test_towardzero): Likewise.
14375         (tan_downward_test_data): Likewise.
14376         (tan_test_downward): Likewise.
14377         (tan_upward_test_data): Likewise.
14378         (tan_test_upward): Likewise.
14379         (tanh_test_data): Update call to AUTO_TESTS_f_f.
14380         (tgamma_test_data): Likewise.
14381         (y0_test_data): Likewise.
14382         (y1_test_data): Likewise.
14383         (yn_test_data): Update call to AUTO_TESTS_if_f.
14384         (main): Do not call removed functions.
14386 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14388         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14389         (ldexp_test_data): Remove.
14390         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
14391         scalbn_test_data.
14392         (scalb_test): Use ALL_RM_TEST.
14394 2014-03-19  Andreas Schwab  <schwab@suse.de>
14396         * nscd/nscd.service: Also invalidate netgroup cache on reload.
14398 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14400         [BZ #16649]
14401         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14402         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14403         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14404         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14405         (__ASSUME_PREADV): Undefine.
14406         (__ASSUME_PWRITEV): Likewise.
14408 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14410         * bits/mman-linux.h: Add comment about non-Linux use.
14411         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14412         bits/mman-linux.h resting place.
14414         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14415         * bits/mman-linux.h: ... here.
14417 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14419         * conform/conformtest.pl: Add standard definition when calling C
14420         preprocessor on data files.
14421         (checknamespace): Remove unused variable.
14423 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14425         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14426         minus_oflow, plus_uflow and minus_uflow in expected results.
14427         * math/libm-test.inc (scalbn_test_data): Add more tests of
14428         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
14429         minus_uflow.
14430         (scalbn_test): Use ALL_RM_TEST.
14431         (scalbln_test_data): Add more tests of negative arguments.  Use
14432         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14433         (scalbln_test): Use ALL_RM_TEST.
14435 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14437         * scripts/abilist.awk: Ignore symbols marked with .hidden.
14439 2014-03-18  Will Newton  <will.newton@linaro.org>
14441         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14442         inaccurate comment.
14444 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14446         * Makerules [!subdir] (check-abi): Exit with error status if a
14447         test failed.
14449 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14451         * math/libm-test.inc (nearbyint_test_data): Include all tests used
14452         for rint.  Include results for all rounding modes.
14453         (nearbyint_test): Use ALL_RM_TEST.
14454         (rint_test_data): Include all tests used for nearbyint.
14456 2014-03-17  Will Newton  <will.newton@linaro.org>
14458         * nptl/sysdeps/pthread/pthread.h: Revert previous
14459         change.
14461         * sysdeps/generic/ldsodefs.h: Revert previous
14462         change.
14464         * libio/genops.c: Revert previous change.
14465         * libio/libioP.h: Likewise.
14466         * stdio-common/vfprintf.c: Likewise.
14468         * sysdeps/generic/math_private.h: Revert previous
14469         change.
14471         * sysdeps/generic/math_private.h: Check whether
14472         HAVE_RM_CTX is defined with #ifdef rather
14473         than #if.
14475         * argp/argp-fmtstream.h: Check whether
14476         __STRICT_ANSI__ is defined with #ifdef rather
14477         than #if.
14478         * argp/argp.h: Likewise.
14480         * libio/genops.c: Check whether
14481         _IO_JUMPS_OFFSET is defined with #ifdef rather
14482         than #if.
14483         * libio/libioP.h: Likewise.
14484         * stdio-common/vfprintf.c: Likewise.
14486         * sysdeps/generic/ldsodefs.h: Check whether
14487         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14488         than #if.
14490         * nptl/sysdeps/pthread/pthread.h: Check
14491         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14492         its value.
14494 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14496         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14497         setting O_APPEND.
14498         * libio/tst-ftell-active-handler.c (do_append_test): Add a
14499         test case.
14501         [BZ #16680]
14502         * libio/fileops.c (_IO_file_open): Seek to end of file but
14503         don't cache the offset.
14504         (get_file_offset): Remove function.
14505         (do_ftell): Use cached offset when available.
14506         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14507         don't cache the offset.
14508         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14509         case.
14510         (do_one_test): Call it.
14511         (do_ftell_test): Fix up expected old offset for a+ mode.
14512         * libio/wfileops.c (do_ftell_wide): Used cached offset when
14513         available.
14515         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14516         up test status with function return status.
14517         (do_write_test): Likewise.
14518         (do_append_test): Likewise.
14520         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14521         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14522         Remove.
14524 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14526         * math/gen-libm-test.pl (parse_args): Handle results specified for
14527         each rounding mode separately.
14528         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14529         tests and results from lrint_tonearest_test_data,
14530         lrint_towardzero_test_data, lrint_downward_test_data and
14531         lrint_upward_test_data.
14532         (lrint_test): Use ALL_RM_TEST.
14533         (lrint_tonearest_test_data): Remove.
14534         (lrint_test_tonearest): Likewise.
14535         (lrint_towardzero_test_data): Likewise.
14536         (lrint_test_towardzero): Likewise.
14537         (lrint_downward_test_data): Likewise.
14538         (lrint_test_downward): Likewise.
14539         (lrint_upward_test_data): Likewise.
14540         (lrint_test_upward): Likewise.
14541         (llrint_test_data): Merge in per-rounding-mode tests and results
14542         from llrint_tonearest_test_data, llrint_towardzero_test_data,
14543         llrint_downward_test_data and llrint_upward_test_data.
14544         (llrint_test): Use ALL_RM_TEST.
14545         (llrint_tonearest_test_data): Remove.
14546         (llrint_test_tonearest): Likewise.
14547         (llrint_towardzero_test_data): Likewise.
14548         (llrint_test_towardzero): Likewise.
14549         (llrint_downward_test_data): Likewise.
14550         (llrint_test_downward): Likewise.
14551         (llrint_upward_test_data): Likewise.
14552         (llrint_test_upward): Likewise.
14553         (rint_test_data): Merge in per-rounding-mode tests and results
14554         from rint_tonearest_test_data, rint_towardzero_test_data,
14555         rint_downward_test_data and rint_upward_test_data.  Add
14556         per-rounding-mode results for tests not in those arrays.
14557         (rint_test): Use ALL_RM_TEST.
14558         (rint_tonearest_test_data): Remove.
14559         (rint_test_tonearest): Likewise.
14560         (rint_towardzero_test_data): Likewise.
14561         (rint_test_towardzero): Likewise.
14562         (rint_downward_test_data): Likewise.
14563         (rint_test_downward): Likewise.
14564         (rint_upward_test_data): Likewise.
14565         (rint_test_upward): Likewise.
14566         (main): Don't call removed functions.
14568 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14570         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14571         "Compiled on ..." crapola.  It is anti-useful.
14573 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
14575         * scripts/evaluate-test.sh: Handle fourth argument to determine
14576         whether test run should stop on failure.
14577         * Makeconfig (stop-on-test-failure): New variable.
14578         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14579         $(stop-on-test-failure).
14580         * Makefile (tests): Give a summary of results from testing and
14581         exit with failure status if they include an ERROR or FAIL.
14582         (xtests): Likewise.
14583         * manual/install.texi (Configuring and compiling): Mention
14584         stop-on-test-failure=y.
14585         * INSTALL: Regenerated.
14587 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14589         * scripts/versionlist.awk: New file.
14590         * Makerules [$(build-shared) = yes]
14591         (postclean-generated): Add Versions.def, not Versions.def.v and
14592         Versions.def.v.i.
14593         ($(common-objpfx)Versions.def.v.i): Target removed.
14594         ($(common-objpfx)Versions.def): New target.
14595         ($(common-objpfx)Versions.all): Depend on that rather that
14596         $(common-objpfx)Versions.def.v.
14597         * Versions.def: File removed.
14599         * Makeconfig (+gccwarn): Add -Wundef.
14600         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14601         a dl-sysdep.h breaking its contract.
14602         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14603         * include/stackinfo.h: New file.
14604         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14605         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14606         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14607         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14608         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14609         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14610         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14611         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14612         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14613         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14614         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14615         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14616         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14617         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14618         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14620 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14622         [BZ #16707]
14623         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14624         implementation.
14625         * math/libm-test.inc (round_test_data): Add more tests.
14627         [BZ #16706]
14628         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14629         implementation.
14630         * math/libm-test.inc (nearbyint_test_data): Add more tests.
14632         [BZ #16701]
14633         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14634         implementation.
14635         * math/libm-test.inc (ceil_test_data): Add more tests.
14637         * math/libm-test.inc (trunc_test_data): Add more tests related to
14638         BZ#16414.
14640 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14642         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14643         with #if rather than #ifdef.
14644         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14646 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
14648         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14649         first.  Disable AVX-512 GCC support if assembler doesn't support
14650         it.
14651         * sysdeps/x86_64/configure: Regenerated.
14653 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
14655         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14656         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14657         (__old_pthread_attr_setstack): Likewise.
14658         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14659         [!_STACK_GROWS_DOWN]: Likewise.
14661 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
14663         * config.make.in (have-bash2): Delete.
14664         * configure.ac (libc_cv_have_bash2): Delete.
14665         * configure: Regenerate.
14666         * elf/Makefile (common-ldd-rewrite): Rename to ...
14667         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
14668         (sh-ldd-rewrite): Delete.
14669         (bash-ldd-rewrite): Delete.
14670         (have-bash2): Delete checks.
14671         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14672         ldd-rewrite.
14674         * config.make.in (have-ksh): Delete.
14675         (KSH): Delete.
14676         * configure.ac (libc_cv_have_ksh): Delete.
14677         * configure: Regenerate.
14679         * elf/Makefile: Delete $(have-ksh) check.
14680         ($(objpfx)sotruss): Change KSH to BASH.
14681         * elf/sotruss.ksh: Rename to ...
14682         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
14683         function style to match POSIX.  Drop ksh vim mode setting.
14685         * manual/time.texi (Specifying the Time Zone with TZ): Change
14686         Tuesday to Thursday.
14688         * debug/tst-longjmp_chk2.c: Update header comment.
14689         (stackoverflow_handler): Add comment.  Call assert on pass value.
14691 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
14693         [BZ #16194]
14694         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14695         (HAVE_AVX512_ASM_SUPPORT): Likewise.
14696         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14697         (La_x86_64_vector): Add zmm.
14698         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14699         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14700         ($(objpfx)tst-audit10): New target.
14701         ($(objpfx)tst-audit10.out): Likewise.
14702         (tst-audit10-ENV): New.
14703         (AVX512-CFLAGS): Likewise.
14704         (CFLAGS-tst-audit10.c): Likewise.
14705         (CFLAGS-tst-auditmod10a.c): Likewise.
14706         (CFLAGS-tst-auditmod10b.c): Likewise.
14707         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14708         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14709         * sysdeps/x86_64/configure: Regenerated.
14710         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14711         AVX-512 zmm register support.
14712         (_dl_x86_64_save_sse): Likewise.
14713         (_dl_x86_64_restore_sse): Likewise.
14714         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14715         size vector registers.
14716         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14717         (ZMM_SIZE): Likewise.
14718         * sysdeps/x86_64/tst-audit10.c: New file.
14719         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14720         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14722 2014-03-13  Roland McGrath  <roland@hack.frob.com>
14724         * configure.ac (HAVE_EHDR_START): New check.
14725         * configure: Regenerated.
14726         * config.h.in (HAVE_EHDR_START): New #undef.
14727         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14728         assuming the lowest-addressed segment maps the start of the file.
14730 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
14732         * INSTALL: Regenerated.
14734 2014-03-13  Will Newton  <will.newton@linaro.org>
14736         * manual/setjmp.texi (System V contexts): Improve
14737         clarity and grammar of documentation.
14739 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14741         [BZ #16381]
14742         * elf/Makefile (tests): Add tst-pie2.
14743         (tests-pie): Add tst-pie2.
14744         * elf/tst-pie2.c: New file.
14745         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14746         for ET_EXEC.
14747         * elf/rtld.c (map_doit): Load executable as lt_executable.
14748         (dl_main): Likewise.
14750 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
14752         [BZ #16642]
14753         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14754         (__ASSUME_PSELECT): Undefine.
14756 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14758         [BZ #16689]
14759         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14760         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14761         static build.
14762         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14763         selector for static builds.
14765 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14767         [BZ #16695]
14768         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14769         key in the buffer.
14771 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14773         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14774         IFUNC selector for static builds.
14776 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
14778         * sysdeps/mips/math_private.h [__mips_hard_float]
14779         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14780         libc_feresetround_mips_ctx.
14781         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14782         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14783         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14785         [BZ #16677]
14786         * math/s_nextafter.c (__nextafter): Do not return value from
14787         overflowing computation.
14788         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14789         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14790         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14791         Likewise.
14792         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14793         Likewise.
14794         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14795         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14797 2014-03-11  Roland McGrath  <roland@hack.frob.com>
14799         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14800         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14801         Move sfi_sp use from the load-multiple (that no longer sets sp) to
14802         the new mov targetting sp.
14804 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14806         [BZ #16683]
14807         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14808         Define it for static builds as well.
14809         (NO_BZERO_IMPL): Likewise.
14811 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14813         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14814         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14815         multiarch strspn for PPC64.
14816         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14817         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14819         (__libc_ifunc_impl_list): Likewise.
14820         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14821         multiarch optimizations
14822         * string/strspn.c (strspn): Using macro to redefine symbol name.
14824 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14825             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14827         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14828         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14829         multiarch strncat for PPC64.
14830         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14831         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14833         (__libc_ifunc_impl_list): Likewise.
14834         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14835         multiarch optimizations
14837 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14839         [BZ #16639]
14840         * nscd/nscd.service: Make service type forking.
14842 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14844         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14845         sign in non default rounding modes.
14846         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14848 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
14850         * math/libm-test.inc (ALL_RM_TEST): New macro.
14851         (ceil_test): Use ALL_RM_TEST.
14852         (cimag_test): Likewise.
14853         (conj_test): Likewise.
14854         (copysign_test): Likewise.
14855         (cproj_test): Likewise.
14856         (creal_test): Likewise.
14857         (fabs_test): Likewise.
14858         (floor_test): Likewise.
14859         (fmax_test): Likewise.
14860         (fmin_test): Likewise.
14861         (fmod_test): Likewise.
14862         (fpclassify_test): Likewise.
14863         (frexp_test): Likewise.
14864         (ilogb_test): Likewise.
14865         (isfinite_test): Likewise.
14866         (finite_test): Likewise.
14867         (isgreater_test): Likewise.
14868         (isgreaterequal_test): Likewise.
14869         (isinf_test): Likewise.
14870         (isless_test): Likewise.
14871         (islessequal_test): Likewise.
14872         (islessgreater_test): Likewise.
14873         (isnan_test): Likewise.
14874         (isnormal_test): Likewise.
14875         (issignaling_test): Likewise.
14876         (isunordered_test): Likewise.
14877         (logb_test): Likewise.
14878         (logb_downward_test_data): Remove.
14879         (logb_test_downward): Likewise.
14880         (lround_test): Use ALL_RM_TEST.
14881         (llround_test): Likewise.
14882         (modf_test): Likewise.
14883         (nexttoward_test): Likewise.
14884         (remainder_test): Likewise.
14885         (drem_test): Likewise.
14886         (remainder_tonearest_test_data): Likewise.
14887         (remainder_test_tonearest): Likewise.
14888         (drem_test_tonearest): Likewise.
14889         (remainder_towardzero_test_data): Likewise.
14890         (remainder_test_towardzero): Likewise.
14891         (drem_test_towardzero): Likewise.
14892         (remainder_downward_test_data): Likewise.
14893         (remainder_test_downward): Likewise.
14894         (drem_test_downward): Likewise.
14895         (remainder_upward_test_data): Likewise.
14896         (remainder_test_upward): Likewise.
14897         (drem_test_upward): Likewise.
14898         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
14899         (round_test): Use ALL_RM_TEST.
14900         (signbit_test): Likewise.
14901         (trunc_test): Likewise.
14902         (significand_test): Likewise.
14903         (main): Don't call removed functions.
14905 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14907         [BZ #16674]
14908         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14909         || __USE_XOPEN2K8].
14910         (ILL_ILLOPN): Likewise.
14911         (ILL_ILLADR): Likewise.
14912         (ILL_ILLTRP): Likewise.
14913         (ILL_PRVOPC): Likewise.
14914         (ILL_PRVREG): Likewise.
14915         (ILL_COPROC): Likewise.
14916         (ILL_BADSTK): Likewise.
14917         (FPE_INTDIV): Likewise.
14918         (FPE_INTOVF): Likewise.
14919         (FPE_FLTDIV): Likewise.
14920         (FPE_FLTOVF): Likewise.
14921         (FPE_FLTUND): Likewise.
14922         (FPE_FLTRES): Likewise.
14923         (FPE_FLTINV): Likewise.
14924         (FPE_FLTSUB): Likewise.
14925         (SEGV_MAPERR): Likewise.
14926         (SEGV_ACCERR): Likewise.
14927         (BUS_ADRALN): Likewise.
14928         (BUS_ADRERR): Likewise.
14929         (BUS_OBJERR): Likewise.
14930         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14931         (TRAP_TRACE): Likewise.
14932         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14933         __USE_XOPEN2K8].
14934         (CLD_KILLED): Likewise.
14935         (CLD_DUMPED): Likewise.
14936         (CLD_TRAPPED): Likewise.
14937         (CLD_STOPPED): Likewise.
14938         (CLD_CONTINUED): Likewise.
14939         (POLL_IN): Likewise.
14940         (POLL_OUT): Likewise.
14941         (POLL_MSG): Likewise.
14942         (POLL_ERR): Likewise.
14943         (POLL_PRI): Likewise.
14944         (POLL_HUP): Likewise.
14945         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14946         Likewise.
14947         (ILL_ILLOPN): Likewise.
14948         (ILL_ILLADR): Likewise.
14949         (ILL_ILLTRP): Likewise.
14950         (ILL_PRVOPC): Likewise.
14951         (ILL_PRVREG): Likewise.
14952         (ILL_COPROC): Likewise.
14953         (ILL_BADSTK): Likewise.
14954         (FPE_INTDIV): Likewise.
14955         (FPE_INTOVF): Likewise.
14956         (FPE_FLTDIV): Likewise.
14957         (FPE_FLTOVF): Likewise.
14958         (FPE_FLTUND): Likewise.
14959         (FPE_FLTRES): Likewise.
14960         (FPE_FLTINV): Likewise.
14961         (FPE_FLTSUB): Likewise.
14962         (SEGV_MAPERR): Likewise.
14963         (SEGV_ACCERR): Likewise.
14964         (BUS_ADRALN): Likewise.
14965         (BUS_ADRERR): Likewise.
14966         (BUS_OBJERR): Likewise.
14967         (BUS_MCEERR_AR): Likewise.
14968         (BUS_MCEERR_AO): Likewise.
14969         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14970         (TRAP_TRACE): Likewise.
14971         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14972         __USE_XOPEN2K8].
14973         (CLD_KILLED): Likewise.
14974         (CLD_DUMPED): Likewise.
14975         (CLD_TRAPPED): Likewise.
14976         (CLD_STOPPED): Likewise.
14977         (CLD_CONTINUED): Likewise.
14978         (POLL_IN): Likewise.
14979         (POLL_OUT): Likewise.
14980         (POLL_MSG): Likewise.
14981         (POLL_ERR): Likewise.
14982         (POLL_PRI): Likewise.
14983         (POLL_HUP): Likewise.
14984         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14985         (ILL_ILLOPN): Likewise.
14986         (ILL_ILLADR): Likewise.
14987         (ILL_ILLTRP): Likewise.
14988         (ILL_PRVOPC): Likewise.
14989         (ILL_PRVREG): Likewise.
14990         (ILL_COPROC): Likewise.
14991         (ILL_BADSTK): Likewise.
14992         (FPE_INTDIV): Likewise.
14993         (FPE_INTOVF): Likewise.
14994         (FPE_FLTDIV): Likewise.
14995         (FPE_FLTOVF): Likewise.
14996         (FPE_FLTUND): Likewise.
14997         (FPE_FLTRES): Likewise.
14998         (FPE_FLTINV): Likewise.
14999         (FPE_FLTSUB): Likewise.
15000         (SEGV_MAPERR): Likewise.
15001         (SEGV_ACCERR): Likewise.
15002         (BUS_ADRALN): Likewise.
15003         (BUS_ADRERR): Likewise.
15004         (BUS_OBJERR): Likewise.
15005         (BUS_MCEERR_AR): Likewise.
15006         (BUS_MCEERR_AO): Likewise.
15007         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15008         (TRAP_TRACE): Likewise.
15009         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15010         __USE_XOPEN2K8].
15011         (CLD_KILLED): Likewise.
15012         (CLD_DUMPED): Likewise.
15013         (CLD_TRAPPED): Likewise.
15014         (CLD_STOPPED): Likewise.
15015         (CLD_CONTINUED): Likewise.
15016         (POLL_IN): Likewise.
15017         (POLL_OUT): Likewise.
15018         (POLL_MSG): Likewise.
15019         (POLL_ERR): Likewise.
15020         (POLL_PRI): Likewise.
15021         (POLL_HUP): Likewise.
15022         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15023         Likewise.
15024         (ILL_ILLOPN): Likewise.
15025         (ILL_ILLADR): Likewise.
15026         (ILL_ILLTRP): Likewise.
15027         (ILL_PRVOPC): Likewise.
15028         (ILL_PRVREG): Likewise.
15029         (ILL_COPROC): Likewise.
15030         (ILL_BADSTK): Likewise.
15031         (ILL_BADIADDR): Likewise.
15032         (ILL_BREAK): Likewise.
15033         (FPE_INTDIV): Likewise.
15034         (FPE_INTOVF): Likewise.
15035         (FPE_FLTDIV): Likewise.
15036         (FPE_FLTOVF): Likewise.
15037         (FPE_FLTUND): Likewise.
15038         (FPE_FLTRES): Likewise.
15039         (FPE_FLTINV): Likewise.
15040         (FPE_FLTSUB): Likewise.
15041         (FPE_DECOVF): Likewise.
15042         (FPE_DECDIV): Likewise.
15043         (FPE_DECERR): Likewise.
15044         (FPE_INVASC): Likewise.
15045         (FPE_INVDEC): Likewise.
15046         (SEGV_MAPERR): Likewise.
15047         (SEGV_ACCERR): Likewise.
15048         (SEGV_PSTKOVF): Likewise.
15049         (BUS_ADRALN): Likewise.
15050         (BUS_ADRERR): Likewise.
15051         (BUS_OBJERR): Likewise.
15052         (BUS_MCEERR_AR): Likewise.
15053         (BUS_MCEERR_AO): Likewise.
15054         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15055         (TRAP_TRACE): Likewise.
15056         (TRAP_BRANCH): Likewise.
15057         (TRAP_HWBKPT): Likewise.
15058         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15059         __USE_XOPEN2K8].
15060         (CLD_KILLED): Likewise.
15061         (CLD_DUMPED): Likewise.
15062         (CLD_TRAPPED): Likewise.
15063         (CLD_STOPPED): Likewise.
15064         (CLD_CONTINUED): Likewise.
15065         (POLL_IN): Likewise.
15066         (POLL_OUT): Likewise.
15067         (POLL_MSG): Likewise.
15068         (POLL_ERR): Likewise.
15069         (POLL_PRI): Likewise.
15070         (POLL_HUP): Likewise.
15071         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15072         (ILL_ILLOPN): Likewise.
15073         (ILL_ILLADR): Likewise.
15074         (ILL_ILLTRP): Likewise.
15075         (ILL_PRVOPC): Likewise.
15076         (ILL_PRVREG): Likewise.
15077         (ILL_COPROC): Likewise.
15078         (ILL_BADSTK): Likewise.
15079         (FPE_INTDIV): Likewise.
15080         (FPE_INTOVF): Likewise.
15081         (FPE_FLTDIV): Likewise.
15082         (FPE_FLTOVF): Likewise.
15083         (FPE_FLTUND): Likewise.
15084         (FPE_FLTRES): Likewise.
15085         (FPE_FLTINV): Likewise.
15086         (FPE_FLTSUB): Likewise.
15087         (SEGV_MAPERR): Likewise.
15088         (SEGV_ACCERR): Likewise.
15089         (BUS_ADRALN): Likewise.
15090         (BUS_ADRERR): Likewise.
15091         (BUS_OBJERR): Likewise.
15092         (BUS_MCEERR_AR): Likewise.
15093         (BUS_MCEERR_AO): Likewise.
15094         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15095         (TRAP_TRACE): Likewise.
15096         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15097         __USE_XOPEN2K8].
15098         (CLD_KILLED): Likewise.
15099         (CLD_DUMPED): Likewise.
15100         (CLD_TRAPPED): Likewise.
15101         (CLD_STOPPED): Likewise.
15102         (CLD_CONTINUED): Likewise.
15103         (POLL_IN): Likewise.
15104         (POLL_OUT): Likewise.
15105         (POLL_MSG): Likewise.
15106         (POLL_ERR): Likewise.
15107         (POLL_PRI): Likewise.
15108         (POLL_HUP): Likewise.
15109         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15110         (ILL_ILLOPN): Likewise.
15111         (ILL_ILLADR): Likewise.
15112         (ILL_ILLTRP): Likewise.
15113         (ILL_PRVOPC): Likewise.
15114         (ILL_PRVREG): Likewise.
15115         (ILL_COPROC): Likewise.
15116         (ILL_BADSTK): Likewise.
15117         (FPE_INTDIV): Likewise.
15118         (FPE_INTOVF): Likewise.
15119         (FPE_FLTDIV): Likewise.
15120         (FPE_FLTOVF): Likewise.
15121         (FPE_FLTUND): Likewise.
15122         (FPE_FLTRES): Likewise.
15123         (FPE_FLTINV): Likewise.
15124         (FPE_FLTSUB): Likewise.
15125         (SEGV_MAPERR): Likewise.
15126         (SEGV_ACCERR): Likewise.
15127         (BUS_ADRALN): Likewise.
15128         (BUS_ADRERR): Likewise.
15129         (BUS_OBJERR): Likewise.
15130         (BUS_MCEERR_AR): Likewise.
15131         (BUS_MCEERR_AO): Likewise.
15132         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15133         (TRAP_TRACE): Likewise.
15134         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15135         __USE_XOPEN2K8].
15136         (CLD_KILLED): Likewise.
15137         (CLD_DUMPED): Likewise.
15138         (CLD_TRAPPED): Likewise.
15139         (CLD_STOPPED): Likewise.
15140         (CLD_CONTINUED): Likewise.
15141         (POLL_IN): Likewise.
15142         (POLL_OUT): Likewise.
15143         (POLL_MSG): Likewise.
15144         (POLL_ERR): Likewise.
15145         (POLL_PRI): Likewise.
15146         (POLL_HUP): Likewise.
15147         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15148         (ILL_ILLOPN): Likewise.
15149         (ILL_ILLADR): Likewise.
15150         (ILL_ILLTRP): Likewise.
15151         (ILL_PRVOPC): Likewise.
15152         (ILL_PRVREG): Likewise.
15153         (ILL_COPROC): Likewise.
15154         (ILL_BADSTK): Likewise.
15155         (FPE_INTDIV): Likewise.
15156         (FPE_INTOVF): Likewise.
15157         (FPE_FLTDIV): Likewise.
15158         (FPE_FLTOVF): Likewise.
15159         (FPE_FLTUND): Likewise.
15160         (FPE_FLTRES): Likewise.
15161         (FPE_FLTINV): Likewise.
15162         (FPE_FLTSUB): Likewise.
15163         (SEGV_MAPERR): Likewise.
15164         (SEGV_ACCERR): Likewise.
15165         (BUS_ADRALN): Likewise.
15166         (BUS_ADRERR): Likewise.
15167         (BUS_OBJERR): Likewise.
15168         (BUS_MCEERR_AR): Likewise.
15169         (BUS_MCEERR_AO): Likewise.
15170         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15171         (TRAP_TRACE): Likewise.
15172         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15173         __USE_XOPEN2K8].
15174         (CLD_KILLED): Likewise.
15175         (CLD_DUMPED): Likewise.
15176         (CLD_TRAPPED): Likewise.
15177         (CLD_STOPPED): Likewise.
15178         (CLD_CONTINUED): Likewise.
15179         (POLL_IN): Likewise.
15180         (POLL_OUT): Likewise.
15181         (POLL_MSG): Likewise.
15182         (POLL_ERR): Likewise.
15183         (POLL_PRI): Likewise.
15184         (POLL_HUP): Likewise.
15185         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15186         (ILL_ILLOPN): Likewise.
15187         (ILL_ILLADR): Likewise.
15188         (ILL_ILLTRP): Likewise.
15189         (ILL_PRVOPC): Likewise.
15190         (ILL_PRVREG): Likewise.
15191         (ILL_COPROC): Likewise.
15192         (ILL_BADSTK): Likewise.
15193         (ILL_DBLFLT): Likewise.
15194         (ILL_HARDWALL): Likewise.
15195         (FPE_INTDIV): Likewise.
15196         (FPE_INTOVF): Likewise.
15197         (FPE_FLTDIV): Likewise.
15198         (FPE_FLTOVF): Likewise.
15199         (FPE_FLTUND): Likewise.
15200         (FPE_FLTRES): Likewise.
15201         (FPE_FLTINV): Likewise.
15202         (FPE_FLTSUB): Likewise.
15203         (SEGV_MAPERR): Likewise.
15204         (SEGV_ACCERR): Likewise.
15205         (BUS_ADRALN): Likewise.
15206         (BUS_ADRERR): Likewise.
15207         (BUS_OBJERR): Likewise.
15208         (BUS_MCEERR_AR): Likewise.
15209         (BUS_MCEERR_AO): Likewise.
15210         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15211         (TRAP_TRACE): Likewise.
15212         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15213         __USE_XOPEN2K8].
15214         (CLD_KILLED): Likewise.
15215         (CLD_DUMPED): Likewise.
15216         (CLD_TRAPPED): Likewise.
15217         (CLD_STOPPED): Likewise.
15218         (CLD_CONTINUED): Likewise.
15219         (POLL_IN): Likewise.
15220         (POLL_OUT): Likewise.
15221         (POLL_MSG): Likewise.
15222         (POLL_ERR): Likewise.
15223         (POLL_PRI): Likewise.
15224         (POLL_HUP): Likewise.
15225         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15226         (ILL_ILLOPN): Likewise.
15227         (ILL_ILLADR): Likewise.
15228         (ILL_ILLTRP): Likewise.
15229         (ILL_PRVOPC): Likewise.
15230         (ILL_PRVREG): Likewise.
15231         (ILL_COPROC): Likewise.
15232         (ILL_BADSTK): Likewise.
15233         (FPE_INTDIV): Likewise.
15234         (FPE_INTOVF): Likewise.
15235         (FPE_FLTDIV): Likewise.
15236         (FPE_FLTOVF): Likewise.
15237         (FPE_FLTUND): Likewise.
15238         (FPE_FLTRES): Likewise.
15239         (FPE_FLTINV): Likewise.
15240         (FPE_FLTSUB): Likewise.
15241         (SEGV_MAPERR): Likewise.
15242         (SEGV_ACCERR): Likewise.
15243         (BUS_ADRALN): Likewise.
15244         (BUS_ADRERR): Likewise.
15245         (BUS_OBJERR): Likewise.
15246         (BUS_MCEERR_AR): Likewise.
15247         (BUS_MCEERR_AO): Likewise.
15248         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15249         (TRAP_TRACE): Likewise.
15250         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15251         __USE_XOPEN2K8].
15252         (CLD_KILLED): Likewise.
15253         (CLD_DUMPED): Likewise.
15254         (CLD_TRAPPED): Likewise.
15255         (CLD_STOPPED): Likewise.
15256         (CLD_CONTINUED): Likewise.
15257         (POLL_IN): Likewise.
15258         (POLL_OUT): Likewise.
15259         (POLL_MSG): Likewise.
15260         (POLL_ERR): Likewise.
15261         (POLL_PRI): Likewise.
15262         (POLL_HUP): Likewise.
15263         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15264         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15266         [BZ #16670]
15267         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15268         before #include of <time.h>.
15269         [!__USE_XOPEN2K] (__need_timespec): Likewise.
15270         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15271         (test-xfail-UNIX98/sched.h/conform): Likewise.
15273 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15275         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15276         error absence of trapping exception support.
15277         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15279 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15281         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15282         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15283         * timezone/Makefile (testdata): Move definition above include of
15284         Rules.
15285         (test-zones): New variable.
15286         (tests-special): Add zone files.
15287         (build-testdata): Use $(evaluate-test).
15289         * elf/Makefile (tests-special): Rename tests to end with .out.
15290         ($(objpfx)noload-mem): Likewise.
15291         ($(objpfx)tst-leaks1-mem): Likewise.
15292         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15293         * iconv/Makefile (xtests-special): Change test-iconvconfig to
15294         $(objpfx)test-iconvconfig.out.
15295         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
15296         set -e inside subshell and redirect output to file.
15297         * iconvdata/Makefile (generated): Rename tests to end with .out.
15298         Correct type.
15299         (tests-special): Rename tests to end with .out.
15300         ($(objpfx)mtrace-tst-loading): Likewise.
15301         * intl/Makefile (generated): Likewise.
15302         (tests-special): Likewise.
15303         ($(objpfx)mtrace-tst-gettext): Likewise.
15304         * misc/Makefile (generated): Likewise.
15305         (tests-special): Likewise.
15306         ($(objpfx)tst-error1-mem): Likewise.
15307         * nptl/Makefile (tests-special): Likewise.
15308         ($(objpfx)tst-stack3-mem): Likewise.
15309         (generated): Likewise.
15310         * posix/Makefile (generated): Likewise.
15311         (tests-special): Likewise.
15312         (xtests-special): Likewise.
15313         ($(objpfx)tst-fnmatch-mem): Likewise.
15314         ($(objpfx)bug-regex2-mem): Likewise.
15315         ($(objpfx)bug-regex14-mem): Likewise.
15316         ($(objpfx)bug-regex21-mem): Likewise.
15317         ($(objpfx)bug-regex31-mem): Likewise.
15318         ($(objpfx)tst-vfork3-mem): Likewise.
15319         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15320         ($(objpfx)tst-pcre-mem): Likewise.
15321         ($(objpfx)tst-boost-mem): Likewise.
15322         ($(objpfx)bug-ga2-mem): Likewise.
15323         ($(objpfx)bug-glob2-mem): Likewise.
15324         * resolv/Makefile (generate): Likewise.
15325         (tests-special): Likewise.
15326         (xtests-special): Likewise.
15327         (generated): Likewise.
15328         ($(objpfx)mtrace-tst-leaks): Likewise.
15329         ($(objpfx)mtrace-tst-leaks2): Likewise.
15331         * scripts/merge-test-results.sh: New file.
15332         * Makefile (tests-special-notdir): New variable.
15333         (tests): Run merge-test-results.sh.
15334         (xtests): Likewise.
15335         * Rules (tests-special-notdir): New variable.
15336         (xtests-special-notdir): Likewise.
15337         (tests): Run merge-test-results.sh
15338         (xtests): Likewise.
15340         * Makeconfig (test-xfail-name): New variable.
15341         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15342         compute variable name for expected failures.
15343         * conform/Makefile (conformtest-headers-data): New variable.
15344         (conformtest-standards): Likewise.
15345         (conformtest-headers-ISO): Likewise.
15346         (conformtest-headers-ISO99): Likewise.
15347         (conformtest-headers-ISO11): Likewise.
15348         (conformtest-headers-POSIX): Likewise.
15349         (conformtest-headers-XPG3): Likewise.
15350         (conformtest-headers-XPG4): Likewise.
15351         (conformtest-headers-UNIX98): Likewise.
15352         (conformtest-headers-XOPEN2K): Likewise.
15353         (conformtest-headers-POSIX2008): Likewise.
15354         (conformtest-headers-XOPEN2K8): Likewise.
15355         (conformtest-header-list-base): Likewise.
15356         (conformtest-header-list-tests): Likewise.
15357         (conformtest-header-base): Likewise.
15358         (conformtest-header-tests): Likewise.
15359         (tests-special): Add $(conformtest-header-list-tests).  If
15360         [$(fast-check) && !$(cross-compiling)], add
15361         $(conformtest-header-tests) instead of
15362         $(objpfx)run-conformtest.out.
15363         (generated): Add $(conformtest-header-list-base).  If
15364         [$(fast-check) && !$(cross-compiling)], add
15365         $(conformtest-header-base).  Remove previous setting.
15366         ($(conformtest-header-list-tests)): New target.
15367         (test-xfail-run-conformtest): Remove variable.
15368         ($(objpfx)run-conformtest.out): Remove target.
15369         (test-xfail-ISO11/complex.h/conform): New variable.
15370         (test-xfail-ISO11/stdalign.h/conform): Likewise.
15371         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15372         (test-xfail-XPG3/varargs.h/conform): Likewise.
15373         (test-xfail-XPG4/varargs.h/conform): Likewise.
15374         (test-xfail-UNIX98/varargs.h/conform): Likewise.
15375         (test-xfail-XPG4/ndbm.h/conform): Likewise.
15376         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15377         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15378         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15379         (test-xfail-XPG3/fcntl.h/conform): Likewise.
15380         (test-xfail-XPG3/ftw.h/conform): Likewise.
15381         (test-xfail-XPG3/grp.h/conform): Likewise.
15382         (test-xfail-XPG3/langinfo.h/conform): Likewise.
15383         (test-xfail-XPG3/limits.h/conform): Likewise.
15384         (test-xfail-XPG3/pwd.h/conform): Likewise.
15385         (test-xfail-XPG3/search.h/conform): Likewise.
15386         (test-xfail-XPG3/signal.h/conform): Likewise.
15387         (test-xfail-XPG3/stdio.h/conform): Likewise.
15388         (test-xfail-XPG3/stdlib.h/conform): Likewise.
15389         (test-xfail-XPG3/string.h/conform): Likewise.
15390         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15391         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15392         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15393         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15394         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15395         (test-xfail-XPG3/sys/types.h/conform): Likewise.
15396         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15397         (test-xfail-XPG3/termios.h/conform): Likewise.
15398         (test-xfail-XPG3/time.h/conform): Likewise.
15399         (test-xfail-XPG3/unistd.h/conform): Likewise.
15400         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15401         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15402         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15403         (test-xfail-XPG4/netdb.h/conform): Likewise.
15404         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15405         (test-xfail-XPG4/signal.h/conform): Likewise.
15406         (test-xfail-XPG4/stdio.h/conform): Likewise.
15407         (test-xfail-XPG4/stdlib.h/conform): Likewise.
15408         (test-xfail-XPG4/stropts.h/conform): Likewise.
15409         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15410         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15411         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15412         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15413         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15414         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15415         (test-xfail-XPG4/sys/time.h/conform): Likewise.
15416         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15417         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15418         (test-xfail-XPG4/termios.h/conform): Likewise.
15419         (test-xfail-XPG4/ucontext.h/conform): Likewise.
15420         (test-xfail-XPG4/unistd.h/conform): Likewise.
15421         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15422         (test-xfail-POSIX/sched.h/conform): Likewise.
15423         (test-xfail-POSIX/signal.h/conform): Likewise.
15424         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15425         (test-xfail-POSIX/tar.h/conform): Likewise.
15426         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15427         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15428         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15429         (test-xfail-UNIX98/netdb.h/conform): Likewise.
15430         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15431         (test-xfail-UNIX98/sched.h/conform): Likewise.
15432         (test-xfail-UNIX98/signal.h/conform): Likewise.
15433         (test-xfail-UNIX98/stdio.h/conform): Likewise.
15434         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15435         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15436         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15437         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15438         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15439         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15440         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15441         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15442         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15443         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15444         (test-xfail-UNIX98/unistd.h/conform): Likewise.
15445         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15446         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15447         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15448         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15449         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15450         (test-xfail-XOPEN2K/math.h/conform): Likewise.
15451         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15452         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15453         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15454         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15455         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15456         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15457         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15458         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15459         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15460         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15461         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15462         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15463         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15464         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15465         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15466         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15467         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15468         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15469         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15470         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15471         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15472         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15473         (test-xfail-POSIX2008/signal.h/conform): Likewise.
15474         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15475         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15476         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15477         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15478         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15479         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15480         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15481         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15482         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15483         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15484         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15485         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15486         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15487         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15488         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15489         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15490         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15491         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15492         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15493         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15494         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15495         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15496         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15497         (conformtest-cc-flags): Likewise.
15498         ($(conformtest-header-tests): New target.
15499         * conform/check-header-lists.sh: New file.
15500         * conform/run-conformtest.sh: Remove.
15502         * conform/conformtest.pl: Allow ' and \ in values given for
15503         constants.
15504         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15505         inclusion.
15506         [POSIX] (sys/types.h): Likewise.
15507         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15508         inclusion.
15509         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15510         inclusion.
15511         * conform/data/signal.h-data (SIGIO): Remove expectation.
15512         [XPG3] (SIGBUS): Do not expect.
15513         [POSIX || XPG3] (SIGPOLL): Likewise.
15514         [POSIX || XPG3] (SIGPROF): Likewise.
15515         [POSIX || XPG3] (SIGSYS): Likewise.
15516         [XPG3] (SIGTRAP): Likewise.
15517         [POSIX || XPG3] (SIGURG): Likewise.
15518         [POSIX || XPG3] (SIGVTALRM): Likewise.
15519         [POSIX || XPG3] (SIGXCPU): Likewise.
15520         [POSIX || XPG3] (SIGXFSZ): Likewise.
15521         [POSIX] (SA_SIGINFO): Expect.
15522         [XPG3] (siginfo_t): Do not expect type or contents.
15523         [POSIX] (si_pid): Do not expect element.
15524         [POSIX] (si_uid): Likewise.
15525         [POSIX] (si_addr): Likewise.
15526         [POSIX] (si_status): Likewise.
15527         [POSIX] (si_band): Likewise.
15528         [XPG4] (si_value): Likewise.
15529         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15530         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15531         [POSIX || XPG3] (ILL_ILLADR): Likewise.
15532         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15533         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15534         [POSIX || XPG3] (ILL_PRVREG): Likewise.
15535         [POSIX || XPG3] (ILL_COPROC): Likewise.
15536         [POSIX || XPG3] (ILL_BADSTK): Likewise.
15537         [POSIX || XPG3] (FPE_INTDIV): Likewise.
15538         [POSIX || XPG3] (FPE_INTOVF): Likewise.
15539         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15540         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15541         [POSIX || XPG3] (FPE_FLTUND): Likewise.
15542         [POSIX || XPG3] (FPE_FLTRES): Likewise.
15543         [POSIX || XPG3] (FPE_FLTINV): Likewise.
15544         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15545         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15546         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15547         [POSIX || XPG3] (BUS_ADRALN): Likewise.
15548         [POSIX || XPG3] (BUS_ADRERR): Likewise.
15549         [POSIX || XPG3] (BUS_OBJERR): Likewise.
15550         [POSIX || XPG3] (CLD_EXITED): Likewise.
15551         [POSIX || XPG3] (CLD_KILLED): Likewise.
15552         [POSIX || XPG3] (CLD_DUMPED): Likewise.
15553         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15554         [POSIX || XPG3] (CLD_STOPPED): Likewise.
15555         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15556         [POSIX || XPG3] (POLL_IN): Likewise.
15557         [POSIX || XPG3] (POLL_OUT): Likewise.
15558         [POSIX || XPG3] (POLL_MSG): Likewise.
15559         [POSIX || XPG3] (POLL_ERR): Likewise.
15560         [POSIX || XPG3] (POLL_PRI): Likewise.
15561         [POSIX || XPG3] (POLL_HUP): Likewise.
15562         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15563         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15564         (SIG*): Do not allow.
15565         [XPG3] (si_*): Likewise.
15566         [XPG3] (SI_*): Likewise.
15567         [XPG3 || XPG4] (sigev_*): Likewise.
15568         [XPG3 || XPG4] (SIGEV_*): Likewise.
15569         [XPG3 || XPG4] (sival_*): Likewise.
15570         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15571         [POSIX || XPG3] (BUS_*): Likewise.
15572         [POSIX || XPG3] (CLD_*): Likewise.
15573         [POSIX || XPG3] (FPE_*): Likewise.
15574         [POSIX || XPG3] (ILL_*): Likewise.
15575         [POSIX || XPG3] (POLL_*): Likewise.
15576         [POSIX || XPG3] (SEGV_*): Likewise.
15577         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15578         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15579         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15580         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15581         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15582         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15583         Specify type and value.
15584         (TVERSLEN): Likewise.
15585         (REGTYPE): Likewise.
15586         (AREGTYPE): Likewise.
15587         (LNKTYPE): Likewise.
15588         (SYMTYPE): Likewise.
15589         (CHRTYPE): Likewise.
15590         (BLKTYPE): Likewise.
15591         (DIRTYPE): Likewise.
15592         (FIFOTYPE): Likewise.
15593         (CONTTYPE): Likewise.
15594         (TSUID): Likewise.
15595         (TSGID): Likewise.
15596         (TSVTX): Likewise.
15597         (TUREAD): Likewise.
15598         (TUWRITE): Likewise.
15599         (TUEXEC): Likewise.
15600         (TGREAD): Likewise.
15601         (TGWRITE): Likewise.
15602         (TGEXEC): Likewise.
15603         (TOREAD): Likewise.
15604         (TOWRITE): Likewise.
15605         (TOEXEC): Likewise.
15606         [POSIX] (TSVTX): Expect constant.
15608 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
15610         * Makefile (tests): Change dependencies to ....
15611         (tests-special): ... additions to this variable.
15612         (tests): Depend on $(tests-special).
15613         * Makerules (check-abi-list): New variable.
15614         (check-abi): Depend on $(check-abi-list).
15615         [$(subdir) = elf] (tests-special): Add
15616         $(objpfx)check-abi-libc.out.
15617         [$(build-shared) = yes && subdir] (tests-special): Add
15618         $(check-abi-list).
15619         [$(build-shared) = yes && subdir] (tests): Do not depend on
15620         check-abi.
15621         * Rules (tests): Depend on $(tests-special).
15622         (xtests): Depend on $(xtests-special).
15623         * catgets/Makefile (tests): Change dependencies to ....
15624         (tests-special): ... additions to this variable.
15625         * conform/Makefile (tests): Change dependencies to ....
15626         (tests-special): ... additions to this variable.
15627         * elf/Makefile (tests): Change dependencies to ....
15628         (tests-special): ... additions to this variable.
15629         * grp/Makefile (tests): Change dependencies to ....
15630         (tests-special): ... additions to this variable.
15631         * iconv/Makefile (xtests): Change dependencies to ....
15632         (xtests-special): ... additions to this variable.
15633         * iconvdata/Makefile (tests): Change dependencies to ....
15634         (tests-special): ... additions to this variable.
15635         * intl/Makefile (tests): Change dependencies to ....
15636         (tests-special): ... additions to this variable.  Also add
15637         $(objpfx)tst-gettext.out.
15638         * io/Makefile (tests): Change dependencies to ....
15639         (tests-special): ... additions to this variable.
15640         * libio/Makefile (tests): Change dependencies to ....
15641         (tests-special): ... additions to this variable.
15642         * malloc/Makefile (tests): Change dependencies to ....
15643         (tests-special): ... additions to this variable.
15644         * misc/Makefile (tests): Change dependencies to ....
15645         (tests-special): ... additions to this variable.
15646         * nptl/Makefile (tests): Change dependencies to ....
15647         (tests-special): ... additions to this variable.
15648         * nptl_db/Makefile (tests): Change dependencies to ....
15649         (tests-special): ... additions to this variable.
15650         * posix/Makefile (tests): Change dependencies to ....
15651         (tests-special): ... additions to this variable.
15652         (xtests): Change dependencies to ....
15653         (xtests-special): ... additions to this variable.
15654         * resolv/Makefile (tests): Change dependencies to ....
15655         (tests-special): ... additions to this variable.
15656         (xtests): Change dependencies to ....
15657         (xtests-special): ... additions to this variable.
15658         * stdio-common/Makefile (tests): Change dependencies to ....
15659         (tests-special): ... additions to this variable.
15660         (do-tst-unbputc): Remove target.
15661         (do-tst-printf): Likewise.
15662         * stdlib/Makefile (tests): Change dependencies to ....
15663         (tests-special): ... additions to this variable.
15664         * string/Makefile (tests): Change dependencies to ....
15665         (tests-special): ... additions to this variable.
15666         * sysdeps/x86/Makefile (tests): Change dependencies to ....
15667         (tests-special): ... additions to this variable.
15669         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15670         whole file.
15671         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15672         whole file.
15673         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15674         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15676         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15677         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15678         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15679         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15680         * conform/data/libgen.h-data [XPG3]: Likewise.
15681         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15682         * conform/data/ndbm.h-data [XPG3]: Likewise.
15683         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15684         * conform/data/netdb.h-data [XPG3]: Likewise.
15685         * conform/data/netinet/in.h-data [XPG3]: Likewise.
15686         * conform/data/poll.h-data [XPG3]: Likewise.
15687         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15688         * conform/data/strings.h-data [XPG3]: Likewise.
15689         * conform/data/stropts.h-data [XPG3]: Likewise.
15690         * conform/data/sys/mman.h-data [XPG3]: Likewise.
15691         * conform/data/sys/resource.h-data [XPG3]: Likewise.
15692         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15693         Likewise.
15694         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15695         * conform/data/sys/time.h-data [XPG3]: Likewise.
15696         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15697         * conform/data/sys/uio.h-data [XPG3]: Likewise.
15698         * conform/data/sys/un.h-data [XPG3]: Likewise.
15699         * conform/data/syslog.h-data [XPG3]: Likewise.
15700         * conform/data/ucontext.h-data [XPG3]: Likewise.
15701         * conform/data/utmpx.h-data [XPG3]: Likewise.
15702         * conform/data/varargs.h-data [UNIX98]: Enable file.
15704         * manual/Makefile (INSTALL_INFO): Remove variable setting.
15706         * math/libm-test.inc (struct test_f_f_data): Move expected results
15707         into structure for each rounding mode.
15708         (struct test_ff_f_data): Likewise.
15709         (struct test_ff_f_data_nexttoward): Likewise.
15710         (struct test_fi_f_data): Likewise.
15711         (struct test_fl_f_data): Likewise.
15712         (struct test_if_f_data): Likewise.
15713         (struct test_fff_f_data): Likewise.
15714         (struct test_c_f_data): Likewise.
15715         (struct test_f_f1_data): Likewise.
15716         (struct test_fF_f1_data): Likewise.
15717         (struct test_ffI_f1_data): Likewise.
15718         (struct test_c_c_data): Likewise.
15719         (struct test_cc_c_data): Likewise.
15720         (struct test_f_i_data): Likewise.
15721         (struct test_ff_i_data): Likewise.
15722         (struct test_f_l_data): Likewise.
15723         (struct test_f_L_data): Likewise.
15724         (struct test_fFF_11_data): Likewise.
15725         (RM_): New macro.
15726         (RM_FE_DOWNWARD): Likewise.
15727         (RM_FE_TONEAREST): Likewise.
15728         (RM_FE_TOWARDZERO): Likewise.
15729         (RM_FE_UPWARD): Likewise.
15730         (RUN_TEST_LOOP_f_f): Update references to expected results.
15731         (RUN_TEST_LOOP_2_f): Likewise.
15732         (RUN_TEST_LOOP_fff_f): Likewise.
15733         (RUN_TEST_LOOP_c_f): Likewise.
15734         (RUN_TEST_LOOP_f_f1): Likewise.
15735         (RUN_TEST_LOOP_fF_f1): Likewise.
15736         (RUN_TEST_LOOP_fI_f1): Likewise.
15737         (RUN_TEST_LOOP_ffI_f1): Likewise.
15738         (RUN_TEST_LOOP_c_c): Likewise.
15739         (RUN_TEST_LOOP_cc_c): Likewise.
15740         (RUN_TEST_LOOP_f_i): Likewise.
15741         (RUN_TEST_LOOP_f_i_tg): Likewise.
15742         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15743         (RUN_TEST_LOOP_f_b): Likewise.
15744         (RUN_TEST_LOOP_f_b_tg): Likewise.
15745         (RUN_TEST_LOOP_f_l): Likewise.
15746         (RUN_TEST_LOOP_f_L): Likewise.
15747         (RUN_TEST_LOOP_fFF_11): Likewise.
15748         * math/gen-libm-test.pl (parse_args): Output four copies of
15749         expected results for each test.
15751         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15752         (__ASSUME_UTIMES): Remove.
15753         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15754         (__ASSUME_UTIMES): Likewise.
15756         * math/gen-auto-libm-tests.c: Update comment on output format.
15757         (output_for_one_input_case): Generate before-rounding and
15758         after-rounding information as conditions on output flags not
15759         floating-point format.
15760         * math/auto-libm-test-out: Regenerated.
15761         * math/gen-libm-test.pl (cond_value): New function.
15762         (or_cond_value): Use cond_value.
15763         (generate_testfile): Handle conditional exceptions.
15765 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
15767         * math/libm-test.inc (max_valid_error): New variable.
15768         (init_max_error): Take new argument specifying whether function
15769         results are exactly determined.  Set max_valid_error and bound
15770         other variables for errors based on this argument.
15771         (set_max_error): Do not record results above max_valid_error.
15772         (check_float_internal): Only accept errors of up to 0.5ulps if
15773         also at most max_valid_error.
15774         (START): Take new argument EXACT and pass it to init_max_error.
15775         (acos_test): Update call to START.
15776         (acos_test_tonearest): Likewise.
15777         (acos_test_towardzero): Likewise.
15778         (acos_test_downward): Likewise.
15779         (acos_test_upward): Likewise.
15780         (acosh_test): Likewise.
15781         (asin_test): Likewise.
15782         (asin_test_tonearest): Likewise.
15783         (asin_test_towardzero): Likewise.
15784         (asin_test_downward): Likewise.
15785         (asin_test_upward): Likewise.
15786         (asinh_test): Likewise.
15787         (atan_test): Likewise.
15788         (atanh_test): Likewise.
15789         (atan2_test): Likewise.
15790         (cabs_test): Likewise.
15791         (cacos_test): Likewise.
15792         (cacosh_test): Likewise.
15793         (carg_test): Likewise.
15794         (casin_test): Likewise.
15795         (casinh_test): Likewise.
15796         (catan_test): Likewise.
15797         (catanh_test): Likewise.
15798         (cbrt_test): Likewise.
15799         (ccos_test): Likewise.
15800         (ccosh_test): Likewise.
15801         (ceil_test): Likewise.
15802         (cexp_test): Likewise.
15803         (cimag_test): Likewise.
15804         (clog_test): Likewise.
15805         (clog10_test): Likewise.
15806         (conj_test): Likewise.
15807         (copysign_test): Likewise.
15808         (cos_test): Likewise.
15809         (cos_test_tonearest): Likewise.
15810         (cos_test_towardzero): Likewise.
15811         (cos_test_downward): Likewise.
15812         (cos_test_upward): Likewise.
15813         (cosh_test): Likewise.
15814         (cosh_test_tonearest): Likewise.
15815         (cosh_test_towardzero): Likewise.
15816         (cosh_test_downward): Likewise.
15817         (cosh_test_upward): Likewise.
15818         (cpow_test): Likewise.
15819         (cproj_test): Likewise.
15820         (creal_test): Likewise.
15821         (csin_test): Likewise.
15822         (csinh_test): Likewise.
15823         (csqrt_test): Likewise.
15824         (ctan_test): Likewise.
15825         (ctan_test_tonearest): Likewise.
15826         (ctan_test_towardzero): Likewise.
15827         (ctan_test_downward): Likewise.
15828         (ctan_test_upward): Likewise.
15829         (ctanh_test): Likewise.
15830         (ctanh_test_tonearest): Likewise.
15831         (ctanh_test_towardzero): Likewise.
15832         (ctanh_test_downward): Likewise.
15833         (ctanh_test_upward): Likewise.
15834         (erf_test): Likewise.
15835         (erfc_test): Likewise.
15836         (exp_test): Likewise.
15837         (exp_test_tonearest): Likewise.
15838         (exp_test_towardzero): Likewise.
15839         (exp_test_downward): Likewise.
15840         (exp_test_upward): Likewise.
15841         (exp10_test): Likewise.
15842         (exp10_test_tonearest): Likewise.
15843         (exp10_test_towardzero): Likewise.
15844         (exp10_test_downward): Likewise.
15845         (exp10_test_upward): Likewise.
15846         (pow10_test): Likewise.
15847         (exp2_test): Likewise.
15848         (expm1_test): Likewise.
15849         (expm1_test_tonearest): Likewise.
15850         (expm1_test_towardzero): Likewise.
15851         (expm1_test_downward): Likewise.
15852         (expm1_test_upward): Likewise.
15853         (fabs_test): Likewise.
15854         (fdim_test): Likewise.
15855         (floor_test): Likewise.
15856         (fma_test): Likewise.
15857         (fma_test_towardzero): Likewise.
15858         (fma_test_downward): Likewise.
15859         (fma_test_upward): Likewise.
15860         (fmax_test): Likewise.
15861         (fmin_test): Likewise.
15862         (fmod_test): Likewise.
15863         (fpclassify_test): Likewise.
15864         (frexp_test): Likewise.
15865         (hypot_test): Likewise.
15866         (ilogb_test): Likewise.
15867         (isfinite_test): Likewise.
15868         (finite_test): Likewise.
15869         (isgreater_test): Likewise.
15870         (isgreaterequal_test): Likewise.
15871         (isinf_test): Likewise.
15872         (isless_test): Likewise.
15873         (islessequal_test): Likewise.
15874         (islessgreater_test): Likewise.
15875         (isnan_test): Likewise.
15876         (isnormal_test): Likewise.
15877         (issignaling_test): Likewise.
15878         (isunordered_test): Likewise.
15879         (j0_test): Likewise.
15880         (j1_test): Likewise.
15881         (jn_test): Likewise.
15882         (ldexp_test): Likewise.
15883         (lgamma_test): Likewise.
15884         (gamma_test): Likewise.
15885         (lrint_test): Likewise.
15886         (lrint_test_tonearest): Likewise.
15887         (lrint_test_towardzero): Likewise.
15888         (lrint_test_downward): Likewise.
15889         (lrint_test_upward): Likewise.
15890         (llrint_test): Likewise.
15891         (llrint_test_tonearest): Likewise.
15892         (llrint_test_towardzero): Likewise.
15893         (llrint_test_downward): Likewise.
15894         (llrint_test_upward): Likewise.
15895         (log_test): Likewise.
15896         (log10_test): Likewise.
15897         (log1p_test): Likewise.
15898         (log2_test): Likewise.
15899         (logb_test): Likewise.
15900         (logb_test_downward): Likewise.
15901         (lround_test): Likewise.
15902         (llround_test): Likewise.
15903         (modf_test): Likewise.
15904         (nearbyint_test): Likewise.
15905         (nextafter_test): Likewise.
15906         (nexttoward_test): Likewise.
15907         (pow_test): Likewise.
15908         (pow_test_tonearest): Likewise.
15909         (pow_test_towardzero): Likewise.
15910         (pow_test_downward): Likewise.
15911         (pow_test_upward): Likewise.
15912         (remainder_test): Likewise.
15913         (drem_test): Likewise.
15914         (remainder_test_tonearest): Likewise.
15915         (drem_test_tonearest): Likewise.
15916         (remainder_test_towardzero): Likewise.
15917         (drem_test_towardzero): Likewise.
15918         (remainder_test_downward): Likewise.
15919         (drem_test_downward): Likewise.
15920         (remainder_test_upward): Likewise.
15921         (drem_test_upward): Likewise.
15922         (remquo_test): Likewise.
15923         (rint_test): Likewise.
15924         (rint_test_tonearest): Likewise.
15925         (rint_test_towardzero): Likewise.
15926         (rint_test_downward): Likewise.
15927         (rint_test_upward): Likewise.
15928         (round_test): Likewise.
15929         (scalb_test): Likewise.
15930         (scalbn_test): Likewise.
15931         (scalbln_test): Likewise.
15932         (signbit_test): Likewise.
15933         (sin_test): Likewise.
15934         (sin_test_tonearest): Likewise.
15935         (sin_test_towardzero): Likewise.
15936         (sin_test_downward): Likewise.
15937         (sin_test_upward): Likewise.
15938         (sincos_test): Likewise.
15939         (sinh_test): Likewise.
15940         (sinh_test_tonearest): Likewise.
15941         (sinh_test_towardzero): Likewise.
15942         (sinh_test_downward): Likewise.
15943         (sinh_test_upward): Likewise.
15944         (sqrt_test): Likewise.
15945         (sqrt_test_tonearest): Likewise.
15946         (sqrt_test_towardzero): Likewise.
15947         (sqrt_test_downward): Likewise.
15948         (sqrt_test_upward): Likewise.
15949         (tan_test): Likewise.
15950         (tan_test_tonearest): Likewise.
15951         (tan_test_towardzero): Likewise.
15952         (tan_test_downward): Likewise.
15953         (tan_test_upward): Likewise.
15954         (tanh_test): Likewise.
15955         (tgamma_test): Likewise.
15956         (trunc_test): Likewise.
15957         (y0_test): Likewise.
15958         (y1_test): Likewise.
15959         (yn_test): Likewise.
15960         (significand_test): Likewise.
15962         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15963         individual tests in comment.
15964         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15965         (prev_max_error): New variable.
15966         (prev_real_max_error): Likewise.
15967         (prev_imag_max_error): Likewise.
15968         (compare_ulp_data): Don't refer to test names in comment.
15969         (find_test_ulps): Remove function.
15970         (find_function_ulps): Likewise.
15971         (find_complex_function_ulps): Likewise.
15972         (init_max_error): Take function name as argument.  Look up ulps
15973         for that function.
15974         (print_ulps): Remove function.
15975         (print_max_error): Use prev_max_error instead of calling
15976         find_function_ulps.
15977         (print_complex_max_error): Use prev_real_max_error and
15978         prev_imag_max_error instead of calling find_complex_function_ulps.
15979         (check_float_internal): Take max_ulp parameter instead of calling
15980         find_test_ulps.  Don't call print_ulps.
15981         (check_float): Update call to check_float_internal.
15982         (check_complex): Update calls to check_float_internal.
15983         (START): Pass argument to init_max_error.
15984         * math/gen-libm-test.pl (%results): Don't include "kind"
15985         information.
15986         (parse_ulps): Don't handle ulps of individual tests.
15987         (print_ulps_file): Likewise.
15988         (output_ulps): Likewise.
15989         * math/README.libm-test: Update.
15990         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15991         individual tests.
15992         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15993         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15994         * sysdeps/arm/libm-test-ulps: Likewise.
15995         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15996         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15997         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15998         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15999         * sysdeps/microblaze/libm-test-ulps: Likewise.
16000         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16001         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16002         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16003         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16004         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16005         * sysdeps/sh/libm-test-ulps: Likewise.
16006         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16007         * sysdeps/tile/libm-test-ulps: Likewise.
16008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16010 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
16012         * math/libm-test.inc (print_complex_max_error): Check separately
16013         whether real and imaginary errors are within allowed range and
16014         pass 0 to print_complex_function_ulps instead of value within
16015         allowed range.
16017 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16019         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16020         formatting.
16021         (get_handles_fopen): Likewise.
16022         (do_write_test): Likewise.
16024         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16026         * libio/fileops.c (do_ftell): Use cached offset when
16027         available.
16028         * libio/iofwide.c (do_ftell_wide): Likewise.
16029         * libio/iofdopen.c (_IO_new_fdopen): Don't use
16030         _IO_file_attach.
16031         * libio/wfileops.c (_IO_fwide): Don't cache offset.
16033         [BZ #16532]
16034         * libio/libioP.h (get_file_offset): New function.
16035         * libio/fileops.c (get_file_offset): Likewise.
16036         (do_ftell): Likewise.
16037         (_IO_new_file_seekoff): Split out ftell logic.
16038         * libio/wfileops.c (do_ftell_wide): Likewise.
16039         (_IO_wfile_seekoff): Split out ftell logic.
16040         * libio/tst-ftell-active-handler.c: New test case.
16041         * libio/Makefile (tests): Add it.
16043 2014-03-03  Roland McGrath  <roland@hack.frob.com>
16045         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16046         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16048 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16050         [BZ #16639]
16051         * nscd/connections.c (nscd_init): Call do_exit.
16052         (start_threads): Call do_exit and notify_parent.
16053         (begin_drop_privileges): Call do_exit.
16054         (finish_drop_privileges): Likewise.
16055         * nscd/selinux.c (preserve_capabilities): Likewise.
16056         (install_real_capabilities): Likewise.
16057         (nscd_selinux_enabled): Likewise.
16058         (avc_create_thread): Likewise.
16059         (avc_alloc_lock): Likewise.
16060         (nscd_avc_init): Likewise.
16061         * nscd/nscd.c (parent_fd): New static variable.
16062         (main): Create a pipe between parent and child processes.
16063         Skip closing parent_fd.
16064         (monitor_child): New function.
16065         (do_exit): Likewise.
16066         (notify_parent): Likewise.
16067         * nscd/nscd.h (notify_parent): Likewise.
16068         (do_exit): Likewise.
16070 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
16072         * malloc/malloc.c (__libc_calloc): Revert last change.
16074 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16078 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16080         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16081         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16082         implementation.
16083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16084         (__libc_ifunc_impl_list): Likewise.
16085         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16086         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16087         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16088         * string/strrchr.c: Define STRRCHR.
16090 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
16092         * benchtest/bench-strtok.c (simple_strtok): Delete.
16093         (strtok_string): Use as benchmark.
16094         * string/strtok (STRTOK): New macro.
16096 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
16098         * manual/threads.texi: Add header and standard comments to all
16099         functions.
16101         * elf/dl-lookup.c (check_match): New function.
16102         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16103         (do_lookup_x): Remove nested function check_match. Use non-nested
16104         function check_match.
16106 2014-02-28  Roland McGrath  <roland@hack.frob.com>
16108         * csu/Makefile (generated, before-compile): Use += rather than =.
16109         * catgets/Makefile (generated, generated-dirs): Likewise.
16110         * debug/Makefile (generated): Likewise.
16111         * dlfcn/Makefile (generated): Likewise.
16112         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16113         * iconvdata/Makefile (before-compile, generated): Likewise.
16114         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16115         * libio/Makefile (generated): Likewise.
16116         * malloc/Makefile (generated): Likewise.
16117         * manual/Makefile (generated, generated-dirs): Likewise.
16118         * misc/Makefile (generated): Likewise.
16119         * posix/Makefile (generated): Likewise.
16120         * resolv/Makefile (generated): Likewise.
16121         * sunrpc/Makefile (generated, generated-dirs): Likewise.
16122         * timezone/Makefile (generated, generated-dirs): Likewise.
16124         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16126 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16128         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16129         power8 implementation.
16130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16131         file: POWER8 llround ifunc implementation.
16132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16133         (__lllround): Add POWER8 implementation.
16134         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16135         POWER8 llround implementation.
16137         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16138         power8 implementation.
16139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16140         file: POWER8 llrint ifunc implementation.
16141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16142         Add POWER8 implementation.
16143         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16144         POWER8 llrint implementation.
16146         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16147         power8 implementation.
16148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16149         file: POWER8 finite ifunc implementation.
16150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16151         Add POWER8 implementation.
16152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16153         Likewise.
16154         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16155         POWER8 finite implementation.
16156         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16158         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16159         power8 implementation.
16160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16161         file: POWER8 isinf ifunc implementation.
16162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16163         POWER8 implementation.
16164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16165         Likewise.
16166         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16167         isinf implementation.
16168         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16170         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16171         (INIT_ARCH): Add hwcap2 initialization.
16172         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16173         power8 implementation.
16174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16175         file: POWER8 isnan ifunc implementation.
16176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16177         POWER8 implementation.
16178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16179         Likewise.
16180         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16181         isnan implementation.
16182         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16184 2014-02-27  Joey Ye  <joey.ye@arm.com>
16186         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16187         (_FP_NANFRAC_Q): Set to zero.
16189 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16191         [BZ #16623]
16192         * math/auto-libm-test-in: New test inputs.
16193         * math/auto-libm-test-out: Regenerate.
16194         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16195         and DA.
16196         (__cos): Likewise.
16197         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16199 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
16201         * scripts/evaluate-test.sh: Take new argument indicating whether
16202         failure is expected.
16203         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16204         indicating whether failure is expected.
16205         * conform/Makefile (test-xfail-run-conformtest): New variable.
16206         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16207         level.
16208         * posix/Makefile (test-xfail-annexc): New variable.
16209         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16211 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
16213         * argp/Makefile: Include Makeconfig immediately after defining
16214         subdir.
16215         * assert/Makefile: Likewise.
16216         * benchtests/Makefile: Likewise.
16217         * catgets/Makefile: Likewise.
16218         * conform/Makefile: Likewise.
16219         * crypt/Makefile: Likewise.
16220         * csu/Makefile: Likewise.
16221         (all): Remove target.
16222         * ctype/Makefile: Include Makeconfig immediately after defining
16223         subdir.
16224         * debug/Makefile: Likewise.
16225         * dirent/Makefile: Likewise.
16226         * dlfcn/Makefile: Likewise.
16227         * gmon/Makefile: Likewise.
16228         * gnulib/Makefile: Likewise.
16229         * grp/Makefile: Likewise.
16230         * gshadow/Makefile: Likewise.
16231         * hesiod/Makefile: Likewise.
16232         * hurd/Makefile: Likewise.
16233         (all): Remove target.
16234         * iconvdata/Makefile: Include Makeconfig immediately after
16235         defining subdir.
16236         * inet/Makefile: Likewise.
16237         * intl/Makefile: Likewise.
16238         * io/Makefile: Likewise.
16239         * libio/Makefile: Likewise.
16240         (all): Remove target.
16241         * locale/Makefile: Include Makeconfig immediately after defining
16242         subdir.
16243         * login/Makefile: Likewise.
16244         * mach/Makefile: Likewise.
16245         (all): Remove target.
16246         * malloc/Makefile: Include Makeconfig immediately after defining
16247         subdir.
16248         (all): Remove target.
16249         * manual/Makefile: Include Makeconfig immediately after defining
16250         subdir.
16251         * math/Makefile: Likewise.
16252         * misc/Makefile: Likewise.
16253         * nis/Makefile: Likewise.
16254         * nss/Makefile: Likewise.
16255         * po/Makefile: Likewise.
16256         (all): Remove target.
16257         * posix/Makefile: Include Makeconfig immediately after defining
16258         subdir.
16259         * pwd/Makefile: Likewise.
16260         * resolv/Makefile: Likewise.
16261         * resource/Makefile: Likewise.
16262         * rt/Makefile: Likewise.
16263         * setjmp/Makefile: Likewise.
16264         * shadow/Makefile: Likewise.
16265         * signal/Makefile: Likewise.
16266         * socket/Makefile: Likewise.
16267         * soft-fp/Makefile: Likewise.
16268         * stdio-common/Makefile: Likewise.
16269         * stdlib/Makefile: Likewise.
16270         * streams/Makefile: Likewise.
16271         * string/Makefile: Likewise.
16272         * sunrpc/Makefile: Likewise.
16273         (all): Remove target.
16274         * sysvipc/Makefile: Include Makeconfig immediately after defining
16275         subdir.
16276         * termios/Makefile: Likewise.
16277         * time/Makefile: Likewise.
16278         * timezone/Makefile: Likewise.
16279         (all): Remove target.
16280         * wcsmbs/Makefile: Include Makeconfig immediately after defining
16281         subdir.
16282         * wctype/Makefile: Likewise.
16284 2014-02-26  Steve Ellcey  <sellcey@mips.com>
16286         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16287         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16288         (libc_feholdexcept_setround_mips): Ditto.
16289         (libc_feholdsetround): New.
16290         (libc_feholdsetroundf): New.
16291         (libc_feholdsetroundl): New.
16292         (libc_feupdateenv_test_mips): New.
16293         (libc_feupdateenv_test): New.
16294         (libc_feupdateenv_testf): New.
16295         (libc_feupdateenv_testl): New.
16296         (libc_feresetround): New.
16297         (libc_feresetroundf): New.
16298         (libc_feresetroundl): New.
16299         (libc_fetestexcept_mips): New.
16300         (libc_fetestexcept): New.
16301         (libc_fetestexceptf): New.
16302         (libc_fetestexceptl): New.
16303         (HAVE_RM_CTX): New.
16304         (libc_feholdexcept_setround_mips_ctx): New.
16305         (libc_feholdexcept_setround_ctx): New.
16306         (libc_feholdexcept_setroundf_ctx): New.
16307         (libc_feholdexcept_setroundl_ctx): New.
16308         (libc_fesetenv_mips_ctx): New.
16309         (libc_fesetenv_ctx): New.
16310         (libc_fesetenv_ctxf): New.
16311         (libc_fesetenv_ctxl): New.
16312         (libc_feupdateenv_mips_ctx): New.
16313         (libc_feupdateenv_ctx): New.
16314         (libc_feupdateenvf_ctx): New.
16315         (libc_feupdateenvl_ctx): New.
16316         (libc_feholdsetround_mips_ctx): New.
16317         (libc_feholdsetround_ctx): New.
16318         (libc_feholdsetroundf_ctx): New.
16319         (libc_feholdsetroundl_ctx): New.
16320         (libc_feresetround_mips_ctx): New.
16321         (libc_feresetround_ctx): New.
16322         (libc_feresetroundf_ctx): New.
16323         (libc_feresetroundl_ctx): New.
16325 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
16327         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16329         * manual/ipc.texi: New file.
16330         * manual/Makefile (chapters): Add ipc.
16331         * manual/job.texi: Add "Inter-Process Communication" to next.
16332         * manual/process.texi: Add "Inter-Process Communication" to prev.
16334 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16338 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
16340         * malloc/malloc.c (__libc_calloc): Simplify implementation.
16342         * manual/arith.texi: Fix spaces after sentences.
16343         * manual/charset.texi: Likewise.
16344         * manual/errno.texi: Likewise.
16345         * manual/install.texi: Likewise.
16346         * manual/llio.texi: Likewise.
16347         * manual/locale.texi: Likewise.
16348         * manual/maint.texi: Likewise.
16349         * manual/math.texi: Likewise.
16350         * manual/memory.texi: Likewise.
16351         * manual/message.texi: Likewise.
16352         * manual/probes.texi: Likewise.
16353         * manual/resource.texi: Likewise.
16354         * manual/signal.texi: Likewise.
16355         * manual/socket.texi: Likewise.
16356         * manual/stdio.texi: Likewise.
16357         * manual/string.texi: Likewise.
16358         * manual/time.texi: Likewise.
16359         * manual/users.texi: Likewise.
16361 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
16363         [BZ #16632]
16364         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16365         _DEFAULT_SOURCE is defined.
16367 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
16368             Carlos O'Donell  <carlos@redhat.com>
16370         [BZ #16613]
16371         * elf/dl-tls.c (_dl_count_modids): New function.
16372         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16373         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16374         audit library and increment generation counter.
16375         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16376         * elf/tst-audit9.c: New file.
16377         * elf/tst-auditmod9a.c: New file.
16378         * elf/tst-auditmod9b.c: New file.
16379         * elf/Makefile: Add rules to build and run tst-audit9.
16381 2014-02-25  Florian Weimer  <fweimer@redhat.com>
16383         [BZ #15347]
16384         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16386 2014-02-25  Will Newton  <will.newton@linaro.org>
16388         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16389         (__longjmp): Restore sp and lr before restoring callee
16390         saved registers.  Add longjmp and longjmp_target
16391         SystemTap probe point.
16392         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16393         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16394         Define to zero to match jmpbuf layout.
16395         * sysdeps/arm/setjmp.S: Include stap-probe.h.
16396         (__sigsetjmp): Save sp and lr before saving callee
16397         saved registers.  Add setjmp SystemTap probe point.
16399 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16401         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16403 2014-02-24  Andreas Schwab  <schwab@suse.de>
16405         [BZ #15804]
16406         * elf/pldd.c (wait_for_ptrace_stop): New function.
16407         (main): Call it after attaching.
16409 2014-02-22  Roland McGrath  <roland@hack.frob.com>
16411         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16412         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16413         Versions files is now verboten.
16414         * hurd/Versions (libc: GLIBC_2.0):
16415         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16416         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16417         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16418         * mach/Versions: Likewise.
16420         * csu/Versions: Remove unused %include.
16421         * resolv/Versions: Likewise.
16423 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
16425         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16426         ($(objpfx)check-local-headers.out): Likewise.
16427         ($(objpfx)begin-end-check.out): Likewise.
16428         * Makerules (check-abi-%.out): Likewise.
16429         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16430         ($(objpfx)test2.cat): Likewise.
16431         ($(objpfx)de/libc.cat): Likewise.
16432         ($(objpfx)test-gencat.out): Likewise.
16433         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16434         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16435         ($(objpfx)noload-mem): Likewise.
16436         ($(objpfx)tst-pathopt.out): Likewise.
16437         ($(objpfx)tst-rtld-load-self.out): Likewise.
16438         ($(objpfx)tst-array1-cmp.out): Likewise.
16439         ($(objpfx)tst-array1-static-cmp.out): Likewise.
16440         ($(objpfx)tst-array2-cmp.out): Likewise.
16441         ($(objpfx)tst-array3-cmp.out): Likewise.
16442         ($(objpfx)tst-array4-cmp.out): Likewise.
16443         ($(objpfx)tst-array5-cmp.out): Likewise.
16444         ($(objpfx)tst-array5-static-cmp.out): Likewise.
16445         ($(objpfx)check-textrel.out): Likewise.
16446         ($(objpfx)check-execstack.out): Likewise.
16447         ($(objpfx)check-localplt.out): Likewise.
16448         ($(objpfx)order2-cmp.out): Likewise.
16449         ($(objpfx)tst-leaks1-mem): Likewise.
16450         ($(objpfx)tst-leaks1-static-mem): Likewise.
16451         ($(objpfx)tst-initorder-cmp.out): Likewise.
16452         ($(objpfx)tst-initorder2-cmp.out): Likewise.
16453         ($(objpfx)tst-unused-dep.out): Likewise.
16454         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16455         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16456         * iconv/Makefile (test-iconvconfig): Likewise.
16457         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16458         ($(objpfx)iconv-test.out): Likewise.
16459         ($(objpfx)tst-tables.out): Likewise.
16460         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16461         ($(objpfx)tst-gettext.out): Likewise.
16462         ($(objpfx)tst-translit.out): Likewise.
16463         ($(objpfx)tst-gettext2.out): Likewise.
16464         ($(objpfx)tst-gettext4.out): Likewise.
16465         ($(objpfx)tst-gettext6.out): Likewise.
16466         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16467         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16468         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16469         ($(objpfx)tst-fopenloc-mem.out): Likewise.
16470         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16471         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16472         * posix/Makefile ($(objpfx)globtest.out): Likewise.
16473         ($(objpfx)wordexp-tst.out): Likewise.
16474         ($(objpfx)annexc.out): Likewise.
16475         ($(objpfx)tst-fnmatch-mem): Likewise.
16476         ($(objpfx)bug-regex2-mem): Likewise.
16477         ($(objpfx)bug-regex14-mem): Likewise.
16478         ($(objpfx)bug-regex21-mem): Likewise.
16479         ($(objpfx)bug-regex31-mem): Likewise.
16480         ($(objpfx)tst-vfork3-mem): Likewise.
16481         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16482         ($(objpfx)tst-pcre-mem): Likewise.
16483         ($(objpfx)tst-boost-mem): Likewise.
16484         ($(objpfx)tst-getconf.out): Likewise.
16485         ($(objpfx)bug-ga2-mem): Likewise.
16486         ($(objpfx)bug-glob2-mem): Likewise.
16487         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16488         ($(objpfx)mtrace-tst-leaks2): Likewise.
16489         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16490         ($(objpfx)tst-printf.out): Likewise.
16491         ($(objpfx)tst-setvbuf1.out): Likewise.
16492         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16493         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16494         ($(objpfx)tst-fmtmsg.out): Likewise.
16495         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16496         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16498         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16499         * bits/sigaction.h [__USE_MISC]: Likewise.
16500         * bits/waitstatus.h: Update #endif comments.
16501         * ctype/ctype.h: Likewise.
16502         * dirent/dirent.h: Likewise.
16503         [__USE_MISC]: Remove redundant conditionals.
16504         * grp/grp.h: Update #endif comments.
16505         [__USE_GNU]: Remove redundant conditionals.
16506         [__USE_MISC]: Likewise.
16507         * inet/netinet/in.h [__USE_GNU]: Likewise.
16508         * io/sys/stat.h [__USE_MISC]: Likewise.
16509         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16510         * libio/bits/stdio.h: Update #endif comments.
16511         [__USE_MISC]: Remove redundant conditionals.
16512         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16513         * libio/stdio.h: Update #endif comments.
16514         [__USE_MISC]: Remove redundant conditionals.
16515         * math/bits/math-finite.h [__USE_MISC]: Likewise.
16516         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16517         * math/math.h: Update #else and #endif comments.
16518         [__USE_MISC]: Remove redundant conditionals.
16519         * misc/sys/uio.h: Update #endif comments.
16520         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16521         * posix/glob.h [__USE_MISC]: Likewise.
16522         * posix/sys/types.h: Update #endif comments.
16523         [__USE_MISC]: Remove redundant conditionals.
16524         * posix/sys/wait.h: Update #endif comments.
16525         [__USE_MISC]: Remove redundant conditionals.
16526         * posix/unistd.h: Update #endif comments.
16527         [__USE_MISC]: Remove redundant conditionals.
16528         * pwd/pwd.h [__USE_GNU]: Likewise.
16529         [__USE_MISC]: Likewise.
16530         * resolv/netdb.h [__USE_GNU]: Likewise.
16531         * signal/signal.h: Update #endif comments.
16532         [__USE_MISC]: Remove redundant conditionals.
16533         * stdlib/stdlib.h: Update #else and #endif comments.
16534         [__USE_MISC]: Remove redundant conditionals.
16535         [__USE_GNU]: Likewise.
16536         * string/bits/string2.h [__USE_MISC]: Likewise.
16537         * string/string.h: Update #endif comments.
16538         [__USE_MISC]: Remove redundant conditionals.
16539         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16540         Likewise.
16541         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16542         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16543         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16544         Likewise.
16545         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16546         Likewise.
16547         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16548         comments.
16549         [__USE_MISC]: Remove redundant conditionals.
16550         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16551         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16552         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16553         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16554         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16555         Likewise.
16556         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16557         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16558         Likewise.
16559         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16560         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16561         Likewise.
16562         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16563         Likewise.
16564         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16565         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16566         Likewise.
16567         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16568         Likewise.
16569         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16570         * sysdeps/x86/bits/string.h: Update #endif comments.
16571         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16572         conditionals.
16573         * time/sys/time.h: Update #endif comments.
16574         * time/time.h: Likewise.
16575         [__USE_MISC]: Remove redundant conditionals.
16577 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
16579         [BZ #16600]
16580         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16582 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
16584         * Versions.def (librt): Add GLIBC_2.17.
16586 2014-02-21  Adam Conrad  <adconrad@0c3.net>
16588         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16589         synonym for _SYS_AUXV_H to allow direct inclusion.
16590         * sysdeps/sparc/bits/hwcap.h: Likewise.
16591         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16592         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16593         * sysdeps/sparc/sysdep.h: Likewise.
16595 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16597         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16599 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16601         * benchtests/bench-strrchr.c: Print length instead of position.
16603 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
16605         [BZ #16611]
16606         * sysdeps/unix/sysv/linux/kernel-features.h
16607         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16608         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16609         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16610         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16611         Likewise.
16612         [__i386__ || __powerpc__ || __sh__ || __sparc__]
16613         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16614         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16615         (__ASSUME_SENDMMSG): Define instead of using previous
16616         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16617         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16618         (__ASSUME_SENDMMSG_SYSCALL): Define.
16619         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16620         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16621         Likewise.
16622         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16623         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16624         Likewise.
16625         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16626         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16627         Likewise.
16628         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16629         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16630         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16631         [__ASSUME_SENDMMSG]: Change conditionals to
16632         [__ASSUME_SENDMMSG_SOCKETCALL].
16633         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16634         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16635         Define.
16636         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16637         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16638         Likewise.
16639         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16640         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16641         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16642         [!__ASSUME_SENDMMSG]: Change conditional to
16643         [!__ASSUME_SENDMMSG_SOCKETCALL].
16644         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16645         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16646         Define.
16648         [BZ #16610]
16649         * sysdeps/unix/sysv/linux/kernel-features.h
16650         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16651         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16652         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16653         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16654         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16655         [__i386__ || __sparc__]
16656         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16657         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16658         (__ASSUME_RECVMMSG): Define instead of using previous
16659         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16660         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16661         (__ASSUME_RECVMMSG_SYSCALL): Define.
16662         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16663         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16664         Likewise.
16665         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16666         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16667         Likewise.
16668         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16669         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16670         Likewise.
16671         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16672         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16673         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16674         [__ASSUME_RECVMMSG]: Change condition to
16675         [__ASSUME_RECVMMSG_SOCKETCALL].
16676         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16677         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16678         Define.
16679         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16680         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16681         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16682         Likewise.
16683         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16684         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16685         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16686         [!__ASSUME_RECVMMSG]: Change condition to
16687         [!__ASSUME_RECVMMSG_SOCKETCALL].
16688         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16689         (__ASSUME_RECVMMSG_SYSCALL): Define.
16691         [BZ #16609]
16692         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16693         __powerpc__ || __s390__ || __sh__ || __sparc__]
16694         (__ASSUME_SOCKETCALL): Define.
16695         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16696         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16697         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16698         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16699         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16700         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16701         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16702         (__ASSUME_ACCEPT4): Define instead of using previous
16703         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16704         __powerpc__ || __sparc__ || __s390__)] condition.
16705         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16706         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16707         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16708         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16709         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16710         [!__ASSUME_ACCEPT4]: Change condition to
16711         [!__ASSUME_ACCEPT4_SOCKETCALL].
16712         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16713         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
16714         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16715         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16716         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16717         __ASSUME_ACCEPT4_SYSCALL.
16718         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16719         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16720         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16721         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16722         __ASSUME_ACCEPT4_SYSCALL.
16723         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16724         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16725         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16726         [__ASSUME_ACCEPT4]: Change condition to
16727         [__ASSUME_ACCEPT4_SOCKETCALL].
16728         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16729         (__ASSUME_SOCKETCALL): Define.
16730         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16731         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16732         (__ASSUME_SOCKETCALL): Define.
16733         (__ASSUME_ACCEPT4): Remove.
16734         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16735         Define.
16736         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16737         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16738         Likewise.
16739         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16740         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16742         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16743         macro.
16744         (HWCAP_ARM_LPAE): Likewise.
16745         (HWCAP_ARM_EVTSTRM): Likewise.
16746         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16747         Add vpfd32, lpae and evtstrm.
16748         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16749         Increase to 22.
16751 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
16753         * math/auto-libm-test-in: Add tests of clog10.
16754         * math/auto-libm-test-out: Regenerated.
16755         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16756         * sysdeps/i386/fpu/libm-test-ulps: Update.
16757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16759 2014-02-18  Andreas Schwab  <schwab@suse.de>
16761         [BZ #16574]
16762         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16763         Store non-zero if the second buffer was newly allocated.
16764         (send_dg): Likewise.
16765         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16766         to send_vc and send_dg.
16767         (res_nsend): Pass NULL for ansp2_malloced.
16768         * resolv/res_query.c (__libc_res_nquery): Add parameter
16769         answerp2_malloced and pass it down to __libc_res_nsend.
16770         (res_nquery): Pass additional NULL to __libc_res_nquery.
16771         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16772         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
16773         second answer buffer if answerp2_malloced was set.
16774         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16775         (__libc_res_nquerydomain): Add parameter
16776         answerp2_malloced and pass it down to __libc_res_nquery.
16777         (res_nquerydomain): Pass additional NULL to
16778         __libc_res_nquerydomain.
16779         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16780         additional NULL to __libc_res_nsend and __libc_res_nquery.
16781         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16782         additional NULL to __libc_res_nsearch.
16783         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
16784         parameter of __libc_res_nsearch to check for separately allocated
16785         second buffer.
16786         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16787         __libc_res_nquery.
16788         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16789         additional NULL to __libc_res_nquery.
16790         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16791         __libc_res_nsearch.
16792         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16793         * include/resolv.h: Update prototypes of __libc_res_nquery,
16794         __libc_res_nsearch, __libc_res_nsend.
16796 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
16798         * math/auto-libm-test-in: Add tests of fma.
16799         * math/auto-libm-test-out: Regenerated.
16800         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16801         (fma_towardzero_test_data): Likewise.
16802         (fma_downward_test_data): Likewise.
16803         (fma_upward_test_data): Likewise.
16804         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16805         mpc_mode.
16806         (rounding_modes): Add values for new field.
16807         (func_calc_method): Add value mpfr_fff_f.
16808         (func_calc_desc): Add mpfr_fff_f union field.
16809         (test_function): Add field exact_args.
16810         (FUNC): Add macro argument EXACT_ARGS.
16811         (FUNC_mpfr_f_f): Update call to FUNC.
16812         (FUNC_mpfr_f_f): Likewise.
16813         (FUNC_mpfr_ff_f): Likewise.
16814         (FUNC_mpfr_if_f): Likewise.
16815         (FUNC_mpc_c_f): Likewise.
16816         (FUNC_mpc_c_c): Likewise.
16817         (test_functions): Add fma.  Update calls to FUNC.
16818         (handle_input_arg): Add argument exact_args.
16819         (add_test): Update call to handle_input_arg.
16820         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
16821         (output_for_one_input_case): Update call to calc_generic_results.
16822         Recalculate exact zero results in each rounding mode.
16824         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16825         non-negative before setting low bit.
16826         * math/auto-libm-test-in: Mark one asin test possibly having
16827         spurious underflow.
16828         * math/auto-libm-test-out: Regenerated.
16829         * sysdeps/i386/fpu/libm-test-ulps: Update.
16830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16832 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
16834         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16835         * sysdeps/unix/sysv/linux/microblaze: Move directory from
16836         ports/sysdeps/unix/sysv/linux/microblaze.
16837         * README: Add missing listing for microblaze*-*-linux-gnu.
16839 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
16841         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16842         duplicate code
16844 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
16846         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16847         * sysdeps/unix/sysv/linux/ia64: Move directory from
16848         ports/sysdeps/unix/sysv/linux/ia64.
16849         * README: Update listing for ia64-*-linux-gnu.
16851 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
16852             Joseph Myers  <joseph@codesourcery.com>
16854         * Makeconfig (test-name): New variable.
16855         (evaluate-test): Likewise.
16856         * Makerules (do-test-clean): Remove .test-result files.
16857         (common-mostlyclean): Likewise.
16858         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16859         * scripts/evaluate-test.sh: New file.
16861 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
16863         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16864         separate $(objpfx)tst-fopenloc-cmp.out and
16865         $(objpfx)tst-fopenloc-mem.out targets.
16866         (tests): Update dependencies.
16867         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16868         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16869         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16870         (tst-rxspencer-no-utf8-ARGS): New variable.
16871         (tst-rxspencer-no-utf8-ENV): Likewise.
16872         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16873         instead of $(objpfx)tst-rxspencer-mem.
16874         ($(objpfx)tst-rxspencer-mem): Change target to
16875         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
16876         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16877         * posix/tst-rxspencer-no-utf8.c: New file.
16879         * elf/Makefile ($(objpfx)order.out): Remove rule.
16880         [$(run-built-tests) = yes] (tests): Depend on
16881         $(objpfx)order-cmp.out.
16882         ($(objpfx)order-cmp.out): New rule.
16883         [$(run-built-tests) = yes] (tests): Depend on
16884         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16885         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16886         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16887         $(objpfx)tst-array5-static-cmp.out.
16888         ($(objpfx)tst-array1.out): Remove rule.
16889         ($(objpfx)tst-array1-cmp.out): New rule.
16890         ($(objpfx)tst-array1-static.out): Remove rule.
16891         ($(objpfx)tst-array1-static-cmp.out): New rule.
16892         ($(objpfx)tst-array2.out): Remove rule.
16893         ($(objpfx)tst-array2-cmp.out): New rule.
16894         ($(objpfx)tst-array3.out): Remove rule.
16895         ($(objpfx)tst-array3-cmp.out): New rule.
16896         ($(objpfx)tst-array4.out): Remove rule.
16897         ($(objpfx)tst-array4-cmp.out): New rule.
16898         ($(objpfx)tst-array5.out): Remove rule.
16899         ($(objpfx)tst-array5-cmp.out): New rule.
16900         ($(objpfx)tst-array5-static.out): Remove rule.
16901         ($(objpfx)tst-array5-static-cmp.out): New rule.
16902         [$(run-built-tests) = yes] (tests): Depend on
16903         $(objpfx)order2-cmp.out.
16904         ($(objpfx)order2.out): Remove rule.
16905         ($(objpfx)order2-cmp.out): New rule.
16906         ($(objpfx)tst-initorder.out): Remove rule.
16907         [$(run-built-tests) = yes] (tests): Depend on
16908         $(objpfx)tst-initorder-cmp.out.
16909         ($(objpfx)tst-initorder-cmp.out): New rule.
16910         ($(objpfx)tst-initorder2.out): Remove rule.
16911         [$(run-built-tests) = yes] (tests): Depend on
16912         $(objpfx)tst-initorder2-cmp.out.
16913         ($(objpfx)tst-initorder2-cmp.out): New rule.
16914         [$(run-built-tests) = yes] (tests): Depend on
16915         $(objpfx)tst-unused-dep-cmp.out.
16916         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16917         ($(objpfx)tst-unused-dep-cmp.out): New rule.
16918         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16919         on $(objpfx)tst-setvbuf1-cmp.out.
16920         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16921         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16922         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16923         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16924         ($(objpfx)tst-svc.out): Remove rule.
16925         ($(objpfx)tst-svc-cmp.out): New rule.
16927 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
16929         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16930         * ctype/ctype.h [__USE_MISC]: Likewise.
16931         * dirent/dirent.h [__USE_MISC]: Likewise.
16932         * grp/grp.h [__USE_MISC]: Likewise.
16933         * io/fcntl.h [__USE_MISC]: Likewise.
16934         * io/sys/stat.h [__USE_MISC]: Likewise.
16935         * libio/stdio.h [__USE_MISC]: Likewise.
16936         * posix/unistd.h [__USE_MISC]: Likewise.
16937         * pwd/pwd.h [__USE_MISC]: Likewise.
16938         * stdlib.h [__USE_MISC]: Likewise.
16939         * string/bits/string2.h [__USE_MISC]: Likewise.
16940         * string/string.h [__USE_MISC]: Likewise.
16941         * time/time.h [__USE_MISC]: Likewise.
16943 2014-02-13  Andreas Schwab  <schwab@suse.de>
16945         [BZ #16574]
16946         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16947         second answer buffer if it was separately allocated.
16949 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
16951         * sysdeps/mips/math-tests.h: Include <features.h>.
16952         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16953         (ROUNDING_TESTS_long_double): Do not define.
16954         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16955         (EXCEPTION_TESTS_long_double): Likewise.
16956         * sysdeps/mips/mips64/libm-test-ulps: Update.
16958         * include/features.h (__USE_BSD): Remove macro definitions.
16959         (__USE_SVID): Likewise.
16960         (_BSD_SOURCE): Likewise.
16961         (_SVID_SOURCE): Likewise.
16962         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16963         from definition of _DEFAULT_SOURCE.
16964         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16965         [_DEFAULT_SOURCE].
16966         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16967         * bits/mman.h [__USE_BSD]: Likewise.
16968         * bits/termios.h [__USE_BSD]: Likewise.
16969         * bits/waitstatus.h [__USE_BSD]: Likewise.
16970         * ctype/ctype.h [__USE_SVID]: Likewise.
16971         * dirent/dirent.h [__USE_BSD]: Likewise.
16972         * grp/grp.h [__USE_SVID]: Likewise.
16973         [__USE_BSD]: Likewise.
16974         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16975         * io/fcntl.h [__USE_BSD]: Likewise.
16976         * io/ftw.h [__USE_BSD]: Likewise.
16977         * io/sys/stat.h [__USE_BSD]: Likewise.
16978         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16979         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16980         * libio/stdio.h [__USE_SVID]: Likewise.
16981         [__USE_BSD]: Likewise.
16982         * math/math.h [__USE_SVID]: Likewise.
16983         [__USE_BSD]: Likewise.
16984         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16985         * misc/bits/syslog.h [__USE_BSD]: Likewise.
16986         * misc/search.h [__USE_SVID]: Likewise.
16987         * misc/sys/mman.h [__USE_BSD]: Likewise.
16988         * misc/sys/syslog.h [__USE_BSD]: Likewise.
16989         * misc/sys/uio.h [__USE_BSD]: Likewise.
16990         * posix/bits/unistd.h [__USE_BSD]: Likewise.
16991         * posix/glob.h [__USE_BSD]: Likewise.
16992         * posix/regex.h [__USE_BSD]: Likewise.
16993         * posix/sys/types.h [__USE_BSD]: Likewise.
16994         [__USE_SVID]: Likewise.
16995         * posix/sys/utsname.h [__USE_SVID]: Likewise.
16996         * posix/sys/wait.h [__USE_BSD]: Likewise.
16997         [__USE_SVID]: Likewise.
16998         * posix/unistd.h [__USE_BSD]: Likewise.
16999         [__USE_SVID]: Likewise.
17000         * pwd/pwd.h [__USE_SVID]: Likewise.
17001         * resolv/netdb.h [__USE_BSD]: Likewise.
17002         * setjmp/setjmp.h [__USE_BSD]: Likewise.
17003         * signal/signal.h [__USE_BSD]: Likewise.
17004         [__USE_SVID]: Likewise.
17005         * socket/sys/socket.h [__USE_BSD]: Likewise.
17006         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17007         * stdlib/stdlib.h [__USE_BSD]: Likewise.
17008         [__USE_SVID]: Likewise.
17009         * string/bits/string2.h [__USE_BSD]: Likewise.
17010         [__USE_SVID]: Likewise.
17011         * string/bits/string3.h [__USE_BSD]: Likewise.
17012         * string/endian.h [__USE_BSD]: Likewise.
17013         * string/string.h [__USE_SVID]: Likewise.
17014         [__USE_BSD]: Likewise.
17015         * string/strings.h [__USE_BSD]: Likewise.
17016         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17017         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17018         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17019         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17020         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17021         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17022         Likewise.
17023         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17024         Likewise.
17025         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17026         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17027         Likewise.
17028         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17029         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17030         Likewise.
17031         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17032         Likewise.
17033         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17034         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17035         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17036         Likewise.
17037         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17038         Likewise.
17039         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17040         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17041         * termios/termios.h [__USE_BSD]: Likewise.
17042         * time/sys/time.h [__USE_BSD]: Likewise.
17043         * time/time.h [__USE_BSD]: Likewise.
17044         [__USE_SVID]: Likewise.
17046         * Makefile (subdir_targets): Remove subdir_lint.out.
17048         * stdio-common/Makefile (do-tst-unbputc): Remove target.
17049         (do-tst-printf): Likewise.
17050         (tests): Depend directly on $(objpfx)tst-unbputc.out and
17051         $(objpfx)tst-printf.out.
17053         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17055         * Makerules (check-abi-%): Change target to
17056         $(objpfx)check-abi-%.out.
17057         (check-abi target): Update dependencies.
17058         (check-abi-pattern variable): Redirect output of diff to $@.
17059         (check-abi variable): Likewise.
17060         * elf/Makefile (check-abi): Update dependencies.
17062         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17063         unused.
17064         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17065         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17066         subnormal range.
17067         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17068         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17069         value has largest subnormal exponent.
17070         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17071         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17072         * sysdeps/aarch64/soft-fp/sfp-machine.h
17073         (_FP_TININESS_AFTER_ROUNDING): New macro.
17074         * sysdeps/alpha/soft-fp/sfp-machine.h
17075         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17076         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17077         Likewise.
17078         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17079         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17080         * sysdeps/mips/soft-fp/sfp-machine.h
17081         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17082         * sysdeps/powerpc/soft-fp/sfp-machine.h
17083         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17084         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17085         Likewise.
17086         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17087         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17088         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17089         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17090         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17091         Likewise.
17093 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
17095         [BZ #16545]
17096         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17097         model 1.
17099 2014-02-12  Richard Henderson  <rth@redhat.com>
17101         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17102         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17103         * sysdeps/unix/sysv/linux/alpha: Move directory from
17104         ports/sysdeps/unix/sysv/linux/alpha.
17105         * README: Update listing for alpha-*-linux-gnu.
17107 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
17109         * include/features.h: Update comment documenting feature test
17110         macros.
17111         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
17112         _DEFAULT_SOURCE.
17113         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17114         (_SVID_SOURCE): Likewise.
17115         (_DEFAULT_SOURCE): Update description of default features.
17116         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17117         with _GNU_SOURCE.
17118         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17119         (S_ISVTX): Likewise.
17120         * manual/math.texi (Mathematical Constants): Likewise.
17121         * manual/signal.texi (Interrupted Primitives): Likewise.
17122         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17123         * math/test-matherr.c (_SVID_SOURCE): Do not define.
17124         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17125         Don't refer to _SVID_SOURCE in warning text.
17127         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17129         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17130         already defined.
17131         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17132         * sysdeps/mips/dl-lookup.c: Remove.
17133         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17135 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17137         [BZ #16447]
17138         * math/auto-libm-test-in: Add testcase for expl.
17139         * math/auto-libm-test-out: Regenerate.
17140         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17141         calculation of unsafe.
17142         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17144 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17146         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17147         * sysdeps/unix/sysv/linux/aarch64: Move directory from
17148         ports/sysdeps/unix/sysv/linux/aarch64.
17149         * README: Update listing for aarch64*-*-linux-gnu.
17151 2014-02-11  Will Newton  <will.newton@linaro.org>
17153         * manual/probes.texi (Mathematical Function Probes): Use
17154         "triggered" instead of "hit".
17156         * manual/probes.texi (Internal Probes): Add documentation
17157         of setjmp, longjmp and longjmp_target probes.
17159         * include/stap-probe.h: Add comment about probe argument
17160         format.
17162         * malloc/mtrace.c (attribute_hidden): Remove unused macro
17163         definition.  (tr_where, tr_freehook, tr_mallochook,
17164         tr_reallochook, tr_memalignhook): Use ANSI protoype.
17166 2014-02-11  David S. Miller  <davem@davemloft.net>
17168         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17169         processing int_tests.
17171 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
17173         * sysdeps/mips: Move directory from ports/sysdeps/mips.
17174         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17175         * sysdeps/unix/sysv/linux/mips: Move directory from
17176         ports/sysdeps/unix/sysv/linux/mips.
17177         * README: Update listing for mips-*-linux-gnu and
17178         mips64-*-linux-gnu.
17180 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
17182         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17183         * sysdeps/unix/sysv/linux/m68k: Move directory from
17184         ports/sysdeps/unix/sysv/linux/m68k.
17185         * README: Update listing for m68k-*-linux-gnu.
17187 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
17189         * sysdeps/tile: Move directory from ports/sysdeps/tile.
17190         * sysdeps/unix/sysv/linux/generic: Move directory from
17191         ports/sysdeps/unix/sysv/linux/generic.
17192         * sysdeps/unix/sysv/linux/tile: Move directory from
17193         ports/sysdeps/unix/sysv/linux/tile.
17194         * README: Update listing for tile*-*-linux-gnu.
17196 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
17198         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17199         __builtin_expect.
17200         * benchtests/bench-memmem.c (simple_memmem): Likewise.
17201         * catgets/open_catalog.c (__open_catalog): Likewise.
17202         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17203         * debug/confstr_chk.c: Likewise.
17204         * debug/fread_chk.c (__fread_chk): Likewise.
17205         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17206         * debug/getgroups_chk.c: Likewise.
17207         * debug/mbsnrtowcs_chk.c: Likewise.
17208         * debug/mbsrtowcs_chk.c: Likewise.
17209         * debug/mbstowcs_chk.c: Likewise.
17210         * debug/memcpy_chk.c: Likewise.
17211         * debug/memmove_chk.c: Likewise.
17212         * debug/mempcpy_chk.c: Likewise.
17213         * debug/memset_chk.c: Likewise.
17214         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17215         * debug/strcat_chk.c (__strcat_chk): Likewise.
17216         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17217         * debug/strncat_chk.c (__strncat_chk): Likewise.
17218         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17219         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17220         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17221         * debug/wcpncpy_chk.c: Likewise.
17222         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17223         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17224         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17225         * debug/wcsncpy_chk.c: Likewise.
17226         * debug/wcsnrtombs_chk.c: Likewise.
17227         * debug/wcsrtombs_chk.c: Likewise.
17228         * debug/wcstombs_chk.c: Likewise.
17229         * debug/wmemcpy_chk.c: Likewise.
17230         * debug/wmemmove_chk.c: Likewise.
17231         * debug/wmempcpy_chk.c: Likewise.
17232         * debug/wmemset_chk.c: Likewise.
17233         * dirent/scandirat.c (SCANDIRAT): Likewise.
17234         * dlfcn/dladdr1.c (dladdr1): Likewise.
17235         * dlfcn/dladdr.c (dladdr): Likewise.
17236         * dlfcn/dlclose.c (dlclose_doit): Likewise.
17237         * dlfcn/dlerror.c (__dlerror): Likewise.
17238         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17239         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17240         * dlfcn/dlopen.c (dlopen_doit): Likewise.
17241         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17242         * dlfcn/dlsym.c (dlsym_doit): Likewise.
17243         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17244         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17245         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17246         Likewise.
17247         * elf/dl-conflict.c: Likewise.
17248         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17249         * elf/dl-dst.h: Likewise.
17250         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17251         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17252         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17253         * elf/dl-init.c (call_init, _dl_init): Likewise.
17254         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17255         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17256         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17257         Likewise.
17258         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17259         Likewise.
17260         * elf/dl-minimal.c (__libc_memalign): Likewise.
17261         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17262         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17263         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17264         * elf/dl-sym.c (do_sym): Likewise.
17265         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17266         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17267         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17268         * elf/dl-writev.h (_dl_writev): Likewise.
17269         * elf/ldconfig.c (search_dir): Likewise.
17270         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17271         (dl_main): Likewise.
17272         * elf/setup-vdso.h (setup_vdso): Likewise.
17273         * grp/compat-initgroups.c (compat_call): Likewise.
17274         * grp/fgetgrent.c (fgetgrent): Likewise.
17275         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17276         * grp/putgrent.c (putgrent): Likewise.
17277         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17278         Likewise.
17279         * hurd/hurdinit.c: Likewise.
17280         * iconvdata/8bit-gap.c (struct): Likewise.
17281         * iconvdata/ansi_x3.110.c : Likewise.
17282         * iconvdata/big5.c : Likewise.
17283         * iconvdata/big5hkscs.c : Likewise.
17284         * iconvdata/cp1255.c: Likewise.
17285         * iconvdata/cp1258.c : Likewise.
17286         * iconvdata/cp932.c : Likewise.
17287         * iconvdata/euc-cn.c: Likewise.
17288         * iconvdata/euc-jisx0213.c : Likewise.
17289         * iconvdata/euc-jp.c: Likewise.
17290         * iconvdata/euc-jp-ms.c : Likewise.
17291         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17292         * iconvdata/gb18030.c : Likewise.
17293         * iconvdata/gbbig5.c (const): Likewise.
17294         * iconvdata/gbgbk.c: Likewise.
17295         * iconvdata/gbk.c : Likewise.
17296         * iconvdata/ibm1364.c : Likewise.
17297         * iconvdata/ibm930.c : Likewise.
17298         * iconvdata/ibm932.c: Likewise.
17299         * iconvdata/ibm933.c : Likewise.
17300         * iconvdata/ibm935.c : Likewise.
17301         * iconvdata/ibm937.c : Likewise.
17302         * iconvdata/ibm939.c : Likewise.
17303         * iconvdata/ibm943.c: Likewise.
17304         * iconvdata/iso_11548-1.c: Likewise.
17305         * iconvdata/iso-2022-cn.c : Likewise.
17306         * iconvdata/iso-2022-cn-ext.c : Likewise.
17307         * iconvdata/iso-2022-jp-3.c: Likewise.
17308         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17309         * iconvdata/iso-2022-kr.c : Likewise.
17310         * iconvdata/iso646.c (gconv_end): Likewise.
17311         * iconvdata/iso_6937-2.c : Likewise.
17312         * iconvdata/iso_6937.c : Likewise.
17313         * iconvdata/iso8859-1.c: Likewise.
17314         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17315         * iconvdata/shift_jisx0213.c : Likewise.
17316         * iconvdata/sjis.c : Likewise.
17317         * iconvdata/t.61.c : Likewise.
17318         * iconvdata/tcvn5712-1.c : Likewise.
17319         * iconvdata/tscii.c: Likewise.
17320         * iconvdata/uhc.c : Likewise.
17321         * iconvdata/unicode.c (gconv_end): Likewise.
17322         * iconvdata/utf-16.c (gconv_end): Likewise.
17323         * iconvdata/utf-32.c (gconv_end): Likewise.
17324         * iconvdata/utf-7.c (base64): Likewise.
17325         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17326         * iconv/gconv_close.c (__gconv_close): Likewise.
17327         * iconv/gconv_open.c (__gconv_open): Likewise.
17328         * iconv/gconv_simple.c (internal_ucs4_loop_single)
17329         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17330         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17331         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17332         (ucs4le_internal_loop_single): Likewise.
17333         * iconv/iconv.c (iconv): Likewise.
17334         * iconv/iconv_close.c: Likewise.
17335         * iconv/loop.c (SINGLE): Likewise.
17336         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17337         * include/atomic.h: Likewise.
17338         * inet/inet6_option.c (option_alloc): Likewise.
17339         * intl/bindtextdom.c (set_binding_values): Likewise.
17340         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17341         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17342         * intl/localealias.c (read_alias_file): Likewise.
17343         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17344         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17345         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17346         * libio/fmemopen.c (fmemopen): Likewise.
17347         * libio/iofgets.c (_IO_fgets): Likewise.
17348         * libio/iofgets_u.c (fgets_unlocked): Likewise.
17349         * libio/iofgetws.c (fgetws): Likewise.
17350         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17351         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17352         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17353         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17354         * locale/findlocale.c (_nl_find_locale): Likewise.
17355         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17356         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17357         Likewise.
17358         * locale/setlocale.c (setlocale): Likewise.
17359         * login/programs/pt_chown.c (main): Likewise.
17360         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17361         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17362         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17363         (mmap, mmap64, mremap, munmap): Likewise.
17364         * math/e_exp2l.c: Likewise.
17365         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17366         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17367         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17368         * math/s_catan.c (__catan): Likewise.
17369         * math/s_catanf.c (__catanf): Likewise.
17370         * math/s_catanh.c (__catanh): Likewise.
17371         * math/s_catanhf.c (__catanhf): Likewise.
17372         * math/s_catanhl.c (__catanhl): Likewise.
17373         * math/s_catanl.c (__catanl): Likewise.
17374         * math/s_ccosh.c (__ccosh): Likewise.
17375         * math/s_ccoshf.c (__ccoshf): Likewise.
17376         * math/s_ccoshl.c (__ccoshl): Likewise.
17377         * math/s_cexp.c (__cexp): Likewise.
17378         * math/s_cexpf.c (__cexpf): Likewise.
17379         * math/s_cexpl.c (__cexpl): Likewise.
17380         * math/s_clog10.c (__clog10): Likewise.
17381         * math/s_clog10f.c (__clog10f): Likewise.
17382         * math/s_clog10l.c (__clog10l): Likewise.
17383         * math/s_clog.c (__clog): Likewise.
17384         * math/s_clogf.c (__clogf): Likewise.
17385         * math/s_clogl.c (__clogl): Likewise.
17386         * math/s_csin.c (__csin): Likewise.
17387         * math/s_csinf.c (__csinf): Likewise.
17388         * math/s_csinh.c (__csinh): Likewise.
17389         * math/s_csinhf.c (__csinhf): Likewise.
17390         * math/s_csinhl.c (__csinhl): Likewise.
17391         * math/s_csinl.c (__csinl): Likewise.
17392         * math/s_csqrt.c (__csqrt): Likewise.
17393         * math/s_csqrtf.c (__csqrtf): Likewise.
17394         * math/s_csqrtl.c (__csqrtl): Likewise.
17395         * math/s_ctan.c (__ctan): Likewise.
17396         * math/s_ctanf.c (__ctanf): Likewise.
17397         * math/s_ctanh.c (__ctanh): Likewise.
17398         * math/s_ctanhf.c (__ctanhf): Likewise.
17399         * math/s_ctanhl.c (__ctanhl): Likewise.
17400         * math/s_ctanl.c (__ctanl): Likewise.
17401         * math/w_pow.c: Likewise.
17402         * math/w_powf.c: Likewise.
17403         * math/w_powl.c: Likewise.
17404         * math/w_scalb.c (sysv_scalb): Likewise.
17405         * math/w_scalbf.c (sysv_scalbf): Likewise.
17406         * math/w_scalbl.c (sysv_scalbl): Likewise.
17407         * misc/error.c (error_tail): Likewise.
17408         * misc/pselect.c (__pselect): Likewise.
17409         * nis/nis_callback.c (__nis_create_callback): Likewise.
17410         * nis/nis_call.c (__nisfind_server): Likewise.
17411         * nis/nis_creategroup.c (nis_creategroup): Likewise.
17412         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17413         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17414         * nis/nis_getservlist.c (nis_getservlist): Likewise.
17415         * nis/nis_lookup.c (nis_lookup): Likewise.
17416         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17417         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17418         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17419         * nis/nis_xdr.c (xdr_endpoint): Likewise.
17420         * nis/nss_compat/compat-grp.c (getgrent_next_file)
17421         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17422         * nis/nss_compat/compat-initgroups.c (add_group)
17423         (internal_getgrent_r): Likewise.
17424         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17425         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17426         * nis/nss_compat/compat-spwd.c (getspent_next_file)
17427         (internal_getspnam_r): Likewise.
17428         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17429         (_nss_nis_getaliasbyname_r): Likewise.
17430         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17431         (_nss_nis_getntohost_r): Likewise.
17432         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17433         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17434         (_nss_nis_getgrgid_r): Likewise.
17435         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17436         (internal_nis_gethostent_r, internal_gethostbyname2_r)
17437         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17438         (_nss_nis_gethostbyname4_r): Likewise.
17439         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17440         (initgroups_netid): Likewise.
17441         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17442         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17443         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17444         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17445         (_nss_nis_getprotobynumber_r): Likewise.
17446         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17447         (_nss_nis_getsecretkey): Likewise.
17448         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17449         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17450         (_nss_nis_getpwuid_r): Likewise.
17451         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17452         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17453         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17454         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17455         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17456         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17457         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17458         Likewise.
17459         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17460         (_nss_nisplus_getntohost_r): Likewise.
17461         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17462         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17463         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17464         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17465         Likewise.
17466         * nis/nss_nisplus/nisplus-initgroups.c
17467         (_nss_nisplus_initgroups_dyn): Likewise.
17468         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17469         (_nss_nisplus_getnetbyaddr_r): Likewise.
17470         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17471         (_nss_nisplus_getprotobynumber_r): Likewise.
17472         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17473         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17474         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17475         Likewise.
17476         * nis/nss_nisplus/nisplus-service.c
17477         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17478         (_nss_nisplus_getservbyport_r): Likewise.
17479         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17480         (_nss_nisplus_getspnam_r): Likewise.
17481         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17482         Likewise.
17483         * nscd/aicache.c (addhstaiX): Likewise.
17484         * nscd/cache.c (cache_search, prune_cache): Likewise.
17485         * nscd/connections.c (register_traced_file, send_ro_fd)
17486         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17487         (main_loop_epoll): Likewise.
17488         * nscd/grpcache.c (addgrbyX): Likewise.
17489         * nscd/hstcache.c (addhstbyX): Likewise.
17490         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17491         * nscd/mem.c (gc, mempool_alloc): Likewise.
17492         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17493         (addinnetgrX): Likewise.
17494         * nscd/nscd-client.h (__nscd_acquire_maplock)
17495         (__nscd_drop_map_ref): Likewise.
17496         * nscd/nscd_getai.c (__nscd_getai): Likewise.
17497         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17498         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17499         Likewise.
17500         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17501         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17502         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17503         (__nscd_get_map_ref): Likewise.
17504         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17505         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17506         Likewise.
17507         * nscd/pwdcache.c (addpwbyX): Likewise.
17508         * nscd/selinux.c (preserve_capabilities): Likewise.
17509         * nscd/servicescache.c (addservbyX): Likewise.
17510         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17511         * posix/fnmatch.c (fnmatch): Likewise.
17512         * posix/getopt.c (_getopt_internal_r): Likewise.
17513         * posix/glob.c (glob, glob_in_dir): Likewise.
17514         * posix/wordexp.c (exec_comm_child): Likewise.
17515         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17516         (getanswer_r, gaih_getanswer_slice): Likewise.
17517         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17518         * resolv/res_init.c: Likewise.
17519         * resolv/res_mkquery.c (res_nmkquery): Likewise.
17520         * resolv/res_query.c (__libc_res_nquery): Likewise.
17521         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17522         Likewise.
17523         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17524         * stdio-common/perror.c (perror): Likewise.
17525         * stdio-common/printf_fp.c (___printf_fp): Likewise.
17526         * stdio-common/tmpnam.c (tmpnam): Likewise.
17527         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17528         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17529         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17530         Likewise.
17531         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17532         * stdlib/putenv.c (putenv): Likewise.
17533         * stdlib/setenv.c (__add_to_environ): Likewise.
17534         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17535         * stdlib/strtol_l.c (INTERNAL): Likewise.
17536         * string/memmem.c (memmem): Likewise.
17537         * string/strerror.c (strerror): Likewise.
17538         * string/strnlen.c (__strnlen): Likewise.
17539         * string/test-memmem.c (simple_memmem): Likewise.
17540         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17541         * sunrpc/pm_getport.c (__get_socket): Likewise.
17542         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17543         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17544         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17545         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17546         Likewise.
17547         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17548         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17549         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17550         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17551         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17552         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17553         Likewise.
17554         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17555         Likewise.
17556         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17557         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17558         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17559         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17560         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17561         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17562         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17563         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17564         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17565         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17566         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17567         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17568         Likewise.
17569         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17570         Likewise.
17571         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17572         Likewise.
17573         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17574         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17575         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17576         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17577         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17578         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17579         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17580         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17581         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17582         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17583         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17584         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17585         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17586         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17587         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17588         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17589         Likewise.
17590         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17591         Likewise.
17592         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17593         Likewise.
17594         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17595         Likewise.
17596         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17597         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17598         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17599         Likewise.
17600         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17601         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17602         * sysdeps/posix/opendir.c (__opendirat): Likewise.
17603         * sysdeps/posix/sleep.c: Likewise.
17604         * sysdeps/posix/tempname.c: Likewise.
17605         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17606         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17607         Likewise.
17608         * sysdeps/powerpc/powerpc32/dl-machine.h
17609         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17610         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17611         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17612         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17613         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17614         Likewise.
17615         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17616         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17617         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17618         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17619         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17620         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17621         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17622         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17623         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17624         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17625         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17626         (elf_machine_lazy_rel): Likewise.
17627         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17628         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17629         (elf_machine_lazy_rel): Likewise.
17630         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17631         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17632         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17633         * sysdeps/unix/grantpt.c (grantpt): Likewise.
17634         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17635         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17636         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17637         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17638         Likewise.
17639         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17640         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17641         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17642         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17643         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17644         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17645         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17646         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17647         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17648         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17649         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17650         Likewise.
17651         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17652         (__posix_fallocate64_l64): Likewise.
17653         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17654         (posix_fallocate): Likewise.
17655         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17656         Likewise.
17657         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17658         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17659         (getifaddrs_internal): Likewise.
17660         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17661         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17662         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17663         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17664         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17665         (__posix_fallocate64_l64): Likewise.
17666         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17667         Likewise.
17668         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17669         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17670         (__get_clockfreq): Likewise.
17671         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17672         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17673         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17674         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17675         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17676         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17677         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17678         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17679         Likewise.
17680         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17681         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17682         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17683         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17684         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17685         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17686         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17687         Likewise.
17688         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17689         (posix_fallocate): Likewise.
17690         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17691         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17692         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17693         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17694         (elf_machine_rela, elf_machine_rela_relative)
17695         (elf_machine_lazy_rel): Likewise.
17696         * time/asctime.c (asctime_internal): Likewise.
17697         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17698         * time/tzset.c (__tzset_parse_tz): Likewise.
17699         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17700         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17701         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17702         * wcsmbs/wcsmbsload.h: Likewise.
17704         [BZ #15894]
17705         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17707         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17708         (arena_get2): Remove THREAD_STATS conditionals.
17709         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17710         (__malloc_stats, int): Likewise.
17712 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
17714         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17715         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
17717         * manual/setjmp.texi: Fix typos/grammar errors.
17719         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17720         Only return early when n is <= 0.  Delete unused return statement.
17722         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17723         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17724         * debug/tst-longjmp_chk3.c: New file.
17726         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17727         (test_main): Replace code with set_fortify_handler call.
17728         * debug/test-strcpy_chk.c: Likewise.
17729         * debug/tst-chk1.c: Likewise.
17730         * debug/tst-longjmp_chk.c: Likewise.
17731         * test-skeleton.c: Include fcntl.h & paths.h
17732         (set_fortify_handler): Define.
17734         * debug/tst-longjmp_chk.c: Add header comment and include
17735         ../test-skeleton.c.
17736         (do_test): Mark static.
17737         (TEST_FUNCTION): Define.
17739         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17740         (IP_PMTUDISC_INTERFACE): Likewise.
17741         (IP_MULTICAST_IF): Likewise.
17742         (IP_MULTICAST_TTL): Likewise.
17743         (IP_MULTICAST_LOOP): Likewise.
17744         (IP_ADD_MEMBERSHIP): Likewise.
17745         (IP_DROP_MEMBERSHIP): Likewise.
17746         (IP_UNBLOCK_SOURCE): Likewise.
17747         (IP_BLOCK_SOURCE): Likewise.
17748         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17749         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17750         (IP_MSFILTER): Likewise.
17751         (MCAST_JOIN_GROUP): Likewise.
17752         (MCAST_BLOCK_SOURCE): Likewise.
17753         (MCAST_UNBLOCK_SOURCE): Likewise.
17754         (MCAST_LEAVE_GROUP): Likewise.
17755         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17756         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17757         (MCAST_MSFILTER): Likewise.
17758         (IP_MULTICAST_ALL): Likewise.
17759         (IP_UNICAST_IF): Likewise.
17761         * timezone/Makefile: Delete $(have-ksh) check.
17762         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17763         * timezone/tzselect.ksh: Add +x mode bits.
17765         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17766         (ANON_INODE_FS_MAGIC): Likewise.
17767         (BDEVFS_MAGIC): Likewise.
17768         (BINFMTFS_MAGIC): Likewise.
17769         (BTRFS_TEST_MAGIC): Likewise.
17770         (CRAMFS_MAGIC_WEND): Likewise.
17771         (DEBUGFS_MAGIC): Likewise.
17772         (ECRYPTFS_SUPER_MAGIC): Likewise.
17773         (EXT3_SUPER_MAGIC): Likewise.
17774         (EXT4_SUPER_MAGIC): Likewise.
17775         (FUTEXFS_SUPER_MAGIC): Likewise.
17776         (HOSTFS_SUPER_MAGIC): Likewise.
17777         (HUGETLBFS_MAGIC): Likewise.
17778         (MINIX3_SUPER_MAGIC): Likewise.
17779         (MTD_INODE_FS_MAGIC): Likewise.
17780         (NILFS_SUPER_MAGIC): Likewise.
17781         (OPENPROM_SUPER_MAGIC): Likewise.
17782         (PIPEFS_MAGIC): Likewise.
17783         (PSTOREFS_MAGIC): Likewise.
17784         (QNX6_SUPER_MAGIC): Likewise.
17785         (RAMFS_MAGIC): Likewise.
17786         (REISERFS_SUPER_MAGIC_STRING): Likewise.
17787         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17788         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17789         (SECURITYFS_MAGIC): Likewise.
17790         (SELINUX_MAGIC): Likewise.
17791         (SMACK_MAGIC): Likewise.
17792         (SOCKFS_MAGIC): Likewise.
17793         (SQUASHFS_MAGIC): Likewise.
17794         (STACK_END_MAGIC): Likewise.
17795         (TMPFS_MAGIC): Likewise.
17796         (USBDEVICE_SUPER_MAGIC): Likewise.
17797         (V9FS_MAGIC): Likewise.
17798         (XENFS_SUPER_MAGIC): Likewise.
17799         (CRAMFS_MAGIC): Fix typo in comment.
17800         (EXT2_SUPER_MAGIC): Update comment.
17801         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17803 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
17805         * sysdeps/arm: Move directory from ports/sysdeps/arm.
17806         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17807         * sysdeps/unix/sysv/linux/arm: Move directory from
17808         ports/sysdeps/unix/sysv/linux/arm.
17809         * README: Update listing for arm-*-linux-gnueabi.
17811         * README: Remove mention of am33.
17813 2014-02-07  Roland McGrath  <roland@hack.frob.com>
17815         * bits/sigset.h (__sigemptyset): Use a statement expression rather
17816         than the comma operator, to avoid "rhs of comma has no effect"
17817         compiler warnings.
17818         (__sigfillset, __sigandset, __sigorset): Likewise.
17819         * include/signal.h (__sigemptyset): Likewise.
17820         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17822 2014-02-07  Allan McRae  <allan@archlinux.org>
17824         * version.h (RELEASE): Set to "development".
17825         (VERSION): Set to "2.19.90"
17826         * NEWS: Add 2.20 section.
17828 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
17830         [BZ #16529]
17831         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17833 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17835         * manual/contrib.texi: Update entry for Carlos O'Donell,
17836         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17838 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
17840         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17842         * sysdeps/unix/sysv/linux/kernel-features.h
17843         [__LINUX_KERNEL_VERSION >= 0x020621]
17844         (__ASSUME_PROC_PID_TASK_COMM): Define.
17846 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17848         [BZ #16398]
17849         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17850         conversion when destination buffer does not have enough space.
17851         * libio/tst-ftell-partial-wide.c: New test case.
17852         * libio/Makefile (tests): Add tst-ftell-partial-wide.
17854         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17855         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
17856         Leonard and Allan McRae.
17858 2014-02-04  David S. Miller  <davem@davemloft.net>
17860         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17861         32-bit.
17863 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17866         New file
17867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17868         New file
17869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17870         New file.
17871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17872         New file.
17873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17874         New file.
17875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17876         New file.
17877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17878         New file.
17879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17880         New file.
17881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17882         New file.
17883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17884         New file.
17885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17886         New file.
17887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17888         New file.
17889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17890         New file.
17892 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17894         * nptl/shlib-versions: Change powerpc*le start to 2.17.
17895         * shlib-versions: Likewise.
17897 2014-02-04  Roland McGrath  <roland@hack.frob.com>
17898             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17900         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17901         (abilist-pattern): New variable, set to %-le.abilist.
17903         * Makerules (abilist-pattern): New variable.
17904         (vpath): Use $(abilist-pattern) in place of %.abilist.
17905         (check-abi-% pattern rule): Likewise.
17906         (check-abi, update-abi): Likewise.
17908 2014-02-04  Eric Wong  <normalperson@yhbt.net>
17910         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17912 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
17914         * manual/startup.texi: Add next, previous, and top entries for
17915         the `Program Arguments' and `Environment Variables' nodes.
17917 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
17919         * manual/macros.texi: Add comments before MTASC-safety macros.
17921         * manual/users.texi: Document MTASC-safety properties.
17923         * manual/threads.texi (pthread_key_create, pthread_key_delete)
17924         (pthread_getspecific, pthread_setspecific): Format with
17925         @deftypefun, and add @safety note.
17926         * manual/signal.texi: Move comments that analyze the above
17927         functions to their home place.
17929 2014-02-03  Allan McRae  <allan@archlinux.org>
17931         * po/sl.po: Update Slovenian translation from translation project.
17933 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
17935         * manual/time.texi (timegm): Add missing blank after @c.
17936         Reported by Joseph Myers <joseph@codesourcery.com>.
17938 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
17940         * manual/check-safety.sh: New.
17941         * manual/Makefile ($(objpfx)stamp-summary): Run it.
17943         * manual/terminal.texi: Document MTASC-safety properties.
17945         * manual/filesys.texi: Document MTASC-safety properties.
17947         * manual/errno.texi: Document MTASC-safety properties.
17949         * manual/intro.texi: Document safety identifiers and
17950         conditionals.
17952         * manual/string.texi (wcstok): Fix prototype.
17953         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17955         * manual/time.texi: Document MTASC-safety properties.
17957         * manual/string.texi: Document MTASC-safety properties.
17959         * manual/threads.texi: Document MTASC-safety properties.
17961         * manual/stdio.texi: Document MTASC-safety properties.
17963         * manual/syslog.texi: Document MTASC-safety properties.
17965         * manual/sysinfo.texi: Document MTASC-safety properties.
17967         * manual/startup.texi: Document MTASC-safety properties.
17969         * manual/socket.texi: Document MTASC-safety properties.
17971         * manual/signal.texi: Document MTASC-safety properties.
17973 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
17975         * manual/setjmp.texi: Document MTASC-safety properties.
17977         * manual/search.texi: Document MTASC-safety properties.
17979         * manual/resource.texi: Document MTASC-safety properties.
17981         * manual/process.texi: Document MTASC-safety properties.
17983         * manual/platform.texi: Document MTASC-safety properties.
17985         * manual/pipe.texi: Document MTASC-safety properties.
17987         * manual/pattern.texi: Document MTASC-safety properties.
17989         * manual/message.texi: Document MTASC-safety properties.
17991         [BZ #12751]
17992         * manual/memory.texi: Document MTASC-safety properties.
17994         * manual/math.texi: Document MTASC-safety properties.
17996         * manual/locale.texi: Document MTASC-safety properties.
17998         * manual/llio.texi: Document MTASC-safety properties.
18000         * manual/libdl.texi: New.
18002         * manual/lang.texi: Document MTASC-safety properties.
18004         * manual/job.texi: Document MTASC-safety properties.
18006         * manual/getopt.texi: Document MTASC-safety properties.
18008         * manual/ctype.texi: Document MTASC-safety properties.
18010 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
18012         [BZ #16046]
18013         * csu/libc-tls.c (static_map): Remove variable.
18014         (__libc_setup_tls): Use main executable's link map for TLS data.
18015         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18016         casing for LM_ID_BASE and GL(dl_nns).
18017         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18018         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
18019         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18020         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18021         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18022         member.
18023         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18024         l_phnum members.
18026 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
18028         * manual/debug.texi: Document MTASC-safety properties.
18030 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
18032         [BZ #16510]
18033         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18034         of __x86_64__ when disabling x87 inline functions.
18036 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
18038         * manual/charset.texi: Document MTASC-safety properties.
18040         * manual/crypt.texi: Document MTASC-safety properties.
18042         * manual/conf.texi: Document MTASC-safety properties.
18044         * manual/arith.texi: Document MTASC-safety properties.
18046         * manual/argp.texi: Document MTASC-safety properties.
18048         * manual/macros.texi: Introduce macros to document multi
18049         thread, asynchronous signal and asynchronous cancellation
18050         safety properties.
18051         * manual/intro.texi: Introduce the properties themselves.
18053 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18055         * sysdeps/sh/sh4/Makefile: New file.
18057 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
18059         * math/gen-libm-test.pl ($srcdir): New variable.
18060         ($auto_input): Use it.
18062 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18064         [BZ #16506]
18065         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18066         access beyond array bounds when parsing netgroups file.
18068         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18069         the old buffer before realloc.
18071 2014-01-27  Allan McRae  <allan@archlinux.org>
18073         * po/fr.po: Update French translation from translation project.
18075 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18077         * sysdeps/sh/libm-test-ulps: Regenerate.
18079 2014-01-24  David S. Miller  <davem@davemloft.net>
18081         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18083 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18085         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18086         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18088 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18090         [BZ #16474]
18091         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18092         string pointers after reallocation.
18094 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18096         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18097         __SH4A__ instead of __SH_FPU_ANY__.
18099 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18101         * sysdeps/sh/fpu_control.h: New file.
18102         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18103         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18104         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18105         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18106         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18107         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18108         * sysdeps/sh/sys/ucontext.h: Remove.
18109         * sysdeps/sh/sys: Remove directory.
18111 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18113         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18114         s390/sys/ucontext.h.
18115         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18116         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18118 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
18120         [BZ #15605]
18121         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18123 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18125         [BZ#16431]
18126         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18127         Adjust the vDSO correctly for internal calls.
18128         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18130 2014-01-20  Allan McRae  <allan@archlinux.org>
18132         * po/ca.po: Update Catalan translation from translation project.
18134 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
18136         * sysdeps/s390/sotruss-lib.c: New file.
18138 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18140         [BZ#16430]
18141         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18142         (__GI___gettimeofday): Alias for a different internal symbol to avoid
18143         local calls issues by not having a PLT stub required for IFUNC calls.
18144         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18146 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
18148         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18149         * math/test-fpucw-static.c: Likewise.
18151 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18153         [BZ #16453]
18154         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18156 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18158         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18159         implementation for powerpc.
18161 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
18163         [BZ #14782]
18164         * sysdeps/posix/system.c (__libc_system): Do not enable
18165         asynchronous cancellation.
18167 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18169         [BZ #16427]
18170         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18171         handling only for numbers special also in the IEEE case.
18173 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18175         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18177 2014-01-11  Allan McRae  <allan@archlinux.org>
18179         * po/bg.po: Update Bulgarian translation from translation project.
18181         * po/de.po: Update German translation from translation project.
18183 2014-01-10  Roland McGrath  <roland@hack.frob.com>
18185         * sysdeps/generic/gcc-compat.h: New file.
18187 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18189         * benchtests/asin-inputs: Correct slow inputs.
18190         * benchtests/acos-inputs: Likewise.
18192 2014-01-10  Allan McRae  <allan@archlinux.org>
18194         * po:sv.po: Update Swedish translation from translation project.
18196         * po/vi.po: Update Vietnamese translation from translation project.
18198         * po/eo.po: Update Esperanto translation from translation project.
18200         * po/cs.po: Update Czech translation from translation project.
18202         * po/nl.po: Update Dutch translation from translation project.
18204         * po/pl.po: Update Polish translation from translation project.
18206         * po/ru.po: Update Russian translation from translation project.
18208         * po/uk.po: Update Ukrainian translation from translation project.
18210 2014-01-08  Brooks Moses  <bmoses@google.com>
18212         * elf/dl-load.c: Fix comment typo.
18214 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
18216         * po/header.pot: Rename to...
18217         * po/pot.header: ... this.
18218         * po/Makefile: Use pot.header.
18220 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
18221             Maxim Kuvyrkov  <maxim@kugelworks.com>
18223         [BZ #16394]
18224         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18225         SRC and DEST against LEN.
18227 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18229         [BZ #16414]
18230         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18231         implementation.
18232         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18234 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18238 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
18240         [BZ #16408]
18241         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18242         for large positive arguments.
18244 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
18246         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18248         * math/auto-libm-test-in: Mark various tests with
18249         xfail-rounding:ldbl-128ibm.
18250         * math/auto-libm-test-out: Regenerated.
18252         [BZ #16407]
18253         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18254         Increase overflow threshold.
18256 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
18258         [BZ #14286]
18259         * stdio-common/vfprintf.c: Check for integer overflow.
18261 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18263         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18264         the first argument and return value of __tls_get_addr_internal.
18266 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18268         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18269         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18271 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18273         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18274         * sysdeps/s390/rtld-global-offsets.sym: New file.
18275         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18276         GLIBC_2.19 symbol.
18277         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18278         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18279         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18280         ... this.
18281         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18282         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18283         ... this.
18284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18285         Regenerate.
18286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18287         Regenerate.
18288         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18289         halfs of GPRs for high_gprs contexts.
18290         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18291         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
18292         field.
18293         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18294         uc_flags field.
18295         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18296         64 bit versions:
18297         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18298         for high GPRs (uc_high_gprs) and for future extensions
18299         (__reserved).
18300         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18301         for future extensions (__reserved).
18302         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18303         64 bit versions:
18304         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18305         SC_HIGHGPRS offset definition.
18306         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18307         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18309         * Versions.def: Add GLIBC_2.19 for libpthread.
18310         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18311         siglongjmp for libpthread with GLIBC_2.19 symver.
18312         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18313         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18314         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18315         * sysdeps/s390/__longjmp.c: New file.
18316         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18317         * sysdeps/s390/longjmp.c: New file.
18318         * sysdeps/s390/setjmp.S: New file.
18319         * sysdeps/s390/sigjmp.S: New file.
18320         * sysdeps/s390/v1-longjmp.c: New file.
18321         * sysdeps/s390/v1-setjmp.h: New file.
18322         * sysdeps/s390/v1-sigjmp.c: New file.
18323         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18324         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18325         GLIBC_2.19 version.
18326         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18327         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18328         versioned symbols for ____longjmp_chk.
18329         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18330         Likewise.
18331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18332         Regenerate.
18333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18334         Regenerate.
18335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18336         Regenerate.
18337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18338         Regenerate.
18339         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18340         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18341         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18342         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18343         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18344         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18345         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18346         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18347         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18348         * sysdeps/s390/rtld-__longjmp.c: New file.
18349         * sysdeps/s390/rtld-setjmp.S: New file.
18351 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
18353         [BZ #16400]
18354         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18355         Return -__logl (x) for small positive arguments without evaluating
18356         a polynomial.
18358 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
18360         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18361         Rename to ...
18362         (__ptrace_peeksiginfo_args): ... this.
18363         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18364         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18365         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18367 2014-01-06  Allan McRae  <allan@archlinux.org>
18369         * inet/netinet/in.h: Fix typo in comment.
18371 2014-01-05  Andreas Jaeger  <aj@suse.de>
18373         * sysdeps/i386/fpu/libm-test-ulps: Update.
18375 2014-01-05  Allan McRae  <allan@archlinux.org>
18377         * po/libc.pot: Regenerated.
18379         * malloc/memusagestat.c: Fix gettext call formatting.
18381 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
18383         * nscd/nscd.c: Improve usage() output.
18385 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
18387         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18388         * sysdeps/unix/sysv/linux/configure: Regenerated.
18389         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18390         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18392 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18394         [BZ #16390]
18395         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18396         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18398 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18400         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18401         extra tokens at end of #undef directive.
18402         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18403         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18404         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18406 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18408         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18410         * math/auto-libm-test-in: Mark various tests with
18411         xfail-rounding:ldbl-128ibm.
18412         * math/auto-libm-test-out: Regenerated.
18414 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
18416         [BZ #16386]
18417         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18418         numbers with subnormal high part when calculating exponent.
18420         [BZ #16385]
18421         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18422         fabs.
18424         [BZ #16384]
18425         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18426         M_LN2l.
18427         (__ieee754_acoshl): Use __log1pl not __log1p.
18429 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
18431         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18432         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18433         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18434         (grow_heap, heap_trim, _int_new_arena, get_free_list)
18435         (reused_arena, arena_get2): Convert to GNU style.
18436         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18437         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18438         (memalign_check, __malloc_set_state): Likewise.
18439         * malloc/mallocbug.c (main): Likewise.
18440         * malloc/malloc.c (__malloc_assert, malloc_init_state)
18441         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18442         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18443         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18444         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18445         (__posix_memalign, malloc_info): Likewise.
18446         * malloc/malloc.h: Likewise.
18447         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18448         (mallochook, memalignhook, reallochook, mabort): Likewise.
18449         * malloc/mcheck.h: Likewise.
18450         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18451         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18452         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18453         * malloc/morecore.c (__default_morecore): Likewise.
18454         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18455         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18456         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18457         (print_and_abort): Likewise.
18458         * malloc/obstack.h: Likewise.
18459         * malloc/set-freeres.c (__libc_freeres): Likewise.
18460         * malloc/tst-mallocstate.c (main): Likewise.
18461         * malloc/tst-mtrace.c (main): Likewise.
18462         * malloc/tst-realloc.c (do_test): Likewise.
18464 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18466         [BZ #16366]
18467         * nscd/netgroupcache.c (do_notfound): New function.
18468         (addgetnetgrentX): Use it.
18470         [BZ # 16365]
18471         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18472         NSS_STATUS_NOTFOUND.
18474 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
18476         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18479 2014-01-01  Allan McRae  <allan@archlinux.org>
18481         * scripts/update-copyrights: Update configure input file suffix.
18483         * NEWS: Update copyright year.
18484         * catgets/gencat.c: Likewise.
18485         * csu/version.c: Likewise.
18486         * debug/catchsegv.sh: Likewise.
18487         * debug/pcprofiledump.c: Likewise.
18488         * debug/xtrace.sh: Likewise.
18489         * elf/ldconfig.c: Likewise.
18490         * elf/ldd.bash.in: Likewise.
18491         * elf/pldd.c: Likewise.
18492         * elf/sotruss.ksh: Likewise.
18493         * elf/sprof.c: Likewise.
18494         * iconv/iconv_prog.c: Likewise.
18495         * iconv/iconvconfig.c: Likewise.
18496         * locale/programs/locale.c: Likewise.
18497         * locale/programs/localedef.c: Likewise.
18498         * login/programs/pt_chown.c: Likewise.
18499         * malloc/memusage.sh: Likewise.
18500         * malloc/memusagestat.c: Likewise.
18501         * malloc/mtrace.pl: Likewise.
18502         * manual/libc.texinfo: Likewise.
18503         * nscd/nscd.c: Likewise.
18504         * nss/getent.c: Likewise.
18505         * nss/makedb.c: Likewise.
18506         * posix/getconf.c: Likewise.
18507         * scripts/test-installation.pl: Likewise.
18509         * All files with FSF copyright notices: Update copyright dates
18510         using scripts/update-copyrights.
18511         * intl/plural.c: Regenerated.
18512         * locale/programs/charmap-kw.h: Likewise.
18513         * locale/programs/locfile-kw.h: Likewise.
18515 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
18517         * sysdeps/unix/sysv/linux/configure: Regenerated.
18518         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18519         the linux/fanotify.h header.
18520         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18521         HAVE_LINUX_FANOTIFY_H is defined.
18523 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18525         * benchtests/cos-inputs: New inputs.
18526         * benchtests/sin-inputs: Likewise.
18528         * benchtests/atan-inputs: New inputs. Fix name of multiple
18529         precision fallback inputs.
18531         * benchtests/atanh-inputs: New inputs.
18532         * benchtests/tanh-inputs: Likewise.
18534         * benchtests/acosh-inputs: New inputs.
18535         * benchtests/asinh-inputs: Likewise.
18537         * benchtests/cosh-inputs: New inputs.
18538         * benchtests/sinh-inputs: Likewise.
18540         * benchtests/acos-inputs: Add more inputs.
18541         * benchtests/asin-inputs: Likewise.
18543 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
18545         [BZ #16375]
18546         * manual/arith.texi: Fix spelling.
18547         * manual/charset.texi: Likewise.
18548         * manual/errno.texi: Likewise.
18549         * manual/filesys.texi: Likewise.
18550         * manual/lang.texi: Likewise.
18551         * manual/llio.texi: Likewise.
18552         * manual/locale.texi: Likewise.
18553         * manual/message.texi: Likewise.
18554         * manual/resource.texi: Likewise.
18555         * manual/search.texi: Likewise.
18556         * manual/setjmp.texi: Likewise.
18557         * manual/stdio.texi: Likewise.
18558         * manual/string.texi: Likewise.
18559         * manual/sysinfo.texi: Likewise.
18560         * manual/time.texi: Likewise.
18562 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
18564         * po/sl.po: New file.
18566 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
18568         * .gitignore: Add core/.gdbinit/.gdb_history.
18570 2013-12-27  Allan McRae  <allan@archlinux.org>
18572         [BZ #16369]
18573         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18574         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18576 2013-12-24  Brooks Moses  <bmoses@google.com>
18578         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18579         all compilers that claim C++98 compliance, not just GCC.
18580         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18581         Likewise.
18583 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18585         * NEWS: Restore accidentally deleted bug-fix entries.
18587 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18588             Ondřej Bílka  <neleai@seznam.cz>
18590         [BZ #15073]
18591         * malloc/malloc.c (_int_free): Perform sanity check only if we
18592         have_lock.
18594 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
18596         [BZ #12986]
18597         * manual/stdio.texi (String Input Conversions): Clarify that character
18598         classes are not supported.
18600 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18604 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
18606         [BZ #16337]
18607         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18608         Calculate results for small negative arguments directly rather
18609         than using reflection formula with special underflow handling.
18611         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18612         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18613         sysdeps/unix/bsd/bsd4.4/syscalls.list.
18614         (fchflags): Likewise.
18615         (revoke): Likewise.
18616         (setlogin): Likewise.
18617         (sigaltstack): Likewise.
18618         (wait4): Likewise.
18619         (sigblock): Remove.
18620         (sigsetmask): Likewise.
18621         (wait3): Likewise.
18622         (waitpid): Likewise.
18623         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18624         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18625         file.
18626         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18627         * sysdeps/unix/bsd/Makefile: ... here.
18628         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18629         * sysdeps/unix/bsd/Versions: ... here.
18630         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18631         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18632         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18633         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18634         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18635         * sysdeps/unix/bsd/sigblock.c: ... here.
18636         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18637         * sysdeps/unix/bsd/sigsetmask.c: ... here.
18638         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18639         * sysdeps/unix/bsd/sigvec.c: ... here.
18640         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18641         * sysdeps/unix/bsd/tcdrain.c: ... here.
18642         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18643         * sysdeps/unix/bsd/tcgetattr.c: ... here.
18644         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18645         * sysdeps/unix/bsd/tcsetattr.c: ... here.
18646         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18647         * sysdeps/unix/bsd/wait.c: ... here.
18648         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18649         * sysdeps/unix/bsd/wait3.c: ... here.
18650         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18651         * sysdeps/unix/bsd/waitpid.c: ... here.
18653 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
18655         [BZ #16356]
18656         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18657         round-to-nearest for [!USE_AS_EXPM1L].
18658         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18659         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
18660         more tests of exp and exp10.  Expect some exp10 tests to miss
18661         exceptions or fail in directed rounding modes.
18662         * math/auto-libm-test-out: Regenerated.
18663         * math/libm-test.inc (exp10_tonearest_test_data): New array.
18664         (exp10_test_tonearest): New function.
18665         (exp10_towardzero_test_data): New array.
18666         (exp10_test_towardzero): New function.
18667         (exp10_downward_test_data): New array.
18668         (exp10_test_downward): New function.
18669         (exp10_upward_test_data): New array.
18670         (exp10_test_upward): New function.
18671         (main): Call the new functions.
18672         * sysdeps/i386/fpu/libm-test-ulps: Update.
18673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18675 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
18677         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18678         asinh, atan, atan2, atanh, cbrt, cos and cosh.
18679         * math/auto-libm-test-out: Regenerated.
18680         * math/libm-test.inc (acosh_test_data): Add more tests.
18681         (atanh_test_data): Likewise.
18682         (ceil_test_data): Likewise.
18683         (copysign_test_data): Likewise.
18684         * sysdeps/i386/fpu/libm-test-ulps: Update.
18685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18687         * timezone/checktab.awk: Update from tzcode 2013i.
18688         * timezone/private.h: Likewise.
18689         * timezone/scheck.c: Likewise.
18690         * timezone/tzfile.h: Likewise.
18691         * timezone/tzselect.ksh: Likewise.
18692         * timezone/zdump.c: Likewise.
18693         * timezone/zic.c: Likewise.
18695         * math/auto-libm-test-in: Add tests of cpow.
18696         * math/auto-libm-test-out: Regenerated.
18697         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18698         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18699         mpc_cc_c.
18700         (func_calc_desc): Add mpc_cc_c union field.
18701         (test_functions): Add cpow.
18702         (special_fill_2pi): New function.
18703         (special_real_inputs): Add 2pi.
18704         (calc_generic_results): Handle mpc_cc_c.
18705         * sysdeps/i386/fpu/libm-test-ulps: Update.
18706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18708         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18709         csqrt, ctan and ctanh.
18710         * math/auto-libm-test-out: Regenerated.
18711         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18712         (TEST_COND_x86): Likewise.
18713         (ccos_test_data): Use AUTO_TESTS_c_c.
18714         (ccosh_test_data): Likewise.
18715         (cexp_test_data): Likewise.
18716         (clog_test_data): Likewise.
18717         (csqrt_test_data): Likewise.
18718         (ctan_test_data): Likewise.
18719         (ctan_tonearest_test_data): Likewise.
18720         (ctan_towardzero_test_data): Likewise.
18721         (ctan_downward_test_data): Likewise.
18722         (ctan_upward_test_data): Likewise.
18723         (ctanh_test_data): Likewise.
18724         (ctanh_tonearest_test_data): Likewise.
18725         (ctanh_towardzero_test_data): Likewise.
18726         (ctanh_downward_test_data): Likewise.
18727         (ctanh_upward_test_data): Likewise.
18728         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18729         mpc_c_c.
18730         (func_calc_desc): Add mpc_c_c union field.
18731         (FUNC_mpc_c_c): New macro.
18732         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18733         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18734         ctanh.
18735         (special_fill_min_subnorm_p120): New function.
18736         (special_real_inputs): Add min_subnorm_p120.
18737         (calc_generic_results): Handle mpc_c_c.
18738         * sysdeps/i386/fpu/libm-test-ulps: Update.
18739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18741 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18743         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18744         (do_sin_slow): New functions.
18745         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18746         (cslow2, csloww1, csloww2): Use the new functions.
18748         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18749         Use M to change sign of result instead of X.  Assume X is
18750         positive.
18751         (csloww1): Likewise.
18752         (__sin): Adjust.
18753         (__cos): Adjust.
18755         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18756         arguments A and DA.
18757         (__sin): Adjust.
18758         (__cos): Likewise.
18760         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18761         (__cos): Likewise.
18762         (sloww1): Don't adjust sign of DX.
18763         (csloww1): Likewise.
18764         (sloww2): Use X directly and don't adjust sign of DX.
18765         (csloww2): Likewise.
18767 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18769         * math/auto-libm-test-in: Add tests of cabs and carg.
18770         * math/auto-libm-test-out: Regenerated.
18771         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18772         (carg_test_data): Likewise.
18773         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18774         mpc_c_f.
18775         (func_calc_desc): Add mpc_c_f union field.
18776         (test_functions): Add cabs and carg.
18777         (calc_generic_results): Handle mpc_c_f.
18779         * sysdeps/powerpc/powerpc32/libgcc-compat.S
18780         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18781         as a macro and a compat symbol.
18782         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18783         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18784         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18785         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18786         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18787         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18788         not use .hidden.
18789         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18790         Likewise.
18791         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18792         Likewise.
18793         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18794         Likewise.
18795         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18796         Likewise.
18797         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18798         Likewise.
18799         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18800         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18801         from GLIBC_2.3.2.
18803 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18807 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18809         * manual/texinfo.tex: Update to version 2013-11-26.10 with
18810         trailing whitespace removed.
18811         * scripts/config.guess: Update to version 2013-11-29.
18812         * scripts/config.sub: Update to version 2013-10-01.
18814         * math/auto-libm-test-in: Add tests of sincos.
18815         * math/auto-libm-test-out: Regenerated.
18816         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18817         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18818         mpfr_f_11.
18819         (func_calc_desc): Add mpfr_f_11 union field.
18820         (test_functions): Add sincos.
18821         (calc_generic_results): Handle mpfr_f_11.
18822         * sysdeps/i386/fpu/libm-test-ulps: Update.
18823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18825 2013-12-19  Andreas Schwab  <schwab@suse.de>
18827         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18828         CALL_MCOUNT.
18829         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18830         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18831         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18833 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18835         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18836         * sysdeps/i386/fpu/libm-test-ulps: Update.
18837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18839         [BZ #16293]
18840         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18841         round-to-nearest mode when using frndint.
18842         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18843         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18844         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18845         Likewise.
18846         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
18847         sinh test to fail.
18848         * math/auto-libm-test-out: Regenerated.
18849         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18850         (TEST_COND_x86): Likewise.
18851         (expm1_tonearest_test_data): New array.
18852         (expm1_test_tonearest): New function.
18853         (expm1_towardzero_test_data): New array.
18854         (expm1_test_towardzero): New function.
18855         (expm1_downward_test_data): New array.
18856         (expm1_test_downward): New function.
18857         (expm1_upward_test_data): New array.
18858         (expm1_test_upward): New function.
18859         (main): Run the new test functions.
18860         * sysdeps/i386/fpu/libm-test-ulps: Update.
18861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18863         * include/features.h: Update comment documenting feature test
18864         macros.  Mention _DEFAULT_SOURCE in comment.
18865         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18866         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18867         _BSD_SOURCE and _SVID_SOURCE.
18868         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18869         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18870         !_SVID_SOURCE]: Likewise.
18871         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18872         (__USE_POSIX_IMPLICITLY): Define.
18873         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18874         (_POSIX_SOURCE): Undefine and redefine.
18875         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18876         (_POSIX_C_SOURCE): Likewise.
18877         * manual/creature.texi (_DEFAULT_SOURCE): Document.
18878         (Feature Test Macros): Update documentation of default features.
18880 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18882         * benchtests/Makefile: Add bench-strtok.
18883         * benchtests/bench-strtok.c: New file: strtok benchtest.
18885 2013-12-19  Allan McRae  <allan@archlinux.org>
18887         * manual/install.texi: Suppress menu for plain text output.
18888         * INSTALL: Regenerated.
18890 2013-12-18  Brooks Moses  <bmoses@google.com>
18892         [BZ #15846]
18893         * misc/getauxval.c: Include errno.h.
18894         (__getauxval): Set errno to ENOENT if the requested type is not
18895         found.
18896         * misc/sys/auxv.h (getauxval): Document that it may set errno;
18897         don't declare with __attribute_const__.
18898         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18899         * manual/startup.texi: Document that getauxval sets errno.
18901 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18903         * math/auto-libm-test-in: Add tests of jn and yn.
18904         * math/auto-libm-test-out: Regenerated.
18905         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18906         (yn_test_data): Likewise.
18907         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18908         mpfr_if_f.
18909         (func_calc_desc): Add mpfr_if_f union field.
18910         (FUNC_mpfr_if_f): New macro.
18911         (test_functions): Add jn and yn.
18912         (calc_generic_results): Assert type of second input for
18913         mpfr_ff_f.  Handle mpfr_if_f.
18914         (output_for_one_input_case): Disable all checking for arguments
18915         fitting floating-point types in case of an integer argument.
18916         * sysdeps/i386/fpu/libm-test-ulps: Update.
18917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18920         Don't expect fegetround reference in libm.so.
18922 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18924         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18925         $(config-cflags-nofma).
18927 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18929         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18930         * math/auto-libm-test-out: Regenerated.
18932         [BZ #16338]
18933         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18934         to determine exponent and adjust argument to have exponent of -1.
18935         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18936         log2.
18937         * math/auto-libm-test-out: Regenerated.
18938         * sysdeps/i386/fpu/libm-test-ulps: Update.
18939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18941 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
18943         * manual/probes.texi: Remove cases when per-thread arenas are
18944         disabled.
18946 2013-12-18  Andreas Schwab  <schwab@suse.de>
18948         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18949         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18950         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18951         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18952         * sysdeps/i386/i686/multiarch/Makefile: Update.
18953         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18955 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18957         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18958         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18960 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
18962         [BZ #15968]
18963         Support TZ transition times < 00:00:00.
18964         This is needed for version-3 tz-format files; it supports time
18965         stamps past 2037 for America/Godthab (the only entry in the tz
18966         database for which this change is relevant).
18967         * manual/time.texi (TZ Variable): Document transition times
18968         from -167:59:59 through -00:00:01.
18969         * time/tzset.c (tz_rule): Time of day is now signed.
18970         (__tzset_parse_tz): Parse negative time of day.
18972         Document TZ transition times >= 25:00:00.
18973         * manual/time.texi (TZ Variable): Document transition times from
18974         25:00:00 through 167:59:59.  These are already supported, and this
18975         support will help with version-3 tz-format files.
18977         * manual/time.texi (TZ Variable): Modernize North America example
18978         to reflect current (i.e., 2007-and-later) daylight saving rules.
18980         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18982 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18984         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18985         * sysdeps/unix/bsd/bits/stat.h: Likewise.
18986         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18987         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18988         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18989         * sysdeps/unix/bsd/bsdstat.h: Likewise.
18990         * sysdeps/unix/bsd/clock.c: Likewise.
18991         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18992         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18993         * sysdeps/unix/bsd/init-posix.c: Likewise.
18994         * sysdeps/unix/bsd/poll.c: Likewise.
18995         * sysdeps/unix/bsd/ptsname.c: Likewise.
18996         * sysdeps/unix/bsd/seekdir.c: Likewise.
18997         * sysdeps/unix/bsd/setegid.c: Likewise.
18998         * sysdeps/unix/bsd/seteuid.c: Likewise.
18999         * sysdeps/unix/bsd/setgid.c: Likewise.
19000         * sysdeps/unix/bsd/setrgid.c: Likewise.
19001         * sysdeps/unix/bsd/setruid.c: Likewise.
19002         * sysdeps/unix/bsd/setsid.c: Likewise.
19003         * sysdeps/unix/bsd/setuid.c: Likewise.
19004         * sysdeps/unix/bsd/sigaction.c: Likewise.
19005         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19006         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19007         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19008         * sysdeps/unix/bsd/telldir.c: Likewise.
19009         * sysdeps/unix/bsd/times.c: Likewise.
19010         * sysdeps/unix/bsd/usleep.c: Likewise.
19012         * misc/Makefile (install-lib): Remove libbsd-compat.a.
19013         ($(objpfx)libbsd-compat.a): Remove rule.
19015         * include/features.h (__FAVOR_BSD): Do not define.
19016         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19017         features conflicting with POSIX.
19018         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19019         (_BSD_SOURCE): Remove description of not being a subset of other
19020         feature test macros.
19021         * manual/job.texi (getpgrp): Do not document BSD version.
19022         (getpgid): Do not document by reference to BSD getpgrp.
19023         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19024         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19025         * signal/signal.h [__FAVOR_BSD]: Likewise.
19026         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19027         instead of making contents conditional on [__FAVOR_BSD].
19028         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19030 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19034 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19036         [BZ #16314]
19037         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19038         values below 2**-450, not 2**-500.
19039         * math/auto-libm-test-in: Don't allow spurious underflow from
19040         hypot.
19041         * math/auto-libm-test-out: Regenerated.
19043         [BZ #16316]
19044         [BZ #16330]
19045         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19046         values of ha and hb and sort them after adjusting subnormal
19047         arguments.
19048         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19049         Likewise.
19050         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19051         values of ea and eb and sort them after adjusting subnormal
19052         arguments.
19053         * math/auto-libm-test-in: Do not expect some hypot tests of
19054         subnormals to fail.  Add more hypot tests.
19055         * math/auto-libm-test-out: Regenerated.
19057 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19059         [BZ #13304]
19060         * sysdeps/sh/s_fma.c: New file.
19061         * sysdeps/sh/s_fmaf.c: New file.
19062         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
19063         version.
19064         * sysdeps/sh/Implies: Add sh/soft-fp.
19066 2013-12-16  Roland McGrath  <roland@hack.frob.com>
19068         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
19069         level of indirection to members `objname', `errstring', `malloced'.
19070         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19071         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
19072         it as the __longjmp argument (just pass 1 instead).
19073         (_dl_catch_error): Initialize C with argument pointers and address of
19074         volatile local ERRCODE rather than copying values out of C at return.
19076 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
19078         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19079         * math/auto-libm-test-out: Regenerated.
19080         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19081         (hypot_test_data): Likewise.
19082         (pow_test_data): Likewise.
19083         (pow_tonearest_test_data): Likewise.
19084         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19085         mpfr_ff_f.
19086         (func_calc_desc): Add mpfr_ff_f union field.
19087         (FUNC_mpfr_ff_f): New macro.
19088         (test_functions): Add atan2, hypot and pow.
19089         (special_fill_min): New function.
19090         (special_fill_minus_min): Likewise.
19091         (special_fill_min_subnorm): Likewise.
19092         (special_fill_minus_min_subnorm): Likewise.
19093         (special_real_inputs): Add min, -min, min_subnorm and
19094         -min_subnorm.
19095         (calc_generic_results): Handle mpfr_ff_f.
19096         * sysdeps/i386/fpu/libm-test-ulps: Update.
19097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19099 2013-12-16  Will Newton  <will.newton@linaro.org>
19101         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19102         (Aligned Memory Blocks): Add documentation for aligned_alloc
19103         and suggest it as an alternative to posix_memalign.
19104         (Hooks for Malloc): Document __memalign_hook is also called
19105         for aligned_alloc.  (Summary of Malloc): Add summary for
19106         aligned alloc.  Document __memalign_hook is also called
19107         for aligned_alloc.
19109 2013-12-16  Will Newton  <will.newton@linaro.org>
19111         * manual/memory.texi (Malloc Examples): Clarify default
19112         alignment documentation.  Suggest posix_memalign rather
19113         than memalign or valloc.
19114         (Aligned Memory Blocks): Remove suggestion to use memalign
19115         or valloc.  Remove obsolete comment about BSD.
19116         Document memalign errno values and mark the function obsolete.
19117         Document posix_memalign returned error codes.  Mark valloc
19118         as obsolete.  (Hooks for Malloc): __memalign_hook is also
19119         called for posix_memalign and valloc.
19120         (Summary of Malloc): Add posix_memalign to function summary.
19121         __memalign_hook is also called for posix_memalign and valloc.
19123 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19125         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19126         TAYLOR_SIN.
19127         (__sin): Adjust.
19128         (__cos): Likewise.
19129         (sloww): Use mynumber union.  Expand ternary operator into
19130         if-else statements.
19131         (cslow): use mynumber union.
19133 2013-12-16  Allan McRae  <allan@archlinux.org>
19135         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19136         * configure: Regenerated.
19138         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19140         [BZ #14120]
19141         * configure.ac: Added --enable-maintainer-mode. Check for
19142         autoconf when enabled.
19143         * configure: Regenerated.
19145         * nscd/nscd.service: New file.
19146         * nscd/nscd.tmpfiles: New file.
19148 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
19150         [BZ #12100]
19151         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19152         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19153         * sysdeps/x86_64/multiarch/strstr.c: ... here.
19154         (strstr): Add __strstr_sse2_unaligned ifunc.
19155         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19156         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19157         (strcasestr): Remove __strcasestr_sse42 ifunc.
19158         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19159         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19160         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19162 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19164         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19165         * sysdeps/sh/bits/fenv.h: ... here.
19166         * sysdeps/sh/sh4/fpu/bits: Remove directory.
19168 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19170         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19172         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19173         hypotf multiarch implementations.
19174         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19175         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19176         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19177         multiarch hypot for PPC64.
19178         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19179         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19180         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19181         multiarch hypotf for PPC64.
19183         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19184         modff multiarch implementations.
19185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19188         multiarch modf for PPC64.
19189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19192         multiarch modff for PPC64.
19194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19195         and logl multiarch implementations.
19196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19199         multiarch logb for PPC64.
19200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19203         multiarch logb for PPC64.
19204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19207         multiarch logb for PPC64.
19209         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19210         isinff multiarch implementation.
19211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19212         file.
19213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19215         multiarch isinf for PPC64.
19216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19217         file.
19218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19219         multiarch isinff for PPC64.
19221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19222         finitef multiarch implementation.
19223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19224         file.
19225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19227         multiarch finite for PPC64.
19228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19229         file.
19230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19231         multiarch finitef for PPC64.
19233         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19234         lrint multiarch implementation.
19235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19236         file.
19237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19239         multiarch llrint for PPC64.
19240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19241         multiarch lrint for PPC64.
19243         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19244         copysignf multiarch implementation.
19245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19246         file.
19247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19248         file.
19249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19250         multiarch copysign for PPC64.
19251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19252         multiarch copysignf for PPC64.
19254         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19255         multiarch implementation.
19256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19257         file.
19258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19259         file.
19260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19261         file.
19262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19263         file.
19264         multiarch llround for PPC64.
19265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19266         multiarch trunc for PPC64.
19267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19268         multiarch truncf for PPC64.
19270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19271         multiarch implementation.
19272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19273         file.
19274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19275         file.
19276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19277         file.
19278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19279         file.
19280         multiarch llround for PPC64.
19281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19282         multiarch round for PPC64.
19283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19284         multiarch roundf for PPC64.
19286         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19287         multiarch implementation.
19288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19289         file.
19290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19291         file.
19292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19293         file.
19294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19295         file.
19296         multiarch llround for PPC64.
19297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19298         multiarch floor for PPC64.
19299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19300         multiarch floorf for PPC64.
19302         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19303         multiarch implementation.
19304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19305         file.
19306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19307         file.
19308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19309         file.
19310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19311         file.
19312         multiarch llround for PPC64.
19313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19314         multiarch ceil for PPC64.
19315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19316         multiarch ceilf for PPC64.
19318         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19319         multiarch implementation.
19320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19321         file.
19322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19323         file.
19324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19325         file.
19326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19327         multiarch llround for PPC64.
19328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19329         multiarch lround for PPC64.
19331         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19332         multiarch implementation.
19333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19336         file.
19337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19340         multiarch isnan for PPC64.
19341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19342         multiarch isnanf for PPC64.
19344         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19345         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19346         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19347         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19348         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19351         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19352         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19353         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19354         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19356         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19357         multiarch implementations.
19358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19359         (__libc_ifunc_impl_list): Likewise.
19360         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19361         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19362         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19363         multiarch stpcpy for PPC64.
19365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19366         multiarch implementations.
19367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19368         (__libc_ifunc_impl_list): Likewise.
19369         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19370         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19371         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19372         multiarch strcpy for PPC64.
19374         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19375         redefine function name.
19376         (_wordcopy_fwd_dest_aligned): Likewise.
19377         (_wordcopy_bwd_aligned): Likewise.
19378         (_wordcopy_bwd_dest_aligned): Likewise.
19379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19380         multiarch implementations.
19381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19382         (__libc_ifunc_impl_list): Likewise.
19383         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19384         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19385         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19386         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19387         multiarch wcscpy for PPC64.
19389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19390         multiarch implementations.
19391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19392         (__libc_ifunc_impl_list): Likewise.
19393         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19394         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19395         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19396         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19397         multiarch wcscpy for PPC64.
19399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19400         multiarch implementations.
19401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19402         (__libc_ifunc_impl_list): Likewise.
19403         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19404         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19405         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19406         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19407         multiarch wcsrchr for PPC64.
19409         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19410         multiarch implementations.
19411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19412         (__libc_ifunc_impl_list): Likewise.
19413         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19414         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19415         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19416         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19417         multiarch wcschr for PPC64.
19419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19420         multiarch implementations.
19421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19422         (__libc_ifunc_impl_list): Likewise.
19423         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19424         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19425         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19426         multiarch strchrnul for PPC64.
19428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19429         implementations.
19430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19431         (__libc_ifunc_impl_list): Likewise.
19432         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19433         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19434         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19435         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19436         strchr for PPC64.
19438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19439         implementations.
19440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19441         (__libc_ifunc_impl_list): Likewise.
19442         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19443         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19444         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19445         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19446         strncmp for PPC64.
19448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19449         multiarch implementations.
19450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19451         (__libc_ifunc_impl_list): Likewise.
19452         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19453         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19454         strncasecmp for PPC64.
19455         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19456         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19457         multiarch strncasecmp_l for PPC64.
19459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19460         multiarch implementations.
19461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19462         (__libc_ifunc_impl_list): Likewise.
19463         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19464         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19465         multiarch strcasecmp for PPC64.
19466         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19467         file.
19468         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19469         multiarch strcasecmp_l for PPC64.
19471         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19472         implementations.
19473         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19474         (__libc_ifunc_impl_list): Likewise.
19475         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19476         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19477         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19478         strnlen for PPC64.
19480         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19481         implementations.
19482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19483         (__libc_ifunc_impl_list): Likewise.
19484         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19485         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19486         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19487         strlen for PPC64.
19489         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19490         implementations.
19491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19492         (__libc_ifunc_impl_list): Likewise.
19493         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19494         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19495         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19496         rawmemrchr for PPC64.
19498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19499         implementation.
19500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19501         (__libc_ifunc_impl_list): Likewise.
19502         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19503         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19504         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19505         memrchr for PPC64.
19507         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19508         implementation.
19509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19510         (__libc_ifunc_impl_list): Likewise.
19511         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19512         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19513         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19514         memchr for PPC64.
19516         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19517         implementation.
19518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19519         (__libc_ifunc_impl_list): Likewise.
19520         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19521         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19522         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19523         mempcpy for PPC64.
19525         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19526         avoid cretion of __bzero symbol.
19527         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19528         Likewise.
19529         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19530         Likewise.
19531         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19532         Likewise.
19533         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19534         multiarch implementations.
19535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19536         (__libc_ifunc_impl_list): Likewise.
19537         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19538         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19539         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19540         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19541         bzero for PPC32.
19542         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19543         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19544         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19545         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19546         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19547         memset for PPC64.
19548         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19550         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19551         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19552         implementations.
19553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19554         (__libc_ifunc_impl_list): Likewise.
19555         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19556         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19557         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19558         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19559         memcmp for PPC64.
19561         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19562         multiarch for POWER/PPC64.
19563         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19564         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19565         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19566         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19567         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19568         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19569         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19570         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19571         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19572         memcpy for PPC64.
19574         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19575         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19576         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19577         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19578         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19579         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19580         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19581         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19582         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19583         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19584         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19585         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19586         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19587         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19588         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19597 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19599         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19601 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19603         * benchtests/Makefile (bench): Add exp2 and log2.
19604         (LDLIBS-bench-exp2): Add -lm.
19605         (LDLIBS-bench-log2): Likewise.
19606         * benchtests/exp2-inputs: New inputs file.
19607         * benchtests/log2-inputs: New inputs file.
19608         * benchtests/log-inputs: Add new inputs.
19609         * benchtests/tan-inputs: Likewise.
19611 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19613         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19614         definition...
19615         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19616         (csloww2): ... from here.
19618         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19619         instead of structures.
19620         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19621         (POLYNOMIAL): Likewise.
19622         (TAYLOR_SLOW): Likewise.
19623         (__sin): Likewise.
19624         (__cos): Likewise.
19625         (slow1): Likewise.
19626         (slow2): Likewise.
19627         (sloww): Likewise.
19628         (sloww1); Likewise.
19629         (sloww2): Likewise.
19630         (bsloww1): Likewise.
19631         (bsloww2): Likewise.
19632         (cslow2): Likewise.
19633         (csloww): Likewise.
19634         (csloww1): Likewise.
19635         (csloww2): Likewise.
19637 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
19639         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19640         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19641         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19642         * malloc/hooks.c (realloc_check): Likewise.
19644         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19645         * malloc/arena.c: Remove PER_THREAD conditional.
19646         [!PER_THREAD]: Remove code.
19647         (ptmalloc_unlock_all2): Likewise.
19648         (ptmalloc_init): Likewise.
19649         (_int_new_arena): Likewise.
19650         (arena_get2): Likewise.
19651         * malloc/hooks.c (__malloc_get_state): Likewise.
19652         (__malloc_set_state): Likewise.
19653         * malloc/malloc.c: Likewise.
19654         (struct malloc_state): Likewise.
19655         (struct malloc_par): Likewise.
19656         (__libc_realloc): Likewise.
19657         (__libc_mallopt): Likewise.
19659 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19661         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19663 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
19665         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19666         macro to a function.  Check for zero perturb_byte.
19667         (_int_malloc, _int_free): Remove zero perturb_byte checks.
19669         * malloc/malloc.c: (force_reg): Remove.
19670         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19671         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19672         force_reg by atomic_forced_read.
19673         * malloc/arena.c (ptmalloc_init): Likewise.
19674         * malloc/hooks.c (top_check): Likewise.
19676 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19680 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
19682         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19684 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
19686         * math/auto-libm-test-in: Add tests of lgamma.
19687         * math/auto-libm-test-out: Regenerated.
19688         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19689         (M_LOG_2_SQRT_PIl): Likewise.
19690         (lgamma_test_data): Use AUTO_TESTS_f_f1.
19691         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19692         mpfr_f_f1.
19693         (func_calc_desc): Add mpfr_f_f1 union field.
19694         (ARGS1): New macro.
19695         (ARGS2): Likewise.
19696         (ARGS3): Likewise.
19697         (ARGS4): Likewise.
19698         (RET1): Likewise.
19699         (RET2): Likewise.
19700         (CALC): Likewise.
19701         (FUNC): Likewise.
19702         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19703         (test_functions): Add lgamma.
19704         (calc_generic_results): Handle mpfr_f_f1.
19705         * sysdeps/i386/fpu/libm-test-ulps: Update.
19706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19708 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19710         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19711         __mpn_add_n for PowerPC64/POWER7.
19712         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19713         __mpn_sub_n for PowerPC64/POWER7.
19715         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19716         __mpn_addmul_1 for PowerPC64.
19717         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19718         __mpn_submul_1 for PowerPC64.
19719         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19720         for PowerPC64.
19721         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19722         for PowerPC64.
19724 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
19726         [BZ #15089]
19727         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19729 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19731         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19733         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19734         add multiarch folders.
19735         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19736         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19737         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19738         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19739         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19740         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19741         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19742         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19743         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19744         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19745         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19754         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19756         New file.
19757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19758         New file.
19759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19760         multiarch __ieee754_hypot for PowerPC32.
19761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19762         New file.
19763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19764         New file.
19765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19766         multiarch __ieee754_hypotf for PowerPC32.
19768         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19769         long_double_symbol only if __logbl is defined.
19770         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19771         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19772         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19773         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19774         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19775         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19776         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19777         path for implementation.
19778         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19779         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19781         logb, and logbl multiarch implementations for PowerPC32.
19782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19783         file.
19784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19785         file.
19786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19787         multiarch logb for PowerPC32.
19788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19789         file.
19790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19791         file.
19792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19793         multiarch logbf for PowerPC32.
19794         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19796         file.
19797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19798         multiarch logbl implementation for PowerPC32.
19800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19801         and modff multiarch implementations.
19802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19803         New file.
19804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19805         New file.
19806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19807         multiarch modf for PowerPC32.
19808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19809         New file.
19810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19811         New file.
19812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19813         multiarch modff for PowerPC32.
19815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19816         and lrintf multiarch implementations.
19817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19818         New file.
19819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19820         New file.
19821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19822         multiarch lrint for PowerPC32.
19823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19824         file: multiarch lrintf for PowerPC32.
19826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19827         and lroundf multiarch implementations.
19828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19829         New file.
19830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19831         New file.
19832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19833         New file.
19834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19835         multiarch lround for PowerPC32.
19836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19837         file: multiarch lroundf for PowerPC32.
19839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19840         copysign and copysignf multiarch implementations.
19841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19842         New file.
19843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19844         New file.
19845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19846         file: multiarch copysign for PowerPC32.
19847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19848         file: multiarch copysignf for PowerPC32.
19850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19851         and truncf multiarch implementations.
19852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19853         New file.
19854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19855         file.
19856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19857         multiarch trunc for PowerPC32.
19858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19859         New file.
19860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19861         New file.
19862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19863         multiarch truncf for PowerPC32.
19865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19866         and roundf multiarch implementations.
19867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19868         New file.
19869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19870         file.
19871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19872         multiarch round for PowerPC32.
19873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19874         New file.
19875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19876         New file.
19877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19878         multiarch roundf for PowerPC32.
19880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19881         and floorf multiarch implementations.
19882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19883         New file.
19884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19885         file.
19886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19887         multiarch floor for PowerPC32.
19888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19889         New file.
19890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19891         New file.
19892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19893         multiarch floorf for PowerPC32.
19895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19896         and ceilf multiarch implementations.
19897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19898         New file.
19899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19900         file.
19901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19902         multiarch ceil for PowerPC32.
19903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19904         New file.
19905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19906         file.
19907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19908         multiarch ceilf for PowerPC32.
19910         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19911         is defined.
19912         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19913         FINITEF is defined.
19914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19915         and finitef multiarch implementations.
19916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19917         New file.
19918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19919         file.
19920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19921         multiarch finite for PowerPC32.
19922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19923         New file.
19924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19925         file: multiarch finitef for PowerPC32.
19927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19928         and isinff multiarch implementations.
19929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19930         file.
19931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19932         file.
19933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19934         multiarch isinf for PowerPC32.
19935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19936         New file.
19937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19938         multiarch isinff for PowerPC32.
19940         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19941         alias when __isnan is defined.
19942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19943         and isnanf multiarch implementations.
19944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19945         file.
19946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19947         file.
19948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19949         file.
19950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19951         file.
19952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19953         multiarch isnan for PowerPC32.
19954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19955         New file.
19956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19957         New file.
19958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19959         multiarch isnanf for PowerPC32.
19961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19962         and sqrtf multiarch implementations.
19963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19964         file.
19965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19966         file.
19967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19968         multiarch sqrt for PowerPC32.
19969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19970         file.
19971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19972         file.
19973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19974         multiarch sqrtf for PowerPC32.
19976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19977         and llroundf multiarch implementations.
19978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19979         New file.
19980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19981         New file.
19982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19983         New file.
19984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19985         file: multiarch llround for PowerPC32.
19986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19987         file: multiarch llroundf for PowerPC32.
19989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19990         multiarch PowerPC32 fpu implementations.
19991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19992         New file.
19993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19994         New file.
19995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19996         multiarch llrint for PowerPC32.
19997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19998         New file.
19999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20000         New file.
20001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20002         file.
20004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20006         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20007         file.
20008         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20009         file.
20010         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20011         file.
20012         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20013         multiarch wordcopy for PPC32.
20014         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20015         wordcopy objects.
20016         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20017         (__libc_ifunc_impl_list): Likewise.
20018         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20019         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20020         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20021         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20022         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20023         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20025         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20027         file.
20028         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20029         file.
20030         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20031         file.
20032         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20033         multiarch wcscpy for PPC32.
20034         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20035         multiarch objects.
20036         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20037         (__libc_ifunc_impl_list): Likewise.
20038         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20039         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20040         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20041         sysdeps/powerpc/power6/wcscpy.c.
20043         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20044         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20045         file.
20046         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20047         file.
20048         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20049         file.
20050         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20051         multiarch wcsrchr for PPC32.
20052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20053         multiarch objects.
20054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20055         (__libc_ifunc_impl_list): Likewise.
20056         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20057         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20058         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20059         sysdeps/powerpc/power6/wcsrchr.c.
20061         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20062         file.
20063         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20064         file.
20065         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20066         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20067         multiarch wcschr for PPc32.
20068         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20069         multiarch objects.
20070         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20071         (__libc_ifunc_impl_list): Likewise.
20072         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20073         * sysdeps/powerpc/power6/wcschr.c: ... to here.
20074         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20075         sysdeps/powerpc/power6/wcschr.c.
20077         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20078         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20079         file.
20080         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20081         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20082         file: multiarch strchr for PPC32.
20083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20084         multiarch objects.
20085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20086         (__libc_ifunc_impl_list): Likewise.
20088         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20089         name.
20090         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20091         file.
20092         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20093         file.
20094         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20095         multiarch strchrnul for PPC32.
20096         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20097         multiarch objects.
20098         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20099         (__libc_ifunc_impl_list): Likewise.
20101         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20102         file.
20103         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20104         multiarch strncasecmp for PPC32.
20105         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20106         file.
20107         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20108         multiarch strncasecmp_l for PPC32.
20109         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20110         strncasecmp multiarch objects.
20111         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20112         (__libc_ifunc_impl_list): Likewise.
20114         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20115         file.
20116         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20117         multiarch strncasecmp for PPC32.
20118         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20119         New file.
20120         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20121         multiarch strcasecmp_l for PPC32.
20122         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20123         multiarch objects.
20124         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20125         (__libc_ifunc_impl_list): Likewise.
20127         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20128         file.
20129         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20130         file.
20131         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20132         multiarch strncmp for PPC32.
20133         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20134         multiarch objects.
20135         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20136         (__libc_ifunc_impl_list): Likewise.
20138         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20139         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20140         file.
20141         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20142         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20143         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20144         multiarch objects.
20145         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20146         (__libc_ifunc_impl_list): Likewise.
20148         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20149         file.
20150         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20151         file.
20152         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20153         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20154         multiarch objects.
20155         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20156         (__libc_ifunc_impl_list): Likewise.
20158         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20159         file.
20160         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20161         file.
20162         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20163         multiarch rawmemchr for PPC32.
20164         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20165         multiarch objects.
20166         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20167         (__libc_ifunc_impl_list): Likewise.
20169         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20170         file.
20171         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20172         file.
20173         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20174         file: memrchr multiarch for PPC32.
20175         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20176         multiarch objects.
20177         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20178         (__libc_ifunc_impl_list): Likewise.
20180         * string/memchr.c (__memchr): Using macro to redefine symbol name.
20181         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20182         file.
20183         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20184         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20185         multiarch memchr for PPC32.
20186         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20187         multiarch objects.
20188         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20189         (__libc_ifunc_impl_list): Likewise.
20191         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20192         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20193         file.
20194         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20195         file.
20196         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20197         file: multiarch mempcpy for PPC32.
20198         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20199         multiarch objects.
20200         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20201         (__libc_ifunc_impl_list): Likewise.
20203         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20204         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20205         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20206         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20207         multiarch bzero for PPC32.
20208         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20209         file.
20210         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20211         file.
20212         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20213         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20214         file: multiarch memset for PPC32.
20215         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20216         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20217         memset multiarch objects.
20218         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20219         (__libc_ifunc_impl_list): Likewise.
20221         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20222         file.
20223         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20224         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20225         memcmp for PPC32.
20226         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20227         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20228         multiarch objects.
20229         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20230         (__libc_ifunc_impl_list): Likewise.
20232         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20233         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20234         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20235         file.
20236         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20237         file.
20238         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20239         file.
20240         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20241         multiarch memcpy for PPC32.
20242         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20243         multiarch objects.
20244         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20245         (__libc_ifunc_impl_list): Likewise.
20247         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20248         support multiarch for POWER/PPC32.
20249         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20250         Likewise.
20251         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20253         Implies file to make multiarch folder appers before the fpu and
20254         default folder for power4 configuration.
20256 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20258         * scripts/bench.pl: Append volatile keyword to type.
20260 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20262         * sysdeps/sh/sotruss-lib.c: New file.
20263         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20265 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20269 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
20271         [BZ #6810]
20272         * math/w_tgamma.c: Include <errno.h>.
20273         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
20274         * math/w_tgammaf.c: Include <errno.h>.
20275         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
20276         * math/w_tgammal.c: Include <errno.h>.
20277         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
20278         * math/auto-libm-test-in: Do not allow missing errno on tgamma
20279         underflow.  Add more tgamma tests.
20280         * math/auto-libm-test-out: Regenerated.
20281         * sysdeps/i386/fpu/libm-test-ulps: Update.
20282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20284         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20285         sin, sinh, tan, tanh, tgamma, y0 and y1.
20286         * math/auto-libm-test-out: Regenerated.
20287         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20288         (TEST_COND_x86): Likewise.
20289         (M_E2l): Remove macro.
20290         (M_E3l): Likewise.
20291         (M_2_SQRT_PIl): Likewise.
20292         (M_SQRT_PIl): Likewise.
20293         (M_1_DIV_El): Likewise.
20294         (log_test_data): Use AUTO_TESTS_f_f.
20295         (log10_test_data): Likewise.
20296         (log1p_test_data): Likewise.
20297         (log2_test_data): Likewise.
20298         (sin_test_data): Likewise.
20299         (sin_tonearest_test_data): Likewise.
20300         (sin_towardzero_test_data): Likewise.
20301         (sin_downward_test_data): Likewise.
20302         (sin_upward_test_data): Likewise.
20303         (sinh_test_data): Likewise.
20304         (sinh_tonearest_test_data): Likewise.
20305         (sinh_towardzero_test_data): Likewise.
20306         (sinh_downward_test_data): Likewise.
20307         (sinh_upward_test_data): Likewise.
20308         (tan_test_data): Likewise.
20309         (tan_tonearest_test_data): Likewise.
20310         (tan_towardzero_test_data): Likewise.
20311         (tan_downward_test_data): Likewise.
20312         (tan_upward_test_data): Likewise.
20313         (tanh_test_data): Likewise.
20314         (tgamma_test_data): Likewise.
20315         (y0_test_data): Likewise.
20316         (y1_test_data): Likewise.
20317         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20318         (special_real_inputs): Add pi/4.
20319         * sysdeps/i386/fpu/libm-test-ulps: Update.
20320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20322 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20324         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20325         "longjmp_target" static probes.
20326         (__longjmp): Rename to __longjmp_symbol.
20327         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20328         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20329         on which longjmp to generate.
20330         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20331         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20332         probe.
20333         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20334         (__sigjmp_save): Rename to __sigjmp_save_symbol.
20335         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20336         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20337         and __sigjmp_save_symbol based on which sigsetjmp to generated.
20338         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20340         __longjmp_symbol based on which __longjmp to generate.
20341         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20342         probe.
20343         (setjmp): Rename to setjmp_symbol.
20344         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20345         (_setjmp): Rename to _setjmp_symbol.
20346         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20347         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20348         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20349         which setjmp to generate.
20350         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20351         "longjmp_target" static probes.
20353 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20355         * benchtests/README: Add note about output arguments.
20356         * benchtests/bench-sincos.c: Remove file.
20357         * benchtests/sincos-inputs: New file.
20358         * scripts/bench.pl: Identify output arguments and define
20359         static variables for them.
20361         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20363         [BZ #15941]
20364         * Makefile (INSTALL): Add install-plain.texi as the primary
20365         dependency.
20366         * manual/install-plain.texi: New file.
20367         * manual/install.texi: Include node directive only for
20368         non-plaintext output.
20370 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
20372         * stdlib/longlong.h: Update from GCC.
20374         [BZ #6807]
20375         [BZ #15901]
20376         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20377         * math/w_j0f.c (y0f): Likewise.
20378         * math/w_j0l.c (__y0l): Likewise.
20379         * math/w_j1.c (y1): Likewise.
20380         * math/w_j1f.c (y1f): Likewise.
20381         * math/w_j1l.c (__y1l): Likewise
20382         * math/w_jn.c (yn): Likewise.
20383         * math/w_jnf.c (ynf): Likewise.
20384         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20385         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
20386         value for Bessel function domain errors outside _SVID_ mode.
20387         Adjust sign of return value for yn (negative integer, 0).
20388         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20389         by zero in return for negative x and set sign appropriately for
20390         negative n.
20391         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20392         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20393         * math/libm-test.inc (y0_test_data): Add more tests and adjust
20394         expectations in error cases.
20395         (y1_test_data): Likewise.
20396         (yn_test_data): Likewise.
20397         * sysdeps/i386/fpu/libm-test-ulps: Update.
20398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20400 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20402         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20403         "64" to "64-v1".  Add "64-v2".
20404         (abi-64-options): Rename to ...
20405         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
20406         (abi-64-condition): Rename to ...
20407         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
20408         (abi-64-ld-soname): Rename to ...
20409         (abi-64-v1-ld-soname): ... this.
20410         (abi-64-v2-options): Define.
20411         (abi-64-v2-condition): Likewise.
20412         (abi-64-v2-ld-soname): Likewise.
20413         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20414         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20419 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20420             Alan Modra  <amodra@gmail.com>
20422         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20423         New versions for use with the ELFv2 ABI.
20424         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20425         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20426         declaration.
20427         (struct La_ppc64v2_retval): Likewise.
20428         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20429         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20430         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20431         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20432         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20433         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20434         Do not save or restore CR.
20435         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20436         (_dl_profile_resolve): Do no save or restore CR.  Support extended
20437         return values for ELFv2 ABI.  Fix location of FPR return registers.
20438         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20439         updated values for _CALL_ELF == 2.
20440         (La_regs, La_retval, int_retval): Likewise.
20442 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20444         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20445         (FRAME_MIN_SIZE_PARM): Likewise.
20446         (FRAME_BACKCHAIN): Likewise.
20447         (FRAME_CR_SAVE): Likewise.
20448         (FRAME_LR_SAVE): Likewise.
20449         (FRAME_TOC_SAVE): Likewise.
20450         (FRAME_PARM_SAVE): Likewise.
20451         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20452         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20453         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20454         (call_mcount_parm_offset): New macro.
20455         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20456         (PROF): Use symbolic stack frame offsets.
20457         (TAIL_CALL_SYSCALL_ERROR): Likewise.
20458         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20459         Redefine in terms of FRAME_MIN_SIZE.
20460         (_dl_runtime_resolve): Use symbolic stack frame offsets.
20461         (_dl_profile_resolve): Likewise.  Update comment.
20462         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20463         symbols stack frame offsets.
20464         (__sigsetjmp): Likewise.
20465         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20466         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20467         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20468         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20471         (FRAME_BACKCHAIN): Remove.
20472         (FRAME_CR_SAVE): Likewise.
20473         (FRAME_LR_SAVE): Likewise.
20474         (FRAME_COMPILER_DW): Likewise.
20475         (FRAME_LINKER_DW): Likewise.
20476         (FRAME_TOC_SAVE): Likewise.
20477         (FRAME_PARM_SAVE): Likewise.
20478         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20479         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20480         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20482         (CHECK_SP): Use symbolic stack frame offsets.
20483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20484         zone" instead of caller's parameter save area for temp storage.
20485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20486         Likewise.  Also, use symbolic stack frame offsets.
20487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20488         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20489         our own stack frame instead of the caller's.
20490         (__socket): Use symbolic stack frame offsets.
20492 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20493             Alan Modra  <amodra@gmail.com>
20495         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20496         Define.
20497         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20498         (PPC64_LOCAL_ENTRY_OFFSET): Define.
20499         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20500         New function.
20501         (elf_machine_fixup_plt): Call it.
20502         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
20503         reloc arguments.
20504         (elf_machine_rela): Update call to elf_machine_plt_conflict.
20505         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20506         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20507         r2 before calling target.
20509 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20510             Alan Modra  <amodra@gmail.com>
20512         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20513         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20514         versions of macros to support ELFv2 ABI.
20515         (LOCALENTRY): New macro.
20516         (ENTRY, EALIGN): Use it.
20517         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20518         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20519         fall through into ENTRY entry point.
20520         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20521         Only define if _CALL_ELF != 2.
20523         (elf_machine_matches_host): Verify ABI version matches.
20524         (RTLD_START): Use LOCALENTRY.
20525         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20526         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20527         (PLT_ENTRY_WORDS): New macro.
20528         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20529         (elf_machine_runtime_setup): Support ELFv2 ABI.
20530         (elf_machine_fixup_plt): Likewise.
20531         (elf_machine_plt_conflict): Likewise.
20532         (resolve_ifunc): Likewise.
20533         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20534         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20535         Likewise.
20536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20537         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20539         (makecontext): Support ELFv2 ABI.
20540         * elf/elf.h (EF_PPC64_ABI): Define.
20542 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20544         * sysdeps/powerpc/powerpc64/sysdep.h
20545         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20546         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20547         (ENTRY) [ASSEMBLER]: ... but instead here ...
20548         (EALIGN) [ASSEMBLER]: ... and here.
20549         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20550         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20551         (ENTRY_2) [!ASSEMBLER]: Use it.
20552         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20553         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
20554         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20555         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20556         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20558         Use PPC64_LOAD_FUNCPTR.
20560         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20562 2013-12-04  Alan Modra  <amodra@gmail.com>
20564         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20565         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20566         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20567         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20569         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20570         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20571         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20572         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20573         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20574         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20576 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20579         (__makecontext): Fix incorrect CFI when backtracing out of
20580         context created via makecontext.
20581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20582         (__setcontext): Fix incorrect CFI during switch to new context.
20583         (__novec_setcontext): Likewise.
20585 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20587         [BZ #4772]
20588         * time/strptime_l.c (__strptime_internal): Allow modifiers
20589         in strptime.
20590         * time/tst-strptime.c (day_tests): Add testcase.
20592 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20594         * scripts/bench.pl: Skip over blank lines.
20596 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20598         [BZ #926]
20599         * manual/time.texi (Calendar Time): Clarify what timezone functions
20600         use.
20602 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20606 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20608         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20609         implementation.
20610         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20611         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20612         * debug/memset_chk.c (__memset_chk): Likewise.
20613         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20614         * debug/strncpy_chk.c: Likewise.
20616 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20618         [BZ #15268]
20619         [BZ #15425]
20620         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20621         (__ieee754_exp): For possibly underflowing results, check size of
20622         result and force underflow exception if required.
20623         * math/auto-libm-test-in: Add more tests of exp.
20624         * math/auto-libm-test-out: Regenerated.
20625         * sysdeps/i386/fpu/libm-test-ulps: Update.
20626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20628         [BZ #16283]
20629         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20630         * math/w_exp2f.c (__exp2f): Likewise.
20631         * math/w_exp2l.c (__exp2l): Likewise.
20632         * math/auto-libm-test-in: Do not allow missing errno on exp2
20633         underflow.
20634         * math/auto-libm-test-out: Regenerated.
20636 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
20638         [BZ #16274]
20639         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20640         handle filename validation.
20641         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20642         (do_open): Delete.
20644 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20646         [BZ #6786]
20647         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20648         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20649         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20650         <float.h>.
20651         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20652         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20653         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20654         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20655         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20656         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20657         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20658         * math/auto-libm-test-in: Don't allow missing errno from erfc.
20659         Add more erfc tests.
20660         * math/auto-libm-test-out: Regenerated.
20661         * sysdeps/i386/fpu/libm-test-ulps: Update.
20662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20664         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20665         exp2, expm1, j0 and j1.
20666         * math/auto-libm-test-out: Regenerated.
20667         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20668         (erfc_test_data): Likewise.
20669         (exp_test_data): Likewise.
20670         (exp_tonearest_test_data): Likewise.
20671         (exp_towardzero_test_data): Likewise.
20672         (exp_downward_test_data): Likewise.
20673         (exp_upward_test_data): Likewise.
20674         (exp10_test_data): Likewise.
20675         (exp2_test_data): Likewise.
20676         (expm1_test_data): Likewise.
20677         (j0_test_data): Likewise.
20678         (j1_test_data): Likewise.
20679         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20680         (input_flag_type): Add flag_xfail_rounding.
20681         (input_flags): Add xfail-rounding.
20682         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20683         (output_for_one_input_case): Handle flag_xfail_rounding.
20684         * sysdeps/i386/fpu/libm-test-ulps: Update.
20685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20687 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
20689         [BZ #16289]
20690         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20691         division by 0.
20693 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20695         [BZ #16195]
20696         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20697         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20698         (STAP_PROBE0): New macro.
20699         (STAP_PROBE1): Likewise.
20700         (STAP_PROBE2): Likewise.
20701         (STAP_PROBE3): Likewise.
20702         (STAP_PROBE4): Likewise.
20704 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
20706         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20708 2013-12-02  Steve Ellcey  <sellcey@mips.com>
20710         * benchtests/Makefile (bench): Add sqrt.
20711         (LDLIBS-bench-sqrt): New.
20712         * benchtests/sqrt-input: New.
20714 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
20716         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20717         (GAIH_EAI): Likewise.
20718         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20719         (gaih_inet): Likewise.
20720         (getaddrinfo): Don't use GAIH_EAI.
20722         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20723         (struct gaih): Remove definition.
20725 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20727         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20728         Use HERRNOP directly.
20730 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20734 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
20736         * math/gen-auto-libm-tests.c (test_functions): Add more
20737         single-argument functions.
20738         (special_fill_pi_2): New function.
20739         (special_fill_minus_pi_2): Likewise.
20740         (special_fill_pi_6): Likewise.
20741         (special_fill_minus_pi_6): Likewise.
20742         (special_fill_pi_3): Likewise.
20743         (special_fill_2pi_3): Likewise.
20744         (special_fill_e): Likewise.
20745         (special_fill_1_e): Likewise.
20746         (special_fill_e_minus_1): Likewise.
20747         (special_real_inputs): Add more special inputs.
20748         (output_for_one_input_case): Do not require ERANGE on underflow to
20749         zero if round-to-nearest result does not underflow to zero, unless
20750         exact results required.
20751         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20752         atan, atanh, cbrt, cos and cosh.
20753         * math/auto-libm-test-out: Regenerated.
20754         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20755         (acos_tonearest_test_data): Likewise.
20756         (acos_towardzero_test_data): Likewise.
20757         (acos_downward_test_data): Likewise.
20758         (acos_upward_test_data): Likewise.
20759         (acosh_test_data): Likewise.
20760         (asin_test_data): Likewise.
20761         (asin_tonearest_test_data): Likewise.
20762         (asin_towardzero_test_data): Likewise.
20763         (asin_upward_test_data): Likewise.
20764         (asinh_test_data): Likewise.
20765         (atan_test_data): Likewise.
20766         (atanh_test_data): Likewise.
20767         (cbrt_test_data): Likewise.
20768         (cos_test_data): Likewise.
20769         (cos_tonearest_test_data): Likewise.
20770         (cos_towardzero_test_data): Likewise.
20771         (cos_downward_test_data): Likewise.
20772         (cos_upward_test_data): Likewise.
20773         (cosh_test_data): Likewise.
20774         (cosh_tonearest_test_data): Likewise.
20775         (cosh_towardzero_test_data): Likewise.
20776         (cosh_downward_test_data): Likewise.
20777         (cosh_upward_test_data): Likewise.
20778         * sysdeps/i386/fpu/libm-test-ulps: Update.
20779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20781 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
20783         [BZ #6787]
20784         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20785         * math/w_exp10f.c (__exp10f): Likewise.
20786         * math/w_exp10l.c (__exp10l): Likewise.
20787         * math/libm-test.inc (exp10_test_data): Add more tests and expect
20788         errno settings in existing tests.
20790         [BZ #14032]
20791         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20792         precision control set to double precision.
20793         * sysdeps/i386/fpu/w_sqrt.c: New file.
20794         * math/auto-libm-test-in: Add more tests.
20795         * math/auto-libm-test-out: Update.
20797         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20798         (sqrt_test_tonearest): New function.
20799         (sqrt_towardzero_test_data): New variable.
20800         (sqrt_test_towardzero): New function.
20801         (sqrt_downward_test_data): New variable.
20802         (sqrt_test_downward): New function.
20803         (sqrt_upward_test_data): New variable.
20804         (sqrt_test_upward): New function.
20805         (main): Call the new functions.
20807         * math/gen-auto-libm-tests.c: New file.
20808         * math/auto-libm-test-in: Likewise.
20809         * math/auto-libm-test-out: New generated file.
20810         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20811         variables.
20812         (%beautify): Add generated representations of zero.
20813         (top level): Set $auto_input and call parse_auto_input.
20814         (beautify): Remove trailing "f" from hex float constants.
20815         (parse_args): Handle XFAIL_TEST.
20816         (convert_condition): New function.
20817         (or_value): Likewise.
20818         (or_cond_value): Likewise.
20819         (generate_testfile): Handle AUTO_TESTS_* lines.
20820         (parse_auto_input): New function.
20821         * math/libm-test.inc (XFAIL_TEST): New macro.
20822         (ERRNO_UNCHANGED): Update value.
20823         (ERRNO_EDOM): Likewise.
20824         (ERRNO_ERANGE): Likewise.
20825         (IGNORE_RESULT): Likewise.
20826         (TEST_COND_flt_32): New macro.
20827         (TEST_COND_dbl_64): Likewise.
20828         (TEST_COND_ldbl_96_intel): Likewise.
20829         (TEST_COND_ldbl_96_m68k): Likewise.
20830         (TEST_COND_ldbl_128): Likewise.
20831         (TEST_COND_ldbl_128ibm): Likewise.
20832         (TEST_COND_long32): Likewise.
20833         (TEST_COND_long64): Likewise.
20834         (TEST_COND_before_rounding): Likewise.
20835         (TEST_COND_after_rounding): Likewise.
20836         (enable_test): Handle XFAIL_TEST flag.
20837         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20838         with finite results.
20839         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20840         auto-libm-test-out.
20842 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20843             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20845         [BZ #16214]
20846         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20847         __tls_get_addr_internal instead of __tls_get_offset in order to
20848         avoid GOT pointer dependency.  Make rtld export
20849         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20850         __tls_get_addr since we are a __tls_get_offset platform.
20851         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20852         GOT pointer being set up before.
20853         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20855 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
20857         * manual/math.texi (Errors in Math Functions): Document accuracy
20858         goals.
20860         [BZ #15004]
20861         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20862         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20863         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20864         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20865         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20866         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20867         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20868         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20869         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20870         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20871         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20872         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20873         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20874         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20875         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20876         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20878         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20879         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20880         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20881         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20882         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20883         Likewise.
20884         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20885         Likewise.
20886         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20887         Likewise.
20888         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20889         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20890         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20891         atomic-feupdateenv and flt-rounds.
20892         * sysdeps/powerpc/nofpu/Versions (libc): Add
20893         __atomic_feholdexcept, __atomic_feclearexcept,
20894         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20895         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20896         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20897         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20898         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20899         here.
20900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20901         Update.
20903         * manual/arith.texi (FP Exceptions): Document that exceptions may
20904         not be raised when matherr is used.
20905         (Math Error Reporting): Document overflow in directed rounding
20906         modes.  Document that errno may not be set when finite values are
20907         returned on overflow.  Document intent to set errno on underflow
20908         only for underflow to zero.
20910         [BZ #16271]
20911         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20912         round-to-nearest then adjust result for other rounding modes.
20913         * include/fenv.h (fegetround): Use libm_hidden_proto.
20914         * math/fegetround.c (fegetround): Use libm_hidden_def.
20915         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20916         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20917         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20918         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20919         Likewise.
20920         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20921         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20922         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20923         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20925 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20927         [BZ #16077]
20928         * nss/Versions (libnss_files): Add
20929         _nss_files_gethostbyname3_r.
20930         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20931         New function.
20932         (HOST_DB_LOOKUP): Remove macro.
20933         (_nss_files_gethostbyname_r): Implement function without the
20934         HOST_DB_LOOKUP macro.
20935         (_nss_files_gethostbyname2_r): Likewise.
20937 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
20939         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20941 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
20943         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20944         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20945         warning.
20947 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20949         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20950         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20951         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20952         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20953         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20954         __fe_nomask_env_priv and attribute_hidden.
20955         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20956         (libc_feupdateenv_test_ppc): Likewise.
20957         (libc_feresetround_ppc): Likewise.
20958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20959         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20960         compat_symbol macro.
20961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20962         (__fe_nomask_env): Likewise.
20963         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20965 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20967         * string/Makefile: Remove ifunc tests.
20968         * string/test-string.h: Define TEST_IFUNC.
20969         * string/test-bcopy-ifunc.c: Remove.
20970         * string/test-bzero-ifunc.c: Likewise.
20971         * string/test-memccpy-ifunc.c: Likewise.
20972         * string/test-memchr-ifunc.c: Likewise.
20973         * string/test-memcmp-ifunc.c: Likewise.
20974         * string/test-memcpy-ifunc.c: Likewise.
20975         * string/test-memmem-ifunc.c: Likewise.
20976         * string/test-memmove-ifunc.c: Likewise.
20977         * string/test-mempcpy-ifunc.c: Likewise.
20978         * string/test-memrchr-ifunc.c: Likewise.
20979         * string/test-memset-ifunc.c: Likewise.
20980         * string/test-rawmemchr-ifunc.c: Likewise.
20981         * string/test-stpcpy-ifunc.c: Likewise.
20982         * string/test-stpncpy-ifunc.c: Likewise.
20983         * string/test-strcasecmp-ifunc.c: Likewise.
20984         * string/test-strcasestr-ifunc.c: Likewise.
20985         * string/test-strcat-ifunc.c: Likewise.
20986         * string/test-strchr-ifunc.c: Likewise.
20987         * string/test-strchrnul-ifunc.c: Likewise.
20988         * string/test-strcmp-ifunc.c: Likewise.
20989         * string/test-strcpy-ifunc.c: Likewise.
20990         * string/test-strcspn-ifunc.c: Likewise.
20991         * string/test-strlen-ifunc.c: Likewise.
20992         * string/test-strncasecmp-ifunc.c: Likewise.
20993         * string/test-strncat-ifunc.c: Likewise.
20994         * string/test-strncmp-ifunc.c: Likewise.
20995         * string/test-strncpy-ifunc.c: Likewise.
20996         * string/test-strnlen-ifunc.c: Likewise.
20997         * string/test-strpbrk-ifunc.c: Likewise.
20998         * string/test-strrchr-ifunc.c: Likewise.
20999         * string/test-strspn-ifunc.c: Likewise.
21000         * string/test-strstr-ifunc.c: Likewise.
21002 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21004         * benchtests/Makefile: Remove ifunc tests.
21005         * benchtests/bench-string.h: Define TEST_IFUNC.
21006         * benchtests/bench-bcopy-ifunc.c: Remove.
21007         * benchtests/bench-bzero-ifunc.c: Likewise.
21008         * benchtests/bench-memccpy-ifunc.c: Likewise.
21009         * benchtests/bench-memchr-ifunc.c: Likewise.
21010         * benchtests/bench-memcmp-ifunc.c: Likewise.
21011         * benchtests/bench-memcpy-ifunc.c: Likewise.
21012         * benchtests/bench-memmem-ifunc.c: Likewise.
21013         * benchtests/bench-memmove-ifunc.c: Likewise.
21014         * benchtests/bench-mempcpy-ifunc.c: Likewise.
21015         * benchtests/bench-memrchr-ifunc.c: Likewise.
21016         * benchtests/bench-memset-ifunc.c: Likewise.
21017         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21018         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21019         * benchtests/bench-stpcpy-ifunc.c: Likewise.
21020         * benchtests/bench-stpncpy-ifunc.c: Likewise.
21021         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21022         * benchtests/bench-strcasestr-ifunc.c: Likewise.
21023         * benchtests/bench-strcat-ifunc.c: Likewise.
21024         * benchtests/bench-strchr-ifunc.c: Likewise.
21025         * benchtests/bench-strchrnul-ifunc.c: Likewise.
21026         * benchtests/bench-strcmp-ifunc.c: Likewise.
21027         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21028         * benchtests/bench-strcpy-ifunc.c: Likewise.
21029         * benchtests/bench-strcspn-ifunc.c: Likewise.
21030         * benchtests/bench-strlen-ifunc.c: Likewise.
21031         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21032         * benchtests/bench-strncat-ifunc.c: Likewise.
21033         * benchtests/bench-strncmp-ifunc.c: Likewise.
21034         * benchtests/bench-strncpy-ifunc.c: Likewise.
21035         * benchtests/bench-strnlen-ifunc.c: Likewise.
21036         * benchtests/bench-strpbrk-ifunc.c: Likewise.
21037         * benchtests/bench-strrchr-ifunc.c: Likewise.
21038         * benchtests/bench-strsep-ifunc.c: Likewise.
21039         * benchtests/bench-strspn-ifunc.c: Likewise.
21040         * benchtests/bench-strstr-ifunc.c: Likewise.
21042 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21044         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21046 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21048         * resolv/netdb.h: Use __glibc_reserved instead __unused.
21049         * rt/aio.h: Likewise.
21050         * sysdeps/gnu/bits/utmp.h: Likewise.
21051         * sysdeps/gnu/bits/utmpx.h: Likewise.
21052         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21053         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21054         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21055         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21056         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21057         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21058         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21059         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21060         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21061         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21062         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21063         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21064         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21066         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21067         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21068         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21069         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21070         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21071         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21072         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21073         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21074         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21075         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21076         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21077         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21078         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21079         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21080         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21081         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21082         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21083         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21084         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21085         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21086         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21087         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21088         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21089         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21090         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21091         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21092         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21093         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21095 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
21097         [BZ #16245]
21098         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21099         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21101 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
21103         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21104         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21105         Likewise.
21107 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21109         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21110         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21111         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21112         (__fesetround): Remove define.
21113         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21114         rounding and exceptions handling.
21115         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21116         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21117         (__fe_nomask_env): Likewise.
21118         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21119         __fegetround instead of fegetround.
21120         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21121         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21123 2013-11-21  Roland McGrath  <roland@hack.frob.com>
21125         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21126         it's there.
21128         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21130 2013-11-21  Meador Inge  <meadori@codesourcery.com>
21132         [BZ #11157]
21133         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21134         (encrypt_r): Likewise.
21135         * malloc/obstack.h (obstack_free): Likewise.
21136         * posix/unistd.h (encrypt): Likewise.
21138 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
21140         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21141         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21142         DL_CALL_DT_FINI() that call the functions directly.
21143         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21144         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21145         * elf/dl-fini.c: Likewise.
21147 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
21149         * malloc/hooks.c (memalign_check): Add alignment rounding.
21150         * malloc/malloc.c (_mid_memalign): New function.
21151         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21152         Implement by calling _mid_memalign.
21153         * manual/probes.texi (Memory Allocation Probes): Remove
21154         memory_valloc_retry and memory_pvalloc_retry.
21156 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21158         * locale/programs/locarchive.c (open_archive): Add const
21159         qualifier to ARCHIVEFNAME and copy default fname to
21160         DEFAULT_FNAME.
21162         [BZ #15601]
21163         * libio/tst-widetext.input: Rename Oriya to Odia.
21164         * locale/iso-639.def: Likewise.
21166         * manual/probes.texi (Mathematical Function Probes): Add
21167         documentation for sin, cos, asin and acos probes.
21168         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21169         (__sin32): Add slowasin probe.
21170         (__cos32): Add slowacos probe.
21171         (__mpsin): Add slowsin probe.
21172         (__mpcos): Add slowcos probe.
21174 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
21176         [BZ #15483]
21177         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21178         thread-local __sim_exceptions_thread and global
21179         __sim_exceptions_global.
21180         (__sim_disabled_exceptions): Change to thread-local
21181         __sim_disabled_exceptions_thread and global
21182         __sim_disabled_exceptions_global.
21183         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21184         and global __sim_round_mode_global.
21185         (__simulate_exceptions): Use thread-local floating-point state and
21186         set global state from it as needed.
21187         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21188         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21189         __sim_round_mode_thread.
21190         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21191         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21192         and global __sim_exceptions_global.
21193         (__sim_disabled_exceptions): Change to thread-local
21194         __sim_disabled_exceptions_thread and global
21195         __sim_disabled_exceptions_global.
21196         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21197         and global __sim_round_mode_global.
21198         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21199         (SIM_SET_GLOBAL): Likewise.
21200         * sysdeps/powerpc/soft-fp/sfp-machine.h
21201         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21202         __sim_round_mode_thread.
21203         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21204         __sim_disabled_exceptions_thread.
21205         (__sim_exceptions): Change to __sim_exceptions_thread.
21206         (__sim_disabled_exceptions): Change to
21207         __sim_disabled_exceptions_thread.
21208         (__sim_round_mode): Change to __sim_round_mode_thread.
21209         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21210         thread-local floating-point state and set global state from it as
21211         needed.
21212         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21213         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21214         (__sim_disabled_exceptions): Remove extern declaration.
21215         (feenableexcept): Use thread-local floating-point state and set
21216         global state from it as needed.
21217         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21218         extern declaration.
21219         (__sim_disabled_exceptions): Likewise.
21220         (__sim_round_mode): Likewise.
21221         (__fegetenv): Use thread-local floating-point state.
21222         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21223         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21224         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21225         floating-point state and set global state from it as needed.
21226         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21227         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21228         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21229         Likewise.
21230         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21231         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21232         Likewise.
21233         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21234         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21235         Use __sim_round_mode_thread.
21236         * math/test-fenv-tls.c: New file.
21237         * math/Makefile (tests): Add test-fenv-tls.
21238         ($(objpfx)test-fenv-tls): Depend on
21239         $(common-objpfx)nptl/libpthread.so.
21241 2013-11-19  Andreas Schwab  <schwab@suse.de>
21243         * locale/programs/locale.c (show_info): Decode wordarray elements.
21244         * locale/categories.def (LC_MONETARY): Add element for
21245         _NL_MONETARY_CRNCYSTR.
21246         * locale/C-monetary.c (conversion_rate): New variable.
21247         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21248         element.
21250 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
21252         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21253         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21255 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21257         * elf/Makefile (tst-auxv): New test.
21258         * elf/tst-auxv.c: New
21259         * elf/rtld.c (dl_main): Adjust AT_EXECFN
21261 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
21263         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21264         (hidden_proto): Caller changed.
21265         (hidden_tls_proto): New macro.
21266         (libc_hidden_tls_proto): Likewise.
21267         (rtld_hidden_tls_proto): Likewise.
21268         (libm_hidden_tls_proto): Likewise.
21269         (libresolv_hidden_tls_proto): Likewise.
21270         (librt_hidden_tls_proto): Likewise.
21271         (libdl_hidden_tls_proto): Likewise.
21272         (libnss_files_hidden_tls_proto): Likewise.
21273         (libnsl_hidden_tls_proto): Likewise.
21274         (libnss_nisplus_hidden_tls_proto): Likewise.
21275         (libutil_hidden_tls_proto): Likewise.
21277 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
21279         [BZ #10253]
21280         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21281         (decompose_rpath): Defer expansion to fillin_rpath.
21282         (_dl_init_paths): Pass linkmap to fillin_rpath.
21284 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21286         * benchtests/Makefile: Add strsep.
21287         * benchtests/bench-strsep.c: New file: strsep benchtest.
21288         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21290 2013-11-18  Andreas Schwab  <schwab@suse.de>
21292         * locale/programs/locale.c (show_info) [case byte]: Check for
21293         '\377' instead of '\177'.
21294         * locale/C-monetary.c (not_available): Always use "\377".
21295         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21296         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
21297         detect unavailable sign_posn locale elements.
21298         * locale/localeconv.c (__localeconv): For grouping and
21299         mon_grouping handle "\177" and "\377" like no grouping.
21300         (INT_ELEM): New macro.  Use it to set all numeric members.
21301         * locale/programs/ld-monetary.c (monetary_read)
21302         <tok_mon_grouping>: Normalize single -1 to the empty string.
21303         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21304         Likewise.
21306 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21308         [BZ #16055]
21309         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21310         when we match (nil).
21311         * stdio-common/tst-sscanf.c (struct test): Add testcase.
21313 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
21315         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21316         (NO_TEST_INLINE): Update value.
21317         (ERRNO_UNCHANGED): Likewise.
21318         (ERRNO_EDOM): Likewise.
21319         (ERRNO_ERANGE): Likewise.
21320         (IGNORE_RESULT): Likewise.
21321         (check_float_internal): Check signs of NaN results if
21322         TEST_NAN_SIGN used.
21323         (check_complex): Pass TEST_NAN_SIGN flag through to second
21324         check_float_internal call.
21325         (copysign_test_data): Add tests with quiet NaNs as second
21326         argument.  Use TEST_NAN_SIGN.
21327         (fabs_test_data): Add test of negative quiet NaN argument.  Use
21328         TEST_NAN_SIGN.
21329         (signbit_test_data): Add tests of quiet NaN argument.
21330         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21332         * math/gen-libm-test.pl (show_exceptions): Take extra argument
21333         $ignore_result.
21334         (parse_args): Handle function results specified as IGNORE.
21335         * math/libm-test.inc (IGNORE_RESULT): New macro.
21336         (check_float_internal): Do not check numerical result if flag
21337         IGNORE_RESULT set.
21338         (check_complex): Pass through IGNORE_RESULT to second
21339         check_float_internal call.
21340         (check_int): Do not check numerical result if flag IGNORE_RESULT
21341         set.
21342         (check_long): Likewise.
21343         (check_bool): Likewise.
21344         (check_longlong): Likewise.
21345         (lrint_test_data): Add tests of infinite and NaN arguments.
21346         (lrint_tonearest_test_data): Likewise.
21347         (lrint_towardzero_test_data): Likewise.
21348         (lrint_downward_test_data): Likewise.
21349         (lrint_upward_test_data): Likewise.
21350         (llrint_test_data): Likewise.
21351         (llrint_tonearest_test_data): Likewise.
21352         (llrint_towardzero_test_data): Likewise.
21353         (llrint_downward_test_data): Likewise.
21354         (llrint_upward_test_data): Likewise.
21355         (lround_test_data): Likewise.
21356         (llround_test_data): Likewise.
21358         * math/libm-test.inc (NO_TEST_INLINE): New macro.
21359         (ERRNO_UNCHANGED): Update value.
21360         (ERRNO_EDOM): Likewise.
21361         (ERRNO_ERANGE): Likewise.
21362         (NO_TEST_INLINE_FLOAT): New macro.
21363         (NO_TEST_INLINE_DOUBLE): Likewise.
21364         (enable_test): New function.
21365         (RUN_TEST_f_f): Check enable_test before running test.
21366         (RUN_TEST_2_f): Likewise.
21367         (RUN_TEST_fff_f): Likewise.
21368         (RUN_TEST_c_f): Likewise.
21369         (RUN_TEST_f_f1): Likewise.
21370         (RUN_TEST_fF_f1): Likewise.
21371         (RUN_TEST_fI_f1): Likewise.
21372         (RUN_TEST_ffI_f1): Likewise.
21373         (RUN_TEST_c_c): Likewise.
21374         (RUN_TEST_cc_c): Likewise.
21375         (RUN_TEST_f_i): Likewise.
21376         (RUN_TEST_f_i_tg): Likewise.
21377         (RUN_TEST_ff_i_tg): Likewise.
21378         (RUN_TEST_f_b): Likewise.
21379         (RUN_TEST_f_b_tg): Likewise.
21380         (RUN_TEST_f_l): Likewise.
21381         (RUN_TEST_f_L): Likewise.
21382         (RUN_TEST_fFF_11): Likewise.
21383         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21384         conditionals.
21385         (cosh_test_data): Likewise.
21386         (exp_test_data): Likewise.
21387         (expm1_test_data): Likewise.
21388         (hypot_test_data): Likewise.
21389         (pow_test_data): Likewise.
21390         (sinh_test_data): Likewise.
21391         (tanh_test_data): Likewise.
21392         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21393         flags argument.
21395         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21396         tests with quiet NaN input and output.
21397         (acosh_test_data): Likewise.
21398         (asin_test_data): Likewise.
21399         (asinh_test_data): Likewise.
21400         (atan_test_data): Likewise.
21401         (atanh_test_data): Likewise.
21402         (atan2_test_data): Likewise.
21403         (cbrt_test_data): Likewise.
21404         (cos_test_data): Likewise.
21405         (cosh_test_data): Likewise.
21406         (erf_test_data): Likewise.
21407         (erfc_test_data): Likewise.
21408         (exp_test_data): Likewise.
21409         (exp10_test_data): Likewise.
21410         (exp2_test_data): Likewise.
21411         (expm1_test_data): Likewise.
21412         (hypot_test_data): Likewise.
21413         (j0_test_data): Likewise.
21414         (j1_test_data): Likewise.
21415         (jn_test_data): Likewise.
21416         (lgamma_test_data): Likewise.
21417         (log_test_data): Likewise.
21418         (log10_test_data): Likewise.
21419         (log1p_test_data): Likewise.
21420         (log2_test_data): Likewise.
21421         (pow_test_data): Likewise.
21422         (scalb_test_data): Likewise.
21423         (sin_test_data): Likewise.
21424         (sincos_test_data): Likewise.
21425         (sinh_test_data): Likewise.
21426         (tan_test_data): Likewise.
21427         (tanh_test_data): Likewise.
21428         (tgamma_test_data): Likewise.
21429         (y0_test_data): Likewise.
21430         (y1_test_data): Likewise.
21431         (yn_test_data): Likewise.
21433         [BZ #16167]
21434         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21435         argument being NaN and avoid computations with second argument in
21436         that case.
21437         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21438         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21439         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21441 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
21443         * locale/iso-639.def: Add Chitwani Tharu (the).
21445 2013-11-14  Andreas Schwab  <schwab@suse.de>
21447         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21448         word instead of empty string.
21450 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21453         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21455         (__fe_nomask_env): Likewise.
21457 2013-11-13  Steve Ellcey  <sellcey@mips.com>
21459         * benchtests/bench-timing.h: Include time.h.
21461 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
21463         [BZ #15997]
21464         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21465         to 3.4.0 for x32.
21466         * sysdeps/unix/sysv/linux/configure: Regenerated.
21468 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
21470         [BZ #16151]
21471         * stdlib/strtod_l.c (round_and_return): Do not consider
21472         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21473         exponent one less than half the least subnormal exponent.
21474         * stdlib/test-strtod-round-data: Add more tests.
21475         * stdlib/tst-strtod-round.c (tests): Regenerated.
21477 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21479         [BZ #14143]
21480         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21481         (__fe_mask_env): Likewise.
21482         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21483         libm_hidden_proto and add function prototype.
21484         (__fe_mask_env): Add function prototype.
21485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21486         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21488         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21490         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21492 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21494         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21495         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21497 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21499         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21500         of htab_find_slot().
21502 2013-11-11  David S. Miller  <davem@davemloft.net>
21504         [BZ #16150]
21505         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21506         symbol in the non-vis3 case in static builds.
21507         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21508         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21509         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21510         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21512 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
21514         [BZ #387]
21515         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21516         it is empty.
21518 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21520         * benchtests/Makefile: Add bench-strtod.
21521         * benchtests/bench-strtod.c: New file: strtod benchtest
21523 2013-11-11  Andreas Schwab  <schwab@suse.de>
21525         [BZ #16153]
21526         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21527         terminating NUL in key length.
21529 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21531         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21532         Add artificial ODP entry for vDSO symbol for PPC64.
21533         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21534         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21536 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21538         [BZ #15374]
21539         * nss/getent.c (services_keys): Recognize services starting with digit.
21541 2013-11-06  David S. Miller  <davem@davemloft.net>
21543         [BZ #15985]
21544         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21545         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21547 2013-11-06  Will Newton  <will.newton@linaro.org>
21549         * manual/memory.texi (Malloc Examples): Remove register
21550         keyword from examples.
21552 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
21554         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21556 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
21558         [BZ #6981]
21559         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21560         depending on [__GCC_IEC_559 > 0].
21561         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21562         depending on [__GCC_IEC_559_COMPLEX > 0].
21564 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
21566         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21567         to iso-639.def.
21569 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
21571         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21573 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
21575         [BZ #16112]
21576         * malloc/malloc (malloc_info): Do not handle first bin as
21577         special case.
21579 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
21581         * locale/iso-639.def: Add Central Nahuatl (nhn).
21583 2013-11-01  Bruno Haible  <bruno@clisp.org>
21585         [BZ #7003]
21586         * manual/math.texi (BSD Random): Specify range upper bound as
21587         in POSIX.
21589 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
21591         * locale/iso-639.def: Add Meadow Mari (mhr).
21593 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
21595         [BZ #14752], [BZ #15763]
21596         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21597         Validate name.
21598         * rt/tst_shm.c: Add test for escaping directory.
21600 2013-10-31  Andreas Schwab  <schwab@suse.de>
21602         [BZ #15917]
21603         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21604         followed by 'x' as part of digit sequence.
21605         * stdio-common/tst-sscanf.c (double_tests2): New tests.
21607 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21609         [BZ #16037]
21610         * configure.ac: allow GNU Make 4.0 and greater.
21611         * configure: Regenerated.
21613 2013-10-30  Will Newton  <will.newton@linaro.org>
21615         [BZ #16038]
21616         * malloc/hooks.c (memalign_check): Limit alignment to the
21617         maximum representable power of two.
21618         * malloc/malloc.c (__libc_memalign): Likewise.
21619         * malloc/tst-memalign.c (do_test): Add test for very
21620         large alignment values.
21621         * malloc/tst-posix_memalign.c (do_test): Likewise.
21623 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21625         [BZ #11087]
21626         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21627         (munmap_chunk): Likewise.
21628         (mremap_chunk): Likewise.
21630 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21632         [BZ #15799]
21633         * stdlib/div.c (div): Remove obsolete code.
21634         * stdlib/ldiv.c (ldiv): Likewise.
21635         * stdlib/lldiv.c (lldiv): Likewise.
21637 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21639         [BZ #16071]
21640         * nss/nss_files/files-XXX.c (get_contents_ret): New
21641         enumerator.
21642         (get_contents): New function.
21643         (internal_getent): Use it.  Expand size of LINEBUFLEN.
21645 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
21647         * configure.in: Moved to ...
21648         * configure.ac: ... here. Change reference to configure.in
21649         to configure.ac.
21650         * sysdeps/arm/preconfigure.ac: ... here.
21651         configure.in to configure.ac.
21652         * sysdeps/gnu/configure.in: Moved to ...
21653         * sysdeps/gnu/configure.ac: ... here.
21654         * sysdeps/i386/configure.in: Moved to ...
21655         * sysdeps/i386/configure.ac: ... here.
21656         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21657         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21658         * sysdeps/mach/configure.in: Moved to ...
21659         * sysdeps/mach/configure.ac: ... here.
21660         * sysdeps/mach/hurd/configure.in: Moved to ...
21661         * sysdeps/mach/hurd/configure.ac: ... here.
21662         * sysdeps/powerpc/configure.in: Moved to ...
21663         * sysdeps/powerpc/configure.ac: ... here.
21664         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21665         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21666         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21667         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21668         * sysdeps/s390/s390-32/configure.in: Moved to ...
21669         * sysdeps/s390/s390-32/configure.ac: ... here.
21670         * sysdeps/s390/s390-64/configure.in: Moved to ...
21671         * sysdeps/s390/s390-64/configure.ac: ... here.
21672         * sysdeps/sh/configure.in: Moved to ...
21673         * sysdeps/sh/configure.ac: ... here.
21674         * sysdeps/sparc/configure.in: Moved to ...
21675         * sysdeps/sparc/configure.ac: ... here.
21676         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21677         * sysdeps/unix/sysv/linux/configure.ac: ... here.
21678         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21679         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21680         * sysdeps/x86_64/configure.in: Moved to ...
21681         * sysdeps/x86_64/configure.ac: ... here.
21682         * sysdeps/x86_64/preconfigure.in: Moved to ...
21683         * sysdeps/x86_64/preconfigure.ac: ... here.
21684         * aclocal.m4: Change reference to configure.in to configure.ac.
21685         * config.h.in: Likewise.
21686         * manual/install.texi: Likewise.
21687         * manual/maint.texi: Likewise.
21688         * Makefile: Likewise.
21689         * malloc/Makefile: Likewise.
21690         * nscd/Makefile: Likewise.
21691         * Makeconfig: Change reference to configure.in and
21692         preconfigure.in to configure.ac and preconfigure.ac
21693         respectively.
21694         * INSTALL: Regenerated.
21695         * configure: Likewise.
21696         * sysdeps/gnu/configure: Likewise.
21697         * sysdeps/i386/configure: Likewise.
21698         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21699         * sysdeps/mach/configure: Likewise.
21700         * sysdeps/mach/hurd/configure: Likewise.
21701         * sysdeps/powerpc/configure: Likewise.
21702         * sysdeps/powerpc/powerpc32/configure: Likewise.
21703         * sysdeps/powerpc/powerpc64/configure: Likewise.
21704         * sysdeps/s390/s390-32/configure: Likewise.
21705         * sysdeps/s390/s390-64/configure: Likewise.
21706         * sysdeps/sh/configure: Likewise.
21707         * sysdeps/sparc/configure: Likewise.
21708         * sysdeps/unix/sysv/linux/configure: Likewise.
21709         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21710         * sysdeps/x86_64/configure: Likewise.
21711         * sysdeps/x86_64/preconfigure: Likewise.
21713 2013-10-29  Andreas Schwab  <schwab@suse.de>
21715         * stdio-common/Makefile (tst-swscanf-ENV): Define.
21717 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21719         * benchtests/pow-inputs: Add new inputs.
21721         * benchtests/exp-inputs: Add new inputs.
21723         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21724         conditional check for return value.
21725         (__cos32): Likewise.
21727 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21729         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21730         to provide a boost for large inputs with word alignment.
21731         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21732         implementation based on optimized PPC64 strcpy.
21733         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21734         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21735         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21736         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21738 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21740         [BZ #2801]
21741         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21743 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21745         [BZ #14876]
21746         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21747         * time/tst-strptime.c (day_tests): Add testcase.
21749 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21751         [BZ #14029]
21752         * manual/pattern.texi: Acknowledge that fnmatch can fail.
21754 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
21756         [BZ #16074]
21757         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21758         MAP_FAILED on error.
21760 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21762         [BZ #16072]
21763         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21764         heap for large requests.
21766 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
21768         [BZ #9954]
21769         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21770         result if the result has no associated interface.
21771         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21772         interface for all 127.X.Y.Z addresses.
21774 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
21776         * locale/iso-639.def: Add Ligurian (lij)
21778 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
21780         [BZ #15825]
21781         * sunrpc/rpc_main.c: Document rpcgen -5.
21783 2013-10-19  Michael Stahl  <mstahl@redhat.com>
21785         * elf/rtld.c (do_preload): Print the reason why preloading failed.
21787 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21789         [BZ #10278]
21790         * posix/glob.c: Match only directories when trailing slash is present.
21791         * posix/tst-gnuglob.c (my_opendir): Do not open files.
21792         (main): Add testcase.
21794 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21796         [BZ #15670]
21797         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21799 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
21801         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21802         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21803         AUTH_DES and cindex for FIPS 140-2.
21804         (DES Encryption): Add cindex FIPS 46-3.
21806         * locale/locarchive.h (struct locarhandle): Add fname.
21807         * locale/programs/localedef.c (main): Pass ARGV[remaining]
21808         if an optional argument was specified to --list-archive,
21809         otherwise NULL.
21810         * locale/programs/locarchive.c (show_archive_content): Take new
21811         argument fname and pass it via ah.fname to open_archive.
21812         * locale/programs/localedef.h: Update decl.
21813         (open_archive): If AH->fname is non-null, open that file
21814         rather than the default file name, and don't ignore ENOENT.
21815         (create_archive): Set AH.fname to NULL.
21816         (delete_locales_from_archive): Likewise.
21817         (add_locales_to_archive): Likewise.
21818         * locale/programs/locfile.c (write_all_categories): Likewise.
21820 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
21821             Aldy Hernandez  <aldyh@redhat.com>
21823         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21824         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21825         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21826         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21827         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21828         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21829         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21830         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21831         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21832         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21833         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21834         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21835         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21836         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21837         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21838         Likewise.
21839         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21840         Likewise.
21841         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21842         Likewise.
21843         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21844         Likewise.
21845         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21846         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21847         Likewise.
21848         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21849         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21850         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21851         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21852         Likewise.
21853         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21854         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21855         * sysdeps/powerpc/preconfigure: Likewise.
21856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21857         Likewise.
21858         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21859         Replace contents of file by #include of <fenv_libc.h>.
21860         * sysdeps/powerpc/soft-fp/sfp-machine.h
21861         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21862         and <sys/prctl.h>.
21863         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21864         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21865         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21866         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21867         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21868         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21869         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21870         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21871         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21872         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21873         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21874         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21876         Allow copysignl PLT reference to be missing.
21878 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
21879             Joseph Myers  <joseph@codesourcery.com
21881         [BZ #15948]
21882         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21883         single character.
21884         (add_to_tablewc): Assert sequence of wide characters is nonempty.
21886 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21888         * elf/tst-tls-dlinfo.c: Don't include tls.h.
21889         * elf/tst-tls1.c: Likewise.
21890         * elf/tst-tls10.h: Likewise.
21891         * elf/tst-tls14.c: Likewise.
21892         * elf/tst-tls2.c: Likewise.
21893         * elf/tst-tls3.c: Likewise.
21894         * elf/tst-tls4.c: Likewise.
21895         * elf/tst-tls5.c: Likewise.
21896         * elf/tst-tls6.c: Likewise.
21897         * elf/tst-tls7.c: Likewise.
21898         * elf/tst-tls8.c: Likewise.
21899         * elf/tst-tls9.c: Likewise.
21900         * elf/tst-tlsmod1.c: Likewise.
21901         * elf/tst-tlsmod13.c: Likewise.
21902         * elf/tst-tlsmod13a.c: Likewise.
21903         * elf/tst-tlsmod14a.c: Likewise.
21904         * elf/tst-tlsmod16a.c: Likewise.
21905         * elf/tst-tlsmod16b.c: Likewise.
21906         * elf/tst-tlsmod2.c: Likewise.
21907         * elf/tst-tlsmod3.c: Likewise.
21908         * elf/tst-tlsmod4.c: Likewise.
21909         * elf/tst-tlsmod5.c: Likewise.
21910         * elf/tst-tlsmod6.c: Likewise.
21912 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
21914         [BZ #12486]
21915         * malloc/malloc.c: remove checks for statistics.
21917 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21919         [BZ #15277]
21920         * inet/inet_net.c (inet_network): Detect additional invalid strings.
21921         * inet/tst-network.c: Add testcase.
21923 2013-10-17  Andreas Schwab  <schwab@suse.de>
21925         [BZ #15218]
21926         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21927         to determine canonical name.
21929 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21931         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21932         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21933         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21934         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21935         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21936         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21937         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21938         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21939         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21940         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21941         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21942         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21943         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21944         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21945         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21946         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21947         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21948         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21949         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21950         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21951         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21952         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21953         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21954         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21955         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21956         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21957         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21958         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21959         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21960         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21961         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21962         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21963         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21964         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21965         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21966         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21967         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21968         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21969         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21970         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21971         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21972         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21973         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21974         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21975         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21976         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21977         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21978         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21979         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21980         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21981         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21982         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21983         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21984         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21985         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21986         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21987         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21988         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21990 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
21992         [BZ #16041]
21993         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21994         make result into a quiet NaN.
21996 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
21998         * soft-fp/adddf3.c: Fix horizontal whitespace.
21999         * soft-fp/addsf3.c: Likewise.
22000         * soft-fp/addtf3.c: Likewise.
22001         * soft-fp/divdf3.c: Likewise.
22002         * soft-fp/divsf3.c: Likewise.
22003         * soft-fp/divtf3.c: Likewise.
22004         * soft-fp/double.h: Likewise.
22005         * soft-fp/eqdf2.c: Likewise.
22006         * soft-fp/eqsf2.c: Likewise.
22007         * soft-fp/eqtf2.c: Likewise.
22008         * soft-fp/extenddftf2.c: Likewise.
22009         * soft-fp/extended.h: Likewise.
22010         * soft-fp/extendsfdf2.c: Likewise.
22011         * soft-fp/extendsftf2.c: Likewise.
22012         * soft-fp/extendxftf2.c: Likewise.
22013         * soft-fp/fixdfdi.c: Likewise.
22014         * soft-fp/fixdfsi.c: Likewise.
22015         * soft-fp/fixdfti.c: Likewise.
22016         * soft-fp/fixsfdi.c: Likewise.
22017         * soft-fp/fixsfsi.c: Likewise.
22018         * soft-fp/fixsfti.c: Likewise.
22019         * soft-fp/fixtfdi.c: Likewise.
22020         * soft-fp/fixtfsi.c: Likewise.
22021         * soft-fp/fixtfti.c: Likewise.
22022         * soft-fp/fixunsdfdi.c: Likewise.
22023         * soft-fp/fixunsdfsi.c: Likewise.
22024         * soft-fp/fixunsdfti.c: Likewise.
22025         * soft-fp/fixunssfdi.c: Likewise.
22026         * soft-fp/fixunssfsi.c: Likewise.
22027         * soft-fp/fixunssfti.c: Likewise.
22028         * soft-fp/fixunstfdi.c: Likewise.
22029         * soft-fp/fixunstfsi.c: Likewise.
22030         * soft-fp/fixunstfti.c: Likewise.
22031         * soft-fp/floatdidf.c: Likewise.
22032         * soft-fp/floatdisf.c: Likewise.
22033         * soft-fp/floatditf.c: Likewise.
22034         * soft-fp/floatsidf.c: Likewise.
22035         * soft-fp/floatsisf.c: Likewise.
22036         * soft-fp/floatsitf.c: Likewise.
22037         * soft-fp/floattidf.c: Likewise.
22038         * soft-fp/floattisf.c: Likewise.
22039         * soft-fp/floattitf.c: Likewise.
22040         * soft-fp/floatundidf.c: Likewise.
22041         * soft-fp/floatundisf.c: Likewise.
22042         * soft-fp/floatunditf.c: Likewise.
22043         * soft-fp/floatunsidf.c: Likewise.
22044         * soft-fp/floatunsisf.c: Likewise.
22045         * soft-fp/floatunsitf.c: Likewise.
22046         * soft-fp/floatuntidf.c: Likewise.
22047         * soft-fp/floatuntisf.c: Likewise.
22048         * soft-fp/floatuntitf.c: Likewise.
22049         * soft-fp/fmadf4.c: Likewise.
22050         * soft-fp/fmasf4.c: Likewise.
22051         * soft-fp/fmatf4.c: Likewise.
22052         * soft-fp/gedf2.c: Likewise.
22053         * soft-fp/gesf2.c: Likewise.
22054         * soft-fp/getf2.c: Likewise.
22055         * soft-fp/ledf2.c: Likewise.
22056         * soft-fp/lesf2.c: Likewise.
22057         * soft-fp/letf2.c: Likewise.
22058         * soft-fp/muldf3.c: Likewise.
22059         * soft-fp/mulsf3.c: Likewise.
22060         * soft-fp/multf3.c: Likewise.
22061         * soft-fp/negdf2.c: Likewise.
22062         * soft-fp/negsf2.c: Likewise.
22063         * soft-fp/negtf2.c: Likewise.
22064         * soft-fp/op-1.h: Likewise.
22065         * soft-fp/op-2.h: Likewise.
22066         * soft-fp/op-4.h: Likewise.
22067         * soft-fp/op-8.h: Likewise.
22068         * soft-fp/op-common.h: Likewise.
22069         * soft-fp/quad.h: Likewise.
22070         * soft-fp/single.h: Likewise.
22071         * soft-fp/soft-fp.h: Likewise.
22072         * soft-fp/sqrtdf2.c: Likewise.
22073         * soft-fp/sqrtsf2.c: Likewise.
22074         * soft-fp/sqrttf2.c: Likewise.
22075         * soft-fp/subdf3.c: Likewise.
22076         * soft-fp/subsf3.c: Likewise.
22077         * soft-fp/subtf3.c: Likewise.
22078         * soft-fp/truncdfsf2.c: Likewise.
22079         * soft-fp/trunctfdf2.c: Likewise.
22080         * soft-fp/trunctfsf2.c: Likewise.
22081         * soft-fp/trunctfxf2.c: Likewise.
22082         * soft-fp/unorddf2.c: Likewise.
22083         * soft-fp/unordsf2.c: Likewise.
22084         * soft-fp/unordtf2.c: Likewise.
22086 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
22088         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22089         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22091 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
22093         * elf/dl-libc.c: Clear initfini list after freeing.
22095 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
22097         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22098         * soft-fp/addsf3.c: Likewise.
22099         * soft-fp/addtf3.c: Likewise.
22100         * soft-fp/divdf3.c: Likewise.
22101         * soft-fp/divsf3.c: Likewise.
22102         * soft-fp/divtf3.c: Likewise.
22103         * soft-fp/double.h: Likewise.
22104         * soft-fp/eqdf2.c: Likewise.
22105         * soft-fp/eqsf2.c: Likewise.
22106         * soft-fp/eqtf2.c: Likewise.
22107         * soft-fp/extenddftf2.c: Likewise.
22108         * soft-fp/extended.h: Likewise.
22109         * soft-fp/extendsfdf2.c: Likewise.
22110         * soft-fp/extendsftf2.c: Likewise.
22111         * soft-fp/extendxftf2.c: Likewise.
22112         * soft-fp/fixdfdi.c: Likewise.
22113         * soft-fp/fixdfsi.c: Likewise.
22114         * soft-fp/fixdfti.c: Likewise.
22115         * soft-fp/fixsfdi.c: Likewise.
22116         * soft-fp/fixsfsi.c: Likewise.
22117         * soft-fp/fixsfti.c: Likewise.
22118         * soft-fp/fixtfdi.c: Likewise.
22119         * soft-fp/fixtfsi.c: Likewise.
22120         * soft-fp/fixtfti.c: Likewise.
22121         * soft-fp/fixunsdfdi.c: Likewise.
22122         * soft-fp/fixunsdfsi.c: Likewise.
22123         * soft-fp/fixunsdfti.c: Likewise.
22124         * soft-fp/fixunssfdi.c: Likewise.
22125         * soft-fp/fixunssfsi.c: Likewise.
22126         * soft-fp/fixunssfti.c: Likewise.
22127         * soft-fp/fixunstfdi.c: Likewise.
22128         * soft-fp/fixunstfsi.c: Likewise.
22129         * soft-fp/fixunstfti.c: Likewise.
22130         * soft-fp/floatdidf.c: Likewise.
22131         * soft-fp/floatdisf.c: Likewise.
22132         * soft-fp/floatditf.c: Likewise.
22133         * soft-fp/floatsidf.c: Likewise.
22134         * soft-fp/floatsisf.c: Likewise.
22135         * soft-fp/floatsitf.c: Likewise.
22136         * soft-fp/floattidf.c: Likewise.
22137         * soft-fp/floattisf.c: Likewise.
22138         * soft-fp/floattitf.c: Likewise.
22139         * soft-fp/floatundidf.c: Likewise.
22140         * soft-fp/floatundisf.c: Likewise.
22141         * soft-fp/floatunsidf.c: Likewise.
22142         * soft-fp/floatunsisf.c: Likewise.
22143         * soft-fp/floatuntidf.c: Likewise.
22144         * soft-fp/floatuntisf.c: Likewise.
22145         * soft-fp/floatuntitf.c: Likewise.
22146         * soft-fp/fmadf4.c: Likewise.
22147         * soft-fp/fmasf4.c: Likewise.
22148         * soft-fp/fmatf4.c: Likewise.
22149         * soft-fp/gedf2.c: Likewise.
22150         * soft-fp/gesf2.c: Likewise.
22151         * soft-fp/getf2.c: Likewise.
22152         * soft-fp/ledf2.c: Likewise.
22153         * soft-fp/lesf2.c: Likewise.
22154         * soft-fp/letf2.c: Likewise.
22155         * soft-fp/muldf3.c: Likewise.
22156         * soft-fp/mulsf3.c: Likewise.
22157         * soft-fp/multf3.c: Likewise.
22158         * soft-fp/negdf2.c: Likewise.
22159         * soft-fp/negsf2.c: Likewise.
22160         * soft-fp/negtf2.c: Likewise.
22161         * soft-fp/op-1.h: Likewise.
22162         * soft-fp/op-2.h: Likewise.
22163         * soft-fp/op-4.h: Likewise.
22164         * soft-fp/op-8.h: Likewise.
22165         * soft-fp/op-common.h: Likewise.
22166         * soft-fp/quad.h: Likewise.
22167         * soft-fp/single.h: Likewise.
22168         * soft-fp/soft-fp.h: Likewise.
22169         * soft-fp/sqrtdf2.c: Likewise.
22170         * soft-fp/sqrtsf2.c: Likewise.
22171         * soft-fp/sqrttf2.c: Likewise.
22172         * soft-fp/subdf3.c: Likewise.
22173         * soft-fp/subsf3.c: Likewise.
22174         * soft-fp/subtf3.c: Likewise.
22175         * soft-fp/truncdfsf2.c: Likewise.
22176         * soft-fp/trunctfdf2.c: Likewise.
22177         * soft-fp/trunctfsf2.c: Likewise.
22178         * soft-fp/trunctfxf2.c: Likewise.
22179         * soft-fp/unorddf2.c: Likewise.
22180         * soft-fp/unordsf2.c: Likewise.
22181         * soft-fp/unordtf2.c: Likewise.
22183 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
22185         [BZ #15672]
22186         * misc/error.c (error_tail): Fix possible buffer overflow.
22188 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
22190         [BZ #13028]
22191         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22192         address.
22194 2013-10-14  P. J. McDermott  <pj@pehjota.net>
22196         [BZ #832]
22197         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
22198         testing pipefail option.
22200 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22202         * soft-fp/double.h: Indent preprocessor directives inside #if.
22203         * soft-fp/extended.h: Likewise.
22204         * soft-fp/op-2.h: Likewise.
22205         * soft-fp/op-4.h: Likewise.
22206         * soft-fp/op-common.h: Likewise.
22207         * soft-fp/quad.h: Likewise.
22208         * soft-fp/single.h: Likewise.
22209         * soft-fp/soft-fp.h: Likewise.
22211 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
22213         * iconv/iconv_prog.c: Fix typos.
22214         * stdio-common/psiginfo-data.h: Likewise.
22216 2013-10-12   Reuben Thomas <rrt@sc3d.org>
22218         [BZ #15764]
22219         * locale/setlocale.c: Fix typo.
22221 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22223         [BZ #16036]
22224         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22225         signaling NaN arguments.
22226         * soft-fp/unordsf2.c (__unordsf2): Likewise.
22227         * soft-fp/unordtf2.c (__unordtf2): Likewise.
22229         [BZ #14910]
22230         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22231         unordered operands.
22232         * soft-fp/gesf2.c (__gesf2): Likewise.
22233         * soft-fp/getf2.c (__getf2): Likewise.
22234         * soft-fp/ledf2.c (__ledf2): Likewise.
22235         * soft-fp/lesf2.c (__lesf2): Likewise.
22236         * soft-fp/letf2.c (__letf2): Likewise.
22238         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22239         * soft-fp/eqsf2.c (__eqsf2): Likewise.
22240         * soft-fp/eqtf2.c (__eqtf2): Likewise.
22241         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22242         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22243         * soft-fp/fixdfti.c (__fixdfti): Likewise.
22244         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22245         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22246         * soft-fp/fixsfti.c (__fixsfti): Likewise.
22247         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22248         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22249         * soft-fp/fixtfti.c (__fixtfti): Likewise.
22250         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22251         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22252         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22253         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22254         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22255         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22256         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22257         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22258         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22259         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22260         * soft-fp/floatdisf.c (__floatdisf): Likewise.
22261         * soft-fp/floatsisf.c (__floatsisf): Likewise.
22262         * soft-fp/floattidf.c (__floattidf): Likewise.
22263         * soft-fp/floattisf.c (__floattisf): Likewise.
22264         * soft-fp/floattitf.c (__floattitf): Likewise.
22265         * soft-fp/floatundidf.c (__floatundidf): Likewise.
22266         * soft-fp/floatundisf.c (__floatundisf): Likewise.
22267         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22268         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22269         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22270         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22271         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22272         * soft-fp/gesf2.c (__gesf2): Likewise.
22273         * soft-fp/getf2.c (__getf2): Likewise.
22274         * soft-fp/ledf2.c (__ledf2): Likewise.
22275         * soft-fp/lesf2.c (__lesf2): Likewise.
22276         * soft-fp/letf2.c (__letf2): Likewise.
22278         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22279         Undefine and redefine.
22280         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22281         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22282         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22283         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22284         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22285         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22286         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22287         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22288         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22289         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22290         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22291         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22292         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22293         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22294         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22296         [BZ #16032]
22297         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22298         without decrementing exponent if mantissa >= that for the
22299         denominator, not >.
22300         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22301         denominator, not >.  Decrement exponent in < case instead of
22302         incrementing in >= case.
22303         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22304         without decrementing exponent if mantissa >= that for the
22305         denominator, not >.
22307         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22308         computing saturated result for unsigned overflow.
22310 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22311             Jeff Law  <law@redhat.com>
22313         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22314         (atan2Mp): Add systemtap probe marker.
22315         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22316         (__ieee754_log): Add systemtap probe marker.
22317         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22318         (atanMp): Add systemtap probe marker.
22319         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22320         (tanMp): Add systemtap probe marker.
22321         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22322         (__slowexp): Add systemtap probe marker.
22323         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22324         (__slowpow): Add systemtap probe marker.
22325         * manual/probes.texi: Document probes.
22327 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
22329         [BZ #15362]
22330         * libio/fileops.c (_IO_new_file_write): Return count of bytes
22331         written.
22332         (_IO_new_file_xsputn): Don't return EOF if nothing has been
22333         written.
22334         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22335         written to buffer but not flushed.
22336         * libio/iofwrite_u.c:  Likewise.
22337         * libio/iopadn.c:  Return bytes returned even if EOF was
22338         encountered.
22339         * libio/iowpadn.c:  Likewise.
22340         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22341         if _IO_padn does not write the whole buffer.
22342         [!COMPILE_WPRINTF] (PAD): Likewise.
22344 2013-10-10  David S. Miller  <davem@davemloft.net>
22346         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22347         directory block.
22349 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22351         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
22352         instead of FSF address.
22353         * soft-fp/fixdfti.c: Likewise.
22354         * soft-fp/fixsfti.c: Likewise.
22355         * soft-fp/fixtfti.c: Likewise.
22356         * soft-fp/fixunsdfti.c: Likewise.
22357         * soft-fp/fixunssfti.c: Likewise.
22358         * soft-fp/fixunstfti.c: Likewise.
22359         * soft-fp/floattidf.c: Likewise.
22360         * soft-fp/floattisf.c: Likewise.
22361         * soft-fp/floattitf.c: Likewise.
22362         * soft-fp/floatuntidf.c: Likewise.
22363         * soft-fp/floatuntisf.c: Likewise.
22364         * soft-fp/floatuntitf.c: Likewise.
22365         * soft-fp/trunctfxf2.c: Likewise.
22367         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
22368         * soft-fp/fixdfti.c: Likewise.
22369         * soft-fp/fixsfti.c: Likewise.
22370         * soft-fp/fixtfti.c: Likewise.
22371         * soft-fp/fixunsdfti.c: Likewise.
22372         * soft-fp/fixunssfti.c: Likewise.
22373         * soft-fp/fixunstfti.c: Likewise.
22374         * soft-fp/floattidf.c: Likewise.
22375         * soft-fp/floattisf.c: Likewise.
22376         * soft-fp/floattitf.c: Likewise.
22377         * soft-fp/floatuntidf.c: Likewise.
22378         * soft-fp/floatuntisf.c: Likewise.
22379         * soft-fp/floatuntitf.c: Likewise.
22380         * soft-fp/trunctfxf2.c: Likewise.
22382 2013-10-10  David S. Miller  <davem@davemloft.net>
22384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22386 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
22388         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22389         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22390         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22391         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22392         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22393         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22394         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22396         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22397         for NaNs before doing comparisons on argument.
22398         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22399         Likewise.
22401 2013-10-10  Will Newton  <will.newton@linaro.org>
22403         * malloc/hooks.c (memalign_check): Ensure the value of bytes
22404         passed to _int_memalign does not overflow.
22406 2013-10-10  Torvald Riegel  <triegel@redhat.com>
22408         * scripts/bench.pl: Add include-sources directive.
22409         * benchtests/README: Update documentation.
22411 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22413         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22414         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22415         instead of FP_INIT_ROUNDMODE.
22416         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22417         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22419         [BZ #16034]
22420         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
22421         copy class of input value.
22422         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
22423         not handle exceptions.
22424         * soft-fp/negsf2.c (__negsf2): Likewise.
22425         * soft-fp/negtf2.c (__negtf2): Likewise.
22426         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22428 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
22430         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22431         semicolon.  From Linux kernel.
22433 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
22435         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22437 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
22439         [BZ #156]
22440         * manual/socket.texi: Added statement about buffer
22441         for gethostbyname2_r.
22443 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
22445         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22446         Use .p2align directive instead, throughout.
22447         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22448         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22449         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22450         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22451         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22452         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22453         * sysdeps/x86_64/strchr.S: Likewise.
22454         * sysdeps/x86_64/strrchr.S: Likewise.
22456 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22458         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22460         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22462         * sysdeps/generic/math_private.h (__mpsin1): Remove
22463         declaration.
22464         (__mpcos1): Likewise.
22465         (__mpsin): New argument __range_reduce.
22466         (__mpcos): Likewise.
22467         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22468         (slow): Use __mpsin and __mpcos.
22469         (slow1): Likewise.
22470         (slow2): Likewise.
22471         (sloww): Likewise.
22472         (sloww1): Likewise.
22473         (sloww2): Likewise.
22474         (bsloww): Likewise.
22475         (bsloww1): Likewise.
22476         (bsloww2): Likewise.
22477         (cslow2): Likewise.
22478         (csloww): Likewise.
22479         (csloww1): Likewise.
22480         (csloww2): Likewise.
22481         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22482         range_reduce.  Merge in __mpsin1.
22483         (__mpcos): Likewise.
22484         (__mpsin1): Remove.
22485         (__mpcos1): Likewise.
22487 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
22489         * locale/loadlocale.c (_nl_intern_locale_data): Use
22490         LOCFILE_ALIGNED_P.
22491         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22492         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22493         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22494         obstack data is appropriately aligned.
22495         (obstack_int32_grow_fast): Likewise.
22496         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22497         * locale/programs/locfile.c (add_locale_uint32): Likewise.
22498         (add_locale_uint32_array): Likewise.
22500 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22502         * benchtests/Makefile: Remove ARGLIST and RET variables.
22503         ($(objpfx)bench-%.c): Pass only function name to the script.
22504         * benchtests/README: Update documentation.
22505         * benchtests/acos-inputs: Add new directives.
22506         * benchtests/acosh-inputs: Likewise.
22507         * benchtests/asin-inputs: Likewise.
22508         * benchtests/asinh-inputs: Likewise.
22509         * benchtests/atan-inputs: Likewise.
22510         * benchtests/atanh-inputs: Likewise.
22511         * benchtests/cos-inputs: Likewise.
22512         * benchtests/cosh-inputs: Likewise.
22513         * benchtests/exp-inputs: Likewise.
22514         * benchtests/log-inputs: Likewise.
22515         * benchtests/pow-inputs: Likewise.
22516         * benchtests/rint-inputs: Likewise.
22517         * benchtests/sin-inputs: Likewise.
22518         * benchtests/sinh-inputs: Likewise.
22519         * benchtests/tan-inputs: Likewise.
22520         * benchtests/tanh-inputs: Likewise.
22521         * scripts/bench.pl: Add support for new directives.
22523 2013-10-07  Alan Modra  <amodra@gmail.com>
22525         * README: Fix careless merge.
22527 2013-10-05  Alan Modra  <amodra@gmail.com>
22529         * NEWS: Mention powerpc64le support and bugs fixed.
22530         * README: Both big-endian and little-endian powerpc64 supported.
22532 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22534         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22535         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22536         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22537         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22539 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
22541         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22542         match prototype.
22544 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
22546         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22547         Move -mhard-float appending from
22548         ports/sysdeps/powerpc/powerpc32/Makefile.
22549         [$(with-fp) = yes] (ASFLAGS): Likewise.
22550         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22551         * sysdeps/powerpc/nofpu: Move directory from
22552         ports/sysdeps/powerpc/nofpu.
22553         * sysdeps/powerpc/soft-fp: Move directory from
22554         ports/sysdeps/powerpc/soft-fp.
22555         * sysdeps/powerpc/powerpc32/405: Move directory from
22556         ports/sysdeps/powerpc/powerpc32/405.
22557         * sysdeps/powerpc/powerpc32/440: Move directory from
22558         ports/sysdeps/powerpc/powerpc32/440.
22559         * sysdeps/powerpc/powerpc32/464: Move directory from
22560         ports/sysdeps/powerpc/powerpc32/464.
22561         * sysdeps/powerpc/powerpc32/476: Move directory from
22562         ports/sysdeps/powerpc/powerpc32/476.
22563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22564         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22566         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22568         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22570         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22572         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22573         * README: Update for powerpc-*-linux-gnu software floating point
22574         support in libc.
22576         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22577         case to powerpc/powerpc32*.
22578         * sysdeps/unix/sysv/linux/configure: Regenerated.
22580         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22581         (_FPU_MASK_OM): Define as 0x04.
22582         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22583         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22584         0x00c10080.
22585         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22586         0x0000003c.
22587         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22590         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22591         getcontext_e500.
22592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22593         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22594         setcontext_e500.
22595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22596         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22597         and setcontext_e500.
22599 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
22601         * locale/iso-3166.def: Update iso-1366.def and related occurrences
22603 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22605         * manual/threads.texi (Default Thread Attributes): Fix typo.
22607 2013-10-04  Will Newton  <will.newton@linaro.org>
22609         * malloc/Makefile: Add tst-memalign.
22610         * malloc/tst-memalign.c: New file.
22612         * malloc/tst-posix_memalign.c: Add comments.
22613         (do_test): Add comments and call free on all potentially
22614         allocated pointers. Add space after cast.
22616         * malloc/tst-pvalloc.c: Add comments.
22617         (do_test): Add comments and call free on all potentially
22618         allocated pointers. Remove duplicate check for NULL pointer.
22619         Add space after cast.
22621         * malloc/tst-valloc.c: Add comments.
22622         (do_test): Add comments and call free on all potentially
22623         allocated pointers. Remove duplicate check for NULL pointer.
22624         Add space after cast.
22626 2013-10-04  Alan Modra  <amodra@gmail.com>
22628         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22629         Use stdint types in rather than __attribute__((mode())).
22630         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22632 2013-10-04  Alan Modra  <amodra@gmail.com>
22634         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22635         Correct handling of unaligned relocs for little-endian.
22636         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22638 2013-10-04  Alan Modra  <amodra@gmail.com>
22640         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22641         * configure: Regenerate.
22642         * nptl/shlib-versions: Powerpc*le starts at 2.18.
22643         * shlib-versions: Likewise.
22645 2013-10-04  Alan Modra  <amodra@gmail.com>
22647         * string/tester.c (test_memrchr): Increment reported test cycle.
22649 2013-10-04  Alan Modra  <amodra@gmail.com>
22651         * string/test-memcpy.c (do_one_test): When reporting errors, print
22652         string address and don't overrun end of string.
22654 2013-10-04  Alan Modra  <amodra@gmail.com>
22656         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22657         insrdi.  Make better use of reg selection to speed exit slightly.
22658         Schedule entry path a little better.  Remove useless "are we done"
22659         checks on entry to main loop.  Handle wrapping around zero address.
22660         Correct main loop count.  Handle single left-over word from main
22661         loop inline rather than by using loop_small.  Remove extra word
22662         case in loop_small caused by wrong loop count.  Add little-endian
22663         support.
22664         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22665         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
22666         cache hint.
22667         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22668         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22669         support.  Avoid rlwimi.
22670         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22672 2013-10-04  Alan Modra  <amodra@gmail.com>
22674         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22675         insrdi.  Formatting.
22676         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22677         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22678         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22679         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22680         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22681         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22683 2013-10-04  Alan Modra  <amodra@gmail.com>
22685         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22686         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22687         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22688         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22689         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22690         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22691         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22692         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22693         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
22694         use of regs.  Use power7 mtocrf.  Tidy function tails.
22696 2013-10-04  Alan Modra  <amodra@gmail.com>
22698         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22699         Formatting.  Consistently use rXXX register defines or rN defines.
22700         Use early exit labels that avoid restoring unused non-volatile regs.
22701         Make cr field use more consistent with rWORDn compares.  Rename
22702         regs used as shift registers for unaligned loop, using rN defines
22703         for short lifetime/multiple use regs.
22704         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22705         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
22706         addi 1,1,64 to pop stack frame.  Simplify return value code.
22707         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22709 2013-10-04  Alan Modra  <amodra@gmail.com>
22711         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22712         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
22713         rather than rlwimi.
22714         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22715         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22716         little-endian support.  Correct typos.
22717         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
22718         rather than rlwimi.
22719         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
22720         in loop and entry code to keep "and." results.
22721         (strchr): Add little-endian support.  Comment.  Move cntlzd
22722         earlier in tail.
22723         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22725 2013-10-04  Alan Modra  <amodra@gmail.com>
22727         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22728         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22729         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22730         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22732 2013-10-04  Alan Modra  <amodra@gmail.com>
22734         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22735         (rTMP): Define as r11.
22736         (strcmp): Add little-endian support.  Optimise tail.
22737         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22738         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22739         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22740         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22741         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22742         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22743         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22745 2013-10-04  Alan Modra  <amodra@gmail.com>
22747         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22748         little-endian support.  Remove unnecessary "are we done" tests.
22749         Handle "s" wrapping around zero and extremely large "size".
22750         Correct main loop count.  Handle single left-over word from main
22751         loop inline rather than by using small_loop.  Correct comments.
22752         Delete "zero" tail, use "end_max" instead.
22753         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22755 2013-10-04  Alan Modra  <amodra@gmail.com>
22757         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22758         support.  Don't branch over align.
22759         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22760         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22761         support.  Rearrange tmp reg use to suit.  Comment.
22762         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22764 2013-10-04  Alan Modra  <amodra@gmail.com>
22766         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22768 2013-10-04  Alan Modra  <amodra@gmail.com>
22770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22771         conditional form of branch and link when obtaining pc.
22772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22774 2013-10-04  Alan Modra  <amodra@gmail.com>
22776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22777         HIWORD/LOWORD.
22778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22781 2013-10-04  Alan Modra  <amodra@gmail.com>
22783         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22784         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22785         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22786         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22787         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22788         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22789         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22790         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22791         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22792         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22794 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22795             Alistair Popple <alistair@ozlabs.au.ibm.com>
22796             Alan Modra <amodra@gmail.com>
22798         [BZ #15723]
22799         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22800         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22801         _dl_hwcap access for little-endian.
22802         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
22803         destroy vmx regs when saving unaligned.
22804         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22805         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
22806         destroy vmx regs when saving unaligned.
22808 2013-10-04  Alan Modra  <amodra@gmail.com>
22810         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22811         Don't use a union to pack hi/low value.
22813 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22815         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22816         for little-endian.
22817         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22818         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22819         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22820         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22821         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22823 2013-10-04  Alan Modra  <amodra@gmail.com>
22825         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22826         constants to usual value for .cst8 section, and remove redundant
22827         high address load.
22828         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22829         constant for 0x1p52.  Load little-endian words of double from
22830         correct stack offsets.
22832 2013-10-04  Alan Modra  <amodra@gmail.com>
22834         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22835         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22836         words of double from correct stack offsets.
22837         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22838         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22839         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22840         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22841         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22842         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22843         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22844         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22845         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22846         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22847         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22848         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22849         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22850         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22851         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22852         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22853         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22855 2013-10-04  Alan Modra  <amodra@gmail.com>
22857         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22858         64-bit int/double union.
22859         (_FPU_SETCW): Likewise.
22860         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22861         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22863 2013-10-04  Alan Modra  <amodra@gmail.com>
22865         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22866         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22868 2013-10-04  Alan Modra  <amodra@gmail.com>
22870         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22871         use vector int constants.
22872         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22874 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22876         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22877         array with long long.
22878         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22879         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22880         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22881         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22882         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22883         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22884         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22885         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22886         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22887         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22888         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22889         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22890         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22892 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22894         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22895         (__signbit): Likewise.  Correct for little-endian.
22896         (__signbitl): Call __signbit.
22897         (lrint): Correct for little-endian.
22898         (lrintf): Call lrint.
22900 2013-10-04  Alan Modra  <amodra@gmail.com>
22902         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22903         union 32-bit int array member with 64-bit int array.
22904         (t515, tm256): Double rather than long double.
22905         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22907 2013-10-04  Alan Modra  <amodra@gmail.com>
22909         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22910         Delete.
22911         (IEEE854_LONG_DOUBLE_BIAS): Delete.
22912         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22913         version of math_ldbl.h.
22915 2013-10-04  Alan Modra  <amodra@gmail.com>
22917         [BZ #15734], [BZ #15735]
22918         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22919         all uses of ieee875 long double macros and unions.  Simplify test
22920         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
22921         ldbl_extract_mantissa value for ix,iy exponents.  Properly
22922         normalize after ldbl_extract_mantissa, and don't add hidden bit
22923         already handled.  Don't treat low word of ieee854 mantissa like
22924         low word of IBM long double and mask off bit when testing for
22925         zero.
22926         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22927         all uses of ieee875 long double macros and unions.  Simplify tests
22928         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
22929         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
22930         two1022, instead use their values.  Recognise that tests for large
22931         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
22932         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22933         Rewrite all uses of ieee875 long double macros and unions.  Simplify
22934         test for 0.0L and nan.  Correct negation.
22935         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22936         ieee875 long double macros and unions.  Correct output for large
22937         magnitude x.  Correct absolute value calculation.
22938         (__erfcl): Likewise.
22939         * math/libm-test.inc: Add tests for errors discovered in IBM long
22940         double versions of fmodl, remainderl, erfl and erfcl.
22942 2013-10-04  Alan Modra  <amodra@gmail.com>
22944         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22945         all uses of ieee854 long double macros and unions.  Simplify tests
22946         for long doubles that are fully specified by the high double.
22947         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22948         Likewise.
22949         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22950         Remove dead code too.
22951         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22952         (__ieee754_ynl): Likewise.
22953         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22954         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22955         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22956         Remove dead code too.
22957         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22958         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22959         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22960         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22961         Simplify.
22962         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22963         Simplify.
22964         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22965         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22966         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22967         Comment on variable precision.
22968         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22969         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22970         Likewise.
22971         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22972         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22973         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22974         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22975         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22977 2013-10-04  Alan Modra  <amodra@gmail.com>
22979         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22980         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22981         all uses of ieee854 long double macros and unions.
22982         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22983         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22984         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22985         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22986         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22987         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22988         Likewise.
22989         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22990         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22991         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22992         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22993         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22994         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22995         Simplify sign and nan test too.
22996         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22997         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22998         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22999         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23000         Likewise.
23001         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23002         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23003         Likewise.
23004         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23005         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23006         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23007         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23008         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23009         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23011 2013-10-04  Alan Modra  <amodra@gmail.com>
23013         * stdio-common/printf_size.c (__printf_size): Don't use
23014         union ieee854_long_double in fpnum union.
23015         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
23016         signbit macro to retrieve sign from long double.
23017         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23018         retrieve sign from long double.
23019         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23020         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23021         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23022         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23023         * math/test-misc.c (main): Don't use union ieee854_long_double.
23025 2013-10-04  Alan Modra  <amodra@gmail.com>
23027         [BZ #15680]
23028         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23029         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23030         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23031         calculation.  Remove unnecessary test for denormal exponent.
23032         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23033         Correct handling of denormals.  Avoid undefined shift behaviour.
23034         Correct normalisation of low mantissa when low double is denormal.
23035         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23036         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
23037         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23038         Correct normalisation of low mantissa.  Test for overflow of high
23039         mantissa and normalise.
23040         (ldbl_nearbyint): Use more readable constant for two52.
23041         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23042         (__mpn_construct_long_double): Fix test for overflow of high
23043         mantissa and correct normalisation.  Avoid undefined shift.
23045 2013-10-04  Alan Modra  <amodra@gmail.com>
23047         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23048         (union ibm_extended_long_double): Define as an array of ieee754_double.
23049         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23050         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23051         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23052         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23053         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23054         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23055         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23056         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23057         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23058         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23059         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23061 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
23063         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23064         page size instead of calling getpagesize.
23066         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23067         (LOCFILE_ALIGN_MASK): Likewise.
23068         (LOCFILE_ALIGN_UP): Likewise.
23069         (LOCFILE_ALIGNED_P): Likewise.
23070         * locale/programs/ld-collate.c (collate_output): Use the new
23071         macros instead of __alignof__ (int32_t).
23072         * locale/weight.h (findidx): Likewise.
23074 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
23076         [BZ #431]
23077         * manual/string.texi: Fix strncat and wcsncat.
23079 2013-10-03  Brooks Moses  <bmoses@google.com>
23081         [BZ #15915]
23082         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23083         * Makerules: ...here, and adjust associated comments.
23085 2013-10-02  Will Newton  <will.newton@linaro.org>
23087         * malloc/Makefile: Add tst-pvalloc.
23088         * malloc/tst-pvalloc.c: New file.
23090 2013-10-02  Will Newton  <will.newton@linaro.org>
23092         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23093         improve test coverage.
23095 2013-10-02  Will Newton  <will.newton@linaro.org>
23097         * malloc/Makefile: Add tst-posix_memalign.
23098         * malloc/tst-posix_memalign.c: New file.
23100 2013-10-01  Eric Blake  <eblake@redhat.com>
23102         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23103         Use __THROWNL rather than __THROW on static functions.
23105 2013-09-30  Petr Machata  <pmachata@redhat.com>
23107         * elf/elf.h (R_AARCH64_ABS16): New macro.
23108         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23109         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23110         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23111         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23112         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23113         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23114         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23115         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23116         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23117         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23118         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23119         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23120         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23121         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23122         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23123         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23124         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23125         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23126         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23127         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23128         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23129         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23130         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23131         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23132         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23133         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23134         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23135         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23136         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23137         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23138         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23139         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23140         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23141         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23142         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23143         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23144         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23145         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23146         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23147         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23148         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23149         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23150         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23151         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23152         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23153         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23154         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23155         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23156         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23157         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23158         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23159         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23160         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23161         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23162         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23163         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23164         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23165         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23166         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23167         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23168         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23169         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23170         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23171         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23172         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23173         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23174         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23175         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23176         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23177         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23178         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23179         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23180         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23181         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23182         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23183         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23184         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23185         (R_AARCH64_TLSDESC_LDR): Likewise.
23186         (R_AARCH64_TLSDESC_ADD): Likewise.
23187         (R_AARCH64_TLSDESC_CALL): Likewise.
23189 2013-09-30  Andreas Schwab  <schwab@suse.de>
23191         [BZ #15048]
23192         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23193         the nss database lookup.
23194         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23195         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23197 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
23199         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23201 2013-09-28  P. J. McDermott  <pj@pehjota.net>
23203         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23204         ${Bash-specific parameter/pattern/string} parameter expansion.
23205         * sysdeps/unix/make-syscalls.sh: Likewise.
23207 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23209         * sysdeps/sh/stackguard-macros.h: New file.
23211 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
23213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23214         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23215         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23216         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23217         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23218         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23220 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23222         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23223         Fix thread ID register.
23225 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
23227         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23228         [POSIX || UNIX98]: Require rather than permitting all symbols from
23229         <time.h>.
23230         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23231         element of struct sched_param.
23232         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23233         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23234         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23235         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23236         constant.
23238 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
23240         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23241         argument calculation.
23243 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23245         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23246         Expect macro.
23247         [POSIX] (pthread_attr_t): Do not require type.
23248         [POSIX] (pthread_cond_t): Likewise.
23249         [POSIX] (pthread_condattr_t): Likewise.
23250         [POSIX] (pthread_key_t): Likewise.
23251         [POSIX] (pthread_mutex_t): Likewise.
23252         [POSIX] (pthread_mutexattr_t): Likewise.
23253         [POSIX] (pthread_once_t): Likewise.
23254         [POSIX] (pthread_t): Likewise.
23255         [POSIX-based standards] (pthread_atfork): Expect function.
23257 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23258             Richard Sandiford  <richard@codesourcery.com>
23260         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23261         (swap_endianness_p): New extern variable.
23262         (set_big_endian): New inline function.
23263         (maybe_swap_uint32): Likewise.
23264         (maybe_swap_uint32_array): Likewise.
23265         (maybe_swap_uint32_obstack): Likewise.
23266         * locale/programs/locfile.c: Include <stdbool.h>.
23267         (swap_endianness_p): New variable.
23268         (add_locale_uint32): Call maybe_swap_uint32.
23269         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23270         (write_locale_data): Call maybe_swap_uint32_array.
23271         * locale/programs/ld-collate.c (obstack_int32_grow): Call
23272         maybe_swap_uint32.
23273         (obstack_int32_grow_fast): Likewise.
23274         (output_weightwc): Call maybe_swap_uint32_obstack.
23275         (collate_output): Likewise.
23276         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23277         (OPT_LITTLE_ENDIAN): Likewise.
23278         (options): Add --little-endian and --big-endian options.
23279         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23280         * locale/programs/locarchive.c: Include "locfile.h".
23281         (GET): New macro.
23282         (SET): Likewise.
23283         (INC): Likewise.
23284         (create_archive): Use the new macros to access fields of
23285         structures directly mapped from or written to locale archives.
23286         (oldlocrecentcmp): Likewise.
23287         (enlarge_archive): Likewise.
23288         (insert_name): Likewise.
23289         (add_alias): Likewise.
23290         (add_locale): Likewise.
23291         (delete_locales_from_archive): Likewise.
23292         (show_archive_content): Likewise.
23293         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
23294         locale data.
23296 2013-09-24  Roland McGrath  <roland@hack.frob.com>
23298         * manual/freemanuals.texi: Updated from (newly) canonical copy at
23299         http://www.gnu.org/doc/freemanuals.texi.
23300         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23302 2013-09-24  Will Newton  <will.newton@linaro.org>
23304         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23305         macro.
23307 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
23309         * locale/hashval.h (compute_hashval): Interpret bytes of key as
23310         unsigned char.
23312 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
23314         * manual/threads.texi (POSIX Threads): Fix a typo.
23316 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23318         [BZ #14547]
23319         * string/tst-strcoll-overflow.c: New test case.
23320         * string/Makefile (xtests): Add tst-strcoll-overflow.
23321         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23322         cache if string sizes may cause integer overflow.
23324         [BZ #14547]
23325         * string/strcoll_l.c (coll_seq): New members rule, idx,
23326         save_idx and back_us.
23327         (get_next_seq_nocache): New function.
23328         (do_compare_nocache): New function.
23329         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23330         when malloc fails.
23332 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
23334         [BZ #15754]
23335         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23336         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23337         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23339         [BZ #15754]
23340         * elf/Makefile (tests): Add tst-ptrguard1.
23341         (tests-static): Add tst-ptrguard1-static.
23342         (tst-ptrguard1-ARGS): Define.
23343         (tst-ptrguard1-static-ARGS): Define.
23344         * elf/tst-ptrguard1.c: New file.
23345         * elf/tst-ptrguard1-static.c: New file.
23346         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23347         * sysdeps/i386/stackguard-macros.h: Likewise.
23348         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23349         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23350         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23351         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23352         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23353         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23355 2013-09-23  Hector Marco  <hecmargi@upv.es>
23356             Ismael Ripoll  <iripoll@disca.upv.es>
23357             Carlos O'Donell  <carlos@redhat.com>
23359         [BZ #15754]
23360         * sysdeps/generic/stackguard-macros.h: Define
23361         __pointer_chk_guard_local and POINTER_CHK_GUARD.
23362         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23363         Define __pointer_chk_guard_local.
23364         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23365         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23367 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
23369         [BZ #15859]
23370         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23372 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
23374         * include/string.h (__ffs): Declare as hidden.
23375         * string/ffs.c (__ffs): Define as hidden.
23376         * sysdeps/i386/ffs.c (__ffs): Likewise.
23377         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23378         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23379         * sysdeps/s390/ffs.c (__ffs): Likewise.
23380         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23382 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
23384         * NEWS: Mention malloc probes.
23386         * malloc/arena.c (new_heap): New memory_heap_new probe.
23387         (grow_heap): New memory_heap_more probe.
23388         (shrink_heap): New memory_heap_less probe.
23389         (heap_trim): New memory_heap_free probe.
23390         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23391         (systrim): New memory_sbrk_less probe.
23392         * manual/probes.texi: Document them.
23394         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23395         * manual/probes.texi: Document it.
23397         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23398         (__libc_realloc): Add memory_realloc_retry probe.
23399         (__libc_memalign): Add memory_memalign_retry probe.
23400         (__libc_valloc): Add memory_valloc_retry probe.
23401         (__libc_pvalloc): Add memory_pvalloc_retry probe.
23402         (__libc_calloc): Add memory_calloc_retry probe.
23403         * manual/probes.texi: Document them.
23405         * malloc/arena.c (get_free_list): Add probe
23406         memory_arena_reuse_free_list.
23407         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23408         and memory_arena_reuse.
23409         (arena_get2) [!PER_THREAD]: Likewise.
23410         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23411         memory_arena_reuse_realloc.
23412         * manual/probes.texi: Document them.
23414         * malloc/malloc.c (__libc_free): Add
23415         memory_mallopt_free_dyn_thresholds probe.
23416         (__libc_mallopt): Add multiple memory_mallopt probes.
23417         * manual/probes.texi: Document them.
23419         * malloc/malloc.c: Include stap-probe.h.
23420         (__libc_mallopt): Add memory_mallopt probe.
23421         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23422         * manual/probes.texi: New.
23423         * manual/Makefile (chapters): Add probes.
23424         * manual/threads.texi: Set next node.
23426 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
23428         [BZ #15963, #13985]
23429         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23430         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23431         Add `Chinese' to `nan' entry name.
23433 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23435         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23436         (POLYNOMIAL): Likewise.
23437         (TAYLOR_SINCOS): Likewise.
23438         (TAYLOR_SLOW): Likewise.
23439         (__sin): Use TAYLOR_SINCOS.
23440         (__cos): Likewise.
23441         (slow): Use TAYLOR_SLOW.
23442         (sloww): Likewise.
23443         (bsloww): Likewise.
23444         (csloww): Likewise.
23446 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23448         * stdlib/strtod_l.c: Fix buffer overrun.
23450 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23452         * benchtests/Makefile (bench): Add sincos.
23453         * benchtests/bench-sincos.c: New file.
23455         * math/libm-test.inc (cos_test_data): New test inputs.
23456         (sin_test_data): Likewise.
23458         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23459         macro.
23460         (__sin): Use it.
23461         (__cos): Likewise.
23462         (slow1): Likewise.
23463         (slow2): Likewise.
23464         (sloww1): Likewise.
23465         (sloww2): Likewise.
23466         (bsloww1): Likewise.
23467         (bsloww2): Likewise.
23468         (cslow2): Likewise.
23469         (csloww1): Likewise.
23470         (csloww2): Likewise.
23472         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23473         function.
23474         (__sin): Use it.
23475         (__cos): Likewise.
23477         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23478         gotos.
23479         (__cos): Likewise.
23481 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
23483         * config.h.in (HAVE_MIPS_NAN2008): New macro.
23484         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23485         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23486         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23487         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23488         * elf/cache.c (print_entry): Handle the new cache flags.
23490 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23491             Aldy Hernandez  <aldyh@redhat.com>
23493         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23494         Change condition to [_SOFT_FLOAT].
23495         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23496         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23497         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23498         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23499         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23500         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23501         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23502         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23503         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23504         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23505         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23506         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23507         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23508         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23509         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23510         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23511         declaration.
23513 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23515         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23516         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23517         (__longjmp): Use LOAD_GP to load saved GPRs.
23518         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23519         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23520         (__sigsetjmp): Use SAVE_GP to save GPRs.
23522         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23523         Do not append -msoft-float.
23524         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23526 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23528         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23530 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
23532         [BZ #15966]
23533         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23534         (_FPU_GETCW): Use initial "__" on variable and field names but not
23535         on macro parameter name.
23536         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
23537         parentheses around reference to macro parameter.
23539 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
23541         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23542         prototype.
23543         (ctype_startup): Use uint32_t in cast and sizeof for
23544         ctype->charnames.
23546 2013-09-11  Jia Liu  <proljc@gmail.com>
23548         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23549         __daddr_t_defined.
23550         [__FreeBSD__]: Likewise.
23552 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
23554         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23555         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23556         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23557         (strchr): Remove __strchr_sse42 ifunc selection.
23558         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23559         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23561 2013-09-11  Will Newton  <will.newton@linaro.org>
23563         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23564         parameter to RES. Remove hardcoded 1000 value.
23565         * benchtests/bench-skeleton.c (main): Pass RES parameter
23566         to TIMING_INIT and multiply result by 1000.
23568 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23572 2013-09-11  Andreas Schwab  <schwab@suse.de>
23574         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23575         if not defined.
23576         (O_TMPFILE) [__USE_GNU]: Define.
23577         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23578         Define.
23580 2013-09-11  Will Newton  <will.newton@linaro.org>
23582         [BZ #15857]
23583         * malloc/malloc.c (__libc_memalign): Check the value of bytes
23584         does not overflow.
23586 2013-09-11  Will Newton  <will.newton@linaro.org>
23588         [BZ #15856]
23589         * malloc/malloc.c (__libc_valloc): Check the value of bytes
23590         does not overflow.
23592 2013-09-11  Will Newton  <will.newton@linaro.org>
23594         [BZ #15855]
23595         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23596         does not overflow.
23598 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
23600         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23601         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23602         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23603         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23604         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23606 2013-09-10  Allan McRae  <allan@archlinux.org>
23608         [BZ #15748]
23609         * manual/arith.texi (Parsing of Floats): Clarify
23610         cross-reference.
23612         [BZ #15849]
23613         * manual/install.texi (Running make install): Mention
23614         --enable-pt-chown.
23615         * INSTALL: Regenerated.
23617 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
23619         * csu/init-first.c (_init): Remove the !SHARED condition around
23620         FPU control word initialization.
23621         * elf/dl-support.c (_dl_fpu_control): New variable.
23622         (_dl_aux_init) <AT_FPUCW>: Initialize it.
23623         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23624         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23625         * math/test-fpucw-static.c: New file.
23626         * math/test-fpucw-ieee.c: New file.
23627         * math/test-fpucw-ieee-static.c: New file.
23628         * math/Makefile (tests): Add `test-fpucw-ieee' and
23629         `$(tests-static)'.
23630         (tests-static): New variable.
23631         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23632         dependency to...
23633         [($(build-shared),yes)]
23634         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23635         ... this.
23636         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23637         New dependency.
23639 2013-09-09  Allan McRae  <allan@archlinux.org>
23641         [BZ #15939]
23642         * manual/string.texi (Collation Functions): Fix typo in
23643         strcoll example.
23644         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23646         [BZ #15893]
23647         * stdlib/isomac.c (get_null_defines): Fix memory leak.
23649         [BZ #15892]
23650         * libio/memstream.c (open_memstream): Fix memory leak.
23651         * libio/wmemstream.c (open_wmemstream): Likewise.
23653         [BZ #15895]
23654         * nscd/netgroupcache.c: Fix nesting of ifdefs.
23656 2013-09-09  Will Newton  <will.newton@linaro.org>
23658         * malloc/Makefile: Add tst-realloc to tests.
23659         * malloc/tst-realloc.c: New file.
23661 2013-09-09  Allan McRae  <allan@archlinux.org>
23663         [BZ #15844]
23664         * COPYING: Update from GNU website to fix FSF address.
23665         * COPYING.LIB: Likewise.
23667 2013-09-06  David S. Miller  <davem@davemloft.net>
23669         * po/zh_TW.po: Update Chinese (traditional) translation from
23670         translation project.
23672 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
23673             Joseph Myers  <joseph@codesourcery.com>
23675         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23676         "localeinfo.h".
23677         (obstack_chunk_alloc): New macro.
23678         (obstack_chunk_free): Likewise.
23679         (record_offset): New function.
23680         (init_locale_data): Likewise.
23681         (align_locale_data): Likewise.
23682         (add_locale_empty): Likewise.
23683         (add_locale_raw_data): Likewise.
23684         (add_locale_raw_obstack): Likewise.
23685         (add_locale_string): Likewise.
23686         (add_locale_wstring): Likewise.
23687         (add_locale_uint32): Likewise.
23688         (add_locale_uint32_array): Likewise.
23689         (add_locale_char): Likewise.
23690         (start_locale_structure): Likewise.
23691         (end_locale_structure): Likewise.
23692         (start_locale_prelude): Likewise.
23693         (end_locale_prelude): Likewise.
23694         (write_locale_data): Take locale_file structure rather than an
23695         iovec.
23696         * locale/programs/locfile.h: Include "obstack.h".
23697         (struct locale_file): Change to store locale file contents instead
23698         of header.
23699         (init_locale_data): New prototype.
23700         (align_locale_data): Likewise.
23701         (add_locale_empty): Likewise.
23702         (add_locale_raw_data): Likewise.
23703         (add_locale_raw_obstack): Likewise.
23704         (add_locale_string): Likewise.
23705         (add_locale_wstring): Likewise.
23706         (add_locale_uint32): Likewise.
23707         (add_locale_uint32_array): Likewise.
23708         (add_locale_char): Likewise.
23709         (start_locale_structure): Likewise.
23710         (end_locale_structure): Likewise.
23711         (start_locale_prelude): Likewise.
23712         (end_locale_prelude): Likewise.
23713         (write_locale_data): Update prototype.
23714         * locale/programs/3level.h (struct TABLE): Remove result field.
23715         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23716         Use new locale_file interface.
23717         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23718         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23719         * locale/programs/ld-address.c (address_output): Use new
23720         locale_file interface.
23721         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23722         NO_ADD_LOCALE.
23723         (collate_finish): Don't call collseq_table_finalize.
23724         (collate_output): Use new locale_file interface.
23725         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23726         in file.
23727         (NO_FINALIZE): Change to NO_ADD_LOCALE.
23728         (TABLE): Move defines earlier in file.
23729         (ELEMENT): Likewise.
23730         (DEFAULT): Likewise.
23731         (wctrans_table_add): Move macro and inline function earlier in
23732         file.
23733         (struct wctype_table): Move type earlier in file.
23734         (add_locale_wctype_table): New static prototype.
23735         (struct locale_ctype_t): Use logical types instead of struct iovec
23736         pointers for members.
23737         (ctype_output): Use new locale_file interface.
23738         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
23739         new locale_file interface.
23740         (allocate_arrays): Update for use of new locale_file interface.
23741         * locale/programs/ld-identification.c (identification_output): Use
23742         new locale_file interface.
23743         * locale/programs/ld-measurement.c (measurement_output): Likewise.
23744         * locale/programs/ld-messages.c (messages_output): Likewise.
23745         * locale/programs/ld-monetary.c (monetary_output): Likewise.
23746         * locale/programs/ld-name.c (name_output): Likewise.
23747         * locale/programs/ld-numeric.c (numeric_output): Likewise.
23748         * locale/programs/ld-paper.c (paper_output): Likewise.
23749         * locale/programs/ld-telephone.c (telephone_output): Likewise.
23750         * locale/programs/ld-time.c (time_output): Likewise.
23752 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23754         * benchtests/Makefile: Add memrchr benchmark.
23755         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23756         benchmark as memrchr.
23757         * benchtests/bench-memrchr-ifunc.c: New file.
23758         * benchtests/bench-memrchr.c: New file.
23760 2013-09-06   Will Newton  <will.newton@linaro.org>
23762         * benchtests/Makefile (string-bench): Add memcpy.
23764 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
23765             Cong Wang  <amwang@redhat.com>
23767         [BZ #15850]
23768         * sysdeps/unix/sysv/linux/bits/in.h
23769         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23770         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23771         before __USE_KERNEL_IPV6_DEFS uses.
23772         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23773         IPPROTO_BEETPH.
23774         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23775         sockaddr_in6, or ipv6_mreq.
23777 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23779         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23780         memory access for final bytes in some large inputs.
23781         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23783 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23785         * string/test-memrchr.c: New file.
23786         * string/test-memrchr-ifunc.c: New file.
23787         * string/Makefile: Add new memrchr testcase.
23789 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
23791         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23792         fanotify_init returns EPERM.
23794 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23796         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23797         errors.
23798         (top level): Treat second token from macro or constant entries for
23799         allowed headers as allowed.
23800         * include/complex.h: Condition internal declarations on
23801         [!_ISOMAC].
23802         * include/fenv.h: Condition include of <stdbool.h> and internal
23803         declarations on [!_ISOMAC].
23805 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
23807         [BZ #15923]
23808         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23810 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23812         * configure.in (--enable-versioning): Remove configure option.
23813         (libc_cv_asm_symver_directive): Remove configure test.
23814         (libc_cv_ld_version_script_option): Likewise.
23815         (VERSIONING): Remove variable and AC_SUBST.
23816         (DO_VERSIONING): Remove AC_DEFINE.
23817         * configure: Regenerated.
23818         * config.h.in (DO_VERSIONING): Remove macro.
23819         * Makerules [$(versioning) = yes]: Change conditionals to
23820         [$(build-shared) = yes].
23821         * config.make.in (versioning): Remove variable.
23822         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23823         [$(build-shared) = yes].
23824         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23825         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23826         * elf/Makefile [$(versioning) = yes]: Change conditionals to
23827         [$(build-shared) = yes].
23828         * extra-lib.mk [$(versioning) = yes]: Likewise.
23829         * hurd/Makefile [$(versioning) = yes]: Likewise.
23830         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23831         [SHARED].
23832         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23833         [SHARED].
23834         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23835         [SHARED && !NO_HIDDEN].
23836         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23837         [SHARED].
23838         [SHARED && DO_VERSIONING]: Likewise..
23839         * libio/Makefile [$(versioning) = yes]: Change conditionals to
23840         [$(build-shared) = yes].
23841         * manual/install.texi (--disable-versioning): Remove
23842         documentation.
23843         * INSTALL: Regenerated.
23844         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23845         to [SHARED].
23846         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23847         [$(build-shared) = yes].
23848         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23849         * sysdeps/i386/i686/multiarch/strstr-c.c
23850         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23851         [SHARED && !NO_HIDDEN].
23852         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23853         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23854         * sysdeps/powerpc/powerpc32/dl-machine.c
23855         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23856         * sysdeps/powerpc/powerpc32/sysdep.h
23857         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23858         to [SHARED && PIC && !NO_HIDDEN].
23859         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23860         conditional to [SHARED].
23862 2013-09-04   Will Newton  <will.newton@linaro.org>
23864         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23865         * benchtests/bench-string.h: Include bench-timing.h instead
23866         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23867         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23868         call to HP_TIMING_DIFF_INIT.
23869         * benchtests/bench-memccpy.c: Use bench-timing.h macros
23870         instead of hp-timing.h macros.
23871         * benchtests/bench-memchr.c: Likewise.
23872         * benchtests/bench-memcmp.c: Likewise.
23873         * benchtests/bench-memcpy.c: Likewise.
23874         * benchtests/bench-memmem.c: Likewise.
23875         * benchtests/bench-memmove.c: Likewise.
23876         * benchtests/bench-memset.c: Likewise.
23877         * benchtests/bench-rawmemchr.c: Likewise.
23878         * benchtests/bench-strcasecmp.c: Likewise.
23879         * benchtests/bench-strcasestr.c: Likewise.
23880         * benchtests/bench-strcat.c: Likewise.
23881         * benchtests/bench-strchr.c: Likewise.
23882         * benchtests/bench-strcmp.c: Likewise.
23883         * benchtests/bench-strcpy.c: Likewise.
23884         * benchtests/bench-strcpy_chk.c: Likewise.
23885         * benchtests/bench-strlen.c: Likewise.
23886         * benchtests/bench-strncasecmp.c: Likewise.
23887         * benchtests/bench-strncat.c: Likewise.
23888         * benchtests/bench-strncmp.c: Likewise.
23889         * benchtests/bench-strncpy.c: Likewise.
23890         * benchtests/bench-strnlen.c: Likewise.
23891         * benchtests/bench-strpbrk.c: Likewise.
23892         * benchtests/bench-strrchr.c: Likewise.
23893         * benchtests/bench-strspn.c: Likewise.
23894         * benchtests/bench-strstr.c: Likewise.
23896 2013-09-04  Will Newton  <will.newton@linaro.org>
23898         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23900 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
23902         [BZ #15427]
23903         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23904         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23905         * math/libm-test.inc (lgamma_test_data): Add more tests.
23906         * sysdeps/i386/fpu/libm-test-ulps: Update.
23907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23909 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
23911         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23912         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23913         Add ifunc.
23914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23915         Add strcmp-sse2-unaligned
23916         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23918 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23920         * Versions.def (libc): Add GLIBC_2.19.
23922 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23924         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23925         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23927 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
23929         [BZ #14155]
23930         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23931         intermediate calculations in recurrence.
23932         (__ieee754_ynf): Likewise.
23933         * math/libm-test.inc (jn_test_data): Do not allow spurious
23934         underflow exception.  Add more tests.
23935         (yn_test_data): Add more tests.
23936         * sysdeps/i386/fpu/libm-test-ulps: Update.
23937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23939 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
23941         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23943 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23945         * csu/init-first.c: Fix then/than typos.
23946         * locale/programs/ld-collate.c: Likewise.
23947         * locale/programs/linereader.h: Likewise.
23948         * manual/charset.texi: Likewise.
23949         * manual/filesys.texi: Likewise.
23950         * manual/stdio.texi: Likewise.
23951         * manual/string.texi: Likewise.
23952         * stdlib/fmtmsg.c: Likewise.
23953         * sysdeps/i386/stpncpy.S: Likewise.
23954         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23955         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23956         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23957         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23959 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23961         * elf/dl-open.c: Fix typos.
23962         * iconvdata/gbbig5.c: Likewise.
23963         * iconvdata/iso-2022-jp.c: Likewise.
23964         * iconv/gconv_int.h: Likewise.
23965         * iconv/loop.c: Likewise.
23966         * nis/rpcsvc/nis.h: Likewise.
23967         * resolv/ns_name.c: Likewise.
23968         * stdio-common/vfscanf.c: Likewise.
23969         * streams/stropts.h: Likewise.
23970         * sunrpc/rpc_thread.c: Likewise.
23971         * sysdeps/i386/strpbrk.S: Likewise.
23972         * sysdeps/ieee754/k_standard.c: Likewise.
23973         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23974         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23975         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23976         * sysdeps/mach/hurd/profil.c: Likewise.
23977         * sysdeps/s390/dl-procinfo.h: Likewise.
23978         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23979         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23980         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23981         * sysdeps/x86_64/dl-trampoline.S: Likewise.
23982         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23984 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
23986         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23987         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23989 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
23991         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23992         aix specific files.
23993         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23994         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23995         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23996         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23997         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23998         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23999         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24000         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24002 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24003             Roland McGrath  <roland@hack.frob.com>
24005         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24006         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24008 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24010         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24011         __executable_start symbol instead of _start.
24013 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24015         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24016         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24017         Move macros to...
24018         * sysdeps/gnu/ldsodefs.h: ... this new file.
24020         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24021         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24022         instead of ELFOSABI_LINUX.
24024         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24025         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24026         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24027         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24028         Likewise.
24029         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24030         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24031         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24032         Likewise.
24033         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24034         (ibm_extended_long_double): Add ieee_nan member.
24035         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24036         (do_test): New function.
24038         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24039         TEST_TRUNC.
24040         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24041         functions, renamed from truncdfsf_test, trunctfsf_test,
24042         trunctfdf_test.
24043         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24044         functions.
24045         (do_test): Run all these.
24047 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
24049         * argp/argp-help.c: Fix typos.
24050         * argp/argp-parse.c: Likewise.
24051         * debug/backtracesyms.c: Likewise.
24052         * elf/elf.h: Likewise.
24053         * malloc/malloc.c: Likewise.
24054         * nis/nis_print.c: Likewise.
24055         * resolv/res_comp.c: Likewise.
24056         * stdlib/stdlib.h: Likewise.
24057         * sunrpc/clnt_tcp.c: Likewise.
24058         * sunrpc/clnt_udp.c: Likewise.
24059         * sunrpc/clnt_unix.c: Likewise.
24060         * sysdeps/unix/bsd/ptsname.c: Likewise.
24061         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24062         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24064         Likewise.
24065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24066         Likewise.
24067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24068         Likewise.
24069         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24071 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24073         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24074         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24076 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
24078         [BZ #15897]
24079         * dlfcn/Makefile (tests): Add bug-dl-leaf.
24080         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24081         ($(objpfx)bug-dl-leaf): New rule.
24082         ($(objpfx)bug-dl-leaf.so): Likewise.
24083         ($(objpfx)bug-dl-leaf.out): Likewise.
24084         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24085         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24086         * dlfcn/bug-dl-leaf.c: New test.
24087         * dlfcn/bug-dl-leaf-lib.c: Likewise.
24088         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24089         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24090         (dlclose): Likewise.
24091         (dlmopen): Likewise.
24093 2013-08-27  Roland McGrath  <roland@hack.frob.com>
24095         * include/netdb.h [!_ISOMAC]:
24096         Don't include <tls.h>.
24097         (h_errno, __libc_h_errno): Move declaration and macros out of
24098         [_LIBC_REENTRANT].
24100         * include/resolv.h [_RESOLV_H_]:
24101         Don't include <tls.h>.
24102         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24103         * resolv/res_libc.c: Don't include <tls.h>.
24104         (_res): Use __attribute__ ((nocommon)) in place of
24105         __attribute__ ((section (".bss"))).
24107         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24108         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24110         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24112         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24113         only under [SIOCGIFCONF && SIOCGIFNETMASK].
24115         * resolv/res_mkquery.c: Include <sys/time.h>.
24117         * inet/ifreq.c: Moved to ...
24118         * sysdeps/unix/ifreq.c: ... here.
24119         * inet/ifreq.c: New file, true stub version.
24121         * socket/sa_len.c: New file.
24122         * socket/Makefile (aux): Add it.
24123         * sysdeps/unix/sysv/linux/Makefile
24124         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24125         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24126         and #include <socket/sa_len.c>.
24127         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24128         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24130         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24131         * bits/socket.h: ... here.
24133         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24134         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24135         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24137 2013-08-27  Andreas Schwab  <schwab@suse.de>
24139         [BZ #15736]
24140         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24141         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24142         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24143         * string/test-strcasecmp.c (test_main): Run tests in several
24144         locales.
24145         * string/test-strncasecmp.c (test_main): Likewise.
24147         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24148         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24149         to __strcasecmp_nonascii and __strncasecmp_nonascii.
24150         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24151         (__strncasecmp_ssse3) [PIC]: Likewise.
24153 2013-08-26  Roland McGrath  <roland@hack.frob.com>
24155         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24157         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24158         instead of explicitly declaring xdecrypt.
24159         * nis/nss_nis/nis-publickey.c: Likewise.
24161 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24163         [BZ #15890]
24164         * nscd/aicache.c: Include res_hconf.h.
24165         (addhstaiX): Initialize res_hconf.
24167 2013-08-26  Andreas Schwab  <schwab@suse.de>
24169         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24170         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24172 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24174         * nscd/aicache.c (addhstaiX): Fix indentation.
24176 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
24178         * configure.ac: Quote $build_pt_chown test.
24179         * configure: Regenerated.
24181 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
24183         [BZ #15532]
24184         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24185         * math/s_cexpf.c (__cexpf): Likewise.
24186         * math/s_cexpl.c (__cexpl): Likewise.
24187         * math/libm-test.inc (cexp_test_data): Correct expected return
24188         value for NaN + i0.  Add another test.
24190 2013-08-22  David S. Miller  <davem@davemloft.net>
24192         * po/ca.po: Update Catalan translation from translation project.
24193         * po/uk.po: Add Ukrainian translations from translation project.
24195 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
24197         [BZ #15797]
24198         * math/s_fdim.c (__fdim): Check for infinite arguments if result
24199         is infinite, not alongside NaN test.
24200         * math/s_fdimf.c (__fdimf): Likewise.
24201         * math/s_fdiml.c (__fdiml): Likewise.
24202         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
24203         errno is unchanged.
24205 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
24207         * argp/argp-help.c: Fix typos.
24208         * crypt/speeds.c: Likewise.
24209         * csu/check_fds.c: Likewise.
24210         * elf/dl-load.c: Likewise.
24211         * elf/dl-open.c: Likewise.
24212         * elf/reldep3.c: Likewise.
24213         * elf/reldep.c: Likewise.
24214         * elf/sprof.c: Likewise.
24215         * iconv/iconv_charmap.c: Likewise.
24216         * iconv/skeleton.c: Likewise.
24217         * iconv/strtab.c: Likewise.
24218         * io/lockf64.c: Likewise.
24219         * libio/libioP.h: Likewise.
24220         * resolv/gai_notify.c: Likewise.
24221         * resolv/ns_name.c: Likewise.
24222         * resolv/ns_samedomain.c: Likewise.
24223         * resolv/res_send.c: Likewise.
24224         * stdlib/random.c: Likewise.
24225         * sunrpc/rpc/xdr.h: Likewise.
24226         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24227         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24228         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24229         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24230         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24231         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24232         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24233         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24234         * sysdeps/mach/hurd/check_fds.c: Likewise.
24235         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24236         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24237         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24238         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24239         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24240         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24241         * sysdeps/pthread/aio_notify.c: Likewise.
24242         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24243         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24244         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24245         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24246         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24248 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24250         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24251         version if bit_Slow_SSE4_2 is set.
24252         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24253         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24255 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24257         [BZ #15867]
24258         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24259         trampoline stack frame information.
24260         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24261         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24262         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24263         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24264         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24265         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24266         (_libc_vdso_platform_setup): Initialize the signal trampolines.
24267         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24268         sa_flags value.
24269         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24270         interrupting a syscall and set with option SA_SIGINFO.
24272 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24274         [BZ #15531]
24275         * math/s_cproj.c (__cproj): Only return an infinity if one part of
24276         argument is infinite.
24277         * math/s_cprojf.c (__cprojf): Likewise.
24278         * math/s_cprojl.c (__cprojl): Likewise.
24279         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24280         * math/libm-test.inc (cproj_test_data): Add more tests.
24282         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24284         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24285         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24286         size.  Use __ffs to determine corresponding shift.
24288 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24289             Roland McGrath  <roland@hack.frob.com>
24291         * Makefile (INSTALL): Remove trailing blank lines from output of
24292         makeinfo.
24294 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24296         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24297         Align 32 bit compat elf_greg to 8 bytes.
24299 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
24301         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24303 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24305         * string/strcoll_l.c (coll_seq): New structure.
24306         (get_next_seq_cached): New function.
24307         (get_next_seq): New function.
24308         (do_compare): New function.
24309         (STRCOLL): Use GNU style definition.  Simplify implementation
24310         by using get_next_seq, get_next_seq_cached and do_compare.
24312 2013-08-16  Florian Weimer  <fweimer@redhat.com>
24314         [BZ #14699]
24315         CVE-2013-4237
24316         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24317         member.
24318         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24319         member.
24320         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24321         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24322         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
24323         conditional.
24324         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24325         GETDENTS_64BIT_ALIGNED.
24326         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24327         * manual/filesys.texi (Reading/Closing Directory): Document
24328         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
24329         strongly.
24330         * manual/conf.texi (Limits for Files): Add portability note to
24331         NAME_MAX, PATH_MAX.
24332         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24334 2013-08-13  Andreas Schwab  <schwab@suse.de>
24336         [BZ #15749]
24337         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24338         of fabs.
24339         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24340         LDBL_MAX_EXP >= 16384]: Add tests for it.
24342 2013-08-12  David S. Miller  <davem@davemloft.net>
24344         * version.h (RELEASE): Set to "development".
24345         (VERSION): Set to "2.18.90".
24346         * NEWS: Add 2.19 section.
24348 2013-08-03  David S. Miller  <davem@davemloft.net>
24350         * po/ko.po: Update Korean translation from translation project.
24352 2013-08-01  David S. Miller  <davem@davemloft.net>
24354         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
24355         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24356         Bilka.
24358 2013-07-30  David S. Miller  <davem@davemloft.net>
24360         * po/fr.po: Update French translation from translation project.
24362 2013-07-28  David S. Miller  <davem@davemloft.net>
24364         * po/cs.po: Update Czech translation from translation project.
24366         * po/sv.po: Update Swedish translation from translation project.
24368 2013-07-27  David S. Miller  <davem@davemloft.net>
24370         * po/eo.po: Update Esperanto translation from translation project.
24372         * po/vi.po: Update Vietnamese translation from translation project.
24374         * po/de.po: Update German translation from translation project.
24376 2013-07-26  David S. Miller  <davem@davemloft.net>
24378         * po/bg.po: Update Bulgarian translation from translation project.
24380         * po/nl.po: Update Dutch translation from translation project.
24381         * po/pl.po: Update Polish translation from translation project.
24382         * po/ru.po: Update Russian translation from translation project.
24384 2013-07-24  David S. Miller  <davem@davemloft.net>
24386         * po/libc.pot: Update.
24388 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24390         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24391         variable page size.
24392         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24393         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24394         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24396 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24398         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24400 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24401             Andreas Schwab  <schwab@suse.de>
24402             Roland McGrath  <roland@hack.frob.com>
24403             Joseph Myers  <joseph@codesourcery.com>
24404             Carlos O'Donell  <carlos@redhat.com>
24406         [BZ #15755]
24407         * config.h.in: Define HAVE_PT_CHOWN.
24408         * config.make.in (build-pt-chown): New variable.
24409         * configure.in (--enable-pt_chown): New configure option.
24410         * configure: Regenerate.
24411         * login/Makefile: Include Makeconfig.  Build pt_chown only if
24412         build-pt-chown is enabled.
24413         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24414         pt_chown to fix pty ownership.
24415         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24416         CLOSE_ALL_FDS.
24417         * manual/install.texi (Configuring and compiling): Mention
24418         --enable-pt_chown. Add @findex for grantpt.
24419         * INSTALL: Regenerate.
24421 2013-07-20  David S. Miller  <davem@davemloft.net>
24423         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24424         difference between 32-bit and 64-bit.
24426 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
24428         [BZ #15711]
24429         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24430         Avoid system header dependency with -ffreestanding.
24431         ($(objpfx)bits/syscall%d): Likewise.
24433 2013-07-13  David S. Miller  <davem@davemloft.net>
24435         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24436         underflows from atanl/atan2l due to bug 15319.
24437         (casinh_test_data): Likewise.
24439 2013-07-07  David S. Miller  <davem@davemloft.net>
24441         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24443 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
24445         * sysdeps/i386/fpu/libm-test-ulps: Update.
24446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24448 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24450         * configure.in (--enable-lock-elision): Fix message text.
24451         * INSTALL: Regenerate.
24452         * configure: Regenerate.
24454 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24458 2013-07-03  Andreas Jaeger  <aj@suse.de>
24460         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24461         define.
24462         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24463         (ptrace_peeksiginfo_args): Add.
24464         (__ptrace_peeksiginfo_flags): Add.
24465         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24466         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24467         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24469 2013-07-03  Allan McRae  <allan@archlinux.org>
24471         * sysdeps/i386/fpu/libm-test-ulps: Update.
24473 2013-07-02  David S. Miller  <davem@davemloft.net>
24475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24477 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
24479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24481 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24483         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24486 2013-07-02  Andi Kleen <ak@linux.intel.com>
24488         * config.h.in (ENABLE_LOCK_ELISION): Add.
24489         * configure.in (--enable-lock-elision): Add option.
24490         * manual/install.texi: Document --enable lock elision.
24491         * configure: Regenerate
24492         * INSTALL: Regenerate.
24494 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
24496         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24497         SSE4.2 strcasecmp for libc.a.
24498         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24500 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24502         [BZ #13304]
24503         * soft-fp/op-common.h (_FP_FMA): New macro.
24504         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24505         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
24506         (_FP_MUL_MEAT_1_imm): ... here.
24507         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
24508         (_FP_MUL_MEAT_1_wide): ... here.
24509         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
24510         (_FP_MUL_MEAT_1_hard): ... here.
24511         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24512         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
24513         (_FP_MUL_MEAT_2_wide): ... here.
24514         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
24515         (_FP_MUL_MEAT_2_wide_3mul): ... here.
24516         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
24517         (_FP_MUL_MEAT_2_gmp): ... here.
24518         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24519         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
24520         (_FP_MUL_MEAT_4_wide): ... here.
24521         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
24522         (_FP_MUL_MEAT_4_gmp): ... here.
24523         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24524         (_FP_WFRACBITS_DW_S): Likewise.
24525         (_FP_WFRACXBITS_DW_S): Likewise.
24526         (_FP_HIGHBIT_DW_S): Likewise.
24527         (FP_FMA_S): Likewise.
24528         (_FP_FRAC_HIGH_DW_S): Likewise.
24529         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24530         (_FP_WFRACBITS_DW_D): Likewise.
24531         (_FP_WFRACXBITS_DW_D): Likewise.
24532         (_FP_HIGHBIT_DW_D): Likewise.
24533         (FP_FMA_D): Likewise.
24534         (_FP_FRAC_HIGH_DW_D): Likewise.
24535         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24536         (_FP_WFRACBITS_DW_E): Likewise.
24537         (_FP_WFRACXBITS_DW_E): Likewise.
24538         (_FP_HIGHBIT_DW_E): Likewise.
24539         (FP_FMA_E): Likewise.
24540         (_FP_FRAC_HIGH_DW_E): Likewise.
24541         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24542         (_FP_WFRACBITS_DW_Q): Likewise.
24543         (_FP_WFRACXBITS_DW_Q): Likewise.
24544         (_FP_HIGHBIT_DW_Q): Likewise.
24545         (FP_FMA_Q): Likewise.
24546         (_FP_FRAC_HIGH_DW_Q): Likewise.
24547         * soft-fp/fmasf4.c: New file.
24548         * soft-fp/fmadf4.c: Likewise.
24549         * soft-fp/fmatf4.c: Likewise.
24551 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24553         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24554         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24555         Silvermont.
24556         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24557         macro.
24558         (index_Slow_SSE4_2): Likewise.
24559         (index_Prefer_PMINUB_for_stringop): Likewise.
24560         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24561         bit_Slow_SSE4_2 is set.
24562         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24563         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24565 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24567         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24568         rtld_global._dl_hwcap2.
24569         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24570         POWER8.
24571         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24572         POWER8 feature descriptions defined in _dl_hwcap2.
24573         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24574         string handling for POWER8 feature bits.
24575         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24576         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24577         _dl_powerpc_cap_flags.
24578         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24579         * sysdeps/powerpc/rtld-global-offsets.sym
24580         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24581         _dl_hwcap2 in the rtld_global_ro structure.
24583 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24585         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24586         hardware capabilities in support of AT_HWCAP2.
24587         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24588         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24589         GLRO(dl_hwcap2).
24590         (_dl_show_auxv): Add support for calling _dl_procinfo to display
24591         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
24592         explicitly the unknown a_type display mechanism is used.
24593         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24594         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24595         struct member.
24596         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24597         to macro prototype for AT_HWCAP2 support.
24598         * sysdeps/i386/dl-procinfo.h: Likewise.
24599         * sysdeps/s390/dl-procinfo.h: Likewise.
24600         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24601         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
24602         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
24603         return -1 for unknown a_type display fallback.
24604         * sysdeps/sparc/dl-procinfo.h: Likewise.
24605         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24606         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24608 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
24610         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24611         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24613 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
24615         [BZ #12492]
24616         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24617         mprotect making __stack_prot writable.
24619 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
24620             Joseph Myers  <joseph@codesourcery.com>
24622         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24623         as being properly aligned.
24625 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
24627         * dlfcn/modstatic5.c: New file.
24628         * dlfcn/tststatic5.c: New file.
24629         * dlfcn/Makefile (tests): Add tststatic5.
24630         (tests-static): Likewise.
24631         (modules-names): Add modstatic5.
24632         (tststatic5-ENV): New variable.
24633         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24635         [BZ #15022]
24636         * elf/dl-support.c (_dl_main_map): New variable.
24637         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24638         (_dl_nns, _dl_load_adds): Set to 1.
24639         (_dl_initial_searchlist): Refer to _dl_main_map.
24640         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24641         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24642         call to _dl_get_origin.
24643         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24644         around call_map.
24645         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24646         * dlfcn/modstatic3.c: New file.
24647         * dlfcn/tststatic3.c: New file.
24648         * dlfcn/tststatic4.c: New file.
24649         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24650         (tests-static): Likewise.
24651         (modules-names): Add modstatic3.
24652         (tststatic3-ENV, tststatic4-ENV): New variables.
24653         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24654         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24656 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
24658         * configure.in (CC): Require GCC version 4.4 or later.
24659         * configure: Regenerated.
24660         * manual/install.texi (Tools for Compilation): Update GCC version
24661         requirement.
24662         * INSTALL: Regenerated.
24664 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24666         [BZ #15674]
24667         * string/test-memcmp.c (check2): New.
24668         (main): Call check2.
24670         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24672 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
24674         [BZ #15022]
24675         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24676         over to...
24677         (dl_open_worker) [!SHARED]: ... here.
24679 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24681         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24683 2013-06-25  Richard Henderson  <rth@redhat.com>
24685         * locale/programs/locarchive.c: Include <libc-internal.h>
24687 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
24689         * manual/texinfo.tex: Update to version 2013-06-21.17, with
24690         trailing whitespace removed.
24692 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24694         [BZ #10283]
24695         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24696         * locale/programs/locarchive.c: Include libc-mmap.h.
24697         (prepare_address_space): Take two new outputs (the mmap base and len).
24698         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
24699         values.
24700         (create_archive): Declare new mmap base and len values for
24701         prepare_address_space, and store the result in ah.
24702         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24703         (enlarge_archive): If ah->mmap_base is not NULL, use that and
24704         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24705         Declare new mmap base and len values for
24706         prepare_address_space, and store the result in new_ah.
24707         (open_archive): Declare new mmap base and len values for
24708         prepare_address_space, and store the result in ah.
24709         (close_archive): If ah->mmap_base is not NULL, use that and
24710         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24711         * sysdeps/generic/libc-mmap.h: New file.
24713 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24715         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24716         (ALIGN_UP): Likewise.
24717         (PTR_ALIGN_DOWN): Likewise.
24718         (PTR_ALIGN_UP): Likewise.
24720 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24722         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24723         entry mapped to PPC_PLATFORM_POWER8.
24724         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24725         POWER8.
24726         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24727         (_dl_string_platform): Add case for exporting platform position for
24728         POWER8.
24729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24730         search path to sysdeps/powerpc/powerpc32/power8 directory.
24731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24732         search path to sysdeps/powerpc/powerpc64/power8 directory.
24733         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24734         power7 directories.
24735         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24736         power7 directories.
24738 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24740         * INSTALL: Regenerate.
24742         * nscd/connections.c (nscd_init): Fix comment.
24744 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
24746         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24748         [BZ #15667]
24749         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24750         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24752 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24754         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24755         DL_DST_REQ_STATIC.
24756         (DL_DST_REQ_STATIC): Remove macro.
24758 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
24760         [BZ #7006]
24761         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24762         with a shift of 0 bits.
24764 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24766         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24767         $(tststatic-ENV).
24769 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24771         [BZ #15655]
24772         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24774 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24776         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24777         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24778         accepts -fno-tree-loop-distribute-patterns.
24779         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24780         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24781         recursive call.
24782         * string/memset.c (memset): Likewise.
24783         * string/test-memmove.c (simple_memmove): Disable loop transformation
24784         to library calls.
24785         * string/test-memset.c (simple_memset): Likewise.
24786         * benchtests/bench-memmove.c (simple_memmove): Likewise.
24787         * benchtests/bench-memset.c (simple_memset): Likewise.
24788         * configure: Regenerated.
24790 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
24792         * math/test-misc.c (main): Ignore fesetround failure when failures
24793         of subsequent rounding tests would be ignored.
24795         [BZ #15654]
24796         * math/fedisblxcpt.c (fedisableexcept): Return 0.
24797         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24798         * math/fegetenv.c (__fegetenv): Return 0.
24799         * math/fegetexcept.c (fegetexcept): Return 0.
24800         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24801         FE_TONEAREST.
24802         * math/feholdexcpt.c (feholdexcept): Return 0.
24803         * math/fesetenv.c (__fesetenv): Return 0.
24804         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24805         argument FE_TONEAREST.
24806         * math/feupdateenv.c (__feupdateenv): Return 0.
24807         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24809 2013-06-18  Roland McGrath  <roland@hack.frob.com>
24811         * elf/rtld-Rules (rtld-compile-command.S): New variable.
24812         (rtld-compile-command.s, rtld-compile-command.c): New variables.
24813         ($(objpfx)rtld-%.os rules): Use them.
24815 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24817         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24818         fields.
24820 2013-06-17  Roland McGrath  <roland@hack.frob.com>
24822         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24823         length of target pattern, then descending length of dependency pattern.
24824         * configure.in (AWK): Require gawk 3.1.2 or newer.
24825         * manual/install.texi (Tools for Compilation): Say that we do.
24826         * configure: Regenerated.
24828         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24829         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24830         * scripts/sysd-rules.awk: ... this new script.
24831         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24832         than a glob-style pattern.
24834 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
24836         * math/test-misc.c (main): Do not treat incorrectly rounded
24837         conversions as failure unless ROUNDING_TESTS passes.
24839 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
24841         [BZ #15631]
24842         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24843         restore exception state around main square root computation, then
24844         check for inexactness explicitly.
24846         * math/libm-test.inc (fma_test_data): Add another test.
24848 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24850         * manual/threads.texi (Non-POSIX Extensions): New document
24851         node.  Document pthread_getattr_default_np and
24852         pthread_setattr_default_np.
24854         * Versions.def (libpthread): Add GLIBC_2.18.
24855         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24857         Likewise.
24858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24859         Likewise.
24860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24861         Likewise.
24862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24863         Likewise.
24864         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24865         Likewise.
24866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24867         Likewise.
24868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24869         Likewise.
24870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24871         Likewise.
24872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24873         Likewise.
24875 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24877         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24878         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24880 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24881             H.J. Lu  <hjl.tools@gmail.com>
24883         [BZ #15627]
24884         * sysdeps/x86_64/rtld-memset.c: Remove file.
24885         * sysdeps/x86_64/rtld-memset.S: New file.
24887 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
24889         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24890         (test_in_one_mode): Take arguments for whether the rounding mode
24891         is supported for each floating-point type.
24892         (do_test): Pass new arguments to test_in_one_mode using
24893         ROUNDING_TESTS.
24895 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24897         * posix/tst-waitid.c (do_test): Distinguish different instances of
24898         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
24899         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24900         before entering the kernel for waitpid.
24902 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24904         * NEWS: Fix note on clock function precision.  Text by Roland
24905         McGrath.
24907 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24909         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24910         it into place only when and if the sanity check passes.
24912 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
24914         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24915         output for whether conversion result is exact.  Take argument
24916         indicating whether type is IBM long double.
24917         (round_for_all): Change need_exact field to ibm_ld.
24918         * stdlib/tst-strtod-round.c (struct exactness): New type.
24919         (struct test): Change bool ld_ok field to struct exactness exact.
24920         (TEST): Update all definitions for change to field.
24921         (tests): Regenerate array contents.
24922         (test_in_one_mode): Take pointer to new field instead of old ld_ok
24923         field value.  Check for IBM long double here.
24924         (do_test): Update calls to test_in_one_mode.
24926 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24928         [BZ #12515]
24929         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24930         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24932 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24934         [BZ #15605]
24935         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24936         generated by the compiler on loop optimizations.
24937         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24938         general definitions.
24940 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
24942         * math/bug-nextafter.c: Include <math-tests.h>.
24943         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24944         the relevant type.
24945         * math/bug-nexttoward.c: Include <math-tests.h>.
24946         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24947         the relevant type.
24948         * math/test-misc.c: Include <math-tests.h>.
24949         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24950         the relevant type.
24952 2013-06-12  Andreas Jaeger  <aj@suse.de>
24954         * po/ia.po: Update Interlingua translation from translation
24955         project.
24957 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24959         * include/fenv.h: Include stdbool.h.
24960         (struct rm_ctx): New structure.
24961         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24962         Define macro.
24963         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24964         (SET_RESTORE_ROUNDF): Likewise.
24965         (SET_RESTORE_ROUNDL): Likewise.
24966         (SET_RESTORE_ROUND_NOEX): Likewise.
24967         (SET_RESTORE_ROUND_NOEXF): Likewise.
24968         (SET_RESTORE_ROUND_NOEXL): Likewise.
24969         (SET_RESTORE_ROUND_53BIT): Likewise.
24970         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24971         (libc_feresetround_noexf_ctx): Likewise.
24972         (libc_feresetround_noexl_ctx): Likewise.
24973         (libc_feholdsetround_53bit_ctx): Likewise.
24974         (libc_feresetround_53bit_ctx): Likewise.
24975         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24976         (libc_feholdexcept_setround_sse_ctx): New function.
24977         (libc_fesetenv_sse_ctx): Likewise.
24978         (libc_feupdateenv_sse_ctx): Likewise.
24979         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24980         (libc_feholdexcept_setround_387_ctx): Likewise.
24981         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24982         (libc_feholdsetround_387_prec_ctx): Likewise.
24983         (libc_feholdsetround_387_ctx): Likewise.
24984         (libc_feholdsetround_387_53bit_ctx): Likewise.
24985         (libc_feholdsetround_sse_ctx): Likewise.
24986         (libc_feresetround_sse_ctx): Likewise.
24987         (libc_feresetround_387_ctx): Likewise.
24988         (libc_feupdateenv_387_ctx): Likewise.
24989         (libc_feholdexcept_setroundf_ctx): Define macro.
24990         (libc_fesetenvf_ctx): Likewise.
24991         (libc_feupdateenvf_ctx): Likewise.
24992         (libc_feholdsetroundf_ctx): Likewise.
24993         (libc_feresetroundf_ctx): Likewise.
24994         (libc_feholdexcept_setround_ctx): Likewise.
24995         (libc_fesetenv_ctx): Likewise.
24996         (libc_feupdateenv_ctx): Likewise.
24997         (libc_feholdsetround_ctx): Likewise.
24998         (libc_feresetround_ctx): Likewise.
24999         (libc_feholdexcept_setroundl_ctx): Likewise.
25000         (libc_feupdateenvl_ctx): Likewise.
25001         (libc_feholdsetroundl_ctx): Likewise.
25002         (libc_feresetroundl_ctx): Likewise.
25003         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25004         (libc_feresetround_53bit_ctx): Likewise.
25006 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25008         * locale/iso-639.def: Convert to UTF-8.
25010 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
25012         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25013         (EXCEPTION_TESTS_double): Likewise.
25014         (EXCEPTION_TESTS_long_double): Likewise.
25015         (EXCEPTION_TESTS): Likewise.
25016         * math/libm-test.inc (test_exceptions): Only test exceptions if
25017         EXCEPTION_TESTS (FLOAT).
25019 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25021         * benchtests/Makefile (string-bench): Add strcpy_chk and
25022         stpcpy_chk.
25023         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25024         * benchtests/bench-stpcpy_chk.c: New file.
25025         * benchtests/bench-strcpy_chk-ifunc.c: New file.
25026         * benchtests/bench-strcpy_chk.c: New file.
25027         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25028         code.
25029         (do_test): Likewise.
25031 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25033         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25034         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25035         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25036         with tabs where appropriate.
25037         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25038         dl-procinfo.h.
25039         [PPC_PLATFORM_PPC440]: Likewise.
25040         [PPC_PLATFORM_PPC464]: Likewise.
25041         [PPC_PLATFORM_PPC476]: Likewise.
25042         (_dl_string_platform): Add support for detecting ppc405, ppc440,
25043         ppc464, and ppc476 platform strings merging from ports/
25044         dl-procinfo.h.
25046 2013-06-11  Andreas Schwab  <schwab@suse.de>
25048         [BZ #14991]
25049         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25050         (from_ucs4_idx): Regenerate.
25051         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25052         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25053         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25054         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25055         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25056         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25057         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25058         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25059         from FROM_LOOP and TO_LOOP specific macros.
25060         (BODY): Handle combining characters.
25061         * iconvdata/BIG5HKSCS.irreversible: Update.
25062         * iconvdata/BIG5HKSCS.precomposed: New file.
25063         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25064         characters.
25065         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25067 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25069         * include/sys/time.h: Fix indentation and add copyright header.
25071         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25072         (do_test): Likewise.
25073         * string/test-memchr.c (do_one_test): Likewise.
25074         (do_test): Likewise.
25075         * string/test-memcmp.c (do_one_test): Likewise.
25076         (do_test): Likewise.
25077         * string/test-memcpy.c (do_one_test): Likewise.
25078         (do_test): Likewise.
25079         * string/test-memmem.c (do_one_test): Likewise.
25080         (do_test): Likewise.
25081         (do_random_tests): Likewise.
25082         * string/test-memmove.c (do_one_test): Likewise.
25083         (do_test): Likewise.
25084         * string/test-memset.c (do_one_test): Likewise.
25085         (do_test): Likewise.
25086         * string/test-rawmemchr.c (do_one_test): Likewise.
25087         (do_test): Likewise.
25088         * string/test-strcasecmp.c (do_one_test): Likewise.
25089         (do_test): Likewise.
25090         * string/test-strcasestr.c (do_one_test): Likewise.
25091         (do_test): Likewise.
25092         * string/test-strcat.c (do_one_test): Likewise.
25093         (do_test): Likewise.
25094         * string/test-strchr.c (do_one_test): Likewise.
25095         (do_test): Likewise.
25096         * string/test-strcmp.c (do_one_test): Likewise.
25097         (do_test): Likewise.
25098         * string/test-strcpy.c (do_one_test): Likewise.
25099         (do_test): Likewise.
25100         * string/test-string.h: Likewise.
25101         (test_init): Likewise.
25102         * string/test-strlen.c (do_one_test): Likewise.
25103         (do_test): Likewise.
25104         * string/test-strncasecmp.c (do_one_test): Likewise.
25105         (do_test): Likewise.
25106         * string/test-strncat.c (do_one_test): Likewise.
25107         (do_test): Likewise.
25108         * string/test-strncmp.c (do_one_test): Likewise.
25109         (do_test_limit): Likewise.
25110         (do_test): Likewise.
25111         * string/test-strncpy.c (do_one_test): Likewise.
25112         (do_test): Likewise.
25113         * string/test-strnlen.c (do_one_test): Likewise.
25114         (do_test): Likewise.
25115         * string/test-strpbrk.c (do_one_test): Likewise.
25116         (do_test): Likewise.
25117         * string/test-strrchr.c (do_one_test): Likewise.
25118         (do_test): Likewise.
25119         * string/test-strspn.c (do_one_test): Likewise.
25120         (do_test): Likewise.
25121         * string/test-strstr.c (do_one_test): Likewise.
25122         (do_test): Likewise.
25124         * benchtests/Makefile (string-bench): Add string benchmarks.
25125         * benchtests/bench-bcopy-ifunc.c: New file.
25126         * benchtests/bench-bcopy.c: New file.
25127         * benchtests/bench-bzero-ifunc.c: New file.
25128         * benchtests/bench-bzero.c: New file.
25129         * benchtests/bench-memccpy-ifunc.c: New file.
25130         * benchtests/bench-memccpy.c: New file.
25131         * benchtests/bench-memchr-ifunc.c: New file.
25132         * benchtests/bench-memchr.c: New file.
25133         * benchtests/bench-memcmp-ifunc.c: New file.
25134         * benchtests/bench-memcmp.c: New file.
25135         * benchtests/bench-memmem-ifunc.c: New file.
25136         * benchtests/bench-memmem.c: New file.
25137         * benchtests/bench-memmove-ifunc.c: New file.
25138         * benchtests/bench-memmove.c: New file.
25139         * benchtests/bench-mempcpy-ifunc.c: New file.
25140         * benchtests/bench-mempcpy.c: New file.
25141         * benchtests/bench-memset-ifunc.c: New file.
25142         * benchtests/bench-memset.c: New file.
25143         * benchtests/bench-rawmemchr-ifunc.c: New file.
25144         * benchtests/bench-rawmemchr.c: New file.
25145         * benchtests/bench-stpcpy-ifunc.c: New file.
25146         * benchtests/bench-stpcpy.c: New file.
25147         * benchtests/bench-stpncpy-ifunc.c: New file.
25148         * benchtests/bench-stpncpy.c: New file.
25149         * benchtests/bench-strcasecmp-ifunc.c: New file.
25150         * benchtests/bench-strcasecmp.c: New file.
25151         * benchtests/bench-strcasestr-ifunc.c: New file.
25152         * benchtests/bench-strcasestr.c: New file.
25153         * benchtests/bench-strcat-ifunc.c: New file.
25154         * benchtests/bench-strcat.c: New file.
25155         * benchtests/bench-strchr-ifunc.c: New file.
25156         * benchtests/bench-strchr.c: New file.
25157         * benchtests/bench-strchrnul-ifunc.c: New file.
25158         * benchtests/bench-strchrnul.c: New file.
25159         * benchtests/bench-strcmp-ifunc.c: New file.
25160         * benchtests/bench-strcmp.c: New file.
25161         * benchtests/bench-strcpy-ifunc.c: New file.
25162         * benchtests/bench-strcpy.c: New file.
25163         * benchtests/bench-strcspn-ifunc.c: New file.
25164         * benchtests/bench-strcspn.c: New file.
25165         * benchtests/bench-strlen-ifunc.c: New file.
25166         * benchtests/bench-strlen.c: New file.
25167         * benchtests/bench-strncasecmp-ifunc.c: New file.
25168         * benchtests/bench-strncasecmp.c: New file.
25169         * benchtests/bench-strncat-ifunc.c: New file.
25170         * benchtests/bench-strncat.c: New file.
25171         * benchtests/bench-strncmp-ifunc.c: New file.
25172         * benchtests/bench-strncmp.c: New file.
25173         * benchtests/bench-strncpy-ifunc.c: New file.
25174         * benchtests/bench-strncpy.c: New file.
25175         * benchtests/bench-strnlen-ifunc.c: New file.
25176         * benchtests/bench-strnlen.c: New file.
25177         * benchtests/bench-strpbrk-ifunc.c: New file.
25178         * benchtests/bench-strpbrk.c: New file.
25179         * benchtests/bench-strrchr-ifunc.c: New file.
25180         * benchtests/bench-strrchr.c: New file.
25181         * benchtests/bench-strspn-ifunc.c: New file.
25182         * benchtests/bench-strspn.c: New file.
25183         * benchtests/bench-strstr-ifunc.c: New file.
25184         * benchtests/bench-strstr.c: New file.
25186         * benchtests/Makefile: Disable parallel execution of targets.
25187         (string-bench): Add memcpy.
25188         (benchset): New variable to store a list of benchmark sets.
25189         (bench-func): Renamed from bench.
25190         (bench-set): New target.
25191         (bench): Depend on bench-func and bench-set.
25192         * benchtests/README: Add section on benchmark sets.
25193         * benchtests/bench-memcpy-ifunc.c: New file.
25194         * benchtests/bench-memcpy.c: New file.
25195         * benchtests/bench-string.h: New file.
25197 2013-06-11  Andreas Schwab  <schwab@suse.de>
25199         [BZ #15577]
25200         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25201         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25202         values in the triple.
25203         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25204         terminator in the group key.
25206 2013-06-11  Andreas Jaeger  <aj@suse.de>
25208         * po/zh_TW.po: Update Chinese (traditional) translation from
25209         translation project.
25211 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25213         * include/time.h (__clock_gettime): Add libc_hidden_proto.
25214         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25215         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
25216         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25217         (clock_getcpuclockid): Likewise.
25218         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25219         Add weak_alias and libc_hidden_def.
25220         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25221         * rt/clock_gettime.c (clock_gettime): Rename to
25222         __clock_gettime.  Add weak_alias and libc_hidden_def.
25223         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25224         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25225         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
25226         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25227         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25228         Likewise.
25229         * rt/clock_settime.c (clock_settime): Rename to
25230         __clock_settime.  Add weak_alias and libc_hidden_def.
25231         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25233 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
25235         * mach/err_boot.sub: Remove trailing whitespace.
25236         * mach/err_ipc.sub: Likewise.
25237         * mach/err_mach.sub: Likewise.
25239         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25240         (ROUNDING_TESTS_double): Likewise.
25241         (ROUNDING_TESTS_long_double): Likewise.
25242         (ROUNDING_TESTS): Likewise.
25243         * math/libm-test.inc: Include <math-tests.h>.
25244         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25245         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25246         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25247         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25249 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25251         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25252         of assigning.
25254 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
25256         * sysdeps/gnu/errlist.awk: Do not generate space at end of
25257         otherwise empty TRANS lines.
25258         * sysdeps/gnu/errlist.c: Regenerated.
25260         * catgets/gencat.c (error_print): Use (void) in function
25261         definition.
25262         * crypt/crypt_util.c (__init_des): Likewise.
25263         * crypt/speeds.c (Stop): Likewise.
25264         (main): Likewise.
25265         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25266         * inet/ruserpass.c (token): Likewise.
25267         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25268         * intl/localealias.c (extend_alias_table): Likewise.
25269         * intl/plural-exp.c (init_germanic_plural): Likewise.
25270         * libio/fcloseall.c (__fcloseall): Likewise.
25271         * libio/genops.c (_IO_flush_all): Likewise.
25272         (_IO_flush_all_linebuffered): Likewise.
25273         (_IO_cleanup): Likewise.
25274         (_IO_iter_begin): Likewise.
25275         (_IO_iter_end): Likewise.
25276         (_IO_list_lock): Likewise.
25277         (_IO_list_unlock): Likewise.
25278         (_IO_list_resetlock): Likewise.
25279         * libio/getchar.c (getchar): Likewise.
25280         * libio/getchar_u.c (getchar_unlocked): Likewise.
25281         * libio/getwchar.c (getwchar): Likewise.
25282         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25283         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25284         * login/getpt.c (__getpt): Likewise.
25285         * login/tst-utmp.c (main): Likewise.
25286         * malloc/hooks.c (__malloc_check_init): Likewise.
25287         * malloc/malloc.c (__malloc_stats): Likewise.
25288         * malloc/mtrace.c (tr_break): Likewise.
25289         (mtrace): Likewise.
25290         (muntrace): Likewise.
25291         * misc/fstab.c (endfsent): Likewise.
25292         * misc/getclktck.c (__getclktck): Likewise.
25293         * misc/getdtsz.c (__getdtablesize): Likewise.
25294         * misc/gethostid.c (gethostid): Likewise.
25295         * misc/getpagesize.c (__getpagesize): Likewise.
25296         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25297         (__get_nprocs): Likewise.
25298         (__get_phys_pages): Likewise.
25299         (__get_avphys_pages): Likewise.
25300         * misc/getttyent.c (getttyent): Likewise.
25301         (setttyent): Likewise.
25302         (endttyent): Likewise.
25303         * misc/getusershell.c (getusershell): Likewise.
25304         (endusershell): Likewise.
25305         (setusershell): Likewise.
25306         (initshells): Likewise.
25307         * misc/hsearch.c (__hdestroy): Likewise.
25308         * misc/sync.c (sync): Likewise.
25309         * misc/syslog.c (closelog_internal): Likewise.
25310         (closelog): Likewise.
25311         * misc/ttyslot.c (ttyslot): Likewise.
25312         * misc/vhangup.c (vhangup): Likewise.
25313         * posix/fork.c (__fork): Likewise.
25314         * posix/getegid.c (__getegid): Likewise.
25315         * posix/geteuid.c (__geteuid): Likewise.
25316         * posix/getgid.c (__getgid): Likewise.
25317         * posix/getpid.c (__getpid): Likewise.
25318         * posix/getppid.c (__getppid): Likewise.
25319         * posix/getuid.c (__getuid): Likewise.
25320         * posix/pause.c (pause): Likewise.
25321         * posix/setpgrp.c (setpgrp): Likewise.
25322         * posix/setsid.c (__setsid): Likewise.
25323         * posix/test-vfork.c (noop): Likewise.
25324         * resolv/gethnamaddr.c (_endhtent): Likewise.
25325         (_gethtent): Likewise.
25326         (ht_endhostent): Likewise.
25327         (gethostent): Likewise.
25328         (dns_service): Likewise.
25329         * stdlib/drand48.c (drand48): Likewise.
25330         * stdlib/lrand48.c (lrand48): Likewise.
25331         * stdlib/mrand48.c (mrand48): Likewise.
25332         * stdlib/rand.c (rand): Likewise.
25333         * stdlib/random.c (__random): Likewise.
25334         * stdlib/setenv.c (clearenv): Likewise.
25335         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25336         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25337         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25338         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25339         (__get_nprocs): Likewise.
25340         (__get_phys_pages): Likewise.
25341         (__get_avphys_pages): Likewise.
25342         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25343         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25344         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25345         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25346         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25347         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25348         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25349         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25350         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25351         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25352         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25353         * sysdeps/mach/hurd/sync.c (sync): Likewise.
25354         * sysdeps/posix/clock.c (clock): Likewise.
25355         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25356         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25357         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25358         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25359         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25360         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25361         (__get_nprocs_conf): Likewise.
25362         (__get_phys_pages): Likewise.
25363         (__get_avphys_pages): Likewise.
25364         * time/clock.c (clock): Likewise.
25365         * time/tzset.c (__tzname_max): Likewise.
25367 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
25369         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25370         (__bswap_32): Do not use "register".
25371         * crypt/crypt.c (_ufc_doit_r): Likewise.
25372         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25373         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25374         * gmon/gmon.c (__monstartup): Likewise.
25375         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25376         * hurd/hurdmalloc.c (more_memory): Likewise.
25377         (malloc): Likewise.
25378         (free): Likewise.
25379         (realloc): Likewise.
25380         (malloc_fork_prepare): Likewise.
25381         (malloc_fork_parent): Likewise.
25382         (malloc_fork_child): Likewise.
25383         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25384         (_svcauth_des): Likewise.
25385         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25386         * inet/inet_net.c (inet_network): Likewise.
25387         * inet/inet_netof.c (inet_netof): Likewise.
25388         * inet/rcmd.c (__validuser2_sa): Likewise.
25389         * io/fts.c (fts_open): Likewise.
25390         (fts_load): Likewise.
25391         (fts_close): Likewise.
25392         (fts_read): Likewise.
25393         (fts_children): Likewise.
25394         (fts_build): Likewise.
25395         (fts_stat): Likewise.
25396         (fts_sort): Likewise.
25397         (fts_alloc): Likewise.
25398         (fts_lfree): Likewise.
25399         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25400         (_IO_file_xsgetn): Likewise.
25401         (_IO_file_xsgetn_mmap): Likewise.
25402         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25403         (_IO_cookie_write): Likewise.
25404         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25405         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25406         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25407         * malloc/obstack.c (_obstack_begin): Likewise.
25408         (_obstack_begin_1): Likewise.
25409         (_obstack_newchunk): Likewise.
25410         (_obstack_allocated_p): Likewise.
25411         (obstack_free): Likewise.
25412         (_obstack_memory_used): Likewise.
25413         * misc/getttyent.c (getttynam): Likewise.
25414         (getttyent): Likewise.
25415         (skip): Likewise.
25416         (value): Likewise.
25417         * misc/getusershell.c (initshells): Likewise.
25418         * misc/syslog.c (__vsyslog_chk): Likewise.
25419         * misc/ttyslot.c (ttyslot): Likewise.
25420         * nis/nis_hash.c (__nis_hash): Likewise.
25421         * posix/fnmatch_loop.c (FCT): Likewise.
25422         * posix/getconf.c (print_all): Likewise.
25423         (main): Likewise.
25424         * posix/getopt.c (exchange): Likewise.
25425         * posix/glob.c (globfree): Likewise.
25426         (prefix_array): Likewise.
25427         (__glob_pattern_type): Likewise.
25428         * resolv/arpa/nameser.h (NS_GET16): Likewise.
25429         (NS_GET32): Likewise.
25430         (NS_PUT16): Likewise.
25431         (NS_PUT32): Likewise.
25432         * resolv/gethnamaddr.c (getanswer): Likewise.
25433         (gethostbyname2): Likewise.
25434         (gethostbyaddr): Likewise.
25435         (_gethtent): Likewise.
25436         (_gethtbyname2): Likewise.
25437         (_gethtbyaddr): Likewise.
25438         * resolv/ns_print.c (dst_s_get_int16): Likewise.
25439         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25440         * resolv/res_init.c (__res_vinit): Likewise.
25441         (net_mask): Likewise.
25442         * resolv/res_mkquery.c (outchar): Likewise.
25443         (PRINT): Likewise.
25444         * stdio-common/printf_fp.c (outchar): Likewise.
25445         (PRINT): Likewise.
25446         * stdio-common/printf_fphex.c (outchar): Likewise.
25447         (PRINT): Likewise.
25448         * stdio-common/printf_size.c (outchar): Likewise.
25449         (PRINT): Likewise.
25450         * stdio-common/test_rdwr.c (main): Likewise.
25451         * stdio-common/tfformat.c (matches): Likewise.
25452         * stdio-common/vfprintf.c (outchar): Likewise.
25453         (printf_unknown): Likewise.
25454         (buffered_vfprintf): Likewise.
25455         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25456         * stdio-common/xbug.c (AppendToBuffer): Likewise.
25457         (ReadFile): Likewise.
25458         * stdlib/qsort.c (SWAP): Likewise.
25459         (_quicksort): Likewise.
25460         * stdlib/setenv.c (__add_to_environ): Likewise.
25461         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25462         * stdlib/strtol_l.c (__strtol_l): Likewise.
25463         * stdlib/tst-strtod.c (main): Likewise.
25464         * stdlib/tst-strtol.c (main): Likewise.
25465         * stdlib/tst-strtoll.c (main): Likewise.
25466         * string/bits/string2.h (__strcmp_cc): Likewise.
25467         (__strcmp_cg): Likewise.
25468         (__strcspn_c1): Likewise.
25469         (__strcspn_c2): Likewise.
25470         (__strcspn_c3): Likewise.
25471         (__strspn_c1): Likewise.
25472         (__strspn_c2): Likewise.
25473         (__strspn_c3): Likewise.
25474         (__strsep_1c): Likewise.
25475         (__strsep_2c): Likewise.
25476         (__strsep_3c): Likewise.
25477         * string/memccpy.c (__memccpy): Likewise.
25478         * string/stpcpy.c (__stpcpy): Likewise.
25479         * string/strcmp.c (strcmp): Likewise.
25480         * string/strrchr.c (strrchr): Likewise.
25481         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25482         Likewise.
25483         * sysdeps/mach/hurd/getcwd.c
25484         (_hurd_canonicalize_directory_name_internal): Likewise.
25485         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25486         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25487         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25488         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25489         Likewise, in both definitions.
25490         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25491         definitions.
25492         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25493         64] (__bswap_64): Likewise.
25494         * time/test_time.c (main): Likewise.
25495         * time/tzfile.c (__tzfile_read): Likewise.
25496         (__tzfile_compute): Likewise.
25497         * time/tzset.c (__tzset_parse_tz): Likewise.
25498         (tzset_internal): Likewise.
25499         (compute_change): Likewise.
25500         * wcsmbs/wcscat.c (__wcscat): Likewise.
25501         * wcsmbs/wcschr.c (wcschr): Likewise.
25502         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25503         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25504         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25505         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25506         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25507         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25508         * wcsmbs/wmemchr.c (wmemchr): Likewise.
25509         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25510         * wcsmbs/wmemset.c (wmemset): Likewise.
25512 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
25514         * scripts/config.guess: Update to version 2013-05-16.
25515         * scripts/config.sub: Update to version 2013-04-24.
25516         * scripts/install-sh: Update to version 2011-11-20.07.
25517         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25518         * scripts/move-if-change: Update to version 2012-01-06 07:23.
25520 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
25522         * debug/fgetws_u_chk.c: Fix leading whitespaces.
25523         * elf/sln.c: Likewise.
25524         * hurd/hurd/ioctl.h: Likewise.
25525         * hurd/hurdmalloc.c: Likewise.
25526         * hurd/xattr.c: Likewise.
25527         * include/shlib-compat.h: Likewise.
25528         * inet/ruserpass.c: Likewise.
25529         * libio/iofgets_u.c: Likewise.
25530         * libio/iofgetws_u.c: Likewise.
25531         * locale/programs/ld-identification.c: Likewise.
25532         * locale/programs/ld-time.c: Likewise.
25533         * mach/msg-destroy.c: Likewise.
25534         * nss/nss_files/files-netgrp.c: Likewise.
25535         * resolv/res_data.c: Likewise.
25536         * soft-fp/op-1.h: Likewise.
25537         * soft-fp/op-2.h: Likewise.
25538         * soft-fp/op-4.h: Likewise.
25539         * soft-fp/op-common.h: Likewise.
25540         * stdio-common/printf_fphex.c: Likewise.
25541         * stdlib/strtod_l.c: Likewise.
25542         * sunrpc/rpc/clnt.h: Likewise.
25543         * sysdeps/generic/framestate.c: Likewise.
25544         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25545         * sysdeps/i386/bsd-setjmp.S: Likewise.
25546         * sysdeps/i386/__longjmp.S: Likewise.
25547         * sysdeps/i386/setjmp.S: Likewise.
25548         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25549         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25550         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25551         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25552         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25553         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25554         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25555         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25556         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25557         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25558         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25559         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25560         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25561         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25562         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25563         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25564         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25565         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25566         * sysdeps/ieee754/support.c: Likewise.
25567         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25568         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25569         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25570         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25571         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25572         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25573         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25574         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25575         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25576         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25577         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25578         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25579         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25580         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25581         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25582         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25583         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25586 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
25588         * posix/transbug.c: Remove executable mode.
25590 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
25592         * crypt/speeds.c: Remove trailing whitespace.
25593         * dlfcn/default.c: Likewise.
25594         * elf/ifuncdep2.c: Likewise.
25595         * elf/ifuncmain1.c: Likewise.
25596         * elf/ifuncmain1vis.c: Likewise.
25597         * elf/testobj.h: Likewise.
25598         * elf/tst-stackguard1.c: Likewise.
25599         * gmon/sys/gmon.h: Likewise.
25600         * hurd/hurdmsg.c: Likewise.
25601         * hurd/new-fd.c: Likewise.
25602         * hurd/ports-get.c: Likewise.
25603         * iconvdata/ibm1008_420.c: Likewise.
25604         * inet/tst-getni1.c: Likewise.
25605         * inet/tst-getni2.c: Likewise.
25606         * libio/ioungetc.c: Likewise.
25607         * libio/wfiledoalloc.c: Likewise.
25608         * manual/libm-err-tab.pl: Likewise.
25609         * math/w_dremf.c: Likewise.
25610         * misc/ftruncate.c: Likewise.
25611         * posix/bug-glob2.c: Likewise.
25612         * posix/tst-pcre.c: Likewise.
25613         * posix/wait4.c: Likewise.
25614         * resolv/README: Likewise.
25615         * resolv/res_debug.h: Likewise.
25616         * resolv/tst-inet_ntop.c: Likewise.
25617         * setjmp/bug269-setjmp.c: Likewise.
25618         * soft-fp/extended.h: Likewise.
25619         * soft-fp/op-1.h: Likewise.
25620         * soft-fp/op-2.h: Likewise.
25621         * soft-fp/op-4.h: Likewise.
25622         * soft-fp/op-8.h: Likewise.
25623         * soft-fp/testit.c: Likewise.
25624         * stdio-common/bug16.c: Likewise.
25625         * stdlib/random.c: Likewise.
25626         * sunrpc/rpcsvc/rquota.x: Likewise.
25627         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25628         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25629         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25630         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25631         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25632         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25633         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25634         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25635         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25636         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25637         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25638         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25639         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25640         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25641         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25642         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25643         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25644         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25645         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25646         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25647         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25648         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25649         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25650         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25651         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25652         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25653         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25654         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25655         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25656         * sysdeps/ieee754/s_lib_version.c: Likewise.
25657         * sysdeps/mach/hurd/check_fds.c: Likewise.
25658         * sysdeps/mach/hurd/getsockname.c: Likewise.
25659         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25660         * sysdeps/mach/hurd/recvfrom.c: Likewise.
25661         * sysdeps/powerpc/bits/link.h: Likewise.
25662         * sysdeps/powerpc/dl-procinfo.c: Likewise.
25663         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25664         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25665         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25666         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25667         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25668         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25669         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25670         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25671         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25672         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25673         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25674         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25675         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25676         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25677         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25678         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25679         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25680         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25681         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25682         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25683         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25684         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25685         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25686         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25687         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25688         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25689         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25690         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25691         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25692         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25693         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25694         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25695         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25696         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25697         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25698         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25699         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25700         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25701         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25702         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25703         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25704         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25705         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25706         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25707         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25708         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25709         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25710         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25711         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25712         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25713         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25714         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25715         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25716         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25717         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25718         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25719         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25720         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25721         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25722         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25723         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25724         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25725         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25726         * sysdeps/powerpc/sysdep.h: Likewise.
25727         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25728         * sysdeps/s390/s390-64/sub_n.S: Likewise.
25729         * sysdeps/sh/dl-trampoline.S: Likewise.
25730         * sysdeps/sh/memset.S: Likewise.
25731         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25732         * sysdeps/sh/strlen.S: Likewise.
25733         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25734         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25735         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25736         * sysdeps/sparc/sparc32/rem.S: Likewise.
25737         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25738         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25739         * sysdeps/sparc/sparc32/strchr.S: Likewise.
25740         * sysdeps/sparc/sparc32/udiv.S: Likewise.
25741         * sysdeps/sparc/sparc32/urem.S: Likewise.
25742         * sysdeps/sparc/sparc64/add_n.S: Likewise.
25743         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25744         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25745         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25746         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25747         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25748         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25749         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25750         * sysdeps/unix/bsd/times.c: Likewise.
25751         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25752         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25756         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25757         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25758         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25759         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25760         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25761         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25762         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25763         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25764         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25765         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25766         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25767         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25768         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25769         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25770         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25771         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25772         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25773         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25774         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25775         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25776         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25777         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25778         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25779         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25780         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25781         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25782         * sysdeps/x86_64/strcspn.S: Likewise.
25784 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25786         * locale/C-translit.h: Revert #include <stdint.h> because this is a
25787         generated file.  Regenerate properly from gen-translit.pl.
25788         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
25789         locale/C-translit.h.
25791 2013-06-05  Andreas Schwab  <schwab@suse.de>
25793         [BZ #15100]
25794         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25795         week as 6 instead of -1.
25796         * time/tst-strptime.c (day_tests): Add test case.
25798 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25800         * sysdeps/generic/math_private.h
25801         (libc_feholdexcept_setround_53bit): Replace with
25802         libc_feholdsetround_53bit.
25803         (libc_feupdateenv_53bit): Replace with
25804         libc_feresetround_53bit.
25805         (SET_RESTORE_ROUND_53BIT): Adjust.
25807 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25809         * string/test-strchrnul.c: Add copyright header.
25811         * posix/tst-getaddrinfo4.c: Increase test timeout.
25813 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
25815         [BZ #15536]
25816         * math/libm-test.inc (MAX_EXP): Remove
25817         (MIN_EXP): Define.
25818         (ulp): Use MIN_EXP - MANT_DIG.
25819         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25821 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
25823         * po/be.po: Revert last change.
25824         * po/zh_CN.po: Likewise.
25825         * po/header.pot: Likewise.
25827 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
25829         * Makefile ($(common-objpfx)linkobj/libc.so): Define
25830         link-libc-deps to empty as target-specific variable.
25831         * Makerules (link-libc-args): New variable.
25832         (libc-for-link): Likewise.
25833         (link-libc-deps): Likewise.
25834         (lib%.so): Depend on $(link-libc-deps).  Link with
25835         $(link-libc-args).
25836         (build-module): Link with $(link-libc-args).
25837         (build-module-asneeded): Likewise.
25838         (build-module-helper-objlist): Filter out $(link-libc-deps) from
25839         list of objects.
25840         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25841         target-specific variable.
25842         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25843         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25844         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25845         libc.
25846         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25847         libc and ld.so.
25848         ($(objpfx)libpcprofile.so): Likewise.
25849         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25850         libc_nonshared.a.
25851         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25852         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25853         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25854         $(link-libc-deps).
25855         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25856         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25857         * login/Makefile ($(objpfx)libutil.so): Likewise.
25858         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25859         * math/Makefile ($(objpfx)libm.so): Likewise.
25860         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25861         $(objpfx)libnsl.so): Define libc-for-link as target-specific
25862         variable instead of depending directly on libc.
25863         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25864         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25865         $(link-libc-deps).
25866         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25867         libc.
25868         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25869         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25870         ($(objpfx)libanl.so): Likewise.
25871         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25872         ld.so.
25873         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25874         $(link-libc-deps).
25875         * sysdeps/i386/fpu/Makefile: Remove file.
25876         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25877         ($(objpfx)libm.so): Remove dependency on ld.so.
25879 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
25881         [BZ # 15553]
25882         * nis/yp_xdr.c (XDRMAXNAME): Define.
25883         (XDRMAXRECORD): Define.
25884         (xdr_domainname): Use XDRMAXNAME.
25885         (xdr_mapname): Likewise.
25886         (xdr_peername): Likewise.
25887         (xdr_keydat): Use XDRMAXRECORD.
25888         (xdr_valdat): Likewise.
25890 2013-05-30  Jeff Law  <law@redhat.com>
25892         [BZ #14256]
25893         * manual/errno.texi (ESTALE): Update to account for more than
25894         just NFS file systems.
25895         * sysdeps/gnu/errlist.c: Regenerated.
25897 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25899         [BZ #15465]
25900         * elf/Makefile (tests): Add tst-null-argv.
25901         (modules-names):  Add tst-null-argv-lib.
25902         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25903         (tst-null-argv-ENV): Set environment for tst-null-argv.
25904         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25905         (RTLD_PROGNAME): New macro.
25906         * elf/tst-null-argv.c: New test case.
25907         * elf/tst-null-argv-lib.c: Library for test case.
25908         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25909         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25910         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25911         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25912         * elf/dl-init.c (call_init): Likewise.
25913         (_dl_init): Likewise.
25914         * elf/dl-load.c (print_search_path): Likewise.
25915         (_dl_map_object): Likewise.
25916         * elf/dl-lookup.c (do_lookup_x): Likewise.
25917         (add_dependency): Likewise.
25918         (_dl_lookup_symbol_x): Likewise.
25919         (_dl_debug_bindings): Likewise.
25920         * elf/dl-open.c (_dl_show_scope): Likewise.
25921         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25922         * elf/dl-version.c (match_symbol): Likewise.
25923         (_dl_check_map_versions): Likewise.
25924         * elf/rtld.c (dl_main): Likewise.
25925         (print_unresolved): Use RTLD_PROGNAME.
25926         (print_missing_version): Likewise.
25927         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25928         (elf_machine_rela): Likewise.
25929         * sysdeps/powerpc/powerpc32/dl-machine.c
25930         (__process_machine_rela): Likewise.
25931         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25932         Likewise.
25933         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25934         Likewise.
25935         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25936         Likewise.
25937         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25938         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25939         Likewise.
25940         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25941         Likewise.
25942         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25944 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
25946         * po/be.po: Add descriptive title.
25947         * po/zh_CN.po: Likewise.
25948         * po/header.pot: Likewise.
25950 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
25952         * locale/programs/locarchive.c (create_archive): Inlucde fname in
25953         error message.
25954         (enlarge_archive): Likewise.
25956 2013-05-28  Ben North  <ben@redfrontdoor.org>
25958         * manual/arith.texi (frexp): It is the magnitude of the return
25959         value which lies in [0.5, 1), not the return value itself.
25961 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25965 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
25967         * stdio-common/bug26.c (main): Correct fscanf template.
25969         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25970         declare _dl_skip_args.
25972         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25973         Don't declare.
25975         * manual/platform.texi: Add missing @end deftypefun.
25977 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25979         [BZ #15529]
25980         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25981         bit of mantissa of 2^16382.
25982         * math/libm-test.inc (hypot_test_data): Add more tests.
25984         * math/libm-test.inc: Add drem and pow10 to list of tested
25985         functions.
25986         (pow10_test): New function.
25987         (drem_test): Likewise.
25988         (drem_test_tonearest): Likewise.
25989         (drem_test_towardzero): Likewise.
25990         (drem_test_downward): Likewise.
25991         (drem_test_upward): Likewise.
25992         (main): Call the new functions.
25994         * math/libm-test.inc (finite_test_data): Remove.
25995         (finite_test): Run tests from isfinite_test_data.
25996         (gamma_test_data): Remove.
25997         (gamma_test): Run tests from lgamma_test_data.
25998         * sysdeps/i386/fpu/libm-test-ulps: Update.
25999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26001 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26003         * manual/platform.texi: Add PowerPC PPR function set documentation.
26004         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26005         implementation.
26007 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
26009         * math/libm-test.inc (MAX_EXP): Define.
26010         (ULPDIFF): Define.
26011         (ulp): New function.
26012         (check_float_internal): Use ULPDIFF.
26013         (cpow_test): Disable failing test.
26014         (check_ulp): Test ulp() implemetnation.
26015         (main): Call check_ulp before starting tests.
26017 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26019         * math/gen-libm-test.pl (generate_testfile): Do not handle
26020         START_DATA and END_DATA.
26021         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26022         END_DATA.
26023         (acos_tonearest_test_data): Likewise.
26024         (acos_towardzero_test_data): Likewise.
26025         (acos_downward_test_data): Likewise.
26026         (acos_upward_test_data): Likewise.
26027         (acosh_test_data): Likewise.
26028         (asin_test_data): Likewise.
26029         (asin_tonearest_test_data): Likewise.
26030         (asin_towardzero_test_data): Likewise.
26031         (asin_downward_test_data): Likewise.
26032         (asin_upward_test_data): Likewise.
26033         (asinh_test_data): Likewise.
26034         (atan_test_data): Likewise.
26035         (atanh_test_data): Likewise.
26036         (atan2_test_data): Likewise.
26037         (cabs_test_data): Likewise.
26038         (cacos_test_data): Likewise.
26039         (cacosh_test_data): Likewise.
26040         (carg_test_data): Likewise.
26041         (casin_test_data): Likewise.
26042         (casinh_test_data): Likewise.
26043         (catan_test_data): Likewise.
26044         (catanh_test_data): Likewise.
26045         (cbrt_test_data): Likewise.
26046         (ccos_test_data): Likewise.
26047         (ccosh_test_data): Likewise.
26048         (ceil_test_data): Likewise.
26049         (cexp_test_data): Likewise.
26050         (cimag_test_data): Likewise.
26051         (clog_test_data): Likewise.
26052         (clog10_test_data): Likewise.
26053         (conj_test_data): Likewise.
26054         (copysign_test_data): Likewise.
26055         (cos_test_data): Likewise.
26056         (cos_tonearest_test_data): Likewise.
26057         (cos_towardzero_test_data): Likewise.
26058         (cos_downward_test_data): Likewise.
26059         (cos_upward_test_data): Likewise.
26060         (cosh_test_data): Likewise.
26061         (cosh_tonearest_test_data): Likewise.
26062         (cosh_towardzero_test_data): Likewise.
26063         (cosh_downward_test_data): Likewise.
26064         (cosh_upward_test_data): Likewise.
26065         (cpow_test_data): Likewise.
26066         (cproj_test_data): Likewise.
26067         (creal_test_data): Likewise.
26068         (csin_test_data): Likewise.
26069         (csinh_test_data): Likewise.
26070         (csqrt_test_data): Likewise.
26071         (ctan_test_data): Likewise.
26072         (ctan_tonearest_test_data): Likewise.
26073         (ctan_towardzero_test_data): Likewise.
26074         (ctan_downward_test_data): Likewise.
26075         (ctan_upward_test_data): Likewise.
26076         (ctanh_test_data): Likewise.
26077         (ctanh_tonearest_test_data): Likewise.
26078         (ctanh_towardzero_test_data): Likewise.
26079         (ctanh_downward_test_data): Likewise.
26080         (ctanh_upward_test_data): Likewise.
26081         (erf_test_data): Likewise.
26082         (erfc_test_data): Likewise.
26083         (exp_test_data): Likewise.
26084         (exp_tonearest_test_data): Likewise.
26085         (exp_towardzero_test_data): Likewise.
26086         (exp_downward_test_data): Likewise.
26087         (exp_upward_test_data): Likewise.
26088         (exp10_test_data): Likewise.
26089         (exp2_test_data): Likewise.
26090         (expm1_test_data): Likewise.
26091         (fabs_test_data): Likewise.
26092         (fdim_test_data): Likewise.
26093         (finite_test_data): Likewise.
26094         (floor_test_data): Likewise.
26095         (fma_test_data): Likewise.
26096         (fma_towardzero_test_data): Likewise.
26097         (fma_downward_test_data): Likewise.
26098         (fma_upward_test_data): Likewise.
26099         (fmax_test_data): Likewise.
26100         (fmin_test_data): Likewise.
26101         (fmod_test_data): Likewise.
26102         (fpclassify_test_data): Likewise.
26103         (frexp_test_data): Likewise.
26104         (gamma_test_data): Likewise.
26105         (hypot_test_data): Likewise.
26106         (ilogb_test_data): Likewise.
26107         (isfinite_test_data): Likewise.
26108         (isgreater_test_data): Likewise.
26109         (isgreaterequal_test_data): Likewise.
26110         (isinf_test_data): Likewise.
26111         (isless_test_data): Likewise.
26112         (islessequal_test_data): Likewise.
26113         (islessgreater_test_data): Likewise.
26114         (isnan_test_data): Likewise.
26115         (isnormal_test_data): Likewise.
26116         (issignaling_test_data): Likewise.
26117         (isunordered_test_data): Likewise.
26118         (j0_test_data): Likewise.
26119         (j1_test_data): Likewise.
26120         (jn_test_data): Likewise.
26121         (ldexp_test_data): Likewise.
26122         (lgamma_test_data): Likewise.
26123         (lrint_test_data): Likewise.
26124         (lrint_tonearest_test_data): Likewise.
26125         (lrint_towardzero_test_data): Likewise.
26126         (lrint_downward_test_data): Likewise.
26127         (lrint_upward_test_data): Likewise.
26128         (llrint_test_data): Likewise.
26129         (llrint_tonearest_test_data): Likewise.
26130         (llrint_towardzero_test_data): Likewise.
26131         (llrint_downward_test_data): Likewise.
26132         (llrint_upward_test_data): Likewise.
26133         (log_test_data): Likewise.
26134         (log10_test_data): Likewise.
26135         (log1p_test_data): Likewise.
26136         (log2_test_data): Likewise.
26137         (logb_test_data): Likewise.
26138         (logb_downward_test_data): Likewise.
26139         (lround_test_data): Likewise.
26140         (llround_test_data): Likewise.
26141         (modf_test_data): Likewise.
26142         (nearbyint_test_data): Likewise.
26143         (nextafter_test_data): Likewise.
26144         (nexttoward_test_data): Likewise.
26145         (pow_test_data): Likewise.
26146         (pow_tonearest_test_data): Likewise.
26147         (pow_towardzero_test_data): Likewise.
26148         (pow_downward_test_data): Likewise.
26149         (pow_upward_test_data): Likewise.
26150         (remainder_test_data): Likewise.
26151         (remainder_tonearest_test_data): Likewise.
26152         (remainder_towardzero_test_data): Likewise.
26153         (remainder_downward_test_data): Likewise.
26154         (remainder_upward_test_data): Likewise.
26155         (remquo_test_data): Likewise.
26156         (rint_test_data): Likewise.
26157         (rint_tonearest_test_data): Likewise.
26158         (rint_towardzero_test_data): Likewise.
26159         (rint_downward_test_data): Likewise.
26160         (rint_upward_test_data): Likewise.
26161         (round_test_data): Likewise.
26162         (scalb_test_data): Likewise.
26163         (scalbn_test_data): Likewise.
26164         (scalbln_test_data): Likewise.
26165         (signbit_test_data): Likewise.
26166         (sin_test_data): Likewise.
26167         (sin_tonearest_test_data): Likewise.
26168         (sin_towardzero_test_data): Likewise.
26169         (sin_downward_test_data): Likewise.
26170         (sin_upward_test_data): Likewise.
26171         (sincos_test_data): Likewise.
26172         (sinh_test_data): Likewise.
26173         (sinh_tonearest_test_data): Likewise.
26174         (sinh_towardzero_test_data): Likewise.
26175         (sinh_downward_test_data): Likewise.
26176         (sinh_upward_test_data): Likewise.
26177         (sqrt_test_data): Likewise.
26178         (tan_test_data): Likewise.
26179         (tan_tonearest_test_data): Likewise.
26180         (tan_towardzero_test_data): Likewise.
26181         (tan_downward_test_data): Likewise.
26182         (tan_upward_test_data): Likewise.
26183         (tanh_test_data): Likewise.
26184         (tgamma_test_data): Likewise.
26185         (trunc_test_data): Likewise.
26186         (y0_test_data): Likewise.
26187         (y1_test_data): Likewise.
26188         (yn_test_data): Likewise.
26189         (significand_test_data): Likewise.
26191         * math/gen-libm-test.pl (@functions): Remove variable.
26192         (generate_testfile): Don't handle START and END lines.
26193         * math/libm-test.inc (START): New macro.
26194         (END): Likewise.
26195         (END_COMPLEX): Likewise.
26196         (acos_test): Use END macro without arguments.
26197         (acos_test_tonearest): Likewise.
26198         (acos_test_towardzero): Likewise.
26199         (acos_test_downward): Likewise.
26200         (acos_test_upward): Likewise.
26201         (acosh_test): Likewise.
26202         (asin_test): Likewise.
26203         (asin_test_tonearest): Likewise.
26204         (asin_test_towardzero): Likewise.
26205         (asin_test_downward): Likewise.
26206         (asin_test_upward): Likewise.
26207         (asinh_test): Likewise.
26208         (atan_test): Likewise.
26209         (atanh_test): Likewise.
26210         (atan2_test): Likewise.
26211         (cabs_test): Likewise.
26212         (cacos_test): Use END_COMPLEX macro without arguments.
26213         (cacosh_test): Likewise.
26214         (carg_test): Use END macro without arguments.
26215         (casin_test): Use END_COMPLEX macro without arguments.
26216         (casinh_test): Likewise.
26217         (catan_test): Likewise.
26218         (catanh_test): Likewise.
26219         (cbrt_test): Use END macro without arguments.
26220         (ccos_test): Use END_COMPLEX macro without arguments.
26221         (ccosh_test): Likewise.
26222         (ceil_test): Use END macro without arguments.
26223         (cexp_test): Use END_COMPLEX macro without arguments.
26224         (cimag_test): Use END macro without arguments.
26225         (clog_test): Use END_COMPLEX macro without arguments.
26226         (clog10_test): Likewise.
26227         (conj_test): Likewise.
26228         (copysign_test): Use END macro without arguments.
26229         (cos_test): Likewise.
26230         (cos_test_tonearest): Likewise.
26231         (cos_test_towardzero): Likewise.
26232         (cos_test_downward): Likewise.
26233         (cos_test_upward): Likewise.
26234         (cosh_test): Likewise.
26235         (cosh_test_tonearest): Likewise.
26236         (cosh_test_towardzero): Likewise.
26237         (cosh_test_downward): Likewise.
26238         (cosh_test_upward): Likewise.
26239         (cpow_test): Use END_COMPLEX macro without arguments.
26240         (cproj_test): Likewise.
26241         (creal_test): Use END macro without arguments.
26242         (csin_test): Use END_COMPLEX macro without arguments.
26243         (csinh_test): Likewise.
26244         (csqrt_test): Likewise.
26245         (ctan_test): Likewise.
26246         (ctan_test_tonearest): Likewise.
26247         (ctan_test_towardzero): Likewise.
26248         (ctan_test_downward): Likewise.
26249         (ctan_test_upward): Likewise.
26250         (ctanh_test): Likewise.
26251         (ctanh_test_tonearest): Likewise.
26252         (ctanh_test_towardzero): Likewise.
26253         (ctanh_test_downward): Likewise.
26254         (ctanh_test_upward): Likewise.
26255         (erf_test): Use END macro without arguments.
26256         (erfc_test): Likewise.
26257         (exp_test): Likewise.
26258         (exp_test_tonearest): Likewise.
26259         (exp_test_towardzero): Likewise.
26260         (exp_test_downward): Likewise.
26261         (exp_test_upward): Likewise.
26262         (exp10_test): Likewise.
26263         (exp2_test): Likewise.
26264         (expm1_test): Likewise.
26265         (fabs_test): Likewise.
26266         (fdim_test): Likewise.
26267         (finite_test): Likewise.
26268         (floor_test): Likewise.
26269         (fma_test): Likewise.
26270         (fma_test_towardzero): Likewise.
26271         (fma_test_downward): Likewise.
26272         (fma_test_upward): Likewise.
26273         (fmax_test): Likewise.
26274         (fmin_test): Likewise.
26275         (fmod_test): Likewise.
26276         (fpclassify_test): Likewise.
26277         (frexp_test): Likewise.
26278         (gamma_test): Likewise.
26279         (hypot_test): Likewise.
26280         (ilogb_test): Likewise.
26281         (isfinite_test): Likewise.
26282         (isgreater_test): Likewise.
26283         (isgreaterequal_test): Likewise.
26284         (isinf_test): Likewise.
26285         (isless_test): Likewise.
26286         (islessequal_test): Likewise.
26287         (islessgreater_test): Likewise.
26288         (isnan_test): Likewise.
26289         (isnormal_test): Likewise.
26290         (issignaling_test): Likewise.
26291         (isunordered_test): Likewise.
26292         (j0_test): Likewise.
26293         (j1_test): Likewise.
26294         (jn_test): Likewise.
26295         (ldexp_test): Likewise.
26296         (lgamma_test): Likewise.
26297         (lrint_test): Likewise.
26298         (lrint_test_tonearest): Likewise.
26299         (lrint_test_towardzero): Likewise.
26300         (lrint_test_downward): Likewise.
26301         (lrint_test_upward): Likewise.
26302         (llrint_test): Likewise.
26303         (llrint_test_tonearest): Likewise.
26304         (llrint_test_towardzero): Likewise.
26305         (llrint_test_downward): Likewise.
26306         (llrint_test_upward): Likewise.
26307         (log_test): Likewise.
26308         (log10_test): Likewise.
26309         (log1p_test): Likewise.
26310         (log2_test): Likewise.
26311         (logb_test): Likewise.
26312         (logb_test_downward): Likewise.
26313         (lround_test): Likewise.
26314         (llround_test): Likewise.
26315         (modf_test): Likewise.
26316         (nearbyint_test): Likewise.
26317         (nextafter_test): Likewise.
26318         (nexttoward_test): Likewise.
26319         (pow_test): Likewise.
26320         (pow_test_tonearest): Likewise.
26321         (pow_test_towardzero): Likewise.
26322         (pow_test_downward): Likewise.
26323         (pow_test_upward): Likewise.
26324         (remainder_test): Likewise.
26325         (remainder_test_tonearest): Likewise.
26326         (remainder_test_towardzero): Likewise.
26327         (remainder_test_downward): Likewise.
26328         (remainder_test_upward): Likewise.
26329         (remquo_test): Likewise.
26330         (rint_test): Likewise.
26331         (rint_test_tonearest): Likewise.
26332         (rint_test_towardzero): Likewise.
26333         (rint_test_downward): Likewise.
26334         (rint_test_upward): Likewise.
26335         (round_test): Likewise.
26336         (scalb_test): Likewise.
26337         (scalbn_test): Likewise.
26338         (scalbln_test): Likewise.
26339         (signbit_test): Likewise.
26340         (sin_test): Likewise.
26341         (sin_test_tonearest): Likewise.
26342         (sin_test_towardzero): Likewise.
26343         (sin_test_downward): Likewise.
26344         (sin_test_upward): Likewise.
26345         (sincos_test): Likewise.
26346         (sinh_test): Likewise.
26347         (sinh_test_tonearest): Likewise.
26348         (sinh_test_towardzero): Likewise.
26349         (sinh_test_downward): Likewise.
26350         (sinh_test_upward): Likewise.
26351         (sqrt_test): Likewise.
26352         (tan_test): Likewise.
26353         (tan_test_tonearest): Likewise.
26354         (tan_test_towardzero): Likewise.
26355         (tan_test_downward): Likewise.
26356         (tan_test_upward): Likewise.
26357         (tanh_test): Likewise.
26358         (tgamma_test): Likewise.
26359         (trunc_test): Likewise.
26360         (y0_test): Likewise.
26361         (y1_test): Likewise.
26362         (yn_test): Likewise.
26363         (significand_test): Likewise.
26365 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
26367         [BZ #15381]
26368         * libio/genops.c (_IO_no_init): Initialize wide struct info.
26370 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26372         [BZ #14894]
26373         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26374         __ppc_mdoio and __ppc_mdoom.
26375         * manual/platform.texi: Document new functions __ppc_yield,
26376         __ppc_mdoio and __ppc_mdoom.
26378 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
26380         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26381         (main): Mention "tls" pseudo-hwcap is legacy.
26382         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26384 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26386         * math/gen-libm-test.pl (parse_args): Output only string of
26387         arguments as text for test name, not full call or descriptions of
26388         tests for extra outputs.
26389         (generate_testfile): Do not pass function name to parse_args.
26390         Generate this_func variable from START.
26391         * math/libm-test.inc (struct test_f_f_data): Rename test_name
26392         field to arg_str.
26393         (struct test_ff_f_data): Likewise.
26394         (test_ff_f_data_nexttoward): Likewise.
26395         (struct test_fi_f_data): Likewise.
26396         (struct test_fl_f_data): Likewise.
26397         (struct test_if_f_data): Likewise.
26398         (struct test_fff_f_data): Likewise.
26399         (struct test_c_f_data): Likewise.
26400         (struct test_f_f1_data): Likewise.  Remove field extra_name.
26401         (struct test_fF_f1_data): Likewise.
26402         (struct test_ffI_f1_data): Likewise.
26403         (struct test_c_c_data): Rename test_name field to arg_str.
26404         (struct test_cc_c_data): Likewise.
26405         (struct test_f_i_data): Likewise.
26406         (struct test_ff_i_data): Likewise.
26407         (struct test_f_l_data): Likewise.
26408         (struct test_f_L_data): Likewise.
26409         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
26410         and extra2_name.
26411         (COMMON_TEST_SETUP): New macro.
26412         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26413         (COMMON_TEST_CLEANUP): Likewise.
26414         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26415         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
26416         macros.
26417         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26418         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
26419         macros.
26420         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26421         (RUN_TEST_fff_f): Take argument string.  Call new setup and
26422         cleanup macros.
26423         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26424         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
26425         macros.
26426         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26427         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
26428         macros.
26429         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26430         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
26431         cleanup macros.
26432         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26433         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
26434         cleanup macros.
26435         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26436         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
26437         cleanup macros.
26438         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26439         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
26440         macros.
26441         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26442         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
26443         macros.
26444         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26445         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
26446         macros.
26447         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26448         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
26449         cleanup macros.
26450         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26451         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
26452         cleanup macros.
26453         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26454         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
26455         macros.
26456         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26457         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
26458         cleanup macros.
26459         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26460         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
26461         macros.
26462         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26463         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
26464         macros.
26465         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26466         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
26467         cleanup macros.
26468         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26470 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
26472         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26473         to _sifields.sigfault.
26474         (si_addr_lsb): Define new macro.
26475         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26476         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26477         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26479 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
26481         [BZ #15441]
26482         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26483         returns -1.
26484         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26485         null return -1.
26486         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26487         loading the domain.
26489 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26491         * math/gen-libm-test.pl (parse_args): Do not include expected
26492         result in test name.
26493         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26494         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26495         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26496         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26497         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26500 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26502         * benchtests/Makefile: Sort function entries.
26504         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26505         tanh, asinh, acosh, atanh.
26506         * benchtests/acos-inputs: New file.
26507         * benchtests/acosh-inputs: New file.
26508         * benchtests/asin-inputs: New file.
26509         * benchtests/asinh-inputs: New file.
26510         * benchtests/atanh-inputs: New file.
26511         * benchtests/cosh-inputs: New file.
26512         * benchtests/log-inputs: New file.
26513         * benchtests/sinh-inputs: New file.
26514         * benchtests/tanh-inputs: New file.
26516 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
26518         [BZ #15339]
26519         * posix/tst-getaddrinfo4.c: New test.
26520         * posix/Makefile (tests): Add it.
26522 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26524         [BZ #15339]
26525         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26526         when no services were used.
26527         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26528         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26530 2013-05-21  Andreas Schwab  <schwab@suse.de>
26532         [BZ #15014]
26533         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26534         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26535         successful.
26536         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26537         redundant variable declarations and reallocation of buffer when
26538         parsing as IPv6 address.  Always set NSS status when called from
26539         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
26540         buffer too small.  Correct computation of needed size.
26541         * nss/Makefile (tests): Add test-digits-dots.
26542         * nss/test-digits-dots.c: New test.
26544 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26546         * benchtests/Makefile: Remove instructions for adding
26547         benchmark tests.
26548         * benchtests/README: New file to explain how to execute and
26549         enhance the benchmark tests.
26551 2013-05-21  Andreas Schwab  <schwab@suse.de>
26553         [BZ #15493]
26554         * setjmp/Makefile (tests): Add tst-sigsetjmp.
26555         * setjmp/tst-sigsetjmp.c: New test.
26557 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26559         * sysdeps/x86_64/memset.S (memset): New implementation.
26560         (__bzero): Likewise.
26561         (__memset_tail): New function.
26563 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26565         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26566         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26567         __memcpy_sse2_unaligned ifunc selection.
26568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26569         Add memcpy-sse2-unaligned.S.
26570         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26571         Add: __memcpy_sse2_unaligned.
26573 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
26575         [BZ #15490]
26576         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26577         math_force_eval before restoring floating-point envrionment.
26578         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26579         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26580         Likewise.
26581         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26582         <math_private.h>.
26583         (__nearbyintl): Use math_force_eval before restoring
26584         floating-point environment.
26585         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26587         * math/gen-libm-test.pl (special_functions): Remove.
26588         (parse_args): Don't handle TEST_extra.  Handle functions with no
26589         return value.
26590         * math/libm-test.inc (struct test_sincos_data): Replace with
26591         struct test_fFF_11_data.
26592         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26593         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26594         (sincos_test_data): Change element type to struct
26595         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
26596         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26597         RUN_TEST_LOOP_sincos.
26598         * math/README.libm-test: Don't mention special handling of
26599         individual functions.
26600         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26601         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26602         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26603         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26604         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26607         * math/gen-libm-test.pl (get_variable): Remove function.
26608         (parse_args): Don't show pointer parameters to call in test
26609         names.  Use "extra output N" in test names for extra outputs
26610         rather than naming variables.
26612 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
26614         [BZ #15488]
26615         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26616         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26617         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26618         double tests.
26619         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26620         disable.
26621         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26622         check_long_double.
26624         * math/gen-libm-test.pl (@tests): Remove variable.
26625         ($count): Likewise.
26626         (new_test): Remove function.
26627         (show_exceptions): New function.
26628         (special_functions): Use show_exceptions instead of new_test.
26629         (parse_args): Likewise.
26630         (generate_testfile): Pass only function name in generated call to
26631         print_max_error or print_complex_max_error.
26632         (get_ulps): Do not handle complex tests specially.
26633         (output_test): Rename to ...
26634         (get_all_ulps_for_test): ... this.  Return a string rather than
26635         printing to a file.  Require ulps to be present.
26636         (output_ulps): Generate arrays rather than #defines.
26637         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26638         (struct ulp_data): New type.
26639         (BUILD_COMPLEX_ULP): Remove macro.
26640         (compare_ulp_data): New function.
26641         (find_ulps): Likewise.
26642         (find_test_ulps): Likewise.
26643         (find_function_ulps): Likewise.
26644         (find_complex_function_ulps): Likewise.
26645         (print_max_error): Determine allowed ulps using
26646         find_function_ulps.
26647         (print_complex_max_error): Determine allowed ulps using
26648         find_complex_function_ulps.
26649         (check_float_internal): Determine max ulps using find_test_ulps.
26650         (check_float): Do not take max_ulp parameter.  Update call to
26651         check_float_internal.
26652         (check_complex): Likewise.
26653         (check_int): Do not take max_ulp parameter.
26654         (check_long): Likewise.
26655         (check_bool): Likewise.
26656         (check_longlong): Likewise.
26657         (struct test_f_f_data): Remove max_ulp field.
26658         (struct test_ff_f_data): Likewise.
26659         (struct test_ff_f_data_nexttoward): Likewise.
26660         (struct test_fi_f_data): Likewise.
26661         (struct test_fl_f_data): Likewise.
26662         (struct test_if_f_data): Likewise.
26663         (struct test_fff_f_data): Likewise.
26664         (struct test_c_f_data): Likewise.
26665         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26666         (struct test_fF_f1_data): Likewise.
26667         (struct test_ffI_f1_data): Likewise.
26668         (struct test_c_c_data): Remove max_ulp field.
26669         (struct test_cc_c_data): Likewise.
26670         (struct test_f_i_data): Likewise.
26671         (struct test_ff_i_data): Likewise.
26672         (struct test_f_l_data): Likewise.
26673         (struct test_f_L_data): Likewise.
26674         (struct test_sincos_data): Likewise.
26675         (RUN_TEST_f_f): Do not handle ulps.
26676         (RUN_TEST_LOOP_f_f): Likewise.
26677         (RUN_TEST_2_f): Likewise.
26678         (RUN_TEST_LOOP_2_f): Likewise.
26679         (RUN_TEST_fff_f): Likewise.
26680         (RUN_TEST_LOOP_fff_f): Likewise.
26681         (RUN_TEST_c_f): Likewise.
26682         (RUN_TEST_LOOP_c_f): Likewise.
26683         (RUN_TEST_f_f1): Likewise.
26684         (RUN_TEST_LOOP_f_f1): Likewise.
26685         (RUN_TEST_fF_f1): Likewise.
26686         (RUN_TEST_LOOP_fF_f1): Likewise.
26687         (RUN_TEST_fI_f1): Likewise.
26688         (RUN_TEST_LOOP_fI_f1): Likewise.
26689         (RUN_TEST_ffI_f1): Likewise.
26690         (RUN_TEST_LOOP_ffI_f1): Likewise.
26691         (RUN_TEST_c_c): Likewise.
26692         (RUN_TEST_LOOP_c_c): Likewise.
26693         (RUN_TEST_cc_c): Likewise.
26694         (RUN_TEST_LOOP_cc_c): Likewise.
26695         (RUN_TEST_f_i): Likewise.
26696         (RUN_TEST_LOOP_f_i): Likewise.
26697         (RUN_TEST_f_i_tg): Likewise.
26698         (RUN_TEST_LOOP_f_i_tg): Likewise.
26699         (RUN_TEST_ff_i_tg): Likewise.
26700         (RUN_TEST_LOOP_ff_i_tg): Likewise.
26701         (RUN_TEST_f_b): Likewise.
26702         (RUN_TEST_LOOP_f_b): Likewise.
26703         (RUN_TEST_f_b_tg): Likewise.
26704         (RUN_TEST_LOOP_f_b_tg): Likewise.
26705         (RUN_TEST_f_l): Likewise.
26706         (RUN_TEST_LOOP_f_l): Likewise.
26707         (RUN_TEST_f_L): Likewise.
26708         (RUN_TEST_LOOP_f_L): Likewise.
26709         (RUN_TEST_sincos): Likewise.
26710         (RUN_TEST_LOOP_sincos): Likewise.
26712 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
26714         [BZ #15480]
26715         [BZ #15485]
26716         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26717         main case of finite arguments, set rounding mode to FE_TONEAREST
26718         and discard exceptions.
26719         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26720         exceptions.
26721         (remainder_tonearest_test_data): New variable.
26722         (remainder_test_tonearest): New function.
26723         (remainder_towardzero_test_data): New variable.
26724         (remainder_test_towardzero): New function.
26725         (remainder_downward_test_data): New variable.
26726         (remainder_test_downward): New function.
26727         (remainder_upward_test_data): New variable.
26728         (remainder_test_upward): New function.
26729         (main): Call the new test functions.
26731         * math/libm-test.inc (struct test_f_f1_data): Remove field
26732         extra_init.
26733         (struct test_fF_f1_data): Likewise.
26734         (struct test_ffI_f1_data): Likewise.
26735         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
26736         based on value of EXTRA_EXPECTED.
26737         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26738         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
26739         EXTRA_VAR based on value of EXTRA_EXPECTED.
26740         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26741         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
26742         EXTRA_VAR based on value of EXTRA_EXPECTED.
26743         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26744         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
26745         EXTRA_VAR based on value of EXTRA_EXPECTED.
26746         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26747         * math/gen-libm-test.pl (parse_args): Don't output initializers
26748         for extra output values.
26750         * math/libm-test.inc (check_int): Expect result to be exactly
26751         equal to expected value and do not handle ulps.
26752         (check_long): Likewise.
26753         (check_longlong): Likewise.
26755         * math/libm-test.inc (ceil_test_data): Test for "inexact"
26756         exceptions.
26757         (cimag_test_data): Likewise.
26758         (conj_test_data): Likewise.
26759         (copysign_test_data): Likewise.
26760         (cproj_test_data): Likewise.
26761         (creal_test_data): Likewise.
26762         (fabs_test_data): Likewise.
26763         (fdim_test_data): Likewise.
26764         (finite_test_data): Likewise.
26765         (floor_test_data): Likewise.
26766         (fmax_test_data): Likewise.
26767         (fmin_test_data): Likewise.
26768         (fmod_test_data): Likewise.
26769         (fpclassify_test_data): Likewise.
26770         (frexp_test_data): Likewise.
26771         (ilogb_test_data): Likewise.
26772         (isfinite_test_data): Likewise.
26773         (isgreater_test_data): Likewise.
26774         (isgreaterequal_test_data): Likewise.
26775         (isinf_test_data): Likewise.
26776         (isless_test_data): Likewise.
26777         (islessequal_test_data): Likewise.
26778         (islessgreater_test_data): Likewise.
26779         (isnan_test_data): Likewise.
26780         (isnormal_test_data): Likewise.
26781         (issignaling_test_data): Likewise.
26782         (isunordered_test_data): Likewise.
26783         (ldexp_test_data): Likewise.
26784         (lrint_test_data): Likewise.
26785         (lrint_test_data) [TEST_FLOAT]: Disable one test.
26786         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26787         (lrint_tonearest_test_data): Test for "inexact" exceptions.
26788         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26789         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26790         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26791         test input.
26792         (lrint_towardzero_test_data): Test for "inexact" exceptions.
26793         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26794         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26795         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26796         that test input.
26797         (lrint_downward_test_data): Test for "inexact" exceptions.
26798         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26799         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26800         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26801         test input.
26802         (lrint_upward_test_data): Test for "inexact" exceptions.
26803         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26804         test input.
26805         (llrint_test_data): Test for "inexact" exceptions.
26806         (llrint_test_data) [TEST_FLOAT]: Disable one test.
26807         (llrint_tonearest_test_data): Test for "inexact" exceptions.
26808         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26809         (llrint_towardzero_test_data): Test for "inexact" exceptions.
26810         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26811         (llrint_downward_test_data): Test for "inexact" exceptions.
26812         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26813         (llrint_upward_test_data): Test for "inexact" exceptions.
26814         (logb_test_data): Likewise.
26815         (logb_downward_test_data): Likewise.
26816         (nextafter_test_data): Likewise.
26817         (nexttoward_test_data): Likewise.
26818         (remainder_test_data): Likewise.
26819         (remquo_test_data): Likewise.
26820         (scalbn_test_data): Likewise.
26821         (scalbln_test_data): Likewise.
26822         (signbit_test_data): Likewise.
26823         (sqrt_test_data): Likewise.
26824         (significand_test_data): Likewise.
26826 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26828         [BZ #15424]
26829         * benchtests/bench-modf.c (struct args): Mark arg0 as
26830         volatile.
26831         * scripts/bench.pl: Mark members of struct args as volatile.
26833 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26835         [BZ # 15497]
26836         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26837         negative infinity on POWER6 or lower.
26838         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26840 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26842         [BZ #15442]
26843         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26844         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26845         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26846         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26847         (_FP_SETQNAN): New macro.
26848         (_FP_SETQNAN_SEMIRAW): Likewise.
26849         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26850         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26851         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26852         (FP_EXTEND): Use _FP_FRAC_SNANP.
26853         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26854         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26855         into account.
26856         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26857         New macro.
26858         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26859         Likewise.
26861 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26863         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26864         with DIVIDE_BY_ZERO_EXCEPTION.
26865         (gamma_test_data): Likewise.
26866         (lgamma_test_data): Likewise.
26867         (log_test_data): Likewise.
26868         (log10_test_data): Likewise.
26869         (log2_test_data): Likewise.
26870         (tgamma_test_data): Likewise.
26872         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26873         (acos_test_tonearest): Likewise.
26874         (acos_test_towardzero): Likewise.
26875         (acos_test_downward): Likewise.
26876         (acos_test_upward): Likewise.
26877         (acosh_test): Likewise.
26878         (asin_test): Likewise.
26879         (asin_test_tonearest): Likewise.
26880         (asin_test_towardzero): Likewise.
26881         (asin_test_downward): Likewise.
26882         (asin_test_upward): Likewise.
26883         (asinh_test): Likewise.
26884         (atan_test): Likewise.
26885         (atanh_test): Likewise.
26886         (atan2_test): Likewise.
26887         (cabs_test): Likewise.
26888         (cacos_test): Likewise.
26889         (cacosh_test): Likewise.
26890         (casin_test): Likewise.
26891         (casinh_test): Likewise.
26892         (catan_test): Likewise.
26893         (catanh_test): Likewise.
26894         (cbrt_test): Likewise.
26895         (ccos_test): Likewise.
26896         (ccosh_test): Likewise.
26897         (cexp_test): Likewise.
26898         (clog_test): Likewise.
26899         (clog10_test): Likewise.
26900         (cos_test): Likewise.
26901         (cos_test_tonearest): Likewise.
26902         (cos_test_towardzero): Likewise.
26903         (cos_test_downward): Likewise.
26904         (cos_test_upward): Likewise.
26905         (cosh_test): Likewise.
26906         (cosh_test_tonearest): Likewise.
26907         (cosh_test_towardzero): Likewise.
26908         (cosh_test_downward): Likewise.
26909         (cosh_test_upward): Likewise.
26910         (cpow_test): Likewise.
26911         (csin_test): Likewise.
26912         (csinh_test): Likewise.
26913         (csqrt_test): Likewise.
26914         (ctan_test): Likewise.
26915         (ctan_test_tonearest): Likewise.
26916         (ctan_test_towardzero): Likewise.
26917         (ctan_test_downward): Likewise.
26918         (ctan_test_upward): Likewise.
26919         (ctanh_test): Likewise.
26920         (ctanh_test_tonearest): Likewise.
26921         (ctanh_test_towardzero): Likewise.
26922         (ctanh_test_downward): Likewise.
26923         (ctanh_test_upward): Likewise.
26924         (erf_test): Likewise.
26925         (erfc_test): Likewise.
26926         (exp_test): Likewise.
26927         (exp_test_tonearest): Likewise.
26928         (exp_test_towardzero): Likewise.
26929         (exp_test_downward): Likewise.
26930         (exp_test_upward): Likewise.
26931         (exp10_test): Likewise.
26932         (exp2_test): Likewise.
26933         (expm1_test): Likewise.
26934         (fmod_test): Likewise.
26935         (gamma_test): Likewise.
26936         (hypot_test): Likewise.
26937         (j0_test): Likewise.
26938         (j1_test): Likewise.
26939         (jn_test): Likewise.
26940         (lgamma_test): Likewise.
26941         (log_test): Likewise.
26942         (log10_test): Likewise.
26943         (log1p_test): Likewise.
26944         (log2_test): Likewise.
26945         (logb_test_downward): Likewise.
26946         (pow_test): Likewise.
26947         (pow_test_tonearest): Likewise.
26948         (pow_test_towardzero): Likewise.
26949         (pow_test_downward): Likewise.
26950         (pow_test_upward): Likewise.
26951         (remainder_test): Likewise.
26952         (remquo_test): Likewise.
26953         (sin_test): Likewise.
26954         (sin_test_tonearest): Likewise.
26955         (sin_test_towardzero): Likewise.
26956         (sin_test_downward): Likewise.
26957         (sin_test_upward): Likewise.
26958         (sincos_test): Likewise.
26959         (sinh_test): Likewise.
26960         (sinh_test_tonearest): Likewise.
26961         (sinh_test_towardzero): Likewise.
26962         (sinh_test_downward): Likewise.
26963         (sinh_test_upward): Likewise.
26964         (sqrt_test): Likewise.
26965         (tan_test): Likewise.
26966         (tan_test_tonearest): Likewise.
26967         (tan_test_towardzero): Likewise.
26968         (tan_test_downward): Likewise.
26969         (tan_test_upward): Likewise.
26970         (tanh_test): Likewise.
26971         (tgamma_test): Likewise.
26972         (y0_test): Likewise.
26973         (y1_test): Likewise.
26974         (yn_test): Likewise.
26976         * math/gen-libm-test.pl (adjust_arg): Remove function.
26977         (special_function): Remove argument $in_func.  Only handle
26978         generating output for tables of tests, not inside functions.
26979         (parse_args): Likewise.
26980         (generate_testfile): Remove variable $in_func.  Update call to
26981         parse_args.
26982         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26983         (MINUS_ZERO_INIT): Rename macro to minus_zero.
26984         (PLUS_INFTY_INIT): Rename macro to plus_infty.
26985         (MINUS_INFTY_INIT): Rename macro to minus_infty.
26986         (QNAN_VALUE_INIT): Rename macro to qnan_value.
26987         (MAX_VALUE_INIT): Rename macro to max_value.
26988         (MIN_VALUE_INIT): Rename macro to min_value.
26989         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26990         (plus_zero): Remove variable.
26991         (minus_zero): Likewise.
26992         (plus_infty): Likewise.
26993         (minus_infty): Likewise.
26994         (qnan_value): Likewise.
26995         (max_value): Likewise.
26996         (min_value): Likewise.
26997         (min_subnorm_value): Likewise.
26999 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27001         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27002         uint64_t or uint32_t usage.
27003         * crypt/sha256-block.c: Likewise.
27004         * crypt/sha256-crypt.c: Likewise.
27005         * crypt/sha256.c: Likewise.
27006         * crypt/sha512-block.c: Likewise.
27007         * crypt/sha512-crypt.c: Likewise.
27008         * crypt/sha512.c: Likewise.
27009         * debug/backtrace-tst.c: Likewise.
27010         * debug/pcprofiledump.c: Likewise.
27011         * elf/cache.c: Likewise.
27012         * elf/dl-cache.c: Likewise.
27013         * elf/dl-misc.c: Likewise.
27014         * elf/dl-profile.c: Likewise.
27015         * elf/dl-support.c: Likewise.
27016         * elf/ldconfig.c: Likewise.
27017         * elf/sprof.c: Likewise.
27018         * iconv/dummy-repertoire.c: Likewise.
27019         * iconv/iconv_charmap.c: Likewise.
27020         * iconv/skeleton.c: Likewise.
27021         * iconvdata/8bit-generic.c: Likewise.
27022         * iconvdata/cp737.h: Likewise.
27023         * iconvdata/cp775.h: Likewise.
27024         * iconvdata/ibm1008.h: Likewise.
27025         * iconvdata/ibm1025.h: Likewise.
27026         * iconvdata/ibm1046.h: Likewise.
27027         * iconvdata/ibm1097.h: Likewise.
27028         * iconvdata/ibm1112.h: Likewise.
27029         * iconvdata/ibm1122.h: Likewise.
27030         * iconvdata/ibm1123.h: Likewise.
27031         * iconvdata/ibm1124.h: Likewise.
27032         * iconvdata/ibm1129.h: Likewise.
27033         * iconvdata/ibm1130.h: Likewise.
27034         * iconvdata/ibm1132.h: Likewise.
27035         * iconvdata/ibm1133.h: Likewise.
27036         * iconvdata/ibm1137.h: Likewise.
27037         * iconvdata/ibm1140.h: Likewise.
27038         * iconvdata/ibm1141.h: Likewise.
27039         * iconvdata/ibm1142.h: Likewise.
27040         * iconvdata/ibm1143.h: Likewise.
27041         * iconvdata/ibm1144.h: Likewise.
27042         * iconvdata/ibm1145.h: Likewise.
27043         * iconvdata/ibm1146.h: Likewise.
27044         * iconvdata/ibm1147.h: Likewise.
27045         * iconvdata/ibm1148.h: Likewise.
27046         * iconvdata/ibm1149.h: Likewise.
27047         * iconvdata/ibm1153.h: Likewise.
27048         * iconvdata/ibm1154.h: Likewise.
27049         * iconvdata/ibm1155.h: Likewise.
27050         * iconvdata/ibm1156.h: Likewise.
27051         * iconvdata/ibm1157.h: Likewise.
27052         * iconvdata/ibm1158.h: Likewise.
27053         * iconvdata/ibm1160.h: Likewise.
27054         * iconvdata/ibm1161.h: Likewise.
27055         * iconvdata/ibm1162.h: Likewise.
27056         * iconvdata/ibm1163.h: Likewise.
27057         * iconvdata/ibm1164.h: Likewise.
27058         * iconvdata/ibm1166.h: Likewise.
27059         * iconvdata/ibm1167.h: Likewise.
27060         * iconvdata/ibm12712.h: Likewise.
27061         * iconvdata/ibm1390.h: Likewise.
27062         * iconvdata/ibm1399.h: Likewise.
27063         * iconvdata/ibm16804.h: Likewise.
27064         * iconvdata/ibm4517.h: Likewise.
27065         * iconvdata/ibm4899.h: Likewise.
27066         * iconvdata/ibm4909.h: Likewise.
27067         * iconvdata/ibm4971.h: Likewise.
27068         * iconvdata/ibm5347.h: Likewise.
27069         * iconvdata/ibm803.h: Likewise.
27070         * iconvdata/ibm856.h: Likewise.
27071         * iconvdata/ibm901.h: Likewise.
27072         * iconvdata/ibm902.h: Likewise.
27073         * iconvdata/ibm9030.h: Likewise.
27074         * iconvdata/ibm9066.h: Likewise.
27075         * iconvdata/ibm921.h: Likewise.
27076         * iconvdata/ibm922.h: Likewise.
27077         * iconvdata/ibm9448.h: Likewise.
27078         * iconvdata/isiri-3342.h: Likewise.
27079         * iconvdata/jis0201.h: Likewise.
27080         * include/link.h: Likewise.
27081         * include/netdb.h: Likewise.
27082         * inet/check_native.c: Likewise.
27083         * inet/check_pf.c: Likewise.
27084         * inet/getipv4sourcefilter.c: Likewise.
27085         * inet/getnameinfo.c: Likewise.
27086         * inet/getsourcefilter.c: Likewise.
27087         * inet/htonl.c: Likewise.
27088         * inet/setipv4sourcefilter.c: Likewise.
27089         * inet/setsourcefilter.c: Likewise.
27090         * inet/test-inet6_opt.c: Likewise.
27091         * inet/tst-network.c: Likewise.
27092         * locale/C-collate.c: Likewise.
27093         * locale/C-ctype.c: Likewise.
27094         * locale/C-time.c: Likewise.
27095         * locale/C-translit.h: Likewise.
27096         * locale/loadarchive.c: Likewise.
27097         * locale/programs/3level.h: Likewise.
27098         * locale/programs/charmap.c: Likewise.
27099         * locale/programs/charmap.h: Likewise.
27100         * locale/programs/ld-address.c: Likewise.
27101         * locale/programs/ld-collate.c: Likewise.
27102         * locale/programs/ld-ctype.c: Likewise.
27103         * locale/programs/ld-identification.c: Likewise.
27104         * locale/programs/ld-measurement.c: Likewise.
27105         * locale/programs/ld-messages.c: Likewise.
27106         * locale/programs/ld-monetary.c: Likewise.
27107         * locale/programs/ld-name.c: Likewise.
27108         * locale/programs/ld-numeric.c: Likewise.
27109         * locale/programs/ld-paper.c: Likewise.
27110         * locale/programs/ld-telephone.c: Likewise.
27111         * locale/programs/ld-time.c: Likewise.
27112         * locale/programs/linereader.c: Likewise.
27113         * locale/programs/locale.c: Likewise.
27114         * locale/programs/locarchive.c: Likewise.
27115         * locale/programs/locfile.h: Likewise.
27116         * locale/programs/repertoire.c: Likewise.
27117         * locale/programs/simple-hash.c: Likewise.
27118         * locale/programs/simple-hash.h: Likewise.
27119         * malloc/memusage.c: Likewise.
27120         * malloc/memusagestat.c: Likewise.
27121         * nis/nis_defaults.c: Likewise.
27122         * nis/nis_hash.c: Likewise.
27123         * nis/nis_print.c: Likewise.
27124         * nis/nis_xdr.c: Likewise.
27125         * nscd/connections.c: Likewise.
27126         * nscd/hstcache.c: Likewise.
27127         * nscd/nscd_gethst_r.c: Likewise.
27128         * nscd/nscd_getserv_r.c: Likewise.
27129         * nscd/nscd_helper.c: Likewise.
27130         * nscd/servicescache.c: Likewise.
27131         * nss/makedb.c: Likewise.
27132         * nss/nss_db/db-XXX.c: Likewise.
27133         * nss/nss_db/db-initgroups.c: Likewise.
27134         * nss/nss_db/db-netgrp.c: Likewise.
27135         * nss/nss_files/files-network.c: Likewise.
27136         * nss/nss_files/files-parse.c: Likewise.
27137         * posix/bug-regex5.c: Likewise.
27138         * posix/fnmatch_loop.c: Likewise.
27139         * posix/regcomp.c: Likewise.
27140         * posix/regexec.c: Likewise.
27141         * posix/tst-rfc3484-2.c: Likewise.
27142         * posix/tst-rfc3484-3.c: Likewise.
27143         * posix/tst-rfc3484.c: Likewise.
27144         * resolv/nss_dns/dns-canon.c: Likewise.
27145         * resolv/nss_dns/dns-network.c: Likewise.
27146         * resolv/res_init.c: Likewise.
27147         * resolv/res_mkquery.c: Likewise.
27148         * resolv/tst-aton.c: Likewise.
27149         * stdlib/cxa_atexit.c: Likewise.
27150         * stdlib/cxa_finalize.c: Likewise.
27151         * stdlib/gen-fpioconst.c: Likewise.
27152         * stdlib/strtol_l.c: Likewise.
27153         * string/tst-endian.c: Likewise.
27154         * sunrpc/auth_des.c: Likewise.
27155         * sunrpc/clnt_udp.c: Likewise.
27156         * sunrpc/rtime.c: Likewise.
27157         * sunrpc/svcauth_des.c: Likewise.
27158         * sunrpc/xdr.c: Likewise.
27159         * sunrpc/xdr_intXX_t.c: Likewise.
27160         * sunrpc/xdr_rec.c: Likewise.
27161         * sysdeps/generic/ldconfig.h: Likewise.
27162         * sysdeps/generic/ldsodefs.h: Likewise.
27163         * sysdeps/generic/memusage.h: Likewise.
27164         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27165         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27166         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27167         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27168         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27169         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27170         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27171         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27172         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27173         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27174         * sysdeps/posix/getaddrinfo.c: Likewise.
27175         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27176         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27177         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27178         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27179         * sysdeps/powerpc/test-gettimebase.c: Likewise.
27180         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27181         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27182         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27183         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27184         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27185         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27186         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27187         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27188         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27189         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27190         * sysdeps/x86_64/dl-tls.h: Likewise.
27191         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27192         * time/alt_digit.c: Likewise.
27193         * time/era.c: Likewise.
27194         * wcsmbs/tst-c16c32-1.c: Likewise.
27196 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27198         * math/libm-test.inc (struct test_sincos_data): New type.
27199         (RUN_TEST_LOOP_sincos): New macro.
27200         (sincos_test_data): New variable.
27201         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27203 2013-05-16  Richard Henderson  <rth@redhat.com>
27205         * math/atest-exp2.c (LIMB64): New macro.
27206         (CONSTSZ): New macro.
27207         (mp_exp1, mp_exp_m1, mp_log2): New variables.
27208         (hexdig): Move ...
27209         (print_mpn_fp): ... to function scope.
27210         (read_mpn_hex): Remove.
27211         (get_log2): Remove.
27212         (exp2_mpn): Use mp_log2.
27213         (main): Use mp_exp1.
27215 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27217         * math/libm-test.inc: Remove comment about not testing "inexact"
27218         exceptions.
27219         (INEXACT_EXCEPTION): New macro.
27220         (NO_INEXACT_EXCEPTION): Likewise.
27221         (INVALID_EXCEPTION_OK): Update value.
27222         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27223         (OVERFLOW_EXCEPTION_OK): Likewise.
27224         (UNDERFLOW_EXCEPTION_OK): Likewise.
27225         (IGNORE_ZERO_INF_SIGN): Likewise.
27226         (ERRNO_UNCHANGED): Likewise.
27227         (ERRNO_EDOM): Likewise.
27228         (ERRNO_ERANGE): Likewise.
27229         (test_exceptions): Handle testing "inexact" exceptions.
27230         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27231         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27232         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27233         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27234         INEXACT_EXCEPTION.
27235         (rint_towardzero_test_data): Likewise.
27236         (rint_downward_test_data): Likewise.
27237         (rint_upward_test_data): Likewise.
27239         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27240         with OVERFLOW_EXCEPTION.
27241         (exp10_test_data): Likewise.
27242         (exp2_test_data): Likewise.
27243         (expm1_test_data): Likewise.
27244         (lgamma_test_data): Likewise.
27245         (pow_test_data): Likewise.
27246         (tgamma_test_data): Likewise.
27247         (yn_test_data): Remove duplicate test of overflow.
27249         * math/libm-test.inc (struct test_cc_c_data): New type.
27250         (RUN_TEST_LOOP_cc_c): New macro.
27251         (cpow_test_data): New variable.
27252         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27254         * math/libm-test.inc (struct test_f_L_data): New type.
27255         (RUN_TEST_LOOP_f_L): New macro.
27256         (llrint_test_data): New variable.
27257         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27258         (llrint_tonearest_test_data): New variable.
27259         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27260         (llrint_towardzero_test_data): New variable.
27261         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27262         (llrint_downward_test_data): New variable.
27263         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27264         (llrint_upward_test_data): New variable.
27265         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27266         (llround_test_data): New variable.
27267         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27269 2013-05-13  Peter Collingbourne  <pcc@google.com>
27271         * math/atest-exp2.c (get_log2): Remove const attribute.
27273 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27275         * math/libm-test.inc (struct test_f_l_data): New type.
27276         (RUN_TEST_LOOP_f_l): New macro.
27277         (lrint_test_data): New variable.
27278         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27279         (lrint_tonearest_test_data): New variable.
27280         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27281         (lrint_towardzero_test_data): New variable.
27282         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27283         (lrint_downward_test_data): New variable.
27284         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27285         (lrint_upward_test_data): New variable.
27286         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27287         (lround_test_data): New variable.
27288         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27290 2013-05-15  Peter Collingbourne  <pcc@google.com>
27292         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27293         (EXTRACT_WORDS64) Use where appropriate.
27294         (INSERT_WORDS64) Likewise.
27296         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27297         constraints with x constraints.
27298         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27300         * malloc/obstack.c (_obstack_compat): Add initializer.
27302 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27304         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27305         si_trapno and add si_addr_lsb to _sifields.sigfault.
27306         (si_trapno): Remove macro.
27307         (si_addr_lsb): Define new macro.
27308         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27310 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27312         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27313         instead of TEST_f_l.
27314         (llrint_test_tonearest): Likewise.
27315         (llrint_test_towardzero): Likewise.
27316         (llrint_test_downward): Likewise.
27317         (llrint_test_upward): Likewise.
27318         (llround_test): Likewise.
27320         * math/libm-test.inc (struct test_f_i_data): Add comment.
27321         (RUN_TEST_LOOP_f_b): New macro.
27322         (RUN_TEST_LOOP_f_b_tg): Likewise.
27323         (finite_test_data): New variable.
27324         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27325         (isfinite_test_data): New variable.
27326         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27327         (isinf_test_data): New variable.
27328         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27329         (isnan_test_data): New variable.
27330         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27331         (isnormal_test_data): New variable.
27332         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27333         (issignaling_test_data): New variable.
27334         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27335         (signbit_test_data): New variable.
27336         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27338         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27339         with INVALID_EXCEPTION.
27340         (acosh_test_data): Likewise.
27341         (asin_test_data): Likewise.
27342         (atanh_test_data): Likewise.
27343         (fmod_test_data): Likewise.
27344         (log_test_data): Likewise.
27345         (log10_test_data): Likewise.
27346         (log2_test_data): Likewise.
27347         (pow_test_data): Likewise.
27348         (sqrt_test_data): Likewise.
27349         (y0_test_data): Likewise.
27350         (y1_test_data): Likewise.
27351         (yn_test_data): Likewise.
27353         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27354         function contents.
27356         * math/libm-test.inc (struct test_ff_i_data): New type.
27357         (RUN_TEST_LOOP_ff_i_tg): New macro.
27358         (isgreater_test_data): New variable.
27359         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27360         (isgreaterequal_test_data): New variable.
27361         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27362         (isless_test_data): New variable.
27363         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27364         (islessequal_test_data): New variable.
27365         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27366         (islessgreater_test_data): New variable.
27367         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27368         (isunordered_test_data): New variable.
27369         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27371 2013-05-14  David S. Miller  <davem@davemloft.net>
27373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27375 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
27377         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27379         * math/libm-test.inc (struct test_fF_f1_data): Change type of
27380         extra_test to int.
27381         (struct test_f_i_data): Change type of max_ulp to int.
27383         * math/libm-test.inc (test_ffI_f1_data): New type.
27384         (RUN_TEST_LOOP_ffI_f1): New macro.
27385         (remquo_test_data): New variable.
27386         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27388         * setjmp/tst-setjmp-fp.c: New file.
27389         * setjmp/Makefile (tests): Add tst-setjmp-fp.
27390         (link-libm): New variable.
27391         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27393         * math/libm-test.inc (struct test_f_i_data): New type.
27394         (RUN_TEST_LOOP_f_i): New macro.
27395         (RUN_TEST_LOOP_f_i_tg): Likewise.
27396         (fpclassify_test_data): New variable.
27397         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27398         (ilogb_test_data): New variable.
27399         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27401         * math/libm-test.inc (scalbln_test): Correct function name in END
27402         call.
27404         * math/libm-test.inc (struct test_f_f1_data): Add comment.
27405         (RUN_TEST_LOOP_fI_f1): New macro.
27406         (frexp_test_data): New variable.
27407         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27409         * math/libm-test.inc (struct test_fF_f1_data): New type.
27410         (RUN_TEST_LOOP_fF_f1): New macro.
27411         (modf_test_data): New variable.
27412         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27414         * math/libm-test.inc (struct test_f_f1_data): New type.
27415         (RUN_TEST_LOOP_f_f1): New macro.
27416         (gamma_test_data): New variable.
27417         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27418         (lgamma_test_data): New variable.
27419         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27421 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
27423         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27424         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27425         (main): Comment "tls" pseudo-hwcap.
27427 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
27429         * math/libm-test.inc (struct test_fl_f_data): New type.
27430         (RUN_TEST_LOOP_fl_f): New variable.
27431         (scalbln_test_data): New variable.
27432         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27434         * math/libm-test.inc (struct test_fi_f_data): New type.
27435         (RUN_TEST_LOOP_fi_f): New macro.
27436         (ldexp_test_data): New variable.
27437         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27438         (scalbn_test_data): New variable.
27439         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27441         * math/libm-test.inc (struct test_c_f_data): New type.
27442         (RUN_TEST_LOOP_c_f): New macro.
27443         (cabs_test_data): New variable.
27444         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27445         (carg_test_data): New variable.
27446         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27447         (cimag_test_data): New variable.
27448         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27449         (creal_test_data): New variable.
27450         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27452         * math/libm-test.inc (struct test_if_f_data): New type.
27453         (RUN_TEST_LOOP_if_f): New macro.
27454         (jn_test_data): New variable.
27455         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27456         (yn_test_data): New variable.
27457         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27459         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27461 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27463         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27464         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27466 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27468         * benchtests/Makefile (CPPFLAGS-nonlib): Add
27469         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27470         (bench-deps): Add bench-timing.h.
27471         * benchtests-bench-skeleton.c: Include bench-timing.h.
27472         (main): Use TIMING_* macros instead of clock_gettime.
27473         * benchtests/bench-timing.h: New file.
27475         [BZ #14582]
27476         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27477         Renamed from _LIB_VERSION.
27478         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27480 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
27482         * math/libm-test.inc (struct test_fff_f_data): New type.
27483         (RUN_TEST_LOOP_fff_f): New macro.
27484         (fma_test_data): New variable.
27485         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27486         (fma_towardzero_test_data): New variable.
27487         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27488         (fma_downward_test_data): New variable.
27489         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27490         (fma_upward_test_data): New variable.
27491         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27493         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27494         (struct test_c_c_data): New type.
27495         (RUN_TEST_LOOP_c_c): New macro.
27496         (cacos_test_data): New variable.
27497         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27498         (cacosh_test_data): New variable.
27499         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27500         (casin_test_data): New variable.
27501         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27502         (casinh_test_data): New variable.
27503         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27504         (catan_test_data): New variable.
27505         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27506         (catanh_test_data): New variable.
27507         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27508         (ccos_test_data): New variable.
27509         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27510         (ccosh_test_data): New variable.
27511         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27512         (cexp_test_data): New variable.
27513         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27514         (clog_test_data): New variable.
27515         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27516         (clog10_test_data): New variable.
27517         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27518         (conj_test_data): New variable.
27519         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27520         (cproj_test_data): New variable.
27521         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27522         (csin_test_data): New variable.
27523         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27524         (csinh_test_data): New variable.
27525         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27526         (csqrt_test_data): New variable.
27527         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27528         (ctan_test_data): New variable.
27529         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27530         (ctan_tonearest_test_data): New variable.
27531         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27532         (ctan_towardzero_test_data): New variable.
27533         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27534         (ctan_downward_test_data): New variable.
27535         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27536         (ctan_upward_test_data): New variable.
27537         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27538         (ctanh_test_data): New variable.
27539         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27540         (ctanh_tonearest_test_data): New variable.
27541         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27542         (ctanh_towardzero_test_data): New variable.
27543         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27544         (ctanh_downward_test_data): New variable.
27545         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27546         (ctanh_upward_test_data): New variable.
27547         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27548         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27549         of BUILD_COMPLEX.
27551         * math/libm-test.inc (struct test_ff_f_data): New type.
27552         (struct test_ff_f_data_nexttoward): Likewise.
27553         (RUN_TEST_LOOP_2_f): New macro.
27554         (RUN_TEST_LOOP_ff_f): Likewise.
27555         (atan2_test_data): New variable.
27556         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27557         (copysign_test_data): New variable.
27558         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27559         (fdim_test_data): New variable.
27560         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27561         (fmax_test_data): New variable.
27562         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27563         (fmin_test_data): New variable.
27564         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27565         (fmod_test_data): New variable.
27566         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27567         (hypot_test_data): New variable.
27568         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27569         (nextafter_test_data): New variable.
27570         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27571         (nexttoward_test_data): New variable.
27572         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27573         (pow_test_data): New variable.
27574         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27575         (pow_tonearest_test_data): New variable.
27576         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27577         (pow_towardzero_test_data): New variable.
27578         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27579         (pow_downward_test_data): New variable.
27580         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27581         (pow_upward_test_data): New variable.
27582         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27583         (remainder_test_data): New variable.
27584         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27585         (scalb_test_data): New variable.
27586         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27587         * sysdeps/i386/fpu/libm-test-ulps: Update.
27589 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
27591         * math/libm-test.inc (fma_test): Use max_value instead of local
27592         variable fltmax.
27593         (nextafter_test): Likewise.
27595         * math/libm-test.inc (acos_towardzero_test_data): New variable.
27596         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27597         (acos_downward_test_data): New variable.
27598         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27599         (acos_upward_test_data): New variable.
27600         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27601         (acosh_test_data): New variable.
27602         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27603         (asin_test_data): New variable.
27604         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27605         (asin_tonearest_test_data): New variable.
27606         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27607         (asin_towardzero_test_data): New variable.
27608         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27609         (asin_downward_test_data): New variable.
27610         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27611         (asin_upward_test_data): New variable.
27612         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27613         (asinh_test_data): New variable.
27614         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27615         (atan_test_data): New variable.
27616         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27617         (atanh_test_data): New variable.
27618         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27619         (cbrt_test_data): New variable.
27620         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27621         (ceil_test_data): New variable.
27622         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27623         (cos_test_data): New variable.
27624         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27625         (cos_tonearest_test_data): New variable.
27626         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27627         (cos_towardzero_test_data): New variable.
27628         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27629         (cos_downward_test_data): New variable.
27630         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27631         (cos_upward_test_data): New variable.
27632         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27633         (cosh_test_data): New variable.
27634         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27635         (cosh_tonearest_test_data): New variable.
27636         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27637         (cosh_towardzero_test_data): New variable.
27638         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27639         (cosh_downward_test_data): New variable.
27640         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27641         (cosh_upward_test_data): New variable.
27642         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27643         (erf_test_data): New variable.
27644         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27645         (erfc_test_data): New variable.
27646         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27647         (exp_test_data): New variable.
27648         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27649         (exp_tonearest_test_data): New variable.
27650         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27651         (exp_towardzero_test_data): New variable.
27652         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27653         (exp_downward_test_data): New variable.
27654         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27655         (exp_upward_test_data): New variable.
27656         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27657         (exp10_test_data): New variable.
27658         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27659         (exp2_test_data): New variable.
27660         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27661         (expm1_test_data): New variable.
27662         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27663         (fabs_test_data): New variable.
27664         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27665         (floor_test_data): New variable.
27666         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27667         (j0_test_data): New variable.
27668         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27669         (j1_test_data): New variable.
27670         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27671         (log_test_data): New variable.
27672         (log_test): Run tests with RUN_TEST_LOOP_f_f.
27673         (log10_test_data): New variable.
27674         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27675         (log1p_test_data): New variable.
27676         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27677         (log2_test_data): New variable.
27678         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27679         (logb_test_data): New variable.
27680         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27681         (logb_downward_test_data): New variable.
27682         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27683         (nearbyint_test_data): New variable.
27684         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27685         (rint_test_data): New variable.
27686         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27687         (rint_tonearest_test_data): New variable.
27688         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27689         (rint_towardzero_test_data): New variable.
27690         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27691         (rint_downward_test_data): New variable.
27692         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27693         (rint_upward_test_data): New variable.
27694         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27695         (round_test_data): New variable.
27696         (round_test): Run tests with RUN_TEST_LOOP_f_f.
27697         (sin_test_data): New variable.
27698         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27699         (sin_tonearest_test_data): New variable.
27700         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27701         (sin_towardzero_test_data): New variable.
27702         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27703         (sin_downward_test_data): New variable.
27704         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27705         (sin_upward_test_data): New variable.
27706         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27707         (sinh_test_data): New variable.
27708         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27709         (sinh_tonearest_test_data): New variable.
27710         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27711         (sinh_towardzero_test_data): New variable.
27712         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27713         (sinh_downward_test_data): New variable.
27714         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27715         (sinh_upward_test_data): New variable.
27716         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27717         (sqrt_test_data): New variable.
27718         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27719         (tan_test_data): New variable.
27720         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27721         (tan_tonearest_test_data): New variable.
27722         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27723         (tan_towardzero_test_data): New variable.
27724         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27725         (tan_downward_test_data): New variable.
27726         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27727         (tan_upward_test_data): New variable.
27728         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27729         (tanh_test_data): New variable.
27730         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27731         (tgamma_test_data): New variable.
27732         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27733         (trunc_test_data): New variable.
27734         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27735         (y0_test_data): New variable.
27736         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27737         (y1_test_data): New variable.
27738         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27739         (significand_test_data): New variable.
27740         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27742 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
27744         [BZ #12387]
27745         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27747 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27749         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27751 2013-05-10  Andreas Jaeger  <aj@suse.de>
27753         [BZ #15448]
27754         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27755         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27757 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27759         * math/gen-libm-test.pl (adjust_arg): New function.
27760         (special_functions): Handle generating output in both functions
27761         and arrays.
27762         (parse_args): Likewise.
27763         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
27764         $in_func argument to parse_args.
27765         * math/libm-test.inc (struct test_f_f_data): New type.
27766         (IF_ROUND_INIT_): New macro.
27767         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27768         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27769         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27770         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27771         (ROUND_RESTORE_): Likewise.
27772         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27773         (ROUND_RESTORE_FE_TONEAREST): Likewise.
27774         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27775         (ROUND_RESTORE_FE_UPWARD): Likewise.
27776         (RUN_TEST_LOOP_f_f): New macro.
27777         (acos_test_data): New variable.
27778         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27779         (acos_tonearest_test_data): New variable.
27780         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27782 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27784         * benchtests/bench-skeleton.c (startup): Fix coding style.
27786 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27788         [BZ #6809]
27789         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27790         negative infinity argument.
27791         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27792         negative infinity argument.
27793         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27794         negative infinity argument.
27795         * math/libm-test.inc (tgamma_test): Expect errno to be set for
27796         domain errors.
27798 2013-05-10  Florian Weimer  <fweimer@redhat.com>
27800         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27801         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27802         * iconv/iconv_prog.c (main): Likewise.
27803         * locale/programs/charmap-dir.c (charmap_readdir)
27804         (fopen_uncompressed): Likewise.
27805         * locale/programs/locfile.c (siblings_uncached)
27806         (write_locale_data): Use lstat64 instead of lstat.
27807         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27808         stat.
27810 2013-05-10  Andreas Jaeger  <aj@suse.de>
27812         [BZ #15395]
27813         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27814         localization.
27815         Include <locale.h>.
27817 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
27819         * elf/dl-close.c (_dl_close_worker): Add comments.
27821 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
27823         [BZ #15359]
27824         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27825         high part of pi/2.
27826         (__ieee754_rem_pio2l): Update comments.
27828         [BZ #15429]
27829         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27830         high part of pi/2.
27831         (__ieee754_rem_pio2l): Update comments.
27833         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27834         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27836         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27837         M_PI_4l.
27839         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27840         (M_PI_34_LOG10El): Likewise.
27841         (M_PI2_LOG10El): Likewise.
27842         (M_PI4_LOG10El): Likewise.
27843         (M_PI_LOG10El): Likewise.
27845 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27849 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
27851         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27852         (MINUS_ZERO_INIT): Likewise.
27853         (PLUS_INFTY_INIT): Likewise.
27854         (MINUS_INFTY_INIT): Likewise.
27855         (QNAN_VALUE_INIT): Likewise.
27856         (MAX_VALUE_INIT): Likewise.
27857         (MIN_VALUE_INIT): Likewise.
27858         (MIN_SUBNORM_VALUE_INIT): Likewise.
27859         (plus_zero): Initialize with PLUS_ZERO_INIT.
27860         (minus_zero): Initialize with MINUS_ZERO_INIT.
27861         (plus_infty): Initialize with PLUS_INFTY_INIT.
27862         (minus_infty): Initialize with MINUS_INFTY_INIT.
27863         (qnan_value): Initialize with QNAN_VALUE_INIT.
27864         (max_value): Initialize with MAX_VALUE_INIT.
27865         (min_value): Initialize with MIN_VALUE_INIT.
27866         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27868         * math/libm-test.inc (RUN_TEST_if_f): New macro.
27869         (jn_test): Use TEST_if_f instead of TEST_ff_f.
27870         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27871         (yn_test): Use TEST_if_f instead of TEST_ff_f.
27873         * math/libm-test.inc (RUN_TEST_f_f): New macro.
27874         (RUN_TEST_2_f): Likewise.
27875         (RUN_TEST_ff_f): Likewise.
27876         (RUN_TEST_fi_f): Likewise.
27877         (RUN_TEST_fl_f): Likewise.
27878         (RUN_TEST_fff_f): Likewise.
27879         (RUN_TEST_c_f): Likewise.
27880         (RUN_TEST_f_f1): Likewise.
27881         (RUN_TEST_fF_f1): Likewise.
27882         (RUN_TEST_fI_f1): Likewise.
27883         (RUN_TEST_ffI_f1): Likewise.
27884         (RUN_TEST_c_c): Likewise.
27885         (RUN_TEST_cc_c): Likewise.
27886         (RUN_TEST_f_i): Likewise.
27887         (RUN_TEST_f_i_tg): Likewise.
27888         (RUN_TEST_ff_i_tg): Likewise.
27889         (RUN_TEST_f_b): Likewise.
27890         (RUN_TEST_f_b_tg): Likewise.
27891         (RUN_TEST_f_l): Likewise.
27892         (RUN_TEST_f_L): Likewise.
27893         (RUN_TEST_sincos): Likewise.
27894         * math/gen-libm-test.pl (new_test): Take new argument to indicate
27895         whether to show exceptions.  Do not include ");\n" in return
27896         value.
27897         (special_functions): Output call to RUN_TEST_sincos instead of
27898         check_float calls.  Update calls to new_test.
27899         (parse_args): Output call to single RUN_TEST_* macro instead of
27900         check_* calls and other assignments.  Update calls to new_test.
27902         [BZ #2546]
27903         [BZ #2560]
27904         [BZ #5159]
27905         [BZ #15426]
27906         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27907         input to result for tgamma overflow.
27908         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27909         (gamma_coeff): New variable.
27910         (NCOEFF): New macro.
27911         (gamma_positive): New function.
27912         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27913         underflow here.  Use gamma_positive instead of exp (lgamma) for
27914         other arguments.
27915         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27916         (gamma_coeff): New variable.
27917         (NCOEFF): New macro.
27918         (gammaf_positive): New function.
27919         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27920         underflow here.  Use gamma_positive instead of exp (lgamma) for
27921         other arguments.
27922         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27923         (gamma_coeff): New variable.
27924         (NCOEFF): New macro.
27925         (gammal_positive): New function.
27926         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27927         underflow here.  Use gamma_positive instead of exp (lgamma) for
27928         other arguments.
27929         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27930         (gamma_coeff): New variable.
27931         (NCOEFF): New macro.
27932         (gammal_positive): New function.
27933         (__ieee754_gammal_r): Handle positive infinity, overflow and
27934         underflow here.  Handle NaN the same as positive infinity.  Remove
27935         check x < 0xffffffff for negative integers.  Use gamma_positive
27936         instead of exp (lgamma) for other arguments.
27937         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27938         (gamma_coeff): New variable.
27939         (NCOEFF): New macro.
27940         (gammal_positive): New function.
27941         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27942         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27943         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27944         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27945         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27946         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27947         * sysdeps/generic/math_private.h (__gamma_productf): New
27948         prototype.
27949         (__gamma_product): Likewise.
27950         (__gamma_productl): Likewise.
27951         * math/Makefile (libm-calls): Add gamma_product.
27952         * math/libm-test.inc (tgamma_test): Add more tests.
27953         * sysdeps/i386/fpu/libm-test-ulps: Update.
27954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27956 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
27958         * benchtests/bench-skeleton.c (main): Preheat CPU.
27960 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
27962         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27964 2013-05-07  Roland McGrath  <roland@hack.frob.com>
27966         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27967         and _dl_skip_args_internal.
27969 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
27971         * manual/message.texi (Message Translation): Talk about users.
27972         Message to key mapping impacts design.
27974 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27976         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27978         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27980         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27981         * sysdeps/wordsize-64/glob64.c: ... here.
27983         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27984         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27985         New macros.
27987         * debug/getlogin_r_chk.c: Moved to ...
27988         * login/getlogin_r_chk.c: ... here.
27989         * debug/Makefile (routines): Move getlogin_r_chk to ...
27990         * login/Makefile (routines): ... here.
27991         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27992         * login/Versions (libc: GLIBC_2.4): ... here.
27994         * io/poll.c (__poll): Renamed from poll.
27995         Add libc_hidden_def.
27996         (poll): Define as weak alias.
27998         * debug/ptsname_r_chk.c: Moved to ...
27999         * login/ptsname_r_chk.c: ... here.
28000         * debug/Makefile (routines): Move ptsname_r_chk to ...
28001         * login/Makefile (routines): ... here.
28002         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28003         * login/Versions (libc: GLIBC_2.4): ... here.
28005         * posix/getlogin.c: Moved to ...
28006         * login/getlogin.c: ... here.
28007         * posix/getlogin_r.c: Moved to ...
28008         * login/getlogin_r.c: ... here.
28009         * posix/getlogin_r.c: Moved to ...
28010         * login/getlogin_r.c: ... here.
28011         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28012         * login/Makefile (routines): ... here.
28013         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28014         * login/Versions (libc: GLIBC_2.0): ... here.
28016         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28017         (setrlimit): Define as weak alias.
28019         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28020         Call __ names for open, ftruncate, and close.
28021         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28022         (truncate): Define as weak alias.
28024 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
28026         * math/gen-libm-test.pl (parse_args): Initialize x before each
28027         test of frexp, modf and remquo.
28029         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28030         test signgam value.
28032 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28034         [BZ #15418]
28035         [BZ #15419]
28036         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28037         internal tests.
28038         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28040 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28042         * elf/dl-writev.h: New file.
28043         * elf/dl-misc.c: Include it.
28044         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28045         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28047 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
28049         * math/libm-test.inc (noXFails): Remove variable.
28050         (noXPasses): Likewise.
28051         (BUILD_COMPLEX_INT): Remove macro.
28052         (print_screen): Remove xfail argument.
28053         (print_screen_max_error): Likewise.
28054         (update_stats): Likewise.
28055         (print_max_error): Likewise.  Update calls to other affected
28056         functions.
28057         (print_complex_max_error): Likewise.
28058         (test_single_exception): Update calls to print_screen.
28059         (test_single_errno): Likewise.
28060         (check_float_internal): Remove xfail argument.  Update calls to
28061         other affected functions.
28062         (check_float): Likewise.
28063         (check_complex): Likewise.
28064         (check_int): Likewise.
28065         (check_long): Likewise.
28066         (check_bool): Likewise.
28067         (check_longlong): Likewise.
28068         (main): Don't print noXFails and noXPasses.
28069         * math/gen-libm-test.pl (top level): Don't mention expected
28070         failure handling in comment.
28071         (new_test): Don't handle expected failures.
28072         (parse_args): Don't mention expected failure handling in comment.
28073         (generate_testfile): Don't handle expected failures.
28074         (parse_ulps): Likewise.
28075         (print_ulps_file): Likewise.
28076         (get_failure): Remove function.
28077         (output_test): Don't handle expected failures.
28078         * make/README.libm-test: Don't mention expected failure handling.
28080         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
28081         (minus_zero): Likewise.
28082         (plus_infty): Likewise.
28083         (minus_infty): Likewise.
28084         (qnan_value): Likewise.
28085         (max_value): Likewise.
28086         (min_value): Likewise.
28087         (min_subnorm_value): Likewise.
28088         (initialize): Do not initialize those variables dynamically.
28090 2013-05-03  Roland McGrath  <roland@hack.frob.com>
28092         * io/open.c (__open_2): Moved to ...
28093         * io/open_2.c: ... this new file.
28094         * io/open64.c (__open64_2): Moved to ...
28095         * io/open64_2.c: ... this new file.
28096         * io/openat.c (__openat_2): Moved to ...
28097         * io/openat_2.c: ... this new file.
28098         * io/openat64.c (__openat64_2): Moved to ...
28099         * io/openat64_2.c: ... this new file.
28100         * io/Makefile (routines): Add them.
28101         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28102         * sysdeps/unix/sysv/linux/open_2.c: File removed.
28103         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28104         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28105         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28106         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28107         (__openat64): Add hidden_ver.
28108         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28109         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28111         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28112         Separately conditionalize setting of GLRO(dl_sysinfo) so
28113         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28114         as well, but the actual setting is only under [NEED_DL_SYSINFO].
28116 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28118         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28119         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28120         definition.
28121         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28122         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28123         (_libc_vdso_platform_setup): Add __vdso_time initialization.
28124         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28125         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28127 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
28129         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28130         test signgam value.
28132         * math/libm-test.inc (hypot_test): Do not use
28133         IGNORE_ZERO_INF_SIGN.
28135 2013-05-03  Andreas Jaeger  <aj@suse.de>
28137         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28138         Linux 3.9.
28139         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28140         (PF_MAX): Adjust for VSOCK change.
28142 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28146 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
28148         [BZ #15264]
28149         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28150         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28151         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28153 2013-05-02  David S. Miller  <davem@davemloft.net>
28155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28157 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
28159         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28161 2013-05-01  Roland McGrath  <roland@hack.frob.com>
28163         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28165 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
28167         [BZ #14952]
28168         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28169         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28170         Use __attribute__ ((__gnu_inline__)).
28171         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28172         Don't use __attribute__ ((__gnu_inline__)).
28174 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
28176         [BZ #15423]
28177         * math/s_catan.c (__catan): Handle small real or imaginary part of
28178         input specially to avoid spurious underflow.
28179         * math/s_catanf.c (__catanf): Likewise.
28180         * math/s_catanh.c (__catanh): Likewise.
28181         * math/s_catanhf.c (__catanhf): Likewise.
28182         * math/s_catanhl.c (__catanhl): Likewise.
28183         * math/s_catanl.c (__catanl): Likewise.
28184         * math/libm-test.inc (catan_test): Add more tests.
28185         (catanh_test): Likewise.
28186         * sysdeps/i386/fpu/libm-test-ulps: Update.
28187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28189 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28193 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
28195         [BZ #15416]
28196         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28197         accurately for denominator in atan2.
28198         * math/s_catanf.c (__catanf): Likewise.
28199         * math/s_catanh.c (__catanh): Likewise.
28200         * math/s_catanhf.c (__catanhf): Likewise.
28201         * math/s_catanhl.c (__catanhl): Likewise.
28202         * math/s_catanl.c (__catanl): Likewise.
28203         * math/libm-test.inc (catan_test): Add more tests.
28204         (catanh_test): Likewise.
28205         * sysdeps/i386/fpu/libm-test-ulps: Update.
28206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28208 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28210         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28212         * benchtests/Makefile (bench): Remove slow benchmarks.
28213         * benchtests/atan-inputs: Add slow benchmark inputs.
28214         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28215         (BENCH_FUNC): Accept variant offset.
28216         (VARIANT): Define.
28217         * benchtests/bench-skeleton.c (main): Run benchmark for each
28218         variant.
28219         * benchtests/cos-inputs: Add slow benchmark inputs.
28220         * benchtests/exp-inputs: Likewise.
28221         * benchtests/pow-inputs: Likewise.
28222         * benchtests/sin-inputs: Likewise.
28223         * benchtests/slowatan-inputs: Remove.
28224         * benchtests/slowatan.c: Remove.
28225         * benchtests/slowcos-inputs: Remove.
28226         * benchtests/slowcos.c: Remove.
28227         * benchtests/slowexp-inputs: Remove.
28228         * benchtests/slowexp.c: Remove.
28229         * benchtests/slowpow-inputs: Remove.
28230         * benchtests/slowpow.c: Remove.
28231         * benchtests/slowsin-inputs: Remove.
28232         * benchtests/slowsin.c: Remove.
28233         * benchtests/slowtan-inputs: Remove.
28234         * benchtests/slowtan.c: Remove.
28235         * benchtests/tan-inputs: Add slow benchmark inputs.
28236         * scripts/bench.pl: Parse comments and directives.
28238         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
28239         in CPPFLAGS.
28240         ($(objpfx)bench-%.c): Remove *-ITER.
28241         * benchtests/bench-modf.c: Remove definition of ITER.
28242         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28243         (main): Loop for DURATION seconds instead of fixed number of
28244         iterations.
28245         * scripts/bench.pl: Don't expect iterations in parameters.
28247 2013-04-29  Roland McGrath  <roland@hack.frob.com>
28249         * io/fchdir.c (__fchdir): Renamed from fchdir.
28250         (fchdir): Define as weak alias.
28252 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28254         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28255         (ERRNO_EDOM): Likewise.
28256         (ERRNO_ERANGE): Likewise.
28257         (noErrnoTests): New variable.
28258         (init_max_error): Set errno to 0.
28259         (test_single_errno): New function.
28260         (test_errno): Likewise.
28261         (check_float_internal): Call test_errno.  Set errno to 0.
28262         (check_complex): Refer to errno tests in comment.
28263         (check_int): Call test_errno.  Set errno to 0.
28264         (check_long): Likewise.
28265         (check_bool): Likewise.
28266         (check_longlong): Likewise.
28267         (cos_test): Use ERRNO_* flags for errno tests instead of
28268         check_int.
28269         (expm1_test): Likewise.
28270         (fmod_test): Likewise.
28271         (ilogb_test): Likewise.
28272         (lgamma_test): Likewise.
28273         (pow_test): Likewise.
28274         (remainder_test): Likewise.
28275         (sin_test): Likewise.
28276         (tan_test): Likewise.
28277         (yn_test): Likewise.
28278         (initialize): Set errno to 0.
28279         (main): Print number of errno tests.
28280         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28282 2013-04-29  Andreas Jaeger  <aj@suse.de>
28284         [BZ #15084]
28285         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28286         and RES_USEVC.
28288         [BZ #15085]
28289         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28290         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28291         unimplemented.
28293         [BZ #15380]
28294         * stdlib/random.c (__initstate): Return NULL if
28295         __initstate fails.
28297         [BZ #15086]
28298         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28299         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28300         RES_SNGLKUPREOP.
28302 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28306 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28308         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28309         of individual tests.
28310         (casin_test): Likewise.
28311         (casinh_test): Likewise.
28313 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
28315         [BZ #15409]
28316         * math/s_catan.c (__catan): Handle arguments with large real or
28317         imaginary part separately without squaring.
28318         * math/s_catanf.c (__catanf): Likewise.
28319         * math/s_catanh.c (__catanh): Likewise.
28320         * math/s_catanhf.c (__catanhf): Likewise.
28321         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28322         and redefine.
28323         (__catanhl): Handle arguments with large real or imaginary part
28324         separately without squaring.
28325         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28326         and redefine.
28327         (__catanl): Handle arguments with large real or imaginary part
28328         separately without squaring.
28329         * math/libm-test.inc (catan_test): Add more tests.
28330         (catanh_test): Likewise.
28331         * sysdeps/i386/fpu/libm-test-ulps: Update.
28332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28334 2013-04-27  Andreas Jaeger  <aj@suse.de>
28336         [BZ #15007]
28337         * stdlib/stdlib.h: Update guards for qecvt.
28338         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28339         <stdlib.h>.
28341 2013-04-27  Allan McRae  <allan@archlinux.org>
28343         * sysdeps/i386/fpu/libm-test-ulps: Update.
28345 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
28347         [BZ #15406]
28348         * math/s_catan.c: Include <float.h>.
28349         (__catan): Ensure underflow exception occurs for underflowed
28350         result.
28351         * math/s_catanf.c: Include <float.h>.
28352         (__catanf): Ensure underflow exception occurs for underflowed
28353         result.
28354         * math/s_catanh.c: Include <float.h>.
28355         (__catanh): Ensure underflow exception occurs for underflowed
28356         result.
28357         * math/s_catanhf.c: Include <float.h>.
28358         (__catanhf): Ensure underflow exception occurs for underflowed
28359         result.
28360         * math/s_catanhl.c: Include <float.h>.
28361         (__catanhl): Ensure underflow exception occurs for underflowed
28362         result.
28363         * math/s_catanl.c: Include <float.h>.
28364         (__catanl): Ensure underflow exception occurs for underflowed
28365         result.
28366         * math/libm-test.inc (catan_test): Add more tests.
28367         (catanh_test): Likewise.
28369         [BZ #15405]
28370         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28371         underflowed result.
28372         * math/s_ccoshf.c (__ccoshf): Likewise.
28373         * math/s_ccoshl.c (__ccoshl): Likewise.
28374         * math/s_csin.c (__csin): Likewise.
28375         * math/s_csinf.c (__csinf): Likewise.
28376         * math/s_csinh.c (__csinh): Likewise.
28377         * math/s_csinhf.c (__csinhf): Likewise.
28378         * math/s_csinhl.c (__csinhl): Likewise.
28379         * math/s_csinl.c (__csinl): Likewise.
28380         * math/libm-test.inc (ccos_test): Add more tests.
28381         (ccosh_test): Likewise.
28382         (csin_test): Likewise.
28383         (csinh_test): Likewise.
28385 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28387         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28388         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28389         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28390         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28391         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28392         powerpc/power5+/fpu folders.
28393         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28396 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28398         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28400 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
28402         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28403         additions to variable.
28404         [$(config-machine) = x86_64] (modules-names): Likewise.
28405         ($(objpfx)tst-audit3): Remove dependency.
28406         ($(objpfx)tst-audit3.out): Likewise.
28407         ($(objpfx)tst-audit4): Likewise.
28408         ($(objpfx)tst-audit4.out): Likewise.
28409         ($(objpfx)tst-audit5): Likewise.
28410         ($(objpfx)tst-audit5.out): Likewise.
28411         ($(objpfx)tst-audit6): Likewise.
28412         ($(objpfx)tst-audit6.out): Likewise.
28413         ($(objpfx)tst-audit7): Likewise.
28414         ($(objpfx)tst-audit7.out): Likewise.
28415         (tst-audit3-ENV): Remove variable.
28416         (tst-audit4-ENV): Likewise.
28417         (tst-audit5-ENV): Likewise.
28418         (tst-audit6-ENV): Likewise.
28419         (tst-audit7-ENV): Likewise.
28420         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28421         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28422         addition to variable.
28423         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28424         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28425         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28426         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28427         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28428         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28429         tst-audit3, tst-audit4 and tst-audit5.
28430         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28431         tst-audit6 and tst-audit7.
28432         [$(subdir) = elf] (modules-names): Add audit modules for those
28433         tests.
28434         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28435         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28436         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28437         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28438         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28439         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28440         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28441         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28442         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28443         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28444         [$(subdir) = elf] (tst-audit3-ENV): New variable.
28445         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28446         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28447         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28448         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28449         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28450         Likewise.
28451         [$(subdir) = elf && $(config-cflags-avx) = yes]
28452         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28453         [$(subdir) = elf && $(config-cflags-avx) = yes]
28454         (CFLAGS-tst-auditmod4a.c): Likewise.
28455         [$(subdir) = elf && $(config-cflags-avx) = yes]
28456         (CFLAGS-tst-auditmod4b.c): Likewise.
28457         [$(subdir) = elf && $(config-cflags-avx) = yes]
28458         (CFLAGS-tst-auditmod6b.c): Likewise.
28459         [$(subdir) = elf && $(config-cflags-avx) = yes]
28460         (CFLAGS-tst-auditmod6c.c): Likewise.
28461         [$(subdir) = elf && $(config-cflags-avx) = yes]
28462         (CFLAGS-tst-auditmod7b.c): Likewise.
28463         * elf/tst-audit3.c: Move to ...
28464         * sysdeps/x86_64/tst-audit3.c: ... here.
28465         * elf/tst-audit4.c: Move to ...
28466         * sysdeps/x86_64/tst-audit4.c: ... here.
28467         * elf/tst-audit5.c: Move to ...
28468         * sysdeps/x86_64/tst-audit5.c: ... here.
28469         * elf/tst-audit6.c: Move to ...
28470         * sysdeps/x86_64/tst-audit6.c: ... here.
28471         * elf/tst-audit7.c: Move to ...
28472         * sysdeps/x86_64/tst-audit7.c: ... here.
28473         * elf/tst-auditmod3a.c: Move to ...
28474         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28475         * elf/tst-auditmod3b.c: Move to ...
28476         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28477         * elf/tst-auditmod4a.c: Move to ...
28478         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28479         * elf/tst-auditmod4b.c: Move to ...
28480         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28481         * elf/tst-auditmod5a.c: Move to ...
28482         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28483         * elf/tst-auditmod5b.c: Move to ...
28484         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28485         * elf/tst-auditmod6a.c: Move to ...
28486         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28487         * elf/tst-auditmod6b.c: Move to ...
28488         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28489         * elf/tst-auditmod6c.c: Move to ...
28490         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28491         * elf/tst-auditmod7a.c: Move to ...
28492         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28493         * elf/tst-auditmod7b.c: Move to ...
28494         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28496 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
28498         [BZ #15366]
28499         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28500         define unconditionally.
28501         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28502         define unconditionally.
28503         (INT8_C, INT16_C, etc.): Likewise.
28505 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
28507         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28508         __ehdr_start with hidden visibility.
28510         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28512 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
28514         * math/libm-test.inc (cos_test): Use accurate hex constants.
28515         (sincost_test): Likewise.
28517 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
28519         * math/libm-test.inc (catan_test): Add more tests.
28520         (catanh_test): Likewise.
28522         * math/s_catanf.c (__catanf): Use suffixed floating-point
28523         constants.
28524         * math/s_catanhf.c (__catanhf): Likewise.
28525         * math/s_catanhl.c (__catanhl): Likewise.
28526         * math/s_catanl.c (__catanl): Likewise.
28528         [BZ #15394]
28529         * math/s_catan.c (__catan): Calculate imaginary part of result
28530         with log1p not log unless computing log of number close to 0.
28531         * math/s_catanf.c (__catanf): Likewise.
28532         * math/s_catanl.c (__catanl): Likewise.
28533         * math/s_catanh.c (__catanh): Calculate real part of result with
28534         log1p not log unless computing log of number close to 0.
28535         * math/s_catanhf.c (__catanhf): Likewise.
28536         * math/s_catanhl.c (__catanhl): Likewise.
28537         * math/libm-test.inc (catan_test): Add more tests.
28538         (catanh_test): Likewise.
28539         * sysdeps/i386/fpu/libm-test-ulps: Update.
28540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28542 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28544         * benchtests/Makefile: Mention files in which fast and slow
28545         paths of math functions are implemented.
28547 2013-04-23  Roland McGrath  <roland@hack.frob.com>
28549         * sysdeps/posix/timespec_get.c: New file.
28551 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28553         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28554         POWER.
28555         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28556         for POWER.
28557         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28558         powerpc/power5/fpu folders.
28559         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28560         * benchtests/Makefile: Add modf testcase.
28561         * benchtests/bench-modf.c: New file: Benchmark test for mo
28563 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28565         [BZ #14888]
28566         * time/Makefile (tests): Add tst-strptime-whitespace.
28567         * time/strptime_l.c (get_number): Use ISSPACE.
28568         (__strptime_internal): Likewise.
28569         * time/tst-strptime-whitespace.c: New test case.
28571 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
28573         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28574         member.
28575         (_nss_files_init): Set it here.
28577 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
28579         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28580         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28581         unsigned.
28583 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
28585         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28587 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28589         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28590         size just once.
28592 2013-04-21  David S. Miller  <davem@davemloft.net>
28594         * po/ru.po: Update Russion translation from translation project.
28596 2013-04-17  Adam Conrad  <adconrad@0c3.net>
28598         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28599         and setfsgid.
28601 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
28603         * configure.in: Remove i386 configure warning. Remove i386 case.
28604         * configure: Regenerate.
28605         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28606         Add example to error message.
28607         * sysdeps/i386/configure: Regenerate.
28609 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28611         * benchtests/Makefile (bench): Add cos, tan, slowcos and
28612         slowtan.
28613         * benchtests/cos-inputs: New file.
28614         * benchtests/slowcos-inputs: New file.
28615         * benchtests/slowcos.c: New file.
28616         * benchtests/slowtan-inputs: New file.
28617         * benchtests/slowtan.c: New file.
28618         * benchtests/tan-inputs: New file.
28620 2013-04-16  Roland McGrath  <roland@hack.frob.com>
28622         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28623         considered kosher.
28625 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28627         * benchtests/Makefile: Include cppflags-iterator.mk to add
28628         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28630         * Makefile.in (bench-clean): New target.
28631         * benchtests/Makefile (bench-clean): Likewise.
28633 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
28635         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28637 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
28639         * stdio-common/tstdiomisc.c: Fix coding-style violation.
28641 2013-04-15  Andreas Schwab  <schwab@suse.de>
28643         * nscd/grpcache.c (cache_addgr): Properly check for short write.
28644         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28645         * nscd/pwdcache.c (cache_addpw): Likewise.
28646         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
28647         more than recsize.
28649 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28651         * benchtests/Makefile (bench): Write all output to
28652         bench-out.tmp together.
28654 2013-04-15  Andreas Schwab  <schwab@suse.de>
28656         * nscd/nscd.c (main): Don't fork again after closing files.
28658 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28660         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28662         * benchtests/Rules (bench-deps): Collect dependencies into a
28663         single variable.  Add Makefile to dependencies.
28664         ($(objpfx)bench-%.c): Depend on bench-deps.
28666 2013-04-12  Roland McGrath  <roland@hack.frob.com>
28667             Xavier Roche  <roche+kml2@exalead.com>
28669         [BZ #15361]
28670         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28671         just that it's a file descriptor.
28672         * manual/llio.texi (Synchronizing AIO Operations): Update description
28673         for EBADF error from aio_fsync.
28675 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28677         * Rules (bench): Move target definition...
28678         * benchtests/Makefile: ... here.
28680 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
28682         * math/libm-test.inc (cos_test): Fix PI/2 test.
28683         (sincos_test): Likewise.
28684         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28685         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28687 2013-04-11  Andreas Schwab  <schwab@suse.de>
28689         [BZ #13988]
28690         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28691         accept exponent character only when digits were seen.
28692         * stdio-common/Makefile (tests): Add bug26.
28693         * stdio-common/bug26.c: New file.
28695         [BZ #14293]
28696         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28697         non-freeable.
28699 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28701         * Makeconfig (rtld-prefix): Define built linker prefix.
28702         * Rules (run-bench): Use it.
28703         * math/Makefile (run-regen-ulps): Likewise.
28705         * Rules (bench): Remove eval.
28707 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28708             Roland McGrath  <roland@hack.frob.com>
28709             Ondrej Bilka  <neleai@seznam.cz>
28711         [BZ #15346]
28712         * time/getdate.c: Include ctype.h and alloca.h.
28713         (__getdate_r): Trim leading and trailing spaces of input.
28714         * time/tst-getdate.c (tests): Add tests with leading and
28715         trailing spaces.
28717 2013-04-08  Roland McGrath  <roland@hack.frob.com>
28719         [BZ #14280]
28720         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28721         when computing value.
28723 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28725         * math/README.libm-test (How can I generate "libm-test-ulps"?):
28726         Use testrun.sh to run libm tests.
28728         [BZ #15309]
28729         * elf/dl-open.c (dl_open_worker): memset all of seen array.
28731 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
28733         [BZ #15264]
28734         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28736 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28738         * Makefile.in (regen-ulps): New target.
28739         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28740         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28741         [ifneq (no,$(PERL)] (regen-ulps): New target.
28742         [ifeq (no,$(PERL)] (regen-ulps): New target.
28743         * math/libm-test.inc (ulps_file_name): Define.
28744         (output_dir): New variable.
28745         (options): Add "output-dir" option.
28746         (parse_opt): Handle 'o' case.
28747         (main): If output_dir is non-NULL use it as a prefix
28748         otherwise use "".
28749         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28751 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28753         [BZ #10060, #10062]
28754         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28755         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28756         fail configure if __sync_val_compare_and_swap is not inlined.
28757         * sysdeps/i386/configure: Regenerate.
28758         * configure.in: Build for i686 when configured for i386.
28759         * configure: Regenerate.
28760         * README: Remove i386 reference.
28762 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28764         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28765         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28767 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28769         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28770         (lmsnanval): New variables.
28771         (F): Add conversion tests.
28772         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28773         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28775         * stdio-common/tstdiomisc.c (F): Properly collect individual
28776         tests' results.
28778         [BZ #14686, #15336]
28779         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28780         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28781         Instead, use input NaN values or generate a qNaN by arithmetic
28782         operation.  Also fix bugs to comply with the standard.
28783         * math/libm-test.inc (remainder_test): Add more tests.
28785         [BZ #15335, #15342]
28786         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28787         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28788         input NaN values or generate a qNaN by arithmetic operation.
28790         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28791         unreachable code.
28793         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28794         definitions.
28796 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
28798         [BZ #14478]
28799         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28800         underflowed result.
28801         * math/s_cexpf.c (__cexpf): Likewise.
28802         * math/s_cexpl.c (__cexpl): Likewise.
28803         * math/libm-test.inc (cexp_test): Add more tests.
28805 2013-04-03  Andreas Schwab  <schwab@suse.de>
28807         [BZ #15330]
28808         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28809         order arrays from heap if bigger than alloca cutoff.
28811 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
28813         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28814         (SNAN_TESTS_double): Refer to GCC PR56831.
28815         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28816         GCC PR56828.
28818 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28820         * Rules (bench): Move bench.out after the run is complete.
28822         * Rules (bench): Echo currently running benchmark.
28824         * benchtests/Makefile (bench): Add atan and slowatan.
28825         * benchtests/atan-inputs: New file.
28826         * benchtests/slowatan-inputs: New file.
28827         * benchtests/slowatan.c: New file.
28829         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28830         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28831         its value.
28833         [BZ #15305]
28834         * sysdeps/unix/sysv/linux/kernel-features.h
28835         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28836         __ASSUME_XFS_RESTRICTED_CHOWN.
28837         * sysdeps/unix/sysv/linux/pathconf.c
28838         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28839         Save and restore errno.
28841 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
28843         [BZ #15327]
28844         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28845         arguments using __kernel_casinh.
28846         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28847         arguments using __kernel_casinhf.
28848         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28849         arguments using __kernel_casinhl.
28850         * math/libm-test.inc (cacosh_test): Add more tests.
28851         * sysdeps/i386/fpu/libm-test-ulps: Update.
28852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28854 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28856         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28857         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28859         * bench/Makefile (bench): Add sin and slowsin.
28860         * benchtests/sin-inputs: New file.
28861         * benchtests/slowsin-inputs: New file.
28862         * benchtests/slowsin.c: New file.
28864         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28865         (bench): Add slowexp and slowpow.
28866         (exp-ITER): Increase iterations.
28867         (pow-ITER): Likewise.
28868         * benchtests/exp-inputs: Change input.
28869         * benchtests/pow-inputs: Likewise.
28870         * benchtests/slowexp-inputs: New file.
28871         * benchtests/slowexp.c: New file.
28872         * benchtests/slowpow-inputs: New file.
28873         * benchtests/slowpow.c: New file.
28875 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28877         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28878         instructions.
28879         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28880         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28881         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28882         * benchtests/Makefile: Add rint benchtest.
28883         * benchtests/rint-inputs: Input for rint benchtest.
28885 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28887         * Versions.def (libm): Add GLIBC_2.18.
28888         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28889         hidden libm prototypes.
28890         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28891         * math/Makefile (libm-calls): Add s_issignaling.
28892         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28893         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
28894         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28895         declaration.
28896         * math/math.h [__USE_GNU] (issignaling): New macro.
28897         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28898         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28899         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28900         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28901         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28902         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28903         * manual/arith.texi (issignaling): New section.
28904         * manual/libm-err-tab.pl (@all_functions): Update comment.
28905         * math/gen-libm-test.pl (parse_args): Apply special handling for
28906         issignaling.
28907         * math/libm-test.inc (print_float, issignaling_test): New
28908         functions.
28909         (check_float_internal): Add issignaling checks.
28910         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28911         default definition.
28912         * sysdeps/powerpc/math-tests.h: New file.
28913         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28914         tests.
28915         * math/test-snan.c (TEST_FUNC): Likewise.
28917 2013-03-30  David S. Miller  <davem@davemloft.net>
28919         * po/de.po: Update from translation team.
28921 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
28923         [BZ #10357]
28924         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28925         imaginary part less than 1.0 and real part less than 0.5
28926         specially.
28927         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28928         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28929         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28930         (cacos_test): Add more tests.
28931         (casin_test): Likewise.
28932         (casinh_test): Likewise.
28933         * sysdeps/i386/fpu/libm-test-ulps: Update.
28934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28936 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28938         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28939         ONE with its value.
28941         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28942         (__pow_mp): Replace ONE and MONE with their values.
28943         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28944         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28945         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28946         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28947         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28948         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28950         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28952         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28953         (__pow_mp): Replace ZERO and MZERO with their values.
28954         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28955         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28956         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28957         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28958         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28959         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28960         (__sqr): Likewise.
28962         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28964         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28966 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28968         * include/stdlib.h [!SHARED] (__call_tls_dtors):
28969         Declare with __attribute__ ((weak)).
28970         * stdlib/exit.c (__libc_atexit) [!SHARED]:
28971         Call __call_tls_dtors only if it's not NULL.
28973 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28975         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28976         didn't do it already, then set _dl_phdr and _dl_phnum based on the
28977         magic __ehdr_start linker symbol if it's defined.
28978         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28979         them up here if it was already done.
28981         * elf/dl-support.c (_dl_phdr): Make pointer to const.
28982         (_dl_aux_init): Use const in cast when setting it.
28983         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28984         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28985         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28987         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28988         Declare them here.
28989         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28990         * csu/libc-tls.c: Nor here.
28991         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28993         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28994         (__libc_message): Never call vsyslog.
28996 2013-03-28  Alan Modra  <amodra@gmail.com>
28998         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28999         Define as empty.
29000         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29001         Likewise.
29003 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29005         [BZ #15214]
29006         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29007         underflow.
29008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29010 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29012         [BZ #15304]
29013         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29014         Don't add gid passed as argument.
29016         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29018 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
29020         [BZ #15307]
29021         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29022         imaginary part between 1.0 and 1.5 and real part less than 0.5
29023         specially.
29024         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29025         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29026         * math/libm-test.inc (cacos_test): Add more tests.
29027         (casin_test): Likewise.
29028         (casinh_test): Likewise.
29029         * sysdeps/i386/fpu/libm-test-ulps: Update.
29030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29032 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29034         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29035         constants.
29036         (norm): Likewise.
29037         (denorm): Likewise.
29038         (__dbl_mp): Likewise.
29039         (add_magnitudes): Likewise.
29040         (sub_magnitudes): Likewise.
29041         (__add): Likewise.
29042         (__sub): Likewise.
29043         (__mul): Likewise.
29044         (__sqr): Likewise.
29045         (__inv): Likewise.
29046         (__dvd): Likewise.
29048         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29049         commented code.
29050         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29051         (__dubcos): Likewise.
29052         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29053         (__ieee754_acos): Likewise.
29054         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29055         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29056         (__exp1): Likewise.
29057         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29058         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29059         (log1): Likewise.
29060         (my_log2): Likewise.
29061         (checkint): Likewise.
29062         * sysdeps/ieee754/dbl-64/e_remainder.c
29063         (__ieee754_remainder): Likewise.
29064         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29065         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29066         (bsloww): Likewise.
29067         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29069         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29070         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29071         MANTISSA_STORE_T to store computations on mantissa.  Use
29072         macros for rounding and division.
29073         (denorm): Likewise.
29074         (__dbl_mp): Likewise.
29075         (add_magnitudes): Likewise.
29076         (sub_magnitudes): Likewise.
29077         (__mul): Likewise.
29078         (__sqr): Likewise.
29079         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29080         powers of two in terms of TWOPOW macro.
29081         (mp_no): Make type of mantissa as MANTISSA_T.
29082         [!RADIXI]: Define RADIXI.
29083         [!TWO52]: Define TWO52.
29084         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29086 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29088         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29089         llroundl symbol when building for PPC32.
29091 2013-03-24  Mark H Weaver  <mhw@netris.org>
29093         * manual/arith.texi (Normalization Functions): Fix prototypes for
29094         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29096 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29098         [BZ #13889]
29099         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29100         high value to check if expl overflow.
29101         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29102         to check for underflow and overflow.
29103         * math/libm-test.inc: Add exp test.
29105 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
29107         [BZ #11120]
29108         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29109         with NOT_IN_libc.
29111 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29113         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29114         symbol.
29116 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29118         * math/gen-libm-test.pl (parse_args, special_functions): Properly
29119         wrap blocks consisting of several statements.
29121         * sysdeps/generic/math-tests.h: New file.
29122         * sysdeps/i386/fpu/math-tests.h: Likewise.
29123         * math/test-snan.c: Include it.
29124         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29126 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29128         [BZ #15285]
29129         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29130         (__ieee754_j0l): Do not improve calculations using cos of twice
29131         input for inputs above LDBL_MAX / 2.0L.
29132         (__ieee754_y0l): Likewise.
29133         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29134         (__ieee754_j1l): Do not improve calculations using cos of twice
29135         input for inputs above LDBL_MAX / 2.0L.
29136         (__ieee754_y1l): Likewise.
29137         * math/libm-test.inc (j0_test): Add another test.
29138         (j1_test): Likewise.
29139         (y0_test): Likewise.
29140         (y1_test): Likewise.
29141         * sysdeps/i386/fpu/libm-test-ulps: Update.
29143 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29145         * Rules ($(objpfx)bench-%.c): Include code from a C source
29146         file.
29148 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29150         [BZ #15287]
29151         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29152         imaginary part 1.0 and real part less than 0.5 specially.
29153         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29154         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29155         * math/libm-test.inc (cacos_test): Add more tests.
29156         (casin_test): Likewise.
29157         (casinh_test): Likewise.
29158         * sysdeps/i386/fpu/libm-test-ulps: Update.
29159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29161 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29163         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29164         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29166 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
29168         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29169         * config.make.in (config-cflags-sse4): Remove variable.
29170         (config-cflags-avx): Likewise.
29171         (config-cflags-sse2avx): Likewise.
29172         (config-cflags-novzeroupper): Likewise.
29173         (config-asflags-i686): Likewise.
29174         (have-mfma4): Likewise.
29175         (have-as-vis3): Likewise.
29176         (MIG): Likewise.
29177         * configure.in (MIG): Do not AC_SUBST.
29178         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29179         (libc_cv_cc_sse4): Do not AC_SUBST.
29180         (libc_cv_cc_avx): Likewise.
29181         (libc_cv_cc_sse2avx): Likewise.
29182         (libc_cv_cc_novzeroupper): Likewise.
29183         (libc_cv_cc_fma4): Likewise.
29184         (libc_cv_as_i686): Likewise.
29185         (libc_cv_sparc_as_vis3): Likewise.
29186         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29187         LIBC_CONFIG_VAR.
29188         (config-asflags-i686): Likewise.
29189         (config-cflags-avx): Likewise.
29190         (config-cflags-sse2avx): Likewise.
29191         (have-mfma4): Likewise.
29192         (config-cflags-novzeroupper): Likewise.
29193         * sysdeps/mach/configure.in (MIG): Likewise.
29194         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29195         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29196         LIBC_CONFIG_VAR.
29197         (config-cflags-avx): Likewise.
29198         (config-cflags-sse2avx): Likewise.
29199         (have-mfma4): Likewise.
29200         (config-cflags-novzeroupper): Likewise.
29201         * configure: Regenerated.
29202         * sysdeps/i386/configure: Likewise.
29203         * sysdeps/mach/configure: Likewise.
29204         * sysdeps/sparc/configure: Likewise.
29205         * sysdeps/x86_64/configure: Likewise.
29207 2013-03-20  Roland McGrath  <roland@hack.frob.com>
29209         [BZ #14812]
29210         * locale/programs/localedef.c (options): Put N_ translation marker
29211         on argument names, not just descriptions.
29213 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29215         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29217 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
29219         [BZ #14176]
29220         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29222 2013-03-19  Roland McGrath  <roland@hack.frob.com>
29224         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29225         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29226         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29227         [!BEFORE_ABORT] (before_abort): New function.
29228         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29229         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29230         (writev_for_fatal): New function.
29231         (WRITEV_FOR_FATAL): New macro; call that.
29232         (backtrace_and_maps): New function.
29233         (BEFORE_ABORT): New macro; call that.
29234         (struct str_list): Type removed.
29235         (__libc_message, __libc_fatal): Functions removed.
29236         Include <sysdeps/posix/libc_fatal.c> instead.
29238 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
29240         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29241         constants.
29242         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29243         double constants.
29245 2013-03-19  Andreas Schwab  <schwab@suse.de>
29247         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29248         * sysdeps/gnu/configure: Regenerate.
29250         * configure.in: Substitute libc_cv_rtlddir.
29251         * configure: Regenerate.
29252         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29253         * Makeconfig (rtlddir, inst_rtlddir): New variables.
29254         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29255         * elf/Makefile (install-others, CFLAGS-interp.c)
29256         (ldso_install, common-ldd-rewrite): Likewise.
29257         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29258         $(inst_slibdir)/$(rtld-installed-name).
29259         * scripts/rellns-sh: Add -p option.
29260         * Makerules (make-shlib-link): Use rellns-sh to get relative name
29261         for source.
29263 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29265         * manual/nptl.texi: Renamed to ...
29266         * manual/threads.texi: ... this.
29267         * manual/Makefile (chapters): Update.
29269 2013-03-18  Roland McGrath  <roland@hack.frob.com>
29271         [BZ #14812]
29272         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29273         on argument names, not just descriptions.
29274         * malloc/memusagestat.c (options): Likewise.
29275         * nss/getent.c (options): Likewise.
29277 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
29279         [BZ #14812]
29280         * iconv/iconv_prog.c (options): Put N_ translation marker
29281         on argument names, not just descriptions.
29282         * iconv/iconvconfig.c (options): Likewise.
29284 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
29286         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29287         implementation which is faster on all x86_64 architectures.
29288         Tested on AMD, Intel Nehalem, SNB, IVB.
29289         * sysdeps/x86_64/strnlen.S: Likewise.
29291         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29292         Remove all multiarch strlen and strnlen versions.
29293         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29294         Remove strlen and strnlen related parts.
29296         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29297         Inline strlen part.
29298         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29300         * sysdeps/x86_64/multiarch/strlen.S: Remove.
29301         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29302         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29303         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29304         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29305         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29307 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
29309         * manual/memory.texi (Malloc Tunable Parameters):
29310         Sort parameters alphabetically. Add comments for missing entries.
29312 2013-03-17  David S. Miller  <davem@davemloft.net>
29314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29316 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
29318         [BZ #15283]
29319         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29320         for arguments at most half maximum finite value.
29321         * math/libm-test.inc (j0_test): Add more tests.
29322         (j1_test): Likewise.
29323         (y0_test): Likewise.
29324         (y1_test): Likewise.
29325         * sysdeps/i386/fpu/libm-test-ulps: Update.
29326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29328         [BZ #14155]
29329         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29330         1 / x and functions P and Q for arguments above 0x1p256L.
29331         (__ieee754_y0l): Likewise.
29332         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29333         (__ieee754_y1l): Likewise.
29334         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29335         (j1_test): Likewise.
29336         (y0_test): Likewise.
29337         (y1_test): Likewise.
29339 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
29341         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29342         variable.
29344 2013-03-15  Roland McGrath  <roland@hack.frob.com>
29346         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29347         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29348         zero since it's initialized to EXEC_PAGESIZE.
29350         * sysdeps/unix/sysv/linux/ldsodefs.h
29351         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29352         * sysdeps/generic/ldsodefs.h: ... here.
29354 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
29356         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29358         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29359         math/test-snan.c.
29360         * math/test-snan.c: Renamed from
29361         sysdeps/powerpc/fpu/test-powerpc-snan.c.
29362         * math/Makefile (tests): Add test-snan.
29363         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29364         test-powerpc-snan.
29366         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29367         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
29368         functions.
29369         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
29370         __builtin_nan family of functions.
29371         * math/libm-test.inc (initialize): Initialize qnan_value with
29372         __builtin_nan family of functions.
29373         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29374         Remove variables.
29375         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29376         Remove functions.
29377         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
29378         storage class.  Initialize qNaN_var and sNaN_var with
29379         __builtin_nan and __builtin_nans families of functions,
29380         respectively.
29382         * math/libm-test.inc (acosh_test): Also test with qNaN input.
29383         (sqrt_test): Remove duplicate test with qNaN input.
29384         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29385         (round_test, signbit_test, significand_test): Note missing +/-Inf
29386         as well as qNaN tests.
29388         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29389         qNaN_var.  Fix a few strings, too.
29390         * math/libm-test.inc (nan_value): Rename to qnan_value.
29391         * math/gen-libm-test.pl (%beautify): Adjust to that.
29392         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29393         * math/test-misc.c (main): Likewise.
29394         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29395         to __qnan_bytes, and __qnan_union, respectively.
29396         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29397         Likewise.
29398         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29399         and lqnanval, respectively.
29400         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29401         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29402         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29403         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29405         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29406         * math/test-misc.c (main) [__x86_64__]: Enable test for long
29407         doubles.
29409         * math/test-misc.c (main): Fix copy'n'pastos.
29410         * misc/tst-efgcvt.c (special): Likewise.
29412         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29413         Remove declarations.
29415 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29417         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29418         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29419         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29420         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29422 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29424         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29425         macro to return vdso values correctly in IFUNC implementations.
29426         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29427         Optimization by using IFUNC.
29429 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29430             Richard Henderson  <rth@redhat.com>
29431             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29433         * Makefile.in (bench): New target.
29434         * NEWS: Mention the benchmark framework.
29435         * Rules (bench): Likewise.
29436         (binaries-bench): Generate binaries for functions to
29437         benchmark.
29438         * benchtests/Makefile: New makefile for benchmark tests.
29439         * benchtests/bench-skeleton.c: New skeleton file for benchmark
29440         programs.
29441         * benchtests/exp-inputs: New input file for EXP function.
29442         * benchtests/pow-inputs: New input file for POW function.
29443         * scripts/bench.pl: New script to generate source files for
29444         benchmark programs.
29446 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29448         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29449         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29450         computations on mantissa.  Use macros for rounding and
29451         division.
29452         (denorm): Likewise.
29453         (__dbl_mp): Likewise.
29454         (add_magnitudes): Likewise.
29455         (sub_magnitudes): Likewise.
29456         (__mul): Likewise.
29457         (__sqr): Likewise.
29458         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29459         powers of two in terms of TWOPOW macro.
29460         (mp_no): Make type of mantissa as MANTISSA_T.
29461         [!RADIXI]: Define RADIXI.
29462         [!TWO52]: Define TWO52.
29463         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29465         * manual/nptl.texi (cindex): Modify threads to pthreads.
29467 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
29469         * sysdeps/x86_64/preconfigure: Regenerated.
29471 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
29473         [BZ #14155]
29474         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29475         0x1p28 and above.
29476         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29477         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29478         0x1p28 and above.
29479         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29480         * math/libm-test.inc (j0_test): Do not allow one spurious
29481         underflow exception.
29482         (y1_test): Likewise.
29484 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29486         * manual/Makefile (chapters): Add nptl.
29487         * manual/debug.texi (Debugging Support): Add link to Threads
29488         chapter.
29489         * manual/nptl.texi: New file.
29491         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29493 2013-03-14  Petr Baudis  <pasky@ucw.cz>
29495         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29496         for non-NULL pointer before the memory validity test. Pointed
29497         out by Holger Brunck <holger.brunck@keymile.com>.
29499 2013-03-13  Andreas Schwab  <schwab@suse.de>
29501         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29502         instead of .os.
29504 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
29506         * timezone/zic.c: Update from tzcode 2013b.
29508 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
29510         * manual/install.texi (Configuring and compiling):
29511         Mention i686 and i586.
29512         * INSTALL: Regenerate.
29514 2013-03-12  Roland McGrath  <roland@hack.frob.com>
29516         * sysdeps/init_array/elf-init.c: New file.
29517         * csu/elf-init.c
29518         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29519         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29521         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29522         __gmon_start__ as global, but as static with a .preinit_array pointer.
29523         * sysdeps/init_array/gmon-start.c: New file.  Use that.
29524         * sysdeps/init_array/crti.S: New file, empty except for comments.
29525         * sysdeps/init_array/crtn.S: Likewise.
29527 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
29529         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29530         definining bcopy.
29531         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29532         Remove Prefer_SSE_for_memop.
29533         * sysdeps/x86_64/multiarch/init-arch.h: Remove
29534         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29535         HAS_PREFER_SSE_FOR_MEMOP.
29536         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29537         memset-x86-64.
29538         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29539         Remove bzero, memset ifunc support.
29540         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29541         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29542         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29543         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29545 2013-03-11  Andreas Schwab  <schwab@suse.de>
29547         [BZ #15234]
29548         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29549         by SHLIB_COMPAT.
29550         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29551         (GLIBC_2.16): Remove pthread_atfork.
29553 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29555         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29556         (ptestcases.h): Likewise.
29558 2013-03-08  Roland McGrath  <roland@hack.frob.com>
29560         * Makeconfig ($(common-objpfx)config.status): Depend on
29561         sysdeps/*/preconfigure{,.in} too.
29563 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
29565         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29566         (__free_hook): Use void * instead of __malloc_ptr_t.
29567         (__malloc_hook): Likewise.
29568         (__realloc_hook): Likewise.
29569         (__memalign_hook): Likewise.
29570         (__after_morecore_hook): Likewise.
29571         * malloc/arena.c (save_malloc_hook): Likewise.
29572         (save_free_hook): Likewise.
29573         * malloc/hooks.c (malloc_hook_ini): Likewise.
29574         (realloc_hook_ini): Likewise.
29575         (memalign_hook_ini): Likewise.
29576         * malloc/malloc.c (malloc_hook_ini): Likewise.
29577         (realloc_hook_ini): Likewise.
29578         (memalign_hook_ini): Likewise.
29579         (__free_hook): Likewise.
29580         (__malloc_hook): Likewise.
29581         (__realloc_hook): Likewise.
29582         (__memalign_hook): Likewise.
29583         (__libc_malloc): Likewise.
29584         (__libc_free): Likewise.
29585         (__libc_realloc): Likewise.
29586         (__libc_memalign): Likewise.
29587         (__libc_valloc): Likewise.
29588         (__libc_pvalloc): Likewise.
29589         (__libc_calloc): Likewise.
29590         (__posix_memalign): Likewise.
29591         * malloc/morecore.c (__sbrk): Likewise.
29592         (__default_morecore): Likewise.
29594         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29596         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29597         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29598         __malloc_ptrdiff_t.
29600         * malloc/malloc.h (__malloc_size_t): Remove macro.
29601         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29602         __malloc_size_t.
29603         (old_memalign_hook): Likewise.
29604         (old_realloc_hook): Likewise.
29605         (struct hdr): Likewise.
29606         (flood): Likewise.
29607         (mallochook): Likewise.
29608         (memalignhook): Likewise.
29609         (reallochook): Likewise.
29610         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29611         (tr_old_realloc_hook): Likewise.
29612         (tr_old_memalign_hook): Likewise.
29613         (tr_mallochook): Likewise.
29614         (tr_reallochook): Likewise.
29615         (tr_memalignhook): Likewise.
29617 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29619         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29620         default_ldbl_pack and using as default implementation.
29621         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29622         implementation.
29623         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29624         redundant definition.
29625         (ldbl_insert_mantissa): Likewise.
29626         (ldbl_canonicalize): Likewise.
29627         (ldbl_nearbyint): Likewise.
29628         (ldbl_pack): Rename to ldbl_pack_ppc.
29629         (ldbl_unpack): Rename to ldbl_unpack_ppc.
29630         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29631         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29633 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29635         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29636         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29637         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29638         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29639         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29640         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29641         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29642         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29644 2013-03-07  Andreas Jaeger  <aj@suse.de>
29646         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29647         bits/mman-linux.h.
29649 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29651         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29652         Include mpa.h and declare __MPEXP.
29653         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29654         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29655         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29656         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29657         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29658         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29659         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29661         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29662         (__slowpow): Use long double EXPL and LOGL functions to
29663         compute POW.
29664         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29665         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29666         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29667         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29668         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29669         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29671         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29672         intermediate variable to calculate exponent.
29673         (__sqr): Likewise.
29674         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29675         Likewise.
29676         (__sqr): Likewise.
29678         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29679         [!NO__SQR]: Define __sqr.
29680         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29681         and NO__SQR.  Remove all code except __mul and __sqr.  Include
29682         sysdeps/ieee754/dbl-64/mpa.c.
29683         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29685         [BZ #12723]
29686         * posix/Makefile (tests): Add tst-pathconf.
29687         * posix/tst-pathconf.c: New test case.
29688         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29689         _PC_PIPE_BUF.
29690         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29692 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
29694         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29696 2013-03-06  Andreas Jaeger  <aj@suse.de>
29698         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29699         definition via __MAP_ANONYMOUS.
29701         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29702         it's not part of Linux headers.
29704         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29705         (MAP_HUGE_MASK): Define.
29707         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29708         Define.
29709         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29710         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29711         Define.
29712         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29713         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29714         Define.
29715         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29716         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29717         Define.
29718         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29720         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29721         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29722         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29723         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29724         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29725         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29727         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29728         Handle f2fs.
29730         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29731         Handle f2fs and efivarfs.
29733         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29734         f2fs.
29736         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29737         (EFIVARFS_MAGIC): Add.
29738         (F2FS_LINK_MAX): Add.
29740 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29742         * stdio-common/vfprintf.c: Replace __builtin_expect with
29743         __glibc_unlikely.
29745 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
29747         [BZ #13550]
29748         * sysdeps/generic/bp-sym.h: Remove file.
29749         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29750         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29751         <bp-sym.h> and <bp-asm.h>.
29752         (__longjmp): Don't use BP_SYM.
29753         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29754         and <bp-asm.h>.
29755         (memcpy): Don't use BP_SYM.
29756         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29757         <bp-sym.h> and <bp-asm.h>.
29758         (memcpy): Don't use BP_SYM.
29759         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29760         <bp-asm.h>.
29761         (memcpy): Don't use BP_SYM.
29762         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29763         <bp-asm.h>.
29764         (memset): Don't use BP_SYM.
29765         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29766         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29767         (__bzero): Don't use BP_SYM.
29768         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29769         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29770         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29771         <bp-sym.h> and <bp-asm.h>.
29772         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29773         pointers.
29774         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29775         <bp-sym.h> and <bp-asm.h>.
29776         (memcpy): Don't use BP_SYM.
29777         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29778         <bp-sym.h> and <bp-asm.h>.
29779         (memset): Don't use BP_SYM.
29780         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29781         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29782         (__bzero): Don't use BP_SYM.
29783         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29784         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29785         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29786         <bp-sym.h> and <bp-asm.h>.
29787         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29788         pointers.
29789         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29790         <bp-sym.h> and <bp-asm.h>.
29791         (memcpy): Don't use BP_SYM.
29792         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29793         <bp-sym.h> and <bp-asm.h>.
29794         (memset): Don't use BP_SYM.
29795         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29796         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29797         (__bzero): Don't use BP_SYM.
29798         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29799         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29800         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29801         <bp-sym.h> and <bp-asm.h>.
29802         (__memchr): Don't use BP_SYM.
29803         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29804         <bp-sym.h> and <bp-asm.h>.
29805         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29806         pointers.
29807         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29808         <bp-sym.h> and <bp-asm.h>.
29809         (memcpy): Don't use BP_SYM.
29810         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29811         <bp-sym.h> and <bp-asm.h>.
29812         (__mempcpy): Don't use BP_SYM.
29813         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29814         <bp-sym.h> and <bp-asm.h>.
29815         (__memrchr): Don't use BP_SYM.
29816         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29817         <bp-sym.h> and <bp-asm.h>.
29818         (memset): Don't use BP_SYM.
29819         (__bzero): Likewise.
29820         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29821         <bp-sym.h> and <bp-asm.h>.
29822         (__rawmemchr): Don't use BP_SYM.
29823         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29824         <bp-sym.h> and <bp-asm.h>.
29825         (__STRCMP): Don't use BP_SYM.
29826         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29827         <bp-sym.h> and <bp-asm.h>.
29828         (strchr): Don't use BP_SYM.
29829         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29830         <bp-sym.h> and <bp-asm.h>.
29831         (__strchrnul): Don't use BP_SYM.
29832         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29833         <bp-sym.h> and <bp-asm.h>.
29834         (strlen): Don't use BP_SYM.
29835         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29836         <bp-sym.h> and <bp-asm.h>.
29837         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29838         pointers.
29839         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29840         <bp-sym.h> and <bp-asm.h>.
29841         (__strnlen): Don't use BP_SYM.
29842         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29843         <bp-sym.h> and <bp-asm.h>.
29844         (__GI__setjmp): Don't use BP_SYM.
29845         (_setjmp): Likewise.
29846         (__sigsetjmp): Likewise.
29847         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29848         (L(start_addresses)): Don't use BP_SYM.
29849         (_start): Likewise.
29850         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29851         <bp-asm.h>.
29852         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29853         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29854         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29855         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29856         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29857         <bp-asm.h>.
29858         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29859         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
29860         about bounded pointers.
29861         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29862         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29863         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29864         <bp-asm.h>.
29865         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29866         about bounded pointers.  Remove GKM FIXME comments.
29867         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29868         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29869         <bp-asm.h>.
29870         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29871         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
29872         Remove GKM FIXME comments.
29873         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29874         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29875         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29876         <bp-asm.h>.
29877         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29878         about bounded pointers.  Remove GKM FIXME comment.
29879         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29880         and <bp-asm.h>.
29881         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29882         pointers.
29883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29884         <bp-sym.h> and <bp-asm.h>.
29885         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29887         <bp-sym.h> and <bp-asm.h>.
29888         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29889         comment.
29891 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29893         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29894         call free(NULL).
29896 2013-03-05  David S. Miller  <davem@davemloft.net>
29898         * po/es.po: Update from translation team.
29900 2013-03-05  Andreas Jaeger  <aj@suse.de>
29902         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29903         <bits/mman-linux.h>.
29904         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29905         is fine.
29906         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29907         <bits/mman-linux.h> to end of file.
29908         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29909         is fine.
29910         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29911         <bits/mman-linux.h> to end of file.
29912         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29913         is fine.
29914         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29915         <bits/mman-linux.h> to end of file.
29917         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29918         (MCL_CURRENT, MCL_FUTURE): Define here.
29920 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29922         [BZ #15232]
29923         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29924         attribute_hidden.
29925         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29927 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29929         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29930         fourth parameter needed for rt_sigprocmask syscall.
29931         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29932         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29933         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29934         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29935         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29936         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29938 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
29940         [BZ #13550]
29941         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29942         comment about bounded pointers.
29943         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29944         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29946 2013-03-04  Andreas Jaeger  <aj@suse.de>
29948         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29949         common definitions.
29951         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29952         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29953         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29954         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29955         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29956         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29958 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29960         [BZ #15055]
29961         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29962         __ieee754_sqrl instead of __sqrl.
29964 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
29966         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29967         * sysdeps/powerpc/fpu_control.h: ... here.
29968         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29969         * sysdeps/powerpc/bits/fenvinline.h: ... here.
29970         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29971         * sysdeps/powerpc/bits/mathinline.h: ... here.
29973 2013-03-01  Roland McGrath  <roland@hack.frob.com>
29975         * elf/dl-hwcaps.c (_dl_important_hwcaps):
29976         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29977         to just [NEED_DL_SYSINFO_DSO].
29978         * elf/dl-support.c: Likewise.
29979         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29980         * elf/rtld.c (dl_main): Likewise.
29981         * elf/setup-vdso.h (setup_vdso): Likewise.
29982         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29983         * sysdeps/unix/sysv/linux/dl-sysdep.c
29984         (_dl_discover_osversion): Likewise.
29986 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
29988         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29989         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29991 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29993         * NEWS: Mention libm performance improvements and non-x86 PI
29994         futex support.
29996         * csu/libc-start.c (__pthread_initialize_minimal): Change
29997         function arguments.
29998         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30000 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
30002         [BZ #13550]
30003         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30004         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30005         <bp-sym.h> and <bp-asm.h>.
30006         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30007         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30008         and <bp-asm.h>.
30009         (memcpy): Don't use BP_SYM.
30010         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30011         <bp-asm.h>.
30012         (__mpn_add_n): Don't use BP_SYM.
30013         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30014         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30015         and <bp-asm.h>.
30016         (__mpn_addmul_1): Don't use BP_SYM.
30017         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30018         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30019         <bp-sym.h>.
30020         (_setjmp): Don't use BP_SYM.
30021         (__novmx_setjmp): Likewise.
30022         (__GI__setjmp): Likewise.
30023         (__vmx_setjmp): Likewise.
30024         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30025         <bp-sym.h>.
30026         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30027         (__bzero): Don't use BP_SYM.
30028         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30029         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30030         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30031         <bp-sym.h> and <bp-asm.h>.
30032         (memcpy): Don't use BP_SYM.
30033         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30034         <bp-sym.h> and <bp-asm.h>.
30035         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30036         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30037         <bp-sym.h> and <bp-asm.h>.
30038         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30039         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30040         <bp-asm.h>.
30041         (__mpn_lshift): Don't use BP_SYM.
30042         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30043         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30044         <bp-asm.h>.
30045         (memset): Don't use BP_SYM.
30046         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30047         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30048         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30049         <bp-asm.h>.
30050         (__mpn_mul_1): Don't use BP_SYM.
30051         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30052         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30053         <bp-sym.h> and <bp-asm.h>.
30054         (memcmp): Don't use BP_SYM.
30055         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30056         <bp-sym.h> and <bp-asm.h>.
30057         (memcpy): Don't use BP_SYM.
30058         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30059         <bp-sym.h> and <bp-asm.h>.
30060         (memset): Don't use BP_SYM.
30061         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30062         <bp-sym.h> and <bp-asm.h>.
30063         (strncmp): Don't use BP_SYM.
30064         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30065         <bp-sym.h> and <bp-asm.h>.
30066         (memcpy): Don't use BP_SYM.
30067         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30068         <bp-sym.h> and <bp-asm.h>.
30069         (memset): Don't use BP_SYM.
30070         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30071         <bp-sym.h> and <bp-asm.h>.
30072         (__memchr): Don't use BP_SYM.
30073         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30074         <bp-sym.h> and <bp-asm.h>.
30075         (memcmp): Don't use BP_SYM.
30076         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30077         <bp-sym.h> and <bp-asm.h>.
30078         (memcpy): Don't use BP_SYM.
30079         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30080         <bp-sym.h> and <bp-asm.h>.
30081         (__mempcpy): Don't use BP_SYM.
30082         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30083         <bp-sym.h> and <bp-asm.h>.
30084         (__memrchr): Don't use BP_SYM.
30085         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30086         <bp-sym.h> and <bp-asm.h>.
30087         (memset): Don't use BP_SYM.
30088         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30089         <bp-sym.h> and <bp-asm.h>.
30090         (__rawmemchr): Don't use BP_SYM.
30091         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30092         <bp-sym.h> and <bp-asm.h>.
30093         (__STRCMP): Don't use BP_SYM.
30094         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30095         <bp-sym.h> and <bp-asm.h>.
30096         (strchr): Don't use BP_SYM.
30097         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30098         <bp-sym.h> and <bp-asm.h>.
30099         (__strchrnul): Don't use BP_SYM.
30100         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30101         <bp-sym.h> and <bp-asm.h>.
30102         (strlen): Don't use BP_SYM.
30103         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30104         <bp-sym.h> and <bp-asm.h>.
30105         (strncmp): Don't use BP_SYM.
30106         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30107         <bp-sym.h> and <bp-asm.h>.
30108         (__strnlen): Don't use BP_SYM.
30109         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30110         <bp-asm.h>.
30111         (__mpn_rshift): Don't use BP_SYM.
30112         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30113         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30114         <bp-sym.h> and <bp-asm.h>.
30115         (__sigsetjmp): Don't use BP_SYM.
30116         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30117         (L(start_addresses)): Don't use BP_SYM.
30118         (_start): Likewise.
30119         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30120         <bp-asm.h>.
30121         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30122         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30123         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30124         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30125         <bp-asm.h>.
30126         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30127         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30128         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30129         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30130         <bp-asm.h>.
30131         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30132         comments.
30133         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30134         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30135         <bp-asm.h>.
30136         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
30137         FIXME comments.
30138         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30139         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30140         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30141         <bp-asm.h>.
30142         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30143         comment.
30144         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30145         and <bp-asm.h>.
30146         (strncmp): Don't use BP_SYM,
30147         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30148         <bp-asm.h>.
30149         (__mpn_sub_n): Don't use BP_SYM.
30150         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30151         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30152         and <bp-asm.h>.
30153         (__mpn_submul_1): Don't use BP_SYM.
30154         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30156         <bp-sym.h> and <bp-asm.h>.
30157         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30159         <bp-sym.h> and <bp-asm.h>.
30160         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30161         comment.
30163 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30165         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30166         Use ZK to minimize writes to Z.
30167         (sub_magnitudes): Simplify code a bit.
30168         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30169         Use ZK to minimize writes to Z.
30170         (sub_magnitudes): Simplify code a bit.
30172 2013-02-27  Roland McGrath  <roland@hack.frob.com>
30174         * csu/gmon-start.c: Add special exception to license text.
30176 2013-02-27  Richard Henderson  <rth@redhat.com>
30178         * scripts/config.guess: Update from config.git.
30179         * scripts/config.sub: Likewise.
30181 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30183         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30185         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30187         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30189         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30191         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30193 2013-02-26  Roland McGrath  <roland@hack.frob.com>
30195         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30196         [$(build-shared = yes].
30198 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30200         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30201         (__mul): Reduce iterations for calculating mantissa.
30203         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30204         MPTWO.
30205         (__mpranred): Likewise.
30207         [BZ #15160]
30208         * malloc/memusagestat.c (main): Draw graphs for heap and stack
30209         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30211 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
30213         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30214         Define __attribute__.
30216 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30218         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30219         unused.
30220         * posix/regex_internal.h (__attribute): Remove.
30221         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30222         (re_string_context_at): Likewise.
30223         (bitset_not): Use __attribute__ and mark function as possibly
30224         unused.
30225         (bitset_merge): Likewise.
30226         (bitset_mask): Likewise.
30227         (re_string_char_size_at): Likewise.
30228         (re_string_wchar_at): Likewise.
30229         (re_string_elem_size_at): Likewise.
30231 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30233         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30234         code.
30235         (cc32): Likewise.
30237         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30238         (__acr): Likewise.
30239         (__cpy): Likewise.
30240         (norm): Likewise.
30241         (denorm): Likewise.
30242         (__dbl_mp): Likewise.
30243         (add_magnitudes): Likewise.
30244         (sub_magnitudes): Likewise.
30245         (__mul): Likewise.
30246         (__inv): Likewise.
30248         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30249         style.
30251         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30252         style.
30254         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30255         code.
30257         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30258         up changes with default code.
30259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30260         Likewise.
30262 2013-02-24  Allan McRae  <allan@archlinux.org>
30264         * manual/socket.texi (The Internet Namespace): Order menu items
30265         to match that in the file.
30267         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30268         node listing of the info page menu.
30270 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
30272         [BZ #13550]
30273         * sysdeps/i386/bp-asm.h: Remove file.
30274         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30275         (PARMS): Do not use macros from bp-asm.h.
30276         (S1): Likewise.
30277         (S2): Likewise.
30278         (SIZE): Likewise.
30279         (__mpn_add_n): Do not use BP_SYM
30280         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30281         "bp-asm.h".
30282         (PARMS): Do not use macros from bp-asm.h.
30283         (S1): Likewise.
30284         (SIZE): Likewise.
30285         (__mpn_addmul_1): Do not use BP_SYM
30286         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30287         "bp-asm.h".
30288         (PARMS): Do not use macros from bp-asm.h.
30289         (SIGMSK): Likewise.
30290         (_setjmp): Likewise.  Do not use BP_SYM.
30291         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30292         "bp-asm.h".
30293         (PARMS): Do not use macros from bp-asm.h.
30294         (SIGMSK): Likewise.
30295         (setjmp): Likewise.  Do not use BP_SYM.
30296         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30297         "bp-asm.h".
30298         (PARMS): Do not use macros from bp-asm.h.
30299         (__frexp): Do not use BP_SYM.
30300         (frexp): Likewise.
30301         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30302         "bp-asm.h".
30303         (PARMS): Do not use macros from bp-asm.h.
30304         (__frexpf): Do not use BP_SYM.
30305         (frexpf): Likewise.
30306         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30307         "bp-asm.h".
30308         (PARMS): Do not use macros from bp-asm.h.
30309         (__frexpl): Do not use BP_SYM.
30310         (frexpl): Likewise.
30311         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30312         "bp-asm.h".
30313         (PARMS): Do not use macros from bp-asm.h.
30314         (__remquo): Do not use BP_SYM.
30315         (remquo): Likewise.
30316         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30317         "bp-asm.h".
30318         (PARMS): Do not use macros from bp-asm.h.
30319         (__remquof): Do not use BP_SYM.
30320         (remquof): Likewise.
30321         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30322         "bp-asm.h".
30323         (PARMS): Do not use macros from bp-asm.h.
30324         (__remquol): Do not use BP_SYM.
30325         (remquol): Likewise.
30326         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30327         "bp-asm.h".
30328         (PARMS): Do not use macros from bp-asm.h.
30329         (DEST): Likewise.
30330         (SRC): Likewise.
30331         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
30332         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30333         "bp-asm.h".
30334         (PARMS): Do not use macros from bp-asm.h.
30335         (strlen): Do not use BP_SYM.
30336         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30337         "bp-asm.h".
30338         (PARMS): Do not use macros from bp-asm.h.
30339         (S1): Likewise.
30340         (S2): Likewise.
30341         (SIZE): Likewise.
30342         (__mpn_add_n): Do not use BP_SYM.
30343         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30344         "bp-asm.h".
30345         (PARMS): Do not use macros from bp-asm.h.
30346         (S1): Likewise.
30347         (SIZE): Likewise.
30348         (__mpn_addmul_1): Do not use BP_SYM.
30349         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30350         weak_alias.
30351         (bzero): Likewise.
30352         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30353         "bp-asm.h".
30354         (PARMS): Do not use macros from bp-asm.h.
30355         (S): Likewise.
30356         (SIZE): Likewise.
30357         (__mpn_lshift): Do not use BP_SYM.
30358         * sysdeps/i386/i586/memcpy.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         (SRC): Likewise.
30363         (LEN): Likewise.
30364         (memcpy): Likewise.  Do not use BP_SYM.
30365         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30366         libc_hidden_def and weak_alias.
30367         (mempcpy): Do not use BP_SYM in weak_alias.
30368         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30369         "bp-asm.h".
30370         (PARMS): Do not use macros from bp-asm.h.
30371         (DEST): Likewise.
30372         (LEN): Likewise.
30373         [!BZERO_P] (CHR): Likewise.
30374         (memset): Likewise.  Do not use BP_SYM.
30375         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30376         "bp-asm.h".
30377         (PARMS): Do not use macros from bp-asm.h.
30378         (S1): Likewise.
30379         (SIZE): Likewise.
30380         (__mpn_mul_1): Do not use BP_SYM.
30381         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30382         "bp-asm.h".
30383         (PARMS): Do not use macros from bp-asm.h.
30384         (S): Likewise.
30385         (SIZE): Likewise.
30386         (__mpn_rshift): Do not use BP_SYM.
30387         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30388         "bp-asm.h".
30389         (PARMS): Do not use macros from bp-asm.h.
30390         (STR): Likewise.
30391         (CHR): Likewise.
30392         (strchr): Likewise.  Do not use BP_SYM.
30393         (index): Do not use BP_SYM in weak_alias.
30394         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30395         "bp-asm.h".
30396         (PARMS): Do not use macros from bp-asm.h.
30397         (DEST): Likewise.
30398         (SRC): Likewise.
30399         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
30400         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30401         "bp-asm.h".
30402         (PARMS): Do not use macros from bp-asm.h.
30403         (strlen): Do not use BP_SYM.
30404         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30405         "bp-asm.h".
30406         (PARMS): Do not use macros from bp-asm.h.
30407         (S1): Likewise.
30408         (S2): Likewise.
30409         (SIZE): Likewise.
30410         (__mpn_sub_n): Do not use BP_SYM.
30411         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30412         "bp-asm.h".
30413         (PARMS): Do not use macros from bp-asm.h.
30414         (S1): Likewise.
30415         (SIZE): Likewise.
30416         (__mpn_submul_1): Do not use BP_SYM.
30417         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30418         "bp-asm.h".
30419         (PARMS): Do not use macros from bp-asm.h.
30420         (S1): Likewise.
30421         (S2): Likewise.
30422         (SIZE): Likewise.
30423         (__mpn_add_n): Do not use BP_SYM.
30424         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30425         weak_alias.
30426         (bzero): Likewise.
30427         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30428         "bp-asm.h".
30429         (PARMS): Do not use macros from bp-asm.h.
30430         (BLK2): Likewise.
30431         (LEN): Likewise.
30432         (memcmp): Do not use BP_SYM.
30433         (bcmp): Do not use BP_SYM in weak_alias.
30434         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30435         "bp-asm.h".
30436         (PARMS): Do not use macros from bp-asm.h.
30437         (DEST): Likewise.
30438         (SRC): Likewise.
30439         (LEN): Likewise.
30440         (memcpy): Likewise.  Do not use BP_SYM.
30441         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30442         "bp-asm.h".
30443         (PARMS): Do not use macros from bp-asm.h.
30444         (DEST): Likewise.
30445         (SRC): Likewise.
30446         (LEN): Likewise.
30447         (memmove): Likewise.  Do not use BP_SYM.
30448         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30449         "bp-asm.h".
30450         (PARMS): Do not use macros from bp-asm.h.
30451         (DEST): Likewise.
30452         (SRC): Likewise.
30453         (LEN): Likewise.
30454         (__mempcpy): Likewise.  Do not use BP_SYM.
30455         (mempcpy): Do not use BP_SYM in weak_alias.
30456         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30457         "bp-asm.h".
30458         (PARMS): Do not use macros from bp-asm.h.
30459         (DEST): Likewise.
30460         (LEN): Likewise.
30461         [!BZERO_P] (CHR): Likewise.
30462         (memset): Likewise.  Do not use BP_SYM.
30463         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30464         "bp-asm.h".
30465         (PARMS): Do not use macros from bp-asm.h.
30466         (STR2): Likewise.
30467         (strcmp): Do not use BP_SYM.
30468         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30469         "bp-asm.h".
30470         (PARMS): Do not use macros from bp-asm.h.
30471         (STR): Likewise.
30472         (DELIM): Likewise.
30473         [USE_AS_STRTOK_R] (SAVE): Likewise.
30474         (FUNCTION): Likewise.  Do not use BP_SYM.
30475         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30476         aliases.
30477         (strtok_r): Likewise.
30478         (__GI___strtok_r): Likewise.
30479         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30480         (PARMS): Do not use macros from bp-asm.h.
30481         (S): Likewise.
30482         (SIZE): Likewise.
30483         (__mpn_lshift): Do not use BP_SYM.
30484         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30485         (PARMS): Do not use macros from bp-asm.h.
30486         (STR): Likewise.
30487         (CHR): Likewise.
30488         (__memchr): Do not use BP_SYM.
30489         (memchr): Do not use BP_SYM in weak_alias.
30490         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30491         (PARMS): Do not use macros from bp-asm.h.
30492         (BLK2): Likewise.
30493         (LEN): Likewise.
30494         (memcmp): Do not use BP_SYM.
30495         (bcmp): Do not use BP_SYM in weak_alias.
30496         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30497         (PARMS): Do not use macros from bp-asm.h.
30498         (S1): Likewise.
30499         (SIZE): Likewise.
30500         (__mpn_mul_1): Do not use BP_SYM.
30501         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30502         "bp-asm.h".
30503         (PARMS): Do not use macros from bp-asm.h.
30504         (STR): Likewise.
30505         (CHR): Likewise.
30506         (__rawmemchr): Do not use BP_SYM.
30507         (rawmemchr): Do not use BP_SYM in weak_alias.
30508         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30509         (PARMS): Do not use macros from bp-asm.h.
30510         (S): Likewise.
30511         (SIZE): Likewise.
30512         (__mpn_rshift): Do not use BP_SYM.
30513         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30514         (PARMS): Do not use macros from bp-asm.h.
30515         (SIGMSK): Likewise.
30516         (__sigsetjmp): Likewise.  Do not use BP_SYM.
30517         * sysdeps/i386/start.S: Do not include "bp-sym.h".
30518         (_start): Do not use BP_SYM.
30519         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30520         (PARMS): Do not use macros from bp-asm.h.
30521         (DEST): Likewise.
30522         (SRC): Likewise.
30523         (__stpcpy): Likewise.  Do not use BP_SYM.
30524         (stpcpy): Do not use BP_SYM in weak_alias.
30525         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30526         "bp-asm.h".
30527         (PARMS): Do not use macros from bp-asm.h.
30528         (DEST): Likewise.
30529         (SRC): Likewise.
30530         (LEN): Likewise.
30531         (__stpncpy): Likewise.  Do not use BP_SYM.
30532         (stpncpy): Do not use BP_SYM in weak_alias.
30533         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30534         (PARMS): Do not use macros from bp-asm.h.
30535         (STR): Likewise.
30536         (CHR): Likewise.
30537         (strchr): Likewise.  Do not use BP_SYM.
30538         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30539         "bp-asm.h".
30540         (PARMS): Do not use macros from bp-asm.h.
30541         (STR): Likewise.
30542         (CHR): Likewise.
30543         (__strchrnul): Likewise.  Do not use BP_SYM.
30544         (strchrnul): Do not use BP_SYM in weak_alias.
30545         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30546         "bp-asm.h".
30547         (PARMS): Do not use macros from bp-asm.h.
30548         (STOP): Likewise.
30549         (strcspn): Do not use BP_SYM.
30550         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30551         "bp-asm.h".
30552         (PARMS): Do not use macros from bp-asm.h.
30553         (STR): Likewise.
30554         (STOP): Likewise.
30555         (strpbrk): Likewise.  Do not use BP_SYM.
30556         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30557         "bp-asm.h".
30558         (PARMS): Do not use macros from bp-asm.h.
30559         (STR): Likewise.
30560         (CHR): Likewise.
30561         (strrchr): Likewise.  Do not use BP_SYM.
30562         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30563         (PARMS): Do not use macros from bp-asm.h.
30564         (SKIP): Likewise.
30565         (strspn): Do not use BP_SYM.
30566         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30567         (PARMS): Do not use macros from bp-asm.h.
30568         (STR): Likewise.
30569         (DELIM): Likewise.
30570         (SAVE): Likewise.
30571         (FUNCTION): Likewise.  Do not use BP_SYM.
30572         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30573         aliases.
30574         (strtok_r): Likewise.
30575         (__GI___strtok_r): Likewise.
30576         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30577         (PARMS): Do not use macros from bp-asm.h.
30578         (S1): Likewise.
30579         (S2): Likewise.
30580         (SIZE): Likewise.
30581         (__mpn_sub_n): Do not use BP_SYM.
30582         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30583         "bp-asm.h".
30584         (PARMS): Do not use macros from bp-asm.h.
30585         (S1): Likewise.
30586         (SIZE): Likewise.
30587         (__mpn_submul_1): Do not use BP_SYM.
30588         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30589         <bp-sym.h>.
30590         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30591         and <bp-asm.h>.
30592         (PARMS): Do not use macros from bp-asm.h.
30593         (FLAGS): Likewise.
30594         (PTID): Likewise.
30595         (TLS): Likewise.
30596         (CTID): Likewise.
30597         (__clone): Do not use BP_SYM.
30598         (clone): Do not use BP_SYM in weak_alias.
30599         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30600         and <bp-asm.h>.
30601         (PARMS): Do not use macros from bp-asm.h.
30602         (LEN): Likewise.
30603         (__mmap64): Do not use BP_SYM.
30604         (mmap64): Do not use BP_SYM in weak_alias.
30605         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30606         <bp-sym.h> and <bp-asm.h>.
30607         (PARMS): Do not use macros from bp-asm.h.
30608         (__posix_fadvise64_l64): Do not use BP_SYM.
30609         * sysdeps/unix/sysv/linux/i386/semtimedop.S
30610         (PARMS): Do not use macros from bp-asm.h.
30611         (NSOPS): Likewise.
30612         (semtimedop): Do not use BP_SYM.
30613         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30614         and <bp-asm.h>.
30616 2013-02-21  Allan McRae  <allan@archlinux.org>
30618         * manual/message.texi (Charset conversion in gettext):
30619         Move @end statement to beginning of line.
30621 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30623         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30624         static.
30625         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30626         Likewise.
30628         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30629         (denorm): Likewise.
30630         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30631         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30633 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30635         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30636         tail-call to the resolved function if pltexit isn't needed.
30638 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30640         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30641         or Y being zero as being unlikely.
30642         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30643         Likewise.
30645 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
30647         * manual/nss.texi (System Databases and Name Service Switch):
30648         Remove frobnicate @pxref.
30650 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30652         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30653         __attribute__ ((unused)) to __attribute__ ((__unused__)).
30655 2013-02-20  Petr Machata  <pmachata@redhat.com>
30657         * elf/elf.h (R_ARM_TARGET1): New macro.
30658         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30659         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30660         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30661         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30662         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30663         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30664         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30665         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30666         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30667         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30668         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30669         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30670         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30671         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30672         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30673         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30674         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30675         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30676         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30677         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30678         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30679         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30680         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30681         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30682         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30683         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30684         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30685         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30686         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30687         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30688         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30689         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30690         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30691         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30692         (R_ARM_THM_GOT_BREL12): Likewise.
30693         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30694         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30695         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30696         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30697         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30698         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30699         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30700         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30701         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30703 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30705         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30706         __attribute_used__ to __attribute__ ((unused)).
30708 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30710         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30711         powerpc mpa.c.
30712         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30713         comment formatting.
30714         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30716 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
30718         [BZ #13550]
30719         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30720         Remove macro.
30721         (ENTER): Remove both macro definitions.
30722         (LEAVE): Likewise.
30723         (CHECK_BOUNDS_LOW): Likewise.
30724         (CHECK_BOUNDS_HIGH): Likewise.
30725         (CHECK_BOUNDS_BOTH): Likewise.
30726         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30727         (RETURN_BOUNDED_POINTER): Likewise.
30728         (RETURN_NULL_BOUNDED_POINTER): Likewise.
30729         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30730         (POP_ERRNO_LOCATION_RETURN): Likewise.
30731         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30732         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30733         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30734         macros.
30735         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30736         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30737         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30738         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30739         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30740         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30741         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30742         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30743         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30744         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30745         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30746         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30747         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30748         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30749         removed macros.
30750         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30751         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30752         macros.
30753         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30754         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30755         * sysdeps/i386/i586/memset.S (memset): Likewise.
30756         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30757         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30758         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30759         macros.
30760         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30761         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30762         Change uses of L(2) to L(out).
30763         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30764         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30765         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30766         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30767         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30768         removed macros.
30769         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30770         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30771         macros.
30772         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30773         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30774         (RETURN): Do not use macro LEAVE.
30775         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30776         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30777         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30778         * sysdeps/i386/i686/memset.S (memset): Likewise.
30779         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30780         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30781         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30782         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30783         Likewise.
30784         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30785         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
30786         L(1_2) and L(1_3) into L(1).
30787         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30788         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30789         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30790         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30791         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30792         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30793         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30794         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30795         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30796         macros.
30797         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30798         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30799         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30800         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30801         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30802         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30803         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30804         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30805         * sysdeps/i386/strcspn.S (strcspn): Likewise.
30806         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30807         * sysdeps/i386/strrchr.S (strrchr): Likewise.
30808         * sysdeps/i386/strspn.S (strspn): Likewise.
30809         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30810         conditional code.
30811         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30812         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30813         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30814         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
30815         L(1_3) into L(1_1).
30816         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30817         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30818         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30819         macros.
30820         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30822 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
30824         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30825         macro.
30827 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30829         * math/atest-exp.c (exp_mpn): Remove ROUND.
30830         * math/atest-exp2.c (exp_mpn): Likewise.
30831         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30833         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30834         * stdlib/tst-tls-atexit-lib.c: Likewise.
30835         * stdlib/tst-tls-atexit.c: Likewise.
30837 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30839         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30840         and __attribute_alloc_size__.
30842 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30844         * include/programs/xmalloc.h: Change __attribute_alloc_size to
30845         __attribute_alloc_size__.
30846         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30847         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30849 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30851         * include/programs/xmalloc.h: New file.
30852         * catgets/gencat.c: Include it.
30853         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30854         * elf/pldd.c: Likewise.
30855         * iconv/iconv_charmap.c: Likewise.
30856         * iconv/iconvconfig.c: Likewise.
30857         * iconv/strtab.c: Likewise.
30858         * locale/programs/locale.c: Likewise.
30859         * locale/programs/localedef.h: Likewise.
30860         * locale/programs/simple-hash.c: Likewise.
30861         * nscd/nscd.h: Likewise.
30862         * nss/makedb.c: Likewise.
30863         * sysdeps/generic/ldconfig.h: Likewise.
30865 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30867         * Versions.def: Add GLIBC_2.18.
30868         * include/link.h (struct link_map): New member l_tls_dtor_count.
30869         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30870         (__call_tls_dtors): Likewise.
30871         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30872         __cxa_thread_atexit_impl.
30873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30874         Likewise.
30875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30876         Likewise.
30877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30878         Likewise.
30879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30880         Likewise.
30881         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30883         Likewise.
30884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30885         Likewise.
30886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30888         Likewise.
30889         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30890         (tests): Add test case tst-tls-atexit.
30891         (modules-names): Add shared library for tst-tls-atexit.
30892         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30893         (GLIBC_PRIVATE): Add __call_tls_dtors.
30894         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30895         for libstdc++.
30896         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30897         * stdlib/tst-tls-atexit.c: New test case.
30898         * stdlib/tst-tls-atexit-lib.c: New test case.
30900         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30902         * elf/Versions (ld): Add _dl_find_dso_for_object.
30903         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30904         * elf/dl-open.c (_dl_find_dso_for_object): New function.
30905         (dl_open_worker): Use _dl_find_dso_for_object.
30906         * elf/dl-sym.c (do_sym): Likewise.
30907         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30909 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30911         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30912         Syntactic changes only.
30913         (_dl_runtime_profile): Do a tail-call to the resolved function.
30915 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
30917         [BZ #13550]
30918         * sysdeps/x86_64/bp-asm.h: Remove file.
30919         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30920         <bp-sym.h> and <bp-asm.h>.
30921         (__clone): Do not use BP_SYM.
30922         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30923         <bp-sym.h> and <bp-asm.h>.
30924         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30925         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30926         "bp-asm.h".
30927         (_setjmp): Do not use BP_SYM.
30928         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30929         "bp-asm.h".
30930         (setjmp): Do not use BP_SYM.
30931         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30932         libc_hidden_def.
30933         (mempcpy): Do not use BP_SYM in weak_alias.
30934         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30935         "bp-asm.h".
30936         (strchr): Do not use BP_SYM.
30937         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30938         "bp-asm.h".
30939         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30940         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30941         (_start): Do not use BP_SYM.
30942         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30943         "bp-asm.h".
30944         (strcat): Do not use BP_SYM.
30945         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30946         "bp-asm.h".
30947         (STRCMP): Do not use BP_SYM.
30948         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30949         "bp-asm.h".
30950         (STRCPY): Do not use BP_SYM.
30951         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30952         "bp-asm.h".
30953         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30954         "bp-asm.h".
30955         (FUNCTION): Do not use BP_SYM.
30956         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30957         weak_alias.
30958         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30960 2013-02-17  Andreas Jaeger  <aj@suse.de>
30962         * time/Versions: Sort entries.
30963         * string/Versions: Likewise.
30964         * resolv/Versions: Likewise.
30965         * posix/Versions: Likewise.
30966         * iconv/Versions: Likewise.
30967         * elf/Versions: Likewise.
30968         * wcsmbs/Versions: Likewise.
30970 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30972         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30973         loop termination condition.
30975         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30976         variable to calculate EZ.
30977         (__sqr): Likewise.
30979         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30980         the lower precision input.
30982 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
30984         [BZ #13550]
30985         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30986         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30987         (run-via-rtld-prefix): Do not handle %-bp tests.
30988         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30989         (all-object-suffixes): Remove .ob.
30990         (bppfx): Remove variable.
30991         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30992         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30993         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30994         [$(build-bounded) = yes] (libtype.ob): Likewise.
30995         * Makerules (elide-routines.ob): Remove variable.
30996         (do-tests-clean): Do not handle *-bp.out.
30997         (common-mostlyclean): Do not handle *-bp and *-bp.out.
30998         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30999         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31000         (tests): Do not include $(tests-bp.out).
31001         (xtests): Do not include $(xtests-bp.out).
31002         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31003         [$(build-bounded) = yes] ($(addprefix
31004         $(objpfx),$(binaries-bounded))): Remove rule.
31005         ($(objpfx)%-bp.out): Remove rule.
31006         * config.make.in (build-bounded): Remove variable.
31007         * crypt/Makefile [$(build-bounded) = yes]
31008         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31009         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31010         append to variable.
31011         [$(build-bounded) = yes] (install-lib): Likewise.
31012         [$(build-bounded) = yes] (generated): Likewise.
31013         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31014         Remove rule.
31015         * intl/Makefile [$(build-bounded) = yes]
31016         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31017         * math/Makefile [$(build-bounded) = yes]
31018         ($(tests:%=$(objpfx)%-bp): Likewise.
31019         * misc/Makefile [$(build-bounded) = yes]
31020         ($(objpfx)tst-tsearch-bp): Likewise.
31021         * nptl/Makeconfig (bounded-thread-library): Remove variable.
31022         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31023         Remove dependency.
31024         * string/Makefile (o-objects.ob): Remove variable.
31025         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31026         (CFLAGS-.ob): Remove variable.
31027         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31028         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31029         both definitions of variable.
31030         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31031         (ASFLAGS-.ob): Remove variable.
31033 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
31035         [BZ #13550]
31036         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31037         Remove __BOUNDED_POINTERS__ from condition.
31038         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31039         * string/bits/string2.h [!__NO_STRING_INLINES &&
31040         !__BOUNDED_POINTERS__]: Likewise.
31041         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31042         Likewise.
31043         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31044         Remove conditional code.
31045         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31046         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31047         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31048         condition.
31050         [BZ #13550]
31051         * csu/libc-start.c: Do not include <bp-sym.h>.
31052         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31053         * elf/dl-open.c: Do not include <bp-sym.h>.
31054         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31055         * math/fegetenv.c: Do not include <bp-sym.h>.
31056         (fegetenv): Do not use BP_SYM in versioned symbols.
31057         * nptl/sysdeps/pthread/bits/libc-lockP.h
31058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31059         <bp-sym.h>.
31060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31061         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31063         (__pthread_mutex_destroy): Likewise.
31064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31065         (__pthread_mutex_lock): Likewise.
31066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31067         (__pthread_mutex_trylock): Likewise.
31068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31069         (__pthread_mutex_unlock): Likewise.
31070         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31071         (__pthread_mutexattr_init): Likewise.
31072         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31073         (__pthread_mutexattr_destroy): Likewise.
31074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31075         (__pthread_mutexattr_settype): Likewise.
31076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31077         (__pthread_rwlock_init): Likewise.
31078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31079         (__pthread_rwlock_destroy): Likewise.
31080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31081         (__pthread_rwlock_rdlock): Likewise.
31082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31083         (__pthread_rwlock_tryrdlock): Likewise.
31084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31085         (__pthread_rwlock_wrlock): Likewise.
31086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31087         (__pthread_rwlock_trywrlock): Likewise.
31088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31089         (__pthread_rwlock_unlock): Likewise.
31090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31091         (__pthread_key_create): Likewise.
31092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31093         (__pthread_setspecific): Likewise.
31094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31095         (__pthread_getspecific): Likewise.
31096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31097         Likewise.
31098         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31099         (_pthread_cleanup_push_defer): Likewise.
31100         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31101         (_pthread_cleanup_pop_restore): Likewise.
31102         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31103         (pthread_setcancelstate): Likewise.
31104         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31105         <bp-sym.h>.
31106         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31107         (memchr): Do not use BP_SYM in weak_alias.
31108         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31109         (fegetenv): Do not use BP_SYM in versioned symbols.
31110         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31111         (fesetenv): Do not use BP_SYM in versioned symbols.
31112         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31113         (feupdateenv): Do not use BP_SYM in versioned symbols.
31114         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31115         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31116         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31117         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31118         (open64): Do not use BP_SYM in weak_alias.
31119         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31120         (fegetenv): Do not use BP_SYM in versioned symbols.
31121         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31122         (fesetenv): Do not use BP_SYM in versioned symbols.
31123         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31124         (feupdateenv): Do not use BP_SYM in versioned symbols.
31125         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31126         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31127         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31128         (feraiseexcept): Do not use BP_SYM in versioned symbols.
31129         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31130         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31131         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31132         <bp-sym.h>.
31133         (__libc_start_main): Do not use BP_SYM.
31135 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31137         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31138         redundant return line.
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.
31148         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31149         (norm): Likewise.
31150         (denorm): Likewise.
31151         (dbl_mp): Likewise.
31152         (sub_magnitudes): Likewise.
31153         (__add): Likewise.
31154         (__sub): Likewise.
31155         (__mul): Likewise.
31156         (__inv): Likewise.
31157         (__dvd): Likewise.
31159         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31160         instead of __mul.
31161         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31162         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31163         (cc32): Likewise.
31165         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31166         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31167         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31168         of __mul for squares.
31169         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31170         function
31171         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31172         Likewise.
31173         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31174         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31176 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
31178         [BZ #13550]
31179         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31180         code.
31181         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31182         prototype or function definition.  Rename ubp_* variables and
31183         parameters.  Remove argv definitions conditional on
31184         [__BOUNDED_POINTERS__].
31185         * debug/backtrace.c (__backtrace): Do not use __unbounded.
31186         * elf/dl-runtime.c (_dl_fixup): Likewise.
31187         * include/set-hooks.h (RUN_HOOK): Likewise.
31188         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31189         definition.
31190         * string/strcpy.c (strcpy): Do not use __unbounded.
31191         * sysdeps/generic/frame.h (struct layout): Likewise.
31192         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31193         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31194         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31195         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31196         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31197         (__backtrace): Likewise.
31198         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31199         use __ptrvalue.
31200         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31201         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31202         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31203         Likewise.
31204         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31205         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31206         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31207         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31208         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31209         Do not use __unbounded.
31210         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31211         Rename __unboundedrlimits parameter to rlimits in prototype.
31212         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31213         Do not use __unbounded.
31214         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31215         not use __ptrvalue.
31216         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31217         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31218         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31219         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31220         __ptrvalue or __unbounded.
31221         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31222         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31223         use __unbounded.
31224         (__new_msgctl): Do not use __ptrvalue.
31225         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31226         __unbounded.
31227         (__libc_msgrcv): Do not use __ptrvalue.
31228         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31229         startup_info): Do not use __unbounded.
31230         (__libc_start_main): Likewise.  Rename ubp_* variables and
31231         parameters.  Remove argv definitions conditional on
31232         [__BOUNDED_POINTERS__].
31233         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31234         __ptrvalue.
31235         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31236         use __unbounded.
31237         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31238         or __ptrvalue.
31239         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31240         use __unbounded.
31241         (__new_shmctl): Do not use __ptrvalue.
31242         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31243         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31244         Likewise.
31245         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31246         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31247         (__libc_sigaction): Likewise.
31248         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31249         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31250         Likewise.
31251         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31253 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
31255         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31257         * string/mempcpy.c: Implement by calling memcpy.
31259 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31261         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31263         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31264         evaluation.
31266         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31267         values in the mantissa.
31269         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31270         minimize writes to Z.
31271         (sub_magnitudes): Simplify code a bit.
31273 2013-02-12  Roland McGrath  <roland@hack.frob.com>
31275         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31276         from the message.  The linker prefixes all warnings with that already.
31278 2013-02-12  Andreas Schwab  <schwab@suse.de>
31280         [BZ #15078]
31281         * posix/regexec.c (extend_buffers): Add parameter min_len.
31282         (check_matching): Pass minimum needed length.
31283         (clean_state_log_if_needed): Likewise.
31284         (get_subexp): Likewise.
31285         * posix/Makefile (tests): Add bug-regex34.
31286         (bug-regex34-ENV): Define.
31287         * posix/bug-regex34.c: New file.
31289         [BZ #11561]
31290         * posix/regcomp.c (parse_bracket_exp): When looking up collating
31291         elements compare against the byte sequence of it, not its name.
31292         * posix/Makefile (tests): Add bug-regex35.
31293         (bug-regex35-ENV): Define.
31294         * posix/bug-regex35.c: New file.
31296 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31298         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
31299         comment.
31300         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31301         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31302         (CHECK_EOL): Add undef.
31304 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
31306         * bits/stdlib-bsearch.h: New file.
31307         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31308         * stdlib/stdlib.h: Likewise.
31310 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31312         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31313         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31314         declaration.
31315         * manual/search.texi (Array Search Function): Add missing const in
31316         lfind prototype.
31317         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31318         declaration to use rlim_t.
31319         (Basic Scheduling Functions): Remove erroneous const from
31320         sched_getparam prototype.  Remove erroneous * from
31321         sched_get_priority_max and sched_get_priority_min prototypes.
31322         (Resource Usage): Fix summary @comment on vtimes to refer to
31323         sys/vtimes.h rather than vtimes.h.
31324         Add missing *s in vtimes prototype.
31325         (Limits on Resources): Fix ulimit prototype to return long int.
31326         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31327         prototypes to use long int rather than double.
31328         (BSD Random): Fix initstate and setstate to use char *, not void *.
31329         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31330         prototype to make second argument 'struct aiocb64 *const[]'.
31331         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31332         (Status of AIO Operations): Remove erroneous const in aio_return and
31333         aio_return64 prototypes.
31334         (Synchronizing I/O): Fix sync prototype to return void.
31335         * manual/startup.texi (Suboptions): Remove an erroneous const in
31336         getsubopt prototype.
31337         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31338         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31339         use size_t rather than int.
31340         (Scanning All Users): Likewise for getpwent_r.
31341         (Setting Groups): Add missing const to setgroups prototype.
31342         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31343         * manual/socket.texi (Host Names): Fix gethostbyaddr and
31344         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31345         'const void *' rather than 'const char *'.
31346         (Host Address Functions): Likewise for inet_ntop.
31347         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31348         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31349         ssize_t for return value.
31350         (Sending Data): Likewise for send, sendto, sendmsg.
31351         (Socket Option Functions): Add a missing const in setsockopt prototype.
31352         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31353         use wchar_t for the argument.
31354         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31355         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31356         take no arguments.
31357         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31358         double/float/long double for second argument.
31359         Fix return types of significand, significandf, significandl.
31360         * manual/filesys.texi (Setting Permissions): Use mode_t for second
31361         argument in fchmod prototype.
31362         (File Owner): Use uid_t and gid_t in fchown prototype.
31363         (File Times): Add const to utimes, futimes, and lutimes prototypes.
31364         (Making Special Files): Use mode_t and dev_t in mknod prototype.
31365         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31366         use 'const struct dirent **' as argument types to CMP function pointer
31367         argument.
31368         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31369         (File Times): Fix summary magic @comment for struct utimbuf and utime
31370         to refer to utime.h, not time.h.
31371         * manual/string.texi (Argz Functions): Add missing const in
31372         argz_extract and argz_next prototypes.
31373         (Finding Tokens in a String): Likewise for basename.
31374         (String/Array Comparison): Fix typo in wcscasecmp prototype.
31375         (Copying and Concatenation): Fix typo in wmemmove prototype.
31376         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31377         (Signal Stack): Remove erroneous const in sigstack prototype.
31378         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31379         prototype.
31380         (Simple Calendar Time): Likewise for stime.
31381         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31382         prototype.
31383         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31384         say sys/sysctl.h instead.
31385         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31386         and vsyslog prototypes.
31388 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31390         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31391         Remove.
31393 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31395         * misc/sys/mman.h: Fix typo in mremap comment.
31397 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31399         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31400         the '\0' terminator.
31402 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31404         [BZ #13550]
31405         * debug/segfault.c: Don't include <bp-checks.h>.
31406         * sysdeps/generic/bp-checks.h: Remove file.
31407         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31408         (__GETDENTS): Don't use CHECK_N.
31409         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31410         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31411         (__getgroups): Don't use CHECK_N.
31412         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31413         (setgroups): Don't use CHECK_N.
31414         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31415         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31416         (__libc_msgrcv): Don't use CHECK_N.
31417         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31418         (__libc_msgsnd): Don't use CHECK_N.
31419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31420         <bp-checks.h>.
31421         (__libc_pread): Don't use CHECK_N.
31422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31423         include <bp-checks.h>.
31424         (__libc_pread64): Don't use CHECK_N.
31425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31426         include <bp-checks.h>.
31427         (__libc_pwrite): Don't use CHECK_N.
31428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31429         include <bp-checks.h>.
31430         (__libc_pwrite64): Don't use CHECK_N.
31431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31432         <bp-checks.h>.
31433         (__libc_pread): Don't use CHECK_N.
31434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31435         include <bp-checks.h>.
31436         (__libc_pread64): Don't use CHECK_N.
31437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31438         include <bp-checks.h>.
31439         (__libc_pwrite): Don't use CHECK_N.
31440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31441         include <bp-checks.h>.
31442         (__libc_pwrite64): Don't use CHECK_N.
31443         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31444         (do_pread): Don't use CHECK_N.
31445         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31446         (do_pread64): Don't use CHECK_N.
31447         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31448         (do_pwrite): Don't use CHECK_N.
31449         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31450         (do_pwrite64): Don't use CHECK_N.
31451         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31452         (__libc_readv): Don't use CHECK_N.
31453         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31454         (semop): Don't use CHECK_N.
31455         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31456         <bp-checks.h>.
31457         (semtimedop): Don't use CHECK_N.
31458         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31459         (__libc_pread): Don't use CHECK_N.
31460         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31461         <bp-checks.h>.
31462         (__libc_pread64): Don't use CHECK_N.
31463         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31464         <bp-checks.h>.
31465         (__libc_pwrite): Don't use CHECK_N.
31466         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31467         <bp-checks.h>.
31468         (__libc_pwrite64): Don't use CHECK_N.
31469         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31470         <bp-checks.h>.
31471         (__libc_msgrcv): Don't use CHECK_N.
31472         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31473         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
31474         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31475         (__libc_writev): Don't use CHECK_N.
31477 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31479         * string/strcpy.c: Removed unused variable.
31481         * Makeconfig (+sysdep-includes): Define with := rather than =.
31482         Use an existing include/ subdir of each sysdeps dir before it.
31484 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31486         * nscd/connection.c (register_traced_file): Comment function.
31487         [HAVE_INOTIFY] (union __inev): Define.
31488         [HAVE_INOTIFY] (inotify_check_files): New function.
31489         [HAVE_INOTIFY] (clear_db_cache): Likewise.
31490         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31491         clear_db_cache.
31492         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31494 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31496         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31497         loaded if not already and that a failure is permanent.
31499 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31501         [BZ #15006]
31502         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31503         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31505 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31507         [BZ #13550]
31508         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31509         (CHECK_1_NULL_OK): Likewise.
31510         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31511         (__fxstat): Do not use CHECK_1.
31512         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31513         <bp-checks.h>.
31514         (___fxstat64): Do not use CHECK_1.
31515         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31516         <bp-checks.h>.
31517         (__fxstatat): Do not use CHECK_1.
31518         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31519         <bp-checks.h>.
31520         (__fxstatat64): Do not use CHECK_1.
31521         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31522         <bp-checks.h>.
31523         (__fxstat): Do not use CHECK_1.
31524         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31525         <bp-checks.h>.
31526         (__fxstatat): Do not use CHECK_1.
31527         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31528         <bp-checks.h>.
31529         (__getresgid): Do not use CHECK_1.
31530         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31531         <bp-checks.h>.
31532         (__getresuid): Do not use CHECK_1.
31533         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31534         <bp-checks.h>.
31535         (__lxstat): Do not use CHECK_1.
31536         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31537         <bp-checks.h>.
31538         (__old_msgctl): Do not use CHECK_1.
31539         (__new_msgctl): Likewise.
31540         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31541         <bp-checks.h>.
31542         (__new_setrlimit): Do not use CHECK_1.
31543         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31544         <bp-checks.h>.
31545         (__old_shmctl): Do not use CHECK_1.
31546         (__new_shmctl): Likewise.
31547         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31548         <bp-checks.h>.
31549         (__xstat): Do not use CHECK_1.
31550         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31551         (__lxstat): Do not use CHECK_1.
31552         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31553         <bp-checks.h>.
31554         (___lxstat64): Do not use CHECK_1.
31555         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31556         (__old_msgctl): Do not use CHECK_1.
31557         (__new_msgctl): Likewise.
31558         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31559         <bp-checks.h>.
31560         (__gettimeofday): Do not use CHECK_1.
31561         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31562         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31563         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31564         <bp-checks.h>.
31565         (__gettimeofday): Do not use CHECK_1.
31566         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31567         (__old_shmctl): Do not use CHECK_1_NULL_OK.
31568         (__new_shmctl): Do not use CHECK_1.
31569         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31570         <bp-checks.h>.
31571         (do_sigtimedwait): Do not use CHECK_1.
31572         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31573         <bp-checks.h>.
31574         (do_sigwaitinfo): Do not use CHECK_1.
31575         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31576         <bp-checks.h>.
31577         (msgctl): Do not use CHECK_1.
31578         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31579         <bp-checks.h>.
31580         (shmctl): Do not use CHECK_1.
31581         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31582         (ustat): Do not use CHECK_1.
31583         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31584         <bp-checks.h>.
31585         (__fxstat): Do not use CHECK_1.
31586         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31587         <bp-checks.h>.
31588         (__fxstatat): Do not use CHECK_1.
31589         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31590         <bp-checks.h>.
31591         (__lxstat): Do not use CHECK_1.
31592         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31593         <bp-checks.h>.
31594         (__xstat): Do not use CHECK_1.
31595         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31596         (__xstat): Do not use CHECK_1.
31597         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31598         (___xstat64): Do not use CHECK_1.
31600         [BZ #13550]
31601         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31602         definitions.
31603         (CHECK_BOUNDS_HIGH): Likewise.
31604         * string/strcpy.c: Do not include <bp-checks.h>.
31605         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31607 2013-02-07  Roland McGrath  <roland@hack.frob.com>
31609         * nscd/nscd-client.h (__nscd_drop_map_ref):
31610         Add __attribute__ ((unused)).
31611         * nis/nss-nisplus.h (niserr2nss): Likewise.
31613         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31614         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31616         * csu/libc-tls.c (init_static_tls, init_slotinfo):
31617         Remove inline keyword.
31618         * include/rounding-mode.h (round_away): Likewise.
31619         * libio/wfileops.c (adjust_wide_data): Likewise.
31620         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31621         (__m128i_strloadu_tolower): Likewise.
31622         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31623         (__m128i_strloadu_tolower): Likewise.
31624         * time/mktime.c (ydhms_diff): Likewise.
31625         * locale/elem-hash.h (elem_hash): Likewise.
31626         * locale/setlocale.c (setdata): Likewise.
31627         * posix/regex_internal.h (re_string_char_size_at): Likewise.
31628         (re_string_wchar_at): Likewise.
31629         (bitset_not, bitset_merge, bitset_mask): Likewise.
31630         [!(__GNUC__ > 3)] (inline): Remove macro.
31631         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31632         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31633         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31634         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31635         * string/memcmp.c (memcmp_bytes): Likewise.
31636         * locale/programs/locarchive.c (compute_hashval): Likewise.
31637         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31638         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31639         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31640         * nss/getent.c (print_rpc, print_protocols): Likewise.
31641         (print_passwd, print_group, print_aliases): Likewise.
31642         * nis/nss-nisplus.h (niserr2nss): Likewise.
31643         * nscd/connections.c (restart_p): Likewise.
31644         Change return type to bool.
31646 2013-02-05  Roland McGrath  <roland@hack.frob.com>
31648         * Makeconfig (all-Depend-files): Add existing
31649         $(sorted-subdirs:=/Depend) files.
31650         (all-subdirs): Remove nss.
31651         * sysdeps/unix/inet/Subdirs: Add it here instead.
31652         * hesiod/Depend: New file.
31654         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31655         instead of calling alloca.
31657         * io/lseek.c (__lseek): Rename to __libc_lseek.
31658         Define __lseek as an alias.
31660         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31662 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
31664         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31665         else clause and remove check for non-standard endianness.
31667 2013-02-04  David S. Miller  <davem@davemloft.net>
31669         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31671 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
31673         [BZ #13550]
31674         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31675         (__ubp_memchr): Remove prototype.
31676         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31677         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31678         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31679         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31680         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31681         Remove alias.
31682         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31683         (__ubp_memchr): Likewise.
31684         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31685         (__ubp_memchr): Likewise.
31686         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31687         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31688         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31689         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31690         CHECK_STRING.
31691         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31692         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31693         (__getcwd): Do not use CHECK_STRING.
31694         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31695         <bp-checks.h>.
31696         (__real_chown): Do not use CHECK_STRING.
31697         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31698         <bp-checks.h>.
31699         (fchownat): Do not use CHECK_STRING.
31700         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31701         CHECK_STRING.
31702         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31703         <bp-checks.h>.
31704         (__lchown): Do not use CHECK_STRING.
31705         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31706         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31707         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31708         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31710         include <bp-checks.h>.
31711         (truncate64): Do not use CHECK_STRING.
31712         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31713         <bp-checks.h>.
31714         (__real_chown): Do not use CHECK_STRING.
31715         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31716         <bp-checks.h>.
31717         (__lchown): Do not use CHECK_STRING.
31718         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31719         <bp-checks.h>.
31720         (__chown): Do not use CHECK_STRING.
31721         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31722         <bp-checks.h>.
31723         (truncate64): Do not use CHECK_STRING.
31724         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31725         Likewise.
31726         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31727         (__xmknod): Do not use CHECK_STRING.
31728         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31729         <bp-checks.h>.
31730         (__xmknodat): Do not use CHECK_STRING.
31731         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31732         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31734 2013-02-04  Andreas Schwab  <schwab@suse.de>
31736         [BZ #14142]
31737         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31738         * include/netdb.h: Likewise for h_errno.
31739         * elf/tst-stackguard1.c: Include <tls.h>.
31741 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
31743         * elf/link.h (struct link_map): Extend the l_addr comment.
31744         * include/link.h (struct link_map): Likewise.
31746 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
31748         [BZ #13550]
31749         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31750         (BOUNDED_1): Remove macro.
31751         * debug/backtrace.c: Don't include <bp-checks.h>.
31752         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31753         (__backtrace): Likewise.
31754         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31755         <bp-checks.h>.
31756         (__backtrace): Don't use BOUNDED_1.
31757         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31758         <bp-checks.h>.
31759         (__backtrace): Don't use BOUNDED_1.
31760         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31761         (__backtrace): Don't use BOUNDED_1.
31762         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31763         (shmat): Don't use BOUNDED_N.
31765 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
31767         [BZ #13550]
31768         * sysdeps/generic/bp-start.h: Remove file.
31769         * csu/libc-start.c: Don't include <bp-start.h>.
31770         (LIBC_START_MAIN): Set up __environ directly instead of using
31771         INIT_ARGV_and_ENVIRON.
31772         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31773         <bp-start.h>.
31775         [BZ #13550]
31776         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31777         definitions.
31778         (CHECK_FCNTL): Likewise.
31779         (CHECK_N_PAGES): Likewise.
31781         [BZ #13550]
31782         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31783         definitions.
31784         (CHECK_SIGSET_NULL_OK): Likewise.
31785         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31786         <bp-checks.h>.
31787         (sigpending): Don't use CHECK_SIGSET.
31788         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31789         <bp-checks.h>.
31790         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31791         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31792         <bp-checks.h>.
31793         (do_sigsuspend): Don't use CHECK_SIGSET.
31794         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31795         use CHECK_SIGSET.
31796         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31797         (do_sigwait): Don't use CHECK_SIGSET.
31798         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31799         use CHECK_SIGSET.
31800         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31801         include <bp-checks.h>.
31802         (sigpending): Don't use CHECK_SIGSET.
31803         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31804         include <bp-checks.h>.
31805         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31806         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31807         <bp-checks.h>.
31808         (sigpending): Don't use CHECK_SIGSET.
31809         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31810         <bp-checks.h>.
31811         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31813         [BZ #13550]
31814         * sysdeps/generic/bp-semctl.h: Remove file.
31815         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31816         <bp-checks.h> and <bp-semctl.h>.
31817         (__old_semctl): Don't use CHECK_SEMCTL.
31818         (__new_semctl): Likewise.
31819         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31820         and <bp-semctl.h>.
31821         (__old_semctl): Don't use CHECK_SEMCTL.
31822         (__new_semctl): Likewise.
31823         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31824         <bp-checks.h> and <bp-semctl.h>.
31825         (__old_semctl): Don't use CHECK_SEMCTL.
31826         (__new_semctl): Likewise.
31827         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31828         <bp-checks.h> and <bp-semctl.h>.
31829         (semctl): Don't use CHECK_SEMCTL.
31831         [BZ #13550]
31832         * Makerules (elide-bp-thunks): Remove variable.
31833         (elide-routines.oS): Don't use $(elide-bp-thunks).
31834         (elide-routines.os): Likewise.
31835         (elide-routines.o): Likewise.
31836         (elide-routines.op): Likewise.
31837         (elide-routines.og): Likewise.
31838         (objects): Don't use $(bp-thunks).
31839         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31840         include.
31841         (common-generated): Do not add s-proto-bp.d.
31842         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31843         (int): Likewise.
31844         (typ): Likewise.
31845         Do not generate makefile rules for bounded-pointer thunks.
31846         * sysdeps/generic/bp-thunks.h: Remove file.
31847         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31848         * sysdeps/unix/s-proto-bp.S: Likewise.
31850         [BZ #15062]
31851         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31852         parts of result separately when argument is not close to line from
31853         -i to i and one part of argument is small.
31854         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31855         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31856         * math/libm-test.inc (cacos_test): Add more tests.
31857         (casin_test): Likewise.
31858         (casinh_test): Likewise.
31859         * sysdeps/i386/fpu/libm-test-ulps: Update.
31860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31862 2013-01-31  David S. Miller  <davem@davemloft.net>
31864         * po/de.po: Update from translation team.
31866 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
31868         * time/tzfile.c: Include stdint.h for SIZE_MAX.
31870 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
31872         * configure.in (_AC_PROG_CC_C89): New definition.
31873         * configure: Regenerate.
31875         * configure.in (AC_PROG_CPP): New definition.
31876         * configure: Regenerate.
31878 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31880         * debug/tst-backtrace.h: New file.
31881         * debug/tst-backtrace2.c: Include tst-backtrace.h.
31882         (ret): Remove variable.
31883         (x): Likewise.
31884         (FAIL): Remove macro.
31885         (NO_INLINE): Likewise.
31886         (fn1): Use match function instead of strstr.
31887         * debug/tst-backtrace3.c: Include tst-backtrace.h.
31888         (ret): Remove variable.
31889         (x): Likewise.
31890         (FAIL): Remove macro.
31891         (NO_INLINE): Likewise.
31892         (fn): Use match function instead of strstr.
31893         * debug/tst-backtrace4.c: Include tst-backtrace.h.
31894         (ret): Remove variable.
31895         (x): Likewise.
31896         (FAIL): Remove macro.
31897         (NO_INLINE): Likewise.
31898         (handle_signal): Use match function instead of strstr.
31899         * debug/tst-backtrace5.c: Include tst-backtrace.h.
31900         (ret): Remove variable.
31901         (x): Likewise.
31902         (FAIL): Remove macro.
31903         (NO_INLINE): Likewise.
31904         (handle_signal): Use match function instead of strstr.
31906 2013-01-23  Roland McGrath  <roland@hack.frob.com>
31908         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31910 2013-01-23  David S. Miller  <davem@davemloft.net>
31912         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31913         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31914         argument of CAS if possible.
31915         * sysdeps/sparc/sparc64/bits/atomic.h
31916         (__arch_compare_and_exchange_val_32_acq): Likewise.
31917         (__arch_compare_and_exchange_val_64_acq): Likewise.
31919 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
31921         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31922         * sysdeps/posix/ulimit.c: ... this.
31923         Include <limits.h>.
31924         * sysdeps/unix/bsd/ulimit.c: Remove file.
31926 2013-01-23  Adam Conrad  <adconrad@0c3.net>
31928         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31929         (LDFLAGS-tst-array5): Likewise.
31931 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31933         [BZ #15036]
31934         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31935         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31936         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31937         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31939 2013-01-21  David S. Miller  <davem@davemloft.net>
31941         * sysdeps/sparc/backtrace.c: New file.
31942         * sysdeps/sparc/sparc32/backtrace.h: New file.
31943         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31944         * sysdeps/sparc/sparc64/backtrace.h: New file.
31945         * sysdeps/sparc/sparc64/backtrace.c: Delete.
31946         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31947         -funwind-tables.
31949 2013-01-21  Andreas Schwab  <schwab@suse.de>
31951         [BZ #15020]
31952         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31953         closed its stdout.
31955 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
31957         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31958         "mpa2.h".
31959         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31961 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
31962             Mark Mitchell  <mark@codesourcery.com>
31963             Tom de Vries  <tom@codesourcery.com>
31964             Paul Pluzhnikov  <ppluzhnikov@google.com>
31966         * debug/tst-backtrace2.c: New file.
31967         * debug/tst-backtrace3.c: Likewise.
31968         * debug/tst-backtrace4.c: Likewise.
31969         * debug/tst-backtrace5.c: Likewise.
31970         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31971         (CFLAGS-tst-backtrace3.c): Likewise.
31972         (CFLAGS-tst-backtrace4.c): Likewise.
31973         (CFLAGS-tst-backtrace5.c): Likewise.
31974         (LDFLAGS-tst-backtrace2): Likewise.
31975         (LDFLAGS-tst-backtrace3): Likewise.
31976         (LDFLAGS-tst-backtrace4): Likewise.
31977         (LDFLAGS-tst-backtrace5): Likewise.
31978         (tests): Add new tests tst-backtrace2, tst-backtrace3,
31979         tst-backtrace4 and tst-backtrace5.
31981 2013-01-18  Anton Blanchard  <anton@samba.org>
31982             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31984         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31985         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31986         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31987         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31989         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31990         "+r" and remove output regs list as redundant.  Add explicit inline
31991         asm to specify register of return val to work around compiler codegen
31992         bug.  Remove (int) cast on return value.  Add return type parameter to
31993         use in macro so that this macro does not truncate return value for
31994         64-bit values.
31995         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31996         pass to INTERNAL_VSYSCALL_NCS.
31997         (INLINE_VSYSCALL): Add 'long int' as return type to
31998         INTERNAL_VSYSCALL_NCS macro invocation.
31999         (INTERNAL_VSYSCALL): Add 'long int' as return type to
32000         INTERNAL_VSYSCALL_NCS macro invocation.
32001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32003 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32005         [BZ #14496]
32006         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32007         Fix application of SIMD FP exception mask.
32009         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32010         mp_no from a power of two.
32011         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32012         __mpexp_twomm1.  Use __pow_mp.
32014         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32015         multiplication.
32017 2013-01-17  David S. Miller  <davem@davemloft.net>
32019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32021 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32023         [BZ #15023]
32024         * include/complex.h: Condition contents on [!_COMPLEX_H].
32025         (__kernel_casinhf): New prototype.
32026         (__kernel_casinh): Likewise.
32027         (__kernel_casinhl): Likewise.
32028         * math/Makefile (libm_calls): Add k_casinh.
32029         * math/k_casinh.c: New file.
32030         * math/k_casinhf.c: Likewise.
32031         * math/k_casinhl.c: Likewise.
32032         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32033         finite nonzero arguments.
32034         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32035         finite nonzero arguments.
32036         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32037         finite nonzero arguments.
32038         * math/s_casinh.c: Do not include <float.h>.
32039         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32040         * math/s_casinhf.c: Do not include <float.h>.
32041         (__casinhf): Move code for finite nonzero arguments to
32042         k_casinhf.c.
32043         * math/s_casinhl.c: Do not include <float.h>.
32044         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32045         redefine.
32046         (__casinhl): Move code for finite nonzero arguments to
32047         k_casinhl.c.
32048         * math/libm-test.inc (cacos_test): Add more tests.
32049         * sysdeps/i386/fpu/libm-test-ulps: Update.
32050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32052 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
32054         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32055         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32056         [!HAVE_MREMAP]: Remove [defined linux] case.
32057         * malloc/arena.c: Do not include <malloc-sysdep.h>.
32059 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32061         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32063 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
32065         * elf/elf.h (R_386_SIZE32): New relocation.
32066         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32067         R_386_SIZE32.
32068         (elf_machine_rela): Likewise.
32069         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32070         R_X86_64_SIZE64 and R_X86_64_SIZE32.
32072 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32074         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32075         (FP_FAST_FMA): Do not define.
32076         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32077         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32078         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32079         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32080         !_SOFT_FLOAT]: Likewise.
32081         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32082         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32083         value.
32084         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32085         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32086         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32087         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32088         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32089         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32090         file.
32092 2013-01-16  Andreas Schwab  <schwab@suse.de>
32094         [BZ #14327]
32095         * include/stdlib.h (__mktemp): Add declaration.
32096         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32097         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32099 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32101         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32102         definitions.
32103         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32104         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32105         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32106         definitions here.
32107         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32108         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32109         definitions.
32110         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32111         and ONE.
32112         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32113         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32114         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32115         definitions.
32116         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32117         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32118         definitions.
32119         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32121         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32123 2013-01-15  David S. Miller  <davem@davemloft.net>
32125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32126         trunc{,f} to libm-sysdep_routes.
32127         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32129         file.
32130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32132         file.
32133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32134         file.
32135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32137         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32138         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32139         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32140         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32141         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32142         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32145         nearbyint{,f} to libm-sysdep_routes.
32146         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32148         New file.
32149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32150         file.
32151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32152         New file.
32153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32154         file.
32155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32157         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32158         file.
32159         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32160         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32161         file.
32162         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32163         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32164         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32166         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32167         libc_feholdexcept and libc_fesetenv.
32169 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
32171         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32173 2013-01-14  David S. Miller  <davem@davemloft.net>
32175         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32176         (SPARC_ASM_VIS2_IFUNC): Likewise.
32177         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32179         use of 'siam' instruction.
32180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32181         Likewise.
32182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32183         Likewise.
32184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32185         Likewise.
32186         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32187         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32188         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32189         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32191         file.
32192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32193         file.
32194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32195         file.
32196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32197         file.
32198         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32199         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32200         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32201         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32203         new VIS2 routines.
32204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32207         Likewise.
32208         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32209         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32210         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32211         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32213         routines to libm-sysdep_routines.
32214         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32217         fdim/fdimf to libm-sysdep_routines.
32218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32219         file.
32220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32222         file.
32223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32226         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32227         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32228         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32229         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32231 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32233         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32234         to optimize copies.
32236         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32237         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32238         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32240         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32241         local variable MPTWO.
32242         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32243         Likewise.
32245 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32247         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32248         GLOB_NOESCAPE.
32250 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32252         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32254 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32256         * manual/pattern.texi (glob_t): Document gl_flags.
32257         (glob64_t): Likewise.
32259 2013-01-11  David S. Miller  <davem@davemloft.net>
32261         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32262         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32263         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
32264         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32265         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32266         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32267         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32268         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32269         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32270         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32271         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32272         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32273         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32275         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32276         sparc V9 rather than using V8 code.
32277         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32278         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32280         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32281         Move to...
32282         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32283         Here.
32285 2013-01-11  Roland McGrath  <roland@hack.frob.com>
32287         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32288         not in the main loop.
32289         * configure: Regenerated.
32291 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
32293         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32294         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32295         to just #else.
32296         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
32297         [!__GLIBC_HAVE_LONG_LONG] case.
32298         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32299         condition to just #else.
32300         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32301         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32302         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32303         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32304         unconditional.
32305         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32306         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32307         #elif condition to just #else.
32308         * sysdeps/unix/sysv/linux/sys/sysmacros.h
32309         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32310         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32311         #elif condition to just #else.
32313 2013-01-11  Steve Ellcey  <sellcey@mips.com>
32315         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32316         (EF_MIPS_ARCH_64): Fix value.
32317         (EF_MIPS_ARCH_32R2): New.
32318         (EF_MIPS_ARCH_64R2): New.
32320 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
32322         * Makeconfig (+link-pie-before-libc): New.
32323         (+link-pie-after-libc): Likewise.
32324         (+link-pie-tests): Likewise.
32325         (+link-pie): Rewritten.
32326         (link-before-libc): Remove $(config-LDFLAGS).
32327         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32328         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32329         (config-LDFLAGS): Renamed to ...
32330         (rtld-LDFLAGS): This.
32331         (rtld-tests-LDFLAGS): New macro.
32332         (link-libc-rpath-link): Likewise.
32333         (link-libc-tests-rpath-link): Likewise.
32334         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32335         (link-libc): Prepand $(link-libc-rpath-link).
32336         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32337         (test-program-prefix): New macro.
32338         (test-via-rtld-prefix): Likewise.
32339         (test-program-cmd): Likewise.
32340         (host-test-program-cmd): Likewise.
32341         * Makefile ($(common-objpfx)testrun.sh): Replace
32342         $(run-program-prefix) with $(test-program-prefix).
32343         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32344         $(rtld-LDFLAGS).
32345         ($(common-objpfx)shlib.lds): Likewise.
32346         (build-module-helper): Likewise.
32347         ($(common-objpfx)format.lds): Likewise.
32348         * Rules (binaries-pie-tests): New.
32349         (binaries-pie-notests): Likewise.
32350         (binaries-pie): Rewritten.
32351         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32352         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32353         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32354         (make-test-out): Replace $(host-built-program-cmd) with
32355         $(host-test-program-cmd).
32356         * config.make.in (build-hardcoded-path-in-tests): New variable.
32357         * configure.in (--enable-hardcoded-path-in-tests): New configure
32358         option.
32359         (hardcoded_path_in_tests): New AC_SUBST.
32360         * configure: Regenerated.
32361         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32362         $(built-program-cmd) with $(test-program-cmd).
32363         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32364         (test_program_cmd): This.
32365         * elf/Makefile ($(objpfx)order.out): Run test with
32366         $(test-program-prefix).
32367         ($(objpfx)order2.out): Likewise.
32368         ($(objpfx)tst-initorder.out): Likewise.
32369         ($(objpfx)tst-initorder2.out): Likewise.
32370         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32371         $(test-program-cmd).
32372         ($(objpfx)tst-array1-static.out): Likewise.
32373         ($(objpfx)tst-array2.out): Likewise.
32374         ($(objpfx)tst-array3.out): Likewise.
32375         ($(objpfx)tst-array4.out): Likewise.
32376         ($(objpfx)tst-array5.out): Likewise.
32377         ($(objpfx)tst-array5-static.out): Likewise.
32378         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32379         $(test-program-cmd).
32380         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32381         $(run-program-prefix) with $(test-program-prefix).
32382         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32383         (test_program_prefix): This.
32384         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32385         $(run-program-prefix) with $(test-program-prefix).
32386         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32387         (test_program_prefix): This.
32388         * iconvdata/tst-tables.sh: Likewise.
32389         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32390         $(run-program-prefix) with $(test-program-prefix).
32391         ($(objpfx)tst-translit.out): Likewise.
32392         ($(objpfx)tst-gettext2.out): Likewise.
32393         ($(objpfx)tst-gettext4.out): Likewise.
32394         ($(objpfx)tst-gettext6.out): Likewise.
32395         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32396         (test_program_prefix): This.
32397         * intl/tst-gettext2.sh: Likewise.
32398         * intl/tst-gettext4.sh  Likewise.
32399         * intl/tst-gettext6.sh: Likewise.
32400         * intl/tst-translit.sh: Likewise.
32401         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32402         with $(test-program-cmd).
32403         * libio/Makefile ($(objpfx)test-freopen.out): Replace
32404         $(run-program-prefix) with $(test-program-prefix).
32405         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32406         (test_program_prefix): This.
32407         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32408         $(run-program-prefix) with $(test-program-prefix).
32409         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32410         (test_program_prefix): This.
32411         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32412         * posix/Makefile ($(objpfx)globtest.out): Replace
32413         $(run-via-rtld-prefix) and $(test-wrapper) with
32414         $(test-program-prefix) and $(test-via-rtld-prefix).
32415         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32416         $(test-program-prefix).
32417         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32418         $(host-test-program-cmd).
32419         (tst-spawn-ARGS): Likewise.
32420         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32421         $(test-program-prefix).
32422         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32423         (test_via_rtld_prefix): This.
32424         (test_wrapper): Renamed to ...
32425         (test_program_prefix): This.
32426         (run_program_prefix): Replaced by test_program_prefix.
32427         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32428         (test_program_prefix): This.
32429         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32430         with $(host-test-program-cmd).
32431         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32432         $(run-program-prefix) with $(test-program-prefix).
32433         ($(objpfx)tst-printf.out): Likewise.
32434         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32435         $(test-program-cmd).
32436         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32437         (test_program_prefix): This.
32438         * stdio-common/tst-unbputc.sh: Likewise.
32439         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32440         $(run-program-prefix) with $(test-program-prefix).
32441         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32442         (test_program_prefix): This.
32443         * string/Makefile ($(objpfx)tst-svc.out):  Replace
32444         $(built-program-cmd) with $(test-program-cmd).
32446 2013-01-11  Andreas Jaeger  <aj@suse.de>
32448         [BZ #15003]
32449         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32450         value. Sync with Linux 3.7.
32452 2013-01-10  David S. Miller  <davem@davemloft.net>
32454         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32455         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32456         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32458 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32460         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32461         never set.
32462         * configure: Regenerated.
32464 2013-01-10  David S. Miller  <davem@davemloft.net>
32466         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32467         sparc V9 rather than using V8 code.
32468         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32469         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32471 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32473         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32474         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32475         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32476         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32477         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32478         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32479         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32480         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32481         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32482         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32483         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32484         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32485         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32486         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32487         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32488         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32489         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32490         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32491         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32492         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32493         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32494         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32495         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32496         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32497         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32498         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32499         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32501 2013-01-10  David S. Miller  <davem@davemloft.net>
32503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32505 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32507         * posix/Makefile (tests-static): New variable.
32508         (tests): Add $(tests-static).
32509         (tst-exec-static-ARGS): New variable.
32510         (tst-spawn-static-ARGS): Likewise.
32511         * posix/tst-exec-static.c: New file.
32512         * posix/tst-spawn-static.c: Likewise.
32513         * posix/tst-exec.c: Support run directly.
32514         * posix/tst-spawn.c: Likewise.
32516 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
32518         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32519         long.
32520         * math/bits/mathcalls.h (llrint): Likewise.
32521         (llround): Likewise.
32522         * stdlib/stdlib.h (struct drand48_data): Likewise.
32523         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32524         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32525         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32526         Likewise.
32527         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32528         Likewise.
32529         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32530         (elf_greg_t): Likewise.
32531         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32532         (__jmp_buf): Likewise.
32533         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32534         definitions.
32535         (llrint): Likewise, for all definitions.
32536         (llrintl): Likewise.
32538         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32539         Remove [__GNUC__] condition.
32540         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32541         condition to just [__USE_ISOC99].
32542         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32544 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32546         [BZ #14200]
32547         * sysdeps/unix/sysv/linux/x86/bits/environments.h
32548         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32549         defined.
32550         (_POSIX_V6_ILP32_OFF32): Likewise.
32551         (_XBS5_ILP32_OFF32): Likewise.
32552         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32553         (__ILP32_OFFBIG_LDFLAGS): Likewise.
32555 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32557         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32559         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32560         doubles __mpexp_twomm1.  Adjust usage.
32561         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32562         Remove.
32564 2013-01-10  Andreas Schwab  <schwab@suse.de>
32566         [BZ #14964]
32567         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32568         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32570 2013-01-09  David S. Miller  <davem@davemloft.net>
32572         [BZ #15003]
32573         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32574         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32575         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32576         (TCP_FASTOPEN): Define.
32577         (tcp_repair_opt): New structure.
32578         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32579         enum values.
32580         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32581         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32582         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32583         (tcp_cookie_transactions): New structure.
32585 2013-01-09  Anton Blanchard  <anton@samba.org>
32587         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32588         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32589         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32590         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32592 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
32594         * include/features.h (__USE_ANSI): Remove.
32596 2013-01-09  Roland McGrath  <roland@hack.frob.com>
32598         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32600         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32602 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32604         * sysdeps/s390/fpu/libm-test-ulps: Update.
32606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32608         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32609         (__acr): Likewise.
32610         (__cpy): Likewise.
32611         (norm): Likewise.
32612         (denorm): Likewise.
32613         (__mp_dbl): Likewise.
32614         (__dbl_mp): Likewise.
32615         (add_magnitudes): Likewise.
32616         (sub_magnitudes): Likewise.
32617         (__add): Likewise.
32618         (__sub): Likewise.
32619         (__mul): Likewise.
32620         (__inv): Likewise.
32621         (__dvd): Likewise.
32622         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32623         (__acr): Likewise.
32624         (__cpy): Likewise.
32625         (norm): Likewise.
32626         (denorm): Likewise.
32627         (__mp_dbl): Likewise.
32628         (__dbl_mp): Likewise.
32629         (add_magnitudes): Likewise.
32630         (sub_magnitudes): Likewise.
32631         (__add): Likewise.
32632         (__sub): Likewise.
32633         (__mul): Likewise.
32634         (__inv): Likewise.
32635         (__dvd): Likewise.
32636         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32637         (__acr): Likewise.
32638         (__cpy): Likewise.
32639         (norm): Likewise.
32640         (denorm): Likewise.
32641         (__mp_dbl): Likewise.
32642         (__dbl_mp): Likewise.
32643         (add_magnitudes): Likewise.
32644         (sub_magnitudes): Likewise.
32645         (__add): Likewise.
32646         (__sub): Likewise.
32647         (__mul): Likewise.
32648         (__inv): Likewise.
32649         (__dvd): Likewise.
32651 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
32653         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32654         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32655         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32656         2 && __USE_EXTERN_INLINES]: Likewise.
32658 2013-01-08  Andreas Jaeger  <aj@suse.de>
32660         [BZ# 14985]
32661         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32662         Remove.
32663         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32664         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32666 2013-01-07  Anton Blanchard  <anton@samba.org>
32668         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32669         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32670         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32671         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32672         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32673         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32674         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32675         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32676         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32677         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32678         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32679         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32680         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32681         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32682         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32683         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32684         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32685         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32686         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32687         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32688         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32689         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32690         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32691         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32692         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32693         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32694         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32695         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32696         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32697         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32698         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32699         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32700         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32701         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32702         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32703         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32704         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32705         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32706         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32707         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32708         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32709         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32710         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32712 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
32714         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32715         (__MALLOC_PMT): Likewise.
32716         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32717         [__GNUC__], only on [_LIBC].
32718         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32719         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32720         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32721         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32722         forward declaration.
32723         (realloc_hook_ini): Likewise.
32724         (memalign_hook_ini): Likewise.
32725         (__libc_memalign): Do not use __MALLOC_PMT in variable
32726         declaration.
32727         (__libc_valloc): Likewise.
32728         (__libc_pvalloc): Likewise.
32729         (__libc_calloc): Likewise.
32730         (__posix_memalign): Likewise.
32732         [BZ #14996]
32733         * math/s_casinh.c: Include <float.h>.
32734         (__casinh): Do not do computation with squaring and square root
32735         for large arguments.
32736         * math/s_casinhf.c: Include <float.h>.
32737         (__casinhf): Do not do computation with squaring and square root
32738         for large arguments.
32739         * math/s_casinhl.c: Include <float.h>.
32740         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32741         (__casinhl): Do not do computation with squaring and square root
32742         for large arguments.
32743         * math/libm-test.inc (casin_test): Add more tests.
32744         (casinh_test): Likewise.
32745         * sysdeps/i386/fpu/libm-test-ulps: Update.
32746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32748 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
32750         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32751         (__x86_64_raw_data_cache_size): Likewise.
32752         (__x86_64_data_cache_size_half): Likewise.
32753         (__x86_64_raw_data_cache_size_half): Likewise.
32754         (__x86_64_shared_cache_size): Likewise.
32755         (__x86_64_raw_shared_cache_size): Likewise.
32756         (__x86_64_shared_cache_size_half): Likewise.
32757         (__x86_64_raw_shared_cache_size_half): Likewise.
32758         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32759         to ...
32760         (__x86_data_cache_size): This.
32761         (__x86_64_raw_data_cache_size): Renamed to ...
32762         (__x86_raw_data_cache_size): This.
32763         (__x86_64_data_cache_size_half): Renamed to ...
32764         (__x86_data_cache_size_half): This.
32765         (__x86_64_raw_data_cache_size_half): Renamed to ...
32766         (__x86_raw_data_cache_size_half): This.
32767         (__x86_64_shared_cache_size): Renamed to ...
32768         (__x86_shared_cache_size): This.
32769         (__x86_64_raw_shared_cache_size): Renamed to ...
32770         (__x86_raw_shared_cache_size): This.
32771         (__x86_64_shared_cache_size_half): Renamed to ...
32772         (__x86_shared_cache_size_half): This.
32773         (__x86_64_raw_shared_cache_size_half): Renamed to ...
32774         (__x86_raw_shared_cache_size_half): This.
32775         * sysdeps/x86_64/memcpy.S: Updated.
32776         * sysdeps/x86_64/memset.S: Likewise.
32777         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32778         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32779         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32781 2013-01-04  David S. Miller  <davem@davemloft.net>
32783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32785 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
32787         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32788         1 to avoid redefinition warning.
32789         (__USE_GNU): Don't define.
32790         (init_signaling_nan): Protoize.
32792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32794 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32796         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32797         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32798         (__cpymn): Likewise.
32799         (norm): Remove commented code.
32800         (denorm): Likewise.
32801         (__mp_dbl): Likewise.
32802         (__inv): Likewise.
32803         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32804         (__cpymn): Likewise.
32805         (norm): Remove commented code.
32806         (denorm): Likewise.
32807         (__mp_dbl): Likewise.
32808         (__inv): Likewise.
32810         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32811         mp_no value for 1.0 and 2.0.
32812         (norm): Use RADIXI instead of radixi.d.
32813         (denorm): Likewise.
32814         (__mul): Use 0.0 instead of zero.d.
32815         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32816         mp_no value for 1.0 and 2.0.
32817         (norm): Use RADIXI instead of radixi.d.
32818         (denorm): Likewise.
32819         (__mul): Use 0.0 instead of zero.d.
32821 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
32823         [BZ #14994]
32824         * math/s_casinh.c (__casinh): Reduce finite argument to first
32825         quadrant then set signs of results at the end.
32826         * math/s_casinhf.c (__casinhf): Likewise.
32827         * math/s_casinhl.c (__casinhl): Likewise.
32828         * math/libm-test.inc (casin_test): Add more tests.
32829         (casinh_test): Likewise.
32830         * sysdeps/i386/fpu/libm-test-ulps: Update.
32831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32833 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32835         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32837         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32839         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32840         declarations.
32841         (denorm): Likewise.
32842         (__mp_dbl): Likewise.
32843         (__inv): Likewise.
32845         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32846         and adjust the header comment.
32848         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32849         variable name from declaration.
32851 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
32853         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32854         Initialize COMMON_CPUID_INDEX_7 element.
32855         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32856         (CPUID_RTM): Likewise.
32857         (HAS_RTM): Likewise.
32858         (COMMON_CPUID_INDEX_7): New enum.
32860 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
32862         [BZ #14981]
32863         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32864         size is zero, record memory as freed.
32866 2013-01-03  Andreas Jaeger  <aj@suse.de>
32868         * po/ia.po: Add new Interlingua translation.
32870 2012-01-03  Allan McRae  <allan@archlinux.org>
32872         * locale/programs/localedef.c: Fix description of '--posix' flag.
32874 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
32876         * NEWS: Update dates in second copyright notice.
32877         * README: Update copyright dates in example.
32878         * manual/libc.texinfo: Update copyright dates.
32879         * scripts/test-installation.pl: Update copyright date in --version
32880         output.
32882         * hurd/ctty-input.c: Fix copyright notice formatting.
32883         * hurd/ctty-output.c: Likewise.
32884         * hurd/dtable.c: Likewise.
32885         * hurd/hurd-raise.c: Likewise.
32886         * hurd/hurdprio.c: Likewise.
32887         * hurd/msgportdemux.c: Likewise.
32888         * misc/sys/file.h: Likewise.
32889         * misc/sys/ioctl.h: Likewise.
32890         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32891         * sysdeps/mach/hurd/chdir.c: Likewise.
32892         * sysdeps/mach/hurd/fchdir.c: Likewise.
32893         * sysdeps/mach/hurd/rename.c: Likewise.
32894         * sysdeps/mach/hurd/rmdir.c: Likewise.
32895         * sysdeps/mach/hurd/seekdir.c: Likewise.
32896         * sysdeps/mach/hurd/setsid.c: Likewise.
32897         * sysdeps/posix/wait3.c: Likewise.
32899         * All files with FSF copyright notices: Update copyright dates
32900         using scripts/update-copyrights.
32901         * intl/plural.c: Regenerated.
32902         * locale/programs/charmap-kw.h: Likewise.
32903         * locale/programs/locfile-kw.h: Likewise.
32905 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32907         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32908         four values.
32910         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32911         calculation loop and add branch prediction.
32913         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32914         check access beyond bounds of m1np.
32916         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32917         MPTWO.
32918         (__inv): Remove local variable MPTWO to use the global
32919         constant.
32920         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32921         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32922         variable MPTWO.
32923         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32924         MP3HALFS static const.
32926 2013-01-01  David S. Miller  <davem@davemloft.net>
32928         * po/ca.po: Update from translation team.
32930 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
32932         * scripts/update-copyrights: New file.
32933         * Makeconfig: Reformat copyright notice.
32934         * ctype/ctype.h: Likewise.
32935         * debug/swprintf_chk.c: Likewise.
32936         * elf/dl-cache.c: Likewise.
32937         * elf/dl-debug.c: Likewise.
32938         * elf/dl-object.c: Likewise.
32939         * grp/initgroups.c: Likewise.
32940         * hurd/Makefile: Likewise.
32941         * hurd/hurd/signal.h: Likewise.
32942         * hurd/hurdfault.c: Likewise.
32943         * hurd/hurdioctl.c: Likewise.
32944         * hurd/hurdlookup.c: Likewise.
32945         * hurd/intr-msg.c: Likewise.
32946         * iconv/gconv_open.c: Likewise.
32947         * libio/swprintf.c: Likewise.
32948         * locale/lc-ctype.c: Likewise.
32949         * locale/nl_langinfo.c: Likewise.
32950         * mach/Machrules: Likewise.
32951         * mach/Makefile: Likewise.
32952         * malloc/obstack.h: Likewise.
32953         * manual/Makefile: Likewise.
32954         * manual/tsort.awk: Likewise.
32955         * misc/bits/stab.def: Likewise.
32956         * nis/nis_print_group_entry.c: Likewise.
32957         * nis/nis_table.c: Likewise.
32958         * nis/nss_compat/compat-pwd.c: Likewise.
32959         * nis/nss_compat/compat-spwd.c: Likewise.
32960         * po/Makefile: Likewise.
32961         * posix/fnmatch.c: Likewise.
32962         * posix/regex.h: Likewise.
32963         * resolv/Makefile: Likewise.
32964         * resolv/nss_dns/dns-network.c: Likewise.
32965         * resolv/res_hconf.c: Likewise.
32966         * scripts/gen-sorted.awk: Likewise.
32967         * soft-fp/soft-fp.h: Likewise.
32968         * stdio-common/printf.h: Likewise.
32969         * stdlib/monetary.h: Likewise.
32970         * stdlib/random.c: Likewise.
32971         * stdlib/random_r.c: Likewise.
32972         * sysdeps/generic/Makefile: Likewise.
32973         * sysdeps/gnu/Makefile: Likewise.
32974         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32975         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32976         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32977         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32978         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32979         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32980         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32981         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32982         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32983         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32984         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32985         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32986         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32987         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32988         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32989         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32990         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32991         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32992         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32993         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32994         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32995         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32996         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32997         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32998         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32999         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33000         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33001         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33002         * sysdeps/mach/hurd/errnos.awk: Likewise.
33003         * sysdeps/mach/hurd/fork.c: Likewise.
33004         * sysdeps/mach/hurd/getcwd.c: Likewise.
33005         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33006         * sysdeps/mach/hurd/mmap.c: Likewise.
33007         * sysdeps/mach/hurd/utimes.c: Likewise.
33008         * sysdeps/mach/hurd/xmknod.c: Likewise.
33009         * sysdeps/posix/profil.c: Likewise.
33010         * sysdeps/posix/readdir_r.c: Likewise.
33011         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33012         * sysdeps/powerpc/bits/setjmp.h: Likewise.
33013         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33014         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33015         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33016         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33017         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33018         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33019         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33020         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33021         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33022         * sysdeps/pthread/lio_listio.c: Likewise.
33023         * sysdeps/sparc/dl-procinfo.h: Likewise.
33024         * sysdeps/unix/i386/sysdep.S: Likewise.
33025         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33026         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33027         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33028         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33030         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33031         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33032         * sysdeps/unix/sysv/linux/speed.c: Likewise.
33033         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33034         * sysdeps/wordsize-32/divdi3.c: Likewise.
33035         * time/sys/time.h: Likewise.
33036         * wcsmbs/Makefile: Likewise.
33038 2013-01-01  David S. Miller  <davem@davemloft.net>
33040         * po/fr.po: Update from translation team.
33042         * catgets/gencat.c: Update copyright year.
33043         * csu/version.c: Likewise.
33044         * debug/catchsegv.sh: Likewise.
33045         * debug/pcprofiledump.c: Likewise.
33046         * debug/xtrace.sh: Likewise.
33047         * elf/ldconfig.c: Likewise.
33048         * elf/ldd.bash.in: Likewise.
33049         * elf/pldd.c: Likewise.
33050         * elf/sotruss.ksh: Likewise.
33051         * elf/sprof.c: Likewise.
33052         * iconv/iconv_prog.c: Likewise.
33053         * iconv/iconvconfig.c: Likewise.
33054         * locale/programs/locale.c: Likewise.
33055         * locale/programs/localedef.c: Likewise.
33056         * login/programs/pt_chown.c: Likewise.
33057         * malloc/memusage.sh: Likewise.
33058         * malloc/memusagestat.c: Likewise.
33059         * malloc/mtrace.pl: Likewise.
33060         * nscd/nscd.c: Likewise.
33061         * nss/getent.c: Likewise.
33062         * nss/makedb.c: Likewise.
33063         * posix/getconf.c: Likewise.
33065 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33067         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33068         numbers.
33070 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
33072         * math/bits/mathcalls.h (modf): Use __nonnull.
33074 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33076         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33077         (split): Use macro CN instead of the bare value.
33078         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33079         could be used.
33080         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33081         instead of the bare value.
33082         (power1): Likewise.
33084 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33086         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33087         __ATAN_TWOM.
33088         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33090         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33091         their values.
33092         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33093         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33094         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33095         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33097 2012-12-28  Andreas Jaeger  <aj@suse.de>
33099         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
33100         values are from Linux 3.7.
33102         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33103         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
33105 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33107         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33108         TRUE case.
33110         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33111         (norm): Likewise.
33112         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33113         variables with preprocessor constants.
33114         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33115         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33116         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33118 2012-12-27  Bruno Haible  <bruno@clisp.org>
33120         [BZ #14317]
33121         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33122         only if needed.
33124 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33126         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33127         and use variable directly.
33128         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33130         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33131         MPONE.
33132         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33133         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33134         variable MPONE.
33135         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33136         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33137         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33138         include directive.  Remove local variable MPONE.
33139         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33140         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33141         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33143 2012-12-25  David S. Miller  <davem@davemloft.net>
33145         * version.h (RELEASE): Set to "development".
33146         (VERSION): Set to "2.17.90".
33147         * NEWS: Add 2.18 section.
33149 2012-12-21  David S. Miller  <davem@davemloft.net>
33151         * po/hr.po: Update from translation team.
33153 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33155         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33157 2012-12-19  Steve Ellcey  <sellcey@mips.com>
33159         * NEWS:  Mention new memcpy for MIPS.
33161 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33163         * manual/contrib.texi (Contributors): Spelling correction.
33165 2012-12-15  David S. Miller  <davem@davemloft.net>
33167         * po/ru.po: Update from translation team.
33169 2012-12-13  David S. Miller  <davem@davemloft.net>
33171         * NEWS: Mention IFUNC testsuite enhancements.
33173         * po/pl.po: Update from translation team.
33174         * po/bg.po: Likewise.
33176         * manual/contrib.texi (Contributors): Update entries for Hongjiu
33177         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
33179 2012-12-11  David S. Miller  <davem@davemloft.net>
33181         * po/sv.po: Update from translation team.
33183         * po/vi.po: Update from translation team.
33185         * po/cs.po: Update from translation team.
33187         * po/de.po: Update from translation team.
33188         * po/eo.po: Likewise.
33189         * po/nl.po: Likewise.
33191 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33193         [BZ #14246]
33194         * manual/argp.texi (Argp Helper Functions): Move node to follow
33195         Argp Parsing State.
33197         [BZ #14872]
33198         * manual/conf.texi (Limits on File System Capacity): Mention if
33199         terminating null is included in the max size.
33201 2012-12-10  Andreas Jaeger  <aj@suse.de>
33203         * po/cs.po: Update from translation team.
33205 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33207         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33208         void pointer and cast to uintptr_t.
33209         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33210         path.
33211         * sysdeps/s390/s390-64/memcpy.S: Likewise.
33212         * sysdeps/s390/s390-64/memset.S: Likewise.
33214 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
33216         [BZ #14833]
33217         * menual/message.texi (Message Translation): Fix typos.
33218         (Helper programs for gettext): Likewise.
33220 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
33222         [BZ #14898]
33223         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33224         Change to -1.
33226 2012-12-07  David S. Miller  <davem@davemloft.net>
33228         * po/libc.pot: Update.
33230 2012-12-07  Richard Henderson  <rth@redhat.com>
33232         [BZ #10114]
33233         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33234         normal/normal case to before the switch.
33235         (_FP_DIV): Likewise.
33237 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
33238             Mike Frysinger  <vapier@gentoo.org>
33240         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33241         check for __NR_fadvise64_64.
33243 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
33245         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33246         0, not just to plain "0" as a statement.
33247         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33248         with cw.
33250 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
33252         * NEWS: Use sourceware.org in Bugzilla URL.
33254 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33257         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33259         * stdio-common/tst-put-error.c (do_test): Add newline to the
33260         padded test to ensure flush.
33262 2012-12-05  Jeff Law  <law@redhat.com>
33264         * sunrpc/etc.rpc (fedfs_admin): Add entry.
33266 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
33268         * README: Don't refer to ports add-on as distributed separately.
33269         Mention AArch64 in list of systems supported in the ports add-on.
33271         * LICENSES: Add more non-FSF copyright and license notices.
33273         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33274         ((unused)).
33276         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33278         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33279         10000 as width of padded output.
33281 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33283         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33285         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33286         variable LX with __attribute__ ((unused)).
33287         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33288         Likewise.
33289         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33290         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33291         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33292         with __attribute__ ((unused)).
33294 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
33296         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33298 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33300         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33301         (CFLAGS-nldbl-acos.c): New variable.
33302         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33303         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33304         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33305         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33306         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33307         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33308         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33309         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33310         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33311         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33312         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33313         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33314         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33315         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33316         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33317         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33318         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33319         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33320         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33321         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33322         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33323         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33324         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33325         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33326         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33327         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33328         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33329         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33330         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33331         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33332         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33333         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33334         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33335         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33336         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33337         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33338         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33339         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33340         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33341         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33342         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33343         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33344         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33345         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33346         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33347         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33348         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33349         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33350         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33351         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33352         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33353         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33354         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33355         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33356         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33357         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33358         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33359         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33360         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33361         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33362         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33363         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33364         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33365         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33366         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33367         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33368         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33369         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33370         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33371         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33372         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33373         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33374         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33375         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33376         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33377         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33378         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33379         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33380         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33381         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33382         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33383         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33384         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33385         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33386         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33387         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33388         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33389         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33390         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33391         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33392         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33393         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33394         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33395         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33396         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33397         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33398         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33401         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33403         [BZ #14914]
33404         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33405         whole low double instead of just low 47 bits when splitting values
33406         into two parts.
33408 2012-12-03  Allan McRae  <allan@archlinux.org>
33410         * manual/stdio.texi (Predefined Printf Handlers): Remove
33411         @hsep and @vsep usage.
33413 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
33415         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33416         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33418 2012-12-03  Jeff Law  <law@redhat.com>
33420         * time/sys/time.h (settimeofday): Do not mark TV argument
33421         as __nonnull.
33423 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
33425         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33426         when currently writing and seek to current position when not.
33427         * libio/Makefile (tests): Remove bug-fclose1.
33428         * libio/bug-fclose1.c: Delete.
33430 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
33432         * manual/arith.texi (feenableexcept): Fix typo.
33433         (fedisableexcept): Likewise.
33435 2012-11-30  Roland McGrath  <roland@hack.frob.com>
33437         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33438         second, differently-typed declaration, rather than a cast.
33440 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33442         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33443         * include/rpc/svc.h: ... here.
33445 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
33447         [BZ #13013]
33448         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33449         depending n and resplen2 to catch cases where answer
33450         equals answerp2.
33452 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
33454         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33455         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33457 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
33459         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33461 2012-11-29  Roland McGrath  <roland@hack.frob.com>
33463         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33465 2012-11-28  Jeff Law  <law@redhat.com>
33467         [BZ #13761]
33468         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33469         dataset_temporary.  Track alloca usage into alloca_used.
33470         If dataset is large allocate and release it via malloc/free.
33472 2012-06-04  Florian Weimer  <fweimer@redhat.com>
33474         [BZ #14197]
33475         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33477 2012-11-28  David S. Miller  <davem@davemloft.net>
33479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33481 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33483         [BZ #14803]
33484         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33485         of pi/2 rounded to nearest to 64 bits.
33486         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33487         nearest to 64 bits.
33488         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33489         bits.
33491 2012-11-28  Jeff Law <law@redhat.com>
33492             Martin Osvald <mosvald@redhat.com>
33494         [BZ #14889]
33495         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33496         * sunrpc/svc.c: Include time.h.
33497         (__svc_accept_failed): New function.
33498         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33499         any reason other than EINTR, call __svc_accept_failed.
33500         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33501         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33503 2012-11-28  Andreas Schwab  <schwab@suse.de>
33505         * scripts/abilist.awk: Also handle indirect functions in .opd
33506         section.
33508 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33510         [BZ #13881]
33511         * sysdeps/x86/fpu/powl_helper.c: New file.
33512         * sysdeps/x86/fpu/Makefile: Likewise.
33513         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33514         (p3): New object.
33515         (__ieee754_powl): Use __powl_helper for finite arguments except
33516         integer exponents below 8.
33517         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33518         (p3): New object.
33519         (__ieee754_powl): Use __powl_helper for finite arguments except
33520         integer exponents below 8.
33521         * math/libm-test.inc (pow_test): Add more tests and enable some
33522         previously disabled tests.
33523         * sysdeps/i386/fpu/libm-test-ulps: Update.
33524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33526 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33527             Carlos O'Donell  <carlos_odonell@mentor.com>
33529         * nss/makedb.c (is_prime): Assert that input is odd and greater
33530         than 4.  Note that fact in a comment too.
33531         (next_prime): Add 4 to input.
33533 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33535         [BZ #11741]
33536         * libio/Makefile (tests): Add test case tst-fwrite-error.
33537         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33538         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33539         * libio/tst-fwrite-error.c: New test case.
33541 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
33543         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33544         before casting to void *.
33545         * include/libc-internal.h (__pointer_type): New macro.
33546         (__integer_if_pointer_type_sub): Likewise.
33547         (__integer_if_pointer_type): Likewise.
33548         (cast_to_integer): Likewise.
33549         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33550         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33551         before casting to atomic64_t.
33552         (atomic_exchange_acq): Likewise.
33553         (__arch_exchange_and_add_body): Likewise.
33554         (__arch_add_body): Likewise.
33555         (atomic_add_negative): Likewise.
33556         (atomic_add_zero): Likewise.
33558 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
33560         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33561         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33562         (add_fdes): Likewise.
33563         (linear_search_fdes): Likewise.
33564         (binary_search_unencoded_fdes): Likewise.
33566 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
33568         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33570 2012-11-24  Adam Conrad  <adconrad@0c3.net>
33572         * configure.in: Autodetect C++ header directories.
33573         * configure: Regenerated.
33575 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
33577         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33579 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
33581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33583 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
33585         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33586         LDBL_MANT_DIG == 106]: Disable some tests.
33587         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33588         Likewise.
33589         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33590         Likewise.
33592         [BZ #14871]
33593         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33594         input for small inputs.  Return +/- pi/2 for large inputs.
33595         * math/libm-test.inc (atan_test): Add more tests.
33597         * sysdeps/generic/unwind-dw2-fde-glibc.c
33598         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33599         __attribute__ ((unused)).
33601         [BZ #14645]
33602         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33603         x * y if x and y are nonzero and z is zero.
33605         [BZ #14811]
33606         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33607         nonzero exponents with absolute value below 0x1p-117 to +/-
33608         0x1p-117.
33610         [BZ #14869]
33611         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33612         up arguments below 2**-450, not just those below 2**-500.
33613         * math/libm-test.inc (hypot_test): Add another test.
33615         [BZ #14868]
33616         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33617         Return a+b for ratio over 2**120, not 2**60.
33618         * math/libm-test.inc (hypot_test): Add another test.
33620         * math/libm-test.inc (clog_test): Use
33621         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33622         (clog10_test): Likewise.
33624         [BZ #6778]
33625         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33627 2012-11-22  Andreas Schwab  <schwab@suse.de>
33629         * sysdeps/i386/fpu/libm-test-ulps: Update.
33631 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
33633         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33634         printf output with newline.
33636 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
33638         [BZ #14865]
33639         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33640         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33641         -z nodlopen, -z initfirst and -z execstack support.
33642         * configure: Regenerated.
33644         * elf/elf.h (DF_1_NODIRECT): New macro.
33645         (DF_1_IGNMULDEF): Likewise.
33646         (DF_1_NOKSYMS): Likewise.
33647         (DF_1_NOHDR): Likewise.
33648         (DF_1_EDITED): Likewise.
33649         (DF_1_NORELOC): Likewise.
33650         (DF_1_SYMINTPOSE): Likewise.
33651         (DF_1_GLOBAUDIT): Likewise.
33652         (DF_1_SINGLETON): Likewise.
33653         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33654         DT_1_SUPPORTED_MASK bits.
33655         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33657 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
33659         * sysdeps/unix/make-syscalls.sh: Document prefixes.
33661 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
33663         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33664         macro.
33666         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33667         (sendmmsg): Move declarations...
33668         * socket/sys/socket.h: ... here.
33669         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33670         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33671         include it from...
33672         * socket/recvmmsg.c: ... this new file.
33673         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33674         (sendmmsg): Rename to __sendmmsg, create weak alias and make
33675         definition of __sendmmsg hidden.
33676         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33677         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33678         Move ENOSYS stub into and include it from...
33679         * socket/sendmmsg.c: ... this new file.
33680         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33681         (sysdep_routines): Move recvmmsg and sendmmsg...
33682         * socket/Makefile (routines): ... here.
33683         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33684         (GLIBC_PRIVATE): Add __sendmmsg.
33685         * include/sys/socket.h (__sendmmsg): Add declarations.
33686         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33687         sendmmsg.
33689 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
33691         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33692         variable I1 with __attribute__ ((unused)).
33693         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33695 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33697         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33698         DUMMY variables with __attribute__ ((unused)).
33700         * bits/byteswap.h: Include <bits/types.h>.
33701         (__bswap_64): Use __uint64_t instead of unsigned long long int.
33703 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33705         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33706         string_t.  Do not manually set errno.
33707         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33708         length with __strnlen.  Make sure to both set errno and return it on
33709         failure.
33711 2012-11-19  David S. Miller  <davem@davemloft.net>
33713         With help from Joseph Myers.
33714         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33715         very large arguments properly.
33716         * math/libm-test.inc (atan_test): New tests.
33717         (atan2_test): New tests.
33718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33721 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33723         [BZ #14856]
33724         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33725         Define to 3.
33727         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33728         [POSIX] (EADDRNOTAVAIL): Likewise.
33729         [POSIX] (EAFNOSUPPORT): Likewise.
33730         [POSIX] (EALREADY): Likewise.
33731         [POSIX] (ECONNABORTED): Likewise.
33732         [POSIX] (ECONNREFUSED): Likewise.
33733         [POSIX] (ECONNRESET): Likewise.
33734         [POSIX] (EDESTADDRREQ): Likewise.
33735         [POSIX] (EDQUOT): Likewise.
33736         [POSIX] (EHOSTUNREACH): Likewise.
33737         [POSIX] (EIDRM): Likewise.
33738         [POSIX] (EISCONN): Likewise.
33739         [POSIX] (ELOOP): Likewise.
33740         [POSIX] (EMULTIHOP): Likewise.
33741         [POSIX] (ENETDOWN): Likewise.
33742         [POSIX] (ENETUNREACH): Likewise.
33743         [POSIX] (ENOBUFS): Likewise.
33744         [POSIX] (ENODATA): Likewise.
33745         [POSIX] (ENOLINK): Likewise.
33746         [POSIX] (ENOMSG): Likewise.
33747         [POSIX] (ENOPROTOOPT): Likewise.
33748         [POSIX] (ENOSR): Likewise.
33749         [POSIX] (ENOSTR): Likewise.
33750         [POSIX] (ENOTCONN): Likewise.
33751         [POSIX] (ENOTSOCK): Likewise.
33752         [POSIX] (EOPNOTSUPP): Likewise.
33753         [POSIX] (EOVERFLOW): Likewise.
33754         [POSIX] (EPROTO): Likewise.
33755         [POSIX] (EPROTONOSUPPORT): Likewise.
33756         [POSIX] (EPROTOTYPE): Likewise.
33757         [POSIX] (ESTALE): Likewise.
33758         [POSIX] (ETIME): Likewise.
33759         [POSIX] (ETXTBSY): Likewise.
33760         [POSIX] (EWOULDBLOCK): Likewise.
33761         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33762         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33763         [POSIX] (SEEK_CUR): Likewise.
33764         [POSIX] (SEEK_END): Likewise.
33765         [POSIX || UNIX98] (mode_t): Do not require.
33766         [POSIX] (off_t): Likewise.
33767         [POSIX] (pid_t): Likewise.
33768         [POSIX] (sys/stat.h): Do not allow header.
33769         [POSIX] (unistd.h): Likewise.
33770         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33771         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33772         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33773         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33774         require.
33775         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33776         sigevent): Specify elements.
33777         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33778         entry.
33779         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33780         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33782         * conform/data/cpio.h-data [POSIX]: Disable whole file.
33783         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33784         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33785         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33786         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33787         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33788         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33789         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33790         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33791         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33792         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33793         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33794         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33795         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33796         Likewise.
33797         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33798         Likewise.
33799         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33800         Likewise.
33801         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33802         Likewise.
33803         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33804         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33805         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33806         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33807         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33808         Specify lower bound on value.
33809         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33810         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33811         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33812         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33813         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33814         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33815         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33816         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33817         value.
33818         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33819         as optional.
33820         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33821         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33822         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33823         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33824         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33825         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33826         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33827         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33828         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33829         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33830         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33831         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33832         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33833         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33834         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33835         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33836         entry.
33837         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33838         optional.
33839         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33840         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33841         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33842         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33843         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33844         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33845         Likewise.
33846         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33847         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33848         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33849         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33850         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
33851         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33852         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33853         as optional.
33854         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33855         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33856         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33857         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33858         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33859         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33860         specify as optional.
33861         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33862         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33863         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33864         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33865         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33866         [XPG3] (NL_LANGMAX): Likewise.
33867         [POSIX || XPG3] (NL_MSGMAX): Likewise.
33868         [POSIX || XPG3] (NL_NMAX): Likewise.
33869         [POSIX || XPG3] (NL_SETMAX): Likewise.
33870         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33871         [XPG3] (NZERO): Likewise.
33872         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33873         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33874         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33875         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33876         (REG_ERANGE): Expect.
33877         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33878         optional-constant.
33879         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33880         Use (void) in prototype.
33881         [POSIX] (*_t): Allow.
33882         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33883         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33884         (WRDE_BADVAL): Expect.
33886         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33887         expect.
33888         [XPG3 || XPG4] (O_RSYNC): Likewise.
33889         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33890         Likewise.
33891         [XPG3 || XPG4] (pthread_sigmask): Likewise.
33892         [XPG3 || XPG4] (sigqueue): Likewise.
33893         [XPG3 || XPG4] (sigtimedwait): Likewise.
33894         [XPG3 || XPG4] (sigwaitinfo): Likewise.
33895         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33896         [XPG3 || XPG4] (vsnprintf): Likewise.
33897         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33898         Likewise.
33899         [XPG3 || XPG4] (blksize_t): Likewise.
33900         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33901         Likewise.
33902         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33903         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33904         [XPG3 || XPG4] (struct itimerspec): Likewise.
33905         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33906         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33907         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33908         [XPG3 || XPG4] (clockid_t): Likewise.
33909         [XPG3 || XPG4] (timer_t): Likewise.
33910         [XPG3 || XPG4] (clock_getres): Likewise.
33911         [XPG3 || XPG4] (clock_gettime): Likewise.
33912         [XPG3 || XPG4] (clock_settime): Likewise.
33913         [XPG3 || XPG4] (nanosleep): Likewise.
33914         [XPG3 || XPG4] (timer_create): Likewise.
33915         [XPG3 || XPG4] (timer_delete): Likewise.
33916         [XPG3 || XPG4] (timer_gettime): Likewise.
33917         [XPG3 || XPG4] (timer_getoverrun): Likewise.
33918         [XPG3 || XPG4] (timer_settime): Likewise.
33919         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33920         [XPG3 || XPG4] (getlogin_r): Likewise.
33921         [XPG3 || XPG4] (pread): Likewise.
33922         [XPG3 || XPG4] (pthread_atfork): Likewise.
33923         [XPG3 || XPG4] (pwrite): Likewise.
33925         [BZ #14835]
33926         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33927         <bits/siginfo.h>.
33929 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33931         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33932         finalizing MALLSTREAM.
33934         * sysdeps/mach/hurd/syncfs.c: New file.
33936 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33938         [BZ #14719]
33939         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33940         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33941         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33942         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33943         (_nss_dns_gethostbyname4_r): Likewise.
33944         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33945         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33947 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
33949         [BZ #13763]
33950         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33952 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
33954         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33955         * elf/cache.c (print_entry): Print ",AArch64" for
33956         FLAG_AARCH64_LIB64
33958         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33959         * elf/cache.c (print_entry): Print ",hard-float" for
33960         FLAG_ARM_LIBHF.
33962 2012-11-18  David S. Miller  <davem@davemloft.net>
33964         With help from Joseph Myers.
33965         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33966         cutoff to 2**-13.
33967         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33968         cutoff to 2**-25.
33969         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33970         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33971         small.
33972         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33973         * math/libm-test.inc (y0_test): New tests.
33974         (y1_test): New tests.
33975         * sysdeps/i386/fpu/libm-test-ulps: Update.
33976         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33979 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
33981         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33982         64-bit targets.
33983         * configure: Regenerated.
33985 2012-11-17  David S. Miller  <davem@davemloft.net>
33987         [BZ #14811]
33988         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33989         nonzero exponents with absolute value below 0x1p-128 to +/-
33990         0x1p-128.
33992 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
33994         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33996         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33998         * posix/getconf-speclist.c: New file.
33999         * posix/posix-envs.def: Likewise.
34000         * posix/confstr.c (START_ENV_GROUP): New macro.
34001         (END_ENV_GROUP): Likewise.
34002         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34003         (KNOWN_PRESENT_ENV_STRING): Likewise.
34004         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34005         (UNKNOWN_ENVIRONMENT): Likewise.
34006         (confstr): Include posix-envs.def instead of handling
34007         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34008         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34009         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34010         (END_ENV_GROUP): Likewise.
34011         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34012         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34013         (UNKNOWN_ENVIRONMENT): Likewise.
34014         (__sysconf): Include posix-envs.def instead of handling associated
34015         cases directly here.
34016         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34017         preprocessing getconf-speclist.c rather than running getconf or
34018         generating empty file.
34020 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
34022         * scripts/check-local-headers.sh: Ignore 'mach' headers.
34024 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
34026         [BZ #14672]
34027         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34029 2012-11-16  David S. Miller  <davem@davemloft.net>
34031         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34032         smaller than LDBL_EPSILON/2.0L, just return xm1.
34034 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
34036         * elf/tst-array1.c (init): Set constructor priority to 1000.
34037         (fini): Set destructor priority to 1000.
34038         * elf/tst-array2dep.c: Likewise.
34040 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34042         [BZ #11741]
34043         * libio/fileops.c (_IO_new_file_write): Correctly return error.
34044         (_IO_new_file_xsputn): Also return EOF if none of the input
34045         data was written when overflow failed.
34046         * libio/iopadn.c (_IO_padn): Likewise.
34047         * libio/iowpadn.c (_IO_wpadn): Likewise.
34048         * stdio-common/tst-put-error.c: Add copyright notice.
34049         (do_test): Add case for printing padded string.
34050         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34051         _IO_padn returned error.
34052         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34053         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34054         return EOF.
34056 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34058         * libio/libioP.h: Add comment note that the references to C++
34059         bits are now obsolete.
34061 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34063         * math/libm-test.inc (check_complex): Use asprintf.
34065 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
34067         * debug/pcprofiledump.c (print_version): Update copyright year.
34068         * malloc/memusagestat.c (print_version): Likewise.
34070 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
34072         [BZ #14831]
34073         * elf/Makefile (tests): Add tst-audit8.
34074         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34075         ($(objpfx)tst-audit8.out): New target.
34076         (tst-audit8-ENV): New variable.
34077         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34078         audit if l_reloc_result is NULL.
34079         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34080         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34081         * elf/tst-audit8.c: New file.
34083 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34085         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34086         * misc/Makefile (CFLAGS-select.c): Define.
34087         * posix/Makefile (CFLAGS-pause.c): Define.
34089 2012-11-13  David S. Miller  <davem@davemloft.net>
34091         * crypt/Makefile: Move test targets after toplevel Rules
34092         inclusion.  Grab any necessary sysdep routines when linking.
34093         * crypt/md5.c (md5_process_block): Remove define, we will always
34094         name it __md5_process_block.
34095         (md5_finish_ctx): Update md5_process_block call.
34096         (md5_stream): Likewise.
34097         (md5_process_bytes): Likewise.
34098         (md5_process_block): Rename to __md5_process_block and move to ...
34099         * crypt/md5-block.c: ... here.
34100         * crypt/sha256.c (sha256_process_block): Move to ...
34101         * crypt/sha256-block.c: ... here.
34102         * crypt/sha512.c (sha512_process_block): Move to ...
34103         * crypt/sha512-block.c: ... here.
34104         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34105         path.
34106         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34107         * sysdeps/sparc/sparc64/multiarch/Makefile
34108         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34109         crypt subdir.
34110         (localedef-aux): Add md5 crypto assembler when in locale subdir.
34111         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34112         multiarch changes.
34113         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34114         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34115         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34116         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34117         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34118         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34119         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34120         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34121         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34122         file.
34123         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34124         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34125         file.
34126         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34128 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
34130         * timezone/tzselect.ksh: Update from tzcode git revision
34131         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34132         * timezone/zdump.c: Likewise.
34133         * timezone/zic.c: Likewise.
34134         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34135         in TZVERSION setting, not $(PKGVERSION).
34136         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
34137         REPORT_BUGS_TO settings.
34139         [BZ #14838]
34140         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34141         macro.
34143 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34145         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34146         detection to immediately after _FP_ROUND().
34147         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34148         bits are 0.
34150 2012-11-11  David S. Miller  <davem@davemloft.net>
34152         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34153         inttypes.h
34154         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34155         __close rather than their public counterparts.
34157 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
34159         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34160         file.
34161         [UNIX98] (sem_timedwait): Do not expect.
34162         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34163         [XPG4 || UNIX98] (sockatmark): Do not expect.
34164         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34165         (clock_getcpuclockid): Do not expect.
34166         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34167         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34168         Do not expect.
34169         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34170         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34171         [UNIX98] (vwscanf): Likewise.
34172         [UNIX98] (vswscanf): Likewise.
34174 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
34176         * timezone/version.h: Remove file.
34177         * timezone/README: Do not refer to version.h.
34178         * timezone/Makefile ($(objpfx)zic.o): New dependency on
34179         $(objpfx)version.h.
34180         ($(objpfx)zdump.o): Likewise.
34181         ($(objpfx)version.h): New target.
34183         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34184         2012i.
34185         * timezone/README: Don't mention modification to tzselect.ksh.
34186         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34187         work on unmodified tzselect.ksh.  Substitute version numbers in
34188         tzselect.ksh.
34190         * Makefile (format-me): Remove.
34191         (INSTALL): Adjust indentation.  Use commands directly instead of
34192         using $(format-me).
34194         * aclocal.m4 (ACX_PKGVERSION): New macro.
34195         (ACX_BUGURL): Likewise.
34196         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34197         (PKGVERSION): New AC_DEFINE_UNQUOTED.
34198         (REPORT_BUGS_TO): Likewise.
34199         * configure: Regenerated.
34200         * config.h.in (PKGVERSION): New macro.
34201         (REPORT_BUGS_TO): Likewise.
34202         * config.make.in (PKGVERSION): New variable.
34203         (PKGVERSION_TEXI): Likewise.
34204         (REPORT_BUGS_TO): Likewise.
34205         (REPORT_BUGS_TEXI): Likewise.
34206         * Makefile (format-me): Use -I$(common-objpfx)manual.
34207         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34208         ($(common-objpfx)manual/%): New target.
34209         (manual/%): Remove target.
34210         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34211         (print_version): Use PKGVERSION.
34212         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34213         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34214         and REPORT_BUGS_TO.
34215         ($(objpfx)xtrace): Likewise.
34216         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34217         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34218         (print_version): Use PKGVERSION.
34219         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34220         (do_version): Use PKGVERSION.
34221         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34222         REPORT_BUGS_TO.
34223         (common-ldd-rewrite): Likewise.
34224         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34225         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34226         (print_version): Use PKGVERSION.
34227         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34228         * elf/pldd.c (argp_program_bug_address): Remove variable.
34229         (more_help): New function.
34230         (argp): Use more_help.
34231         (print_version): Use PKGVERSION.
34232         * elf/sln.c (main): Use PKGVERSION.
34233         (usage): Use REPORT_BUGS_TO.
34234         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34235         (top level): Use PKGVERSION.
34236         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34237         (print_version): Use PKGVERSION.
34238         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34239         (print_version): Use PKGVERSION.
34240         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34241         (print_version): Use PKGVERSION.
34242         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34243         (print_version): Use PKGVERSION.
34244         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34245         (print_version): Use PKGVERSION.
34246         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34247         (print_version): Use PKGVERSION.
34248         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34249         and BUGURL.
34250         ($(objpfx)memusage): Likewise.
34251         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34252         (do_version): Use PKGVERSION.
34253         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34254         (print_version): Use PKGVERSION.
34255         * malloc/mtrace.pl ($PACKAGE): Remove variable.
34256         ($PKGVERSION): New variable.
34257         ($REPORT_BUGS_TO): Likewise.
34258         (usage): Use $REPORT_BUGS_TO.
34259         (top level): Use $PKGVERSION.
34260         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34261         ($(objpfx)pkgvers.texi): New rule.
34262         ($(objpfx)stamp-pkgvers): Likewise.
34263         * manual/install.texi: Include pkgvers.texi.
34264         (--with-pkgversion): Document new configure option.
34265         (--with-bugurl): Likewise.
34266         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34267         than necessarily for this particular distribution.  Use
34268         REPORT_BUGS_TO for where to report bugs.
34269         * INSTALL: Regenerated.
34270         * manual/libc.texinfo: Include pkgvers.texi.
34271         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34272         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34273         (print_version): Use PKGVERSION.
34274         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34275         (print_version): Use PKGVERSION.
34276         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34277         (print_version): Use PKGVERSION.
34278         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34279         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34280         macro.
34281         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34282         (print_version): Use PKGVERSION.
34283         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34284         (print_version): Use PKGVERSION.
34285         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34286         and PKGVERSION.
34288         * timezone/checktab.awk: Update from tzcode 2012i.
34289         * timezone/ialloc.c: Likewise.
34290         * timezone/private.h: Likewise.
34291         * timezone/scheck.c: Likewise.
34292         * timezone/tzfile.h: Likewise.
34293         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34294         (TZVERSION): Hardcode tzcode version number.
34295         * timezone/zdump.c: Update from tzcode 2012i.
34296         * timezone/zic.c: Likewise.
34297         * timezone/version.h: New file.
34298         * timezone/README: Describe version.h.  Update upstream location.
34300         [BZ #14824]
34301         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34302         (mktemp): Enable declaration.
34303         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34304         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34305         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34306         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34307         Likewise.
34308         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34309         Likewise.
34310         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34311         Likewise.
34312         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34313         Likewise.
34314         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34315         Likewise.
34316         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34317         Likewise.
34319         [BZ #14821]
34320         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34321         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
34322         for copies of such integer values.
34323         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34324         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34326 2012-11-09  Andreas Jaeger  <aj@suse.de>
34328         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34329         definitions and declarations that are provided by
34330         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34332 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34334         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34335         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34336         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34337         definition.
34339 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34341         * elf/elf.h: Update comment before AArch64 relocations.
34343 2012-11-07  David S. Miller  <davem@davemloft.net>
34345         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34346         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34347         (__start_context): Declare.
34348         (__makecontext_ret): Delete.
34349         (__makecontext): Hook up __start_context instead of
34350         __makecontext_ret.
34351         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34352         (sysdep_routines): Add __start_context when in stdlib.
34354 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34356         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34357         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34358         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
34359         hardcoded "nm".
34360         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
34361         (READELF): New variable.  Use it instead of hardcoded "readelf".
34363 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34365         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34366         * sysdeps/x86/Makefile: Here.
34367         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34368         * sysdeps/x86/tst-xmmymm.sh: This.
34370 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34372         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34373         expectations.
34374         [UNIX98] (pthread_barrier_t): Do not expect.
34375         [UNIX98] (pthread_barrierattr_t): Likewise.
34376         [UNIX98] (pthread_spinlock_t): Likewise.
34377         [UNIX98] (pthread_barrier_destroy): Likewise.
34378         [UNIX98] (pthread_barrier_init): Likewise.
34379         [UNIX98] (pthread_barrier_wait): Likewise.
34380         [UNIX98] (pthread_barrierattr_destroy): Likewise.
34381         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34382         [UNIX98] (pthread_barrierattr_init): Likewise.
34383         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34384         [UNIX98] (pthread_getcpuclockid): Likewise.
34385         [UNIX98] (pthread_mutex_timedlock): Likewise.
34386         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34387         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34388         [UNIX98] (pthread_sigmask): Likewise.
34389         [UNIX98] (pthread_spin_destroy): Likewise.
34390         [UNIX98] (pthread_spin_init): Likewise.
34391         [UNIX98] (pthread_spin_lock): Likewise.
34392         [UNIX98] (pthread_spin_trylock): Likewise.
34393         [UNIX98] (pthread_spin_unlock): Likewise.
34394         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34395         Do not expect.
34396         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34397         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34398         [XPG3 || XPG4] (pthread_cond_t): Likewise.
34399         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34400         [XPG3 || XPG4] (pthread_key_t): Likewise.
34401         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34402         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34403         [XPG3 || XPG4] (pthread_once_t): Likewise.
34404         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34405         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34406         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34407         [XPG3 || XPG4] (pthread_t): Likewise.
34409         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34410         not expect.
34411         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34413         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34414         Change function return type to int.
34416         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34417         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34418         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34419         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34420         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34421         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34422         [!POSIX] (posix_madvise): Likewise.
34423         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34424         && !UNIX98].
34425         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34426         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34427         (mode_t): Likewise.
34428         (posix_mem_offset): Likewise.
34429         (posix_typed_mem_get_info): Likewise.
34430         (posix_typed_mem_open): Likewise.
34432         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34433         Change condition to [XOPEN2K8].
34435         * conform/conformtest.pl: Preprocess allow-header data with -x c
34436         instead of from stdin.
34437         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34438         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34439         [C99-based standards] (cerfc): Likewise.
34440         [C99-based standards] (cexp2): Likewise.
34441         [C99-based standards] (cexpm1): Likewise.
34442         [C99-based standards] (clog10): Likewise.
34443         [C99-based standards] (clog1p): Likewise.
34444         [C99-based standards] (clog2): Likewise.
34445         [C99-based standards] (clgamma): Likewise.
34446         [C99-based standards] (ctgamma): Likewise.
34447         [C99-based standards] (cerff): Likewise.
34448         [C99-based standards] (cerfcf): Likewise.
34449         [C99-based standards] (cexp2f): Likewise.
34450         [C99-based standards] (cexpm1f): Likewise.
34451         [C99-based standards] (clog10f): Likewise.
34452         [C99-based standards] (clog1pf): Likewise.
34453         [C99-based standards] (clog2f): Likewise.
34454         [C99-based standards] (clgammaf): Likewise.
34455         [C99-based standards] (ctgammaf): Likewise.
34456         [C99-based standards] (cerfl): Likewise.
34457         [C99-based standards] (cerfcl): Likewise.
34458         [C99-based standards] (cexp2l): Likewise.
34459         [C99-based standards] (cexpm1l): Likewise.
34460         [C99-based standards] (clog10l): Likewise.
34461         [C99-based standards] (clog1pl): Likewise.
34462         [C99-based standards] (clog2l): Likewise.
34463         [C99-based standards] (clgammal): Likewise.
34464         [C99-based standards] (ctgammal): Likewise.
34465         * conform/data/inttypes.h-data [C99-based standards]: Include
34466         stdint.h-data.  Remove all expectations for stdint.h contents.
34467         [C99-based standards] (PRI*): Do not allow.
34468         [C99-based standards] (SCN*): Likewise.
34469         [C99-based standards] (*_t): Likewise.
34470         [C99-based-standards] (PRId8): Expect macro.
34471         [C99-based-standards] (PRIi8): Likewise.
34472         [C99-based-standards] (PRIo8): Likewise.
34473         [C99-based-standards] (PRIu8): Likewise.
34474         [C99-based-standards] (PRIx8): Likewise.
34475         [C99-based-standards] (PRIX8): Likewise.
34476         [C99-based-standards] (SCNd8): Likewise.
34477         [C99-based-standards] (SCNi8): Likewise.
34478         [C99-based-standards] (SCNo8): Likewise.
34479         [C99-based-standards] (SCNu8): Likewise.
34480         [C99-based-standards] (SCNx8): Likewise.
34481         [C99-based-standards] (PRIdLEAST8): Likewise.
34482         [C99-based-standards] (PRIiLEAST8): Likewise.
34483         [C99-based-standards] (PRIoLEAST8): Likewise.
34484         [C99-based-standards] (PRIuLEAST8): Likewise.
34485         [C99-based-standards] (PRIxLEAST8): Likewise.
34486         [C99-based-standards] (PRIXLEAST8): Likewise.
34487         [C99-based-standards] (SCNdLEAST8): Likewise.
34488         [C99-based-standards] (SCNiLEAST8): Likewise.
34489         [C99-based-standards] (SCNoLEAST8): Likewise.
34490         [C99-based-standards] (SCNuLEAST8): Likewise.
34491         [C99-based-standards] (SCNxLEAST8): Likewise.
34492         [C99-based-standards] (PRIdFAST8): Likewise.
34493         [C99-based-standards] (PRIiFAST8): Likewise.
34494         [C99-based-standards] (PRIoFAST8): Likewise.
34495         [C99-based-standards] (PRIuFAST8): Likewise.
34496         [C99-based-standards] (PRIxFAST8): Likewise.
34497         [C99-based-standards] (PRIXFAST8): Likewise.
34498         [C99-based-standards] (SCNdFAST8): Likewise.
34499         [C99-based-standards] (SCNiFAST8): Likewise.
34500         [C99-based-standards] (SCNoFAST8): Likewise.
34501         [C99-based-standards] (SCNuFAST8): Likewise.
34502         [C99-based-standards] (SCNxFAST8): Likewise.
34503         [C99-based-standards] (PRId16): Likewise.
34504         [C99-based-standards] (PRIi16): Likewise.
34505         [C99-based-standards] (PRIo16): Likewise.
34506         [C99-based-standards] (PRIu16): Likewise.
34507         [C99-based-standards] (PRIx16): Likewise.
34508         [C99-based-standards] (PRIX16): Likewise.
34509         [C99-based-standards] (SCNd16): Likewise.
34510         [C99-based-standards] (SCNi16): Likewise.
34511         [C99-based-standards] (SCNo16): Likewise.
34512         [C99-based-standards] (SCNu16): Likewise.
34513         [C99-based-standards] (SCNx16): Likewise.
34514         [C99-based-standards] (PRIdLEAST16): Likewise.
34515         [C99-based-standards] (PRIiLEAST16): Likewise.
34516         [C99-based-standards] (PRIoLEAST16): Likewise.
34517         [C99-based-standards] (PRIuLEAST16): Likewise.
34518         [C99-based-standards] (PRIxLEAST16): Likewise.
34519         [C99-based-standards] (PRIXLEAST16): Likewise.
34520         [C99-based-standards] (SCNdLEAST16): Likewise.
34521         [C99-based-standards] (SCNiLEAST16): Likewise.
34522         [C99-based-standards] (SCNoLEAST16): Likewise.
34523         [C99-based-standards] (SCNuLEAST16): Likewise.
34524         [C99-based-standards] (SCNxLEAST16): Likewise.
34525         [C99-based-standards] (PRIdFAST16): Likewise.
34526         [C99-based-standards] (PRIiFAST16): Likewise.
34527         [C99-based-standards] (PRIoFAST16): Likewise.
34528         [C99-based-standards] (PRIuFAST16): Likewise.
34529         [C99-based-standards] (PRIxFAST16): Likewise.
34530         [C99-based-standards] (PRIXFAST16): Likewise.
34531         [C99-based-standards] (SCNdFAST16): Likewise.
34532         [C99-based-standards] (SCNiFAST16): Likewise.
34533         [C99-based-standards] (SCNoFAST16): Likewise.
34534         [C99-based-standards] (SCNuFAST16): Likewise.
34535         [C99-based-standards] (SCNxFAST16): Likewise.
34536         [C99-based-standards] (PRId32): Likewise.
34537         [C99-based-standards] (PRIi32): Likewise.
34538         [C99-based-standards] (PRIo32): Likewise.
34539         [C99-based-standards] (PRIu32): Likewise.
34540         [C99-based-standards] (PRIx32): Likewise.
34541         [C99-based-standards] (PRIX32): Likewise.
34542         [C99-based-standards] (SCNd32): Likewise.
34543         [C99-based-standards] (SCNi32): Likewise.
34544         [C99-based-standards] (SCNo32): Likewise.
34545         [C99-based-standards] (SCNu32): Likewise.
34546         [C99-based-standards] (SCNx32): Likewise.
34547         [C99-based-standards] (PRIdLEAST32): Likewise.
34548         [C99-based-standards] (PRIiLEAST32): Likewise.
34549         [C99-based-standards] (PRIoLEAST32): Likewise.
34550         [C99-based-standards] (PRIuLEAST32): Likewise.
34551         [C99-based-standards] (PRIxLEAST32): Likewise.
34552         [C99-based-standards] (PRIXLEAST32): Likewise.
34553         [C99-based-standards] (SCNdLEAST32): Likewise.
34554         [C99-based-standards] (SCNiLEAST32): Likewise.
34555         [C99-based-standards] (SCNoLEAST32): Likewise.
34556         [C99-based-standards] (SCNuLEAST32): Likewise.
34557         [C99-based-standards] (SCNxLEAST32): Likewise.
34558         [C99-based-standards] (PRIdFAST32): Likewise.
34559         [C99-based-standards] (PRIiFAST32): Likewise.
34560         [C99-based-standards] (PRIoFAST32): Likewise.
34561         [C99-based-standards] (PRIuFAST32): Likewise.
34562         [C99-based-standards] (PRIxFAST32): Likewise.
34563         [C99-based-standards] (PRIXFAST32): Likewise.
34564         [C99-based-standards] (SCNdFAST32): Likewise.
34565         [C99-based-standards] (SCNiFAST32): Likewise.
34566         [C99-based-standards] (SCNoFAST32): Likewise.
34567         [C99-based-standards] (SCNuFAST32): Likewise.
34568         [C99-based-standards] (SCNxFAST32): Likewise.
34569         [C99-based-standards] (PRId64): Likewise.
34570         [C99-based-standards] (PRIi64): Likewise.
34571         [C99-based-standards] (PRIo64): Likewise.
34572         [C99-based-standards] (PRIu64): Likewise.
34573         [C99-based-standards] (PRIx64): Likewise.
34574         [C99-based-standards] (PRIX64): Likewise.
34575         [C99-based-standards] (SCNd64): Likewise.
34576         [C99-based-standards] (SCNi64): Likewise.
34577         [C99-based-standards] (SCNo64): Likewise.
34578         [C99-based-standards] (SCNu64): Likewise.
34579         [C99-based-standards] (SCNx64): Likewise.
34580         [C99-based-standards] (PRIdLEAST64): Likewise.
34581         [C99-based-standards] (PRIiLEAST64): Likewise.
34582         [C99-based-standards] (PRIoLEAST64): Likewise.
34583         [C99-based-standards] (PRIuLEAST64): Likewise.
34584         [C99-based-standards] (PRIxLEAST64): Likewise.
34585         [C99-based-standards] (PRIXLEAST64): Likewise.
34586         [C99-based-standards] (SCNdLEAST64): Likewise.
34587         [C99-based-standards] (SCNiLEAST64): Likewise.
34588         [C99-based-standards] (SCNoLEAST64): Likewise.
34589         [C99-based-standards] (SCNuLEAST64): Likewise.
34590         [C99-based-standards] (SCNxLEAST64): Likewise.
34591         [C99-based-standards] (PRIdFAST64): Likewise.
34592         [C99-based-standards] (PRIiFAST64): Likewise.
34593         [C99-based-standards] (PRIoFAST64): Likewise.
34594         [C99-based-standards] (PRIuFAST64): Likewise.
34595         [C99-based-standards] (PRIxFAST64): Likewise.
34596         [C99-based-standards] (PRIXFAST64): Likewise.
34597         [C99-based-standards] (SCNdFAST64): Likewise.
34598         [C99-based-standards] (SCNiFAST64): Likewise.
34599         [C99-based-standards] (SCNoFAST64): Likewise.
34600         [C99-based-standards] (SCNuFAST64): Likewise.
34601         [C99-based-standards] (SCNxFAST64): Likewise.
34602         [C99-based-standards] (PRIdMAX): Likewise.
34603         [C99-based-standards] (PRIiMAX): Likewise.
34604         [C99-based-standards] (PRIoMAX): Likewise.
34605         [C99-based-standards] (PRIuMAX): Likewise.
34606         [C99-based-standards] (PRIxMAX): Likewise.
34607         [C99-based-standards] (PRIXMAX): Likewise.
34608         [C99-based-standards] (SCNdMAX): Likewise.
34609         [C99-based-standards] (SCNiMAX): Likewise.
34610         [C99-based-standards] (SCNoMAX): Likewise.
34611         [C99-based-standards] (SCNuMAX): Likewise.
34612         [C99-based-standards] (SCNxMAX): Likewise.
34613         [C99-based-standards] (PRIdPTR): Likewise.
34614         [C99-based-standards] (PRIiPTR): Likewise.
34615         [C99-based-standards] (PRIoPTR): Likewise.
34616         [C99-based-standards] (PRIuPTR): Likewise.
34617         [C99-based-standards] (PRIxPTR): Likewise.
34618         [C99-based-standards] (PRIXPTR): Likewise.
34619         [C99-based-standards] (SCNdPTR): Likewise.
34620         [C99-based-standards] (SCNiPTR): Likewise.
34621         [C99-based-standards] (SCNoPTR): Likewise.
34622         [C99-based-standards] (SCNuPTR): Likewise.
34623         [C99-based-standards] (SCNxPTR): Likewise.
34624         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34625         allow.
34626         * conform/data/stdint.h-data: Update comments to clarify
34627         requirements.
34628         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
34629         type.
34630         [C99-based standards] (INT8_MAX): Likewise.
34631         [C99-based standards] (INT16_MIN): Likewise.
34632         [C99-based standards] (INT16_MAX): Likewise.
34633         [C99-based standards] (INT32_MIN): Likewise.
34634         [C99-based standards] (INT32_MAX): Likewise.
34635         [C99-based standards] (INT64_MIN): Likewise.
34636         [C99-based standards] (INT64_MAX): Likewise.
34637         [C99-based standards] (UINT8_MAX): Likewise.
34638         [C99-based standards] (UINT16_MAX): Likewise.
34639         [C99-based standards] (UINT32_MAX): Likewise.
34640         [C99-based standards] (UINT64_MAX): Likewise.
34641         [C99-based standards] (INT_LEAST8_MIN): Likewise.
34642         [C99-based standards] (INT_LEAST8_MAX): Likewise.
34643         [C99-based standards] (INT_LEAST16_MIN): Likewise.
34644         [C99-based standards] (INT_LEAST16_MAX): Likewise.
34645         [C99-based standards] (INT_LEAST32_MIN): Likewise.
34646         [C99-based standards] (INT_LEAST32_MAX): Likewise.
34647         [C99-based standards] (INT_LEAST64_MIN): Likewise.
34648         [C99-based standards] (INT_LEAST64_MAX): Likewise.
34649         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34650         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34651         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34652         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34653         [C99-based standards] (INT_FAST8_MIN): Likewise.
34654         [C99-based standards] (INT_FAST8_MAX): Likewise.
34655         [C99-based standards] (INT_FAST16_MIN): Likewise.
34656         [C99-based standards] (INT_FAST16_MAX): Likewise.
34657         [C99-based standards] (INT_FAST32_MIN): Likewise.
34658         [C99-based standards] (INT_FAST32_MAX): Likewise.
34659         [C99-based standards] (INT_FAST64_MIN): Likewise.
34660         [C99-based standards] (INT_FAST64_MAX): Likewise.
34661         [C99-based standards] (UINT_FAST8_MAX): Likewise.
34662         [C99-based standards] (UINT_FAST16_MAX): Likewise.
34663         [C99-based standards] (UINT_FAST32_MAX): Likewise.
34664         [C99-based standards] (UINT_FAST64_MAX): Likewise.
34665         [C99-based standards] (INTPTR_MIN): Likewise.
34666         [C99-based standards] (INTPTR_MAX): Likewise.
34667         [C99-based standards] (UINTPTR_MAX): Likewise.
34668         [C99-based standards] (INTMAX_MIN): Likewise.
34669         [C99-based standards] (INTMAX_MAX): Likewise.
34670         [C99-based standards] (UINTMAX_MAX): Likewise.
34671         [C99-based standards] (PTRDIFF_MIN): Likewise.
34672         [C99-based standards] (PTRDIFF_MAX): Likewise.
34673         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34674         [C99-based standards] (SIZE_MAX): Likewise.
34675         [C99-based standards] (WCHAR_MAX): Likewise.
34676         [C99-based standards] (WINT_MAX): Likewise.
34677         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
34678         constraint on value.
34679         [C99-based standards] (WCHAR_MIN): Likewise.
34680         [C99-based standards] (WINT_MIN): Likewise.
34681         [C99-based standards] (*_t): Allow.
34682         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34683         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34684         Include math.h-data and complex.h-data.  Remove all expectations
34685         of math.h and complex.h contents.
34686         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34687         at end of line.
34688         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34689         (struct tm): Expect tag.
34690         [C99-based-standards] (wcstof): Expect function.
34691         [C99-based-standards] (wcstold): Likewise.
34692         [C99-based-standards] (wcstoll): Likewise.
34693         [C99-based-standards] (wcstoull): Likewise.
34694         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34695         macro-int-constant.  Specify type.
34696         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
34697         constraint on value.
34698         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34699         Specify type.
34700         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34701         Specify value.
34702         [ISO C standards]: Do not allow headers.
34703         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34704         wcs[abcdefghijklmnopqrstuvwxyz]*.
34705         [ISO C standards] (*_t): Do not allow.
34706         * conform/data/wctype.h-data [C99-based standards] (iswblank):
34707         Expect function.
34708         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34709         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34710         Specify type.
34711         [ISO C standards]: Do not allow headers.
34712         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34713         is[abcdefghijklmnopqrstuvwxyz]*.
34714         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34715         to[abcdefghijklmnopqrstuvwxyz]*.
34716         [ISO C standards] (*_t): Do not allow.
34717         * conform/data/stdalign.h-data: New file.
34718         * conform/data/stdbool.h-data: Likewise.
34719         * conform/data/stdnoreturn.h-data: Likewise.
34721 2012-11-07  Roland McGrath  <roland@hack.frob.com>
34723         [BZ #14815]
34724         * manual/filesys.texi (Directory Entries): Typo fix.
34725         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34727 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34729         * elf/elf.h (EM_AARCH64): New macro.
34730         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34731         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34732         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34733         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34734         (R_AARCH64_TLSDESC): Likewise.
34735         (NT_ARM_TLS): Likewise.
34736         (NT_ARM_HW_BREAK): Likewise.
34737         (NT_ARM_HW_WATCH): Likewise.
34739 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34741         [BZ #14811]
34742         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34743         (__ieee754_powl): Saturate nonzero exponents with absolute value
34744         below 0x1p-79 to +/- 0x1p-79.
34745         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34746         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34747         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34748         nonzero exponents with absolute value below 0x1p-32 to +/-
34749         0x1p-32.
34750         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34751         (__ieee754_powl): Saturate nonzero exponents with absolute value
34752         below 0x1p-79 to +/- 0x1p-79.
34753         * math/libm-test.inc (pow_test): Add more tests.
34755 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34757         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34758         _dl_s390_cap_flags with kernel. Increase string length.
34759         (_dl_s390_platforms): Add z196 and zEC12.
34761 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34763         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34764         Change XOPEN21K to XOPEN2K.
34766 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
34768         * string/memmove.c: Use memcpy when possible.
34770 2012-11-06  Andreas Jaeger  <aj@suse.de>
34772         * po/eo.po: Update from translation team.
34774 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
34776         [BZ #14793]
34777         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34778         exponent and small x and y exponents, scale x or y up.  Increase
34779         by 2 the exponent used in scaling up.
34780         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34781         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34782         * math/libm-test.inc (fma_test): Add more tests.
34783         (fma_test_towardzero): Likewise.
34784         (fma_test_downward): Likewise.
34785         (fma_test_upward): Likewise.
34787 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
34789         [BZ #14805]
34790         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34791         fenv_t *.
34793         [BZ #14801]
34794         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34795         namespace for names of struct fields.
34796         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34797         fenv_t fields.
34798         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34799         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34801 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34803         [BZ #3665]
34804         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34806 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34808         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34809         PTR_DEMANGLE.
34811         [BZ #5246]
34812         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34813         PTR_DEMANGLE.
34815 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
34817         [BZ #14797]
34818         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34819         definitely overflow as x * y not x * y + z.
34820         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34821         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34822         * math/libm-test.inc (fma_test): Add more tests.
34823         (fma_test_towardzero): Likewise.
34824         (fma_test_downward): Likewise.
34825         (fma_test_upward): Likewise.
34827 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34829         [BZ #157]
34831         * include/stub-tag.h: Remove file.
34832         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34833         '#include' of it.
34834         * manual/maint.texi (Porting): Don't reference it.
34835         * Makerules ($(objpfx)stubs): Likewise.
34836         * dirent/closedir.c: Don't include <stub-tag.h>.
34837         * dirent/dirfd.c: Likewise.
34838         * dirent/fdopendir.c: Likewise.
34839         * dirent/getdents.c: Likewise.
34840         * dirent/getdents64.c: Likewise.
34841         * dirent/opendir.c: Likewise.
34842         * dirent/readdir.c: Likewise.
34843         * dirent/readdir64.c: Likewise.
34844         * dirent/readdir64_r.c: Likewise.
34845         * dirent/readdir_r.c: Likewise.
34846         * dirent/rewinddir.c: Likewise.
34847         * dirent/seekdir.c: Likewise.
34848         * dirent/telldir.c: Likewise.
34849         * gmon/profil.c: Likewise.
34850         * grp/setgroups.c: Likewise.
34851         * inet/if_index.c: Likewise.
34852         * io/access.c: Likewise.
34853         * io/chdir.c: Likewise.
34854         * io/chmod.c: Likewise.
34855         * io/chown.c: Likewise.
34856         * io/close.c: Likewise.
34857         * io/dup.c: Likewise.
34858         * io/dup2.c: Likewise.
34859         * io/dup3.c: Likewise.
34860         * io/euidaccess.c: Likewise.
34861         * io/faccessat.c: Likewise.
34862         * io/fchdir.c: Likewise.
34863         * io/fchmod.c: Likewise.
34864         * io/fchmodat.c: Likewise.
34865         * io/fchown.c: Likewise.
34866         * io/fchownat.c: Likewise.
34867         * io/fcntl.c: Likewise.
34868         * io/flock.c: Likewise.
34869         * io/fstatfs.c: Likewise.
34870         * io/fstatfs64.c: Likewise.
34871         * io/fstatvfs.c: Likewise.
34872         * io/fstatvfs64.c: Likewise.
34873         * io/futimens.c: Likewise.
34874         * io/fxstat.c: Likewise.
34875         * io/fxstat64.c: Likewise.
34876         * io/fxstatat.c: Likewise.
34877         * io/fxstatat64.c: Likewise.
34878         * io/getcwd.c: Likewise.
34879         * io/isatty.c: Likewise.
34880         * io/lchmod.c: Likewise.
34881         * io/lchown.c: Likewise.
34882         * io/link.c: Likewise.
34883         * io/linkat.c: Likewise.
34884         * io/lseek.c: Likewise.
34885         * io/lseek64.c: Likewise.
34886         * io/lxstat64.c: Likewise.
34887         * io/mkdir.c: Likewise.
34888         * io/mkdirat.c: Likewise.
34889         * io/mkfifo.c: Likewise.
34890         * io/mkfifoat.c: Likewise.
34891         * io/open.c: Likewise.
34892         * io/open64.c: Likewise.
34893         * io/openat.c: Likewise.
34894         * io/openat64.c: Likewise.
34895         * io/pipe.c: Likewise.
34896         * io/pipe2.c: Likewise.
34897         * io/poll.c: Likewise.
34898         * io/posix_fadvise.c: Likewise.
34899         * io/posix_fadvise64.c: Likewise.
34900         * io/posix_fallocate.c: Likewise.
34901         * io/posix_fallocate64.c: Likewise.
34902         * io/read.c: Likewise.
34903         * io/readlink.c: Likewise.
34904         * io/readlinkat.c: Likewise.
34905         * io/rmdir.c: Likewise.
34906         * io/sendfile.c: Likewise.
34907         * io/sendfile64.c: Likewise.
34908         * io/statfs.c: Likewise.
34909         * io/statfs64.c: Likewise.
34910         * io/statvfs.c: Likewise.
34911         * io/statvfs64.c: Likewise.
34912         * io/symlink.c: Likewise.
34913         * io/symlinkat.c: Likewise.
34914         * io/ttyname.c: Likewise.
34915         * io/ttyname_r.c: Likewise.
34916         * io/umask.c: Likewise.
34917         * io/unlink.c: Likewise.
34918         * io/unlinkat.c: Likewise.
34919         * io/utime.c: Likewise.
34920         * io/utimensat.c: Likewise.
34921         * io/write.c: Likewise.
34922         * io/xmknod.c: Likewise.
34923         * io/xmknodat.c: Likewise.
34924         * io/xstat.c: Likewise.
34925         * io/xstat64.c: Likewise.
34926         * login/getpt.c: Likewise.
34927         * login/grantpt.c: Likewise.
34928         * login/unlockpt.c: Likewise.
34929         * math/e_acoshl.c: Likewise.
34930         * math/e_acosl.c: Likewise.
34931         * math/e_asinl.c: Likewise.
34932         * math/e_atan2l.c: Likewise.
34933         * math/e_atanhl.c: Likewise.
34934         * math/e_coshl.c: Likewise.
34935         * math/e_expl.c: Likewise.
34936         * math/e_fmodl.c: Likewise.
34937         * math/e_gammal_r.c: Likewise.
34938         * math/e_hypotl.c: Likewise.
34939         * math/e_j0l.c: Likewise.
34940         * math/e_j1l.c: Likewise.
34941         * math/e_jnl.c: Likewise.
34942         * math/e_lgammal_r.c: Likewise.
34943         * math/e_log10l.c: Likewise.
34944         * math/e_log2l.c: Likewise.
34945         * math/e_logl.c: Likewise.
34946         * math/e_powl.c: Likewise.
34947         * math/e_rem_pio2l.c: Likewise.
34948         * math/e_sinhl.c: Likewise.
34949         * math/e_sqrtl.c: Likewise.
34950         * math/fclrexcpt.c: Likewise.
34951         * math/fedisblxcpt.c: Likewise.
34952         * math/feenablxcpt.c: Likewise.
34953         * math/fegetenv.c: Likewise.
34954         * math/fegetexcept.c: Likewise.
34955         * math/fegetround.c: Likewise.
34956         * math/feholdexcpt.c: Likewise.
34957         * math/fesetenv.c: Likewise.
34958         * math/fesetround.c: Likewise.
34959         * math/feupdateenv.c: Likewise.
34960         * math/fgetexcptflg.c: Likewise.
34961         * math/fraiseexcpt.c: Likewise.
34962         * math/fsetexcptflg.c: Likewise.
34963         * math/ftestexcept.c: Likewise.
34964         * math/k_cosl.c: Likewise.
34965         * math/k_rem_pio2l.c: Likewise.
34966         * math/k_sinl.c: Likewise.
34967         * math/k_tanl.c: Likewise.
34968         * math/s_asinhl.c: Likewise.
34969         * math/s_atanl.c: Likewise.
34970         * math/s_cbrtl.c: Likewise.
34971         * math/s_erfl.c: Likewise.
34972         * math/s_expm1l.c: Likewise.
34973         * math/s_log1pl.c: Likewise.
34974         * math/s_tanhl.c: Likewise.
34975         * misc/acct.c: Likewise.
34976         * misc/brk.c: Likewise.
34977         * misc/chflags.c: Likewise.
34978         * misc/chroot.c: Likewise.
34979         * misc/fchflags.c: Likewise.
34980         * misc/fgetxattr.c: Likewise.
34981         * misc/flistxattr.c: Likewise.
34982         * misc/fremovexattr.c: Likewise.
34983         * misc/fsetxattr.c: Likewise.
34984         * misc/fsync.c: Likewise.
34985         * misc/ftruncate.c: Likewise.
34986         * misc/futimes.c: Likewise.
34987         * misc/futimesat.c: Likewise.
34988         * misc/getdomain.c: Likewise.
34989         * misc/getdtsz.c: Likewise.
34990         * misc/gethostid.c: Likewise.
34991         * misc/gethostname.c: Likewise.
34992         * misc/getloadavg.c: Likewise.
34993         * misc/getpagesize.c: Likewise.
34994         * misc/getsysstats.c: Likewise.
34995         * misc/getxattr.c: Likewise.
34996         * misc/gtty.c: Likewise.
34997         * misc/ioctl.c: Likewise.
34998         * misc/lgetxattr.c: Likewise.
34999         * misc/listxattr.c: Likewise.
35000         * misc/llistxattr.c: Likewise.
35001         * misc/lremovexattr.c: Likewise.
35002         * misc/lsetxattr.c: Likewise.
35003         * misc/lutimes.c: Likewise.
35004         * misc/madvise.c: Likewise.
35005         * misc/mincore.c: Likewise.
35006         * misc/mlock.c: Likewise.
35007         * misc/mlockall.c: Likewise.
35008         * misc/mmap.c: Likewise.
35009         * misc/mprotect.c: Likewise.
35010         * misc/msync.c: Likewise.
35011         * misc/munlock.c: Likewise.
35012         * misc/munlockall.c: Likewise.
35013         * misc/munmap.c: Likewise.
35014         * misc/preadv.c: Likewise.
35015         * misc/preadv64.c: Likewise.
35016         * misc/ptrace.c: Likewise.
35017         * misc/pwritev.c: Likewise.
35018         * misc/pwritev64.c: Likewise.
35019         * misc/readv.c: Likewise.
35020         * misc/reboot.c: Likewise.
35021         * misc/remap_file_pages.c: Likewise.
35022         * misc/removexattr.c: Likewise.
35023         * misc/revoke.c: Likewise.
35024         * misc/select.c: Likewise.
35025         * misc/setdomain.c: Likewise.
35026         * misc/setegid.c: Likewise.
35027         * misc/seteuid.c: Likewise.
35028         * misc/sethostid.c: Likewise.
35029         * misc/sethostname.c: Likewise.
35030         * misc/setregid.c: Likewise.
35031         * misc/setreuid.c: Likewise.
35032         * misc/setxattr.c: Likewise.
35033         * misc/sstk.c: Likewise.
35034         * misc/stty.c: Likewise.
35035         * misc/swapoff.c: Likewise.
35036         * misc/swapon.c: Likewise.
35037         * misc/sync.c: Likewise.
35038         * misc/syncfs.c: Likewise.
35039         * misc/syscall.c: Likewise.
35040         * misc/truncate.c: Likewise.
35041         * misc/ualarm.c: Likewise.
35042         * misc/usleep.c: Likewise.
35043         * misc/ustat.c: Likewise.
35044         * misc/utimes.c: Likewise.
35045         * misc/vhangup.c: Likewise.
35046         * misc/writev.c: Likewise.
35047         * posix/_exit.c: Likewise.
35048         * posix/alarm.c: Likewise.
35049         * posix/execve.c: Likewise.
35050         * posix/fexecve.c: Likewise.
35051         * posix/fork.c: Likewise.
35052         * posix/fpathconf.c: Likewise.
35053         * posix/getaddrinfo.c: Likewise.
35054         * posix/getegid.c: Likewise.
35055         * posix/geteuid.c: Likewise.
35056         * posix/getgid.c: Likewise.
35057         * posix/getgroups.c: Likewise.
35058         * posix/getlogin.c: Likewise.
35059         * posix/getlogin_r.c: Likewise.
35060         * posix/getpgid.c: Likewise.
35061         * posix/getpid.c: Likewise.
35062         * posix/getppid.c: Likewise.
35063         * posix/getresgid.c: Likewise.
35064         * posix/getresuid.c: Likewise.
35065         * posix/getsid.c: Likewise.
35066         * posix/getuid.c: Likewise.
35067         * posix/glob64.c: Likewise.
35068         * posix/nanosleep.c: Likewise.
35069         * posix/pathconf.c: Likewise.
35070         * posix/pause.c: Likewise.
35071         * posix/posix_madvise.c: Likewise.
35072         * posix/pread.c: Likewise.
35073         * posix/pread64.c: Likewise.
35074         * posix/pwrite.c: Likewise.
35075         * posix/pwrite64.c: Likewise.
35076         * posix/sched_getaffinity.c: Likewise.
35077         * posix/sched_getp.c: Likewise.
35078         * posix/sched_gets.c: Likewise.
35079         * posix/sched_primax.c: Likewise.
35080         * posix/sched_primin.c: Likewise.
35081         * posix/sched_rr_gi.c: Likewise.
35082         * posix/sched_setaffinity.c: Likewise.
35083         * posix/sched_setp.c: Likewise.
35084         * posix/sched_sets.c: Likewise.
35085         * posix/sched_yield.c: Likewise.
35086         * posix/setgid.c: Likewise.
35087         * posix/setlogin.c: Likewise.
35088         * posix/setpgid.c: Likewise.
35089         * posix/setresgid.c: Likewise.
35090         * posix/setresuid.c: Likewise.
35091         * posix/setsid.c: Likewise.
35092         * posix/setuid.c: Likewise.
35093         * posix/sleep.c: Likewise.
35094         * posix/spawni.c: Likewise.
35095         * posix/sysconf.c: Likewise.
35096         * posix/times.c: Likewise.
35097         * posix/wait.c: Likewise.
35098         * posix/wait3.c: Likewise.
35099         * posix/wait4.c: Likewise.
35100         * posix/waitpid.c: Likewise.
35101         * resolv/gai_sigqueue.c: Likewise.
35102         * resource/getpriority.c: Likewise.
35103         * resource/getrlimit.c: Likewise.
35104         * resource/getrusage.c: Likewise.
35105         * resource/nice.c: Likewise.
35106         * resource/setpriority.c: Likewise.
35107         * resource/setrlimit.c: Likewise.
35108         * resource/ulimit.c: Likewise.
35109         * rt/aio_cancel.c: Likewise.
35110         * rt/aio_fsync.c: Likewise.
35111         * rt/aio_read.c: Likewise.
35112         * rt/aio_sigqueue.c: Likewise.
35113         * rt/aio_suspend.c: Likewise.
35114         * rt/aio_write.c: Likewise.
35115         * rt/clock_getres.c: Likewise.
35116         * rt/clock_gettime.c: Likewise.
35117         * rt/clock_nanosleep.c: Likewise.
35118         * rt/clock_settime.c: Likewise.
35119         * rt/lio_listio.c: Likewise.
35120         * rt/mq_close.c: Likewise.
35121         * rt/mq_getattr.c: Likewise.
35122         * rt/mq_notify.c: Likewise.
35123         * rt/mq_open.c: Likewise.
35124         * rt/mq_receive.c: Likewise.
35125         * rt/mq_send.c: Likewise.
35126         * rt/mq_setattr.c: Likewise.
35127         * rt/mq_timedreceive.c: Likewise.
35128         * rt/mq_timedsend.c: Likewise.
35129         * rt/mq_unlink.c: Likewise.
35130         * rt/shm_open.c: Likewise.
35131         * rt/shm_unlink.c: Likewise.
35132         * rt/timer_create.c: Likewise.
35133         * rt/timer_delete.c: Likewise.
35134         * rt/timer_getoverr.c: Likewise.
35135         * rt/timer_gettime.c: Likewise.
35136         * rt/timer_settime.c: Likewise.
35137         * setjmp/__longjmp.c: Likewise.
35138         * setjmp/setjmp.c: Likewise.
35139         * signal/kill.c: Likewise.
35140         * signal/killpg.c: Likewise.
35141         * signal/raise.c: Likewise.
35142         * signal/sigaction.c: Likewise.
35143         * signal/sigaltstack.c: Likewise.
35144         * signal/sigblock.c: Likewise.
35145         * signal/sigignore.c: Likewise.
35146         * signal/sigintr.c: Likewise.
35147         * signal/signal.c: Likewise.
35148         * signal/sigpause.c: Likewise.
35149         * signal/sigpending.c: Likewise.
35150         * signal/sigqueue.c: Likewise.
35151         * signal/sigreturn.c: Likewise.
35152         * signal/sigset.c: Likewise.
35153         * signal/sigsetmask.c: Likewise.
35154         * signal/sigstack.c: Likewise.
35155         * signal/sigsuspend.c: Likewise.
35156         * signal/sigtimedwait.c: Likewise.
35157         * signal/sigvec.c: Likewise.
35158         * signal/sigwait.c: Likewise.
35159         * signal/sigwaitinfo.c: Likewise.
35160         * signal/sysv_signal.c: Likewise.
35161         * socket/accept.c: Likewise.
35162         * socket/accept4.c: Likewise.
35163         * socket/bind.c: Likewise.
35164         * socket/connect.c: Likewise.
35165         * socket/getpeername.c: Likewise.
35166         * socket/getsockname.c: Likewise.
35167         * socket/getsockopt.c: Likewise.
35168         * socket/isfdtype.c: Likewise.
35169         * socket/listen.c: Likewise.
35170         * socket/recv.c: Likewise.
35171         * socket/recvfrom.c: Likewise.
35172         * socket/recvmsg.c: Likewise.
35173         * socket/send.c: Likewise.
35174         * socket/sendmsg.c: Likewise.
35175         * socket/sendto.c: Likewise.
35176         * socket/setsockopt.c: Likewise.
35177         * socket/shutdown.c: Likewise.
35178         * socket/sockatmark.c: Likewise.
35179         * socket/socket.c: Likewise.
35180         * socket/socketpair.c: Likewise.
35181         * stdio-common/ctermid.c: Likewise.
35182         * stdio-common/cuserid.c: Likewise.
35183         * stdio-common/remove.c: Likewise.
35184         * stdio-common/rename.c: Likewise.
35185         * stdio-common/renameat.c: Likewise.
35186         * stdio-common/tempname.c: Likewise.
35187         * stdlib/getcontext.c: Likewise.
35188         * stdlib/makecontext.c: Likewise.
35189         * stdlib/setcontext.c: Likewise.
35190         * stdlib/swapcontext.c: Likewise.
35191         * stdlib/system.c: Likewise.
35192         * streams/fattach.c: Likewise.
35193         * streams/fdetach.c: Likewise.
35194         * streams/getmsg.c: Likewise.
35195         * streams/getpmsg.c: Likewise.
35196         * streams/putmsg.c: Likewise.
35197         * streams/putpmsg.c: Likewise.
35198         * sysdeps/unix/bsd/getpt.c: Likewise.
35199         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35200         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35201         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35203         Likewise.
35204         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35205         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35206         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35207         * sysvipc/msgctl.c: Likewise.
35208         * sysvipc/msgget.c: Likewise.
35209         * sysvipc/msgrcv.c: Likewise.
35210         * sysvipc/msgsnd.c: Likewise.
35211         * sysvipc/semctl.c: Likewise.
35212         * sysvipc/semget.c: Likewise.
35213         * sysvipc/semop.c: Likewise.
35214         * sysvipc/semtimedop.c: Likewise.
35215         * sysvipc/shmat.c: Likewise.
35216         * sysvipc/shmctl.c: Likewise.
35217         * sysvipc/shmdt.c: Likewise.
35218         * sysvipc/shmget.c: Likewise.
35219         * termios/tcdrain.c: Likewise.
35220         * termios/tcflow.c: Likewise.
35221         * termios/tcflush.c: Likewise.
35222         * termios/tcgetattr.c: Likewise.
35223         * termios/tcgetpgrp.c: Likewise.
35224         * termios/tcsendbrk.c: Likewise.
35225         * termios/tcsetattr.c: Likewise.
35226         * termios/tcsetpgrp.c: Likewise.
35227         * time/adjtime.c: Likewise.
35228         * time/clock.c: Likewise.
35229         * time/getitimer.c: Likewise.
35230         * time/gettimeofday.c: Likewise.
35231         * time/setitimer.c: Likewise.
35232         * time/settimeofday.c: Likewise.
35233         * time/stime.c: Likewise.
35234         * time/time.c: Likewise.
35236 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
35238         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35239         /usr/old/bin.
35241         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35242         instead of spaces.
35243         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35245 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
35247         [BZ #14796]
35248         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35249         FE_TONEAREST before applying Dekker multiplication and Knuth
35250         addition.  Clear inexact exceptions and check for exact zero
35251         results afterwards.
35252         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35253         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35254         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35255         * math/libm-test.inc (fma_test): Add more tests.
35256         (fma_test_towardzero): Likewise.
35257         (fma_test_downward): Likewise.
35258         (fma_test_upward): Likewise.
35259         * sysdeps/generic/math_private.h (default_libc_fesetround): New
35260         function.
35261         (libc_fesetround): New macro.
35262         (libc_fesetroundf): Likewise.
35263         (libc_fesetroundl): Likewise.
35264         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35265         function.
35266         (libc_fesetround_387): Likewise.
35267         (libc_fesetroundf): New macro.
35268         (libc_fesetround): Likewise.
35269         (libc_fesetroundl): Likewise.
35270         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35271         function.
35272         (libc_fesetroundf): New macro.
35273         (libc_fesetround): Likewise.
35274         (libc_fesetroundl): Likewise.
35275         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35276         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35277         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35278         libm_hidden_ver.
35279         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35280         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35281         libm_hidden_def.
35282         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35283         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35284         libm_hidden_ver.
35285         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35286         libm_hidden_def.
35288         [BZ #3439]
35289         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35290         integer constant usable in #if and use that to give value to enum
35291         constant.
35292         (FE_DIVBYZERO): Likewise.
35293         (FE_UNDERFLOW): Likewise.
35294         (FE_OVERFLOW): Likewise.
35295         (FE_INVALID): Likewise.
35296         (FE_INVALID_SNAN): Likewise.
35297         (FE_INVALID_ISI): Likewise.
35298         (FE_INVALID_IDI): Likewise.
35299         (FE_INVALID_ZDZ): Likewise.
35300         (FE_INVALID_IMZ): Likewise.
35301         (FE_INVALID_COMPARE): Likewise.
35302         (FE_INVALID_SOFTWARE): Likewise.
35303         (FE_INVALID_SQRT): Likewise.
35304         (FE_INVALID_INTEGER_CONVERSION): Likewise.
35305         (FE_TONEAREST): Likewise.
35306         (FE_TOWARDZERO): Likewise.
35307         (FE_UPWARD): Likewise.
35308         (FE_DOWNWARD): Likewise.
35309         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35310         (FE_DIVBYZERO): Likewise.
35311         (FE_OVERFLOW): Likewise.
35312         (FE_UNDERFLOW): Likewise.
35313         (FE_INEXACT): Likewise.
35314         (FE_TONEAREST): Likewise.
35315         (FE_DOWNWARD): Likewise.
35316         (FE_UPWARD): Likewise.
35317         (FE_TOWARDZERO): Likewise.
35318         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35319         (FE_UNDERFLOW): Likewise.
35320         (FE_OVERFLOW): Likewise.
35321         (FE_DIVBYZERO): Likewise.
35322         (FE_INVALID): Likewise.
35323         (FE_TONEAREST): Likewise.
35324         (FE_TOWARDZERO): Likewise.
35325         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35326         (FE_OVERFLOW): Likewise.
35327         (FE_UNDERFLOW): Likewise.
35328         (FE_DIVBYZERO): Likewise.
35329         (FE_INEXACT): Likewise.
35330         (FE_TONEAREST): Likewise.
35331         (FE_TOWARDZERO): Likewise.
35332         (FE_UPWARD): Likewise.
35333         (FE_DOWNWARD): Likewise.
35334         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35335         (FE_DIVBYZERO): Likewise.
35336         (FE_OVERFLOW): Likewise.
35337         (FE_UNDERFLOW): Likewise.
35338         (FE_INEXACT): Likewise.
35339         (FE_TONEAREST): Likewise.
35340         (FE_DOWNWARD): Likewise.
35341         (FE_UPWARD): Likewise.
35342         (FE_TOWARDZERO): Likewise.
35344 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
35346         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35348 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
35350         * scripts/cross-test-ssh.sh (command): Use newlines to separate
35351         commands.  Quote $PWD.
35352         (blacklist_exports): Don't use remove_newlines.  Replace "declare
35353         -x" by "export".
35354         (remove_newlines): Remove.
35356 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
35358         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35359         * stdlib/stdlib.h (atof): Moved to ...
35360         * include/bits/stdlib-float.h: Here.  New file.
35361         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35362         * stdlib/bits/stdlib-float.h: New file.
35363         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35364         -mno-sse -mno-mmx.
35365         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35366         <xmmintrin.h>.
35368 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35370         * conform/conformtest.pl (@headers): Add fenv.h.
35371         * conform/data/fenv.h-data: New file.
35372         * include/fenv.h [_ISOMAC]: Disable all contents of file except
35373         include of <math/fenv.h>.
35375         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35376         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35377         && !UNIX98].  Enables tests for XOPEN2K8.
35378         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35379         POSIX2008]: Likewise.
35381         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35382         (struct rusage): Do not expect type or its members.
35384         [BZ #3439]
35385         * math/math.h (FP_NAN): Define macro to integer constant usable in
35386         #if and use that to give value to enum constant.
35387         (FP_INFINITE): Likewise.
35388         (FP_ZERO): Likewise.
35389         (FP_SUBNORMAL): Likewise.
35390         (FP_NORMAL): Likewise.
35392 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
35394         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35395         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35396         arguments.
35398 2012-11-02  Roland McGrath  <roland@hack.frob.com>
35400         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35401         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35402         autoconf-time if not.
35403         * configure.in: Remove AC_PREREQ.
35405 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35407         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35408         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35409         of the internal implementation.
35411 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35413         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35414         except include of <misc/sys/syslog.h>.
35416 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35419         function returns with a NULL context exit with zero.
35421 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35423         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35425 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
35427         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35428         (run_program_cmd): This.
35429         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35430         (tst_langinfo): New variable.  Use it.
35432 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
35434         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35435         floating point opcodes.
35437 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35439         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35440         variable.
35442         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35444         * sysdeps/mach/hurd/powerpc: Remove directory.
35445         * sysdeps/mach/powerpc: Likewise.
35447 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35449         * scripts/check-local-headers.sh: Ignore c++ headers.
35451 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35453         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35454         __libc_cleanup_region_start argument.
35456 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
35458         [BZ #14784]
35459         [BZ #14785]
35460         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35461         x * y using scaling, not as x * y + z.
35462         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35463         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35464         * math/libm-test.inc (fma_test): Add more tests.
35465         (fma_test_towardzero): Likewise.
35466         (fma_test_downward): Likewise.
35467         (fma_test_upward): Likewise.
35469 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35471         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35473 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35475         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35476         New variable.
35478 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
35480         * rt/tst-shm.c (worker): Correct checking for mmap failure.
35482 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35485         Fix sort order.
35486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35487         Likewise.
35489 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35492         Fix the order of the list for glibc 2.17.
35493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35494         Likewise.
35496 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35500 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35502         [BZ #14610]
35503         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35504         for low part of x being zero before using __atanl (y).
35505         * math/libm-test.inc (atan2_test): Add another test.
35507         * manual/install.texi (Configuring and compiling): Document
35508         general use of test-wrapper and test-wrapper-env.
35509         * INSTALL: Regenerated.
35511         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35512         (__fma): Do not extract and scale down low bits on after-rounding
35513         systems when result rounded to normal precision would have normal
35514         exponent.
35515         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35516         (__fmal): Do not extract and scale down low bits on after-rounding
35517         systems when result rounded to normal precision would have normal
35518         exponent.
35519         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35520         (__fmal): Do not extract and scale down low bits on after-rounding
35521         systems when result rounded to normal precision would have normal
35522         exponent.
35523         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35524         macro.
35525         (fma_test): Add more tests.
35526         (fma_test_towardzero): Likewise.
35527         (fma_test_downward): Likewise.
35528         (fma_test_upward): Likewise.
35530 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
35532         * sysdeps/i386/tininess.h: Renamed to ...
35533         * sysdeps/x86/tininess.h: This.
35534         * sysdeps/x86_64/tininess.h: Removed.
35536 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35538         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35539         input.  Use $(build-program-cmd).
35540         ($(objpfx)tst-array1-static.out): Likewise.
35541         ($(objpfx)tst-array2.out): Likewise.
35542         ($(objpfx)tst-array3.out): Likewise.
35543         ($(objpfx)tst-array4.out): Likewise.
35544         ($(objpfx)tst-array5.out): Likewise.
35545         ($(objpfx)tst-array5-static.out): Likewise.
35547 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
35549         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35550         if defined.
35552         * nss/nsswitch.h (nss_interface_function): Provide new
35553         macro for use with NSS functions.
35554         * grp/initgroups.c: Use new macro.
35555         * nss/getXXbyYY.c: Likewise.
35556         * nss/getXXbyYY_r.c: Likewise.
35557         * nss/getXXent.c: Likewise.
35558         * nss/getXXent_r.c: Likewise.
35559         * sysdeps/posix/getaddrinfo.c: Likewise.
35561 2012-10-30  Andreas Jaeger  <aj@suse.de>
35563         * po/ru.po: Update Russion translation from translation project.
35565 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35567         [BZ #14152]
35568         [BZ #14783]
35569         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35570         result and shift together with sticky bit instead of replicating
35571         round-to-nearest rounding.
35572         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35573         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35574         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
35575         missing underflow exceptions.
35576         (fma_test_towardzero): Add more tests.
35577         (fma_test_downward): Likewise.
35578         (fma_test_upward): Likewise.
35580         [BZ #14047]
35581         * sysdeps/generic/tininess.h: New file.
35582         * sysdeps/i386/tininess.h: Likewise.
35583         * sysdeps/sh/tininess.h: Likewise.
35584         * sysdeps/x86_64/tininess.h: Likewise.
35585         * stdlib/tst-strtod-underflow.c: Likewise.
35586         * stdlib/tst-tininess.c: Likewise.
35587         * stdlib/strtod_l.c: Include <tininess.h>.
35588         (round_and_return): Do not set errno for exact underflow cases.
35589         Force an underflow exception when setting errno for underflow.
35590         Determine underflow based on rounding to normal precision if
35591         TININESS_AFTER_ROUNDING.
35592         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35593         ERANGE for exact underflow cases.
35594         * stdlib/Makefile (tests): Add tst-tininess and
35595         tst-strtod-underflow.
35596         ($(objpfx)tst-tininess): Use $(link-libm).
35597         ($(objpfx)tst-strtod-underflow): Likewise.
35599 2012-10-30  Andreas Jaeger  <aj@suse.de>
35601         [BZ#14767]
35602         * elf/Makefile (tests): Remove conditional for have-initfini-array
35603         since this is now always required and the variable does not exist
35604         anymore.
35605         (tests-static): Likewise.
35606         (modules-names): Likewise.
35608         * po/eo.po: Add Esperanto translation from translation project.
35610         * elf/tst-array1.c (fini_array): Make writeable so that it can be
35611         merged with constructor/destructor.
35612         (init_array): Likewise.
35613         * elf/tst-array2dep.c (fini_array): Likewise.
35614         (init_array): Likewise.
35616 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
35618         * manual/message.texi: Delete @cartouche tags.
35620 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
35622         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35623         EOPNOTSUPP.
35624         * sysdeps/mach/hurd/fsync.c: Likewise.
35626         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35627         [_POSIX_REALTIME_SIGNALS]: Change condition to
35628         [_POSIX_REALTIME_SIGNALS > 0].
35630 2012-10-27  Andreas Jaeger  <aj@suse.de>
35632         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35633         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35634         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35635         [__WORDSIZE != 64]: Likewise.
35637 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
35639         *  iconvdata/tst-table.sh: Remove ${SHELL}.
35640         *  iconvdata/tst-tables.sh: Likewise.
35642 2012-10-25  David S. Miller  <davem@davemloft.net>
35644         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35645         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35646         of strtoull.
35648         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35649         ifunc-impl-list.c
35650         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35651         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35652         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35653         file.
35655 2012-10-25  Roland McGrath  <roland@hack.frob.com>
35657         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35658         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35659         __getdirentries.
35661 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35662             Jim Blandy  <jimb@codesourcery.com>
35664         * scripts/cross-test-ssh.sh: New file.
35665         * manual/install.texi (Configuring and compiling): Document use of
35666         cross-test-ssh.sh.
35667         * INSTALL: Regenerated.
35669 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
35671         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35672         EOPNOTSUPP.
35674 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35676         * Makeconfig (run-program-prefix): Fix comment.
35678 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35679             Jim Blandy  <jimb@codesourcery.com>
35681         * Makeconfig (test-wrapper): New variable,
35682         (test-wrapper-env): Likewise.
35683         [$(cross-compiling) = yes && $(test-wrapper) != ""]
35684         (run-built-tests): Define to yes.
35685         (run-program-prefix): Use $(test-wrapper).
35686         (built-program-cmd): Likewise.
35687         * Rules (make-test-out): Use $(test-wrapper-env) and
35688         $(host-built-program-cmd).
35689         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35690         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35691         tst-pathopt.sh.
35692         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35693         $(test-wrapper-env) to tst-rtld-load-self.sh.
35694         ($(objpfx)order2.out): Use $(test-wrapper).
35695         ($(objpfx)tst-initorder.out): Likewise.
35696         ($(objpfx)tst-initorder2.out): Likewise.
35697         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35698         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35699         (test_wrapper_env): New variable.  Use it to run ld.so.
35700         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35701         Use it to run ld.so.
35702         (test_wrapper_env): Likewise.
35703         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35704         $(test-wrapper) to run-iconv-test.sh.
35705         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35706         (ICONV): Use $test_wrapper.
35707         * posix/Makefile ($(objpfx)globtest.out): Pass
35708         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35709         globtest.sh, not $(run-program-prefix).
35710         * posix/globtest.sh (run_via_rtld_prefix): New variable.
35711         (test_wrapper): Likewise.
35712         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
35713         set together with run_via_rtld_prefix.
35714         (run_program_prefix): Define in terms of test_wrapper and
35715         run_via_rtld_prefix.
35717 2012-10-24  Roland McGrath  <roland@hack.frob.com>
35719         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35720         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35721         Targets removed.
35723         [BZ #14743]
35724         * include/time.h: Remove librt_hidden_proto (clock_gettime).
35725         Declare __clock_getres, __clock_gettime, __clock_settime,
35726         __clock_nanosleep, and __clock_getcpuclockid.
35727         * rt/clock_gettime.c: Define __clock_gettime as an alias.
35728         Remove librt_hidden_def (clock_gettime).
35729         * sysdeps/unix/clock_gettime.c: Likewise.
35730         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35731         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35732         * rt/clock_getres.c: Define __clock_getres as an alias.
35733         * sysdeps/posix/clock_getres.c: Likewise.
35734         * rt/clock_settime.c: Define __clock_settime as an alias.
35735         * sysdeps/unix/clock_settime.c: Likewise.
35736         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35737         * sysdeps/unix/clock_nanosleep.c: Likewise.
35738         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35739         * rt/clock-compat.c: New file.
35740         * rt/Makefile (librt-routines): Add clock-compat and move
35741         $(clock-routines) to ...
35742         (routines): ... here, new variable.
35743         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35744         Don't add get_clockfreq here.
35745         * rt/Versions (libc: GLIBC_2.17): New version set.
35746         Add clock_* symbols here.
35747         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
35748         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35749         (GLIBC_2.17): Add clock_* symbols.
35750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35752         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35754         Likewise.
35755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35756         Likewise.
35757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35761         * NEWS: Mention the move.
35763         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35764         Use __open, __read, __close rather than their public counterparts.
35765         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35766         (__get_clockfreq_via_cpuinfo): Likewise.
35767         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35768         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35770         * config.h.in (HAVE_IFUNC): New #undef.
35771         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35772         was successful.
35773         * configure: Regenerated.
35775 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35777         * configure.in: Move READELF check to start of file.
35778         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35779         libc_cv_asm_gnu_indirect_function in the process.
35780         * configure: Regenerated.
35782 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35784         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35785         send the output to /dev/null.
35786         (libc_cv_cc_with_libunwind): Likewise.
35787         (libc_cv_as_noexecstack): Likewise.
35788         * configure: Regenerate.
35790 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35792         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35794         * posix/globtest.sh (TMPDIR): Do not set.
35795         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35796         (testout): Likewise.
35798 2012-10-24  Andreas Jaeger  <aj@suse.de>
35800         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35801         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35802         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35803         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35804         posix_fadvise64, posix_fallocate64.
35806         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35807         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35808         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35809         Likewise.
35810         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35811         Likewise.
35812         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35814         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35815         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35816         <bits/fcntl-linux.h>.
35817         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35819         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35820         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35821         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35822         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35823         [__WORDSIZE != 64]: Likewise.
35825 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35827         * Makeconfig (run-built-tests): New variable.
35828         * Rules [$(cross-compiling) = yes]: Change condition to
35829         [$(run-built-tests) = no].
35830         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35831         to [$(run-built-tests) = yes].
35832         * elf/Makefile [$(cross-compiling) = no]: Likewise
35833         * grp/Makefile [$(cross-compiling) = no]: Likewise.
35834         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35835         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35836         * intl/Makefile [$(cross-compiling) = no]: Likewise.
35837         * io/Makefile [$(cross-compiling) = no]: Likewise.
35838         * libio/Makefile [$(cross-compiling) = no]: Likewise.
35839         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35840         * misc/Makefile [$(cross-compiling) = no]: Likewise.
35841         * posix/Makefile [$(cross-compiling) = no]: Likewise.
35842         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35843         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35844         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35845         * string/Makefile [$(cross-compiling) = no]: Likewise.
35847         * posix/Makefile ($(objpfx)globtest.out): Pass
35848         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35849         $(rtld-installed-name).
35850         * posix/globtest.sh (elf_objpfx): Remove variable.
35851         (rtld_installed_name): Likewise.
35852         (library_path): Likewise.
35853         (run_program_prefix): New variable.  Use for running globtest
35854         binary.
35856 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
35857             Joseph Myers  <joseph@codesourcery.com>
35859         * Makeconfig (host-built-program-cmd): New variable.
35860         * elf/Makefile (tst-stackguard1-ARGS): Use
35861         $(host-built-program-cmd).
35862         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35863         (tst-spawn-ARGS): Likewise.
35864         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35866 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35867             Jim Blandy  <jimb@codesourcery.com>
35869         * Makeconfig (run-via-rtld-prefix): New variable.
35870         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35871         (built-program-cmd): Likewise.
35873 2012-10-22  Andreas Jaeger  <aj@suse.de>
35875         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35876         __O_RSYNC if it exists, otherwise to O_SYNC.
35878 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
35879             Joseph Myers  <joseph@codesourcery.com>
35881         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35882         /dev/null.
35883         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35884         from /dev/null
35885         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35886         /dev/null.
35888 2012-10-22  Andreas Jaeger  <aj@suse.de>
35890         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35891         Define always.
35892         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35894         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35895         bits/fcntl-linux.h.
35897         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35898         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35900         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35901         to __O_LARGEFILE.
35902         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35903         to __O_LARGEFILE.
35905 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
35906             Joseph Myers  <joseph@codesourcery.com>
35908         * config.make.in (NM): New variable.
35910 2012-10-21  Andreas Jaeger  <aj@suse.de>
35912         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35913         definitions and declarations that are provided by
35914         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35916 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35918         [BZ #14683]
35919         * elf/Makefile (tests-static): Add tst-leaks1-static.
35920         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35921         ($(objpfx)tst-leaks1-static): New rule.
35922         ($(objpfx)tst-leaks1-static-mem): Likewise.
35923         (tst-leaks1-static-ENV): New macro.
35924         * elf/dl-open.c (dl_open_worker): Check the main application
35925         only if SHARED is defined.
35926         * elf/tst-leaks1-static.c: New file.
35928 2012-10-20  Andreas Jaeger  <aj@suse.de>
35930         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35931         generic values for Linux.
35932         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35933         and declarations that are provided by <bits/fcntl-linux.h> and
35934         include <bits/fcntl-linux.h>.
35935         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35936         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35938 2012-10-20  Roland McGrath  <roland@hack.frob.com>
35940         * io/fcntl.h: Move include of <bits/types.h> to the top and
35941         include it unconditionally.
35943 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35945         * wcsmbs/Makefile (tests-ifunc): New variable.
35946         (tests): Add $(tests-ifunc).
35947         * wcsmbs/test-wcschr-ifunc.c: New file.
35948         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35949         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35950         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35951         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35952         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35954         * string/Makefile (tests-ifunc): New variable.
35955         (tests): Add $(tests-ifunc).
35956         * string/test-memccpy.c (TEST_NAME): New macro.
35957         * string/test-memchr.c (TEST_NAME): Likewise.
35958         * string/test-memcmp.c (TEST_NAME): Likewise.
35959         * string/test-memcpy.c (TEST_NAME): Likewise.
35960         * string/test-memmem.c (TEST_NAME): Likewise.
35961         * string/test-memmove.c (TEST_NAME): Likewise.
35962         * string/test-memset.c (TEST_NAME): Likewise.
35963         * string/test-rawmemchr.c (TEST_NAME): Likewise.
35964         * string/test-stpcpy.c (TEST_NAME): Likewise.
35965         * string/test-stpncpy.c (TEST_NAME): Likewise.
35966         * string/test-strcasecmp.c (TEST_NAME): Likewise.
35967         * string/test-strcasestr.c (TEST_NAME): Likewise.
35968         * string/test-strcat.c (TEST_NAME): Likewise.
35969         * string/test-strchr.c (TEST_NAME): Likewise.
35970         * string/test-strcmp.c(TEST_NAME): Likewise.
35971         * string/test-strcpy.c (TEST_NAME): Likewise.
35972         * string/test-strcspn.c (TEST_NAME): Likewise.
35973         * string/test-strlen.c (TEST_NAME): Likewise.
35974         * string/test-strncasecmp.c (TEST_NAME): Likewise.
35975         * string/test-strncmp.c (TEST_NAME): Likewise.
35976         * string/test-strncpy.c (TEST_NAME): Likewise.
35977         * string/test-strnlen.c (TEST_NAME): Likewise.
35978         * string/test-strpbrk.c (TEST_NAME): Likewise.
35979         * string/test-strrchr.c (TEST_NAME): Likewise.
35980         * string/test-strspn.c (TEST_NAME): Likewise.
35981         * string/test-strstr.c (TEST_NAME): Likewise.
35982         * string/test-bcopy-ifunc.c: New file.
35983         * string/test-bzero-ifunc.c: Likewise.
35984         * string/test-memccpy-ifunc.c: Likewise.
35985         * string/test-memchr-ifunc.c: Likewise.
35986         * string/test-memcmp-ifunc.c: Likewise.
35987         * string/test-memcpy-ifunc.c: Likewise.
35988         * string/test-memmem-ifunc.c: Likewise.
35989         * string/test-memmove-ifunc.c: Likewise.
35990         * string/test-mempcpy-ifunc.c: Likewise.
35991         * string/test-memset-ifunc.c: Likewise.
35992         * string/test-rawmemchr-ifunc.c: Likewise.
35993         * string/test-stpcpy-ifunc.c: Likewise.
35994         * string/test-stpncpy-ifunc.c: Likewise.
35995         * string/test-strcasecmp-ifunc.c: Likewise.
35996         * string/test-strcasestr-ifunc.c: Likewise.
35997         * string/test-strcat-ifunc.c: Likewise.
35998         * string/test-strchr-ifunc.c: Likewise.
35999         * string/test-strchrnul-ifunc.c: Likewise.
36000         * string/test-strcmp-ifunc.c: Likewise.
36001         * string/test-strcpy-ifunc.c: Likewise.
36002         * string/test-strcspn-ifunc.c: Likewise.
36003         * string/test-strlen-ifunc.c: Likewise.
36004         * string/test-strncasecmp-ifunc.c: Likewise.
36005         * string/test-strncat-ifunc.c: Likewise.
36006         * string/test-strncmp-ifunc.c: Likewise.
36007         * string/test-strncpy-ifunc.c: Likewise.
36008         * string/test-strnlen-ifunc.c: Likewise.
36009         * string/test-strpbrk-ifunc.c: Likewise.
36010         * string/test-strrchr-ifunc.c: Likewise.
36011         * string/test-strspn-ifunc.c: Likewise.
36012         * string/test-strstr-ifunc.c: Likewise.
36014         * debug/Makefile (tests-ifunc): New variable.
36015         (tests): Add $(tests-ifunc).
36016         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36017         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36018         * debug/test-stpcpy_chk-ifunc.c: New file.
36019         * debug/test-strcpy_chk-ifunc.c: Likewise.
36021 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36023         [BZ #13601]
36024         * elf/dl-load.c (open_verify): Retry read if the entire ELF
36025         header is not read in.
36027 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
36029         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
36030         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
36031         directly.  Pass built executable to script as
36032         $(built-program-cmd).
36033         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
36034         $testprogram without using LD_LIBRARY_PATH and $ldso.
36036         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36037         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36038         $(rtld-installed-name).
36039         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36040         (rtld_installed_name): Likewise.
36041         (library_path): Likewise.
36042         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
36043         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36044         $(run-program-prefix) to tst-tables.sh.
36045         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
36046         it to run tst-table-from and tst-table-to.
36047         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36048         Pass it to tst-table.sh.
36049         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36050         $(run-program-prefix) to tst-gettext.sh.
36051         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36052         tst-translit.sh.
36053         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36054         tst-gettext2.sh.
36055         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
36056         to run tst-gettext.
36057         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
36058         to run tst-gettext2.
36059         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
36060         to run tst-translit.
36061         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36062         $(run-program-prefix) to tst-mtrace.sh.
36063         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
36064         to run tst-mtrace.
36065         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36066         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36067         $(rtld-installed-name).
36068         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36069         (rtld_installed_name): Likewise.
36070         (run_program_prefix): New variable.  Use it to run wordexp-test.
36072         * Makeconfig (ARCH): Remove all definitions.
36073         (machine): Likewise.
36074         [ARCH]: Remove conditional code.
36075         [!objdir]: Give error.
36076         [!objdir] (objpfx): Remove.
36077         [!objdir] (common-objpfx): Likewise.
36078         [!objdir] (common-objdir): Likewise.
36079         * configure.in (config_makefile): Remove.  Hardcode Makefile in
36080         AC_CONFIG_FILES call.
36081         * configure: Regenerated.
36083         [BZ #13888]
36084         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36085         or TMPDIR.
36086         (testout): Likewise.
36088         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36089         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36090         $(rtld-installed-name).
36091         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36092         (rtld_installed_name): Likwise.
36093         (runit): Remove function.
36094         (run_getconf): New variable,  Use it for running getconf binary.
36096 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
36098         [BZ #14716]
36099         * string/test-memmem.c (check_result): New function.
36100         (do_one_test): Use it.
36101         (check1): New function.
36102         (test_main): Use it.
36104 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
36106         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36108 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
36110         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36111         (_G_LSEEK64): Likewise.
36112         (_G_MMAP64): Likewise.
36113         (_G_FSTAT64): Likewise.
36114         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36115         (_G_LSEEK64): Likewise.
36116         (_G_MMAP64): Likewise.
36117         (_G_FSTAT64): Likewise.
36118         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36119         unconditional.  Call __mmap64 directly.
36120         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36121         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
36122         __lseek64 directly.
36123         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36124         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
36125         __mmap64 directly.
36126         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36127         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36128         __lseek64 directly.
36129         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36130         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36131         __lseek64 directly.
36132         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36133         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
36134         __lseek64 directly.
36135         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36136         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
36137         __fxstat64 directly.
36138         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36139         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36140         unconditional.
36141         (freopen64) [!_G_OPEN64]: Remove conditional code.
36142         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36143         unconditional.
36144         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36145         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36146         unconditional.
36147         (ftello64) [!_G_LSEEK64]: Remove conditional code.
36148         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36149         unconditional.
36150         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36151         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36152         unconditional.
36153         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36154         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36155         unconditional.
36156         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36157         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36158         unconditional.
36159         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36160         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36161         unconditional.
36162         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36164 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36166         [BZ #12140]
36167         * manual/memory.texi (Malloc Tunable Parameters): Add note
36168         about free list pointers overwriting some perturb bytes.
36169         Wording suggested by Roland McGrath.
36171 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
36173         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36174         (lgamma_test): Likewise.
36175         (tgamma_test): Likewise.
36177 2012-10-16  Florian Weimer  <fweimer@redhat.com>
36179         [BZ #14700]
36180         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36181         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36183 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
36185         * NEWS: Mention BZ #14716.
36186         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36187         when removing AVAILABLE1_USES_J macro.
36189 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
36191         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36192         (__bswap_64): __uint64_t for unsigned 64-bit int.
36194 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
36196         * include/string.h (memmem): Declare libc hidden alias.
36197         * string/memmem.c (memmem): Define libc hidden alias.
36198         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36199         __read, __close instead of open, read, close.
36201 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
36203         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36204         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36205         global and hidden.
36206         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36207         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36208         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36209         Likewise.
36210         (__rawmemchr_sse2): Likewise.
36211         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36212         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36213         (__strchr_sse2): Likewise.
36214         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36215         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36216         (__strcasecmp_sse2): Likewise.
36217         (__strncasecmp_sse2): Likewise.
36218         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36219         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36220         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36221         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36222         (__strrchr_sse2): Likewise.
36223         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36224         ifunc-impl-list.c.
36225         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36226         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36227         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36228         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36229         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36230         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36231         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36232         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36233         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36234         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36235         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36236         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36237         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36238         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36239         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36240         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36241         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36242         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36243         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36244         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36245         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36246         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36247         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36248         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36249         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36250         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36251         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36252         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36253         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36254         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36256         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36257         global and hidden.
36258         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36259         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36260         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36261         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36262         Likewise.
36263         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36264         Likewise.
36265         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36266         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36267         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36268         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36269         ifunc-impl-list.c.
36270         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36271         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36272         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36273         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36274         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36275         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36276         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36277         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36278         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36279         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36280         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36281         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36282         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36283         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36284         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36285         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36286         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36287         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36288         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36289         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36290         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36291         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36292         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36293         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36294         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36295         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36296         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36297         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36298         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36299         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36300         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36301         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36302         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36303         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36304         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36305         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36306         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36307         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36308         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36309         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36310         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36312         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36313         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36314         * include/ifunc-impl-list.h: New file.
36315         * misc/ifunc-impl-list.c: Likewise.
36316         * misc/Makefile (routines): Add ifunc-impl-list.
36317         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36318         * string/test-string.h: Include <ifunc-impl-list.h>.
36319         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36320         TEST_NAME]: New variables.
36321         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36322         are defined.
36323         (test_init): Call __libc_ifunc_impl_list to initialize
36324         func_list if TEST_IFUNC and TEST_NAME are defined.
36326         * string/Makefile (strop-tests): Add bcopy and bzero.
36327         * string/test-bcopy.c: New file.
36328         * string/test-bzero.c: Likewise.
36329         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36330         defined.
36331         * string/test-memset.c: Support bzero test if TEST_BZERO is
36332         defined.
36333         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36334         __libc_memmove.
36335         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36336         __libc_memset.
36337         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36338         of memset.
36340 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
36342         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36343         * configure: Regenerated.
36345         * Makeconfig (+link-static-before-libc): Don't include
36346         $(link-static-libc).
36348         * libio/libio.h (_IO_pos_t): Remove.
36350 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36352         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
36353         McGrath.
36355 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36357         * crypt/crypt-entry.c: Include fips-private.h.
36358         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36359         * crypt/md5c-test.c (main): Tolerate disabled MD5.
36360         * sysdeps/unix/sysv/linux/fips-private.h: New file.
36361         * sysdeps/generic/fips-private.h: New file, dummy fallback.
36363 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36365         * crypt/crypt-private.h: Include stdbool.h.
36366         (_ufc_setup_salt_r): Return bool.
36367         * crypt/crypt-entry.c: Include errno.h.
36368         (__crypt_r): Return NULL with EINVAL for bad salt.
36369         * crypt/crypt_util.c (bad_for_salt): New.
36370         (_ufc_setup_salt_r): Check that salt is long enough and within
36371         the specified alphabet.
36372         * crypt/badsalttest.c: New file.
36373         * crypt/Makefile (tests): Add it.
36374         ($(objpfx)badsalttest): New.
36376 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
36378         * NEWS: Add entry for BZ #14602.
36380 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36382         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36383         type-generic.
36384         * math/libm-test.inc: Update comment listing what functions and
36385         macros are tested.
36386         (isgreater_test): New function.
36387         (isgreaterequal_test): Likewise.
36388         (isless_test): Likewise.
36389         (islessequal_test): Likewise.
36390         (islessgreater_test): Likewise.
36391         (isunordered_test): Likewise.
36392         (main): Call the new functions.
36394 2012-10-09  Roland McGrath  <roland@hack.frob.com>
36396         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36397         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36398         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36399         * sysdeps/i386/configure: Regenerated.
36400         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36401         * sysdeps/mach/configure: Regenerated.
36402         * sysdeps/mach/hurd/configure: Regenerated.
36403         * sysdeps/powerpc/configure: Regenerated.
36404         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36405         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36406         * sysdeps/s390/s390-32/configure: Regenerated.
36407         * sysdeps/s390/s390-64/configure: Regenerated.
36408         * sysdeps/sh/configure: Regenerated.
36409         * sysdeps/sparc/configure: Regenerated.
36410         * sysdeps/unix/sysv/linux/configure: Regenerated.
36411         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36412         * sysdeps/x86_64/configure: Regenerated.
36414         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36415         defined.  Don't check if MAP is NULL.
36417 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36419         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36420         (_G_stat64): Likewise.
36421         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36422         (_G_stat64): Likewise.
36423         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36424         instead of struct _G_stat64.
36425         * libio/fileops.c (mmap_remap_check): Likewise.
36426         (decide_maybe_mmap): Likewise.
36427         (_IO_new_file_seekoff): Likewise.
36428         (_IO_file_stat): Likewise.
36429         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36430         _G_off64_t.
36431         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36432         instead of struct _G_stat64.
36433         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36435 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
36437         [BZ #14602]
36438         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36439         Replace with ...
36440         (CHECK_EOL): New macro.
36441         (two_way_short_needle): Check beginning of haystack for EOL.  Use
36442         CHECK_EOL.
36443         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36444         Replace with CHECK_EOL.
36445         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36446         Replace with CHECK_EOL.
36448 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
36450         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36451         type-generic.
36452         * math/libm-test.inc: Update comment listing what functions and
36453         macros are tested.
36454         (finite_test): New function.
36455         (isinf_test): Likewise.
36456         (isnan_test): Likewise.
36457         (fpclassify_test): Test subnormal input.
36458         (isfinite_test): Likewise.
36459         (isnormal_test): Likewise.
36460         (main): Call the new functions.
36462 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
36464         [BZ #14660]
36465         * Makerules (%.dynsym): Force C locale when running
36466         $(OBJDUMP) --dynamic-syms.
36468 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
36470         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36471         <stdint.h>.
36473 2012-10-06  David S. Miller  <davem@davemloft.net>
36475         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36476         upper 32-bits of the length value in %o2 since we use branch-on-register
36477         tests which consider the entire 64-bit register.
36479 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
36481         * string/test-strstr.c (check2): Add a test for page boundary.
36483 2012-10-05  David S. Miller  <davem@davemloft.net>
36485         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36486         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36487         file.
36488         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36489         sysdep_routines.
36490         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36491         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36492         and bzero when HWCAP_SPARC_CRYPTO is present.
36494 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
36496         [BZ #14602]
36497         * string/test-strstr.c (check2): New function.
36498         (test_main): Call check2.
36500         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36501         and bug-strchr1.
36502         * string/bug-strcasestr1.c (do_test): Moved to ...
36503         * string/test-strcasestr.c (check1): Here.  New function.
36504         (do_one_test): Break out result checking code into ...
36505         (check_result): This.  New function.
36506         (do_one_test): Call check_result.
36507         (test_main): Call check1.
36508         * string/bug-strchr1.c (do_test): Moved to ...
36509         * string/test-strchr.c (check1): Here.  New function.
36510         (do_one_test): Break out result checking code into ...
36511         (check_result): This.  New function.
36512         (do_one_test): Call check_result.
36513         (test_main): Call check1.
36514         * string/bug-strstr1.c (main): Moved to ...
36515         * string/test-strstr.c (check1): Here.  New function.
36516         (do_one_test): Break out result checking code into ...
36517         (check_result): This.  New function.
36518         (do_one_test): Call check_result.
36519         (test_main): Call check1.
36520         * string/bug-strcasestr1.c: Removed.
36521         * string/bug-strchr1.c: Likewise.
36522         * string/bug-strstr1.c: Likewise.
36524         * elf/Makefile (dl-routines): Add hwcaps.
36525         * elf/dl-support.c (_dl_important_hwcaps): Removed.
36526         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36527         (_dl_important_hwcaps): Moved to ...
36528         * elf/dl-hwcaps.c: Here.  New file.
36529         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36531         [BZ #14557]
36532         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36533         if IS_IN_rtld isn't defined.
36535         * elf/dl-support.c (_dl_sysinfo_map): New.
36536         Include "get-dynamic-info.h" and "setup-vdso.h".
36537         (_dl_non_dynamic_init): Call setup_vdso.
36538         * elf/dynamic-link.h: Don't include <assert.h>.
36539         (elf_get_dynamic_info): Moved to ...
36540         * elf/get-dynamic-info.h: Here.  New file.
36541         * elf/dynamic-link.h: Include "get-dynamic-info.h".
36542         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36543         * elf/setup-vdso.h: Here.  New file.
36544         * elf/rtld.c: Include "setup-vdso.h".
36545         (dl_main): Call setup_vdso.
36547 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
36549         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36550         creal in comment listing functions tested.  List finite, isinf,
36551         isnan, isless, islessequal, isgreater, isgreaterequal,
36552         islessgreater, isunordered, lgamma_r and pow10 as functions and
36553         macros not tested.  Mention which functions not tested are aliases
36554         for other functions.  Fix typo.  Note that signs of NaNs are not
36555         tested.
36557         * scripts/config.guess: Update from config.git.
36558         * scripts/config.sub: Likewise.
36560 2012-10-04  Roland McGrath  <roland@hack.frob.com>
36562         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36563         * misc/madvise.c (madvise): Renamed to __madvise.
36564         Make madvise a weak alias.
36565         * include/sys/mman.h: Declare __madvise.
36566         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36567         * sysdeps/unix/syscalls.list
36568         (madvise): Make __madvise the strong name, and madvise a weak alias.
36569         * sysdeps/unix/sysv/linux/syscalls.list
36570         (madvise, mmap): Remove redundant entries.
36571         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36572         * malloc/malloc.c (mtrim): Likewise.
36573         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36575 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36577         * sysdeps/mach/hurd/dl-cache.c: File removed.
36578         * config.h.in (USE_LDCONFIG): New #undef.
36579         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36580         * configure: Regenerated.
36581         * elf/Makefile (dl-routines): Add dl-cache only under
36582         [$(use-ldconfig) = yes].
36583         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36584         cache on [USE_LDCONFIG].
36585         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36586         [USE_LDCONFIG].
36587         * elf/rtld.c (dl_main): Likewise.
36589 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
36591         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36592         _SC_LEVEL4_CACHE_LINESIZE.
36594 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36596         * sysdeps/unix/bsd/confstr.h: File removed.
36598 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
36600         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36601         sys/sdt-config.h.
36603 2012-10-02  Roland McGrath  <roland@hack.frob.com>
36605         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36606         Make 'mapoff' field ElfW(Off) rather than off_t.
36608 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
36610         * nscd/Makefile: Remove nscd-cflags and all its users.
36611         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36612         (CFLAGS-nonlib): Add compiler flags for nscd modules.
36614         [BZ #10631]
36615         * malloc.c (malloc_printerr): Clarify error message.
36617 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
36619         [BZ #14648]
36620         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36621         Set bit_FMA_Usable if FMA is supported.
36622         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36623         macro.
36624         (bit_FMA4_Usable): Updated.
36625         (index_FMA_Usable): New macro.
36626         (CPUID_FMA): Likewise
36627         (HAS_FMA): Defined with bit_FMA_Usable.
36629 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36631         * bits/types.h (__swblk_t): Type removed.
36632         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36633         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36634         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36635         (__SWBLK_T_TYPE): Likewise.
36636         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36637         (__SWBLK_T_TYPE): Likewise.
36638         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36639         (__SWBLK_T_TYPE): Likewise.
36640         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36641         (__SWBLK_T_TYPE): Likewise.
36643 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
36644             Honza Horak <hhorak@redhat.com>
36646         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36647         (xdr_mapname): Use YPMAXMAP as maxsize.
36648         (xdr_peername): Use YPMAXPEER as maxsize.
36649         (xdr_keydat): Use YPAXRECORD as maxsize.
36650         (xdr_valdat): Use YPMAXRECORD as maxsize.
36652 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36654         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36656         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36657         * csu/init-first.c: ... here.
36658         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36659         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36660         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36661         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36662         * sysdeps/i386/init-first.c: File removed.
36663         * sysdeps/sh/init-first.c: File removed.
36665 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
36667         [BZ #14645]
36668         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36669         if x * y might underflow to zero and z is zero.
36670         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36671         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36672         * math/libm-test.inc (min_subnorm_value): New variable.
36673         (fma_test): Add more tests.
36674         (fma_test_towardzero): Likewise.
36675         (fma_test_downward): Likewise
36676         (fma_test_upward): Likewise.
36677         (initialize): Set min_subnorm_value.
36679 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
36681         [BZ #14638]
36682         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36683         0 + 0.
36684         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36685         mode for addition resulting in exact zero.
36686         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36687         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36688         exact 0 + 0.
36689         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36690         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36691         * math/libm-test.inc (fma_test): Add more tests.
36692         (fma_test_towardzero): New function.
36693         (fma_test_downward): Likewise.
36694         (fma_test_upward): Likewise.
36695         (main): Call the new functions.
36697 2012-09-28  David S. Miller  <davem@davemloft.net>
36699         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36701 2012-09-28  Roland McGrath  <roland@hack.frob.com>
36703         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36704         instead of SIGALRM.
36706         * sysdeps/gnu/_G_config.h: Moved to ...
36707         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36708         * sysdeps/mach/hurd/_G_config.h: Moved to ...
36709         * sysdeps/generic/_G_config.h: ... here.
36711         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
36713         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36715         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36716         Conditionalize target on [libnss_test1.so-version].
36718         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36720         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36721         (elfobjdir): Move out of conditionals.
36723         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36724         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36725         (__nss_lookup_function): Conditionalize label remove_from_tree on
36726         [!DO_STATIC_NSS || SHARED], matching its only use.
36728 2012-09-28  David S. Miller  <davem@davemloft.net>
36730         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36731         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36732         file.
36733         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36734         sysdep_routines.
36735         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36736         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36737         when HWCAP_SPARC_CRYPTO is present.
36739 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36741         * io/tst-mknodat.c: Create a FIFO instead of a socket.
36743 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
36745         [BZ #6530]
36746         * stdio-common/vfprintf.c (process_string_arg): Revert
36747         2000-07-22 change.
36749 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
36751         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36752         for testcase.
36753         * stdio-common/tst-sprintf.c: Include <locale.h>
36754         (main): Test sprintf's handling of incomplete multibyte
36755         characters.
36757 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
36759         * elf/dl-runtime.c (VERSYMIDX): Removed.
36760         * elf/dl-version.c (VERSYMIDX): Likewise.
36761         * elf/do-rel.h (VERSYMIDX): Likewise.
36762         (VALIDX): Likewise.
36763         * elf/dynamic-link.h (VERSYMIDX): Likewise.
36764         * elf/rtld.c (VALIDX): Likewise.
36765         (ADDRIDX): Likewise.
36766         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36767         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36768         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36769         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36770         (VALIDX): Likewise.
36771         (ADDRIDX): Likewise.
36773 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36775         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36777 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
36779         [BZ #11438]
36780         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36781         to global scope.
36782         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36783         addresses are in the same scope as 192.0.2/24.
36784         * posix/gai.conf: Document new scope table defaults.
36786 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36788         [BZ #5298]
36789         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36790         for ftell.  Compute offsets from write pointers instead.
36791         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36793 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36795         [BZ #14543]
36796         * libio/Makefile (tests): New test case tst-fseek.
36797         * libio/tst-fseek.c: New test case to verify that fseek/ftell
36798         combination works in wide mode.
36799         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36800         state when the external buffer state changes.
36802 2012-09-27  David S. Miller  <davem@davemloft.net>
36804         [BZ #14376]
36805         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36806         pass reloc->r_addend in as the 'high' argument to
36807         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36811 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36813         * rt/tst-aio2.c: Include <pthread.h>.
36814         * rt/tst-aio3.c: Likewise.
36816 2012-09-27  Steve Ellcey  <sellcey@mips.com>
36818         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36820 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
36822         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36823         contents on [SHARED].
36825 2012-09-26  Marek Polacek  <polacek@redhat.com>
36827         [BZ #14530]
36828         [BZ #13741]
36829         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36830         for C++ and GCC <4.3 as well as for non GCC compilers.
36832 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36834         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36836 2012-09-25  Roland McGrath  <roland@hack.frob.com>
36838         * Makefile.in (all, install): Declare with .PHONY.
36839         Reported by Michael Hope <michael.hope@linaro.org>.
36841 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36843         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36844         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36845         system header.
36846         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36847         Likewise.
36848         (sydep_routines): Add the new and the internal functions.
36849         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36850         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36852         (GLIBC_2.17): Add the new function.
36853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36854         (GLIBC_2.17): Likewise.
36855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36856         (GLIBC_2.17): Likewise.
36857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36858         (GLIBC_2.17): Likewise.
36859         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36861 2012-09-25  Alan Modra  <amodra@gmail.com>
36863         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36864         Add release barrier before setting once_control to say
36865         initialisation is done.  Add hints on lwarx.  Use macro in
36866         place of isync.
36867         (clear_once_control): Add release barrier.
36869 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36871         [BZ #13629]
36872         * math/s_clog.c (__clog): Handle more values close to |z| = 1
36873         specially.
36874         * math/s_clog10.c (__clog10): Likewise.
36875         * math/s_clog10f.c (__clog10f): Likewise.
36876         * math/s_clog10l.c (__clog10l): Likewise.
36877         * math/s_clogf.c (__clogf): Likewise.
36878         * math/s_clogl.c (__clogl): Likewise.
36879         * math/Makefile (libm-calls): Add x2y2m1.
36880         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36881         (__x2y2m1): Likewise.
36882         (__x2y2m1l): Likewise.
36883         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36884         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36885         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36886         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36887         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36888         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36889         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36890         * sysdeps/i386/fpu/libm-test-ulps: Update.
36891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36893         [BZ #14621]
36894         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36895         int as type of variable DEPTH.
36896         (glob): Use size_t instead of int as type of variables NEWCOUNT
36897         and OLD_PATHC.
36899 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36901         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36902         Add s_sincosf-sse2.
36903         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36904         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36905         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36906         macros for using routine as __sincosf_ia32.
36907         Use macro for function declaration and weak_alias.
36908         * sysdeps/i386/fpu/libm-test-ulps: Update.
36910         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36913         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36914         subnormal argument.
36915         * math/s_cexpf.c (__cexpf): Likewise.
36916         * math/s_csinf.c (__csinf): Likewise.
36917         * math/s_csinhf.c (__csinhf): Likewise.
36918         * math/s_ctanf.c (__ctanf): Likewise.
36919         * math/s_ctanhf.c (__ctanhf): Likewise.
36920         * math/s_ccosh.c (__ccoshf): Likewise.
36921         * math/s_cexp.c (__cexpl): Likewise.
36922         * math/s_csin.c (__csin): Likewise.
36923         * math/s_csinh.c (__csinh): Likewise.
36924         * math/s_ctan.c (__ctan): Likewise.
36925         * math/s_ctanh.c (ctanh): Likewise.
36926         * math/s_ccoshl.c (__ccoshl): Likewise.
36927         * math/s_cexpl.c (__cexpl): Likewise.
36928         * math/s_csinl.c (__csinl): Likewise.
36929         * math/s_csinhl.c (__csinhl): Likewise.
36930         * math/s_ctanl.c (__ctanl): Likewise.
36931         * math/s_ctanhl.c (__ctanhl): Likewise.
36933 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36935         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36936         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36937         (_IO_off_t): Define to __off_t, not _G_off_t.
36938         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36939         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36940         (_IO_wint_t): Define to wint_t, not _G_wint_t.
36941         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36942         type of __dummy and __dummy2 fields.
36943         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36944         (_G_ssize_t): Likewise.
36945         (_G_off_t): Likewise.
36946         (_G_pid_t): Likewise.
36947         (_G_uid_t): Likewise.
36948         (_G_wchar_t): Likewise.
36949         (_G_wint_t): Likewise.
36950         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36951         (_G_ssize_t): Likewise.
36952         (_G_off_t): Likewise.
36953         (_G_pid_t): Likewise.
36954         (_G_uid_t): Likewise.
36955         (_G_wchar_t): Likewise.
36956         (_G_wint_t): Likewise.
36957         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36958         (_G_ssize_t): Likewise.
36959         (_G_off_t): Likewise.
36960         (_G_pid_t): Likewise.
36961         (_G_uid_t): Likewise.
36962         (_G_wchar_t): Likewise.
36963         (_G_wint_t): Likewise.
36965 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36967         * malloc/arena.c: Include malloc-sysdep.h.
36968         (shrink_heap): Use check_may_shrink_heap to decide if madvise
36969         is sufficient to shrink the heap or an unmap is needed.
36970         * sysdeps/generic/malloc-sysdep.h: New file.  Define
36971         new function check_may_shrink_heap.
36972         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
36973         new function check_may_shrink_heap.
36975 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36977         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36978         comments.
36980 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
36982         * catgets/test-gencat.sh: Add "set -e".
36983         * elf/tst-pathopt.sh: Likewise.
36984         * grp/tst_fgetgrent.sh: Likewise.
36985         * iconvdata/run-iconv-test.sh: Likewise.
36986         * intl/tst-gettext.sh: Likewise.
36987         * intl/tst-gettext2.sh: Likewise.
36988         * intl/tst-gettext4.sh: Likewise.
36989         * intl/tst-gettext6.sh: Likewise.
36990         * intl/tst-translit.sh: Likewise.
36991         * io/ftwtest-sh: Likewise.
36992         * libio/test-freopen.sh: Likewise.
36993         * malloc/tst-mtrace.sh: Likewise.
36994         * posix/globtest.sh: Likewise.
36995         * posix/tst-getconf.sh: Likewise.
36996         * posix/wordexp-tst.sh: Likewise.
36997         * stdio-common/tst-printf.sh: Likewise.
36998         * stdio-common/tst-unbputc.sh: Likewise.
36999         * stdlib/tst-fmtmsg.sh: Likewise.
37000         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37001         * catgets/Makefile: Do not specify -e option when running
37002         testsuite shell scripts.
37003         * elf/Makefile: Likewise.
37004         * grp/Makefile: Likewise.
37005         * iconvdata/Makefile: Likewise.
37006         * intl/Makefile: Likewise.
37007         * io/Makefile: Likewise.
37008         * libio/Makefile: Likewise.
37009         * malloc/Makefile: Likewise.
37010         * posix/Makefile: Likewise.
37011         * stdio-common/Makefile: Likewise.
37012         * stdlib/Makefile: Likewise.
37013         * sysdeps/x86_64/Makefile: Likewise.
37015         * io/ftwtest-sh: Add copyright header.
37016         * posix/globtest.sh: Likewise.
37017         * posix/tst-getconf.sh: Likewise.
37018         * posix/wordexp-tst.sh: Likewise.
37019         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37021 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
37023         [BZ #13679]
37024         * Makeconfig (+link): Defined as $(+link-static) if
37025         $(build-shared) isn't yes.
37026         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37027         isn't yes.
37028         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37030         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37032         [BZ #14562]
37033         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37034         new chunk size with MALLOC_ALIGN_MASK.
37036 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
37038         [BZ #5044]
37039         * stdio-common/printf_fphex.c: Include <stdbool.h> and
37040         <rounding-mode.h>.
37041         (__printf_fphex): Determine rounding using get_rounding_mode and
37042         round_away.
37043         * stdio-common/tst-printf-round.c (struct hex_test): New
37044         structure.
37045         (hex_tests): New variable.
37046         (test_hex_in_one_mode): New function.
37047         (do_test): Also run tests for hex float output.
37049 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
37051         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37052         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37053         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37054         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37055         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37056         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37057         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37058         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37060 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
37062         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37063         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37064         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37065         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37067 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
37069         [BZ #14579]
37070         * elf/rtld.c (dl_main): Limit the check for self loading to normal
37071         mode only.
37072         * elf/tst-rtld-load-self.sh: New test.
37073         * elf/Makefile: Run it.
37075 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
37077         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37078         (tst-writev-ENV): Remove.
37079         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37081 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
37083         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37085 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
37087         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37088         unconditional.
37089         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37090         Likewise.
37091         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37092         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37093         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37094         Likewise.
37096 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
37098         [BZ #14587]
37099         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37100         * config.make.in (have-cpp-asm-debuginfo): Removed.
37101         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37102         * configure: Regenerated.
37104 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
37106         [BZ #5044]
37107         * stdio-common/printf_fp.c: Include <stdbool.h> and
37108         <rounding-mode.h>.
37109         (___printf_fp): Determine rounding using get_rounding_mode and
37110         round_away.
37111         * stdio-common/tst-printf-round.c: New file.
37112         * stdio-common/Makefile (tests): Add tst-printf-round.
37113         (link-libm): New variable.
37114         ($(objpfx)tst-printf-round): Depend in $(link-libm).
37116 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
37118         [BZ #14576]
37119         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37120         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37121         Likewise.
37122         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37123         Likewise.
37125 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
37127         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37128         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37129         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37130         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37132 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
37134         [BZ #14518]
37135         * include/rounding-mode.h: New file.
37136         * sysdeps/generic/get-rounding-mode.h: Likewise.
37137         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37138         * stdlib/strtod_l.c: Include <rounding-mode.h>.
37139         (MAX_VALUE): New macro.
37140         (MIN_VALUE): Likewise.
37141         (overflow_value): New function.
37142         (underflow_value): Likewise.
37143         (round_and_return): Use overflow_value and underflow_value to
37144         determine return values in overflow and underflow cases.  Use
37145         round_away to determine rounding depending on rounding mode.
37146         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37147         determine return values in overflow and underflow cases.
37148         * stdlib/tst-strtod-round.c: Include <fenv.h>.
37149         (struct test_results): New structure.
37150         (struct test): Use struct test_results to store expected results
37151         for all rounding modes.
37152         (TEST): Include expected results for all rounding modes.
37153         (test_in_one_mode): New function.
37154         (do_test): Use test_in_one_mode to compute and check results.
37155         Check results for all rounding modes.
37156         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37157         $(link-libm).
37159 2012-12-09  Allan McRae  <allan@archlinux.org>
37161         * sysdeps/i386/fpu/libm-test-ulps: Update
37163 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
37165         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37166         (_G_int32_t): Likewise.
37167         (_G_uint16_t): Likewise.
37168         (_G_uint32_t): Likewise.
37169         (_G_HAVE_BOOL): Likewise.
37170         (_G_HAVE_ATEXIT): Likewise.
37171         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37172         (_G_HAVE_IO_FILE_OPEN): Likewise.
37173         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37174         (_G_int32_t): Likewise.
37175         (_G_uint16_t): Likewise.
37176         (_G_uint32_t): Likewise.
37177         (_G_HAVE_BOOL): Likewise.
37178         (_G_HAVE_ATEXIT): Likewise.
37179         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37180         (_G_HAVE_IO_FILE_OPEN): Likewise.
37181         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37182         (_G_int32_t): Likewise.
37183         (_G_uint16_t): Likewise.
37184         (_G_uint32_t): Likewise.
37185         (_G_HAVE_BOOL): Likewise.
37186         (_G_HAVE_ATEXIT): Likewise.
37187         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37188         (_G_HAVE_IO_FILE_OPEN): Likewise.
37190 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
37192         * csu/libc-tls.c: Update copyright years.
37194 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
37196         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37197         [!_G_USING_THUNKS]: Remove conditional code.
37198         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37199         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37201         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37202         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37203         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37204         (_G_VTABLE_LABEL_PREFIX): Likewise.
37205         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37206         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37207         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37208         (_G_VTABLE_LABEL_PREFIX): Likewise.
37209         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37210         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37211         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37212         (_G_VTABLE_LABEL_PREFIX): Likewise.
37213         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37215 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
37217         * libio/Makefile: Include ../Makeconfig before tests.
37218         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37219         only if $(build-shared) is yes.
37221         * iconv/gconv_db.c: Update copyright years.
37223 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37225         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37226         unwind info if defined PIC. Fix special cases description.
37227         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37229         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37230         DP_HI_MASK entry.
37231         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37233 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
37235         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37237         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37238         is NULL.
37240         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37241         (LDLIBS-tst-chk4): This.
37242         (LDFLAGS-tst-chk5): Renamed to ...
37243         (LDLIBS-tst-chk5): This.
37244         (LDFLAGS-tst-chk6): Renamed to ...
37245         (LDLIBS-tst-chk6): This.
37246         (LDFLAGS-tst-lfschk4): Renamed to ...
37247         (LDLIBS-tst-lfschk4): This.
37248         (LDFLAGS-tst-lfschk5): Renamed to ...
37249         (LDLIBS-tst-lfschk5): This.
37250         (LDFLAGS-tst-lfschk6): Renamed to ...
37251         (LDLIBS-tst-lfschk6): This.
37253         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37254         on $(common-objpfx)soversions.mk.
37256 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
37258         [BZ #10014]
37259         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37260         example host name.
37262 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37264         * malloc/arena.c (arena_get_retry): New function that gets
37265         another arena for the caller to try its request on.
37266         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37267         current arena cannot fulfill the request.
37268         (__libc_memalign): Likewise.
37269         (__libc_memalign): Likewise.
37270         (__libc_pvalloc): Likewise.
37271         (__libc_calloc): Likewise.
37273 2012-09-05  John Tobey  <john.tobey@gmail.com>
37275         [BZ #13542]
37276         * manual/arith.texi (Operations on Complex): Fix description
37277         of carg branch cut.
37279 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37281         [BZ #10014]
37282         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37283         host name.
37285         [BZ #10038]
37286         * manual/memory.texi (Memory): Make order of menu items match
37287         order of sections.
37289 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37291         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37292         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
37293         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37295 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37297         * csu/libc-tls.c (static_dtv): Renamed to ...
37298         (_dl_static_dtv): This.  Make it global.
37299         (_dl_initial_dtv): Removed.
37300         (__libc_setup_tls): Updated.
37301         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37302         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37303         DL_INITIAL_DTV.
37305 2012-09-06  Petr Machata  <pmachata@redhat.com>
37307         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37308         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37309         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37310         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37312 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37314         [BZ #14545]
37315         * csu/libc-tls.c (_dl_initial_dtv): New variable.
37316         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37317         freeing dtv[-1].
37319 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37321         [BZ #14544]
37322         * Makeconfig (link-static-before-libc): Replace $(+prector)
37323         with $(+prectorT).
37324         (link-static-after-libc): Replace $(+postctor) with
37325         $(+postctorT).
37326         (link-bounded): Replace $(+prector)/$(+postctor) with
37327         $(+prectorT)/$(+postctorT).
37328         (+prectorT): New macro.
37329         (+postctorT): Likewise.
37331 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37333         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37334         (round_str): Handle values above the maximum for IBM long double
37335         as inexact.
37336         * stdlib/tst-strtod-round.c (tests): Regenerated.
37338 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37340         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37341         assembler flag.
37342         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37343         zarch_nohighgprs around the zarch optimized routines.
37344         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37345         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37346         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37347         for zarch.
37349 2012-09-05  David S. Miller  <davem@davemloft.net>
37351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37353         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37354         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37355         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37356         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37357         entries.
37359 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37361         * malloc/arena.c: Fold copyright years.
37362         * malloc/mcheck.c, malloc/memusage.c: Likewise.
37364 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37366         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37368 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37370         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
37372 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37374         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37375         change internal state upon failure.
37377 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37379         * malloc/mcheck.c (mcheck_check_all): Fix typo.
37380         * malloc/memusage.c (mmap): Likewise.
37381         (mmap64, mremap): Likewise.  Adjust name in comment.
37383 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37385         * libio/fileops.c: Fix typos in comments.
37386         * libio/oldfileops.c: Likewise.
37387         * libio/wfileops.c: Likewise.
37389 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37391         [BZ #1349]
37392         * malloc/Makefile (tests): Add tst-malloc-usable test case.
37393         (tst-malloc-usable-ENV): Set environment for test case.
37394         * malloc/hooks.c (malloc_check_get_size): New function to get
37395         requested size.
37396         * malloc/malloc.c (musable): Use malloc_check_get_size.
37397         * malloc/tst-malloc-usable.c: New test case.
37399 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37401         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37403 2012-09-05  Allan McRae  <allan@archlinux.org>
37405         [BZ #13966]
37406         * configure.in (CXX_SYSINCLUDES): Use compiler output to
37407         determine header location.
37408         * configure: Regenerated.
37410 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37412         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37413         float format.
37414         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37415         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37416         format.
37417         (test): Regenerate.
37419 2012-09-04  David S. Miller  <davem@davemloft.net>
37421         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37422         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37423         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37425 2012-09-04  Florian Weimer  <fweimer@redhat.com>
37427         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37428         failures.
37430         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37432 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
37434         [BZ #9914]
37435         * libio/iogetdelim.c: Include <limits.h>.
37436         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37437         + len + 1 would overflow.
37439 2012-09-03  Andreas Jaeger  <aj@suse.de>
37441         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37442         * sysdeps/i386/fpu/libm-test-ulps: Update.
37444 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37446         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37447         Add s_sinf-sse2, s_conf-sse2.
37449         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37450         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37451         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37452         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37454         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37455         for using routine as __sinf_ia32.
37456         Use macro for function declaration and weak_alias.
37457         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37458         for using routine as __cosf_ia32.
37459         Use macro for function declaration and weak_alias.
37461         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37462         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37464         * sysdeps/x86_64/fpu/s_sinf.S: New file.
37465         * sysdeps/x86_64/fpu/s_cosf.S: New file.
37466         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37468         * math/libm-test.inc (cos_test): Add more test cases.
37469         (sin_test): Likewise.
37470         (sincos_test): Likewise.
37472 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37474         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37475         (IFUNC_RESOLVE): Make pointers to the specialized implementations
37476         hidden.
37477         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37479 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
37481         [BZ #14538]
37482         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37483         first element of the GOT.
37484         (elf_machine_load_address): Return the difference between
37485         the runtime address of _DYNAMIC and elf_machine_dynamic ().
37487 2012-09-01  Allan McRae  <allan@archlinux.org>
37489         [BZ #13412]
37490         * configure.in (AWK): Require gawk version 3.0 or later.
37491         * configure: Regenerated.
37493 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
37495         * sysdeps/unix/sysv/linux/kernel-features.h
37496         (__ASSUME_POSIX_CPU_TIMERS): Remove.
37497         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37498         [__NR_clock_getres]: Make code unconditional.
37499         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37500         (clock_getcpuclockid): Remove code left unreachable by removal of
37501         conditionals.
37502         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37503         code unconditional.
37504         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37505         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37506         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37507         Make code unconditional.
37508         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37509         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37510         * sysdeps/unix/sysv/linux/clock_settime.c
37511         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37512         conditional code.
37513         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37514         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37516 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
37518         [BZ #14476]
37519         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37520         scripts/test-installation.pl.
37522         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37523         and $ld_so_version if it is set.
37525 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37527         [BZ #14516]
37528         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37529         failure if reading from procfs failed.
37530         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37532 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37534         * sysdeps/unix/sysv/linux/kernel-features.h
37535         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37536         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37537         Remove conditional code.
37538         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37539         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37540         Remove conditional code.
37541         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37542         * sysdeps/unix/sysv/linux/i386/fxstat.c
37543         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37544         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37545         * sysdeps/unix/sysv/linux/i386/fxstatat.c
37546         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37547         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37548         * sysdeps/unix/sysv/linux/i386/lxstat.c
37549         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37550         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37551         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37552         Remove conditional code.
37553         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37554         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37555         Remove conditional code.
37556         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37557         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37558         <kernel-features.h>.
37559         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37560         Remove.
37561         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37562         Remove conditional code.
37563         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37564         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37565         Remove conditional.
37567 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
37569         [BZ #5400]
37570         * NEWS: Add fixed bug number.
37572 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37574         [BZ #14519]
37575         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37576         underflowing exponent in case of negative sign.
37577         * stdlib/tst-strtod-round-data: Add more tests.
37578         * stdlib/tst-strtod-round.c (tests): Regenerated.
37580         [BZ #3479]
37581         * stdlib/strtod_l.c (NDIG): Remove.
37582         (HEXNDIG): Likewise.
37583         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37584         smallest representable value.
37585         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37586         lie within an exact representation of 1/2 ulp of the result.
37587         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37588         unconditionally.
37589         (TENS_P9_IDX): Define unconditionally.
37590         (TENS_P9_SIZE): Likewise.
37591         (TENS_P10_IDX): Likewise.
37592         (TENS_P10_SIZE): Likewise.
37593         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37594         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37595         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37596         entries for 10^2^13 and 10^2^14.
37597         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37598         (TENS_P13_IDX): Define.
37599         (TENS_P13_SIZE): Likewise.
37600         (TENS_P14_IDX): Likewise.
37601         (TENS_P14_SIZE): Likewise.
37602         (_fpioconst_pow10): Change array size to
37603         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
37604         unconditional.
37605         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37606         1024]: Add entries for 10^2^13 and 10^2^14.
37607         [LAST_POW10 > _LAST_POW10]: Remove #error.
37608         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37609         (_fpioconst_pow10): Change array size to
37610         FPIOCONST_POW10_ARRAY_SIZE.
37611         * stdlib/gen-fpioconst.c: New file.
37612         * stdlib/gen-tst-strtod-round.c: Likewise.
37613         * stdlib/tst-strtod-round-data: Likewise.
37614         * stdlib/tst-strtod-round.c: Likewise.
37615         * stdlib/Makefile (tests): Add tst-strtod-round.
37617         [BZ #14459]
37618         * stdlib/strtod_l.c: Include <stdint.h>.
37619         (NDEBUG): Do not define.
37620         (round_and_return): Change EXPONENT parameter to type intmax_t.
37621         Rearrange calculations to avoid internal overflow possibilities.
37622         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37623         Rearrange calculations to avoid internal overflow possibilities.
37624         Assert that number fits inside MPNSIZE limbs.
37625         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37626         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
37627         calculations and add assertions to avoid internal overflow
37628         possibilities.  Add casts to avoid signed/unsigned operations.
37629         * stdlib/tst-strtod-overflow.c: New file.
37630         * stdlib/Makefile (tests): Add tst-strtod-overflow.
37632 2012-08-25  Marek Polacek  <polacek@redhat.com>
37634         * time/time.h: Fix some typos in comments.
37636 2012-08-23  Roland McGrath  <roland@hack.frob.com>
37638         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37639         * posix/tst-rfc3484-2.c: Likewise.
37640         * posix/tst-rfc3484-3.c: Likewise.
37642 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
37644         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37645         (EF_ARM_ABI_FLOAT_HARD): Likewise.
37647 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
37649         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37650         #include of fxstatat64.c.
37652 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37654         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37655         * shadow/getspent_r.c: Likewise.
37656         * shadow/getspnam.c: Likewise.
37657         * shadow/getspnam_r.c: Likewise.
37658         * gshadow/getsgent.c: Likewise.
37659         * gshadow/getsgent_r.c: Likewise.
37660         * gshadow/getsgnam.c: Likewise.
37661         * gshadow/getsgnam_r.c: Likewise.
37662         * inet/getnetbyad.c: Likewise.
37663         * inet/getnetbyad_r.c: Likewise.
37664         * inet/getnetbynm.c: Likewise.
37665         * inet/getnetbynm_r.c: Likewise.
37666         * inet/getnetent.c: Likewise.
37667         * inet/getnetent_r.c: Likewise.
37668         * inet/getproto.c: Likewise.
37669         * inet/getproto_r.c: Likewise.
37670         * inet/getprtent.c: Likewise.
37671         * inet/getprtent_r.c: Likewise.
37672         * inet/getprtname.c: Likewise.
37673         * inet/getprtname_r.c: Likewise.
37674         * inet/getrpcbyname.c: Likewise.
37675         * inet/getrpcbyname_r.c: Likewise.
37676         * inet/getrpcbynumber.c: Likewise.
37677         * inet/getrpcbynumber_r.c: Likewise.
37678         * inet/getrpcent.c: Likewise.
37679         * inet/getrpcent_r.c: Likewise.
37680         * inet/getaliasent.c: Likewise.
37681         * inet/getaliasent_r.c: Likewise.
37682         * inet/getaliasname.c: Likewise.
37683         * inet/getaliasname_r.c: Likewise.
37684         * nscd/getgrgid_r.c: Likewise.
37685         * nscd/getgrnam_r.c: Likewise.
37686         * nscd/gethstbyad_r.c: Likewise.
37687         * nscd/gethstbynm3_r.c: Likewise.
37688         * nscd/getpwnam_r.c: Likewise.
37689         * nscd/getpwuid_r.c: Likewise.
37690         * nscd/getsrvbynm_r.c: Likewise.
37691         * nscd/getsrvbypt_r.c: Likewise.
37692         * nscd/gai.c: Likewise.
37694         * configure.in (build_nscd): New substituted variable, set
37695         by --disable-build-nscd and defaults to $use_nscd.
37696         * configure: Regenerated.
37697         * config.make.in (build-nscd): New substituted variable.
37698         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37699         Change conditional to require [$(build-nscd) = yes] as well.
37700         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37702         [BZ# 13696]
37703         * configure.in (use_nscd): New substituted variable, set by
37704         --disable-nscd.  If enabled, define USE_NSCD.
37705         * configure: Regenerated.
37706         * config.h.in: Add USE_NSCD.
37707         * config.make.in (use-nscd): New substituted variable.
37708         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37709         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37710         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37711         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37712         (CFLAGS-getgrnam_r.c): Likewise.
37713         (CFLAGS-initgroups.c): Likewise.
37714         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37715         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37716         Variables removed.
37717         * inet/getnetgrent_r.c
37718         (nscd_setnetgrent): New function, broken out of ...
37719         (setnetgrent): ... here.  Call it.
37720         (innetgr): Conditionalize nscd bits on [USE_NSCD].
37721         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37722         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37723         * nscd/Makefile (routines, aux): Move definitions after include of
37724         Makeconfig.  Conditionalize on [$(use-nscd) != no].
37725         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37726         Conditionalize on [USE_NSCD].
37727         (is_nscd, nscd_init_cb): Likewise.
37728         (nss_load_library): Conditionalize init callback on [USE_NSCD].
37729         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37730         * nss/nss_db/db-init.c: Likewise.
37731         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37732         [USE_NSCD].
37733         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37734         (make_request): Use it.
37735         (cache_valid_p): New function.
37736         (__check_pf): Use it.
37737         * NEWS: Add item for --disable-nscd.
37739 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
37741         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37742         to support sed >= 4.2.1-20-ga9bf076.
37743         * configure: Regenerated.
37745 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37747         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37748         Conditionalize whole body on [IREL].
37750 2012-08-22  Jeff Law <law@redhat.com>
37752         [BZ #14505]
37753         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37754         if the family is PF_UNSPEC.
37756 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
37758         * Makerules (lib-version): Rename from V.
37759         (install-lib-nosubdir): Change V to lib-version.
37761 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
37763         [BZ #14252]
37764         * powerpc32/power6/wcschr.c: New file.
37765         * powerpc32/power6/wcscpy.c: New file.
37766         * powerpc32/power6/wcsrchr.c: New file.
37767         * powerpc64/power6/wcschr.c: New file.
37768         * powerpc64/power6/wcscpy.c: New file.
37769         * powerpc64/power6/wcsrchr.c: New file.
37771 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37773         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37774         (two_way_short_needle): Use it.
37775         * string/strstr.c (AVAILABLE1_USES_J): Define.
37776         * string/strcasestr.c: Likewise.
37778         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37779         array references.
37780         * string/strcasestr.c (TOLOWER): Make side-effect safe.
37782         [BZ #11607]
37783         * NEWS: Add an entry.
37784         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37785         define their defaults.
37786         (two_way_short_needle): Detect end-of-string on-the-fly.
37787         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37788         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37789         * string/bug-strcasestr1.c: New test.
37790         * string/Makefile: Run it.
37792 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37794         [BZ #11607]
37795         * string/str-two-way.h (two_way_short_needle): Optimize matching of
37796         the first character.
37798 2012-08-21  Roland McGrath  <roland@hack.frob.com>
37800         * csu/elf-init.c (__libc_csu_irel): Function removed.
37801         * csu/libc-start.c (apply_irel): New function.
37802         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37804 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
37806         * sysdeps/unix/sysv/linux/kernel-features.h
37807         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37808         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37809         <kernel-features.h>.
37810         [__NR_fadvise64_64]: Make code unconditional.
37811         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37812         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37813         !__NR_fadvise64_64)]: Likewise.
37814         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37815         !__NR_fadvise64_64))]: Likewise.
37816         [__NR_fadvise64]: Make code unconditional.
37817         [!__NR_fadvise64]: Remove conditional code.
37818         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37819         <kernel-features.h>.
37820         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37821         unconditional.
37822         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37823         conditional code.
37824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37825         not include <kernel-features.h>.
37826         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37827         unconditional.
37828         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37829         conditional code.
37830         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37831         include <kernel-features.h>.
37832         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37833         unconditional.
37834         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37835         conditional code.
37837 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
37839         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37840         slight instruction rearrangements per scrollpipe analysis.
37841         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37843 2012-08-20  Roland McGrath  <roland@hack.frob.com>
37845         * manual/syslog.texi (syslog; vsyslog, closelog):
37846         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37847         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37849         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37850         DSOCAPS to match condition on defining it.
37852 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
37854         * sysdeps/unix/sysv/linux/kernel-features.h
37855         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37857         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37858         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37860         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37861         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37863         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37864         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37866         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37867         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37869         * sysdeps/unix/sysv/linux/kernel-features.h
37870         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37871         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37872         unconditional.
37873         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37874         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37875         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37876         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37877         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37878         Make code unconditional.
37879         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37880         (__mmap64) [!__NR_mmap2]: Likewise.
37881         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37882         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37883         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37884         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37885         [__NR_mmap2]: Make code unconditional.
37886         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37887         (__mmap64) [!__NR_mmap2]: Likewise.
37889 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37891         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37893 2012-08-18  Andreas Jaeger  <aj@suse.de>
37895         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37897 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37899         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37900         * include/unistd.h (__have_sock_cloexec): Likewise.
37901         (__have_pipe2): Likewise.
37902         (__have_dup3): Likewise.
37904 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37906         [BZ #9685]
37907         * include/unistd.h (__have_pipe2): Change define into an extern int.
37908         (__have_dup3): Likewise.
37909         * socket/have_sock_cloexec.c: Include fcntl.h.
37910         (__have_pipe2): New variable.
37911         (__have_dup3): Likewise.
37913 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
37915         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37917 2012-08-17  Marek Polacek  <polacek@redhat.com>
37919         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37920         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37922 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37924         * configure.in: Add AC_SUBST for sysheaders.
37925         * configure: Regenerated.
37926         * config.make.in (sysheaders): New substituted variable.
37928         * sysdeps/unix/mkfifo.c: Moved ...
37929         * sysdeps/posix/mkfifo.c: ... here.
37930         * sysdeps/unix/mkfifoat.c: Moved ...
37931         * sysdeps/posix/mkfifoat.c: ... here.
37933         * sysdeps/unix/utime.c: Moved ...
37934         * sysdeps/posix/utime.c: ... here.
37936         * sysdeps/unix/time.c: Moved ...
37937         * sysdeps/posix/time.c: ... here.
37938         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37939         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37941         * sysdeps/unix/nice.c: Moved ...
37942         * sysdeps/posix/nice.c: ... here.
37944         * sysdeps/unix/alarm.c: Moved ...
37945         * sysdeps/posix/alarm.c: ... here.
37947         * intl/Makefile ($(codeset_mo)): Depend on the input file.
37949 2012-08-17  Jeff Law <law@redhat.com>
37951         * intl/Makefile (codeset_mo): New variable.
37952         ($(codeset_mo)): New target.
37953         (tst-codeset.out): Depend on that.  Remove explicit rule.
37954         (tst-gettext3.out, tst-gettext5.out): Likewise.
37955         (LOCPATH-ENV, tst-codeset-ENV): New variables.
37956         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37957         * intl/tst-codeset.sh: Remove.
37958         * intl/tst-gettext3.sh: Likewise.
37959         * intl/tst-gettext5.sh: Likewise.
37961 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37963         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
37964         * sysdeps/unix/syscalls.list: ... here.
37966         * sysdeps/posix/getaddrinfo.c
37967         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37968         (gaiconf_init, gaiconf_reload): Use them.
37969         [!_STATBUF_ST_NSEC]
37970         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37971         Define using time_t rather than struct timespec.
37973         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37974         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37975         Macros removed.
37976         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37977         [!NO_THREADS].
37978         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37979         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37980         Likewise.
37982         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37983         __libc_cleanup_push argument.
37985         * bits/param.h: New file.
37986         * misc/sys/param.h: New file.
37987         * include/sys/param.h: New file.
37988         * misc/Makefile (headers): Add bits/param.h.
37989         * sysdeps/generic/sys/param.h: File removed.
37990         * sysdeps/unix/sysv/linux/bits/param.h: New file.
37991         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37992         * sysdeps/mach/hurd/bits/param.h: New file.
37993         * sysdeps/mach/hurd/sys/param.h: File removed.
37995         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37996         last change.
37998         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37999         [_IO_MTSAFE_IO].
38000         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38001         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38002         New macros.
38004         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38005         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38006         rather than -D_IO_MTSAFE_IO conditionally.
38007         * stdio-common/Makefile (CPPFLAGS): Likewise.
38008         * wcsmbs/Makefile (CPPFLAGS): Likewise.
38009         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38010         Use $(libio-mtsafe).
38011         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38012         of -D_IO_MTSAFE_IO.
38013         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38014         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38015         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38016         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38017         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38018         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38019         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38020         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38021         (CFLAGS-fread_u_chk.c): Likewise.
38022         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38023         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38024         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38025         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38026         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38027         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38028         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38029         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38030         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38032         * libio/Makefile: Test [$(libc-reentrant) = yes]
38033         instead of [$(filter %REENTRANT, $(defines)) nonempty].
38035         * Makeconfig
38036         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38037         * sysdeps/pthread/configure: File removed.
38038         * sysdeps/pthread/Makeconfig: New file.
38039         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38040         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38042 2012-08-16  Gary Benson  <gbenson@redhat.com>
38044         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38045         unmapping the first object in a namespace.
38047 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38049         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38050         (__internal_setnetgrent): ... this.  Add internal_function to
38051         definition.  Add libc_hidden_def.
38052         (setnetgrent): Update caller.
38053         (internal_endnetgrent): Renamed to ...
38054         (__internal_endnetgrent): ... this.  Add internal_function to
38055         definition.  Add libc_hidden_def.
38056         (endnetgrent): Update caller.
38057         (internal_getnetgrent_r): Renamed to ...
38058         (__internal_getnetgrent_r): ... this.  Add internal_function to
38059         definition.  Add libc_hidden_def.
38060         (__getnetgrent_r): Update caller.
38061         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
38063 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38065         * stdlib/longlong.h: Update from GCC.
38067 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38069         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38070         on _QL, which is set by umul_ppmm but never used.
38071         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38072         variables, which are set by GMP macros but never used.
38073         * stdio-common/_itowa.c (_itowa): Likewise.
38074         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38075         * stdlib/mod_1.c (mpn_mod_1): Likewise.
38077 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
38079         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38080         struct La_sh_regs is not constant.
38081         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38082         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38083         and struct La_sparc64_regs are not constant.
38085 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38087         * sysdeps/unix/sysv/linux/kernel-features.h
38088         (__ASSUME_POSIX_TIMERS): Remove.
38089         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38090         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38091         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38092         Make code unconditional.
38093         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38094         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38095         Make code unconditional.
38096         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38097         * sysdeps/unix/sysv/linux/clock_nanosleep.c
38098         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38099         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38100         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38101         Make code unconditional.
38102         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38103         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38104         (__libc_missing_posix_timers): Remove.
38106 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38108         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38109         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38111         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38113         * elf/dl-sym.c: Include <stdlib.h>.
38115         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38116         constants, which avoids warnings in 32-bit builds.
38118         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38119         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38121         * misc/lseek.c: File moved to ...
38122         * io/lseek.c: ... here.
38124         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38126         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38127         shifting LEN more than 31 bits at once.
38129 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38131         [BZ #14195]
38132         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38133         segmentation fault for a case of two empty input strings.
38134         * string/test-strncasecmp.c (check1): Renamed to...
38135         (bz12205): ...this.
38136         (bz14195): Add new testcase for two empty input strings and N > 0.
38137         (test_main): Call new testcase, adapt for renamed function.
38139 2012-08-15  Andreas Jaeger  <aj@suse.de>
38141         [BZ #14090]
38142         * crypt/md5test2.c: New test, based on test supplied by Serge
38143         Belyshev <belyshev@depni.sinp.msu.ru>.
38144         * crypt/Makefile (xtests): Add md5test-giant..
38145         * crypt/Makefile ($(objpfx)md5test-giant): Add.
38147 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
38149         [BZ #14090]
38150         * crypt/md5.c (md5_process_block): Don't assume the buffer
38151         length is less than 2**32.
38152         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38153         length is less than 2**64.
38155 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38157         * string/str-two-way.h: Include <sys/param.h>.
38158         (MAX): Macro removed.
38160         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38161         Move #define and #undef of memmove to just before and after
38162         including <string.h>.
38164         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38165         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38166         and after including <string.h>.  Move declarations of
38167         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38168         to before #include "string/memmove.c".
38170         * include/dirent.h: Declare __getdirentries.
38172         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38173         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38175 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
38177         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38178         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38179         * sysdeps/i386/configure: Regenerated.
38180         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38181         STABS_CURRENT_FILE, and STABS_FUN.
38182         (END): Remove call to STABS_FUN_END.
38183         (STABS_CURRENT_FILE1): Delete.
38184         (STABS_CURRENT_FILE): Likewise.
38185         (STABS_FUN): Likewise.
38186         (STABS_FUN_END): Likewise.
38187         (STABS_FUN2): Likewise.
38188         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38189         * sysdeps/x86_64/configure: Regenerated.
38191 2012-08-14  Roland McGrath  <roland@hack.frob.com>
38193         * elf/dl-open.c: Include <atomic.h>.
38194         * elf/dl-lookup.c: Likewise.
38196 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
38198         * sysdeps/unix/sysv/linux/kernel-features.h
38199         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38200         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38201         unconditionally.
38202         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38203         unconditionally.
38204         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38205         condition on __ASSUME_CLONE_THREAD_FLAGS.
38207 2012-08-14  Andreas Jaeger  <aj@suse.de>
38209         * sysdeps/i386/fpu/libm-test-ulps: Update.
38211 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
38213         * include/atomic.h (atomic_exchange_and_add): Split into ...
38214         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38215         New atomic macros.
38217 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
38219         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38221 2012-08-13  Jeff Law <law@redhat.com>
38223         * manual/stdio.texi (snprintf): Clarify handling of the trailing
38224         null byte in the output string.
38226 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
38228         * sysdeps/unix/sysv/linux/kernel-features.h
38229         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38230         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38231         (__ASSUME_ARG_MAX_STACK_BASED): Define.
38232         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38233         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38234         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
38235         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38237 2012-08-09  Jeff Law <law@redhat.com>
38239         [BZ #13939]
38240         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38241         When avoid_arena is set, don't retry in the that arena.  Pick the
38242         next one, whatever it might be.
38243         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38244         (arena_lock): Pass in new parameter to arena_get2.
38245         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38246         arena_get2.
38247         (__libc_malloc): Unify retrying after main arena failure with
38248         __libc_memalign version.
38249         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38251 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
38253         [BZ #14166]
38254         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38255         to __redirect_strstr.
38256         (__strstr_sse42): Use typeof __redirect_strstr.
38257         (__strstr_ia32): Likewise.
38258         (__libc_strstr): New prototype.
38259         (strstr): Renamed to ...
38260         (__libc_strstr): This.
38261         (strstr): New strong alias of __libc_strstr.
38262         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38263         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38264         __redirect_time.
38265         Include <time.h>.
38266         (__libc_time): New prototype.
38267         (time_ifunc): Replace time with __libc_time.
38268         (time): New strong alias and hidden definition of __libc_time.
38269         (__GI_time): Remove strong alias.
38270         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38271         Include <stddef.h>.
38272         (memmove): Redefined to __redirect_memmove.
38273         (__memmove_sse2): Use typeof __redirect_memmove.
38274         (__memmove_ssse3): Likewise.
38275         (__memmove_ssse3_back): Likewise.
38276         (__libc_memmove): New prototype.
38277         (memmove): Renamed to ...
38278         (__libc_memmove): This.
38279         (memmove): New strong alias of __libc_memmove.
38281 2012-08-08  Mark Salter  <msalter@redhat.com>
38283         * elf/elf.h
38284         (R_MN10300_TLS_GD): Define.
38285         (R_MN10300_TLS_LD): Likewise.
38286         (R_MN10300_TLS_LDO): Likewise.
38287         (R_MN10300_TLS_GOTIE): Likewise.
38288         (R_MN10300_TLS_IE): Likewise.
38289         (R_MN10300_TLS_LE): Likewise.
38290         (R_MN10300_TLS_DTPMOD): Likewise.
38291         (R_MN10300_TLS_DTPOFF): Likewise.
38292         (R_MN10300_TLS_TPOFF): Likewise.
38293         (R_MN10300_SYM_DIFF): Likewise.
38294         (R_MN10300_ALIGN): Likewise.
38295         (R_MN10300_NUM): Update.
38297 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
38299         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38300         Remove.
38302 2012-08-08  Roland McGrath  <roland@hack.frob.com>
38304         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38306         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38307         sysdeps/unix -> sysdeps/posix move.
38308         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38310 2012-08-07      Allan McRae     <allan@archlinux.org>
38312         [BZ #14303]
38313         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38314         (SUNOS_CPP): Likewise.
38315         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38316         not found.
38317         (open_input): Call CPP using execvp.
38319 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38321         * sysdeps/unix/sysv/linux/kernel-features.h
38322         (__ASSUME_PROT_GROWSUPDOWN): Remove.
38323         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38324         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38325         (__ASSUME_WAITID_SYSCALL): Likewise.
38326         * sysdeps/unix/sysv/linux/dl-execstack.c
38327         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38328         code unconditional.
38329         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38330         conditional code.
38331         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38332         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38333         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38334         code.
38335         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38336         unconditional.
38337         [__ASSUME_WAITID_SYSCALL]: Likewise.
38338         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38340 2012-08-07  Roland McGrath  <roland@hack.frob.com>
38342         * sysdeps/unix/closedir.c: Renamed to ...
38343         * sysdeps/posix/closedir.c: ... here.
38344         * sysdeps/unix/dirfd.c: Renamed to ...
38345         * sysdeps/posix/dirfd.c: ... here.
38346         * sysdeps/unix/dirstream.h: Renamed to ...
38347         * sysdeps/posix/dirstream.h: ... here.
38348         * sysdeps/unix/fdopendir.c: Renamed to ...
38349         * sysdeps/posix/fdopendir.c: ... here.
38350         * sysdeps/unix/opendir.c: Renamed to ...
38351         * sysdeps/posix/opendir.c: ... here.
38352         * sysdeps/unix/readdir.c: Renamed to ...
38353         * sysdeps/posix/readdir.c: ... here.
38354         * sysdeps/unix/readdir_r.c: Renamed to ...
38355         * sysdeps/posix/readdir_r.c: ... here.
38356         * sysdeps/unix/rewinddir.c: Renamed to ...
38357         * sysdeps/posix/rewinddir.c: ... here.
38358         * sysdeps/unix/seekdir.c: Renamed to ...
38359         * sysdeps/posix/seekdir.c: ... here.
38360         * sysdeps/unix/telldir.c: Renamed to ...
38361         * sysdeps/posix/telldir.c: ... here.
38362         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38363         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38364         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38365         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38367         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38368         * bits/fcntl.h: ... here.
38370         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38371         not 0.
38372         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38373         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38374         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38375         (struct flock): Move l_start, l_len to the beginning.
38376         Use __pid_t for l_pid.
38377         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38378         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38379         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38380         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38381         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38382         [__USE_LARGEFILE64] (struct flock64): New type.
38383         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38385         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38386         * bits/dirent.h: ... here.
38388         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38389         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38391 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38393         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38394         Change from 2.6.0 to 2.6.16.
38395         * sysdeps/unix/sysv/linux/configure: Regenerated.
38396         * sysdeps/unix/sysv/linux/kernel-features.h
38397         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38398         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38399         version.
38400         (__ASSUME_UTIMES): Likewise.
38401         (__ASSUME_CLONE_STOPPED): Remove.
38402         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38403         architectures, not kernel version.
38404         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38405         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38406         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38407         (__ASSUME_WAITID_SYSCALL): Likewise.
38408         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38409         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38410         * README: State 2.6.16 as minimum Linux kernel version.  Do not
38411         refer to older versions.
38413 2012-08-06  Roland McGrath  <roland@hack.frob.com>
38415         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38416         Define alphasort64 as an alias.
38417         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38418         Define versionsort64 as an alias.
38419         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38420         Define scandir64 as an alias.
38421         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38422         Define scandirat64 as an alias.
38423         * dirent/alphasort64.c (alphasort64):
38424         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38425         * dirent/versionsort64.c: Likewise.
38426         * dirent/scandir64.c: Likewise.
38427         * dirent/scandirat64.c: Likewise.
38428         * sysdeps/wordsize-64/alphasort.c: File removed.
38429         * sysdeps/wordsize-64/alphasort64.c: File removed.
38430         * sysdeps/wordsize-64/scandir.c: File removed.
38431         * sysdeps/wordsize-64/scandir64.c: File removed.
38432         * sysdeps/wordsize-64/scandirat.c: File removed.
38433         * sysdeps/wordsize-64/scandirat64.c: File removed.
38434         * sysdeps/wordsize-64/versionsort.c: File removed.
38435         * sysdeps/wordsize-64/versionsort64.c: File removed.
38436         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38437         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38438         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38439         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38440         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38441         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38442         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38443         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38445         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38446         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38447         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38448         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38449         [defined __arch64__ || defined __sparcv9]
38450         (__INO_T_MATCHES_INO64_T): New macro.
38451         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38452         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38453         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38454         * sysdeps/unix/sysv/linux/bits/dirent.h
38455         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38456         (_DIRENT_MATCHES_DIRENT64): New macro.
38458         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38459         Define lockf64 as an alias.
38460         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38461         Define fseeko64 as an alias.
38462         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38463         Define ftello64 as an alias.
38464         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38465         Define _IO_fgetpos64 and fgetpos64 as aliases.
38466         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38467         Define _IO_fsetpos64 and fsetpos64 as aliases.
38468         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38469         Conditionalize body on this.
38470         * libio/fseeko64.c: Likewise.
38471         * libio/ftello64.c: Likewise.
38472         * libio/iofgetpos64.c: Likewise.
38473         * libio/iofsetpos64.c: Likewise.
38474         * sysdeps/wordsize-64/lockf.c: File removed.
38475         * sysdeps/wordsize-64/lockf64.c: File removed.
38476         * sysdeps/wordsize-64/fseeko.c: File removed.
38477         * sysdeps/wordsize-64/fseeko64.c: File removed.
38478         * sysdeps/wordsize-64/ftello.c: File removed.
38479         * sysdeps/wordsize-64/ftello64.c: File removed.
38480         * sysdeps/wordsize-64/iofgetpos.c: File removed.
38481         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38482         * sysdeps/wordsize-64/iofsetpos.c: File removed.
38483         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38484         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38485         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38486         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38487         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38488         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38489         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38490         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38491         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38492         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38493         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38495         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38496         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38497         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38498         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38499         [defined __arch64__ || defined __sparcv9]
38500         (__OFF_T_MATCHES_OFF64_T): New macro.
38501         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38502         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38503         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38504         (__OFF_T_MATCHES_OFF64_T): New macro.
38506 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38508         * stdlib/secure-getenv.c (__secure_getenv): Replace
38509         GLIBC_2_16 with GLIBC_2_17.
38511 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38513         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38514         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38516 2012-08-03  David S. Miller  <davem@davemloft.net>
38518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38520 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38522         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38523         Remove.
38524         (__ASSUME_CORRECT_SI_PID): Likewise.
38525         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38526         (__ASSUME_TMPFS_NAME): Likewise.
38527         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38528         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38529         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38530         (HAVE_AUX_SECURE): Make definition unconditional.
38531         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38532         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38534 2012-08-03  Roland McGrath  <roland@hack.frob.com>
38536         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38537         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38538         * sysdeps/mach/hurd/eloop-threshold.h: New file.
38539         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38540         __eloop_threshold instead of SYMLOOP_MAX.
38542         * sysdeps/generic/eloop-threshold.h: New file.
38543         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38544         of MAXSYMLINKS.
38545         * elf/chroot_canon.c (chroot_canon): Likewise.
38547 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38549         [BZ #13717]
38550         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38551         Change to 2.6.0 everywhere.
38552         * sysdeps/unix/sysv/linux/configure: Regenerated.
38553         * sysdeps/unix/sysv/linux/kernel-features.h
38554         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38555         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38556         kernel versions.
38557         (__ASSUME_POSIX_TIMERS): Define unconditionally.
38558         (__ASSUME_FUTEX_REQUEUE): Remove.
38559         (__ASSUME_STATFS64): Define unconditionally.
38560         (__ASSUME_AT_SECURE): Likewise.
38561         (__ASSUME_CORRECT_SI_PID): Likewise.
38562         (__ASSUME_TGKILL): Define without depending on kernel version for
38563         i386.
38564         (__ASSUME_UTIMES): Likewise.
38565         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38566         kernel version.
38567         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38568         (__ASSUME_TMPFS_NAME): Likewise.
38569         * README: Update reference to Linux kernel versions.
38571 2012-08-02  Marek Polacek  <polacek@redhat.com>
38573         [BZ# 14150]
38574         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
38575         libc_cv_asm_type_prefix with %.
38576         * configure: Regenerated.
38577         * include/libc-symbols.h: Remove comment about
38578         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38579         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38580         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38581         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38582         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38583         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38584         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38585         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38586         * elf/tst-unique2mod1.c: Likewise.
38587         * elf/tst-unique1mod2.c: Likewise.
38588         * elf/tst-unique1mod1.c: Likewise.
38589         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38590         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38591         Replace ASM_TYPE_DIRECTIVE with .type.
38592         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38593         * sysdeps/i386/sysdep.h: Likewise.
38594         * sysdeps/x86_64/sysdep.h: Likewise.
38595         * sysdeps/sh/sysdep.h: Likewise.
38596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38597         Do not define ASM_TYPE_DIRECTIVE.
38598         * sysdeps/powerpc/sysdep.h: Likewise.
38599         * sysdeps/powerpc/powerpc32/sysdep.h:
38600         Replace ASM_TYPE_DIRECTIVE with .type.
38601         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38602         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38603         * sysdeps/i386/fpu/e_powf.S: Likewise.
38604         * sysdeps/i386/fpu/e_expl.S: Likewise.
38605         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38606         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38607         * sysdeps/i386/fpu/e_pow.S: Likewise.
38608         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38609         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38610         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38611         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38612         * sysdeps/i386/fpu/e_log2.S: Likewise.
38613         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38614         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38615         * sysdeps/i386/fpu/e_powl.S: Likewise.
38616         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38617         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38618         * sysdeps/i386/fpu/e_logl.S: Likewise.
38619         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38620         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38621         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38622         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38623         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38624         * sysdeps/i386/fpu/e_log.S: Likewise.
38625         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38626         * sysdeps/i386/fpu/e_logf.S: Likewise.
38627         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38628         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38629         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38630         * sysdeps/i386/fpu/e_log10.S: Likewise.
38631         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38632         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38633         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38634         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38635         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38636         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38637         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38638         * sysdeps/i386/i686/strtok.S: Likewise.
38639         * sysdeps/i386/i386-mcount.S: Likewise.
38640         * sysdeps/i386/strtok.S: Likewise.
38641         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38642         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38643         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38644         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38645         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38646         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38647         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38648         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38649         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38650         * sysdeps/x86_64/_mcount.S: Likewise.
38651         * sysdeps/x86_64/strtok.S: Likewise.
38652         * sysdeps/sh/_mcount.S: Likewise.
38654 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38656         * libio/iofopen.c: Include <fcntl.h>.
38657         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38658         (_IO_fopen64, fopen64): Define as aliases.
38659         * libio/iofopen64.c: Include <fcntl.h>.
38660         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38661         Conditionalize body on this.
38662         * sysdeps/wordsize-64/iofopen.c: File removed.
38663         * sysdeps/wordsize-64/iofopen64.c: File removed.
38665 2012-08-01  Marek Polacek  <polacek@redhat.com>
38667         * libc/Makeconfig: Use elf in place of binfmt-subdir.
38668         Use dlfcn directly instead of a variable.
38669         (binfmt-subdir): Do not define.
38670         (dlfcn): Likewise.
38672 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
38674         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38675         Remove all definitions.
38676         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38677         <kernel-features.h>.
38678         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38679         (miss_F_GETOWN_EX): Remove all definitions.
38680         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38681         macro definition.
38682         [!__ASSUME_FCNTL64]: Remove conditional code.
38683         [__ASSUME_FCNTL64]: Make code unconditional.
38684         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38685         <kernel-features.h>.
38686         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38687         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38688         (lockf64) [__NR_fcntl64]: Make code unconditional.
38689         (lockf64) [__ASSUME_FCNTL64]: Likewise.
38691         * sysdeps/unix/sysv/linux/kernel-features.h
38692         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38693         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38694         Make code unconditional.
38695         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38696         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38698         [__NR_vfork]: Make code unconditional.
38699         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38700         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38702         [__NR_vfork]: Make code unconditional.
38703         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38704         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38706 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38708         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38709         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38711         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38712         Define mkstemp64 as an alias.
38713         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38714         Define mkstemps64 as an alias.
38715         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38716         Define mkostemp64 as an alias.
38717         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38718         Define mkostemps64 as an alias.
38719         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38720         Conditionalize body on this.
38721         * misc/mkostemp64.c: Likewise.
38722         * misc/mkostemps64.c: Likewise.
38723         * misc/mkstemps64.c: Likewise.
38724         * sysdeps/wordsize-64/mkstemp64.c: File removed.
38725         * sysdeps/wordsize-64/mkostemp64.c: File removed.
38726         * sysdeps/wordsize-64/mkostemp.c: File removed.
38727         * sysdeps/wordsize-64/mkstemp.c: File removed.
38728         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38729         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38730         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38731         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38733         [BZ #14138]
38734         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38735         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38736         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38737         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38739         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38740         compat_symbol macros from <shlib-compat.h> rather than the underlying
38741         default_symbol_version and symbol_version macros, so that DEFAULT
38742         lines in shlib-versions are respected.
38743         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38745 2012-08-01  Florian Weimer  <fweimer@redhat.com>
38747         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38748         Declare with warn_unused_result.
38749         (setgid, setregid, setegid, setresgid): Likewise.
38750         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38751         Likewise.
38752         * WUR-REPORT: Remove set*id functions.
38754 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
38756         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38758 2012-07-31  Roland McGrath  <roland@hack.frob.com>
38760         [BZ #10191]
38761         * include/sys/socket.h (__libc_accept, __libc_accept4):
38762         Add attribute_hidden.
38763         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38765         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38766         use of PTR_MANGLE.
38767         * inet/getnetgrent_r.c (setup): Likewise.
38769         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38771 2012-07-31  David S. Miller  <davem@davemloft.net>
38773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38775 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
38777         [BZ #13629]
38778         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38779         value between 1.0 and 2.0 and smaller part has absolute value less
38780         than 1.0.
38781         * math/s_clog10.c (__clog10): Likewise.
38782         * math/s_clog10f.c (__clog10f): Likewise.
38783         * math/s_clog10l.c (__clog10l): Likewise.
38784         * math/s_clogf.c (__clogf): Likewise.
38785         * math/s_clogl.c (__clogl): Likewise.
38786         * math/libm-test.inc (clog_test): Add more tests.
38787         (clog10_test): Likewise.
38788         * sysdeps/i386/fpu/libm-test-ulps: Update.
38789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38791 2012-07-31  Florian Weimer  <fweimer@redhat.com>
38793         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38794         Exit with zero in case no suitable GID is found, and write a
38795         message to standard error.
38797 2012-07-30  Roland McGrath  <roland@hack.frob.com>
38799         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38800         rather than to 1.
38801         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38802         (MAXPATHLEN): Removed.
38803         (NOGROUP, NODEV): New macros.
38804         (setbit, clrbit, isset, isclr): New macros.
38805         (howmany, roundup, powerof2): New macros.
38806         (DEV_BSIZE): New macro.
38808         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38809         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38811         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38812         definition on [!__NO_LONG_DOUBLE_MATH].
38814         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38815         PTR_MANGLE and PTR_DEMANGLE.
38817         * socket/accept4.c (accept4): Rename to __libc_accept4.
38818         Define accept4 as a weak alias.
38820         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38821         on [_DIRENT_HAVE_D_TYPE].
38822         * io/ftw.c (ftw_dir): Likewise.
38824         * io/xmknod.c (__xmknod): Don't check PATH for being null.
38826         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38828         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38829         Use the BSD numbers rather than the arbitrary ones we had.
38830         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38831         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38832         (SIGXCPU, SIGXFSZ): New macros.
38833         (_NSIG): Now 32.
38835         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38836         initializer on [_LIBC_REENTRANT].
38838         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38839         definitions inside [_POSIX_MAPPED_FILES].
38841         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38843         * dirent/opendir.c: Include <fcntl.h>.
38845         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38846         (__libc_getspecific): Likewise.
38847         (__libc_key_create): Likewise.
38849         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38850         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38851         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38852         (tmpfile64): Define as alias.
38853         * sysdeps/wordsize-64/tmpfile.c: File removed.
38854         * sysdeps/wordsize-64/tmpfile64.c: File removed.
38855         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38856         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38858         * stdio-common/vfscanf.c: Include <stdbool.h>.
38859         * nss/makedb.c: Likewise.
38860         * stdio-common/_i18n_number.h: Likewise.
38861         * argp/argp-help.c: Likewise.
38862         * posix/wordexp.c: Likewise.
38863         * sysdeps/posix/spawni.c: Likewise.
38864         * nss/nss_files/files-initgroups.c: Likewise.
38865         * stdio-common/reg-modifier.c: Include <stdlib.h>.
38866         * nss/nss_files/files-initgroups.c: Likewise.
38867         * nss/nss_db/db-netgrp.c: Likewise.
38868         * nss/nss_db/db-initgroups.c: Likewise.
38869         * io/fchmodat.c: Include <sys/stat.h>.
38871         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38872         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38874         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38875         [HAVE_MMAP].
38877         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38878         Add multiple inclusion protection.
38880 2012-07-27  David S. Miller  <davem@davemloft.net>
38882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38884 2012-07-27  Gary Benson  <gbenson@redhat.com>
38886         [BZ #14298]
38887         * elf/rtld.c: Include <stap-probe.h>.
38888         (dl_main): Added static probes "init_start" and "init_complete".
38889         * elf/dl-load.c: Include <stap-probe.h>.
38890         (lose): Take new parameter "nsid".
38891         Added static probe "map_failed".
38892         (_dl_map_object_from_fd): Pass namespace id to lose.
38893         Added static probe "map_start".
38894         (open_verify): Pass namespace id to lose.
38895         * elf/dl-open.c: Include <stap-probe.h>.
38896         (dl_open_worker) Added static probes "map_complete", "reloc_start"
38897         and "reloc_complete".
38898         * elf/dl-close.c: Include <stap-probe.h>.
38899         (_dl_close_worker): Added static probes "unmap_start" and
38900         "unmap_complete".
38901         * elf/rtld-debugger-interface.txt: New file documenting the above.
38903 2012-07-26  Roland McGrath  <roland@hack.frob.com>
38905         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38906         rather than a string variable.
38907         * sunrpc/rpc_main.c (h_output): Likewise.
38908         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38910 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
38912         * inet/check_native.c: New file.
38914 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
38916         [BZ #13629]
38917         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38918         if larger part has absolute value 1.0.
38919         * math/s_clog10.c (__clog10): Likewise.
38920         * math/s_clog10f.c (__clog10f): Likewise.
38921         * math/s_clog10l.c (__clog10l): Likewise.
38922         * math/s_clogf.c (__clogf): Likewise.
38923         * math/s_clogl.c (__clogl): Likewise.
38924         * math/libm-test.inc (clog_test): Add more tests.
38925         (clog10_test): Likewise.
38926         * sysdeps/i386/fpu/libm-test-ulps: Update.
38927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38929         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38930         (pltexit): Likewise.
38931         (La_regs): Likewise.
38932         (La_retval): Likewise.
38933         (int_retval): Likewise.
38934         Update #error for removed macros to refer only to definitions in
38935         tst-audit.h.
38936         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38937         macro.
38938         (pltexit): Likewise.
38939         (La_regs): Likewise.
38940         (La_retval): Likewise.
38941         (int_retval): Likewise.
38942         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38943         macro.
38944         (pltexit): Likewise.
38945         (La_regs): Likewise.
38946         (La_retval): Likewise.
38947         (int_retval): Likewise.
38948         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38949         macro.
38950         (pltexit): Likewise.
38951         (La_regs): Likewise.
38952         (La_retval): Likewise.
38953         (int_retval): Likewise.
38954         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38955         macro.
38956         (pltexit): Likewise.
38957         (La_regs): Likewise.
38958         (La_retval): Likewise.
38959         (int_retval): Likewise.
38960         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38961         macro.
38962         (pltexit): Likewise.
38963         (La_regs): Likewise.
38964         (La_retval): Likewise.
38965         (int_retval): Likewise.
38966         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38967         macro.
38968         (pltexit): Likewise.
38969         (La_regs): Likewise.
38970         (La_retval): Likewise.
38971         (int_retval): Likewise.
38972         * sysdeps/generic/tst-audit.h: Update comment to refer only to
38973         macro definitions in tst-audit.h.
38974         * sysdeps/i386/tst-audit.h: New file.
38975         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38976         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38977         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38978         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38979         * sysdeps/sh/tst-audit.h: Likewise.
38980         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38981         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38982         * sysdeps/x86_64/tst-audit.h: Likewise.
38984 2012-07-26  Andreas Jaeger  <aj@suse.de>
38986         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38987         ptrace.
38989         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38990         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38991         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38992         PTRACE_O_MASK.
38993         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38994         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38995         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38997         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38998         value.
39000         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39001         _sigsys.
39002         (si_call_addr, si_syscall, si_arch): Define new macro.
39003         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39004         _sigsys.
39005         (si_call_addr, si_syscall, si_arch): Define new marcro.
39006         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39007         _sigsys.
39008         (si_call_addr, si_syscall, si_arch): Define new macro.
39009         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39010         _sigsys.
39011         (si_call_addr, si_syscall, si_arch): Define new macro.
39013 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39015         [BZ #13717]
39016         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39017         Change to 2.4.21 where previously 2.4.1.
39018         * sysdeps/unix/sysv/linux/configure: Regenerated.
39019         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39020         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39021         Linux kernel version.
39022         (__ASSUME_STD_AUXV): Remove.
39023         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39024         kernel version.
39025         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39026         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39027         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39028         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39029         (__ASSUME_NETLINK_SUPPORT): Likewise.
39030         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39031         (__no_netlink_support): Remove conditional definition.
39032         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39033         Remove.
39034         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39035         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39036         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39037         (if_nameindex_ioctl): Remove.
39038         (if_nameindex_netlink): Do not handle __no_netlink_support.
39039         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39040         code.
39041         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39042         Remove conditional code.
39043         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39044         code.
39045         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39046         unconditional.
39047         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39048         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39049         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39050         Remove.
39051         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39052         [!__ASSUME_STD_AUXV]: Remove conditional code.
39053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39054         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39055         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39057         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39058         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39059         code.
39060         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39062         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39063         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39064         conditional code.
39065         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39067         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39068         code.
39069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39070         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39071         conditional code.
39072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39073         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39074         code unconditional.
39075         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39076         conditional code.
39077         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39078         unconditional.
39079         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39080         conditional code.
39081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39082         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39083         unconditional.
39084         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39085         conditional code.
39086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39087         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39088         code unconditional.
39089         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39090         conditional code.
39091         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39092         unconditional.
39093         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39094         conditional code.
39095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39096         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39097         code unconditional.
39098         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39099         conditional code.
39100         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39101         unconditional.
39102         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39103         conditional code.
39105 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
39107         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39108         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39109         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39110         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39111         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39112         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39113         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39114         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39115         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39116         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39117         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39118         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39119         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39120         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39121         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39122         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39123         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39124         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39125         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39126         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39127         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39128         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39129         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39131 2012-07-25  Florian Weimer  <fweimer@redhat.com>
39133         * Versions.def: Add GLIBC_2.17.
39134         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39135         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39136         Introduce __libc_secure_getenv.
39137         * stdlib/Versions (2.17): Add secure_getenv
39138         (GLIBC_PRIVATE): Add __libc_secure_getenv.
39139         * stdlib/secure-getenv.c: Rename __secure_getenv to
39140         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
39141         symbol __secure_getenv for GLIBC_2.0.
39142         * stdlib/tst-secure-getenv.c: New.
39143         * stdlib/Makefile (tests): Add testcase.
39144         * manual/startup.texi (Environment Access): Document
39145         secure_getenv.
39146         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39147         __libc_secure_getenv.
39148         * inet/ruserpass.c (ruserpass): Likewise.
39149         * malloc/mtrace.c (mtrace): Likewise.
39150         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39151         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39152         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39153         * sysdeps/posix/tempname.c: Likewise.  Evaluate
39154         HAVE_SECURE_GETENV.
39155         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39156         __secure_getenv to __libc_secure_getenv.
39157         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39159         Likewise.
39160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39161         Likewise.
39162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39164         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39170 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39172         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39173         (struct La_i86_retval): Likewise.
39174         (struct La_x86_64_regs): Likewise.
39175         (struct La_x86_64_retval): Likewise.
39176         (struct La_x32_regs): Likewise.
39177         (struct La_x32_retval): Likewise.
39178         (struct La_ppc32_regs): Likewise.
39179         (struct La_ppc32_retval): Likewise.
39180         (struct La_ppc64_regs): Likewise.
39181         (struct La_ppc64_retval): Likewise.
39182         (struct La_sh_regs): Likewise.
39183         (struct La_sh_retval): Likewise.
39184         (struct La_s390_32_regs): Likewise.
39185         (struct La_s390_32_retval): Likewise.
39186         (struct La_s390_64_regs): Likewise.
39187         (struct La_s390_64_retval): Likewise.
39188         (struct La_sparc32_regs): Likewise.
39189         (struct La_sparc32_retval): Likewise.
39190         (struct La_sparc64_regs): Likewise.
39191         (struct La_sparc64_retval): Likewise.
39192         (struct audit_ifaces): Remove architecture-specific pltenter and
39193         pltexit members.
39194         * sysdeps/i386/ldsodefs.h: New file.
39195         * sysdeps/powerpc/ldsodefs.h: Likewise.
39196         * sysdeps/s390/ldsodefs.h: Likewise.
39197         * sysdeps/sh/ldsodefs.h: Likewise.
39198         * sysdeps/sparc/ldsodefs.h: Likewise.
39199         * sysdeps/x86_64/ldsodefs.h: Likewise.
39201 2012-07-25  Marek Polacek  <polacek@redhat.com>
39203         [BZ #6808]
39204         * math/libm-test.inc (yn_test): Add another test.
39205         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39206         to ERANGE when the result is +-Inf.
39207         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39208         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39209         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39210         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39212 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
39214         * conform/data/time.h-data (NULL): Use macro-constant.  Require
39215         equal to 0.
39216         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
39217         clock_t.
39218         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
39220 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
39222         * configure.in <sysdeps resolving>: Correct printing
39223         Implies_before.
39224         * configure: Regenerate.
39226 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
39228         * math/w_ilogb.c: Include <limits.h>.
39229         * math/w_ilogbl.c: Likewise.
39231 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39233         * manual/lang.texi (__va_copy): Document primarily as ISO C99
39234         va_copy.  Document allowing for unavailable va_copy only as
39235         pre-C99 compatibility.
39236         * manual/string.texi (Copying and Concatenation): Use va_copy
39237         instead of __va_copy in concat example.
39239 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
39241         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39242         (__sendto): Use create_address_port.  Initialize APORT and deallocate
39243         it if not null.
39245         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39246         with O_NOLINK passed to __file_name_lookup.
39248         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39249         with O_NOLINK passed to __file_name_lookup.
39251         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39252         negative N or less than NGIDS.
39254         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39255         type to string_t.  Set ERANGE as errno and return it if NAME is not big
39256         enough.  Use memcpy instead of strncpy.
39258 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39260         * elf/Makefile (check-data): Remove.
39261         (localplt.data): New vpath directive.
39262         ($(objpfx)check-localplt.out): Use localplt.data from vpath
39263         instead of $(check-data).
39264         * scripts/data/localplt-generic.data: Move to ...
39265         * sysdeps/generic/localplt.data: ... here.
39266         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39267         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39268         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39270         ... here.
39271         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39273         ... here.
39274         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39276         ... here.
39277         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39279         ... here.
39280         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39282         ... here.
39283         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39285         ... here.
39287 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39289         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39290         PPC32 and PPC64 files.
39291         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39292         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39294 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39296         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39297         __makecontext_ret to ...
39298         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39299         ... here and call exit if uc_link is NULL.  New file.
39300         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39301         __makecontext_ret.S.
39302         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39303         __makecontext_ret to ...
39304         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39305         ... here and call exit if uc_link is NULL.  New file.
39306         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39307         __makecontext_ret.S.
39309 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39311         * elf/elf.h (R_390_IRELATIVE): New definition.
39312         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39313         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
39314         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39315         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39316         (elf_machine_lazy_rel): Likewise.
39317         * sysdeps/s390/dl-irel.h: New file.
39318         * sysdeps/s390/s390-64/memcpy.S: New asm code.
39319         * sysdeps/s390/s390-64/memset.S: New asm code.
39320         * sysdeps/s390/s390-64/memcmp.S: New asm code.
39321         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39322         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39323         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39324         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39325         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39326         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39327         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39328         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39329         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39330         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39331         * sysdeps/s390/s390-32/memcpy.S: New asm code.
39332         * sysdeps/s390/s390-32/memset.S: New asm code.
39333         * sysdeps/s390/s390-32/memcmp.S: New asm code.
39335 2012-07-17  Marek Polacek  <polacek@redhat.com>
39337         [BZ #14349]
39338         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39339         * sysdeps/s390/s390-64/configure.in: Likewise.
39340         * sysdeps/sparc/configure.in: Likewise.
39341         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39342         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39343         * sysdeps/i386/configure.in: Likewise.
39344         * sysdeps/x86_64/configure.in: Likewise.
39345         * sysdeps/sh/configure.in: Likewise.
39346         * sysdeps/s390/s390-32/configure: Regenerated.
39347         * sysdeps/s390/s390-64/configure: Likewise.
39348         * sysdeps/x86_64/configure: Likewise.
39349         * sysdeps/sh/configure: Likewise.
39350         * sysdeps/powerpc/powerpc64/configure: Likewise.
39351         * sysdeps/powerpc/powerpc32/configure: Likewise.
39352         * sysdeps/sparc/configure: Likwise.
39353         * sysdeps/i386/configure: Likewise.
39355         * elf/dl-open.c: Comment fixes.
39357 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
39359         * Makefile [CXX] (check-data): Remove.
39360         [CXX] (c++-types.data): New vpath directive.
39361         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39362         vpath.  Do not allow for C++ type data being missing.
39363         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39364         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39365         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39366         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39367         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39368         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39369         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39371         ... here.
39372         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39374         ... here.
39375         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39377         ... here.
39378         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39380         ... here.
39381         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39383         ... here.
39384         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39386         ... here.
39387         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39389         ... here.
39390         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39391         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39393         * elf/tls-macros.h (TLS_LE): Move architecture-specific
39394         definitions to architecture-specific files.
39395         (TLS_IE): Likewise.
39396         (TLS_LD): Likewise.
39397         (TLS_GD): Likewise.
39398         * sysdeps/i386/tls-macros.h: New file.
39399         * sysdeps/powerpc/tls-macros.h: Likewise.
39400         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39401         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39402         * sysdeps/sh/tls-macros.h: Likewise.
39403         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39404         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39405         * sysdeps/x86_64/tls-macros.h: Likewise.
39407 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39409         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39410         zero value for regular exit case.
39412         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39413         (__start_context): Preserve zero value for regular exit case.
39415 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39416             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39418         * manual/setjmp.texi (setcontext): Clarify normal process
39419         termination when uc_link is the null pointer.
39420         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39421         exit call.
39423 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
39425         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39426         preprocessor.  Test for each exception mask separately.
39428 2012-07-16  Andreas Jaeger  <aj@suse.de>
39430         * po/ru.po: Update from translation team.
39432 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
39434         * conform/data/string.h-data (NULL): Use macro-constant.  Require
39435         equal to 0.
39436         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39437         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39438         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39439         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39440         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39442 2012-07-13  Andreas Jaeger  <aj@suse.de>
39444         * po/fr.po: Update from translation team.
39446 2012-07-12  Marek Polacek  <polacek@redhat.com>
39448         [BZ #14173]
39449         * math/libm-test.inc (yn_test): Add test for BZ #14173.
39450         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39451         loop condition.
39453 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
39455         [BZ #13717]
39456         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39457         Change to 2.4.1 where previously 2.4.0.
39458         * sysdeps/unix/sysv/linux/configure: Regenerated.
39459         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39460         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39461         version.
39462         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39463         (__ASSUME_AT_CLKTCK): Remove.
39464         (__ASSUME_AT_PAGESIZE): Likewise.
39465         (__ASSUME_AT_XID): Likewise.
39466         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39467         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39468         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39469         unconditionally.
39470         (HAVE_AUX_PAGESIZE): Likewise.
39471         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39472         [__ASSUME_AT_CLKTCK]: Make code unconditional.
39473         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39475 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
39477         [BZ #14307]
39478         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39479         the temporary buffer used to invoke __gethostbyname2_r,
39480         __gethostbyaddr_r and gethostbyname4_r to make room for struct
39481         host_data / struct gaih_addrtuple.
39482         * resolv/nss_dns/dns-host.c (global scope): Move definition of
39483         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39484         header file nss/nsswitch.h.
39485         * nss/nsswitch.h (global scope): Add definition of implementation
39486         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39487         resolv/nss_dns/dns-host.c).
39489 2012-07-11  Andreas Jaeger  <aj@suse.de>
39491         * po/fr.po: Update from translation team.
39493         * po/sv.po: Update from translation team
39494         * po/fr.po: Another update from translation team.
39496 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39498         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39499         for subnormals or multiply small sinh result by itself.
39500         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39503 2012-07-11  David S. Miller  <davem@davemloft.net>
39505         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39507 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
39509         [BZ #14347]
39510         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39511         (INTERNAL_MARK): Shift it here.
39513 2012-07-10  Marek Polacek  <polacek@redhat.com>
39515         [BZ #14151]
39516         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
39517         libc_cv_asm_global_directive with .globl.
39518         * configure: Regenerated.
39519         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39520         with .globl.
39521         * sysdeps/i386/configure: Regenerated.
39522         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39523         with .globl.
39524         * sysdeps/x86_64/configure: Regenerated.
39525         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39526         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39527         * elf/tst-unique2mod2.c: Likewise.
39528         * elf/tst-unique2mod1.c: Likewise.
39529         * elf/tst-unique1mod2.c: Likewise.
39530         * elf/tst-unique1mod1.c: Likewise.
39531         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39532         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39533         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39534         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39535         * sysdeps/mach/sysdep.h: Likewise.
39536         * sysdeps/i386/sysdep.h: Likewise.
39537         * sysdeps/i386/i386-mcount.S: Likewise.
39538         * sysdeps/x86_64/_mcount.S: Likewise.
39539         * sysdeps/x86_64/sysdep.h: Likewise.
39540         * sysdeps/sh/_mcount.S: Likewise.
39541         * sysdeps/sh/sysdep.h: Likewise.
39542         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39543         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39544         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39545         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39546         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39547         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39548         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39549         * locale/localeinfo.h: Likewise.
39550         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39551         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39553 2012-07-09  Roland McGrath  <roland@hack.frob.com>
39555         [BZ #14336]
39556         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39557         system".
39558         * manual/message.texi (The Uniforum approach): Likewise.
39559         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39560         (glibc iconv Implementation): Likewise.
39562 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
39564         [BZ #14337]
39565         * math/s_clog.c (__clog): Avoid scaling a value down where that
39566         could result in underflow.
39567         * math/s_clog10.c (__clog10): Likewise.
39568         * math/s_clog10f.c (__clog10f): Likewise.
39569         * math/s_clog10l.c (__clog10l): Likewise.
39570         * math/s_clogf.c (__clogf): Likewise.
39571         * math/s_clogl.c (__clogl): Likewise.
39572         * math/libm-test.inc (clog_test): Add more tests.
39573         (clog10_test): Likewise.
39574         * sysdeps/i386/fpu/libm-test-ulps: Update.
39575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39577 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
39579         [BZ #14283]
39580         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39581         by 7 not 8 to examine high bit of fractional part.
39583         [BZ #14042]
39584         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39585         for call to __mcount_internal.
39586         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39587         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39588         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39590 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
39592         [BZ #14154]
39593         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39594         approximation for values within 0x1p-13f of an odd multiple of
39595         pi/4.
39596         * math/libm-test.inc (tan_test): Do not allow spurious underflow
39597         exception.  Add more tests.
39598         * sysdeps/i386/fpu/libm-test-ulps: Update.
39600         [BZ #6778]
39601         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39602         inputs and return -1 for them.  Do not check for +Inf in case not
39603         reachable for +Inf.
39604         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39605         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39606         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39607         and return -1 for them.  Do not check for +Inf in case not
39608         reachable for +Inf.
39609         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39610         define.
39611         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39612         and return -1 for them.  Do not check for +Inf in case not
39613         reachable for +Inf.
39614         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
39615         spurious underflow.
39616         * sysdeps/i386/fpu/libm-test-ulps: Update.
39617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39619 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
39621         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39623 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
39625         [BZ #14157]
39626         [BZ #14331]
39627         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39628         could result in spurious underflow.  Scale down values above
39629         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39630         * math/s_csqrtf.c (__csqrtf): Likewise.
39631         * math/s_csqrtl.c (__csqrtl): Likewise.
39632         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
39633         spurious underflow.
39634         * sysdeps/i386/fpu/libm-test-ulps: Update.
39635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39637 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
39639         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39640         xopen-msg.sed.
39641         * catgets/xopen-msg.awk: New file.
39642         * catgets/xopen-msg.sed: Removed.
39644         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39645         po2text.sed.
39646         * intl/po2test.awk: New file.
39647         * intl/po2test.sed: Removed.
39649 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
39651         [BZ #14328]
39652         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39653         or multiply small sinh result by itself.
39654         * math/s_ctanf.c (__ctanf): Likewise.
39655         * math/s_ctanh.c (__ctanh): Likewise.
39656         * math/s_ctanhf.c (__ctanhf): Likewise.
39657         * math/s_ctanhl.c (__ctanhl): Likewise.
39658         * math/s_ctanl.c (__ctanl): Likewise.
39659         * math/libm-test.inc (ctan_test_tonearest): New function.
39660         (ctan_test_towardzero): Likewise.
39661         (ctan_test_downward): Likewise.
39662         (ctan_test_upward): Likewise.
39663         (ctanh_test_tonearest): Likewise.
39664         (ctanh_test_towardzero): Likewise.
39665         (ctanh_test_downward): Likewise.
39666         (ctanh_test_upward): Likewise.
39667         (main): Call these new functions.
39668         * sysdeps/i386/fpu/libm-test-ulps: Update.
39669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39671 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
39673         * .gitignore: Delete /ports entry.
39675 2012-07-03  Andreas Jaeger  <aj@suse.de>
39677         * po/bg.po: Update from translation team.
39678         * po/cs.po: Likewise.
39679         * po/de.po: Likewise.
39680         * po/hr.po: Likewise.
39681         * po/nl.pl: Likewise.
39682         * po/pl.po: Likewise.
39683         * po/vi.po: Likewise.
39685 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
39687         * Makeconfig [!+link] (+link-before-libc): New variable.
39688         [!+link] (+link-after-libc): Likewise.
39689         [!+link] (+link-tests): Likewise.
39690         [!+link] (+link): Define in terms of $(+link-before-libc) and
39691         $(+link-after-libc).
39692         [!+link-static] (+link-static-before-libc): New variable.
39693         [!+link-static] (+link-static-after-libc): Likewise.
39694         [!+link-static] (+link-static-tests): Likewise.
39695         [!+link-static] (+link-static): Define in terms of
39696         $(+link-static-before-libc) and $(+link-static-after-libc).
39697         [build-shared] (link-libc-before-gnulib): New variable.
39698         [build-shared] (link-libc-tests): Likewise.
39699         [build-shared] (link-libc): Define in terms of
39700         $(link-libc-before-gnulib).
39701         [!build-shared] (link-libc-tests): New variable.
39702         (link-libc-static-tests): New variable.
39703         [!gnulib] (gnulib-arch): New variable.
39704         [!gnulib] (gnulib-tests): Likewise.
39705         [!gnulib] (static-gnulib-arch): Likewise.
39706         [!gnulib] (static-gnulib-tests): Likewise.
39707         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
39708         Define with "=" instead of ":=".
39709         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
39710         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
39711         * Rules (binaries-all-notests): New variable.
39712         (binaries-all-tests): Likewise.
39713         (binaries-static-notests): Likewise.
39714         (binaries-static-tests): Likewise.
39715         (binaries-all): Define using $(binaries-all-notests) and
39716         $(binaries-all-tests).
39717         (binaries-static): Define using $(binaries-static-notests) and
39718         $(binaries-static-tests).
39719         (binaries-shared-tests): New variable.
39720         (binaries-shared-notests): Likewise.
39721         (binaries-shared): Remove variable.
39722         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39723         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39724         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39725         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39726         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39727         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39728         * elf/Makefile (sln-modules): New variable.
39729         (extra-objs): Add $(sln-modules:=.o).
39730         (ldconfig-modules): Add static-stubs.
39731         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39732         * elf/static-stubs.c: New file.
39734         [BZ #14283]
39735         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39736         by 7 not 8 to examine high bit of fractional part.  Use volatile
39737         variables when splitting into final array of floats if
39738         __FLT_EVAL_METHOD__ != 0.
39739         * math/libm-test.inc (cos_test): Add another test.
39740         (sin_test): Likewise.
39741         * sysdeps/i386/fpu/libm-test-ulps: Update.
39743         [BZ #14273]
39744         * math/libm-test.inc (cosh_test): Add more tests.
39746         * version.h (RELEASE): Set to "development".
39747         (VERSION): Set to "2.16.90".
39749 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
39751         * NEWS: Update copyright. Remove last-updated date.
39752         Mention math library bug fixes and timezone data changes.
39753         * README: Mention GNU/Hurd, x32, and HPPA support status.
39755 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
39757         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39759 2012-06-27  Andreas Jaeger  <aj@suse.de>
39761         * manual/contrib.texi (Contributors): Add Samuel Thibault.
39763 2012-06-25  Andreas Jaeger  <aj@suse.de>
39765         * sysdeps/s390/fpu/libm-test-ulps: Update.
39767 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
39768             Thomas Schwinge  <thomas@codesourcery.com>
39770         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39771         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39772         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39773         fanotify_mark.
39775 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
39777         * sysdeps/mach/start.c: Remove file.
39778         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39779         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39780         * sysdeps/sh/init-first.c: Likewise.
39782         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39783         registers for frame unwinding purposes, add CFI directives.
39784         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39785         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39786         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39787         Likewise.
39789         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39790         __fortify_fail returning.
39791         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39793         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39794         sysdeps/sh/____longjmp_chk.S.
39795         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39796         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39797         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39798         (gen-as-const-headers): Append sigaltstack-offsets.sym.
39800         * sysdeps/sh/abort-instr.h: New file.
39801         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39802         process in case exit returns.
39804         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39805         initialize the GOT register before use.
39807         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39808         calculation of ARGC > 4.
39810         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39811         meaningful names to some local labels.
39813 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39814             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39816         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39817         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39818         (__arch_compare_and_exchange_val_16_acq): Likewise.
39819         (__arch_compare_and_exchange_val_32_acq): Likewise.
39820         (atomic_exchange_and_add): Fix gUSA sequence.
39821         (atomic_add): Likewise.
39822         (atomic_add_negative): Likewise.
39823         (atomic_add_zero): Likewise.
39824         (atomic_bit_test_set): Likewise.
39826 2012-06-22  Andreas Schwab  <schwab@redhat.com>
39828         [BZ #13579]
39829         * include/link.h (struct link_map): Add l_free_initfini.
39830         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39831         l_initfini.
39832         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39833         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39834         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39835         set.
39837 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
39839         * configure.in: Use AC_LANG_SOURCE.
39840         * configure: Regenerate.
39842 2012-06-22  Roland McGrath  <roland@hack.frob.com>
39844         * configure.in (libc_cv_localstatedir): New substituted variable.
39845         * configure: Regenerated.
39846         * config.make.in (localstatedir): New variable, substituted from
39847         libc_cv_localstatedir.
39848         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39849         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39850         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39851         * sysdeps/gnu/configure: Regenerated.
39853 2012-06-21  Jeff Law  <law@redhat.com>
39855         [BZ #14277]
39856         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39857         free.  Simplify list management for _LIBC case.
39859 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
39861         [BZ #14273]
39862         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39863         Clear sign bit of 64-bit integer value before comparing against
39864         overflow value.
39866         * sysdeps/mach/configure: Regenerated.
39868 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
39870         [BZ #14278]
39871         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39873 2012-06-21  Jeff Law  <law@redhat.com>
39875         [BZ #13882]
39876         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
39877         uint16_t for elements in the "seen" array to avoid char overflows.
39878         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39879         * elf/dl-open.c (dl_open_worker): Likewise.
39881 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
39883         * scripts/list-sources.sh: Scan PORTS for translations.
39884         * po/libc.pot: Regenerated.
39886 2012-06-21  Andreas Jaeger  <aj@suse.de>
39888         [BZ #12194]
39889         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39890         warning.
39891         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39892         * bits/byteswap-16.h (__bswap_16): Likewise.
39893         * bits/byteswap.h (__bswap_constant_16): Likewise.
39895 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
39897         [BZ #14117]
39898         * sysdeps/i386/fpu_control.h: Removed.
39899         * sysdeps/x86_64/fpu_control.h: Moved to ...
39900         * sysdeps/x86/fpu_control.h: Here.
39902         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39903         (_FPU_SETCW): Likewise.
39905 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
39907         [BZ #14117]
39908         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39909         * sysdeps/x86/fpu/bits/mathinline.h: This.
39910         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39912         [BZ #14050]
39913         [BZ #14117]
39914         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39915         functions if __x86_64__ is defined.
39917 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
39919         * string/endian.h: Add !__ASSEMBLER__ condition for including
39920         conversion interfaces.
39922 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
39924         [BZ #14241]
39925         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39926         of ABS(x) in calculating zero to negative powers other than odd
39927         integers.
39928         * math/libm-test.inc (pow_test): Add more tests.
39930 2012-06-15  Andreas Jaeger  <aj@suse.de>
39932         * manual/contrib.texi (Contributors): Update entry of Liubov
39933         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39934         Machado Filho.
39936 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
39938         * string/string.h: Add __wur to GNU version of strerror_r.
39940 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
39942         [BZ #14229]
39943         * string/Makefile (tests): Add tst-strtok_r.
39944         * string/tst-strtok_r.c: New file.
39945         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39946         RAX_LP/RDX_LP on SAVE_PTR.
39948 2012-06-14  Roland McGrath  <roland@hack.frob.com>
39950         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39952 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
39954         * libm_test.inc (csqrt_test): Allow more spurious underflow
39955         exceptions.
39956         (j0_test): Likewise.
39957         (j1_test): Likewise.
39958         (y0_test): Likewise.
39959         (y1_test): Likewise.
39961 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
39963         * po/Makefile (libc.pot): Use UTF-8 charset.
39965 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
39967         [BZ #14210]
39968         Suppress sign-conversion warning from FD_SET.
39969         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39970         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39971         not unsigned long int.
39972         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39974 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
39976         [BZ #14050]
39977         [BZ #14117]
39978         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39979         __extern_always_inline instead of __extern_inline.
39980         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39981         (__signbit): Likewise.
39982         (__signbitl): Support C++ namespace.
39983         (lrintf): New inline function.
39984         (lrint): Likewise.
39985         (llrintf): Likewise.
39986         (llrint): Likewise.
39987         (fmaxf): Likewise.
39988         (fmax): Likewise.
39989         (fminf): Likewise.
39990         (fmin): Likewise.
39991         (rint): Likewise.
39992         (rintf): Likewise.
39993         (ceil): Likewise.
39994         (ceilf): Likewise.
39995         (floor): Likewise.
39996         (floorf): Likewise.
39997         (nearbyint): Likewise.
39998         (nearbyintf): Likewise.
40000 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
40002         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40003         non-default versions.
40005 2012-06-11  Roland McGrath  <roland@hack.frob.com>
40007         [BZ #14218]
40008         * manual/argp.texi (Argp): Reword argp_parse description slightly.
40010 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
40012         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40013         (FE_UPWARD, FE_DOWNWARD): Don't define.
40014         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40015         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40017         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40018         reading it.
40019         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40020         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40022 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40024         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40025         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40026         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40027         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40029 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
40031         [BZ #14117]
40032         * sysdeps/i386/fpu/bits/fenv.h: Removed.
40033         * sysdeps/i386/fpu/Implies: New file.
40034         * sysdeps/x86_64/fpu/Implies: Likewise.
40035         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40036         * sysdeps/x86/fpu/bits/fenv.h: This.
40038         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40039         __SSE_MATH__.
40041 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40043         [BZ #14134]
40044         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40045         character 0xffff that matches the last element of the
40046         conversion table.
40048 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40050         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40051         fmodl commit.
40053 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40055         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40056         values higher than 25.6283.
40058 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40060         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40061         subnormal exponent extraction and add some __builtin_expect.
40062         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40063         Fix for subnormal mantissa calculation.
40065 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
40067         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40068         cpu2 is -1 and errno is not ENOSYS.
40070 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
40072         [BZ #14117]
40073         * sysdeps/i386/i486/bits/string.h: Renamed to ...
40074         * sysdeps/x86/bits/string.h: This.
40075         * sysdeps/x86_64/bits/string.h: Removed.
40077         * sysdeps/i386/i486/bits/string.h: Define inline functions only
40078         if not compiling for x86-64, but compiling for >= i486.
40080         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40081         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40083         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40084         New macro from Linux kernel 3.4.0.
40085         (FP_XSTATE_MAGIC2): Likewise.
40086         (FP_XSTATE_MAGIC2_SIZE): Likewise.
40087         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40088         (struct _fpx_sw_bytes): New struct.
40089         (struct _xsave_hdr): Likewise.
40090         (struct _ymmh_state): Likewise.
40091         (struct _xstate): Likewise.
40093         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40094         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40095         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40096         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40097         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40098         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40100         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40101         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40102         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40103         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40104         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40105         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40107 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40109         [BZ #13743]
40110         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40111         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40112         (sysdep_headers): Include sys/platform/ppc.h.
40113         * sysdeps/powerpc/test-gettimebase.c: Test for
40114         __ppc_get_timebase() to catch future ISA opcode/insn changes.
40115         * manual/Makefile (appendices): Include platform.texi.
40116         * manual/contrib.texi (Contributors): Update @node pointers.
40117         * manual/maint.texi (Maintenance): Likewise.
40118         (Platform): New node.
40119         * manual/platform.texi: New file.  Document the new features.
40121 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40122             Jakub Jelinek  <jakub@redhat.com>
40124         [BZ #14188]
40125         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40126         where __builtin_expect is unavailable.
40128 2012-06-03  David S. Miller  <davem@davemloft.net>
40130         * stdlib/longlong.h: Updated from GCC.
40132 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
40134         [BZ #14042]
40135         * sysdeps/powerpc/powerpc32/mcount.c: New file.
40136         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40137         __mcount_internal.
40138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40139         (GLIBC_2.16): Likewise.
40141 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40143         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40145 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40148         (default-abi): New variable.
40149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40150         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40151         variable.
40152         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40153         Likewise.
40154         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40155         Likewise.
40156         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40157         Likewise.
40159         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40160         definition.  Document in comment.
40162 2012-06-01  David S. Miller  <davem@davemloft.net>
40164         * stdlib/longlong.h: Updated from GCC.
40166 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40168         [BZ #14117]
40169         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40170         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40171         sys/debugreg.h sys/io.h here.
40172         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40173         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40174         sys/io.h.
40175         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40176         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40177         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40178         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40179         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40180         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40182         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40183         Define only if __x86_64__ is defined.
40185 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40187         [BZ #14048]
40188         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40189         Use int64_t for variable i.
40190         * math/libm-test.inc (fmod_test): Add more tests.
40192         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40193         z computation is not scheduled after fetestexcept.
40194         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40195         Use math_force_eval instead of asm to ensure calculation scheduled
40196         before exception test.
40197         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40198         Ensure a1 + u.d computation is not scheduled after fetestexcept.
40200 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
40202         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40203         computation is not scheduled after fetestexcept.
40205 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40207         [BZ #14117]
40208         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40209         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40211 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40213         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40214         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40216 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40218         [BZ #14117]
40219         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40220         <bits/wordsize.h>.
40221         (__WCHAR_MIN): Support __WORDSIZE == 64.
40222         (__WCHAR_MAX): Likewise.
40224         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40225         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40227         [BZ #14183]
40228         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40229         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40231         [BZ #14117]
40232         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40233         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40235         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40236         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40238         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40239         Defined to 1 if __x86_64__ isn't defined.
40240         (_STAT_VER_LINUX_OLD): New.
40241         (st_atime): Remove duplicate.
40242         (st_mtime): Likewise.
40243         (st_ctime): Likewise.
40245 2012-05-31  David S. Miller  <davem@davemloft.net>
40247         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40248         entries.
40250 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
40252         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40253         gen-libm-test.pl.
40255         [BZ #14132]
40256         * elf/dl-reloc.c: Include <_itoa.h>.
40257         (_dl_reloc_bad_type): Remove use of INTUSE.
40258         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40259         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40260         * stdio-common/psiginfo.c (psiginfo): Likewise.
40261         * stdio-common/psignal.c (psignal): Likewise.
40262         * string/strsignal.c (strsignal): Likewise.
40263         * include/signal.h (_sys_siglist): Declare hidden proto.
40264         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
40265         INTVARDEF with libc_hidden_data_def.
40266         * stdio-common/itoa-udigits.c: Likewise.
40267         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40268         (_itoa_lower_digits_internal): Remove declaration.
40269         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40270         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40271         (_sys_sigabbrev_internal): Remove aliases.
40272         (_sys_siglist): Define hidden alias.
40274 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
40276         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40277         bits/sysctl.h.
40279 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40281         [BZ #14117]
40282         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40283         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40285         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40286         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40287         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40288         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40289         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40290         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40292         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40293         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40294         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40296         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40297         with __addr.
40298         (insw): Likewise.
40299         (insl): Likewise.
40300         (outsb): Likewise.
40301         (outsw): Likewise.
40302         (outsl): Likewise.
40304         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40305         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40306         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40308         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40309         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40310         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40311         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40312         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40313         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40315         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40316         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40318         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40319         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40321         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40322         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40323         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40325         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40326         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40327         to ...
40328         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40330         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40331         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40332         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40334         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40335         for x86-64.
40336         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40338 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
40340         * math/math.h (M_El): Use two more decimal places.
40341         (M_LOG2El): Likewise.
40342         (M_LOG10El): Likewise.
40343         (M_LN2l): Likewise.
40344         (M_LN10l): Likewise.
40345         (M_PIl): Likewise.
40346         (M_PI_2l): Likewise.
40347         (M_PI_4l): Likewise.
40348         (M_1_PIl): Likewise.
40349         (M_2_PIl): Likewise.
40350         (M_2_SQRTPIl): Likewise.
40351         (M_SQRT2l): Likewise.
40352         (M_SQRT1_2l): Likewise.
40354 2012-05-31  David S. Miller  <davem@davemloft.net>
40356         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40357         values between float registers.
40358         * sysdeps/sparc/sparc64/memset.S: Likewise.
40359         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40361 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
40363         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40364         -D_FORTIFY_SOURCE=1.
40365         (CPPFLAGS-tst-longjmp_chk.c): Define.
40366         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40367         (CPPFLAGS-tst-longjmp_chk2.c): Define.
40368         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40369         CFLAGS-tst-wchar-h.c.
40371 2012-05-31  Marek Polacek  <polacek@redhat.com>
40373         [BZ #14132]
40374         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40375         __endmntent_internal): Remove declaration.
40376         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40377         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40378         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40380 2012-05-30  David S. Miller  <davem@davemloft.net>
40382         * sysdeps/sparc/sparc32/soft-fp/q_util.c
40383         (___Q_simulate_exceptions): Use real FP ops rather than writing
40384         into the %fsr.
40385         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40386         Likewise.
40388 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40390         [BZ #14117]
40391         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40392         * sysdeps/x86/bits/xtitypes.h: This.
40394         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40395         * sysdeps/x86/bits/wordsize.h: This.
40397         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40398         * sysdeps/x86/bits/huge_vall.h: This.
40400         * sysdeps/i386/bits/select.h: Removed.
40401         * sysdeps/x86_64/bits/select.h: Renamed to ...
40402         * sysdeps/x86/bits/select.h: This.
40404         * sysdeps/i386/bits/setjmp.h: Removed.
40405         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40406         * sysdeps/x86/bits/setjmp.h: This.
40408         * sysdeps/i386/bits/mathdef.h: Removed.
40409         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40410         * sysdeps/x86/bits/mathdef.h: This.
40412 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
40414         [BZ #14132]
40415         * include/sys/socket.h (__connect_internal)
40416         (__libc_sa_len_internal): Remove declaration.
40417         (__connect, __libc_sa_len): Declare hidden_proto.
40418         (SA_LEN): Remove use of INTUSE.
40419         * socket/connect.c: Add libc_hidden_def.
40420         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40421         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40422         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40423         alias.
40424         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40425         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40426         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40427         of adding _internal alias.
40429 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40431         [BZ #14117]
40432         * sysdeps/i386/bits/link.h: Removed.
40433         * sysdeps/i386/bits/linkmap.h: Likewise.
40434         * sysdeps/x86_64/bits/link.h: Renamed to ...
40435         * sysdeps/x86/bits/link.h: This.
40436         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40437         * sysdeps/x86/bits/linkmap.h: This.
40439         * sysdeps/i386/bits/endian.h: Removed.
40440         * sysdeps/x86_64/bits/endian.h: Renamed to ...
40441         * sysdeps/x86/bits/endian.h: This.
40443         * sysdeps/i386/bits/byteswap.h: Removed.
40444         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40445         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40446         * sysdeps/x86/bits/byteswap.h: This.
40447         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40448         * sysdeps/x86/bits/byteswap-16.h: This.
40449         * sysdeps/i386/Implies: Add x86.
40450         * sysdeps/x86_64/Implies: Likewise.
40452 2012-05-30  David S. Miller  <davem@davemloft.net>
40454         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40455         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40456         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40457         (FP_TRAPPING_EXCEPTIONS): Define.
40458         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40459         (FP_TRAPPING_EXCEPTIONS): Define.
40460         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40461         subnormals only when inexact has been signalled or underflow
40462         exceptions are enabled.
40463         (_FP_PACK_CANONICAL): Likewise.
40465 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40467         [BZ #14183]
40468         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40469         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40471 2012-05-30  Richard Henderson  <rth@twiddle.net>
40473         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40474         with #ifndef NOT_IN_libc.
40476         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
40477         marked to avoid plt entry.
40479 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40481         [BZ #14112]
40482         * Makeconfig (default-abi): New macro.
40483         (abi-includes): Likewise.
40484         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
40485         $(abi-$(default-abi)-lib-soname) for soname if defined.
40486         ($(common-objpfx)gnu/lib-names.stmp): Generate from
40487         abi-variants.
40488         * Makefile (installed-stubs): Likewise.
40489         * include/stubs-biarch.h: Removed.
40490         * scripts/lib-names.awk: Only handle one library at a time.
40491         * scripts/soversions.awk: Remove WORDSIZE support.
40492         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40493         entries.
40494         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40495         Removed.
40496         (syscall-list-default-condition): Likewise.
40497         (syscall-list-default-condition): Likewise.
40498         (syscall-list-includes): Likewise.
40499         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40500         syscall-list-* with abi-*.  Handle undefined abi-variants.
40501         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40502         * sysdeps/unix/sysv/linux/i386/Implies: New file.
40503         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40504         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40505         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40506         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40507         Removed.
40508         (syscall-list-32-options): Likewise.
40509         (syscall-list-32-condition): Likewise.
40510         (syscall-list-64-options): Likewise.
40511         (syscall-list-64-condition): Likewise.
40512         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40513         macro.
40514         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40515         Renamed to ...
40516         (abi-*): This.
40517         (abi-64-ld-soname): New macro.
40518         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40519         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40520         Renamed to ...
40521         (abi-*): This.
40522         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40523         * sysdeps/x86_64/x32/shlib-versions: Likewise.
40525 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
40527         * sysdeps/unix/sysv/linux/kernel-features.h
40528         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40529         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40530         include <kernel-features.h>.
40531         [!__NR_ftruncate64]: Remove conditional code.
40532         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40533         [__NR_ftruncate64]: Make code unconditional.
40534         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40535         * sysdeps/unix/sysv/linux/truncate64.c: Do not
40536         include <kernel-features.h>.
40537         [!__NR_ftruncate64]: Remove conditional code.
40538         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40539         [__NR_ftruncate64]: Make code unconditional.
40540         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40542         include <kernel-features.h>.
40543         [!__NR_ftruncate64]: Remove conditional code.
40544         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40545         [__NR_ftruncate64]: Make code unconditional.
40546         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40548         include <kernel-features.h>.
40549         [!__NR_ftruncate64]: Remove conditional code.
40550         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40551         [__NR_ftruncate64]: Make code unconditional.
40552         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40554         * configure.in (libc_cv_fpie): Weaken to a compile test using
40555         LIBC_TRY_CC_OPTION.
40556         * configure: Regenerated.
40558 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40564         Refreshed.
40565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40571         Refreshed.
40573 2012-05-27  David S. Miller  <davem@davemloft.net>
40575         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40576         (___Q_zero): New.
40577         (__Q_simulate_exceptions): Return void.  Change to simulate
40578         exceptions by writing into the %fsr.
40579         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40580         (__Qp_handle_exceptions): Likewise.
40581         (numbers): Delete.
40582         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40583         __Qp_handle_exceptions.
40584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40585         __Qp_handle_exceptions.
40586         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40587         as unused and give dummy FP_RND_NEAREST initializer.
40588         (FP_INHIBIT_RESULTS): Define.
40589         (___Q_simulate_exceptions): Update declaration.
40590         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40591         formatting.
40592         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40593         as unused and give dummy FP_RND_NEAREST initializer.
40594         (__Qp_handle_exceptions): Update declaration.
40595         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40596         formatting.
40598 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
40600         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40601         the temporary FPU control word.
40602         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40603         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40604         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40605         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40606         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40607         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40608         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40609         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40610         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40611         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40612         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40614 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40616         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40617         fields.
40619 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
40621         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40622         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40623         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40624         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40625         Likewise.
40626         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40627         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40628         Likewise.
40630 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
40632         * po/h.po: Update from translation team.
40634 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
40636         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40638         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40639         handling of denormals.
40640         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40641         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40642         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40643         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40644         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40645         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40646         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40647         Likewise.
40649 2012-05-26  Marek Polacek  <polacek@redhat.com>
40651         [BZ #14152]
40652         * math/libm-test.inc (fma_test): Don't always expect underflow
40653         exception.
40655 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40657         [BZ #12416]
40658         * elf/tst-execstack.c: Include stackinfo.h.
40659         (do_test): Adjust test case to ensure that pthread_getattr_np
40660         behaviour remains the same after marking stack executable.
40662 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40664         * sysdeps/unix/sysv/linux/kernel-features.h
40665         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40666         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40667         kernel-features.h.
40668         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40669         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40670         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40671         kernel-features.h.
40672         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40673         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40675 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
40677         * configure.in: Define the default includes to being none.
40678         * configure: Regenerated.
40680 2012-05-25  Roland McGrath  <roland@hack.frob.com>
40682         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40683         * sysdeps/x86_64/setjmp.S: Likewise.
40684         * sysdeps/i386/bsd-setjmp.S: Likewise.
40685         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40686         * sysdeps/i386/setjmp.S: Likewise.
40687         * sysdeps/i386/__longjmp.S: Likewise.
40688         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40689         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40691         * include/stap-probe.h: New file.
40692         * configure.in: Handle --enable-systemtap.
40693         * configure: Regenerated.
40694         * config.h.in (USE_STAP_PROBE): New #undef.
40695         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40696         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40697         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40699 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40701         [BZ #13717]
40702         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40703         to 2.4.0 where earlier.
40704         * sysdeps/unix/sysv/linux/configure: Regenerated.
40705         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40706         <kernel-features.h>.
40707         [__ASSUME_32BITUIDS]: Make code unconditional.
40708         [!__ASSUME_32BITUIDS]: Remove conditional code.
40709         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40710         <kernel-features.h>.
40711         [__ASSUME_32BITUIDS]: Make code unconditional.
40712         [!__ASSUME_32BITUIDS]: Remove conditional code.
40713         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40714         [__ASSUME_32BITUIDS]: Make code unconditional.
40715         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40716         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40717         <kernel-features.h>.
40718         [__ASSUME_32BITUIDS]: Make code unconditional.
40719         [!__ASSUME_32BITUIDS]: Remove conditional code.
40720         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40721         <kernel-features.h>.
40722         [__ASSUME_32BITUIDS]: Make code unconditional.
40723         [!__ASSUME_32BITUIDS]: Remove conditional code.
40724         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40725         <kernel-features.h>.
40726         [__ASSUME_32BITUIDS]: Make code unconditional.
40727         [!__ASSUME_32BITUIDS]: Remove conditional code.
40728         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40729         <kernel-features.h>.
40730         [__ASSUME_32BITUIDS]: Make code unconditional.
40731         [!__ASSUME_32BITUIDS]: Remove conditional code.
40732         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40733         <kernel-features.h>.
40734         [__ASSUME_32BITUIDS]: Make code unconditional.
40735         [!__ASSUME_32BITUIDS]: Remove conditional code.
40736         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40737         <kernel-features.h>.
40738         [__ASSUME_32BITUIDS]: Make code unconditional.
40739         [!__ASSUME_32BITUIDS]: Remove conditional code.
40740         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40741         <kernel-features.h>.
40742         [__ASSUME_32BITUIDS]: Make code unconditional.
40743         [!__ASSUME_32BITUIDS]: Remove conditional code.
40744         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40745         <kernel-features.h>.
40746         [__ASSUME_32BITUIDS]: Make code unconditional.
40747         [!__ASSUME_32BITUIDS]: Remove conditional code.
40748         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40749         <kernel-features.h>.
40750         [__ASSUME_32BITUIDS]: Make code unconditional.
40751         [!__ASSUME_32BITUIDS]: Remove conditional code.
40752         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40753         <kernel-features.h>.
40754         [__ASSUME_32BITUIDS]: Make code unconditional.
40755         [!__ASSUME_32BITUIDS]: Remove conditional code.
40756         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40757         <kernel-features.h>.
40758         [__NR_setresgid] (__setresgid): Do not declare.
40759         [__ASSUME_32BITUIDS]: Make code unconditional.
40760         [!__ASSUME_32BITUIDS]: Remove conditional code.
40761         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40762         <kernel-features.h>.
40763         [__NR_setresuid] (__setresuid): Do not declare.
40764         [__ASSUME_32BITUIDS]: Make code unconditional.
40765         [!__ASSUME_32BITUIDS]: Remove conditional code.
40766         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40767         <kernel-features.h>.
40768         [__ASSUME_32BITUIDS]: Make code unconditional.
40769         [!__ASSUME_32BITUIDS]: Remove conditional code.
40770         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40771         <kernel-features.h>.
40772         [__ASSUME_32BITUIDS]: Make code unconditional.
40773         [!__ASSUME_32BITUIDS]: Remove conditional code.
40774         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40775         <kernel-features.h>.
40776         [__ASSUME_32BITUIDS]: Make code unconditional.
40777         [!__ASSUME_32BITUIDS]: Remove conditional code.
40778         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40779         <kernel-features.h>.
40780         [__ASSUME_32BITUIDS]: Make code unconditional.
40781         [!__ASSUME_32BITUIDS]: Remove conditional code.
40782         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40783         <kernel-features.h>.
40784         [__ASSUME_32BITUIDS]: Make code unconditional.
40785         [!__ASSUME_32BITUIDS]: Remove conditional code.
40786         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40787         <kernel-features.h>.
40788         [__ASSUME_32BITUIDS]: Make code unconditional.
40789         [!__ASSUME_32BITUIDS]: Remove conditional code.
40790         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40791         <kernel-features.h>.
40792         [__ASSUME_32BITUIDS]: Make code unconditional.
40793         [!__ASSUME_32BITUIDS]: Remove conditional code.
40794         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40795         <kernel-features.h>.
40796         [__ASSUME_32BITUIDS]: Make code unconditional.
40797         [!__ASSUME_32BITUIDS]: Remove conditional code.
40798         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40799         <kernel-features.h>.
40800         [__ASSUME_32BITUIDS]: Make code unconditional.
40801         [!__ASSUME_32BITUIDS]: Remove conditional code.
40802         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40803         <kernel-features.h>.
40804         [__ASSUME_32BITUIDS]: Make code unconditional.
40805         [!__ASSUME_32BITUIDS]: Remove conditional code.
40806         * sysdeps/unix/sysv/linux/kernel-features.h
40807         (__ASSUME_SETRESUID_SYSCALL): Remove.
40808         (__ASSUME_SETRESGID_SYSCALL): Likewise.
40809         (__ASSUME_32BITUIDS): Likewise.
40810         (__ASSUME_LDT_WORKS): Likewise.
40811         (__ASSUME_O_DIRECTORY): Likewise.
40812         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40813         architecture but not kernel version.
40814         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40815         (__ASSUME_MMAP2_SYSCALL): Likewise.
40816         (__ASSUME_STAT64_SYSCALL): Likewise.
40817         (__ASSUME_IPC64): Likewise.
40818         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40819         <kernel-features.h>.
40820         [__ASSUME_32BITUIDS]: Make code unconditional.
40821         [!__ASSUME_32BITUIDS]: Remove conditional code.
40822         * sysdeps/unix/sysv/linux/opendir.c: Do not include
40823         <kernel-features.h>.
40824         [__ASSUME_O_DIRECTORY]: Make code unconditional.
40825         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40826         132096]: Remove conditional code.
40827         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40828         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40829         <kernel-features.h>.
40830         [__ASSUME_32BITUIDS]: Make code unconditional.
40831         [!__ASSUME_32BITUIDS]: Remove conditional code.
40832         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40833         <kernel-features.h>.
40834         [__ASSUME_32BITUIDS]: Make code unconditional.
40835         [!__ASSUME_32BITUIDS]: Remove conditional code.
40836         * sysdeps/unix/sysv/linux/setegid.c: Do not include
40837         <kernel-features.h>.
40838         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40839         unconditional.
40840         (__setresgid): Do not declare.
40841         [__ASSUME_32BITUIDS]: Make code unconditional.
40842         [!__ASSUME_32BITUIDS]: Remove conditional code.
40843         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40844         <kernel-features.h>.
40845         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40846         unconditional.
40847         (__setresuid): Do not declare.
40848         [__ASSUME_32BITUIDS]: Make code unconditional.
40849         [!__ASSUME_32BITUIDS]: Remove conditional code.
40850         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40851         <kernel-features.h>.
40852         [__ASSUME_32BITUIDS]: Make code unconditional.
40853         [!__ASSUME_32BITUIDS]: Remove conditional code.
40854         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40855         <kernel-features.h>.
40856         [__ASSUME_32BITUIDS]: Make code unconditional.
40857         [!__ASSUME_32BITUIDS]: Remove conditional code.
40859 2012-05-25  Richard Henderson  <rth@twiddle.net>
40861         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40862         dl_hwcap to ifunc resolver.
40863         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40864         elf_ifunc_invoke.
40865         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40866         dl_hwcap to ifunc resolver.
40867         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40869 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40871         [BZ #14153]
40872         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40873         for |x| <= 2**-26, not 2**-57.
40874         * math/libm-test.inc (acos_test): Do not allow spurious underflow
40875         exception.
40877 2012-05-24  Jeff Law  <law@redhat.com>
40879         * stdio-common/Makefile (tests): Add bug25.
40880         * stdio-common/bug25.c: New test.
40882 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40884         [BZ #13576]
40885         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40886         multiple of MALLOC_ALIGNMENT in size.
40887         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40889 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40891         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40892         Require >= 256.
40893         (FILENAME_MAX): Use macro-int-constant.
40894         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
40895         (_IOFBF): Use macro-int-constant.
40896         (_IOLBF): Likewise.
40897         (_IONBF): Likewise.
40898         (SEEK_CUR): Likewise.
40899         (SEEK_END): Likewise.
40900         (SEEK_SET): Likewise.
40901         (TMP_MAX): Likewise.
40902         (EOF): Use macro-int-constant.  Require < 0.
40903         (NULL): Use macro-constant.  Require == 0.
40904         (stdin): Require type to be FILE *.
40905         (stdout): Likewise.
40906         (stderr): Likewise.
40907         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40908         macro-int-constant.
40909         (EXIT_SUCCESS): Likewise.
40910         (NULL): Use macro-constant.  Require == 0.
40911         (RAND_MAX): Use macro-int-constant.
40912         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40913         [C99-based standards] (strtof): Require function.
40914         [C99-based standards] (strtold): Likewise.
40915         [C99-based standards] (strtoll): Likewise.
40916         [C99-based standards] (strtoull): Likewise.
40917         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40918         [ISO || ISO99 || ISO11] (limits.h): Likewise.
40919         [ISO || ISO99 || ISO11] (math.h): Likewise.
40920         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40921         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40922         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40924 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
40926         [BZ #14132]
40927         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40928         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40929         * intl/dgettext.c (DCGETTEXT): Likewise.
40930         * intl/gettext.c (DCGETTEXT): Likewise.
40931         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40932         * posix/regex_internal.h (gettext): Likewise.
40933         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40934         Remove declaration.
40935         * include/argz.h (__argz_count_internal)
40936         (__argz_stringify_internal): Remove declaration.
40937         (__argz_count, __argz_stringify): Declare hidden proto.
40938         * intl/dcgettext.c: Remove use of INTDEF.
40939         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40940         * string/argz-stringify.c: Likewise.
40941         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40942         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40943         Declare hidden proto.
40944         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40945         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40946         Declare hidden proto.
40947         * include/stdio.h (__asprintf_internal): Don't declare.
40948         (__asprintf): Don't define as macro.  Declare hidden proto.
40949         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40950         (__fsetlocking): Declare hidden proto.
40951         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40952         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40953         hidden proto.
40954         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40955         (_IO_setlinebuf): Remove use of INTUSE.
40956         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40957         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40958         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40959         Remove declaration.
40960         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40961         (_IO_do_flush): Remove use of INTUSE.
40962         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40963         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40964         (_IO_adjust_column, _IO_least_wmarker)
40965         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40966         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40967         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40968         (_IO_default_doallocate, _IO_wdefault_doallocate)
40969         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40970         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40971         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40972         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40973         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40974         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40975         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40976         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40977         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40978         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40979         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40980         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40981         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40982         proto.
40983         (_IO_flush_all_internal, _IO_adjust_column_internal)
40984         (_IO_default_uflow_internal, _IO_default_finish_internal)
40985         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40986         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40987         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40988         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40989         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40990         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40991         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40992         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40993         (_IO_file_close_internal, _IO_file_close_it_internal)
40994         (_IO_file_underflow_internal, _IO_file_overflow_internal)
40995         (_IO_file_init_internal, _IO_file_attach_internal)
40996         (_IO_file_fopen_internal, _IO_file_read_internal)
40997         (_IO_file_sync_internal, _IO_file_seek_internal)
40998         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40999         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41000         (_IO_str_underflow_internal, _IO_str_overflow_internal)
41001         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41002         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41003         (_IO_list_all_internal, _IO_link_in_internal)
41004         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41005         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41006         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41007         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41008         (_IO_do_write_internal, _IO_padn_internal)
41009         (_IO_getline_info_internal, _IO_getline_internal)
41010         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41011         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41012         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41013         (_IO_vfscanf_internal, _IO_vfprintf_internal)
41014         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41015         (_IO_init_internal, _IO_un_link_internal): Don't declare.
41016         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41017         with libc_hidden_ver, remove use of INTUSE.
41018         * libio/genops.c: Likewise.
41019         * libio/freopen.c: Likewise.
41020         * libio/freopen64.c: Likewise.
41021         * libio/iofclose.c: Likewise.
41022         * libio/iofdopen.c: Likewise.
41023         * libio/iofflush.c: Likewise.
41024         * libio/iofflush_u.c: Likewise.
41025         * libio/iofgets.c: Likewise.
41026         * libio/iofgets_u.c: Likewise.
41027         * libio/iofopen.c: Likewise.
41028         * libio/iofopncook.c: Likewise.
41029         * libio/iofread.c: Likewise.
41030         * libio/iofread_u.c: Likewise.
41031         * libio/ioftell.c: Likewise.
41032         * libio/iofwrite.c: Likewise.
41033         * libio/iogetline.c: Likewise.
41034         * libio/iogets.c: Likewise.
41035         * libio/iogetwline.c: Likewise.
41036         * libio/iopadn.c: Likewise.
41037         * libio/iopopen.c: Likewise.
41038         * libio/ioseekoff.c: Likewise.
41039         * libio/ioseekpos.c: Likewise.
41040         * libio/iosetbuffer.c: Likewise.
41041         * libio/iosetvbuf.c: Likewise.
41042         * libio/ioungetc.c: Likewise.
41043         * libio/ioungetwc.c: Likewise.
41044         * libio/iovdprintf.c: Likewise.
41045         * libio/iovsprintf.c: Likewise.
41046         * libio/iovsscanf.c: Likewise.
41047         * libio/memstream.c: Likewise.
41048         * libio/obprintf.c: Likewise.
41049         * libio/oldfileops.c: Likewise.
41050         * libio/oldiofclose.c: Likewise.
41051         * libio/oldiofdopen.c: Likewise.
41052         * libio/oldiofopen.c: Likewise.
41053         * libio/oldiopopen.c: Likewise.
41054         * libio/oldstdfiles.c: Likewise.
41055         * libio/putc.c: Likewise.
41056         * libio/setbuf.c: Likewise.
41057         * libio/setlinebuf.c: Likewise.
41058         * libio/stdfiles.c: Likewise.
41059         * libio/strops.c: Likewise.
41060         * libio/vasprintf.c: Likewise.
41061         * libio/vscanf.c: Likewise.
41062         * libio/vsnprintf.c: Likewise.
41063         * libio/vswprintf.c: Likewise.
41064         * libio/wfiledoalloc.c: Likewise.
41065         * libio/wfileops.c: Likewise.
41066         * libio/wgenops.c: Likewise.
41067         * libio/wmemstream.c: Likewise.
41068         * libio/wstrops.c: Likewise.
41069         * libio/__fpurge.c: Likewise.
41070         * libio/__fsetlocking.c: Likewise.
41071         * assert/assert.c: Likewise.
41072         * debug/fgets_chk.c: Likewise.
41073         * debug/fgets_u_chk.c: Likewise.
41074         * debug/fread_chk.c: Likewise.
41075         * debug/fread_u_chk.c: Likewise.
41076         * debug/gets_chk.c: Likewise.
41077         * debug/obprintf_chk.c: Likewise.
41078         * debug/vasprintf_chk.c: Likewise.
41079         * debug/vdprintf_chk.c: Likewise.
41080         * debug/vsnprintf_chk.c: Likewise.
41081         * debug/vsprintf_chk.c: Likewise.
41082         * malloc/mtrace.c: Likewise.
41083         * misc/error.c: Likewise.
41084         * misc/syslog.c: Likewise.
41085         * stdio-common/asprintf.c: Likewise.
41086         * stdio-common/fxprintf.c: Likewise.
41087         * stdio-common/getw.c: Likewise.
41088         * stdio-common/isoc99_fscanf.c: Likewise.
41089         * stdio-common/isoc99_scanf.c: Likewise.
41090         * stdio-common/isoc99_vfscanf.c: Likewise.
41091         * stdio-common/isoc99_vscanf.c: Likewise.
41092         * stdio-common/isoc99_vsscanf.c: Likewise.
41093         * stdio-common/printf-prs.c: Likewise.
41094         * stdio-common/printf_fp.c: Likewise.
41095         * stdio-common/printf_fphex.c: Likewise.
41096         * stdio-common/printf_size.c: Likewise.
41097         * stdio-common/putw.c: Likewise.
41098         * stdio-common/scanf.c: Likewise.
41099         * stdio-common/sprintf.c: Likewise.
41100         * stdio-common/tmpfile.c: Likewise.
41101         * stdio-common/vfprintf.c: Likewise.
41102         * stdio-common/vfscanf.c: Likewise.
41103         * stdlib/strfmon_l.c: Likewise.
41104         * sunrpc/openchild.c: Likewise.
41105         * sunrpc/xdr_stdio.c: Likewise.
41106         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41107         * sysdeps/mach/hurd/tmpfile.c: Likewise.
41109 2012-05-24  Roland McGrath  <roland@hack.frob.com>
41111         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41113         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41114         in the third column, to generate for the shared library an IFUNC
41115         that uses _dl_vdso_vsym.
41116         * Makerules (COMPILE.c, compile-stdin.c): New variables.
41117         * Makeconfig (object-suffixes-noshared): New variable.
41119         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41120         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41121         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41122         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41124         [BZ #14132]
41125         * include/sys/time.h (__gettimeofday): Remove macro.
41126         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41127         * time/gettimeofday.c (__gettimeofday): Remove #undef.
41128         Remove INTDEF.
41129         (__gettimeofday): Add libc_hidden_def.
41130         (gettimeofday): Add libc_hidden_weak.
41131         * sysdeps/mach/gettimeofday.c: Likewise.
41132         * sysdeps/posix/gettimeofday.c: Likewise.
41133         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41134         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41135         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41136         (__gettimeofday_internal): Remove strong_alias.
41137         (__gettimeofday): Add libc_hidden_def.
41138         (gettimeofday): Add libc_hidden_weak.
41139         * sysdeps/unix/syscalls.list (gettimeofday):
41140         Remove __gettimeofday_internal alias.
41142 2012-05-24  Daniel Jacobowitz  <drow@false.org>
41143             H.J. Lu  <hongjiu.lu@intel.com>
41145         [BZ #12495]
41146         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41147         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41148         (largebin_index_32_big): New.
41149         (largebin_index): Use it for 16-byte alignment.
41150         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
41151         correction with front_misalign.
41153 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41157         Likewise.
41158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41159         Likewise.
41160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41161         Likewise.
41162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41163         Likewise.
41164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41165         Likewise.
41166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41167         Likewise.
41168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41169         Likewise.
41170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41171         Likewise.
41172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41173         Likewise.
41174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41175         Likewise.
41176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41177         Likewise.
41178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41179         Likewise.
41181         * scripts/data/c++-types-x32-linux-gnu.data: New file.
41182         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41184 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41186         [BZ #10846]
41187         [BZ #14036]
41188         * math/libm-test.inc (exp_test): Add test from bug 14036.
41189         (pow_test): Add test from bug 10846.
41191         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41192         and other flags.
41193         (special_function): Do not include flags in test name.
41194         (parse_args): Likewise.
41195         * sysdeps/i386/fpu/libm-test-ulps: Update.
41196         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41197         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41198         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41201         * math/gen-libm-test.pl (%beautify): Add entries for underflow
41202         exceptions.
41203         * math/libm-test.inc ("Philosophy"): Update comment about
41204         exception testing.
41205         (UNDERFLOW_EXCEPTION): New macro.
41206         (UNDERFLOW_EXCEPTION_OK): Likewise.
41207         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41208         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41209         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41210         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41211         (INVALID_EXCEPTION_OK): Update value.
41212         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41213         (OVERFLOW_EXCEPTION_OK): Likewise.
41214         (IGNORE_ZERO_INF_SIGN): Likewise.
41215         (test_exceptions): Handle underflow exceptions.
41216         (acos_test): Update for underflow exception expectations.
41217         (cexp_test): Likewise.
41218         (clog_test): Likewise.
41219         (clog10_test): Likewise.
41220         (csqrt_test): Likewise.
41221         (ctan_test): Likewise.
41222         (ctanh_test): Likewise.
41223         (exp_test): Likewise.
41224         (exp10_test): Likewise.
41225         (exp2_test): Likewise.
41226         (expm1_test): Likewise.
41227         (fma_test): Likewise.
41228         (j0_test): Likewise.
41229         (jn_test): Likewise.
41230         (nexttoward_test): Likewise.
41231         (pow_test): Likewise.
41232         (scalbn_test): Likewise.
41233         (scalbln_test): Likewise.
41234         (tan_test): Likewise.
41235         (y1_test): Likewise.
41236         * sysdeps/i386/fpu/libm-test-ulps: Update.
41237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41239 2012-05-23  David S. Miller  <davem@davemloft.net>
41241         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41242         (__libc_sigaction): Remove unused local variables.
41244 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41246         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41248 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
41250         mktime: avoid signed integer overflow
41251         * time/mktime.c (__mktime_internal): Do not mishandle the case
41252         where diff == INT_MIN.
41254         mktime: simplify computation of average
41255         * time/mktime.c (ranged_convert): Use new time_t_avg function
41256         instead of rolling our own (probably-slower) code.
41258         mktime: do not assume signed right shift propagates sign bit
41259         * time/mktime.c (isdst_differ): New static function.
41260         (__mktime_internal): No need to normalize tm_isdst now.
41261         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41262         tm_isdst values.
41264         mktime: merge another wrapv change from gnulib
41265         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41266         from some compilers.
41268         mktime: remove incorrect attempt at unusual arithmetics
41269         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41270         The code didn't really work on such machines anyway.
41271         (TYPE_MINIMUM): Assume two's complement.
41272         (twos_complement_arithmetic): Verify that long_int and time_t
41273         are two's complement (or unsigned, in the latter case).
41275         mktime: check signed shifts on long_int and time_t, too
41276         * time/mktime.c (SHR): Check that shifts work as desired
41277         on the types long_int and time_t too, as SHR is used on
41278         such types.
41280         mktime: do not assume 'long' is wide enough
41281         * time/mktime.c (verify): Move decl up.
41282         (long_int): New type.
41283         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41284         to remove assumption in the code that 'long' is wide enough to
41285         store year values.  This assumption is not true on x32 and on
41286         some non-glibc platforms.
41288         mktime: merge wrapv change from gnulib
41289         * time/mktime.c (WRAPV): New macro.
41290         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41291         (guess_time_tm, __mktime_internal): Do not assume that signed
41292         integer overflow wraps around; modern compilers generate code
41293         where this assumption is no longer valid.
41295 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41297         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41298         Replace "jmp L(pseudo_end)" with "ret".
41299         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41300         Likewise.
41302 2012-05-23  Andreas Jaeger  <aj@suse.de>
41304         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41305         * sysdeps/unix/sysv/linux/poll.c: Remove file.
41307 2012-05-23  Andreas Jaeger  <aj@suse.de>
41308             Maximilian Attems  <max@stro.at>
41310         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41311         New macros.
41313 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41315         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41316         code so that pseudo_end is just ret and the stack pointer is
41317         correct also for static library in error case.
41319 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
41321         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41322         move to syscalls.list.
41323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41328         * manual/install.texi (Running make install): Do not mention Linux
41329         kernel version for which pt_chown is not needed.
41330         (Linux): Do not mention problems with nscd with 2.0 kernels.
41331         * INSTALL: Regenerated.
41333 2012-05-23  Andreas Jaeger  <aj@suse.de>
41335         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41336         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41337         macro.
41338         * sysdeps/unix/sysv/linux/s390/bits/mman.h
41339         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41340         * sysdeps/unix/sysv/linux/sh/bits/mman.h
41341         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41342         * sysdeps/unix/sysv/linux/i386/bits/mman.h
41343         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41344         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41345         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41346         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41347         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41348         * sysdeps/unix/sysv/linux/bits/in.h
41349         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41351 2012-05-22  Roland McGrath  <roland@hack.frob.com>
41353         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41354         (PREPARE_VERSION): Just use assert instead, it will be elided
41355         under [NDEBUG] anyway.
41357 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41359         * sysdeps/unix/sysv/linux/Makefile: Include
41360         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41361         (sysdep_routines): Remove sysctl.
41362         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41363         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41364         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41365         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41366         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41368 2012-05-22  Andreas Jaeger  <aj@suse.de>
41370         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41371         that pseudo_end is just ret and the stack pointer is correct also
41372         for static library in error case.
41374 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
41376         [BZ #14122]
41377         * nss/nsswitch.c (defconfig_entries): New variable.
41378         (__nss_database_lookup): Don't leak defconfig entries.
41379         (nss_parse_service_list): Don't leak on error paths.
41380         (free_database_entries): New function.
41381         (free_defconfig): New function.
41382         (free_mem): Move common code to free_database_entries.
41384 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41386         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41387         Add arch_prctl.
41388         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41390         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41391         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41392         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41393         New macro.
41394         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41395         (INTERNAL_SYSCALL_TYPES): Likewise.
41396         (LOAD_ARGS_TYPES_[1-6]): Likewise.
41397         (LOAD_REGS_TYPES_[1-6]): Likewise.
41398         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41399         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41401 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41403         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41404         copysignl for GLIBC_2_0.
41405         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41406         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41407         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41408         logbl for GLIBC_2_0.
41409         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41410         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41412 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41414         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41415         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41417         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41418         Use "neg %eax".
41420         * time/mktime.c: Update copyright years.
41422 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
41424         mktime: merge comment-quoting-style change from gnulib
41425         * time/mktime.c: Quote 'like this' in comments.
41426         The GNU coding standards suggest that we no longer quote `like this',
41427         as "`" and "'" are typically rendered asymmetrically nowadays.
41428         The typical gnulib style is to quote 'like this' when quoting
41429         code, and "like this" when quoting English.
41431         * time/mktime.c (compile-command): Add "-I.".
41433         mktime: merge mktime-internal.h change from gnulib
41434         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41436         mktime: merge time_r change from gnulib
41437         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41439         mktime: merge DEBUG change from gnulib
41440         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41441         case system <time.h> has a #define.
41443         mktime: merge <sys/types.h> change from gnulib
41444         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41445         since <time.t> is now guaranteed to define time_t.
41447         mktime: merge HAVE_CONFIG_H change from gnulib
41448         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41450 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41452         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41453         Use "neg %eax".
41455         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41456         __rlim_t cast.
41457         (struct rusage): Use anonymous union to pad each field to
41458         __syscall_slong_t.
41460 2012-05-21  David S. Miller  <davem@davemloft.net>
41462         * Makefules (o-iterator): Remove .s cases.
41463         (compile-command.s): Delete.
41464         (COMPILE.s): Delete.
41465         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41467 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
41469         * configure.in (libc_cv_predef_stack_protector): Only consider
41470         "foobar" and "__stack_chk_fail" lines in libc_undefs.
41471         * configure: Regenerated.
41473 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41475         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41476         New macro.  Use R*LP on int and pointer.
41477         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41478         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41479         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41480         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41482         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41483         [__WORDSIZE_TIME64_COMPAT32] instead of
41484         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41485         (struct utmp): Likewise.
41486         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41487         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41488         Renamed to ...
41489         (__WORDSIZE_TIME64_COMPAT32): This.
41490         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41491         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41492         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41493         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41494         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41495         (__WORDSIZE_TIME64_COMPAT32): New macro.
41497 2012-05-21  Andreas Jaeger  <aj@suse.de>
41499         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41500         only if [SHARED]. Add prototype for __wcschr_ia32.
41502 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41504         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41505         of %rbp unmolested in the jmp_buf while mangling the low bits.
41506         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41507         unmolested high bits of %rbp while demangling the low bits.
41508         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41510 2012-05-21  Andreas Jaeger  <aj@suse.de>
41512         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41513         * sunrpc/svc_simple.c: Use it for registerrpc.
41514         * sunrpc/xcrypt.c: Use it for passwd2des.
41516         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41518 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41520         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41521         Don't define if [__SYSCALL_WORDSIZE != 32].
41522         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41523         New macro.
41525 2012-05-21  Bruno Haible  <bruno@clisp.org>
41526             Andreas Jaeger  <aj@suse.de>
41528         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41529         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41530         inptr and inend for must_buffer_ch.
41531         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41532         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41533         * stdio-common/Makefile (tests): Remove bug15.
41534         (bug15-ENV): Remove macro.
41535         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41536         anymore.
41538 2012-05-19  Andreas Jaeger  <aj@suse.de>
41539             Roland McGrath  <roland@hack.frob.com>
41541         * manual/contrib.texi: Completely rewritten. It contains now an
41542         alphabetical list of contributors and their contributions.
41544 2012-05-21  Richard Henderson  <rth@twiddle.net>
41546         * misc/getauxval.c (__getauxval): Use unsigned long int.
41547         * misc/sys/auxv.h: Include <sys/cdefs.h>.
41548         (getauxval): Use unsigned long int.
41550 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41552         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41554 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41556         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41557         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41558         __alignof__ (long double).
41560 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41564 2012-05-20  Richard Henderson  <rth@twiddle.net>
41566         * misc/getauxval.c: New file.
41567         * misc/sys/auxv.h: New file.
41568         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41569         (routines): Add getauxval.
41570         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41571         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41572         * elf/dl-sysdep.c (_dl_auxv): Remove.
41573         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41574         * elf/dl-support.c (_dl_auxv): New variable.
41575         (_dl_aux_init): Initialize it.
41576         * manual/startup.texi (Auxiliary Vector): New node.
41577         * sysdeps/generic/bits/hwcap.h: New file.
41578         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41579         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
41580         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41581         * sysdeps/sparc/sysdep.h: ... here.  Include it.
41582         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41583         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41585         Update.
41586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41589         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41595 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41599 2012-05-19  David S. Miller  <davem@davemloft.net>
41601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41603 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41605         [BZ #14123]
41606         * math/s_ccosh.c: Include <float.h>
41607         (__ccosh): Avoid internal overflow calculating sinh and cosh
41608         values before multiplying by sin and cos values.
41609         * math/s_ccoshf.c: Likewise.
41610         * math/s_ccoshl.c: Likewise.
41611         * math/s_csin.c: Likewise.
41612         * math/s_csinf.c: Likewise.
41613         * math/s_csinl.c: Likewise.
41614         * math/s_csinh.c: Likewise.
41615         * math/s_csinhf.c: Likewise.
41616         * math/s_csinhl.c: Likewise.
41617         * math/libm-test.inc (ccos_test): Add more tests.
41618         (ccosh_test): Likewise.
41619         (csin_test): Likewise.
41620         (csinh_test): Likewise.
41621         * sysdeps/i386/fpu/libm-test-ulps: Update.
41622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41624 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
41626         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41627         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41629         * sysdeps/x86_64/x32/_itoa.h: Add comment.
41631 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41633         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41634         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41635         * sysdeps/powerpc/soft-fp/Versions: Likewise.
41636         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41637         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41638         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41639         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41640         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41641         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41642         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41643         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41644         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41645         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41646         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41647         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41648         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41649         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41650         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41651         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41652         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41653         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41654         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41655         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41656         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41657         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41658         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41659         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41660         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41661         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41662         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41663         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41665 2012-05-18  Andreas Jaeger  <aj@suse.de>
41667         * csu/.gitignore: Delete.
41669 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41671         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41672         (timex): Use __syscall_slong_t.
41674 2012-05-18  Andreas Jaeger  <aj@suse.de>
41675             Carlos O'Donell  <carlos_odonell@mentor.com>
41677         * manual/install.texi (Configuring and compiling): Update
41678         description about files modified in the source directory.
41679         * INSTALL: Regenerated.
41681 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41683         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41684         value.  Use "or" to set return value to -1.
41685         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41686         negate return value.
41688 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41690         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41691         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41692         failure if the compiler has Graphite support disabled.
41693         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41694         Likewise.
41695         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41696         (CFLAGS-memmove.c): Likewise.
41697         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41698         Likewise.
41700 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41702         * sysdeps/x86_64/x32/_itoa.h: New file.
41704         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41705         getdents system call only if kernel and user dirents have the
41706         same d_ino and d_off.
41708         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41709         LLONG_MAX != LONG_MAX.
41710         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41711         (_fitoa_word): Likewise.
41713         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41714         years.
41715         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41716         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41717         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41719         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41720         include <bits/wordsize.h>.  Check __x86_64__ instead of
41721         __WORDSIZE.
41722         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41723         if __x86_64__ is defined.  Use anonymous union on fpstate.
41725         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41726         anonymous union.
41728 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
41730         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41731         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41732         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41733         Refer to _rtld_local_ro instead of _rtld_global_ro.
41734         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41735         Likewise.
41736         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41737         Likewise.
41738         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41739         Likewise.
41740         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41741         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41742         of _rtld_global, and rtld_progname instead of _dl_argv[0].
41744         * sysdeps/powerpc/powerpc32/dl-machine.c
41745         (__elf_machine_runtime_setup) [PROF]: Don't reference
41746         _dl_prof_resolve.
41748 2012-05-18  Andreas Jaeger  <aj@suse.de>
41750         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41751         function only available for GCCs before 3.4 since GCC 3.4
41752         introduced a builtin.
41753         (lrint): Likewise.
41754         (llrintf): Likewise.
41755         (llrint): Likewise.
41756         (fmaxf): Likewise.
41757         (fmax): Likewise.
41758         (fminf): Likewise.
41759         (fmin): Likewise.
41760         (rint): Likewise.
41761         (rintf): Likewise.
41762         (nearbyint): Likewise.
41763         (nearbyintf): Likewise.
41764         (ceil): Likewise.
41765         (ceilf): Likewise.
41766         (floor): Likewise.
41767         (floorf): Likewise.
41769 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41771         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41772         on both fields and cast pointer to __syscall_ulong_t.
41774         * bits/types.h (__fsword_t): New type.
41775         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41776         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41777         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41778         (__FSWORD_T_TYPE): Likewise.
41779         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41780         (__FSWORD_T_TYPE): Likewise.
41781         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41782         (__FSWORD_T_TYPE): Likewise.
41783         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41784         (__FSWORD_T_TYPE): Likewise.
41785         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41786         __SWORD_TYPE with __fsword_t.
41787         (statfs64): Likewise.
41789 2012-05-17  David S. Miller  <davem@davemloft.net>
41791         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41793 2012-05-17  Andreas Jaeger  <aj@suse.de>
41795         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41796         warning.
41798 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41800         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41802 2012-05-17  Andreas Jaeger  <aj@suse.de>
41804         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41805         when it is used.
41807 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41809         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41811 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41813         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41814         * sysdeps/x86_64/tst-mallocalign1.c: New file.
41816 2012-05-17  Andreas Jaeger  <aj@suse.de>
41817             Carlos O'Donell  <carlos_odonell@mentor.com>
41819         [BZ #14059]
41820         * sysdeps/x86_64/multiarch/init-arch.h
41821         (bit_YMM_Usable): Rename to...
41822         (bit_AVX_Usable): ... this.
41823         (bit_FMA4_Usable): New macro.
41824         (bit_XMM_state): New macro.
41825         (bit_YMM_state): New macro.
41826         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41827         [__ASSEMBLER__] (index_AVX_Usable): ... this.
41828         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41829         (CPUID_OSXSAVE): New macro.
41830         (CPUID_AVX): New macro.
41831         (CPUID_FMA4): New macro.
41832         (index_YMM_Usable): Rename to...
41833         (index_AVX_Usable): ... this.
41834         (HAS_AVX): Use HAS_ARCH_FEATURE.
41835         (HAS_FMA4): Likewise.
41836         (HAS_YMM_USABLE): Remove.
41837         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41838         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41839         are present.
41840         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41841         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41842         * sysdeps/x86_64/multiarch/Makefile: Likewise.
41843         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41844         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41846 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41848         * math/libm-test.c: Support platforms without multiple rounding modes.
41849         * math/bug-nextafter.c: Support platforms without FP exceptions.
41850         * math/bug-nexttoward.c: Likewise.
41851         * math/test-fenv.c: Likewise.
41852         * math/test-misc.c: Likewise.
41853         * stdlib/bug-getcontext.c: Likewise.
41855 2012-05-17  Andreas Jaeger  <aj@suse.de>
41857         * manual/examples/search.c (critter_cmp): Change signature to
41858         avoid warnings.
41859         * manual/string.texi (Collation Functions): Likewise.
41861 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41863         * bits/types.h: Fold copyright years.
41864         * bits/typesizes.h: Likewise.
41865         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41866         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41867         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41868         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41869         * time/time.h: Likewise.
41871 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
41873         [BZ #208]
41874         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41875         in instead of returning them.  Return void.
41876         (__libc_mallinfo): Accumulate over all arenas.
41877         (__malloc_stats): Adjust for change in int_mallinfo interface.
41879 2012-05-16  Roland McGrath  <roland@hack.frob.com>
41881         [BZ #10375]
41882         * configure.in (NM): Add AC_CHECK_TOOL for it.
41883         (libc_extra_cflags): New substituted variable.
41884         Check for -fstack-protector being used implicitly.
41885         * configure: Regenerated.
41886         * config.make.in (config-extra-cflags): New variable,
41887         gets @libc_extra_cflags@.
41888         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41890         [BZ #10375]
41891         * configure.in: Check for _FORTIFY_SOURCE being predefined.
41892         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41893         * configure: Regenerated.
41894         * config.make.in (CPPUNDEFS): New substituted variable.
41895         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41896         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41897         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41899 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41901         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41902         (mq_attr): Use __syscall_slong_t.
41904 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41906         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41907         Check __x86_64__ instead of __WORDSIZE.
41908         (_STAT_VER_LINUX): Likewise.
41909         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
41910         __syscall_ulong_t and __syscall_slong_t.
41911         (stat64): Likewise.
41913 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41915         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41917 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41919         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41921 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41923         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41924         __syscall_ulong_t.
41926         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41927         include <bits/wordsize.h>.  Check __x86_64__ instead of
41928         __WORDSIZE.
41929         (greg_t): Use "__extension__ long long int" if __x86_64__ is
41930         defined.
41931         (mcontext_t): Replace "unsigned long" with "unsigned long long".
41933         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41934         include <bits/wordsize.h>.  Check __x86_64__ instead of
41935         __WORDSIZE.
41936         (user_regs_struct): Use "__extension__ unsigned long long"
41937         instead of "unsigned long" if __x86_64__ is defined.
41938         (user): Likewise.  Pad after pointer field if __ILP32__ is
41939         defined.
41941 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
41943         * configure.in (makeinfo): Require version 4.5 or later.  Allow
41944         versions 5 to 9.
41945         * configure: Regenerated.
41946         * manual/install.texi (texinfo): Increase version requirement to
41947         4.5 or later.
41948         * INSTALL: Regenerated.
41950         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41952 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41954         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41956         * sysdeps/x86_64/x32/ffs.c: New file.
41958         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41959         __syscall_ulong_t.
41960         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41961         defined.  Use __syscall_ulong_t.
41962         (shminfo): Use __syscall_ulong_t.
41963         (shm_info): Likewise.
41965         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41966         __syscall_ulong_t.
41968         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41969         <bits/wordsize.h>.
41970         (msgqnum_t): Use __syscall_ulong_t.
41971         (msglen_t): Likewise.
41972         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
41973         __syscall_ulong_t.
41975         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41976         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41978         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41980         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41981         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41983         * sysvipc/sys/msg.h (msgbuf): Replace long int with
41984         __syscall_slong_t.
41986         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41987         include <bits/wordsize.h>.  Check __x86_64__ instead of
41988         __WORDSIZE.
41990         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41991         "unsigned long long int" if __x86_64__ is defined.
41992         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41994         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41995         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41996         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41998         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41999         <stdint.h>.
42000         (GET_PC): Cast to uintptr_t first.
42001         (GET_FRAME): Likewise.
42002         (GET_STACK): Likewise.
42004         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42005         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42006         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42007         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42008         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42009         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42010         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42011         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42012         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42013         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42014         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42015         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42016         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42017         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42018         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42019         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42020         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42021         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42022         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42023         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42024         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42025         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42026         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42027         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42028         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42029         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42030         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42031         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42032         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42034 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
42036         * Makerules (+depfiles): Also collect depfiles from .oS in
42037         $(extra-objs).
42038         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42039         .oS, $(libnldbl-routines)).
42041         * Makerules (native-compile-mkdep-flags): Define.
42042         * sunrpc/Makefile (extra-objs): Add $(addprefix
42043         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42044         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42045         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
42046         calling $(make-target-directory).
42048 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42050         * bits/types.h (__snseconds_t): Removed.
42051         * time/time.h (struct timespec): Replace __snseconds_t with
42052         __syscall_slong_t.
42053         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42054         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42055         Likewise.
42056         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42057         (__SNSECONDS_T_TYPE): Likewise.
42058         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42059         (__SNSECONDS_T_TYPE): Likewise.
42060         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42061         (__SNSECONDS_T_TYPE): Likewise.
42063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42065         * sysdeps/mach/hurd/bits/typesizes.h
42066         (__SYSCALL_SLONG_TYPE): New macro.
42067         (__SYSCALL_ULONG_TYPE): Likewise.
42069 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42071         * bits/types.h (__syscall_slong_t): New type.
42072         (__syscall_ulong_t): Likewise.
42074         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42075         (__SYSCALL_ULONG_TYPE): Likewise.
42076         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42077         (__SYSCALL_SLONG_TYPE): Likewise.
42078         (__SYSCALL_ULONG_TYPE): Likewise.
42079         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42080         (__SYSCALL_SLONG_TYPE): Likewise.
42081         (__SYSCALL_ULONG_TYPE): Likewise.
42082         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42083         (__SYSCALL_SLONG_TYPE): Likewise.
42084         (__SYSCALL_ULONG_TYPE): Likewise.
42086 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42088         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42089         Add sigaltstack-offsets.sym.
42090         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42091         <sigaltstack-offsets.h>.
42092         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
42093         longjmp_msg pointer.
42094         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
42095         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42096         signal stack.
42097         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42099 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42101         * elf/stackguard-macros.h: Remove file.
42102         * sysdeps/generic/stackguard-macros.h: New file.
42103         * sysdeps/i386/stackguard-macros.h: Likewise.
42104         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42105         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42106         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42107         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42108         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42109         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42110         * sysdeps/x86_64/stackguard-macros.h: Likewise.
42111         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42112         <elf/stackguard-macros.h>.
42114         [BZ #14109]
42115         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42116         __aligned__ in attribute.
42117         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42118         (gregset_t): Likewise.
42120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42122         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42123         * sysdeps/x86_64/64/Implies-after: Here.  New file.
42124         * sysdeps/x86_64/x32/Implies-after: New file.
42126 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42128         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42129         and access return value for _dl_profile_fixup.  Use R10_LP to
42130         load frame size.
42132 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42134         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42136 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42138         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42139         * sysdeps/x86_64/x32/sysdep.h: New file.
42141 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42143         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42144         * sysdeps/x86_64/setjmp.S: Likewise.
42146 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42148         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42149         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42150         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42151         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42152         remove unused global constant.
42154 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
42156         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42157         include of <not-cancel.h>.
42159 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42161         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42163 2012-05-15  Jeff Law  <law@redhat.com>
42164             Andreas Jaeger  <aj@suse.de>
42166         [BZ #13594]
42167         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42168         out from...
42169         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42170         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42171         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42172         code changing __hst_map_handle.map.
42174 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42176         * configure.in (sysnames): Look for Implies-before and Implies-after
42177         files.
42178         * configure: Regenerated.
42180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42182         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42183         8-byte data alignment with LP_SIZE alignment.
42185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42187         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42188         into R10_LP.
42190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42192         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42194 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42196         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42197         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42198         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42199         Likewise.
42200         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42204         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42205         (stackinfo_sub_sp): Likewise.
42207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42209         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42210         RAX_LP.
42212 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42214         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42215         into R*_LP.
42217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42219         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42220         sizes into R*_LP.
42222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42224         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42228         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42229         into R11_LP and load __x86_64_shared_cache_size_half into
42230         R8_LP.
42232 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42234         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42235         R8_LP.
42237 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42239         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42240         logb for POWER7.
42241         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42242         logbf for POWER7.
42243         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42244         logbl for POWER7.
42245         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42246         powerpc32/power7/fpu/s_logb.c via #include.
42247         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42248         powerpc32/power7/fpu/s_logbf.c via #include.
42249         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42250         powerpc32/power7/fpu/s_logbl.c via #include.
42252 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42254         * README.libm: Remove file.
42256 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42258         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42259         count for x32.  Use R*_LP and omit operand-size suffix.
42261 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42263         * shlib-versions: Move x86_64-.*-linux.* entries to ...
42264         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
42265         * sysdeps/x86_64/x32/shlib-versions: New file.
42267 2012-05-14  Roland McGrath  <roland@hack.frob.com>
42269         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42270         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42271         Use _dl_fatal_printf instead.
42273 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42275         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42276         set if not set by the user.  Do not allow for being unset.
42277         * sysdeps/unix/sysv/linux/configure: Regenerated.
42279 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42281         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42282         the `q' suffix from lea and replace .quad with ASM_ADDR.
42284 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42286         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42287         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
42288         instead of $17.
42289         (PTR_DEMANGLE): Likewise.
42291 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42293         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42294         (LP_OP): Likewise.
42295         (ASM_ADDR): Likewise.
42296         (RAX_LP): Likewise.
42297         (RBP_LP): Likewise.
42298         (RBX_LP): Likewise.
42299         (RCX_LP): Likewise.
42300         (RDI_LP): Likewise.
42301         (RSI_LP): Likewise.
42302         (RSP_LP): Likewise.
42303         (R8_LP): Likewise.
42304         (R9_LP): Likewise.
42305         (R10_LP): Likewise.
42306         (R10_LP): Likewise.
42307         (R11_LP): Likewise.
42308         (R12_LP): Likewise.
42309         (R13_LP): Likewise.
42310         (R14_LP): Likewise.
42311         (R15_LP): Likewise.
42313 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42315         * sysdeps/x86_64/x32/dl-machine.h: New file.
42317 2012-05-14  Andreas Jaeger  <aj@suse.de>
42319         * manual/Makefile (subdir): Remove export of subdir.
42320         (all): Remove target.
42321         (.PHONY): Remove all from list.
42322         (mkinstalldirs): Remove.
42323         (.PHONY): Remove installdirs from list.
42324         ($(inst_infodir)/libc.info): Use make-target-directory.
42325         (installdirs): Remove.
42326         (subdir_%): Remove.
42327         (glibc-targets): Remove.
42328         (lib): Remove.
42329         (stubs): Remove.
42330         ($(objpfx)stubs ../po/manual.pot): Remove.
42331         ($(objpfx)stamp%): Remove.
42332         (make-target-directory): Remove.
42333         (subdir_install): Remove.
42334         (routines): Remove.
42335         (aux): Remove.
42336         (sources): Remove.
42337         (objects): Remove.
42338         (headers): Remove.
42340         [BZ #13750]
42341         * manual/.gitignore: Remove, it's not needed anymore.
42342         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42343         all files in it.
42344         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42345         directory.
42346         (texis): Renamed to $(objpfx)texis.
42347         (texis-path): New, contains path to generated files.
42348         (chapters.%): Use texis-path for complete path, add extra argument
42349         libc-texinfo.sh.
42350         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42351         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42352         (summary,texi, stamp-summary): Use complete path of
42353         files. Generate files in build dir.
42354         (dir-add.texi): Build in build dir.
42355         (libm-err.texi,stamp-libm-err): Likewise.
42356         (version.texi, stamp-version): Likewise.
42357         (.%c.texi): Likewise.
42358         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42359         (mostlyclean): Remove target.
42360         (realclean): Remove target.
42361         (generated): Add new variable with contents from mostlyclean and
42362         realclean, remove entries duplicated in common-mostlyclean, add
42363         stamp-libm-err and stamp-version.
42364         (generated-dirs): Add libc directory.
42365         ($(inst_infodir)/libc.info): Install files from build dir.
42367         * manual/install.texi (Configuring and compiling): Adjust since
42368         the info files are not part of the tar ball anymore.
42370 2012-05-14  Andreas Jaeger  <aj@suse.de>
42372         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42373         variable.
42375 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42377         [BZ #13717]
42378         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42379         to 2.2.0 where earlier.
42380         * sysdeps/unix/sysv/linux/configure: Regenerated.
42381         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42382         Remove conditional code.
42383         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42384         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42385         Remove conditional code.
42386         [!__NR_lchown]: Likewise.
42387         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42388         [__NR_lchown]: Likewise.
42389         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42390         comment referencing __ASSUME_LCHOWN_SYSCALL.
42391         * sysdeps/unix/sysv/linux/i386/sigaction.c
42392         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42393         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42394         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42395         Remove conditional code.
42396         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42397         (__protocol_available): Remove #if 0 code.
42398         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42399         conditional code.
42400         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42401         * sysdeps/unix/sysv/linux/kernel-features.h
42402         (__ASSUME_GETCWD_SYSCALL): Don't define.
42403         (__ASSUME_REALTIME_SIGNALS): Likewise.
42404         (__ASSUME_PREAD_SYSCALL): Likewise.
42405         (__ASSUME_PWRITE_SYSCALL): Likewise.
42406         (__ASSUME_POLL_SYSCALL): Likewise.
42407         (__ASSUME_LCHOWN_SYSCALL): Likewise.
42408         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42409         non-SPARC.
42410         (__ASSUME_SIOCGIFNAME): Don't define.
42411         (__ASSUME_MSG_NOSIGNAL): Likewise.
42412         (__ASSUME_SENDFILE): Define unconditionally.
42413         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42414         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42415         conditional code.
42416         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42417         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42418         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42419         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42420         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42421         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42422         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42424         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42425         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42427         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42428         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42430         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42431         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42433         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42434         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42436         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42437         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42439         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42440         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42442         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42443         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42445         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42446         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42447         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42448         Remove conditional code.
42449         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42450         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42451         Remove conditional code.
42452         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42453         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42454         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42455         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42456         Remove conditional code.
42457         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42458         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42459         Remove conditional code.
42460         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42461         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42462         Remove conditional code.
42463         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42464         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42465         Remove conditional code.
42466         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42467         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42468         Remove conditional code.
42469         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42470         * sysdeps/unix/sysv/linux/sh/pwrite64.c
42471         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42472         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42473         * sysdeps/unix/sysv/linux/sigaction.c
42474         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42475         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42476         * sysdeps/unix/sysv/linux/sigpending.c
42477         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42478         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42479         * sysdeps/unix/sysv/linux/sigprocmask.c
42480         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42481         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42482         * sysdeps/unix/sysv/linux/sigsuspend.c
42483         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42484         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42485         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42486         (__libc_missing_rt_sigs): Remove.
42487         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42488         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42489         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42490         Remove conditional code.
42491         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42492         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42493         return 1.
42494         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42495         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42496         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42497         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42499 2012-05-14  Andreas Jaeger  <aj@suse.de>
42501         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42502         it's not used in glibc.
42503         (__coshm1): Likewise.
42504         (__acosh1p): Likewise.
42505         (__sgn): Likewise.
42507         * manual/string.texi (Copying and Concatenation): Add missing
42508         variable in concat example.
42509         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42511 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42513         [BZ #14103]
42514         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42515         __builtin_clzl with __builtin_clzll.
42517 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42519         [BZ #14104]
42520         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42521         libc_freeres_ptr.
42523 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42525         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42526         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42527         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42528         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42530 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
42532         * NEWS: Update ia64 info.
42534 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
42536         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42537         used as bcopy.
42539 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
42541         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42542         * sysdeps/unix/syscalls.list (dup3): Likewise.
42543         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42544         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42546 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42548         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42549         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42551 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42553         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42554         thread pointer.
42555         (TLS_IE): Use mov/add instead of movq/addq to load thread
42556         pointer.
42557         (TLS_GD_PREFIX): New.
42558         (TLS_GD): Use it.
42560 2012-05-11  David S. Miller  <davem@davemloft.net>
42562         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42563         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42564         (_FPU_SETCW): Likewise.
42566 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42568         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42569         is 32-byte aligned.
42571 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
42573         [BZ #11837]
42574         * iconvdata/gb18030.c: Update tables.
42575         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
42576         characters specially.
42577         (BODY for TO_LOOP): Add encoding of missing ranges.
42579 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
42581         [BZ #13673]
42582         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42583         * sysdeps/mach/hurd/dup3.c: Likewise.
42584         * sysdeps/mach/hurd/readlinkat.c: Likewise.
42585         * sysdeps/powerpc/memmove.c:: Likewise.
42587 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42589         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42590         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42592 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42594         * elf/elf.h (R_X86_64_RELATIVE64): New.
42595         (R_X86_64_NUM): Updated.
42596         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42597         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
42598         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42599         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42600         tst-quad1pie tst-quad2pie
42601         (modules-names): Add tst-quadmod1 tst-quadmod2.
42602         ($(objpfx)tst-quad1): New dependency.
42603         ($(objpfx)tst-quad2): Likewise.
42604         ($(objpfx)tst-quad1pie): Likewise.
42605         ($(objpfx)tst-quad2pie): Likewise.
42606         * sysdeps/x86_64/tst-quad1.c: New file.
42607         * sysdeps/x86_64/tst-quad1pie.c: New file.
42608         * sysdeps/x86_64/tst-quad2.c: Likewise.
42609         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42610         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42611         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42612         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42613         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42615 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42617         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42618         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42619         * streams/stropts.h (t_scalar_t): Define type.
42621         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42622         (_PATH_PRESERVE): Set to "/var/lib".
42623         (_PATH_RWHODIR): Set to "/var/spool/rwho".
42625         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42626         instead of int.
42628         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42629         if __dir_mkfile succeeded.
42631         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42632         checking for _hurd_dtablesize.  Unlock it right after having
42633         finished _hurd_dtable allocation.
42635 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42637         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42638         * sysdeps/mach/hurd/configure: Regenerated.
42639         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42640         special-casing to...
42641         * sysdeps/gnu/configure.in: ... this new file.
42642         * sysdeps/unix/sysv/linux/configure: Regenerated.
42643         * sysdeps/gnu/configure: New generated file.
42645         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42646         for Linux: use nsec instead of usec, as well as:
42647         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42648         members of type struct timespec.
42649         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42650         New macros.
42651         (struct stat64): Likewise.
42652         (_STATBUF_ST_NSEC): New macro.
42653         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42655         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42656         __strtoul_internal rather than strtoul.
42658 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42660         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42661         and reject them.
42663 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42665         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42666         which preserves existing values.
42667         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42669 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42671         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42672         TIMEOUT values.  Return EINVAL for NFDS values either negative or
42673         greater than FD_SETSIZE.
42675 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42677         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42678         allocated, call __vm_protect to finish enabling the existing space, and
42679         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42680         allocate the remainder.
42682 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42684         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42685         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
42687 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42689         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42690         sysdeps/mach/hurd/readlink.c.
42692         * posix/tst-sysconf.c (posix_options): Only use
42693         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42694         _POSIX_SYNCHRONIZED_IO when they are defined
42695         * sysdeps/mach/hurd/bits/posix_opt.h:
42696         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42697         (_XOPEN_REALTIME): Undefine macro.
42698         (_XOPEN_REALTIME_THREADS): Undefine macro.
42699         (_XOPEN_SHM): Undefine macro.
42700         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42701         macro to -1.
42702         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42703         macro to -1.
42704         (_POSIX_ASYNC_IO): Undefine macro.
42705         (_POSIX_PRIORITIZED_IO): Undefine macro.
42706         (_POSIX_SPIN_LOCKS): Define macro to -1.
42708         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42709         SA_NODEFER, SA_RESETHAND.
42710         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42711         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42712         F_DUPFD_CLOEXEC.
42714 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42716         * elf/Makefile (pldd-modules): Define unconditionally.
42718 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42720         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42722 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42724         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42725         Return ENOENT when name is empty.
42726         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42728 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42730         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42732         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42734 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42736         Fix mlock in all cases except non-readable pages.
42737         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42738         instead of VM_PROT_ALL as parameter to __vm_wire function.
42740         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42741         (__mkdir): When path is `/', just fail with EEXIST.
42742         * sysdeps/mach/hurd/mkdirat.c: Likewise.
42744 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42746         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42747         <sys/uio.h> (for writev).
42748         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42749         and <sys/param.h> (for MIN).
42751 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42753         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42754         REQUESTED_TIME.  Properly set the remaining time and return EINTR
42755         if interrupted.
42757 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42759         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42760         Depend on against $(link-rpcuserlibs).
42762 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42764         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42765         (__libc_stack_end): Do not use attribute_relro.
42766         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42767         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42768         to libthread-provided value.
42769         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42770         attribute_relro.
42772 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42774         [BZ #3748]
42775         * bits/libc-lock.h (__libc_once_get): New macro.
42776         * sysdeps/mach/bits/libc-lock.h: Likewise.
42777         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42778         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42779         instead of using implementation details.
42781         * libio/fileops.c: Unconditionally include <kernel-features.h>.
42782         * libio/freopen.c: Likewise.
42783         * libio/freopen64.c: Likewise.
42784         * misc/syslog.c: Likewise.
42785         * nscd/connections.c: Likewise.
42786         * nscd/netgroupcache.c: Likewise.
42787         * sysdeps/posix/getcwd.c: Likewise.
42789 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42791         * math/w_ilogbf.c: Add #include <limits.h>.
42793 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42795         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42796         path instead of returning without unlocking.
42798         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42799         immediate-write ioctls.
42800         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42802 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42804         * sysdeps/mach/hurd/i386/init-first.c (init): Use
42805         __builtin_frame_address instead of making assumptions about the
42806         location of the return address relative to DATA.  Force early load of
42807         the return address.
42808         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42809         __builtin_frame_address.
42811         dup3 for GNU Hurd.
42812         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42813         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
42814         implement dup3 and do some further code clean-ups.
42815         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42816         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42818 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42820         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42822         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42823         HURD_CRITICAL_END around holding _hurd_dtable_lock.
42824         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42825         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42826         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42827         d->port.lock.
42829         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42830         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
42831         when handler == SIG_ERR, not when handler != SIG_ERR.
42833 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42835         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42836         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42837         definitions.
42839         accept4 for GNU Hurd.
42840         * include/sys/socket.h (__libc_accept4): New prototype.
42841         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
42842         to implement __libc_accept4.
42843         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42844         __libc_accept4.
42845         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42847         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42848         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42849         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42850         signal-defines.sym.
42852 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42854         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42856 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42858         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42859         assertion on O_CLOEXEC flag.
42860         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42861         * hurd/intern-fd.c: Likewise.
42862         * hurd/port2fd.c: Likewise.
42864 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42866         [BZ #3906]
42867         * bits/in.h (IPV6_PKTINFO): Define new macro.
42868         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42870 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42872         [BZ #13954]
42873         [BZ #13955]
42874         [BZ #13956]
42875         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42876         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42877         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42878         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42879         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42880         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42881         * math/libm-test.inc (logb_test) : Additional logb tests.
42883 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
42884             Andreas Jaeger  <aj@suse.de>
42886         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42887         * configure: Regenerated.
42888         * config.h.in (LINK_OBSOLETE_RPC): New macro.
42889         * config.make.in (link-obsolete-rpc): New substituted variable.
42890         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42891         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42892         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42893         (shared-only-routines): Don't set it under [link-obsolete-rpc],
42894         so that libc.a contains the symbols.
42895         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42896         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42897         * sunrpc/auth_none.c: Likewise.
42898         * sunrpc/auth_unix.c: Likewise.
42899         * sunrpc/authdes_prot.c: Likewise.
42900         * sunrpc/authuxprot.c: Likewise.
42901         * sunrpc/clnt_gen.c: Likewise.
42902         * sunrpc/clnt_perr.c: Likewise.
42903         * sunrpc/clnt_raw.c: Likewise.
42904         * sunrpc/clnt_simp.c: Likewise.
42905         * sunrpc/clnt_tcp.c: Likewise.
42906         * sunrpc/clnt_udp.c: Likewise.
42907         * sunrpc/clnt_unix.c: Likewise.
42908         * sunrpc/des_crypt.c: Likewise.
42909         * sunrpc/des_soft.c: Likewise.
42910         * sunrpc/get_myaddr.c: Likewise.
42911         * sunrpc/key_call.c: Likewise.
42912         * sunrpc/key_prot.c: Likewise.
42913         * sunrpc/netname.c: Likewise.
42914         * sunrpc/pm_getmaps.c: Likewise.
42915         * sunrpc/pm_getport.c: Likewise.
42916         * sunrpc/pmap_clnt.c: Likewise.
42917         * sunrpc/pmap_prot.c: Likewise.
42918         * sunrpc/pmap_prot2.c: Likewise.
42919         * sunrpc/pmap_rmt.c: Likewise.
42920         * sunrpc/publickey.c: Likewise.
42921         * sunrpc/rpc_cmsg.c: Likewise.
42922         * sunrpc/rpc_common.c: Likewise.
42923         * sunrpc/rpc_dtable.c: Likewise.
42924         * sunrpc/rpc_prot.c: Likewise.
42925         * sunrpc/rpc_thread.c: Likewise.
42926         * sunrpc/rtime.c: Likewise.
42927         * sunrpc/svc.c: Likewise.
42928         * sunrpc/svc_auth.c: Likewise.
42929         * sunrpc/svc_raw.c: Likewise.
42930         * sunrpc/svc_run.c: Likewise.
42931         * sunrpc/svc_tcp.c: Likewise.
42932         * sunrpc/svc_udp.c: Likewise.
42933         * sunrpc/svc_unix.c: Likewise.
42934         * sunrpc/svcauth_des.c: Likewise.
42935         * sunrpc/xcrypt.c: Likewise.
42936         * sunrpc/xdr.c: Likewise.
42937         * sunrpc/xdr_array.c: Likewise.
42938         * sunrpc/xdr_float.c: Likewise.
42939         * sunrpc/xdr_intXX_t.c: Likewise.
42940         * sunrpc/xdr_mem.c: Likewise.
42941         * sunrpc/xdr_rec.c: Likewise.
42942         * sunrpc/xdr_ref.c: Likewise.
42943         * sunrpc/xdr_sizeof.c: Likewise.
42944         * sunrpc/xdr_stdio.c: Likewise.
42946 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42948         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42949         change.  Update copyright years.
42951 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42953         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42955 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
42956             Joseph Myers  <joseph@codesourcery.com>
42957             Paul Pluzhnikov  <ppluzhnikov@google.com>
42959         [BZ #14012]
42960         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42961         requiring rpcgen.
42962         [cross-compiling] (extra-libs): Likewise.
42963         [cross-compiling] (extra-libs-others): Likewise.
42964         [cross-compiling] (librpcsvc-routines): Likewise.
42965         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42966         [cross-compiling] (omit-deps): Likewise.
42967         (sunrpc-CPPFLAGS): New variable.
42968         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42969         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42970         (cross-rpcgen-objs): New variable.
42971         (extra-objs): Append $(cross-rpcgen-objs).
42972         ($(cross-rpcgen-objs)): New rule.
42973         ($(objpfx)cross-rpcgen): Likewise.
42974         (rpcgen-cmd): Define to use $(built-program-file).  Expand
42975         comment.
42976         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42977         ($(objpfx)x%.stmp): Likewise.
42978         * sunrpc/proto.h [IS_IN_build] (_): Define.
42979         [IS_IN_build] (_libc_intl_domainname): Likewise.
42981 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42983         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42984         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42985         and R_X86_64_TPOFF64.
42987 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42989         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42990         sysdeps/unix/sysv/syscalls.list.
42991         (stime): Likewise.
42992         (utime): Likewise.
42993         * sysdeps/unix/sysv/syscalls.list: Remove file.
42995 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
42997         [BZ #3440]
42998         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42999         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43000         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43001         (__LC_IDENTIFICATION): Make these macros useful in #if
43002         expressions, as required by C99.
43004 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
43006         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43007         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
43008         after this.
43010 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
43012         * stdlib/longlong.h: Updated from GCC.
43014 2012-05-09  Andreas Jaeger  <aj@suse.de>
43016         * nscd/nscd.c (run_modes): Make named enum, reorder so that
43017         default is first entry.
43018         (run_mode): Set type.
43019         (main): Remove informal message about syslog.
43020         (options): Fix typo.
43022         [BZ #14053]
43023         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43024         to asm.
43025         (lrint): Likewise.
43026         (llrintf): Likewise.
43027         (llrint): Likewise.
43028         (rint): Likewise.
43029         (rintf): Likewise.
43030         (nearbyint): Likewise.
43031         (nearbyintf): Likewise.
43033 2012-05-09  Andreas Jaeger  <aj@suse.de>
43034             Pedro Alves  <palves@redhat.com>
43036         * nscd/nscd.c (run_mode): Use enum.
43037         (main): Cleanup coding style issue.
43039 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
43040             Andreas Jaeger  <aj@suse.de>
43042         * nscd/nscd.c (go_background): Replaced with...
43043         (run_mode): ... this.
43044         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43045         (options): Add -F --foreground.
43046         (main): Implement it.
43047         (parse_opt): Parse it.
43049 2012-05-09  Andreas Jaeger  <aj@suse.de>
43051         [BZ #14083]
43052         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43053         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43054         -Wconversion warning.
43055         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43056         Likewise.
43058 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
43060         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
43061         == 0.
43062         (LC_ALL): Use macro-int-constant.
43063         (LC_COLLATE): Likewise.
43064         (LC_CTYPE): Likewise.
43065         (LC_MESSAGES): Likewise.
43066         (LC_MONETARY): Likewise.
43067         (LC_NUMERIC): Likewise.
43068         (LC_TIME): Likewise.
43069         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43070         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43071         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43072         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43073         Specify type.
43074         [C99-based standards] (float_t): Expect type.
43075         [C99-based standards] (double_t): Expect type.
43076         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
43077         type.
43078         [C99-based standards] (HUGE_VALL): Likewise.
43079         [C99-based standards] (INFINITY): Likewise.
43080         [C99-based standards] (NAN): Likewise.
43081         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43082         [C99-based standards] (FP_NAN): Likewise.
43083         [C99-based standards] (FP_NORMAL): Likewise.
43084         [C99-based standards] (FP_SUBNORMAL): Likewise.
43085         [C99-based standards] (FP_ZERO): Likewise.
43086         [C99-based standards] (FP_FAST_FMA): Use
43087         optional-macro-int-constant.  Specify type.  Require == 1.
43088         [C99-based standards] (FP_FAST_FMAF): Likewise.
43089         [C99-based standards] (FP_FAST_FMAL): Likewise.
43090         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43091         [C99-based standards] (FP_ILOGBNAN): Likewise.
43092         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43093         Specify type.
43094         [C99-based standards] (MATH_ERREXCEPT): Likewise.
43095         [C99-based standards] (math_errhandling): Specify type.
43096         [ISO99 || ISO11] (signgam): Do not allow.
43097         [non-C99-based standards] (copysignf): Do not allow.
43098         [non-C99-based standards] (exp2f): Likewise.
43099         [non-C99-based standards] (log2f): Likewise.
43100         [non-C99-based standards] (modff): Allow.
43101         [non-C99-based standards] (erff): Do not allow.
43102         [non-C99-based standards] (erfcf): Likewise.
43103         [non-C99-based standards] (gammaf): Likewise.
43104         [non-C99-based standards] (hypotf): Likewise.
43105         [non-C99-based standards] (j0f): Likewise.
43106         [non-C99-based standards] (j1f): Likewise.
43107         [non-C99-based standards] (jnf): Likewise.
43108         [non-C99-based standards] (lgammaf): Likewise.
43109         [non-C99-based standards] (tgammaf): Likewise.
43110         [non-C99-based standards] (y0f): Likewise.
43111         [non-C99-based standards] (y1f): Likewise.
43112         [non-C99-based standards] (ynf): Likewise.
43113         [non-C99-based standards] (isnanf): Likewise.
43114         [non-C99-based standards] (acoshf): Likewise.
43115         [non-C99-based standards] (asinhf): Likewise.
43116         [non-C99-based standards] (atanhf): Likewise.
43117         [non-C99-based standards] (cbrtf): Likewise.
43118         [non-C99-based standards] (expm1f): Likewise.
43119         [non-C99-based standards] (ilogbf): Likewise.
43120         [non-C99-based standards] (log1pf): Likewise.
43121         [non-C99-based standards] (logbf): Likewise.
43122         [non-C99-based standards] (nextafterf): Likewise.
43123         [non-C99-based standards] (remainderf): Likewise.
43124         [non-C99-based standards] (rintf): Likewise.
43125         [non-C99-based standards] (scalbf): Likewise.
43126         [non-C99-based standards] (copysignl): Likewise.
43127         [non-C99-based standards] (exp2l): Likewise.
43128         [non-C99-based standards] (log2l): Likewise.
43129         [non-C99-based standards] (modfl): Allow.
43130         [non-C99-based standards] (erfl): Do not allow.
43131         [non-C99-based standards] (erfcl): Likewise.
43132         [non-C99-based standards] (gammal): Likewise.
43133         [non-C99-based standards] (hypotl): Likewise.
43134         [non-C99-based standards] (j0l): Likewise.
43135         [non-C99-based standards] (j1l): Likewise.
43136         [non-C99-based standards] (jnl): Likewise.
43137         [non-C99-based standards] (lgammal): Likewise.
43138         [non-C99-based standards] (tgammal): Likewise.
43139         [non-C99-based standards] (y0l): Likewise.
43140         [non-C99-based standards] (y1l): Likewise.
43141         [non-C99-based standards] (ynl): Likewise.
43142         [non-C99-based standards] (isnanl): Likewise.
43143         [non-C99-based standards] (acoshl): Likewise.
43144         [non-C99-based standards] (asinhl): Likewise.
43145         [non-C99-based standards] (atanhl): Likewise.
43146         [non-C99-based standards] (cbrtl): Likewise.
43147         [non-C99-based standards] (expm1l): Likewise.
43148         [non-C99-based standards] (ilogbl): Likewise.
43149         [non-C99-based standards] (log1pl): Likewise.
43150         [non-C99-based standards] (logbl): Likewise.
43151         [non-C99-based standards] (nextafterl): Likewise.
43152         [non-C99-based standards] (remainderl): Likewise.
43153         [non-C99-based standards] (rintl): Likewise.
43154         [non-C99-based standards] (scalbl): Likewise.
43155         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43156         [non-C99-based standards] (FP_*): Do not allow.
43157         [C99-based standards] (FP_*): Change to
43158         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43159         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43160         allow.
43161         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43162         (SIG_ERR): Likewise.
43163         [X/Open-based standards] (SIG_HOLD): Likewise.
43164         (SIG_IGN): Likewise.
43165         (SIGABRT): Use macro-int-constant.  Specify type.  Require
43166         positive value.
43167         (SIGFPE): Likewise.
43168         (SIGILL): Likewise.
43169         (SIGINT): Likewise.
43170         (SIGSEGV): Likewise.
43171         (SIGTER): Likewise.
43172         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43173         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43174         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43175         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43176         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43177         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43178         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43179         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43180         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43181         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43182         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43183         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43184         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43185         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43186         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43187         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43188         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43189         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43190         [X/Open-based standards] (SIGTRAP): Likewise.
43191         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43192         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43193         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43194         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43195         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43196         allow.
43198 2012-05-08  Ian Wienand  <ianw@vmware.com>
43200         [BZ #14080]
43201         * time/tzset.c (__tzset_parse_tz): Update default rules for
43202         daylight time changes in the Energy Policy Act of 2005.
43204 2012-05-09  Andreas Jaeger  <aj@suse.de>
43206         [BZ #13983]
43207         * elf/ldconfig.c (parse_conf): Change string to make clear that
43208         ldconfig only issued a warning if ld.so.conf does not exist.
43210 2012-05-08  David S. Miller  <davem@davemloft.net>
43212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43213         movxtod instead of popping the value on the stack.
43215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43217 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
43219         * config.h.in: Add HAVE_ARM_PCS_VFP.
43221 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
43223         [BZ #13979]
43224         * include/features.h: Warn if user requests __FORTIFY_SOURCE
43225         checking but the checks are disabled for any reason.
43227 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
43229         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43230         and ELF64_R_TYPE with ELFW(R_TYPE).
43232 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
43234         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43235         (ulimit): Likewise.
43237         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43238         (settimeofday): Likewise.
43240 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
43242         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
43243         a struct th_u2 inside the union, and move tu_block/tu_code into
43244         a new th_u3 union of tu_block/tu_code inside of that.  Move
43245         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
43246         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
43247         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43248         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43249         (th_stuff): Change to th_u1.tu_stuff.
43250         (th_data): Define.
43251         (th_msg): Change to th_u1.th_u2.tu_data.
43253 2012-05-07  David S. Miller  <davem@davemloft.net>
43255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43257         [BZ #14074]
43258         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43259         (SETUP_PIC_REG): Use it.
43260         (SETUP_PIC_REG_LEAF): Use it.
43262 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
43264         [BZ #13885]
43265         [BZ #13923]
43266         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43267         USE_AS_EXPM1L.
43268         (EXPL_FINITE): Likewise.
43269         (FLDLOG): Likewise.
43270         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43271         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43272         e_expl.S.
43273         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43274         USE_AS_EXPM1L.
43275         (EXPL_FINITE): Likewise.
43276         (FLDLOG): Likewise.
43277         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43278         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43279         e_expl.S.
43280         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
43281         test of -max_value argument for long double.
43282         * sysdeps/i386/fpu/libm-test-ulps: Update.
43283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43285 2012-05-06  David S. Miller  <davem@davemloft.net>
43287         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43288         quad soft-float symbols whose references which are compiler
43289         generated.
43290         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43292 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
43294         [BZ #13884]
43295         [BZ #13914]
43296         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43297         USE_AS_EXP10L.
43298         (EXPL_FINITE): Likewise.
43299         (FLDLOG): Likewise.
43300         (c0): Likewise.
43301         (c1): Likewise.
43302         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43303         Adjust comments for base varying.
43304         (__expl_finite): Change alias to EXPL_FINITE.
43305         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43306         e_expl.S.
43307         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43308         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43309         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43310         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43311         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43312         USE_AS_EXP10L.
43313         (EXPL_FINITE): Likewise.
43314         (FLDLOG): Likewise.
43315         (c0): Likewise.
43316         (c1): Likewise.
43317         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43318         Adjust comments for base varying.
43319         (__expl_finite): Change alias to EXPL_FINITE.
43320         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
43321         tests for bugs.
43322         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43324         [BZ #14064]
43325         * math/libm-test.inc (check_float_internal): Correct ulp
43326         calculation for subnormal expected results.
43328 2012-05-06  Andreas Jaeger  <aj@suse.de>
43330         * Makeconfig (+math-flags): New, set to -frounding-math.
43331         (+cflags): Add +math-flags so that all of glibc gets compiled with
43332         it.
43334         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43336 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
43338         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43339         Disable one test.
43341         [BZ #13787]
43342         [BZ #13922]
43343         [BZ #14036]
43344         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43345         (__ieee754_expl): Allow for and saturate large arguments.
43346         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43347         (u_threshold): Likewise.
43348         (__exp): Call __ieee754_exp before checking for overflow and
43349         underflow.
43350         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43351         (u_threshold): Likewise.
43352         (__expf): Call __ieee754_expf before checking for overflow and
43353         underflow.
43354         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43355         (u_threshold): Likewise.
43356         (__expl): Call __ieee754_expl before checking for overflow and
43357         underflow.
43358         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43359         (__ieee754_expl): Allow for and saturate large arguments.
43360         * math/libm-test.inc (exp_test): Add another test.  Do not allow
43361         missing overflow exception on overflow.
43362         (expm1_test): Do not allow missing overflow exception on overflow.
43364         * sysdeps/i386/fpu/e_expl.c: Move to ...
43365         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
43366         rather than using inline asm.
43367         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43368         * sysdeps/x86_64/fpu/e_expl.S: Copy from
43369         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43371         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43372         (nice): Likewise.
43373         (poll): Likewise.
43374         (signal): Likewise.
43375         (time): Likewise.
43376         (times): Likewise.
43378 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43380         * sysdeps/unix/syscalls.list (adjtime): Add entry from
43381         sysdeps/unix/common/syscalls.list.
43382         (fchmod): Likewise.
43383         (fchown): Likewise.
43384         (ftruncate): Likewise.
43385         (getrusage): Likewise.
43386         (gettimeofday): Likewise.
43387         (setpgid): Likewise.
43388         (setregid): Likewise.
43389         (setreuid): Likewise.
43390         (sigaction): Likewise.
43391         (truncate): Likewise.
43392         (vhangup): Likewise.
43393         * sysdeps/unix/common/syscalls.list: Remove file.
43394         * sysdeps/unix/bsd/Implies: Don't include unix/common.
43395         * sysdeps/unix/sysv/linux/Implies: Likewise.
43397 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
43399         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43401         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43402         Moved to ...
43403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43404         Here.
43405         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43406         to ...
43407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43408         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43409         to ...
43410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43411         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43412         to ...
43413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43414         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43415         to ...
43416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43417         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43418         to ...
43419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43420         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43421         to ...
43422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43423         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43424         to ...
43425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43426         Here.
43427         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43428         to ...
43429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43430         Here.
43431         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43432         to ...
43433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43434         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43435         Moved to ...
43436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43437         Here.
43438         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43439         to ...
43440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43442 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43444         * sysdeps/unix/common/bits/dirent.h: Remove file.
43445         * sysdeps/unix/common/bits/fcntl.h: Likewise.
43447         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43448         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43449         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43450         * sysdeps/unix/bsd/isatty.c: Likewise.
43451         * sysdeps/unix/bsd/tcdrain.c: Likewise.
43452         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43453         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43455 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43457         [BZ #13563]
43458         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43459         long double comparison inaccuracies.
43460         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43463 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
43465         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43466         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43468 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43470         [BZ #14049]
43471         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43472         nonzero digits before rounding a hex value.
43473         * stdlib/tst-strtod.c (tests): Add another test.
43475 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43477         * sysdeps/s390/fpu/libm-test-ulps: Update.
43479 2012-05-03  Andreas Jaeger  <aj@suse.de>
43481         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43482         does not get optimized out.
43483         (malloc_opt_barrier): New.
43485 2012-05-03  Andreas Jaeger  <aj@suse.de>
43486             Roland McGrath  <roland@hack.frob.com>
43488         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43489         intermediate file deletion.
43490         (generated): Add .symlist files.
43492 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
43494         [BZ #13775]
43495         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43496         Redirect under this condition.
43497         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43498         [__USE_GNU] (__dprintf_chk): Not under this condition.
43499         [__USE_GNU] (__vdprintf_chk): Likewise.
43500         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43501         under this condition.
43502         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43503         [__USE_XOPEN2K8] (dprintf): Define under this condition.
43504         [__USE_XOPEN2K8] (vdprintf): Likewise.
43505         [__USE_GNU] (__dprintf_chk): Not under this condition.
43506         [__USE_GNU] (__vdprintf_chk): Likewise.
43507         [__USE_GNU] (dprintf): Likewise.
43508         [__USE_GNU] (vdprintf): Likewise.
43510 2012-05-03  Roland McGrath  <roland@hack.frob.com>
43512         * elf/Makefile (common-generated): Set this instead of generated for
43513         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
43514         $(all-built-dso)-derived lists.
43516 2012-05-03  Andreas Jaeger  <aj@suse.de>
43518         * sysdeps/i386/fpu/libm-test-ulps: Update.
43520         * FAQ: Removed.
43521         * FAQ.in: Likewise.
43522         * scripts/gen-FAQ.pl: Likewise.
43523         * manual/install.texi (Installation): Point to online location of
43524         FAQ.
43525         * Makefile (files-for-dist): Remove FAQ.
43526         (FAQ): Remove.
43528 2012-05-02  Allan McRae  <allan@archlinux.org>
43530         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43531         (LDFLAGS-reldepmod5.so): Likewise.
43532         (LDFLAGS-reldep6mod1.so): Likewise.
43533         (LDFLAGS-reldep6mod4.so): Likewise.
43534         (LDFLAGS-reldep8mod3.so): Likewise.
43535         (LDFLAGS-unload4mod1.so): Likewise.
43536         (LDFLAGS-unload4mod2.so): Likewise.
43537         (LDFLAGS-tst-initorder): Likewise.
43538         (LDFLAGS-tst-initordera2.so): Likewise.
43539         (LDFLAGS-tst-initordera3.so): Likewise.
43540         (LDFLAGS-tst-initordera4.so): Likewise.
43541         (LDFLAGS-tst-initorderb2.so): Likewise.
43542         (LDFLAGS-noload): Likewise.
43543         (LDFLAGS-next): Likewise.
43544         (LDFLAGS-order2mod1.so): Likewise.
43545         (LDFLAGS-order2mod2.so): Likewise.
43546         (LDFLAGS-tst-initorder2): Likewise.
43547         (LDFLAGS-tst-initorder2a.so): Likewise.
43548         (LDFLAGS-tst-initorder2b.so): Likewise.
43549         (LDFLAGS-tst-initorder2c.so): Likewise.
43550         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43552 2012-05-02  David S. Miller  <davem@davemloft.net>
43554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43556 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
43558         [BZ #14055]
43559         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43561 2012-05-02  Andreas Jaeger  <aj@suse.de>
43563         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43564         since we manipulate rounding mode.
43565         (CPPFLAGS-test-idouble.c): Likewise.
43566         (CPPFLAGS-test-ifloat.c): Likewise.
43567         (CFLAGS-test-ldouble.c): Likewise.
43568         (CFLAGS-test-double.c): Likewise.
43569         (CFLAGS-test-float.c): Likewise.
43570         (CFLAGS-test-misc.c): Likewise.
43571         (CFLAGS-test-test-fenv.c): Likewise.
43573 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43575         [BZ #2550]
43576         [BZ #2570]
43577         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43578         comparisons to determine direction to adjust input.
43580 2012-05-01  Roland McGrath  <roland@hack.frob.com>
43582         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43583         output to the target.
43585         * scripts/localplt.awk: New file.
43586         * elf/Makefile ($(objpfx)check-localplt): Target removed.
43587         (check-localplt-CFLAGS): Variable removed.
43588         ($(all-built-dso:=.jmprel)): New static pattern rule.
43589         (generated): Add those targets.
43590         (localplt-built-dso): New variable.
43591         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43593         * elf/check-localplt.c: File removed.
43595         * scripts/check-execstack.awk: New file.
43596         * elf/Makefile ($(objpfx)check-execstack): Target removed.
43597         (check-execstack-CFLAGS): Variable removed.
43598         ($(objpfx)check-execstack.h): Target removed.
43599         ($(objpfx)execstack-default): New target.
43600         (generated): Add that instead of check-execstack.h.
43601         ($(all-built-dso:=.phdr)): New static pattern rule.
43602         (generated): Add those targets.
43603         * elf/check-execstack.c: File removed.
43605         * scripts/check-textrel.awk: New file.
43606         * elf/Makefile ($(objpfx)check-textrel): Target removed.
43607         (check-textrel-CFLAGS): Variable removed.
43608         (all-built-dso): Use := to define.o
43609         ($(all-built-dso:=.dyn)): New static pattern rule.
43610         (generated): Add those targets.
43611         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43612         * config.make.in (READELF): New substituted variable.
43613         * elf/check-textrel.c: File removed.
43615 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43617         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43618         allow.
43619         * conform/data/ctype.h-data [C99-based standards] (isblank):
43620         Expect function.
43621         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43622         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43623         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43624         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43625         Specify type.  Require positive value.
43626         (EILSEQ): Likewise.
43627         (ERANGE): Likewise.
43628         [ISO || POSIX] (EILSEQ): Do not expect.
43629         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43630         Specify type.  Require positive value.
43631         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43632         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43633         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43634         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43635         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43636         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43637         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43638         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43639         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43640         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43641         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43642         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43643         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43644         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43645         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43646         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43647         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43648         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43649         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43650         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43651         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43652         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43653         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43654         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43655         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43656         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43657         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43658         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43659         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43660         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43661         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43662         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43663         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43664         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43665         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43666         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43667         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43668         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43669         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43670         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43671         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43672         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43673         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43674         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43675         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43676         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43677         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43678         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43679         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43680         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43681         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43682         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43683         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43684         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43685         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43686         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43687         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43688         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43689         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43690         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43691         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43692         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43693         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43694         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43695         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43696         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43697         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43698         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43699         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43700         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43701         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43702         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43703         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43704         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43705         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43706         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43707         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43708         Require >= 2.
43709         (FLT_ROUNDS): Expect as macro, not constant.
43710         (FLT_MANT_DIG): Use macro-int-constant.
43711         (DBL_MANT_DIG): Likewise.
43712         (LDBL_MANT_DIG): Likewise.
43713         (FLT_DIG): Likewise.
43714         (DBL_DIG): Likewise.
43715         (LDBL_DIG): Likewise.
43716         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
43717         (DBL_MIN_EXP): Likewise.
43718         (LDBL_MIN_EXP): Likewise.
43719         (FLT_MAX_EXP): Use macro-int-constant.
43720         (DBL_MAX_EXP): Likewise.
43721         (LDBL_MAX_EXP): Likewise.
43722         (FLT_MAX_10_EXP): Likewise.
43723         (DBL_MAX_10_EXP): Likewise.
43724         (LDBL_MAX_10_EXP): Likewise.
43725         (FLT_MAX): Use macro-constant.
43726         (DBL_MAX): Likewise.
43727         (LDBL_MAX): Likewise.
43728         (FLT_EPSILON): Use macro-constant.  Give upper bound.
43729         (DBL_EPSILON): Likewise.
43730         (LDBL_EPSILON): Likewise.
43731         (FLT_MIN): Likewise.
43732         (DBL_MIN): Likewise.
43733         (LDBL_MIN): Likewise.
43734         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43735         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43736         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43737         [ISO11] (FLT_HAS_SUBNORM): Likewise.
43738         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43739         [ISO11] (DBL_DECIMAL_DIG): Likewise.
43740         [ISO11] (FLT_DECIMAL_DIG): Likewise.
43741         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43742         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43743         [ISO11] (FLT_TRUE_MIN): Likewise.
43744         [ISO11] (LDBL_TRUE_MIN): Likewise.
43745         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43746         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43747         (SCHAR_MIN): Use macro-int-constant.  Specify type.
43748         (SCHAR_MAX): Likewise.
43749         (UCHAR_MAX): Likewise.
43750         (CHAR_MIN): Likewise.
43751         (CHAR_MAX): Likewise.
43752         (MB_LEN_MAX): Use macro-int-constant.
43753         (SHRT_MIN): Use macro-int-constant.  Specify type.
43754         (SHRT_MAX): Likewise.
43755         (USHRT_MAX): Likewise.
43756         (INT_MAX): Likewise.
43757         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
43758         bound negative.
43759         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43760         bound with "U".
43761         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43762         bound with "L".
43763         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
43764         bound negative.  Suffix upper bound with "L".
43765         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43766         bound with "UL".
43767         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43768         Specify type.
43769         [C99-based standards] (LLONG_MAX): Likewise.
43770         [C99-based standards] (ULLONG_MAX): Likewise.
43771         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
43772         == 0.
43773         [ISO11] (max_align_t): Require type.
43774         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43776         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43777         from $CFLAGS, without defining away __attribute__ calls.
43778         (checknamespace): Use $CFLAGS_namespace.
43780         * conform/conformtest.pl (@keywords): Only include C99 keywords
43781         for standards based on C99 or C11.
43783         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43784         Disable tests.
43785         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43786         UNIX98]: Likewise.
43788         * conform/conformtest.pl: Handle "macro-int-constant" and test for
43789         usability of symbols in #if.
43791         * conform/conformtest.pl: If macro or constant types start
43792         "promoted:", expect the symbol to be of the following type
43793         promoted by the integer promotions.
43795         * conform/conformtest.pl: Parse all "constant" and "macro" lines
43796         in one place.  Also handle "macro-constant".
43798         * conform/conformtest.pl: Only accept expected macro values with
43799         "==".  Parse all "macro" lines in one place.
43800         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43802         * conform/conformtest.pl: Handle braced types on "constant" lines
43803         instead of handling "typed-constant".
43804         * conform/data/signal.h-data: Use "constant" instead of
43805         "typed-constant".
43807         * conform/conformtest.pl: Handle "optional-" at start of lines in
43808         one place rather than duplicating several cases.  Handle each
43809         format of "macro" line with initial "optional-".
43811         * conform/conformtest.pl: Only accept expected constant or
43812         optional-constant values with "==".  Parse all "constant" lines in
43813         one place.  Parse all "optional-constant" lines in one place.
43814         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43815         * conform/data/fmtmsg.h-data: Likewise.
43816         * conform/data/netinet/in.h-data: Likewise.
43817         * conform/data/tar.h-data: Likewise.
43818         * conform/data/limits.h-data: Use "==" form on "constant" and
43819         "optional-constant" lines.
43821         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43822         Use -std=c99 for XOPEN2K.
43823         (@knownproblems): Remove.
43824         (newtoken): Don't check %isknown.
43826         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43827         Do not expect macro.
43828         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43829         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43830         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43831         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43832         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43833         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43834         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43835         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43836         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43837         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43838         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43839         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43840         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43841         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43842         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43843         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43844         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43845         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43846         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43847         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43848         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43849         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43850         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43851         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43852         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43853         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43854         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43855         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43856         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43857         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43858         [XPG3] (acosh): Likewise.
43859         [XPG3] (asinh): Likewise.
43860         [XPG3] (atanh): Likewise.
43861         [XPG3] (cbrt): Likewise.
43862         [XPG3] (expm1): Likewise.
43863         [XPG3] (ilogb): Likewise.
43864         [XPG3] (log1p): Likewise.
43865         [XPG3] (logb): Likewise.
43866         [XPG3] (nextafter): Likewise.
43867         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43868         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43869         [XPG3] (remainder): Likewise.
43870         [XPG3] (rint): Likewise.
43871         [XPG3 || XPG4 || UNIX98] (round): Likewise.
43872         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43873         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43874         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43875         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43876         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43877         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43878         [UNIX98 || XOPEN2K] (scalb): Expect.
43879         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43880         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43881         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43882         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43883         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43884         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43885         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43886         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43887         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43888         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43889         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43890         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43891         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43892         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43893         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43894         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43895         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43896         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43897         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43898         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43899         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43900         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43901         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43902         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43903         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43904         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43905         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43906         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43907         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43908         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43909         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43910         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43911         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43912         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43913         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43914         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43915         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43916         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43917         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43918         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43919         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43920         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43921         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43922         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43923         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43924         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43925         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43926         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43927         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43928         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43929         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43930         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43931         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43932         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43933         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43934         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43935         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43936         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43937         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43938         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43939         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43940         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43941         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43942         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43943         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43944         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43945         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43946         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43947         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43948         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43949         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43950         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43951         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43952         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43953         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43954         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43955         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43956         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43957         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43958         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43959         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43960         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43961         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43962         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43963         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43964         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43965         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43966         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43967         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43968         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43969         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43970         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43971         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43972         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43973         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43974         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43975         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43976         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43977         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43978         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43979         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43980         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43981         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43982         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43983         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43984         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43985         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43986         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43987         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43988         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43989         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43990         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43991         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43992         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43993         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43994         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43995         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43996         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43997         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43998         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43999         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44000         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44001         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44002         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44003         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44004         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44005         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44006         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44007         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44008         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44009         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44010         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44011         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44012         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44013         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44014         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44015         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44017         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44018         _XOPEN_SOURCE_EXTENDED for XPG4.
44020         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44022         * Makeconfig (localtime): Remove variable.
44023         (inst_localtime-file): Likewise.
44025 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44028         Update.
44029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44030         Update.
44031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44032         Update.
44033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44034         Update.
44035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44036         Update.
44037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44038         Update.
44039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44040         Update.
44041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44042         Update.
44043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44044         Update.
44046 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44048         [BZ #2550]
44049         [BZ #2570]
44050         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44051         comparisons to determine direction to adjust input.
44052         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44053         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44054         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44055         Likewise.
44056         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44057         Likewise.
44058         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44059         Likewise.
44060         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44061         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44062         Likewise.
44063         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44064         Likewise.
44065         * math/libm-test.inc (nexttoward_test): Add more tests.
44067 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44069         [BZ #14040]
44070         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44071         in version GLIBC_2.1, not GLIBC_2.0.
44072         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44073         Likewise.
44075 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
44077         [BZ #13942]
44078         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44079         (1 - x) * (1 + x).
44080         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44081         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44082         * math/libm-test.inc (acos_test): Add more tests.
44083         (asin_test): Likewise.
44084         * sysdeps/i386/fpu/libm-test-ulps: Update.
44085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44087         [BZ #14034]
44088         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44089         of square root.
44090         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44091         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44092         * math/libm-test.inc (acos_test_tonearest): New function.
44093         (acos_test_towardzero): Likewise.
44094         (acos_test_downward): Likewise.
44095         (acos_test_upward): Likewise.
44096         (asin_test_tonearest): Likewise.
44097         (asin_test_towardzero): Likewise.
44098         (asin_test_downward): Likewise.
44099         (asin_test_upward): Likewise.
44100         (main): Call the new functions.
44101         * sysdeps/i386/fpu/libm-test-ulps: Update.
44102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44104         [BZ #13884]
44105         [BZ #13924]
44106         * math/e_exp10.c: Include <float.h>.
44107         (__ieee754_exp10): Handle underflow here rather than multiplying
44108         large negative argument by M_LN10.
44109         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44110         of __ieee754_expf.
44111         * math/e_exp10l.c: Include <float.h>.
44112         (__ieee754_exp10l): Handle underflow here rather than multiplying
44113         large negative argument by M_LN10l.
44114         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
44115         spurious overflow exception on underflow.
44117 2012-04-29  Marek Polacek  <polacek@redhat.com>
44119         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44120         (__fortify_function): New macro.
44121         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44122         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44123         __extern_always_inline.
44124         * libio/bits/stdio2.h: Likewise.
44125         * libio/bits/stdio.h: Likewise.
44126         * string/string.h: Likewise.
44127         * string/bits/string3.h: Likewise.
44128         * include/stdio.h: Likewise.
44129         * stdlib/bits/stdlib.h: Likewise.
44130         * stdlib/stdlib.h: Likewise.
44131         * rt/bits/mqueue2.h: Likewise.
44132         * rt/mqueue.h: Likewise.
44133         * posix/bits/unistd.h: Likewise.
44134         * posix/unistd.h: Likewise.
44135         * io/bits/poll2.h: Likewise.
44136         * io/bits/fcntl2.h: Likewise.
44137         * io/fcntl.h: Likewise.
44138         * io/sys/poll.h: Likewise.
44139         * misc/bits/syslog.h: Likewise.
44140         * misc/bits/syslog-ldbl.h: Likewise.
44141         * misc/sys/syslog.h: Likewise.
44142         * socket/bits/socket2.h: Likewise.
44143         * socket/sys/socket.h: Likewise.
44144         * debug/tst-chk1.c: Likewise.
44145         * wcsmbs/bits/wchar2.h: Likewise.
44146         * wcsmbs/bits/wchar-ldbl.h: Likewise.
44147         * wcsmbs/wchar.h: Likewise.
44149 2012-04-29  Andreas Jaeger  <aj@suse.de>
44151         * Makerules (tests): Remove enable-check-abi protection.
44152         (check-abi-warn): Remove.
44153         (check-abi-%): Remove check-abi-warn usage.
44155         * configure.in: Remove check-abi configure option.
44156         * configure: Regenerated.
44157         * config.make.in (enable-check-abi): Remove.
44159 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
44161         [BZ #14033]
44162         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44163         double functions to double *_finite functions.
44165         [BZ #13941]
44166         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44167         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44168         LDBL_MIN_EXP.
44169         * stdio-common/Makefile (tests): Add tst-sprintf3.
44170         * stdio-common/tst-sprintf3.c: New file.
44172         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44173         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44175 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44177         * conform/conformtest.pl: Remove duplicate typed-constant
44178         handling.
44180 2012-04-28  David S. Miller  <davem@davemloft.net>
44182         * Makerules (%.abilist): Add vpath on sysdep_dirs.
44183         (check-abi-%): Remove AWK script prerequisite and explicit
44184         abilist directory.
44185         (check-abi): Rewrite to just diff the symlist with the abilist.
44186         (config-tls, config-abi-config): Delete, no longer used.
44187         (update-abi-%): Remove AWK script and explicit abilist directory.
44188         (update-abi): Rewrite to simply compare and conditionally copy the
44189         symlist and the sysdep abilist file.  Remove update-abi-config
44190         checks.
44191         * abilist/ld.abilist: Remove.
44192         * abilist/libBrokenLocale.abilist: Remove.
44193         * abilist/libanl.abilist: Remove.
44194         * abilist/libcrypt.abilist: Remove.
44195         * abilist/libdl.abilist: Remove.
44196         * abilist/librt.abilist: Remove.
44197         * abilist/libthread_db.abilist: Remove.
44198         * abilist/libutil.abilist: Remove.
44199         * scripts/extract-abilist.awk: Remove.
44200         * scripts/merge-abilist.awk: Remove.
44201         * sysdeps/generic/libcidn.abilist: New file.
44202         * sysdeps/generic/libnss_compat.abilist: New file.
44203         * sysdeps/generic/libnss_db.abilist: New file.
44204         * sysdeps/generic/libnss_dns.abilist: New file.
44205         * sysdeps/generic/libnss_files.abilist: New file.
44206         * sysdeps/generic/libnss_hesiod.abilist: New file.
44207         * sysdeps/generic/libnss_nis.abilist: New file.
44208         * sysdeps/generic/libnss_nisplus.abilist: New file.
44209         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44210         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44211         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44212         file.
44213         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44214         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44215         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44216         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44217         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44218         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44219         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44220         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44221         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44222         file.
44223         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44224         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44225         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44226         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44227         file.
44228         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44229         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44230         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44231         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44232         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44233         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44234         file.
44235         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44236         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44237         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44238         file.
44239         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44240         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44241         New file.
44242         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44243         New file.
44244         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44245         New file.
44246         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44247         New file.
44248         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44249         New file.
44250         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44251         New file.
44252         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44253         New file.
44254         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44255         New file.
44256         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44257         New file.
44258         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44259         New file.
44260         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44261         New file.
44262         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44263         New file.
44264         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44265         New file.
44266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44267         file.
44268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44269         New file.
44270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44271         New file.
44272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44273         file.
44274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44275         New file.
44276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44277         New file.
44278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44279         file.
44280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44281         New file.
44282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44283         New file.
44284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44285         New file.
44286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44287         New file.
44288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44289         New file.
44290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44291         New file.
44292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44294         file.
44295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44296         New file.
44297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44298         file.
44299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44300         file.
44301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44302         file.
44303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44304         file.
44305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44306         file.
44307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44308         New file.
44309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44310         file.
44311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44312         file.
44313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44314         New file.
44315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44316         file.
44317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44319         file.
44320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44321         New file.
44322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44323         file.
44324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44325         file.
44326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44327         file.
44328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44329         file.
44330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44331         file.
44332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44333         New file.
44334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44335         file.
44336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44337         file.
44338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44339         New file.
44340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44341         file.
44342         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44343         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44344         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44345         file.
44346         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44347         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44348         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44349         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44350         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44351         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44352         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44353         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44354         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44355         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44358         file.
44359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44360         New file.
44361         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44362         file.
44363         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44364         file.
44365         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44366         file.
44367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44368         file.
44369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44370         file.
44371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44372         New file.
44373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44374         New file.
44375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44376         file.
44377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44378         New file.
44379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44380         file.
44381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44383         file.
44384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44385         New file.
44386         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44387         file.
44388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44389         file.
44390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44391         file.
44392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44393         file.
44394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44395         file.
44396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44397         New file.
44398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44399         New file.
44400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44401         file.
44402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44403         New file.
44404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44405         file.
44407 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44409         * conform/conformtest.pl: Fix typo in handling typed-constant from
44410         allow-header.
44412 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44414         * README: Cut down references to pre-2.6 Linux kernels and
44415         Linuxthreads.  Update lists of configurations in libc and ports
44416         and sort alphabetically.  Say "or newer" with Linux kernel version
44417         requirements.
44419         * config.h.in [IS_IN_build]: Allow compiling without optimization.
44421 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44423         [BZ #887]
44424         * math/libm-test.inc (logb_test_downward): New test to expose
44425         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44426         rounding mode.
44428 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44430         [BZ #14027]
44431         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44432         to be done.
44433         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44434         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44436 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
44438         * sysdeps/unix/i386/brk.S: Remove file.
44439         * sysdeps/unix/i386/dl-brk.S: Likewise.
44440         * sysdeps/unix/i386/pipe.S: Likewise.
44441         * sysdeps/unix/i386/sigreturn.S: Likewise.
44442         * sysdeps/unix/i386/syscall.S: Likewise.
44443         * sysdeps/unix/i386/vfork.S: Likewise.
44444         * sysdeps/unix/i386/wait.S: Likewise.
44446         * sysdeps/unix/common/tcsendbrk.c: Move to ...
44447         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44449         * configure.in (arm*-none*): Do not allow without
44450         --enable-hacker-mode.
44451         (netbsd*): Remove case setting base_os.
44452         (386bsd*): Likewise.
44453         (freebsd*): Likewise.
44454         (bsdi*): Likewise.
44455         (osf*): Likewise.
44456         (sunos*): Likewise.
44457         (ultrix*): Likewise.
44458         (newsos*): Likewise.
44459         (dynix*): Likewise.
44460         (*bsd*): Likewise.
44461         (sysv*): Likewise.
44462         (isc*): Likewise.
44463         (esix*): Likewise.
44464         (sco*): Likewise.
44465         (minix*): Likewise.
44466         (irix4*): Likewise.
44467         (irix6*): Likewise.
44468         (solaris[2-9]*): Likewise.
44469         (none): Likewise.
44470         * configure: Regenerated.
44472 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44474         [BZ #11521]
44475         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44476         overflow or cancellation in calculating denominator.
44477         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44478         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44479         down expression to avoid unexpected rounding in newer GCCs.
44480         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44482 2012-04-26  David S. Miller  <davem@davemloft.net>
44484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44485         long-double compat symbols.
44486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44500 2012-04-25  David S. Miller  <davem@davemloft.net>
44502         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44503         HWCAP_* values only after the memory barriers have been defined.
44504         (atomic_full_barrier): Define.
44505         (atomic_read_barrier): Define.
44506         (atomic_write_barrier): Define.
44508 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44510         * shlib-versions: Add libgcc_s version information.
44511         * sysdeps/generic/libgcc_s.h: Remove.
44512         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44513         libgcc_s.h.
44514         * sysdeps/gnu/unwind-resume.c: Likewise.
44515         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44517 2012-04-25  David S. Miller  <davem@davemloft.net>
44519         * sysdeps/unix/sparc/brk.S: Delete.
44520         * sysdeps/unix/sparc/dl-brk.S: Delete.
44521         * sysdeps/unix/sparc/pipe.S: Delete.
44522         * sysdeps/unix/sparc/sysdep.S: Delete.
44523         * sysdeps/unix/sparc/sysdep.h: Delete.
44524         * sysdeps/unix/sparc/vfork.S: Delete.
44525         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44526         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44527         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44528         (ret_ERRVAL, r0, r1, MOVE): Define.
44529         (JUMPTARGET): Remove.
44530         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44531         sysdeps/unix/sparc/sysdep.h
44532         (ENTRY, END): Remove.
44533         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44535 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
44537         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44538         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44539         -DIS_IN_build.
44541         * timezone/README: Update upstream location and email address for
44542         tzcode and tzdata.
44543         * timezone/zdump.c: Update from tzcode 2012b.
44544         * timezone/zic.c: Likewise.
44546         * configure.in (libc_cv_as_needed): Remove test.
44547         * configure: Regenerated.
44548         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44549         conditional definition.
44550         [$(have-as-needed) != yes] (no-as-needed): Likewise.
44551         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44552         * config.make.in (have-as-needed): Remove variable.
44554 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44555             Paul Pluzhnikov  <ppluzhnikov@google.com>
44557         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44558         strings correctly.
44560 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
44562         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44563         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44564         * sysdeps/sh/strlen.S: Likewise.
44566 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44568         * sysdeps/unix/fork.S: Remove file.
44569         * sysdeps/unix/i386/fork.S: Likewise.
44570         * sysdeps/unix/sparc/fork.S: Likewise.
44572         * sysdeps/unix/system.c: Remove file.
44573         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44575         * sysdeps/unix/getegid.S: Remove file.
44576         * sysdeps/unix/geteuid.S: Likewise.
44578 2012-04-24  Roland McGrath  <roland@hack.frob.com>
44580         * scripts/check-localplt.awk: New file.
44581         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44582         of diff.
44583         * scripts/data/localplt-generic.data: Add a comment.
44585         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44586         NODE when __dir_mkfile failed.
44587         * sysdeps/mach/hurd/symlinkat.c: Likewise.
44588         Reported by Ludovic Courtès <ludo@gnu.org>.
44590 2012-04-24  Andreas Jaeger  <aj@suse.de>
44592         * Makerules (common-clean): Also remove gen-as-const-headers
44593         files.
44595 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44597         * Makerules (native-compile): Do not change working directory for
44598         build.  Use $(OUTPUT_OPTION) in command.
44599         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44601 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44603         [BZ #13886]
44604         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44605         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44606         * math/libm-test.inc (floor_test): Add more tests.
44607         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44609 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44611         * sysdeps/unix/getdents.c: Remove file.
44612         * sysdeps/unix/sysv/getdents.c: Likewise.
44613         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44615         * sysdeps/unix/syscalls.list (madvise): Add syscall from
44616         sysdeps/unix/mman/syscalls.list.
44617         (mmap): Likewise.
44618         (mprotect): Likewise.
44619         (msync): Likewise.
44620         (munmap): Likewise.
44621         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44622         * sysdeps/unix/mman/syscalls.list: Remove.
44623         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44625         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44626         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44627         * configure: Regenerated.
44628         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44629         $(libgcc_s_suffix).
44630         * config.make.in (libgcc_s_suffix): Remove variable.
44632 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
44634         * sysdeps/unix/sysv/gethostname.c: Move to ...
44635         * sysdeps/posix/gethostname.c: ... here.
44637         * sysdeps/unix/execve.S: Remove file.
44639         * sysdeps/unix/_exit.S: Remove file.
44641 2012-04-23  Andreas Jaeger  <aj@suse.de>
44643         [BZ #13739]
44644         * manual/Makefile: Remove make dist support, there's no
44645         need for a stand-alone documentation tar ball.
44646         (TEXI2DVI): Define always, it's not in Makeconfig.
44647         (dist): Removed.
44648         (tar-it): Removed.
44649         (edition): Removed.
44650         (glibc-doc-$(edition).tar): Removed
44651         (%.Z): Removed.
44652         (%.gz): Removed.
44653         (%.uu): Removed.
44654         (ETAGS): Remove, it's in Makeconfig.
44655         (move-if-change): Remove, it's in Makeconfig.
44657 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
44659         [BZ #13970]
44660         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44661         (strtod, strtof, strtold, strtol, strtoul, strtoq)
44662         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44663         (strtod_l, strtof_l, strtold_l): Remove __wur.
44664         It is not necessarily an error to ignore strtol's return value.
44665         One can reliably look at the stored endptr to decide whether
44666         the number had valid syntax.
44668 2012-04-21  Andreas Jaeger  <aj@suse.de>
44670         [BZ #13739]
44671         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44673 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
44675         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44676         * sysdeps/unix/sysv/Versions: Remove file.
44678 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
44680         [BZ #13927]
44681         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44683 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
44685         [BZ #7064]
44686         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44687         version from __vm86.
44689 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
44691         * sysdeps/unix/common/lxstat.c: Remove file.
44692         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44694         * sysdeps/unix/sysv/Makefile: Remove file.
44696         * sysdeps/unix/sysv/direct.h: Remove file.
44698         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44699         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44700         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44701         * sysdeps/unix/sysv/bits/signum.h: Likewise.
44702         * sysdeps/unix/sysv/bits/stat.h: Likewise.
44703         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44704         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44706         * sysdeps/unix/sysv/setrlimit.c: Remove file.
44708         * sysdeps/unix/xmknod.c: Remove file.
44709         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44711         * sysdeps/unix/sysv/settimeofday.c: Remove file.
44713         * sysdeps/unix/sysv/i386/time.S: Remove file.
44715         * sysdeps/unix/fxstat.c: Remove file.
44716         * sysdeps/unix/xstat.c: Likewise.
44717         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44719         * sysdeps/unix/sysv/sigaction.c: Remove file.
44721         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44722         (sysdep_headers): Remove variable.
44723         [termio.h not in sysdep_headers] (generated): Likewise.
44724         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44725         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44726         * sysdeps/unix/sysv/tcdrain.c: Likewise.
44727         * sysdeps/unix/sysv/tcflow.c: Likewise.
44728         * sysdeps/unix/sysv/tcflush.c: Likewise.
44729         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44730         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44731         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44732         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44733         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44735         * sysdeps/unix/siglist.c: Remove file.
44737         * sysdeps/unix/getppid.S: Remove file.
44739         * sysdeps/unix/mkdir.c: Remove file.
44740         * sysdeps/unix/rmdir.c: Likewise.
44742 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
44744         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44745         ERR_MAX value.
44746         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44747         errlist-compat value.
44749 2012-04-18  David S. Miller  <davem@davemloft.net>
44751         * sysdeps/generic/memcopy.h (reg_char): Delete.
44752         * debug/strcat_chk.c: Use char, not reg_char.
44753         * debug/strcpy_chk.c: Likewise.
44754         * debug/strncat_chk.c: Likewise.
44755         * debug/strncpy_chk.c: Likewise.
44756         * string/memchr.c: Likewise.
44757         * string/memrchr.c: Likewise.
44758         * string/rawmemchr.c: Likewise.
44759         * string/strcat.c: Likewise.
44760         * string/strchr.c: Likewise.
44761         * string/strchrnul.c: Likewise.
44762         * string/strcmp.c: Likewise.
44763         * string/strcpy.c: Likewise.
44764         * string/strncat.c: Likewise.
44765         * string/strncmp.c: Likewise.
44766         * string/strncpy.c: Likewise.
44768 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44770         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44771         __builtin_memcopy is called when src and dest ranges are known to not
44772         overlap.
44774 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44776         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44777         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44778         fwd_align_merge macro call.
44779         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44780         bwd_align_merge macro call.
44781         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44783 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44785         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44786         bwd_align_merge macros.
44787         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44788         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44789         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44791 2012-04-18  David S. Miller  <davem@davemloft.net>
44793         * sysdeps/sparc/sparc64/memcopy.h: Delete.
44795 2012-04-18  Andreas Jaeger  <aj@suse.de>
44797         [BZ# 6794]
44798         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44799         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44800         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44802         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44803         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44804         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44806         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44807         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44808         Adjust for changed ldbl-128 files.
44810         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44811         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44812         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44814 2012-04-17  David S. Miller  <davem@davemloft.net>
44816         * sysdeps/sparc/sparc32/memcopy.h: Delete.
44818 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
44820         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44821         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44822         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44823         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44824         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44825         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44827 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44829         [BZ #6794]
44830         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44831         * math/libm-test.inc: Add ilogb errno and exception tests.
44832         * math/w_ilogb.c: New file: ilogb wrapper.
44833         * math/w_ilogbf.c: New file: ilogbf wrapper.
44834         * math/w_ilogbl.c: New file: ilogbl wrapper.
44835         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44836         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44837         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44838         exception being thrown with 0.0 as argument.
44839         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44840         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44841         exception being thrown with 0.0 as argument.
44842         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44843         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44844         exception being thrown with 0.0 as argument.
44845         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44846         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44847         exception being thrown with 0.0 as argument.
44848         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44849         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44850         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44851         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44852         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44853         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44854         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44855         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44856         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44858 2012-04-17  Petr Baudis  <pasky@ucw.cz>
44860         * include/sys/uio.h: Change __vector to __iovec to avoid clash
44861         with altivec.
44863 2012-04-16  Marek Polacek  <polacek@redhat.com>
44865         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44867 2012-04-16  Marek Polacek  <polacek@redhat.com>
44869         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44870         operands of fdivp instruction.
44872 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44874         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44875         * elf/tst-auditmod3b.c: Likewise.
44876         * elf/tst-auditmod4b.c: Likewise.
44877         * elf/tst-auditmod5b.c: Likewise.
44878         * elf/tst-auditmod6b.c: Likewise.
44879         * elf/tst-auditmod6c.c: Likewise.
44880         * elf/tst-auditmod7b.c: Likewise.
44881         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44882         * sysdeps/x86_64/preconfigure.in: Likewise.
44883         * sysdeps/x86_64/preconfigure: Regenerated.
44885 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44887         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44888         __ILP32__.
44890 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
44892         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44893         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44895 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
44897         [BZ #13973]
44898         * locale/iso-639.def: Fix gl language name. Spotted by
44899         Yaron Shahrabani.
44901 2012-04-12  Roland McGrath  <roland@hack.frob.com>
44903         [BZ #2074]
44904         * libio/libio.h (__io_write_fn): Update comment.
44906 2012-04-12  Petr Baudis  <pasky@ucw.cz>
44908         [BZ #2074]
44909         * stdio.texi (Hook Functions): The user provided writer function
44910         is not allowed to return -1.
44912 2012-04-11  David S. Miller  <davem@davemloft.net>
44914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44916 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
44918         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44919         Add a leading slash to rtkaio.
44921 2012-04-11  Jim Meyering  <meyering@redhat.com>
44923         [BZ #11959]
44924         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44925         It is not necessarily an error to ignore fwrite's return
44926         value.  One can reliably use ferror to test for errors after
44927         the fact.
44929 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44931         * bits/types.h (__snseconds_t): New type.
44932         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44934         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44935         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44936         (__SNSECONDS_T_TYPE): Likewise.
44937         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44938         (__SNSECONDS_T_TYPE): Likewise.
44939         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44940         (__SNSECONDS_T_TYPE): Likewise.
44942 2012-04-10  Andreas Jaeger  <aj@suse.de>
44944         [BZ #2636]
44945         * manual/time.texi (Processor Time): Return type of times is
44946         elapsed real time since an arbitrary point in the past.
44947         (CPU Time): Move CLK_TCK from here...
44948         (Processor Time): ...to here.  Correct description.
44949         * manual/conf.texi (Constants for Sysconf): Correct description of
44950         _SC_CLK_TCK.
44952 2012-04-10  David S. Miller  <davem@davemloft.net>
44954         [BZ #13967]
44955         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44956         where the is a gap between DT_REL(A) and DT_JMPREL.
44958 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44960         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44961         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44962         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44964 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44966         * elf/dl-support.c (_dl_inhibit_cache): New variable.
44967         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44968         (dl_main): Handle --inhibit-cache.
44969         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44970         _dl_inhibit_cache.
44971         * elf/dl-load.c (_dl_map_object): Use it.
44972         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44974 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44976         [BZ #13872]
44977         * sysdeps/i386/fpu/e_powl.S (p78): New object.
44978         (__ieee754_powl): Saturate large exponents rather than testing for
44979         overflow of y*log2(x).
44980         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44981         * math/libm-test.inc (pow_test): Do not permit spurious overflow
44982         exceptions.
44984         [BZ #11521]
44985         * math/s_ctan.c: Include <float.h>.
44986         (__ctan): Avoid internal overflow or cancellation in calculating
44987         denominator.
44988         * math/s_ctanf.c: Likewise.
44989         * math/s_ctanl.c: Likewise.
44990         * math/s_ctanh.c: Likewise.
44991         * math/s_ctanhf.c: Likewise.
44992         * math/s_ctanhl.c: Likewise.
44993         * math/libm-test.inc (ctan_test): Add more tests.
44994         (ctanh_test): Likewise.
44995         * sysdeps/i386/fpu/libm-test-ulps: Update.
44996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44998 2012-04-09  Andreas Jaeger  <aj@suse.de>
45000         [BZ #6894]
45001         * manual/filesys.texi (Directory Entries): Mention that d_namlen
45002         is an optional BSD extension.
45004         [BZ #10254]
45005         * manual/stdio.texi (Opening Streams): Document additional fopen
45006         parameters.
45008 2012-04-09  Roland McGrath  <roland@hack.frob.com>
45010         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45011         %eax without telling the compiler.
45013 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
45015         [BZ # 13963]
45016         * manual/install.texi: Use sourceware.org.
45018 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45020         [BZ #13873]
45021         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45022         (__ieee754_pow): Generate overflow and underflow using huge*huge
45023         and tiny*tiny rather than just returning constant infinity or zero
45024         for large exponents.
45025         * math/libm-test.inc (pow_test): Require overflow exceptions for
45026         applicable cases of large exponents.
45028         [BZ #706]
45029         * sysdeps/i386/fpu/e_pow.S (p10): New object.
45030         (__ieee754_pow): Use iterative multiplication algorithm only for
45031         integer exponents with absolute value below 1024.  Check for odd
45032         integer exponents when using algorithm for real exponents.
45033         * math/libm-test.inc (pow_test): Add more tests.
45034         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45036 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
45038         [BZ #13705]
45039         * math/libm-test.inc (exp_test): Do not allow overflow exception
45040         on underflow test.
45042 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
45044         [BZ #13705]
45045         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45046         instead of __kernel_standard_f.
45048 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
45050         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45051         * sysdeps/x86_64/memset_chk.S: Likewise.
45053 2012-04-08  Andreas Jaeger  <aj@suse.de>
45055         [BZ #10153]
45056         * manual/startup.texi (Environment Access): Describe return value
45057         for putenv and setenv.
45059         [BZ #6895]
45060         * manual/filesys.texi (Directory Entries): Add description for
45061         DT_LNK.
45063         [BZ #6890]
45064         * manual/filesys.texi (Directory Entries): Clarify that it's file
45065         system not operating system in the description of DT_UNKNOWN.
45067         [BZ #6578]
45068         * manual/syslog.texi (closelog): Fix reference, it's openlog.
45070 2012-04-08  Stephen Compall  <s11@member.fsf.org>
45072         [BZ #6649]
45073         * manual/llio.texi (Opening and Closing Files): Add cross
45074         reference to explain mode argument.
45076 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
45078         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45079         * sysdeps/x86_64/memset_chk.S: Likewise.
45081 2012-04-07  David S. Miller  <davem@davemloft.net>
45083         * elf/elf.h (R_SPARC_WDISP10): Define.
45084         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45085         R_SPARC_SIZE32.
45086         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45087         R_SPARC_SIZE64 and R_SPARC_H34.
45089 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
45091         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45092         conditions and remove no longer applicable assertion.
45094 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45096         * bits/byteswap.h: Include <features.h>.
45097         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45098         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45100 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45102         * bits/byteswap.h (__bswap_16): Removed.
45103         Include <bits/byteswap-16.h> to get __bswap_16.
45104         * sysdeps/i386/bits/byteswap.h: Likewise.
45105         * sysdeps/s390/bits/byteswap.h: Likewise.
45106         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45107         * bits/byteswap-16.h: New file.
45108         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45109         * sysdeps/s390/bits/byteswap-16.h: Likewise.
45110         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45111         * string/Makefile (headers): Add bits/byteswap-16.h.
45113 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45115         [BZ #13895]
45116         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45117         extra indirection.
45118         * nss/Makefile (tests-static, tests): Add tst-nss-static.
45119         * nss/tst-nss-static.c: New.
45121 2012-04-06  Robert Millan  <rmh@gnu.org>
45123         [BZ #6486]
45124         * manual/llio.texi (File Position Primitive): lseek
45125         refers to WHENCE when it really means OFFSET.
45127 2012-04-06  Andreas Jaeger  <aj@suse.de>
45129         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45130         strncmp declarations.
45132         * abilist/libc.abilist: Add __poll and __ppoll.
45134 2012-04-05  David S. Miller  <davem@davemloft.net>
45136         * scripts/check-local-headers.sh: Accept a host triplet in the
45137         path matched by the exclude regexp.
45139         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45140         definition.
45141         * sysdeps/powerpc/powerpc32/dl-machine.h
45142         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45143         * sysdeps/s390/s390-32/dl-machine.h
45144         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45145         * sysdeps/sparc/sparc32/dl-machine.h
45146         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45147         * sysdeps/sparc/sparc64/dl-machine.h
45148         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45150         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45151         lazy binding.
45152         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45153         undefined symbol errors.
45155         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45156         DT_NEEDED entries.
45158 2012-04-05  Michael Matz  <matz@suse.de>
45160         [BZ #13592]
45161         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45163 2012-04-05  Andreas Jaeger  <aj@suse.de>
45165         [BZ #13908]
45166         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45167         comment.
45169 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45171         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45172         which ROUND is no valid rounding mode.
45174 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45176         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45177         read again.
45178         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45180 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45182         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45183         an exception using FPU order intentionally.
45185 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45187         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45188         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45189         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45190         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45192 2012-04-05  Simon Josefsson  <simon@josefsson.org>
45194         [BZ #12340]
45195         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45196         EINVAL when BUFLEN is too smal.
45198 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45200         [BZ #13553]
45201         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45202         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45204 2012-04-03  Andreas Jaeger  <aj@suse.de>
45206         [BZ #13938]
45207         * manual/setjmp.texi (System V contexts): Fix sentence.
45209         [BZ #13926]
45210         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45211         New macro for this case.
45212         [!__GNUC__] (__bswap_64): New inline function for this case.
45213         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45214         * bits/byteswap.h: Likewise.
45215         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45216         ull, guard with __GLIBC_HAVE_LONG_LONG.
45218         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45219         __GLIBC_HAVE_LONG_LONG.
45221         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45222         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45224 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45226         [BZ #13691]
45227         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45228         inptr and inend, rather than using last_ch.
45230 2012-04-02  David S. Miller  <davem@davemloft.net>
45232         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45233         * stdio-common/printf-parse.h (read_int): Change return type to
45234         'int', return -1 on INT_MAX overflow.
45235         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45236         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
45237         overflows INT_MAX.  Check for overflow of in-format-string precision
45238         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
45239         SIZE_MAX not INT_MAX for integer overflow test.
45240         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45241         skip the construct in the format string but do not record anything.
45242         * stdio-common/bug22.c: Adjust to test both width/prevision
45243         INT_MAX overflow as well as total length INT_MAX overflow.  Check
45244         explicitly for proper errno values.
45246 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45248         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45249         CHAR_MAX.
45250         * string/test-strcmp.c [! WIDE]: Likewise.
45251         * time/tst-mktime2.c: Likewise for INT_MAX.
45252         * string/test-string.h: #include <sys/param.h> for MIN.
45254         * csu/init-first.c (__libc_init_first): Call __ctype_init.
45255         * sysdeps/i386/init-first.c (init): Likewise.
45256         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45257         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45258         * sysdeps/sh/init-first.c (init): Likewise.
45260 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
45262         * po/ru.po: Update from translation team.
45263         * po/vi.po: Likewise.
45265 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45267         * resolv/nss_dns/dns-host.c: Merge copyright years.
45269 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45271         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45272         Optimize memcpy with prefetch if
45273         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
45274         src, dst pointers have unequal 16 byte alignments.
45276 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45278         [BZ #13928]
45279         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45280         from a CNAME entry and return the minimum ttl for the query.
45281         (gaih_getanswer_slice): Likewise.
45283 2012-03-30  Jeff Law  <law@redhat.com>
45285         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45286         due to long keys.
45287         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45288         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45290         * resolv/nss_dns/dns-host.c: Update copyright year.
45292 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
45294         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45295         requests to save a system call.  Fix check that all bytes are sent.
45297         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45298         comments for sendmmsg.
45300 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45302         [BZ #13691]
45303         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45304         with only 1 character between 0x0041 and 0x01b0.
45305         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45306         * wcsmbs/tst-mbsnrtowcs.c: New file.
45308 2012-03-29  David S. Miller  <davem@davemloft.net>
45310         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45311         small copies by hand.
45313 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45315         [BZ #13761]
45316         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45317         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45318         group memberships.
45320 2012-03-28  David S. Miller  <davem@davemloft.net>
45322         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45323         that branches into memcpy.
45324         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45325         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45326         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45327         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45328         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45329         bits.
45330         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45331         implementation too.
45332         * sysdeps/sparc/mempcpy.S: New file.
45334         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45335         the IFUNC routine in the libc case.
45336         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45338         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45339         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45340         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45341         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45342         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45343         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45344         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45345         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45347         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45348         loop to 256 bytes instead of 64 bytes and fix test signedness.
45350         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45351         * sysdeps/sparc/sparc32/Makefile: rather than here...
45352         * sysdeps/sparc/sparc64/Makefile: and here.
45354 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
45356         * malloc/mallocbug.c: Avoid warnings about unused variables.
45358 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45360         [BZ #13760]
45361         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45362         in the right place. Discard and retry query if response is
45363         larger than input buffer size.
45365 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
45367         [BZ #369]
45368         [BZ #2678]
45369         [BZ #3866]
45370         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45371         x for large integer exponent.
45372         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45373         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
45374         sign of result as needed afterwards.
45375         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45376         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45377         result for underflowing pow the same as for overflow.
45378         (__kernel_standard_l): Handle powl overflow and underflow here
45379         rather than calling __kernel_standard.
45380         * math/libm-test.inc (pow_test): Add more tests.
45382         [BZ #3868]
45383         [BZ #13879]
45384         [BZ #13910]
45385         [BZ #13911]
45386         [BZ #13912]
45387         [BZ #13913]
45388         [BZ #13915]
45389         [BZ #13916]
45390         [BZ #13917]
45391         [BZ #13918]
45392         [BZ #13919]
45393         [BZ #13920]
45394         [BZ #13921]
45395         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45396         * sysdeps/ieee754/k_standard.c: Include <float.h>.
45397         (__kernel_standard_l): New function.
45398         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45399         __kernel_standard.
45400         * math/w_acosl.c (__acosl): Likewise.
45401         * math/w_asinl.c (__asinl): Likewise.
45402         * math/w_atan2l.c (__atan2l): Likewise.
45403         * math/w_atanhl.c (__atanhl): Likewise.
45404         * math/w_coshl.c (__coshl): Likewise.
45405         * math/w_exp10l.c (__exp10l): Likewise.
45406         * math/w_exp2l.c (__exp2l): Likewise.
45407         * math/w_fmodl.c (__fmodl): Likewise.
45408         * math/w_hypotl.c (__hypotl): Likewise.
45409         * math/w_j0l.c (__j0l, __y0l): Likewise.
45410         * math/w_j1l.c (__j1l, __y1l): Likewise.
45411         * math/w_jnl.c (__jnl, __ynl): Likewise.
45412         * math/w_lgammal.c (__lgammal): Likewise.
45413         * math/w_log10l.c (__log10l): Likewise.
45414         * math/w_log2l.c (__log2l): Likewise.
45415         * math/w_logl.c (__logl): Likewise.
45416         * math/w_powl.c (__powl): Likewise.
45417         * math/w_remainderl.c (__remainderl): Likewise.
45418         * math/w_scalbl.c (sysv_scalbl): Likewise.
45419         * math/w_sinhl.c (__sinhl): Likewise.
45420         * math/w_sqrtl.c (__sqrtl): Likewise.
45421         * math/w_tgammal.c (__tgammal): Likewise.
45422         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45423         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45424         * math/libm-test.inc (acos_test): Add more tests.
45425         (acosh_test): Likewise.
45426         (asin_test): Likewise.
45427         (atanh_test): Likewise.
45428         (exp_test): Likewise.
45429         (exp10_test): Likewise.
45430         (exp2_test): Likewise.
45431         (expm1_test): Likewise.
45432         (lgamma_test): Likewise.
45433         (log_test): Likewise.
45434         (log10_test): Likewise.
45435         (log1p_test): Likewise.
45436         (log2_test): Likewise.
45437         (pow_test): Do not allow some spurious overflow exceptions.
45438         (sqrt_test): Add more tests.
45439         (tgamma_test): Likewise.
45440         (y0_test): Likewise.
45441         (y1_test): Likewise.
45442         (yn_test): Likewise.
45444 2012-03-27  Anton Blanchard  <anton@samba.org>
45446         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45447         MAP_HUGETLB.
45448         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45449         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45450         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45452 2012-03-27  David S. Miller  <davem@davemloft.net>
45454         * conform/Makefile: Run run-conformtest.sh using $(BASH).
45456         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45457         have-as-vis3 check.
45459 2012-03-27  Andreas Jaeger  <aj@suse.de>
45461         * sysdeps/x86_64/elf/configure.in: Moved to ...
45462         * sysdeps/x86_64/configure.in: ... here.
45463         * sysdeps/x86_64/elf/start.S: Moved to ...
45464         * sysdeps/x86_64/start.S: ... here.
45465         * sysdeps/x86_64/elf/configure: Delete.
45467         * sysdeps/x86_64/configure.in: Merge contents from
45468         sysdeps/i386/configure.in (without i686 check).
45470         * sysdeps/i386/elf/Versions: Merge into ...
45471         * sysdeps/i386/Versions: ... this.
45472         * sysdeps/i386/elf/Versions: Delete file.
45473         * sysdeps/i386/elf/start.S: Moved to ...
45474         * sysdeps/i386/start.S: ...here.
45475         * sysdeps/i386/elf/configure.in: Merge into...
45476         * sysdeps/i386/configure.in: ...here.
45477         * sysdeps/i386/elf/configure.in: Delete file.
45478         * sysdeps/i386/elf/configure: Delete file.
45480         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45481         * debug/backtracesyms.c: ... here.
45482         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45483         * debug/backtracesymsfd.c: ... here.
45484         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45485         * sysdeps/generic/ifunc-sel.h: ... here.
45487         * sysdeps/unix/i386/start.c: Delete file.
45488         * sysdeps/unix/sparc/start.c: Delete file.
45489         * sysdeps/unix/start.c: Delete file.
45491         * sysdeps/sh/elf/configure.in: Moved to ...
45492         * sysdeps/sh/configure.in: ... here.
45493         * sysdeps/sh/elf/start.S: Moved to ...
45494         * sysdeps/sh/start.S: ... here.
45495         * sysdeps/sh/elf/configure: Delete file.
45497         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45498         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45499         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45500         * sysdeps/powerpc/powerpc64/entry.h: ... here.
45501         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45502         * sysdeps/powerpc/powerpc64/start.S: here.
45503         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45504         * sysdeps/powerpc/powerpc64/Makefile: ... this.
45505         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45506         * sysdeps/powerpc/powerpc64/configure.in: ... this.
45507         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45509         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45510         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45511         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45512         * sysdeps/powerpc/powerpc32/start.S: ... here.
45513         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45514         * sysdeps/powerpc/powerpc32/configure.in: ... this.
45515         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45517         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45518         * sysdeps/powerpc/ifunc-sel.h: ... here.
45519         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45520         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45522         * sysdeps/sparc/elf/configure.in: Moved to ...
45523         * sysdeps/sparc/configure.in: ... here.
45524         * sysdeps/sparc/elf/configure: Delete file.
45525         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45526         * sysdeps/sparc/sparc32/start.S: ... here.
45527         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45528         * sysdeps/sparc/sparc64/start.S: ... here.
45529         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45530         * sysdeps/sparc/sparc32/Makefile: ... this.
45531         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45532         * sysdeps/sparc/sparc64/Makefile: ... this.
45534         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45535         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45536         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45537         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45538         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45539         * sysdeps/s390/s390-32/setjmp.S: ... here.
45540         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45541         * sysdeps/s390/s390-32/configure.in: ... here.
45542         * sysdeps/s390/s390-32/elf/configure: Delete file.
45543         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45544         * sysdeps/s390/s390-32/start.S: ... here.
45546         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45547         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45548         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45549         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45550         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45551         * sysdeps/s390/s390-64/setjmp.S: ... here.
45552         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45553         * sysdeps/s390/s390-64/configure.in: ... here
45554         * sysdeps/s390/s390-64/elf/configure: Delete file.
45555         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45556         * sysdeps/s390/s390-64/start.S: ... here.
45557         * sysdeps/s390/s390-64/elf/configure: Delete.
45559         * configure.in: Remove support for elf directories in sysdeps.
45561         * configure: Regenerated.
45562         * sysdeps/i386/configure: Regenerated.
45563         * sysdeps/powerpc/powerpc32/configure: Regenerated.
45564         * sysdeps/powerpc/powerpc64/configure: Regenerated.
45565         * sysdeps/s390/s390-32/configure: Regenerated.
45566         * sysdeps/s390/s390-64/configure: Regenerated.
45567         * sysdeps/sh/configure: Regenerated.
45568         * sysdeps/sparc/configure: Regenerated.
45569         * sysdeps/x86_64/configure: Regenerated.
45571 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
45573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45575         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45576         denormal result into account.
45578 2012-03-25  Roland McGrath  <roland@hack.frob.com>
45580         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45581         Reported by Allan McRae <allan@archlinux.org>.
45583 2012-03-23  Jeff Law  <law@redhat.com>
45585         * nss/getnssent.c (__nss_getent): Fix typo.
45587 2012-03-23  David S. Miller  <davem@davemloft.net>
45589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45591 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
45593         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45594         to pad to uint64_t for each field.
45595         (dl_tls_index): Replace unsigned long with uint64_t.
45597 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
45598         Paul Pluzhnikov  <ppluzhnikov@google.com>
45600         [BZ #6528]
45601         * grp/Makefile (otherlibs): Don't set it.
45602         * inet/Makefile (otherlibs): Likewise.
45603         * login/Makefile (otherlibs): Likewise.
45604         * nscd/Makefile (otherlibs): Likewise.
45605         * posix/Makefile (otherlibs): Likewise.
45606         * pwd/Makefile (otherlibs): Likewise.
45607         * rt/Makefile (otherlibs): Likewise.
45608         * sunrpc/Makefile (otherlibs): Likewise.
45609         * nss/Makefile (otherlibs): Likewise.
45610         Add libnss_files to routines and static-only-routines.
45611         ($(objpfx)getent): Remove rule.
45612         * resolv/Makefile: Add libnss_dns and libresolv to routines and
45613         static-only-routines.
45615 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45617         [BZ #13892]
45618         * math/s_cexp.c: Include <float.h>.
45619         (__cexp): Handle exp result overflowing not necessarily
45620         overflowing both real and imaginary parts of result.
45621         * math/s_cexpf.c: Likewise.
45622         * math/s_cexpl.c: Likewise.
45623         * math/libm-test.inc (cexp_test): Add more tests.
45624         * sysdeps/i386/fpu/libm-test-ulps: Update.
45625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45627 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45629         * include/link.h (ELFW): New macro.
45630         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45631         Replace ELF64_R_TYPE with ELFW(R_TYPE).
45633 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45635         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45636         with uint64_t.
45638 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45640         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45641         declaration.
45642         (struct La_x32_retval): Likewise.
45644 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45646         * sysdeps/x86_64/preconfigure.in: New file.
45647         * sysdeps/x86_64/preconfigure: New generated file.
45649 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45651         [BZ #13824]
45652         * math/e_exp2l.c: Include <float.h>.
45653         (__ieee754_exp2l): Handle overflow and underflow cases
45654         separately.  Only pass fractional part of argument to
45655         __ieee754_expl.
45656         * math/libm-test.inc (exp2_test): Add more tests.
45658         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45659         negating x to take absolute value.
45660         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45661         Likewise.
45662         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45663         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45664         Likewise.
45665         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45666         computing low part if x was negated.
45667         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45669 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45671         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45672         la_x32_gnu_pltexit.
45673         (pltexit): Cast int_retval to ptrdiff_t.
45674         * elf/tst-auditmod3b.c: Likewise.
45675         * elf/tst-auditmod4b.c: Likewise.
45676         * elf/tst-auditmod5b.c: Likewise.
45677         * elf/tst-auditmod6b.c: Likewise.
45678         * elf/tst-auditmod6c.c: Likewise.
45679         * elf/tst-auditmod7b.c: Likewise.
45681         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45682         and x32_gnu_pltexit.
45684         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45685         __ELF_NATIVE_CLASS.
45686         (La_x32_regs): New macro.
45687         (La_x32_retval): Likewise.
45688         (la_x32_gnu_pltenter): New function prototype.
45689         (la_x32_gnu_pltexit): Likewise.
45691 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
45693         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45694         exponent.
45696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45698         * configure.in (libc_cv_cc_nofma): Check for option to disable
45699         generation of FMA instructions.
45700         * configure: Regenerate.
45701         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45702         * sysdeps/ieee754/dbl-64/Makefile: New file.
45703         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45704         Remove brandred-fma4.
45705         (CFLAGS-brandred-fma4.c): Remove.
45706         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45707         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45708         define.
45709         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45710         define.
45712 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45714         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45715         LLONG_MAX != LONG_MAX.
45716         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45717         (_fitoa_word): Likewise.
45718         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45719         LLONG_MAX != LONG_MAX.
45720         * stdio-common/_itowa.h: Include <_itoa.h>.
45721         (_itowa_word): Use _ITOA_WORD_TYPE on value.
45722         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
45723         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
45724         only if not defined.
45725         (_ITOA_WORD_TYPE): Likewise.
45726         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45727         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45729 2012-03-21  David S. Miller  <davem@davemloft.net>
45731         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45733 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45735         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45736         of x86_64 when setting libc_cv_slibdir, libdir and
45737         libc_cv_localedir.
45738         * sysdeps/unix/sysv/linux/configure: Regenerated.
45740 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45742         * manual/lang.texi (Old Varargs): Remove section.
45743         (How Variadic): Update menu.
45744         (va_start): Do not mention varargs.h.
45746 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45747             Joseph Myers  <joseph@codesourcery.com>
45749         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45750         link test.
45751         * configure: Regenerated.
45753 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45755         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45756         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45757         conformtest.pl
45759 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45761         * NOTES: Remove.
45762         * Makefile (files-for-dist): Remove NOTES.
45763         (NOTES): Remove rule.
45764         * README: Don't refer to NOTES.
45765         * manual/creature.texi: Don't include macros.texi.
45766         * manual/intro.texi (creature.texi): Remove comment referring to
45767         NOTES.
45769         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45770         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45771         * configure: Regenerated.
45772         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45773         LIBC_TRY_CC_OPTION.
45774         (libc_cv_as_i686): Likewise.
45775         (libc_cv_cc_avx): Likewise.
45776         (libc_cv_cc_sse2avx): Likewise.
45777         (libc_cv_cc_fma4): Likewise.
45778         (libc_cv_cc_novzeroupper): Likewise.
45779         * sysdeps/i386/configure: Regenerated.
45781         [BZ #13883]
45782         * sysdeps/i386/fpu/s_cexp.S: Remove.
45783         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45784         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45785         * math/libm-test.inc (cexp_test): Add more tests.
45786         * sysdeps/i386/fpu/libm-test-ulps: Update.
45787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45789 2012-03-21  Allan McRae  <allan@archlinux.org>
45791         * timezone/Makefile: Do not install iso3166.tab and zone.tab
45793 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45795         [BZ #13871]
45796         * math/w_exp2.c: Do not include <float.h>.
45797         (o_threshold, u_threshold): Remove.
45798         (__exp2): Calculate result before checking finiteness and calling
45799         __kernel_standard.
45800         * math/w_exp2f.c: Likewise.
45801         * math/w_exp2l.c: Likewise.
45802         * math/libm-test.inc (exp2_test): Require overflow exception for
45803         1e6 input.
45805         [BZ #3866]
45806         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45807         range of signed 64-bit integers before using fistpll.  Remove
45808         checks for whether integers fit in mantissa bits.
45809         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45810         the range of signed 32-bit integers before using fistpl.  Remove
45811         checks for whether integers fit in mantissa bits.
45812         * sysdeps/i386/fpu/e_powl.S (p64): New object.
45813         (__ieee754_powl): Test for y outside the range of signed 64-bit
45814         integers before using fistpll.  Reduce 64-bit values to 63-bit
45815         ones as needed.
45816         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45817         divide-by-zero is raised for zero to large negative powers.
45818         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45819         (__ieee754_powl): Test for y outside the range of signed 64-bit
45820         integers before using fistpll.  Reduce 64-bit values to 63-bit
45821         ones as needed.
45822         * math/libm-test.inc (pow_test): Add more tests.
45824 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45826         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45827         <stdio-common/_itoa.h>.
45828         * debug/segfault.c: Likewise.
45829         * elf/dl-cache.c: Likewise.
45830         * elf/dl-minimal.c: Likewise.
45831         * elf/dl-misc.c: Likewise.
45832         * elf/dl-sysdep.c: Likewise.
45833         * elf/dl-version.c: Likewise.
45834         * elf/rtld.c: Likewise.
45835         * hurd/hurdsock.c: Likewise.
45836         * hurd/lookup-retry.c: Likewise.
45837         * malloc/malloc.c: Likewise.
45838         * malloc/mtrace.c: Likewise.
45839         * nscd/nscd_getgr_r.c: Likewise.
45840         * nscd/nscd_getpw_r.c: Likewise.
45841         * nscd/nscd_getserv_r.c: Likewise.
45842         * posix/getopt_init.c: Likewise.
45843         * posix/wordexp.c: Likewise.
45844         * stdio-common/_itoa.c: Likewise.
45845         * stdio-common/printf_fphex.c: Likewise.
45846         * stdio-common/vfprintf.c: Likewise.
45847         * string/_strerror.c: Likewise.
45848         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45849         * sysdeps/i386/i686/hp-timing.h: Likewise.
45850         * sysdeps/mach/_strerror.c: Likewise.
45851         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45852         * sysdeps/mach/hurd/sethostid.c: Likewise.
45853         * sysdeps/mach/hurd/xmknodat.c: Likewise.
45854         * sysdeps/mach/xpg-strerror.c: Likewise.
45855         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45856         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45857         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45858         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45859         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45860         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45861         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45862         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45863         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45864         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45865         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45866         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45867         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45868         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45869         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45870         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45871         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45872         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45873         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45874         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45875         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45877         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45879         * stdio-common/_itoa.h: Moved to ...
45880         * sysdeps/generic/_itoa.h: Here.
45882         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45884         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45885         instead of "_itoa.h" and "_itowa.h".
45886         * stdio-common/vfprintf.: Likewise.
45888 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45890         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45891         <bits/wordsize.h>.
45892         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45893         (__signbit): Likwise.
45894         (llrintf): Likwise.
45895         (llrint): Likwise.
45897 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45899         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45900         __WORDSIZE != 64.
45902 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
45904         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45905         OVERFLOW_EXCEPTION_OK.
45906         * math/libm-test.inc ("Philosophy"): Update comment about
45907         exception testing.
45908         (OVERFLOW_EXCEPTION): Define.
45909         (OVERFLOW_EXCEPTION_OK): Likewise.
45910         (INVALID_EXCEPTION_OK): Renumber.
45911         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45912         (IGNORE_ZERO_INF_SIGN): Likewise.
45913         (test_exceptions): Handle FE_OVERFLOW.
45914         (exp10_test): Expect overflow exceptions.
45915         (exp2_test): Likewise.
45916         (expm1_test): Likewise.
45917         (nextafter_test): Likewise.
45918         (pow_test): Likewise.
45919         (scalbn_test): Likewise.
45920         (scalbln_test): Likewise.
45922 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45924         * sysdeps/x86_64/bits/atomic.h
45925         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45926         64bit integer.
45927         (atomic_exchange_acq): Likewise.
45928         (__arch_exchange_and_add_body): Likewise.
45929         (__arch_add_body): Likewise.
45930         (atomic_add_negative): Likewise.
45931         (atomic_add_zero): Likewise.
45933 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45935         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45936         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45938 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45940         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45941         Check __x86_64__ instead of __WORDSIZE.
45943 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45945         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45947 2012-03-19  David S. Miller  <davem@davemloft.net>
45949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45951         * sysdeps/sparc/fpu/fenv_private.h: New file.
45952         * sysdeps/sparc/fpu/math_private.h: Use it.
45953         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45954         Remove.
45955         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45956         (libc_feholdexcept_setroundl): Remove.
45957         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45958         Remove.
45959         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45960         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45962 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45964         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45965         int64_t instead of long int.
45966         (INSERT_WORDS64): Likwise.
45968 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45970         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45971         _Unwind_GetCFA return to _Unwind_Ptr first.
45973 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
45975         [BZ #13629]
45976         * math/s_clog.c: Include <float.h>.
45977         (__clog): Scale large or subnormal inputs.
45978         * math/s_clogf.c: Likewise.
45979         * math/s_clogl.c: Likewise.
45980         * math/s_clog10.c: Include <float.h>.
45981         (M_LOG10_2): Define.
45982         (__clog10): Scale large or subnormal inputs.
45983         * math/s_clog10f.c: Likewise.
45984         * math/s_clog10l.c: Likewise.
45985         * math/libm-test.inc (clog_test): Add more tests.
45986         (clog10_test): Likewise.
45987         * sysdeps/i386/fpu/libm-test-ulps: Update.
45988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45990         [BZ #11451]
45991         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45992         x and y.
45993         * math/libm-test.inc (atan2_test): Add another test.
45995         * Makerules (common-objdir-compile): Remove.
45996         * sysdeps/unix/Makefile (config-generated): Do not add
45997         $(unix-generated) to variable.
45998         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45999         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46000         Remove rule.
46001         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46002         Likewise.
46003         [generic bits/local_lim.h] (before-compile): Do not append to
46004         variable.
46005         [generic bits/local_lim.h] (common-generated): Likewise.
46006         [generic sys/param.h] (before-compile): Do not append to variable.
46007         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46008         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46009         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46010         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46011         include.
46012         [generic sys/param.h] (sys/param.h-includes): Remove variable.
46013         [generic sys/param.h] (sys/param.h-includes): Remove rule.
46014         [generic sys/param.h] ($(addprefix
46015         $(common-objpfx),$(sys/param.h-includes))): Likewise.
46016         [generic sys/param.h] (common-generated): Do not append to
46017         variable.
46018         [generic sys/param.h] (sysdep_headers): Likewise.
46019         [generic bits/errno.h] (before-compile): Do not append to
46020         variable.
46021         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46022         rule.
46023         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46024         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46025         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46026         [generic bits/errno.h] (common-generated): Do not append to
46027         variable.
46028         [generic bits/ioctls.h] (before-compile): Do not append to
46029         variable.
46030         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46031         rule.
46032         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46033         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46034         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46035         rule.
46036         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46037         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46038         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46039         [generic bits/ioctls.h] (common-generated): Do not append to
46040         variable.
46041         [generic sys/syscall.h] (syscall.h): Remove variable.
46042         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46043         rule.
46044         [generic sys/syscall.h] (before-compile): Do not append to
46045         variable.
46046         [generic sys/syscall.h] (common-generated): Likewise.
46047         * sysdeps/unix/errnos-tmpl.c: Remove file.
46048         * sysdeps/unix/errnos.awk: Likewise.
46049         * sysdeps/unix/ioctls-tmpl.c: Likewise.
46050         * sysdeps/unix/ioctls.awk: Likewise.
46051         * sysdeps/unix/mk-local_lim.c: Likewise.
46052         * sysdeps/unix/snarf-ioctls: Likewise.
46054 2012-03-19  Richard Henderson  <rth@twiddle.net>
46056         * sysdeps/i386/fpu/fenv_private.h: New file.
46057         * sysdeps/i386/fpu/math_private.h: Use it.
46058         (math_opt_barrier, math_force_eval): Remove.
46059         (libc_feholdexcept_setround_53bit): Remove.
46060         (libc_feupdateenv_53bit): Remove.
46061         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46062         (math_opt_barrier, math_force_eval): Remove.
46063         (libc_feholdexcept): Remove.
46064         (libc_feholdexcept_setround): Remove.
46065         (libc_fetestexcept, libc_fesetenv): Remove.
46066         (libc_feupdateenv_test): Remove.
46067         (libc_feupdateenv, libc_feholdsetround): Remove.
46068         (libc_feresetround): Remove.
46070         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46071         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46073         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46074         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46075         (libc_feupdateenv_testl): New.
46076         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46077         (libc_feupdateenv_testf): New.
46078         (libc_feupdateenv): Use libc_feupdateenv_test.
46079         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46080         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46082         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46083         (libc_feholdsetroundf, libc_feholdsetroundl): New.
46084         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46085         (libc_feresetround_noex): New.
46086         (libc_feresetround_noexf): New.
46087         (libc_feresetround_noexl): New.
46088         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46089         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46090         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46091         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46092         SET_RESTORE_ROUND.
46093         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46094         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46095         (__cos): Likewise.
46096         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46097         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46098         SET_RESTORE_ROUND_NOEX.
46099         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46100         SET_RESTORE_ROUND_NOEXF.
46101         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46102         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46103         (libc_feholdsetroundf): New.
46104         (libc_feresetround, libc_feresetroundf): New.
46106         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46107         (libc_feholdexcept_setround_53bit): Convert from macro to function.
46108         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
46110         * sysdeps/generic/math_private.h: Include <fenv.h>.
46111         (default_libc_feholdexcept): New.
46112         (default_libc_feholdexcept_setround): New.
46113         (default_libc_fesetenv, default_libc_feupdateenv): New.
46114         (libc_feholdexcept): Only define if undefined.
46115         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46116         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46117         (libc_feholdexcept_setroundl): Likewise.
46118         (libc_feholdexcept_setround_53bit): Likewise.
46119         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46120         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46121         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46122         (libc_feupdateenv_53bit): Likewise.
46123         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46124         (libc_feholdexcept): Convert from macro to inline function.
46125         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46126         (libc_fesetenv, libc_feupdateenv): Likewise.
46128         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46129         not previously defined.
46130         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46131         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46132         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46133         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46134         * sysdeps/ieee754/flt-32/math_private.h: New file.
46135         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46136         math_private.h below SET_FLOAT_WORD.
46137         (__isnan, __isinf_ns, __finite): Remove.
46138         (__isnanf, __isinf_nsf, __finitef): Remove.
46140 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
46142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46144 2012-03-17  David S. Miller  <davem@davemloft.net>
46146         [BZ #6471]
46147         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46148         for 2.16.
46150 2012-03-16  David S. Miller  <davem@davemloft.net>
46152         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46153         warnings.
46155         [BZ #6471]
46156         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46157         properly.
46158         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46159         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46160         sysdep_routines when subdir is sysvipc.
46161         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46162         __getshmlba helper.
46164         * sysdeps/sparc/fpu/libm-test/ulps: Update.
46166 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46168         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46169         [__LP64__].
46171 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46173         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46174         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46175         (__lround): Renamed to ...
46176         (__llround): This.  Replace long int with long long int.
46177         Define lround functions as aliases of llround functions.
46178         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46180 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46182         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46183         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
46184         adresses to uintptr_t.  Replace "long int" and "unsigned long
46185         int" with "greg_t" on va_arg.
46187 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46189         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46190         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46192         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46193         Move e_machine check before EI_CLASS check.  Handle x32
46194         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46195         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46196         SKIP_EM_IA_64 and include
46197         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46199         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46200         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46201         (add_system_dir): New macro.
46203         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46204         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46206 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46208         [BZ #2551]
46209         [BZ #2552]
46210         [BZ #2553]
46211         [BZ #2554]
46212         [BZ #2562]
46213         [BZ #2563]
46214         [BZ #2565]
46215         [BZ #2566]
46216         [BZ #2576]
46217         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46218         (y0): Likewise.
46219         * math/w_j0f.c (j0f): Likewise.
46220         (y0f): Likewise.
46221         * math/w_j0l.c (__j0l): Likewise.
46222         (__y0l): Likewise.
46223         * math/w_j1.c (j1): Likewise.
46224         (y1): Likewise.
46225         * math/w_j1f.c (j1f): Likewise.
46226         (y1f): Likewise.
46227         * math/w_j1l.c (__j1l): Likewise.
46228         (__y1l): Likewise.
46229         * math/w_jn.c (jn): Likewise.
46230         (yn): Likewise.
46231         * math/w_jnf.c (jnf): Likewise.
46232         (ynf): Likewise.
46233         * math/w_jnl.c (__jnl): Likewise.
46234         (__ynl): Likewise.
46235         * math/libm-test.inc (j0_test): Add more tests.
46236         (j1_test): Likewise.
46237         (jn_test): Likewise.  Add trailing semicolon to existing test.
46238         (y0_test): Likewise.
46239         (y1_test): Likewise.
46240         * sysdeps/i386/fpu/libm-test-ulps: Update.
46241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46243         [BZ #13851]
46244         [BZ #13854]
46245         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46246         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46247         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46248         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46249         (__tanl): Set errno for infinite argument.
46250         * sysdeps/i386/fpu/mptan.c: Remove.
46251         * sysdeps/i386/fpu/s_tan.S: Likewise.
46252         * sysdeps/i386/fpu/s_tanl.S: Likewise.
46253         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46254         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46255         * math/libm-test.inc (tan_test): Add more tests and enable more
46256         tests for double and long double.
46257         * sysdeps/i386/fpu/libm-test-ulps: Update.
46258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46260 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
46262         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46263         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46265 2012-03-16  Roland McGrath  <roland@hack.frob.com>
46267         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46268         * configure.in: Use it for both main tree and add-ons.
46269         * configure: Regenerated.
46271 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46273         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46275 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46277         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46278         in comment.
46280         [BZ #13851]
46281         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46282         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46283         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46284         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46285         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46286         infinite argument.
46287         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46288         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46289         != 0 for prec == 2.
46290         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46291         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46292         * sysdeps/i386/fpu/s_cosl.S: Likewise.
46293         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46294         * sysdeps/i386/fpu/s_sinl.S: Likewise.
46295         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46296         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46297         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46298         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46299         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46300         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46301         * math/libm-test.inc (cos_test): Add more tests and enable more
46302         tests for long double.
46303         (sin_test): Likewise.
46304         (sincos_test): Likewise.
46305         * sysdeps/i386/fpu/libm-test-ulps: Update.
46306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46308 2012-03-16  David S. Miller  <davem@davemloft.net>
46310         * sysdeps/sparc/fpu/math_private.h: New file.
46312 2012-03-15  David S. Miller  <davem@davemloft.net>
46314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46315         file.
46316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46318         file.
46319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46320         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46321         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46322         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46323         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46324         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46325         sysdep routines.
46326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46328         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46329         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46331         * sysdeps/sparc/sparc-ifunc.h: New file.
46332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46333         sparc-ifunc.h
46334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46336         Likewise.
46337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46338         Likewise.
46339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46343         Likewise.
46344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46349         Likewise.
46350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46351         Likewise.
46352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46356         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46357         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46358         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46359         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46360         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46361         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46362         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46363         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46364         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46365         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46366         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46367         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46368         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46369         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46370         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46371         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46372         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46373         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46374         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46375         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46377 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46379         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46380         scaling.
46381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46383 2012-03-15  Andreas Jaeger  <aj@suse.de>
46385         [BZ #13852]
46386         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46387         ieee754/flt-32 implementation for sin, cos and sincos.
46388         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46389         * sysdeps/i386/fpu/s_cosf.S: Likewise.
46390         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46391         * sysdeps/i386/fpu/s_sinf.S: Likewise.
46392         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46393         ieee754/flt-32 implementation for tan.
46395         * math/libm-test.inc (cos_test): Enable some large input tests for
46396         float as well
46397         (sin_test): Likewise.
46398         (sincos_test): Likewise.
46399         (tan_test): Add tests for large input.
46401         * sysdeps/i386/fpu/libm-test-ulps: Update.
46403 2012-03-15  Andreas Jaeger  <aj@suse.de>
46405         [BZ #13658]
46406         * math/libm-test.inc (cos_test): Add more test cases.
46407         (sin_test): Likewise.
46408         (sincos_test): Likewise.
46410 2012-03-15  Andreas Jaeger  <aj@suse.de>
46412         [BZ #13837]
46413         * math/libm-test.inc (cos_test): Add a test case for large input
46414         value.
46415         (sin_test): Likewise.
46416         (sincos_test): Likewise.
46418 2012-03-15  Andreas Jaeger  <aj@suse.de>
46419             Joseph Myers  <joseph@codesourcery.com>
46421         [BZ #13658]
46422         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46423         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46424         * sysdeps/i386/fpu/branred.c: Likewise.
46425         * sysdeps/i386/fpu/dosincos.c: Likewise.
46426         * sysdeps/i386/fpu/mpa.c: Likewise.
46427         * sysdeps/i386/fpu/s_cos.S: Likewise.
46428         * sysdeps/i386/fpu/s_sin.S: Likewise.
46429         * sysdeps/i386/fpu/s_sincos.S: Likewise.
46430         * sysdeps/i386/fpu/sincos32.c: Likewise.
46432         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46433         Define.
46434         (libc_feupdateenv_53bit): Define.
46435         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46436         Define.
46437         (libc_feupdateenv_53bit): Define.
46439         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46440         53 bit (without extend i386 double precision).
46442         * math/libm-test.inc (sincos_test): Add tests for large input.
46443         (sin): Likewise.
46444         (cos): Likewise.
46446         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46448 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46452 2012-03-15  David S. Miller  <davem@davemloft.net>
46454         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46455         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46456         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46457         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46462         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46463         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46464         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46465         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46466         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46467         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46468         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46470         file.
46471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46473         file.
46474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46476         file.
46477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46479         file.
46480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46481         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46482         fmin/fmax sysdep routines.
46483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46485 2012-03-14  David S. Miller  <davem@davemloft.net>
46487         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46488         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46489         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46490         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46491         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46492         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46493         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46494         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46495         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46496         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46497         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46498         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46499         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46500         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46501         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46502         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46503         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46504         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46505         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46506         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46507         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46508         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46509         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46510         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46511         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46512         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46513         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46514         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46515         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46516         routines.
46517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46518         file.
46519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46521         file.
46522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46524         file.
46525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46527         file.
46528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46530         file.
46531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46533         file.
46534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46535         file.
46536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46537         file.
46538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46539         file.
46540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46541         New file.
46542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46543         file.
46544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46545         file.
46546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46548         file.
46549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46551         file.
46552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46554         file.
46555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46557         VIS3 routines.
46559         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46560         New file.
46562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46564         * sysdeps/sparc/configure.in: New file.
46565         * sysdeps/sparc/configure: Generate.
46566         * configure.in (libc_cv_sparc_as_vis3): Substitute.
46567         * configure: Regenerate.
46568         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46569         * config.make.in (have-as-vis3): New.
46570         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46571         available use -Av9d instead of -Av9a.
46572         * sysdeps/sparc/sparc64/Makefile: Likewise.
46573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46575         New file.
46576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46577         file.
46578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46579         New file.
46580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46581         file.
46582         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46583         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46584         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46585         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46586         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46588         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46589         fzeros/fnegs to load 0x80000000 into a float register instead of
46590         using the stack.
46591         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46593 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46595         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46596         bits/syscall.h.
46597         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46598         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46599         ($(inst_includedir)/bits/syscall.h): Remove rule.
46600         ($(objpfx)bits/syscall.d): Include instead of
46601         $(objpfx)syscall-list.d.
46602         (generated): Change syscall-list.h and syscall-list.d to
46603         bits/syscall.h and bits/syscall.d.
46605 2012-03-14  Roland McGrath  <roland@hack.frob.com>
46607         [BZ #13846]
46608         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46610 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46612         [BZ #13841]
46613         * math/s_csqrt.c: Include <float.h>.
46614         (__csqrt): Scale large or subnormal inputs.
46615         * math/s_csqrtf.c: Likewise.
46616         * math/s_csqrtl.c: Likewise.
46617         * math/libm-test.inc (csqrt_test): Add more tests.
46618         * sysdeps/i386/fpu/libm-test-ulps: Update.
46619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46621         [BZ #13840]
46622         * math/libm-test.inc (hypot_test): Add more tests.
46624 2012-03-13  David S. Miller  <davem@davemloft.net>
46626         [BZ #13840]
46627         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46628         double-precision for the calculation instead of scaling.
46630 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
46632         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46633         manipulate bits before adding and subtracting TWO52[sx].
46634         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46635         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46636         Likewise.
46637         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46639 2012-03-13  David S. Miller  <davem@davemloft.net>
46641         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46642         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46643         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46644         rtld-global-offsets.h
46645         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46647         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46648         large parameters.
46650         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46652         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46653         'err' in the ifdef scope in which it is actually used.
46655         * nss/nss_db/db-init.c: Include string.h
46657 2012-03-12  David S. Miller  <davem@davemloft.net>
46659         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46660         masking out of the most significant byte of random value used.
46661         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46662         Fix coding style in previous change.
46664         * sysdeps/unix/sysv/linux/kernel-features.h
46665         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46666         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46667         expression.
46668         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46669         later.
46671 2012-03-11  David S. Miller  <davem@davemloft.net>
46673         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46674         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46675         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46676         for 'resultvar' otherwise things get truncated on 64-bit.
46678         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46679         Fix masking out of the most significant byte of random value used.
46681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46683 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
46685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46687 2012-03-09  David S. Miller  <davem@davemloft.net>
46689         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46690         variables with appropriate CPP guards.
46691         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46692         from the frame pointer, not the stack pointer.  Correct layout
46693         comments.  Fix test on resulting framesize and the management of
46694         the outregs buffer for pltexit.  Preserve floating point return
46695         values across _dl_call_pltexit call.
46696         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46697         framesize and the management of the outregs buffer for pltexit.
46698         Preserve floating point return values across _dl_call_pltexit
46699         call.
46700         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46701         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46702         (la_sparc64_gnu_pltexit): New functions.
46703         (print_exit): Fix format string for return register value.
46705 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
46707         * sunrpc/Makefile (others): Add rpcgen.
46708         ($(objpfx)rpcgen): Remove special build rule and dependency on
46709         libc.
46710         * sunrpc/rpcgen.c: New file.
46712 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
46714         [BZ #13673]
46715         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46716         * stdio-common/bug-vfprintf-nargs.c: Likewise.
46717         * sysdeps/i386/crti.S: Likewise.
46718         * sysdeps/i386/crtn.S: Likewise.
46719         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46720         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46721         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46722         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46723         * sysdeps/sh/crti.S: Likewise.
46724         * sysdeps/sh/crtn.S: Likewise.
46725         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46727         [BZ #13673]
46728         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46729         with URL.
46730         * locale/programs/locfile-kw.gperf: Likewise.
46731         * locale/programs/charmap-kw.h: Regenerated.
46732         * locale/programs/locfile-kw.h: Likewise.
46734         [BZ #13673]
46735         * intl/plural.y: Replace FSF snail mail address with URL.
46736         * intl/plural.c: Regenerated.
46738 2012-03-09  Richard Henderson  <rth@twiddle.net>
46740         * include/math_private.h: Remove file.
46741         * math/math_private.h: Move file ...
46742         * sysdeps/generic/math_private.h: ... here.
46744         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46745         * sysdeps/powerpc/fpu/math_private.h: Likewise.
46746         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46748         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46749         and <math_private.h>.
46750         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46751         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46752         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46753         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46754         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46755         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46756         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46757         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46758         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46759         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46760         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46761         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46762         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46763         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46764         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46765         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46766         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46767         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46768         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46769         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46770         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46771         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46772         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46773         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46774         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46775         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46776         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46777         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46778         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46779         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46780         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46781         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46782         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46783         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46784         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46785         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46786         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46787         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46788         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46789         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46790         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46791         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46792         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46793         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46794         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46795         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46796         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46797         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46798         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46799         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46800         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46801         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46802         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46803         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46804         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46805         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46806         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46807         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46808         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46809         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46810         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46811         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46812         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46813         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46814         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46815         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46816         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46817         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46818         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46819         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46820         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46821         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46822         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46823         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46824         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46825         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46826         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46827         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46828         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46829         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46830         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46831         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46832         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46833         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46834         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46835         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46836         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46837         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46838         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46839         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46840         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46841         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46842         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46843         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46844         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46845         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46846         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46847         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46848         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46849         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46850         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46851         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46852         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46853         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46854         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46855         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46856         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46857         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46858         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46859         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46860         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46861         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46862         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46863         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46864         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46865         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46866         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46867         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46868         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46869         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46870         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46871         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46872         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46873         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46874         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46875         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46876         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46877         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46878         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46879         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46880         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46881         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46882         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46883         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46884         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46885         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46886         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46887         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46888         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46889         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46890         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46891         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46892         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46893         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46894         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46895         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46896         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46897         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46898         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46899         * sysdeps/ieee754/k_standard.c: Likewise.
46900         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46901         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46902         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46903         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46904         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46905         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46906         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46907         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46908         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46909         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46910         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46911         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46912         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46913         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46914         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46915         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46916         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46917         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46918         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46919         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46920         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46921         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46922         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46923         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46924         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46925         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46926         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46927         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46928         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46929         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46930         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46931         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46932         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46933         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46934         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46935         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46936         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46937         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46938         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46939         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46940         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46941         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46942         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46943         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46944         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46945         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46946         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46947         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46948         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46949         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46950         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46951         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46952         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46953         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46954         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46955         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46956         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46957         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46958         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46959         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46960         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46961         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46962         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46963         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46964         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46965         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46966         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46967         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46968         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46969         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46970         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46971         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46972         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46973         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46974         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46975         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46976         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46977         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46978         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46979         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46980         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46981         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46982         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46983         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46984         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46985         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46986         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46987         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46988         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46989         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46990         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46991         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46992         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46993         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46994         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46995         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46996         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46997         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46998         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46999         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47000         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47001         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47002         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47003         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47004         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47005         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47006         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47007         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47008         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47009         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47010         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47011         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47012         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47013         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47014         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47015         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47016         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47017         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47018         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47019         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47020         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47021         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47022         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47023         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47024         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47025         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47026         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47027         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47028         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47029         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47030         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47031         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47032         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47033         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47034         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47035         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47036         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47037         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47038         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47039         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47040         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47041         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47042         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47043         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47044         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47045         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47046         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47047         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47048         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47049         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47050         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47051         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47052         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47053         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47054         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47055         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47056         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47057         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47058         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47059         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47060         * sysdeps/ieee754/s_lib_version.c: Likewise.
47061         * sysdeps/ieee754/s_matherr.c: Likewise.
47062         * sysdeps/ieee754/s_signgam.c: Likewise.
47063         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47064         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47065         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47066         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47067         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47068         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47069         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47070         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47071         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47072         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47073         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47074         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47075         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47076         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47077         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47078         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47079         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47080         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47081         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47082         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47083         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47085 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47087         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47088         * sunrpc/rpc_main.c: Likewise.
47089         * sunrpc/rpc_svcout.c: Likewise.
47091 2012-03-09  David S. Miller  <davem@davemloft.net>
47093         * include/math_private.h: New file.
47095 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47097         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47098         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47099         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47100         from <bits/socket_type.h>.
47101         (enum __socket_type): Don't define here.
47102         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47103         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47104         bits/socket_type.h.
47106         [BZ #13566]
47107         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47108         checking __USE_GNU.
47110         * Makerules ($(inst_includedir)/%.h): New rule.
47111         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47112         (install-others): Remove variable setting.
47113         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47115 2012-03-08  Richard Henderson  <rth@twiddle.net>
47117         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47118         from macro to inline function; merge with the
47119         !__LIBC_INTERNAL_MATH_INLINES version.
47120         (__ieee754_sqrtf): Likewise.
47122         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47123         to inline function.
47124         (__rintf, __floor, __floorf): Likewise.
47126         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47127         macro to inline function.
47128         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47130         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47131         not <math/math_private.h>.
47133 2012-03-08  David S. Miller  <davem@davemloft.net>
47135         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47136         copyright year.
47137         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47139 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
47141         * resolv/gai_misc.c (handle_requests): Fix struct timespec
47142         normalization.
47143         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47144         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47146 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
47148         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
47149         be defined individually, they must be defined as a block.  Define
47150         S for printing a string instead of hidint the different by using a
47151         macro for adding the 'l'.
47152         * stdio-common/tst-fphex-wide.c: Adjust.
47154 2012-03-07  Marek Polacek  <polacek@redhat.com>
47156         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47158 2012-03-08  Marek Polacek  <polacek@redhat.com>
47160         [BZ #13806]
47161         * stdio-common/Makefile (tests): Add tst-fphex-wide.
47162         * stdio-common/tst-fphex.c: Define a few macros to make the
47163         test reusable.  Use them.
47164         * stdio-common/tst-fphex-wide.c: New file.
47166 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
47168         [BZ #6911]
47169         * manual/macros.texi (gnusystems): New macro.
47170         (nongnusystems): Likewise.
47171         (gnulinuxhurdsystems): Likewise.
47172         (gnuhurdsystems): Likewise..
47173         (gnulinuxsystems): Likewise.
47174         * manual/charset.texi: Use new macros or @theglibc{} to refer to
47175         variants of the GNU system, not "GNU system".
47176         * manual/conf.texi: Likewise.
47177         * manual/errno.texi: Likewise.  Update example of errno macro
47178         expansion.
47179         * manual/filesys.texi: Likewise.
47180         (getumask): Document as specific to GNU/Hurd.
47181         * manual/install.texi: Likewise.  Reword some references to
47182         GNU/Linux.
47183         * manual/intro.texi: Likewise.
47184         * manual/io.texi: Likewise.
47185         (File Name Portability): Detail which constraints are inapplicable
47186         to all GNU systems and which are only inapplicable to GNU/Hurd.
47187         * manual/job.texi: Likewise.
47188         * manual/llio.texi: Likewise.
47189         (O_NOCTTY): Document as present on GNU/Linux.
47190         * manual/maint.texi: Likewise.
47191         * manual/memory.texi: Likewise.
47192         * manual/pattern.texi: Likewise.
47193         * manual/pipe.texi: Likewise.
47194         * manual/process.texi: Likewise.
47195         * manual/resource.texi: Likewise.
47196         (RUSAGE_CHILDREN): Remove statement about specifying a particular
47197         child on GNU/Hurd.
47198         * manual/setjmp.texi: Likewise.
47199         * manual/signal.texi: Likewise.
47200         * manual/startup.texi: Likewise.
47201         * manual/stdio.texi: Likewise.
47202         * manual/terminal.texi: Likewise.
47203         (ONLCR): Document as POSIX.
47204         (OXTABS): Document availability on GNU/Linux as XTABS.
47205         (ONOEOT): Document availability separately from other bits.
47206         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47207         * manual/time.texi: Likewise.
47208         * manual/users.texi: Likewise.
47209         * INSTALL: Regenerated.
47210         * sysdeps/gnu/errlist.c: Regenerated.
47212         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47213         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47214         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
47215         puts.
47216         * configure: Regenerated.
47218 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
47220         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47221         default includes instead of AC_HEADER_CHECK.
47222         * sysdeps/i386/configure: Regenerated.
47224         [BZ #10716]
47225         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47226         * math/s_cacoshf.c (__cacoshf): Likewise.
47227         * math/s_cacoshl.c (__cacoshl): Likewise.
47228         * math/s_casinh.c (__casinh): Set signs of result from argument.
47229         * math/s_casinhf.c (__casinhf): Likewise.
47230         * math/s_casinhl.c (__casinhl): Likewise.
47231         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47232         (casinh_test): Add more tests.
47233         * sysdeps/i386/fpu/libm-test-ulps: Update.
47234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47236 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
47238         * po/zh_TW.po: Update from translation team.
47240         * login/Makefile (distribute): Remove variable.
47241         * catgets/Makefile: Likewise.
47242         * mach/Makefile: Likewise.
47243         * malloc/Makefile: Likewise.
47244         * misc/Makefile: Likewise.
47245         * iconv/Makefile: Likewise.
47246         * nscd/Makefile: Likewise.
47247         * hurd/Makefile: Likewise.
47248         * manual/Makefile: Likewise.
47249         * locale/Makefile: Likewise.
47250         * intl/Makefile: Likewise.
47251         * conform/Makefile: Likewise.
47252         * nss/Makefile: Likewise.
47253         * time/Makefile: Likewise.
47254         * soft-fp/Makefile: Likewise.
47255         * dirent/Makefile: Likewise.
47256         * gmon/Makefile: Likewise.
47257         * po/Makefile: Likewise.
47258         * rt/Makefile: Likewise.
47259         * socket/Makefile: Likewise.
47260         * math/Makefile: Likewise.
47261         * signal/Makefile: Likewise.
47262         * debug/Makefile: Likewise.
47263         * elf/Makefile: Likewise.
47264         * timezone/Makefile: Likewise.
47265         * stdlib/Makefile: Likewise.
47266         * iconvdata/Makefile: Likewise.
47267         * sunrpc/Makefile: Likewise.
47268         * io/Makefile: Likewise.
47269         * argp/Makefile: Likewise.
47270         * inet/Makefile: Likewise.
47271         * hesiod/Makefile: Likewise.
47272         * grp/Makefile: Likewise.
47273         * csu/Makefile: Likewise.
47274         * wctype/Makefile: Likewise.
47275         * crypt/Makefile: Likewise.
47276         * libio/Makefile: Likewise.
47277         * string/Makefile: Likewise.
47278         * nis/Makefile: Likewise.
47279         * resolv/Makefile: Likewise.
47280         * stdio-common/Makefile: Likewise.
47281         * wcsmbs/Makefile: Likewise.
47282         * dlfcn/Makefile: Likewise.
47283         * posix/Makefile: Likewise.
47285         [BZ #6959]
47286         * timezone/Makefile: Don't install timezone files, just the programs
47287         and scripts.
47289 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
47291         * nss/databases.def: Add missing gshadow entry.
47293         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
47295 2012-03-06  Marek Polacek  <polacek@redhat.com>
47297         [BZ #13726]
47298         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47299         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47300         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47301         * stdio-common/tst-long-dbl-fphex.c: New file.
47303 2012-03-06  David S. Miller  <davem@davemloft.net>
47305         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47306         (set_obp_int): New function.
47307         (get_obp_int): New function.
47308         (__get_clockfreq_via_dev_openprom): Likewise.
47309         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47310         Avoid unused variable warnings on 'val' and use builtin_expect.
47311         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47312         __builtin_expect.
47313         (INLINE_CLONE_SYSCALL): Likewise.
47315 2012-03-05  David S. Miller  <davem@davemloft.net>
47317         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47319 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
47321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47323         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47324         only for |x| >= 40.
47325         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47327 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
47329         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47330         Replace gettimeofday with __vdso_gettimeofday.
47332         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47333         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47334         __vdso_clock_gettime and __vdso_getcpu.
47336         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47337         time with __vdso_time.
47339 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47341         * manual/lang.texi (size_t): Note types to which size_t may be
47342         equivalent with the GNU C Library, but do not describe when
47343         differences between them are significant.
47345 2012-03-05  Andreas Jaeger  <aj@suse.de>
47347         * sysdeps/i386/fpu/libm-test-ulps: Update.
47349 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47351         [BZ #3976]
47352         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47353         (__ieee754_pow): Save and restore rounding mode and use
47354         round-to-nearest for main computations.
47355         * math/libm-test.inc (pow_test_tonearest): New function.
47356         (pow_test_towardzero): Likewise.
47357         (pow_test_downward): Likewise.
47358         (pow_test_upward): Likewise.
47359         (main): Call the new functions.
47360         * sysdeps/i386/fpu/libm-test-ulps: Update.
47361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47363         [BZ #3976]
47364         * math/libm-test.inc (cosh_test_tonearest): New function.
47365         (cosh_test_towardzero): Likewise.
47366         (cosh_test_downward): Likewise.
47367         (cosh_test_upward): Likewise.
47368         (sinh_test_tonearest): Likewise.
47369         (sinh_test_towardzero): Likewise.
47370         (sinh_test_downward): Likewise.
47371         (sinh_test_upward): Likewise.
47372         (main): Call the new functions.
47373         * sysdeps/i386/fpu/libm-test-ulps: Update.
47374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47376 2012-03-05  Tom de Vries  <tom@codesourcery.com>
47378         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47379         default stack guard is set in last bytes.
47380         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47382 2012-03-05  Kees Cook  <keescook@chromium.org>
47384         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47386         [BZ #13656]
47387         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47388         possibly allocate from heap instead of stack.
47389         * stdio-common/bug-vfprintf-nargs.c: New file.
47390         * stdio-common/Makefile (tests): Add nargs overflow test.
47392 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
47394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47396 2012-03-03  Marek Polacek  <polacek@redhat.com>
47398         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47399         * math/math_private.h: Likewise.
47400         * stdlib/tst-strtod.c: Likewise.
47401         * sysdeps/i386/i486/bits/atomic.h: Likewise.
47402         * sysdeps/x86_64/bits/atomic.h: Likewise.
47404 2012-03-02  David S. Miller  <davem@davemloft.net>
47406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47410         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47411         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47412         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47413         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47415 2012-03-02  Roland McGrath  <roland@hack.frob.com>
47417         [BZ #13792]
47418         * manual/examples/README: New file, says the example source files
47419         can be used under GPL>=2.
47420         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47421         line containing just "*/".
47422         * manual/examples/add.c: Add copyright header (GPL>=2).
47423         * manual/examples/argp-ex1.c: Likewise.
47424         * manual/examples/argp-ex2.c: Likewise.
47425         * manual/examples/argp-ex3.c: Likewise.
47426         * manual/examples/argp-ex4.c: Likewise.
47427         * manual/examples/atexit.c: Likewise.
47428         * manual/examples/db.c: Likewise.
47429         * manual/examples/dir.c: Likewise.
47430         * manual/examples/dir2.c: Likewise.
47431         * manual/examples/execinfo.c: Likewise.
47432         * manual/examples/filecli.c: Likewise.
47433         * manual/examples/filesrv.c: Likewise.
47434         * manual/examples/fmtmsgexpl.c: Likewise.
47435         * manual/examples/genpass.c: Likewise.
47436         * manual/examples/inetcli.c: Likewise.
47437         * manual/examples/inetsrv.c: Likewise.
47438         * manual/examples/isockad.c: Likewise.
47439         * manual/examples/longopt.c: Likewise.
47440         * manual/examples/memopen.c: Likewise.
47441         * manual/examples/memstrm.c: Likewise.
47442         * manual/examples/mkfsock.c: Likewise.
47443         * manual/examples/mkisock.c: Likewise.
47444         * manual/examples/mygetpass.c: Likewise.
47445         * manual/examples/pipe.c: Likewise.
47446         * manual/examples/popen.c: Likewise.
47447         * manual/examples/rprintf.c: Likewise.
47448         * manual/examples/search.c: Likewise.
47449         * manual/examples/select.c: Likewise.
47450         * manual/examples/setjmp.c: Likewise.
47451         * manual/examples/sigh1.c: Likewise.
47452         * manual/examples/sigusr.c: Likewise.
47453         * manual/examples/stpcpy.c: Likewise.
47454         * manual/examples/strdupa.c: Likewise.
47455         * manual/examples/strftim.c: Likewise.
47456         * manual/examples/strncat.c: Likewise.
47457         * manual/examples/subopt.c: Likewise.
47458         * manual/examples/swapcontext.c: Likewise.
47459         * manual/examples/termios.c: Likewise.
47460         * manual/examples/testopt.c: Likewise.
47461         * manual/examples/testpass.c: Likewise.
47462         * manual/examples/timeval_subtract.c: Likewise.
47464         [BZ #13792]
47465         * manual/time.texi (Elapsed Time): Move timeval_subtract example
47466         function to ...
47467         * manual/timeval_subtract.c.texi: ... here, new file.
47469 2012-03-02  David S. Miller  <davem@davemloft.net>
47471         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47473 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
47475         [BZ #3976]
47476         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47477         (__sin): Save and restore rounding mode and use round-to-nearest
47478         for all computations.
47479         (__cos): Save and restore rounding mode and use round-to-nearest
47480         for all computations.
47481         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47482         <fenv.h>.
47483         (tan): Save and restore rounding mode and use round-to-nearest for
47484         all computations.
47485         * math/libm-test.inc (cos_test_tonearest): New function.
47486         (cos_test_towardzero): Likewise.
47487         (cos_test_downward): Likewise.
47488         (cos_test_upward): Likewise.
47489         (sin_test_tonearest): Likewise.
47490         (sin_test_towardzero): Likewise.
47491         (sin_test_downward): Likewise.
47492         (sin_test_upward): Likewise.
47493         (tan_test_tonearest): Likewise.
47494         (tan_test_towardzero): Likewise.
47495         (tan_test_downward): Likewise.
47496         (tan_test_upward): Likewise.
47497         (main): Call the new functions.
47498         * sysdeps/i386/fpu/libm-test-ulps: Update.
47499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47501         [BZ #10135]
47502         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47503         small n, then large n, before computing and testing k+n.
47504         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47505         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47506         Likewise.
47507         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47508         Likewise.
47509         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47510         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47511         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47512         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47513         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47514         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47515         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47516         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47517         * math/libm-test.inc (scalbn_test): Add more tests.
47518         (scalbln_test): Likewise.
47520         * manual/filesys.texi (mode_t): Describe constraints on size and
47521         signedness, not exact equivalence to a particular type.
47522         (ino_t): Likewise.
47523         (ino64_t): Likewise.
47524         (dev_t): Likewise.
47525         (nlink_t): Likewise.
47526         (blkcnt_t): Likewise.
47527         (blkcnt64_t): Likewise.
47528         * manual/llio.texi (off_t): Likewise.
47530         [BZ #3976]
47531         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47532         (__ieee754_exp): Save and restore rounding mode and use
47533         round-to-nearest for all computations.
47534         * math/libm-test.inc (exp_test_tonearest): New function.
47535         (exp_test_towardzero): Likewise.
47536         (exp_test_downward): Likewise.
47537         (exp_test_upward): Likewise.
47538         (main): Call the new functions.
47539         * sysdeps/i386/fpu/libm-test-ulps: Update.
47540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47542 2012-03-01  Chris Demetriou  <cgd@google.com>
47544         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47545         have predictable order.
47547 2012-03-01  David S. Miller  <davem@davemloft.net>
47549         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47551         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47552         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47553         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47554         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47556         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47557         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47558         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47560         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47561         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47562         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47563         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47564         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47568         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47569         * sysdeps/sparc/fpu/libm-test-ulps: to here.
47570         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47572         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47573         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47574         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47575         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47576         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47577         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47578         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47579         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47580         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47581         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47582         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47583         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47584         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47585         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47586         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47587         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47588         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47589         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47590         * sysdeps/sparc/elf/configure: Regenerated.
47592 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
47594         * configure.in (AS, LD): Require binutils 2.20 or later.
47595         * configure: Regenerated.
47596         * manual/install.texi (Tools for Compilation): Give binutils 2.20
47597         as required minimum version.
47598         * INSTALL: Regenerated.
47600         [BZ #2541]
47601         [BZ #4108]
47602         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47603         before squaring exponent.
47604         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47605         bottom long double and 27 bits of top long double before squaring
47606         exponent.
47607         * math/libm-test.inc (erfc_test): Add more tests.
47608         * sysdeps/i386/fpu/libm-test-ulps: Update.
47609         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47612 2012-03-01  Kai Tietz  <ktietz@redhat.com>
47614         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47615         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47616         containing bit-fields.
47617         * soft-fp/extended.h (_FP_UNION_E): Likewise.
47618         * soft-fp/single.h (_FP_UNION_S): Likewise.
47619         * soft-fp/double.h (_FP_UNION_D): Likewise.
47621 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47623         [BZ #13786]
47624         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47625         not include ../strcmp.S.
47626         [USE_AS_STRNCASECMP_L]: Likewise.
47627         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47628         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47629         * sysdeps/i386/i686/multiarch/strncase_l-c.c
47630         (__strncasecmp_l_ia32): Define as alias to
47631         __strncasecmp_l_nonascii.
47633         [BZ #5794]
47634         * math/libm-test.inc (expm1_test): Add test for bug 5794.
47635         * sysdeps/i386/fpu/libm-test-ulps: Update.
47636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47638         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47641 2012-02-29  Jeff Law  <law@redhat.com>
47643         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47644         out of bounds read.
47646 2012-02-29  Marek Polacek  <polacek@redhat.com>
47648         [BZ #13706]
47649         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47650         * elf/Makefile: Add rules to run tst-unused-dep.out.
47652 2012-02-28  David S. Miller  <davem@davemloft.net>
47654         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47655         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47656         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47657         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47658         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47659         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47661 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47663         * math/libm-test.inc (llround_test): Move one test from
47664         lround_test.  Use TEST_f_L in moved test.
47665         (lround_test): Move misplaced test to llround_test.  Add testcase
47666         from bug 2561.
47668 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
47670         * sysdeps/x86_64/fpu/e_expf.S: New file.
47671         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47673 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
47675         [BZ #13637]
47676         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47677         of remain_len that may cause incomplete multi-byte character and
47678         false match.
47679         * posix/bug-regex33.c: New file.
47680         * posix/Makefile (tests): Add bug-regex33.
47682 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
47684         * manual/macros.texi: New file.
47685         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47686         * manual/libc.texinfo: Include macros.texi.
47687         * manual/creatute.texi: Likewise.
47688         * manual/install.texi: Likewise.
47689         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47690         @glibcadj{} in references to the GNU C Library.
47691         * manual/charset.texi: Likewise.
47692         * manual/conf.texi: Likewise.
47693         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
47694         when not using those macros.
47695         * manual/creature.texi: Likewise.
47696         * manual/crypt.texi: Likewise.
47697         * manual/errno.texi: Likewise.
47698         * manual/filesys.texi: Likewise.
47699         * manual/header.texi: Likewise.
47700         * manual/install.texi: Likewise.
47701         * manual/intro.texi: Likewise.
47702         * manual/io.texi: Likewise.
47703         * manual/job.texi: Likewise.
47704         * manual/lang.texi: Likewise.
47705         * manual/libc.texiinfo: Likewise.
47706         * manual/llio.texi: Likewise.
47707         * manual/locale.texi: Likewise.
47708         * manual/maint.texi: Likewise.
47709         * manual/math.texi: Likewise.
47710         * manual/memory.texi: Likewise.
47711         * manual/message.texi: Likewise.
47712         * manual/nss.texi: Likewise.
47713         * manual/pattern.texi: Likewise.
47714         * manual/process.texi: Likewise.
47715         * manual/resource.texi: Likewise.
47716         * manual/search.texi: Likewise.
47717         * manual/setjmp.texi: Likewise.
47718         * manual/signal.texi: Likewise.
47719         * manual/socket.texi: Likewise.
47720         * manual/startup.texi: Likewise.
47721         * manual/stdio.texi: Likewise.
47722         * manual/string.texi: Likewise.
47723         * manual/sysinfo.texi: Likewise.
47724         * manual/syslog.texi: Likewise.
47725         * manual/terminal.texi: Likewise.
47726         * manual/time.texi: Likewise.
47727         * manual/users.texi: Likewise.
47728         * INSTALL: Regenerated.
47729         * NOTES: Regenerated.
47730         * sysdeps/gnu/errlist.c: Regenerated.
47732 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
47734         * include/dirent.h: Include <dirstream.h> before
47735         <dirent/dirent.h>.
47737 2012-02-28  David S. Miller  <davem@davemloft.net>
47739         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47740         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47741         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47742         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47744 2012-02-27  David S. Miller  <davem@davemloft.net>
47746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47748         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47749         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47752         frame pointer instead of stack pointer relative arg slot.
47753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47754         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47755         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47757 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
47759         [BZ #3992]
47760         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47762 2012-02-27  David S. Miller  <davem@davemloft.net>
47764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47768         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47769         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47770         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47771         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47773 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47775         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47776         later.  Allow versions 5-9.
47777         * configure: Regenerated.
47778         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47779         required minimum version and 4.6 as recommended version.  Do not
47780         mention bugs in GCC 2.7 and 2.8.
47781         * INSTALL: Regenerated.
47783 2012-02-27  David S. Miller  <davem@davemloft.net>
47785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47789         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47790         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47791         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47792         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47794         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47795         manipulate bits before adding and subtracting TWO112[sx].
47796         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47798 2012-02-27  Roland McGrath  <roland@hack.frob.com>
47800         [BZ #13775]
47801         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47802         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47803         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47804         being in POSIX, because they are in 1003.1-2008.
47806         * rt/tst-aio.c: Include <fcntl.h>.
47807         * rt/tst-aio7.c: Likewise.
47808         * rt/tst-aio64.c: Likewise.
47810         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47812 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47814         * manual/install.texi (--with-headers): Describe headers as
47815         interface headers, not private headers.
47816         (Specific advice for GNU/Linux systems): Describe use of headers
47817         from "make headers_install", not private headers from older
47818         kernels.
47819         * INSTALL: Regenerated.
47820         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47821         Change to 2.6.19.
47822         * sysdeps/unix/sysv/linux/configure: Regenerated.
47824         * manual/llio.texi (fclean): Remove documentation.
47826         * manual/Makefile (libc-texi-generated): New variable.  Include
47827         version.texi.
47828         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47829         $(libc-texi-generated), not duplicated list of files.
47830         (version.texi, stamp-version): New rules.
47831         (realclean): Remove $(libc-texi-generated), not individual files
47832         from that list.  Do not remove dir-add.texinfo.
47833         * manual/libc.texinfo: Comment out uses of edition numbers and
47834         references to printed manual.  Remove last-updated dates.
47835         (EDITION): Comment out.
47836         (ISBN): Likewise.
47837         (VERSION, UPDATED): Remove.
47838         (version.texi): Include.
47840 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
47842         * sysdeps/posix/spawni.c: Include <signal.h>.
47843         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47844         * sysdeps/pthread/aio_fsync.c: Likewise.
47846 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
47848         * conform/Makefile (tests): Run only when not cross-compiling and
47849         when fast-check is not defined.
47851         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47852         * conform/data/limits.h-data: Fixes for POSIX2008.
47853         * conform/run-conformtest.sh: Run all tests.
47854         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47855         headers.
47856         * include/bits/dlfcn.h: Likewise.
47857         * include/langinfo.h: Likewise.
47858         * include/monetary.h: Likewise.
47859         * include/sys/poll.h: Likewise.
47861         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47862         for __USE_GNU.
47863         * posix/spawn.h: Define __need_sigset_t.
47864         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47865         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47866         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
47867         to get sigevent_t only.
47868         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47869         only for __USE_GNU.
47870         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47871         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47872         process_vm_writev only for __USE_GNU.
47873         * termios/termios.h: Declare tcgetsid also for POSIX2008.
47875         * conform/Makefile: For now ignore errors from run-conformtest.
47876         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
47877         POSIX to avoid namespace pollution.  Don't prepend headers.
47878         * conform/data/aio.h-data: Fixes for POSIX testing.
47879         * conform/data/fcntl.h-data: Likewise.
47880         * conform/data/glob.h-data: Likewise.
47881         * conform/data/grp.h-data: Likewise.
47882         * conform/data/pthread.h-data: Likewise.
47883         * conform/data/pwd.h-data: Likewise.
47884         * conform/data/signal.h-data: Likewise.
47885         * conform/data/spawn.h-data: Likewise.
47886         * conform/data/stdio.h-data: Likewise.
47887         * conform/data/stdlib.h-data: Likewise.
47888         * conform/data/stropts.h-data: Likewise.
47889         * conform/data/sys/mman.h-data: Likewise.
47890         * conform/data/sys/stat.h-data: Likewise.
47891         * conform/data/sys/types.h-data: Likewise.
47892         * conform/data/sys/wait.h-data: Likewise.
47893         * conform/data/time.h-data: Likewise.
47894         * conform/data/unistd.h-data: Likewise.
47895         * conform/data/utime.h-data: Likewise.
47897         * io/sys/stat.h: fchmod was always in POSIX.
47898         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47899         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47900         * rt/aio.h: Define __need_timespec before including <time.h>.
47901         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47902         struct.  Add forward declaration of pthread_attr_t and use it in
47903         sigevent.
47904         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47905         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47906         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47907         always remove CLK_TCK definition.
47909 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
47911         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47913 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
47915         * conform/run-conformtest.sh: New file.
47916         * conform/Makefile: Run run-conformtest for tests.
47917         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
47918         support.
47920         * conform/data/uchar.h-data: New file.
47921         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47922         * conform/data/arpa/inet.h-data: Likewise.
47923         * conform/data/assert.h-data: Likewise.
47924         * conform/data/complex.h-data: Likewise.
47925         * conform/data/cpio.h-data: Likewise.
47926         * conform/data/ctype.h-data: Likewise.
47927         * conform/data/dirent.h-data: Likewise.
47928         * conform/data/dlfcn.h-data: Likewise.
47929         * conform/data/errno.h-data: Likewise.
47930         * conform/data/fcntl.h-data: Likewise.
47931         * conform/data/float.h-data: Likewise.
47932         * conform/data/fmtmsg.h-data: Likewise.
47933         * conform/data/fnmatch.h-data: Likewise.
47934         * conform/data/ftw.h-data: Likewise.
47935         * conform/data/glob.h-data: Likewise.
47936         * conform/data/grp.h-data: Likewise.
47937         * conform/data/iconv.h-data: Likewise.
47938         * conform/data/inttypes.h-data: Likewise.
47939         * conform/data/langinfo.h-data: Likewise.
47940         * conform/data/libgen.h-data: Likewise.
47941         * conform/data/limits.h-data: Likewise.
47942         * conform/data/locale.h-data: Likewise.
47943         * conform/data/math.h-data: Likewise.
47944         * conform/data/monetary.h-data: Likewise.
47945         * conform/data/mqueue.h-data: Likewise.
47946         * conform/data/ndbm.h-data: Likewise.
47947         * conform/data/net/if.h-data: Likewise.
47948         * conform/data/netdb.h-data: Likewise.
47949         * conform/data/netinet/in.h-data: Likewise.
47950         * conform/data/nl_types.h-data: Likewise.
47951         * conform/data/poll.h-data: Likewise.
47952         * conform/data/pthread.h-data: Likewise.
47953         * conform/data/pwd.h-data: Likewise.
47954         * conform/data/regex.h-data: Likewise.
47955         * conform/data/sched.h-data: Likewise.
47956         * conform/data/search.h-data: Likewise.
47957         * conform/data/semaphore.h-data: Likewise.
47958         * conform/data/setjmp.h-data: Likewise.
47959         * conform/data/signal.h-data: Likewise.
47960         * conform/data/spawn.h-data: Likewise.
47961         * conform/data/stdarg.h-data: Likewise.
47962         * conform/data/stdio.h-data: Likewise.
47963         * conform/data/stdlib.h-data: Likewise.
47964         * conform/data/string.h-data: Likewise.
47965         * conform/data/strings.h-data: Likewise.
47966         * conform/data/stropts.h-data: Likewise.
47967         * conform/data/sys/ipc.h-data: Likewise.
47968         * conform/data/sys/mman.h-data: Likewise.
47969         * conform/data/sys/msg.h-data: Likewise.
47970         * conform/data/sys/resource.h-data: Likewise.
47971         * conform/data/sys/select.h-data: Likewise.
47972         * conform/data/sys/sem.h-data: Likewise.
47973         * conform/data/sys/shm.h-data: Likewise.
47974         * conform/data/sys/socket.h-data: Likewise.
47975         * conform/data/sys/stat.h-data: Likewise.
47976         * conform/data/sys/statvfs.h-data: Likewise.
47977         * conform/data/sys/time.h-data: Likewise.
47978         * conform/data/sys/timeb.h-data: Likewise.
47979         * conform/data/sys/times.h-data: Likewise.
47980         * conform/data/sys/types.h-data: Likewise.
47981         * conform/data/sys/uio.h-data: Likewise.
47982         * conform/data/sys/un.h-data: Likewise.
47983         * conform/data/sys/utsname.h-data: Likewise.
47984         * conform/data/sys/wait.h-data: Likewise.
47985         * conform/data/syslog.h-data: Likewise.
47986         * conform/data/tar.h-data: Likewise.
47987         * conform/data/termios.h-data: Likewise.
47988         * conform/data/utime.h-data: Likewise.
47989         * conform/data/utmpx.h-data: Likewise.
47990         * conform/data/varargs.h-data: Likewise.
47991         * conform/data/wchar.h-data: Likewise.
47992         * conform/data/wctype.h-data: Likewise.
47993         * conform/data/wordexp.h-data: Likewise.
47995         * include/stropts.h: New file.
47996         * include/uchar.h: New file.
47997         * include/aio.h: Changes to allow conformtest.pl to use the headers.
47998         * include/assert.h: Likewise.
47999         * include/ctype.h: Likewise.
48000         * include/dirent.h: Likewise.
48001         * include/dlfcn.h: Likewise.
48002         * include/fcntl.h: Likewise.
48003         * include/fnmatch.h: Likewise.
48004         * include/glob.h: Likewise.
48005         * include/grp.h: Likewise.
48006         * include/libio.h: Likewise.
48007         * include/locale.h: Likewise.
48008         * include/math.h: Likewise.
48009         * include/net/if.h: Likewise.
48010         * include/netdb.h: Likewise.
48011         * include/netinet/in.h: Likewise.
48012         * include/pthread.h: Likewise.
48013         * include/pwd.h: Likewise.
48014         * include/regex.h: Likewise.
48015         * include/sched.h: Likewise.
48016         * include/search.h: Likewise.
48017         * include/setjmp.h: Likewise.
48018         * include/signal.h: Likewise.
48019         * include/stdio.h: Likewise.
48020         * include/stdlib.h: Likewise.
48021         * include/string.h: Likewise.
48022         * include/sys/cdefs.h: Likewise.
48023         * include/sys/mman.h: Likewise.
48024         * include/sys/msg.h: Likewise.
48025         * include/sys/resource.h: Likewise.
48026         * include/sys/select.h: Likewise.
48027         * include/sys/socket.h: Likewise.
48028         * include/sys/stat.h: Likewise.
48029         * include/sys/statvfs.h: Likewise.
48030         * include/sys/time.h: Likewise.
48031         * include/sys/times.h: Likewise.
48032         * include/sys/uio.h: Likewise.
48033         * include/sys/utsname.h: Likewise.
48034         * include/sys/wait.h: Likewise.
48035         * include/termios.h: Likewise.
48036         * include/time.h: Likewise.
48037         * include/ulimit.h: Likewise.
48038         * include/unistd.h: Likewise.
48039         * include/utime.h: Likewise.
48040         * include/wchar.h: Likewise.
48041         * include/wctype.h: Likewise.
48042         * include/wordexp.h: Likewise.
48044         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48046         * time/time.h: TIME_UTC must be a macro.
48047         Make timespec_get available for ISO C11 only as well.
48049 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
48051         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48052         Reported by Peng Haitao <penght@cn.fujitsu.com>.
48054 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48056         * configure.in: Use -o not -a in test for unsupported multi-arch.
48058 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48060         * manual/texinfo.tex: Update to version 2012-01-19.16.
48062 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48064         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48066 2012-02-24  Roland McGrath  <roland@hack.frob.com>
48068         [BZ #13738]
48069         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48070         * manual/fdl-1.3.texi: New file.
48071         * manual/fdl-1.1.texi: File removed.
48073         [BZ #13738]
48074         * manual/libc.texinfo (FDL_VERSION): New @set.
48075         Use it for mention of FDL in cover text.
48076         (Documentation License): Use it in @include file name.
48078 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48079             Roland McGrath  <roland@hack.frob.com>
48081         [BZ #5461]
48082         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48083         (not LONG_LONG_MAX and LONG_LONG_MIN.
48084         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48085         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
48086         name.
48087         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48089 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48091         [BZ #2547]
48092         [BZ #11365]
48093         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48094         manipulate bits before adding and subtracting TWO23[sx].
48095         * math/libm-test.inc (nearbyint_test): Add more tests.
48097 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48099         [BZ #2548]
48100         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48101         bits before adding and subtracting TWO23[sx].
48102         * math/libm-test.inc (rint_test): Add more tests.
48103         (rint_test_tonearest): Likewise.
48104         (rint_test_towardzero): Likewise.
48105         (rint_test_downward): Likewise.
48106         (rint_test_upward: Likewise.
48108 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48110         [BZ #10110]
48111         * include/stdc-predef.h: New file.  Extracted from features.h.
48112         * include/features.h: Include stdc-predef.h.
48113         * Makefile (headers): Add stdc-predef.h.
48114         * CONFORMANCE (Compiler limitations): Update.
48116 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48118         * manual/libc.texinfo (VERSION, UPDATED): Revert.
48120 2012-02-21  David S. Miller  <davem@davemloft.net>
48122         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48123         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48125 2012-02-20  David S. Miller  <davem@davemloft.net>
48127         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48128         using a normal save/restore sequence, rather than allocating a
48129         dummy stack frame just to store a frame pointer and restore.
48130         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48132 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48134         * manual/install.texi: Fix stray word in line-wrapped comment.
48136 2012-02-20  David S. Miller  <davem@davemloft.net>
48138         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48139         both binutils and gcc support GOTDATA.
48141         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48142         "rd %pc" in the PIC register setup sequences.
48144         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48145         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48146         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48147         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48148         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48149         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48150         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48151         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48152         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48153         (SYSCALL_ERROR_HANDLER): Likewise.
48154         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48155         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48156         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48157         (SYSCALL_ERROR_HANDLER): Likewise.
48159         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48160         (HAVE_GCC_GOTDATA): New.
48161         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48162         relocation support in both binutils and gcc.
48163         * sysdeps/sparc/elf/configure: Regenerate.
48165         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48166         * sysdeps/sparc/sparc32/elf/configure: Delete.
48167         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48168         * sysdeps/sparc/sparc64/elf/configure: Delete.
48169         * sysdeps/sparc/elf/configure.in: New file.
48170         * sysdeps/sparc/elf/configure: Generate.
48172         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48173         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48174         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48175         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48176         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48178 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48180         * manual/install.texi: Do not mention specific glibc version
48181         numbers.
48182         * manual/libc.texinfo (VERSION, UPDATED): Update.
48183         (@copying): Use @copyright{} and range of years.
48185 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48187         [BZ #13695]
48188         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48189         [crti.S not in sysdirs] (generated): Do not append.
48190         [crti.S not in sysdirs] (omit-deps): Likewise.
48191         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48192         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48193         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48194         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48195         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48196         Likewise.
48197         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48198         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48199         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48200         * csu/defs.awk: Remove file.
48201         * sysdeps/generic/initfini.c: Likewise.
48202         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48203         variable.
48204         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48205         Likewise.
48207 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48209         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48210         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48211         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48212         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48213         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48214         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48215         <bits/epoll.h>.
48216         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48217         (__EPOLL_PACKED): Define to empty if not defined by
48218         <bits/epoll.h>.
48219         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48220         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48221         bits/epoll.h.
48223 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48225         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48226         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48227         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48228         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48229         <bits/timerfd.h>.
48230         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48231         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48232         bits/timerfd.h.
48234 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48236         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48237         in C locale.
48238         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48239         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48240         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48243 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
48245         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48246         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48248 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
48250         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48251         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48252         defined.
48253         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48254         Likewise.
48255         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48256         entry for 2.16.
48258 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
48260         * math/w_acos.c: Use non-signaling floating-point comparisons.
48261         * math/w_acosf.c: Likewise.
48262         * math/w_acosh.c: Likewise.
48263         * math/w_acoshf.c: Likewise.
48264         * math/w_acoshl.c: Likewise.
48265         * math/w_acosl.c: Likewise.
48266         * math/w_asin.c: Likewise.
48267         * math/w_asinf.c: Likewise.
48268         * math/w_asinl.c: Likewise.
48269         * math/w_atanh.c: Likewise.
48270         * math/w_atanhf.c: Likewise.
48271         * math/w_atanhl.c: Likewise.
48272         * math/w_exp2.c: Likewise.
48273         * math/w_exp2f.c: Likewise.
48274         * math/w_exp2l.c: Likewise.
48275         * math/w_j0.c: Likewise.
48276         * math/w_j0f.c: Likewise.
48277         * math/w_j0l.c: Likewise.
48278         * math/w_j1.c: Likewise.
48279         * math/w_j1f.c: Likewise.
48280         * math/w_j1l.c: Likewise.
48281         * math/w_jn.c: Likewise.
48282         * math/w_jnf.c: Likewise.
48283         * math/w_log.c: Likewise.
48284         * math/w_log10.c: Likewise.
48285         * math/w_log10f.c: Likewise.
48286         * math/w_log10l.c: Likewise.
48287         * math/w_log2.c: Likewise.
48288         * math/w_log2f.c: Likewise.
48289         * math/w_log2l.c: Likewise.
48290         * math/w_logf.c: Likewise.
48291         * math/w_logl.c: Likewise.
48292         * math/w_sqrt.c: Likewise.
48293         * math/w_sqrtf.c: Likewise.
48294         * math/w_sqrtl.c: Likewise.
48295         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48296         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48297         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48298         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48299         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48301 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48303         [BZ #9739]
48304         * manual/string.texi (strnlen): Use correct parameter name in
48305         equivalent expression.
48307 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48309         [BZ #11174]
48310         * manual/users.texi (seteuid): Consistently use neweuid for
48311         argument name.
48313 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48315         [BZ #13704]
48316         * manual/nss.texi (Services in the NSS configuration): Correct
48317         list of services in example configuration file.
48319 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
48321         [BZ #11322]
48322         * manual/arith.texi: Remove statements about negative zero
48323         behaving identically to zero.
48325 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48327         [BZ #5993]
48328         * manual/install.texi: Do not document upgrading from libc5.
48330 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48332         [BZ #4596]
48333         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48335 2012-02-18  David S. Miller  <davem@davemloft.net>
48337         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48338         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48339         %o7 across the call.
48340         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48341         instead.
48342         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48343         SETUP_PIC_REG_LEAF.
48344         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48345         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48346         * sysdeps/sparc/crtn.S: Likewise.
48348 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
48350         * aout/Makefile: Remove.
48352 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
48354         [BZ #13058]
48355         * manual/examples/argp-ex1.c (main): Format definition in GNU
48356         style.
48357         * manual/examples/argp-ex2.c (main): Likewise.
48358         * manual/examples/argp-ex3.c (main): Likewise.
48359         * manual/examples/argp-ex4.c (main): Likewise.
48360         * manual/examples/longopt.c (main): Use new-style prototype
48361         definition.
48362         * manual/examples/strncat.c (main): Specify return type and use
48363         (void) for arguments.
48364         * manual/examples/subopt.c (main): Use char **argv argument.
48366 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48368         [BZ #5077]
48369         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48370         rounding modes.
48372 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
48374         [BZ #6907]
48375         * manual/string.texi (strchr): Change when strchrnul is
48376         recommended.
48378 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
48380         [BZ #174]
48381         * manual/locale.texi (setlocale): Document LOCPATH.
48383 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48385         [BZ #10210]
48386         * manual/process.texi (execle): Move @dots{} before last argument.
48388 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
48390         [BZ #12047]
48391         * manual/charset.texi (Generic Charset Conversion): Fix typo
48392         (LC_TYPE -> LC_CTYPE).
48394 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
48396         [BZ #5805]
48397         * manual/arith.texi (scalbn): Use @var{} on parameter names.
48398         (scalbnf): Likewise.
48399         (scalbnl): Likewise.
48400         (scalbln): Likewise.
48401         (scalblnf): Likewise.
48402         (scalblnl): Likewise.
48403         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48404         (vwarnx): Likewise.
48405         (verr): Likewise.
48406         (verrx): Likewise.
48407         * manual/filesys.texi (telldir): Use braces around return type.
48408         * manual/llio.texi (mmap): Add space after comma.
48409         (mmap64): Likewise.
48410         * manual/math.texi (jn): Use @var{} on parameter names.
48411         (jnf): Likewise.
48412         (jnl): Likewise.
48413         (yn): Likewise.
48414         (ynf): Likewise.
48415         (ynl): Likewise.
48416         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48417         line.
48418         * manual/resource.texi (ulimit): Use @dots{} instead of literal
48419         "...".
48420         (sched_get_priority_min): Remove semicolon on @deftypefun line.
48421         (sched_get_priority_max): Likewise.
48422         * manual/signal.texi (sigvec): Add space after comma.
48423         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48424         names.
48425         (if_indextoname): Likewise.
48426         (if_freenameindex): Likewise.
48427         (sendto): Use ',' instead of '.' in prototype.
48428         * manual/startup.texi (syscall): Use @dots{} instead of literal
48429         "...".
48430         * manual/stdio.texi (__fpending): Separate initial words of
48431         paragraph from @deftypefun line.
48432         * manual/syslog.texi (syslog): Use @dots{} instead of literal
48433         "...".
48434         (vsyslog): Use @var{} on parameter names.
48435         * manual/terminal.texi (stty): Use @var{} on parameter names.
48436         * manual/users.texi (getutmp): Use @var{} on parameter names.
48437         (getutmpx): Likewise.
48439 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48441         [BZ #6884]
48442         * manual/stdio.texi (fopen): Fix typos in description of
48443         ",ccs=STRING".
48445 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
48447         [BZ #4026]
48448         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48449         get clock_id definition.
48451 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
48453         [BZ #4822]
48454         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48455         (madvise): Cast every argument to void on its own.
48457 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48459         [BZ #9902]
48460         * manual/startup.texi (Exit Status): Fix typo.
48462 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48464         [BZ #10140]
48465         * manual/examples/argp-ex1.c: Include <stdlib.h>.
48466         * manual/examples/argp-ex2.c: Likewise.
48467         * manual/examples/argp-ex3.c: Likewise.
48469 2012-02-16  Richard Henderson  <rth@redhat.com>
48471         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48472         * sysdeps/s390/s390-32/initfini.c: Remove.
48473         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48474         * sysdeps/s390/s390-64/initfini.c: Remove.
48476 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48478         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48479         compiler output for sysdeps/generic/initfini.c.
48480         * sysdeps/sh/elf/initfini.c: Remove file.
48482 2012-02-16  David S. Miller  <davem@davemloft.net>
48484         [BZ #11494]
48485         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48487         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48488         * sysdeps/sparc/crti.S: New file.
48489         * sysdeps/sparc/crtn.S: New file.
48490         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48491         * sysdeps/sparc/sparc64/Makefile: Likewise.
48493 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
48495         [BZ #3335]
48496         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48498 2012-02-15  Roland McGrath  <roland@hack.frob.com>
48500         [BZ #4822]
48501         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48503         * mach/devstream.c (cookie_io_functions_t): Macro removed.
48504         (write, read, close): Likewise.
48505         Patch by Aurelien Jarno <aurelien@aurel32.net>.
48507 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
48509         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48510         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48511         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48512         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48513         <bits/signalfd.h>.
48514         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48515         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48516         bits/signalfd.h.
48518 2012-02-14  Marek Polacek  <polacek@redhat.com>
48520         * sysdeps/x86_64/crti.S: New file.
48521         * sysdeps/x86_64/crtn.S: New file.
48522         * sysdeps/x86_64/elf/initfini.c: Remove file.
48524 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48526         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48527         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48528         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48529         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48530         <bits/inotify.h>.
48531         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48532         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48533         bits/inotify.h.
48535 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48537         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48538         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48539         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48540         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48541         <bits/eventfd.h>.
48542         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48543         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48544         bits/eventfd.h.
48546 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
48548         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48549         __feraiseexcept instead of feraiseexcept.
48551         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48552         nanosleep invocations.
48553         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48554         strings, and add error checking for a nanosleep invocations.
48556 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
48558         Replace FSF snail mail address with URLs, as per GNU coding standards.
48559         Most of the snail mail addresses were wrong anyway, and omitting
48560         them makes the source code easier to maintain.  Almost all of the
48561         changes are to license notices and to locale LC_IDENTIFICATION
48562         addresses, except for this one:
48563         * manual/libc.texinfo: In "Published by", give the FSF's URL,
48564         not its snail mail address.
48566 2012-02-09  Richard Henderson  <rth@twiddle.net>
48568         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48569         of kernel-features.h.
48571         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48573 2012-02-08  Marek Polacek  <polacek@redhat.com>
48575         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48576         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48577         * sysdeps/gnu/_G_config.h: Likewise.
48578         * sysdeps/generic/_G_config.h: Likewise.
48580 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
48582         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48583         tests.
48584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48586         * sysdeps/powerpc/powerpc32/crti.S: New file.
48587         * sysdeps/powerpc/powerpc32/crtn.S: New file.
48588         * sysdeps/powerpc/powerpc64/crti.S: New file.
48589         * sysdeps/powerpc/powerpc64/crtn.S: New file.
48591         * Makeconfig (have-initfini): Don't set.
48592         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48593         * configure.in (nopic_initfini): Don't substitute.
48594         * config.h.in (HAVE_INITFINI): Don't #undef.
48595         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48596         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48598 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
48600         Support crti.S and crtn.S provided directly by architectures.
48601         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48602         [crti.S in sysdirs] (omit-deps): Likewise.
48603         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48604         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48605         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48606         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48607         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48608         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48609         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48610         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48611         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48612         compiler output for sysdeps/generic/initfini.c.
48613         * sysdeps/i386/elf/Makefile: Remove file.
48614         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48616 2012-02-07  Marek Polacek  <polacek@redhat.com>
48618         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48619         * sysdeps/gnu/_G_config.h: Likewise.
48620         * sysdeps/mach/hurd/_G_config.h: Likewise.
48622 2012-02-07  Marek Polacek  <polacek@redhat.com>
48624         * math/Makefile (tests): Add tst-CMPLX2.
48625         * math/tst-CMPLX2.c: New file.
48627 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
48629         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48631         * math/libm-test.inc (jn_test): Add missing L suffix.
48633 2012-02-06  Marek Polacek  <polacek@redhat.com>
48635         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48636         * sysdeps/i386/fpu/e_powf.S: Likewise.
48637         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48638         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48639         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48640         * sysdeps/i386/fpu/e_pow.S: Likewise.
48641         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48642         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48643         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48644         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48645         * sysdeps/i386/fpu/e_log2.S: Likewise.
48646         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48647         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48648         * sysdeps/i386/fpu/e_powl.S: Likewise.
48649         * sysdeps/i386/fpu/s_log1p.S: Likewise.
48650         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48651         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48652         * sysdeps/i386/fpu/e_logl.S: Likewise.
48653         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48654         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48655         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48656         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48657         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48658         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48659         * sysdeps/i386/fpu/e_log.S: Likewise.
48660         * sysdeps/i386/fpu/s_cexp.S: Likewise.
48661         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48662         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48663         * sysdeps/i386/fpu/e_logf.S: Likewise.
48664         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48665         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48666         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48667         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48668         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48669         * sysdeps/i386/fpu/e_log10.S: Likewise.
48670         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48671         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48672         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48673         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48674         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48675         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48676         * sysdeps/i386/asm-syntax.h: Likewise.
48677         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48678         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48679         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48680         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48681         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48682         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48683         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48684         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48685         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48686         * sysdeps/powerpc/sysdep.h: Likewise.
48687         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48688         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48690 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48692         [BZ #411]
48693         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48695 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48697         * sysdeps/i386/sysdep.h: Include <features.h>.
48698         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48699         version.
48701 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
48703         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48704         Define.
48705         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48706         LOAD_PIC_REG_STR.
48708 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48710         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48711         (SETUP_PIC_REG): Use GET_PC_THUNK.
48712         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48713         macro.
48715 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48717         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48718         for non-PIC compilation.
48719         (SETUP_PIC_REG): Add .p2align directive.
48720         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48721         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48722         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48723         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48724         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48725         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48726         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48727         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48728         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48729         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48730         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48731         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48732         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48733         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48734         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48735         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48736         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48737         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48738         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48739         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48740         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48741         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48742         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48743         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48744         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48745         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48746         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48747         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48748         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48749         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48750         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48751         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48752         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48753         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48754         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48755         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48756         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48757         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48758         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48759         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48760         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48762 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48764         * math/tst-CMPLX.c: Include <stdio.h>.
48766 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
48768         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48769         float.
48770         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48771         * sysdeps/sparc/bits/mathdef.h: Likewise.
48773 2012-01-31  Marek Polacek  <polacek@redhat.com>
48775         * libio/libio.h: Don't define _PARAMS.
48776         * locale/programs/config.h: Don't define PARAMS.
48777         * stdlib/strtol_l.c: Likewise.
48778         (__strtol_l): Remove PARAMS from the prototype.
48780 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
48782         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
48783         names.  Just use the correct names.  Remove unnecessary wrapper
48784         functions.
48785         * malloc/arena.c: Likewise.
48786         * malloc/hooks.c: Likewise.
48788         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48789         ARENA_TEST says not to.  Simplify test for creation of a new arena.
48790         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48792 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
48794         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48795         into tail calls.
48796         (update_get_addr): New function.
48797         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48798         GET_ADDR_MODULE parameter.
48800 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48802         * crypt/cert.c: Remove __STDC__ conditionals.
48803         * crypt/crypt-entry.c: Likewise.
48804         * crypt/crypt_util.c: Likewise.
48805         * libio/filedoalloc.c: Likewise.
48806         * libio/fileops.c: Likewise.
48807         * libio/genops.c: Likewise.
48808         * libio/iofclose.c: Likewise.
48809         * libio/iofdopen.c: Likewise.
48810         * libio/iofopen.c: Likewise.
48811         * libio/iofopen64.c: Likewise.
48812         * libio/iogetdelim.c: Likewise.
48813         * libio/iopopen.c: Likewise.
48814         * libio/obprintf.c: Likewise.
48815         * libio/oldfileops.c: Likewise.
48816         * libio/oldiofclose.c: Likewise.
48817         * libio/oldiofdopen.c: Likewise.
48818         * libio/oldiofopen.c: Likewise.
48819         * libio/oldiopopen.c: Likewise.
48820         * libio/wfiledoalloc.c: Likewise.
48821         * libio/wgenops.c: Likewise.
48822         * locale/programs/xmalloc.c: Likewise.
48823         * misc/syslog.c: Likewise.
48824         * stdio-common/xbug.c: Likewise.
48825         * string/memchr.c: Likewise.
48826         * string/memcmp.c: Likewise.
48827         * string/memrchr.c: Likewise.
48828         * string/rawmemchr.c: Likewise.
48829         * sysdeps/posix/getcwd.c: Likewise.
48830         * time/strftime_l.c: Likewise.
48832 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48834         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48835         * config.make.in (config-cflags-sse2avx): Define.
48836         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48837         Fix typo.
48839 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
48841         * scripts/config.guess: Update from upstream config git repository.
48842         * scripts/config.sub: Likewise.
48844 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
48846         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48847         (EM_NUM): Update.
48848         (R_TILEPRO_*, R_TILEGX_*): New macros.
48850         * scripts/firstversions.awk: Fix bug in version range handling.
48852         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48854         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48856         * include/sys/epoll.h: New file.
48857         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48858         libc_hidden_def.
48860 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
48862         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48863         Avoid unnecessary __WORDSIZE == 64 test.
48864         (fmaxf): Use VEX format if possible.
48865         (fmax): Likewise.
48866         (fminf): Likewise.
48867         (fmin): Likewise.
48869         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48870         * math/math_private.h: Remove libc_fegetround* and
48871         libc_fesetround*.
48872         * sysdeps/i386/configure.in: Check for -msse2avx.
48873         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48874         also if SSE2AVX is defined.
48875         Remove libc_fegetround* and libc_fesetround*.
48876         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48877         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
48878         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48879         of HAS_YMM_USABLE.
48880         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48881         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48882         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48883         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48884         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48886         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48888 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48890         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48891         size is not set.
48892         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48894 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
48896         [BZ #13618]
48897         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48898         relocation.
48899         * Makeconfig (libm): Define.
48900         * elf/Makefile: Add rules to build and run tst-relsort1.
48901         * elf/tst-relsort1.c: New file.
48902         * elf/tst-relsort1mod1.c: New file.
48903         * elf/tst-relsort1mod2.c: New file.
48905 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
48907         * math/s_ldexp.c: Remove __STDC__ conditionals.
48908         * math/s_ldexpf.c: Likewise.
48909         * math/s_ldexpl.c: Likewise.
48910         * math/s_nextafter.c: Likewise.
48911         * math/s_nexttowardf.c: Likewise.
48912         * math/s_significand.c: Likewise.
48913         * math/s_significandf.c: Likewise.
48914         * math/s_significandl.c: Likewise.
48915         * math/w_jnl.c: Likewise.
48916         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48917         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48918         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48919         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48920         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48921         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48922         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48923         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48924         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48925         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48926         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48927         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48928         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48929         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48930         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48931         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48932         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48933         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48934         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48935         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48936         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48937         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48938         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48939         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48940         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48941         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48942         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48943         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48944         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48945         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48946         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48947         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48948         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48949         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48950         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48951         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48952         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48953         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48954         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48955         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48956         * sysdeps/ieee754/k_standard.c: Likewise.
48957         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48958         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48959         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48960         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48961         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48962         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48963         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48964         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48965         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48966         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48967         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48968         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48969         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48970         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48971         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48972         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48973         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48974         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48975         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48976         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48977         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48978         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48979         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48980         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48981         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48982         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48983         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48984         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48985         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48986         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48987         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48988         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48989         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48990         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48991         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48992         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48993         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48994         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48995         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48996         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48997         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48998         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48999         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49000         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49001         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49002         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49003         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49004         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49005         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49006         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49007         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49008         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49009         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49010         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49011         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49012         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49013         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49014         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49015         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49016         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49017         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49018         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49019         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49020         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49021         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49022         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49023         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49024         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49025         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49026         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49027         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49028         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49029         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49030         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49031         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49032         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49033         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49034         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49035         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49036         * sysdeps/ieee754/s_matherr.c: Likewise.
49037         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49038         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49039         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49040         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49042 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49044         * crypt/md5.h: Remove __STDC__ conditionals.
49045         * libio/libioP.h: Likewise.
49046         * locale/programs/config.h: Likewise.
49047         * sysdeps/generic/sysdep.h: Likewise.
49048         * sysdeps/i386/asm-syntax.h: Likewise.
49049         * sysdeps/s390/asm-syntax.h: Likewise.
49050         * sysdeps/unix/sysdep.h: Likewise.
49051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49054 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49056         * libio/libio.h: Remove __STDC__ conditionals.
49057         * malloc/obstack.h: Likewise.
49058         * math/complex.h: Likewise.
49059         * math/math.h: Likewise.
49060         * sysdeps/generic/_G_config.h: Likewise.
49061         * sysdeps/gnu/_G_config.h: Likewise.
49062         * sysdeps/mach/hurd/_G_config.h: Likewise.
49063         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49064         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49065         * sysdeps/sparc/bits/mathdef.h: Likewise.
49067 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
49069         [BZ #13583]
49070         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49071         Clean up HAS_* macros.
49072         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49073         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49074         possible.
49075         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49076         HAS_AVX.
49077         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49078         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49079         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49080         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49081         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49083 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
49085         * elf/tst-unique3.cc (gets): Remove declaration.
49086         * elf/tst-unique3lib.cc (gets): Likewise.
49087         * elf/tst-unique3lib2.cc (gets): Likewise.
49088         * elf/tst-unique4.cc (gets): Likewise.
49090 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
49092         * include/stdio.h: Add C++ protection.  Add gets declarations and
49093         definitions.
49094         * debug/tst-chk1.c: Don't declare gets here.
49095         * stdio-common/tst-gets.c: Likewise.
49097 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49099         * posix/glob: Remove directory.
49101 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49103         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49105 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
49107         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49108         of the non-standard EPFNOSUPPORT.
49110 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49112         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49113         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49114         ANYWHERE set to 1 only on KERN_NO_SPACE error.
49116 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
49118         * wcsmbs/uchar.h: Test __STDC_VERSION__.
49120 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
49122         * nscd/aicache.c (addhstaiX): Do not cache negative results of
49123         transient errors.
49124         * nscd/grpcache.c (cache_addgr): Likewise.
49125         * nscd/hstcache.c (cache_addhst): Likewise.
49126         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49127         * nscd/pwdcache.c (cache_addpw): Likewise.
49128         * nscd/servicescache.c (cache_addserv): Likewise.
49130 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
49132         * malloc/malloc.c: Various cleanups.
49133         * malloc/hooks.c: Likewise.
49135         * stdlib/Makefile (tests): Add bug-fmtmsg1.
49136         * stdlib/bug-fmtmsg1.c: New file.
49138         * stdlib/fmtmsg.c (init): Add missing unlock.
49139         Patch by Peng Haitao <penght@cn.fujitsu.com>.
49141 2012-01-12  Marek Polacek  <polacek@redhat.com>
49143         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49144         and _GNU_SOURCE.
49146 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49148         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49149         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49150         macro to ensure uniqueness of label name.
49151         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49152         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49154 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
49156         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49158         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49159         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49160         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49161         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49163 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
49165         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49167         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49168         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49169         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49171         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49173         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49174         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49175         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49176         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49178         * math/bits/math-finite.h: Add ldexp support.
49180 2012-01-10  Marek Polacek  <polacek@redhat.com>
49182         * locale/programs/localedef.h (show_archive_content): Add noreturn
49183         attribute.
49185 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
49187         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49189 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49191         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49193         * io/Makefile (headers): Add bits/poll2.h.
49195 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
49197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49198         typo #include statement.
49200 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49202         * include/sys/cdefs.h: Define __attribute_alloc_size.
49203         * catgets/gencat.c: Add alloc_size attribute and apply consistently
49204         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49205         * elf/pldd.c: Likewise.
49206         * iconv/iconv_charmap.c: Likewise.
49207         * iconv/iconvconfig.c: Likewise.
49208         * iconv/strtab.c: Likewise.
49209         * locale/programs/locale.c: Likewise.
49210         * locale/programs/localedef.h: Likewise.
49211         * locale/programs/simple-hash.c: Likewise.
49212         * nscd/nscd.h: Likewise.
49213         * nss/makedb.c: Likewise.
49214         * sysdeps/generic/ldconfig.h: Likewise.
49215         * locale/programs/localedef.c: Remove xmalloc prototype.
49216         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49218 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49220         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49221         appropriate.
49223 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49225         * math/Makefile (tests): Add tst-CMPLX.
49226         * math/tst-CMPLX.c: New file.
49228         * math/complex.h (CMPLXL): Fix typo.
49230         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49231         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49232         GLIBC_2.16.
49233         * debug/tst-chk1.c: Add poll and ppoll tests.
49234         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49235         * include/sys/poll.h: Add hidden proto for ppoll.
49236         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49237         * sysdeps/mach/hurd/ppoll.c: Likewise.
49238         * io/ppoll.c: Likewise.
49239         * debug/poll_chk.c: New file.
49240         * debug/ppoll_chk.c: New file.
49241         * include/bits/poll2.h: New file.
49242         * io/bits/poll2.h: New file.
49244         [BZ #1350]
49245         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49247         * configure.in: static is always set to yes.  Remove.
49248         * config.make.in: Don't set build-static.
49249         * Makeconfig: Remove use of build-static.
49250         * dlfcn/Makefile: Likewise.
49251         * elf/Makefile: Likewise.
49252         * math/Makefile: Likewise.
49253         * misc/Makefile: Likewise.
49254         * nptl/Makefile: Likewise.
49255         * sysdeps/mach/hurd/Makefile: Likewise.
49257         * configure.in: PWD_P is not used anymore.
49258         * config.make.in: Remove PWD_P entry.
49260         * configure.in: Remove last remnants of RANLIB.
49261         No need to check for signed size_t anymore.
49262         Don't set libc_commonpagesize and libc_relro_required here for Alpha
49263         and IA-64.
49264         Remove __builtin_expect test because we require at least gcc 3.4.
49265         * aclocal.m4: Likewise.
49267         * wcsmbs/mbrtoc16.c: Implement using towc function.
49268         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49269         * wcsmbs/wcsmbsload.c: Likewise.
49270         * iconv/gconv_simple.c: Likewise.
49271         * iconv/gconv_int.h: Likewise.
49272         * iconv/gconv_builtin.h: Likewise.
49273         * iconv/iconv_prog.c: Remove CHAR16 handling.
49275         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49277         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49279         * configure.in: Remove --with-elf and --enable-bounded options.
49280         Dont set base_machine for ia64.  More non-ELF conditions removed.
49281         Remove testing and setting of leading underscore information.
49282         * config.make.in (build-bounded): Set to no.
49283         * config.h.in: Remove NO_UNDERSCORES entry.
49284         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
49285         them.
49286         * csu/start.c: Remove !NO_UNDERSCORE code.
49287         * locale/localeinfo.h: Likewise.
49288         * sysdeps/generic/machine-gmon.h: Likewise.
49289         * sysdeps/generic/sysdep.h: Likewise.
49290         * sysdeps/i386/sysdep.h: Likewise.
49291         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49292         * sysdeps/mach/sysdep.h: Likewise.
49293         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49294         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49295         * sysdeps/sh/sysdep.h: Likewise.
49296         * sysdeps/sparc/sparc32/alloca.S: Likewise.
49297         * sysdeps/unix/i386/sysdep.S: Likewise.
49298         * sysdeps/unix/sparc/start.c: Likewise.
49299         * sysdeps/unix/sparc/sysdep.S: Likewise.
49300         * sysdeps/unix/sparc/sysdep.h: Likewise.
49301         * sysdeps/unix/start.c: Likewise.
49302         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49303         * sysdeps/x86_64/sysdep.h: Likewise.
49305 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
49307         [BZ #13553]
49308         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49309         for non-gcc.
49310         * argp/argp-fmtstream.h: Use const instead __const.
49311         * argp/argp.h: Likewise.
49312         * assert/assert.h: Likewise.
49313         * bits/fenv.h: Likewise.
49314         * bits/sched.h: Likewise.
49315         * bits/sigset.h: Likewise.
49316         * bits/sigthread.h: Likewise.
49317         * catgets/nl_types.h: Likewise.
49318         * conform/data/pthread.h-data: Likewise.
49319         * crypt/crypt-private.h: Likewise.
49320         * crypt/crypt.h: Likewise.
49321         * crypt/crypt_util.c: Likewise.
49322         * ctype/ctype.h: Likewise.
49323         * debug/execinfo.h: Likewise.
49324         * debug/mbsnrtowcs_chk.c: Likewise.
49325         * debug/mbsrtowcs_chk.c: Likewise.
49326         * debug/wcsnrtombs_chk.c: Likewise.
49327         * debug/wcsrtombs_chk.c: Likewise.
49328         * debug/wcstombs_chk.c: Likewise.
49329         * dirent/dirent.h: Likewise.
49330         * dlfcn/dlfcn.h: Likewise.
49331         * elf/neededtest4.c: Likewise.
49332         * grp/grp.h: Likewise.
49333         * gshadow/gshadow.h: Likewise.
49334         * iconv/gconv.h: Likewise.
49335         * iconv/gconv_int.h: Likewise.
49336         * iconv/gconv_simple.c: Likewise.
49337         * iconv/iconv.h: Likewise.
49338         * iconv/loop.c: Likewise.
49339         * iconv/skeleton.c: Likewise.
49340         * include/aio.h: Likewise.
49341         * include/aliases.h: Likewise.
49342         * include/argz.h: Likewise.
49343         * include/arpa/inet.h: Likewise.
49344         * include/assert.h: Likewise.
49345         * include/dirent.h: Likewise.
49346         * include/dlfcn.h: Likewise.
49347         * include/execinfo.h: Likewise.
49348         * include/fcntl.h: Likewise.
49349         * include/fenv.h: Likewise.
49350         * include/glob.h: Likewise.
49351         * include/grp.h: Likewise.
49352         * include/libintl.h: Likewise.
49353         * include/mntent.h: Likewise.
49354         * include/netdb.h: Likewise.
49355         * include/pwd.h: Likewise.
49356         * include/rpc/netdb.h: Likewise.
49357         * include/sched.h: Likewise.
49358         * include/search.h: Likewise.
49359         * include/shadow.h: Likewise.
49360         * include/signal.h: Likewise.
49361         * include/stdio.h: Likewise.
49362         * include/stdlib.h: Likewise.
49363         * include/string.h: Likewise.
49364         * include/sys/socket.h: Likewise.
49365         * include/sys/stat.h: Likewise.
49366         * include/sys/statfs.h: Likewise.
49367         * include/sys/statvfs.h: Likewise.
49368         * include/sys/syslog.h: Likewise.
49369         * include/sys/time.h: Likewise.
49370         * include/sys/uio.h: Likewise.
49371         * include/time.h: Likewise.
49372         * include/unistd.h: Likewise.
49373         * include/utmp.h: Likewise.
49374         * include/wchar.h: Likewise.
49375         * include/wctype.h: Likewise.
49376         * inet/aliases.h: Likewise.
49377         * inet/arpa/inet.h: Likewise.
49378         * inet/netinet/ether.h: Likewise.
49379         * inet/netinet/in.h: Likewise.
49380         * intl/libintl.h: Likewise.
49381         * io/bits/fcntl2.h: Likewise.
49382         * io/fcntl.h: Likewise.
49383         * io/ftw.h: Likewise.
49384         * io/sys/poll.h: Likewise.
49385         * io/sys/stat.h: Likewise.
49386         * io/sys/statfs.h: Likewise.
49387         * io/sys/statvfs.h: Likewise.
49388         * io/utime.h: Likewise.
49389         * libio/bits/stdio.h: Likewise.
49390         * libio/bits/stdio2.h: Likewise.
49391         * libio/libio.h: Likewise.
49392         * libio/libioP.h: Likewise.
49393         * libio/stdio.h: Likewise.
49394         * locale/lc-ctype.c: Likewise.
49395         * locale/locale.h: Likewise.
49396         * login/utmp.h: Likewise.
49397         * malloc/arena.c: Likewise.
49398         * malloc/malloc.c: Likewise.
49399         * malloc/malloc.h: Likewise.
49400         * malloc/mcheck.c: Likewise.
49401         * malloc/mtrace.c: Likewise.
49402         * math/bits/mathcalls.h: Likewise.
49403         * math/fenv.h: Likewise.
49404         * math/math_private.h: Likewise.
49405         * misc/bits/error.h: Likewise.
49406         * misc/bits/syslog.h: Likewise.
49407         * misc/err.h: Likewise.
49408         * misc/error.h: Likewise.
49409         * misc/fstab.h: Likewise.
49410         * misc/mntent.h: Likewise.
49411         * misc/regexp.h: Likewise.
49412         * misc/search.h: Likewise.
49413         * misc/sgtty.h: Likewise.
49414         * misc/sys/mman.h: Likewise.
49415         * misc/sys/syslog.h: Likewise.
49416         * misc/sys/uio.h: Likewise.
49417         * misc/sys/xattr.h: Likewise.
49418         * misc/ttyent.h: Likewise.
49419         * nis/rpcsvc/ypclnt.h: Likewise.
49420         * nss/nss.h: Likewise.
49421         * posix/bits/unistd.h: Likewise.
49422         * posix/fnmatch.h: Likewise.
49423         * posix/glob.h: Likewise.
49424         * posix/sched.h: Likewise.
49425         * posix/spawn.h: Likewise.
49426         * posix/sys/wait.h: Likewise.
49427         * posix/unistd.h: Likewise.
49428         * posix/wordexp.h: Likewise.
49429         * pwd/pwd.h: Likewise.
49430         * resolv/netdb.h: Likewise.
49431         * resource/sys/resource.h: Likewise.
49432         * rt/aio.h: Likewise.
49433         * rt/bits/mqueue2.h: Likewise.
49434         * rt/mqueue.h: Likewise.
49435         * shadow/shadow.h: Likewise.
49436         * signal/signal.h: Likewise.
49437         * socket/send.c: Likewise.
49438         * socket/sendto.c: Likewise.
49439         * socket/sys/socket.h: Likewise.
49440         * stdio-common/printf.h: Likewise.
49441         * stdlib/bits/stdlib.h: Likewise.
49442         * stdlib/fmtmsg.h: Likewise.
49443         * stdlib/monetary.h: Likewise.
49444         * stdlib/stdlib.h: Likewise.
49445         * stdlib/ucontext.h: Likewise.
49446         * streams/stropts.h: Likewise.
49447         * string/argz.h: Likewise.
49448         * string/bits/string2.h: Likewise.
49449         * string/string.h: Likewise.
49450         * string/strings.h: Likewise.
49451         * sunrpc/rpc/auth.h: Likewise.
49452         * sunrpc/rpc/auth_des.h: Likewise.
49453         * sunrpc/rpc/clnt.h: Likewise.
49454         * sunrpc/rpc/netdb.h: Likewise.
49455         * sunrpc/rpc/pmap_clnt.h: Likewise.
49456         * sunrpc/rpc/xdr.h: Likewise.
49457         * sysdeps/generic/inttypes.h: Likewise.
49458         * sysdeps/generic/net/if.h: Likewise.
49459         * sysdeps/generic/sys/swap.h: Likewise.
49460         * sysdeps/gnu/net/if.h: Likewise.
49461         * sysdeps/gnu/utmpx.h: Likewise.
49462         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49463         * sysdeps/i386/i486/bits/string.h: Likewise.
49464         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49465         * sysdeps/s390/bits/string.h: Likewise.
49466         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49467         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49468         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49469         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49470         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49471         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49472         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49473         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49474         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49475         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49476         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49477         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49478         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49479         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49480         * sysdeps/unix/sysv/linux/readv.c: Likewise.
49481         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49482         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49483         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49484         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49485         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49486         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49487         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49488         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49489         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49490         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49491         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49492         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49493         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49494         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49495         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49496         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49497         * sysvipc/sys/ipc.h: Likewise.
49498         * sysvipc/sys/msg.h: Likewise.
49499         * sysvipc/sys/sem.h: Likewise.
49500         * sysvipc/sys/shm.h: Likewise.
49501         * termios/termios.h: Likewise.
49502         * time/sys/time.h: Likewise.
49503         * time/time.h: Likewise.
49504         * wcsmbs/bits/wchar2.h: Likewise.
49505         * wcsmbs/uchar.h: Likewise.
49506         * wcsmbs/wchar.h: Likewise.
49507         * wctype/wctype.h: Likewise.
49509         [BZ #13551]
49510         * Makeconfig: Remove all but ELF support including AIX support.
49511         * Makerules: Likewise.
49512         * config.h.in: Likewise.
49513         * config.make.in: Likewise.
49514         * configure: Likewise.
49515         * configure.in: Likewise.
49516         * csu/Makefile: Likewise.
49517         * csu/version.c: Likewise.
49518         * debug/Makefile: Likewise.
49519         * dlfcn/Makefile: Likewise.
49520         * elf/Makefile: Likewise.
49521         * extra-lib.mk: Likewise.
49522         * iconv/Makefile: Likewise.
49523         * include/libc-symbols.h: Likewise.
49524         * include/shlib-compat.h: Likewise.
49525         * resolv/Makefile: Likewise.
49526         * resolv/res_libc.c: Likewise.
49527         * rt/Makefile: Likewise.
49528         * sysdeps/i386/asm-syntax.h: Likewise.
49529         * sysdeps/i386/sysdep.h: Likewise.
49530         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49531         * sysdeps/mach/sysdep.h: Likewise.
49532         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49533         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49534         * sysdeps/s390/asm-syntax.h: Likewise.
49535         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49536         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49537         * sysdeps/sh/sysdep.h: Likewise.
49538         * sysdeps/unix/sparc/sysdep.h: Likewise.
49539         * sysdeps/wordsize-32/divdi3.c: Likewise.
49540         * sysdeps/x86_64/sysdep.h: Likewise.
49542         * argp/Versions: Remove _argp_unlock_xxx.
49544         [BZ #13559]
49545         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
49546         * abilist/libBrokenLocale.abilist: Likewise.
49547         * abilist/libanl.abilist: Likewise.
49548         * abilist/libc.abilist: Likewise.
49549         * abilist/libcrypt.abilist: Likewise.
49550         * abilist/libdl.abilist: Likewise.
49551         * abilist/libm.abilist: Likewise.
49552         * abilist/libnsl.abilist: Likewise.
49553         * abilist/libpthread.abilist: Likewise.
49554         * abilist/libresolv.abilist: Likewise.
49555         * abilist/librt.abilist: Likewise.
49556         * abilist/libthread_db.abilist: Likewise.
49557         * abilist/libutil.abilist: Likewise.
49558         * abilist/libnss_db.abilist: New file.
49560         * scripts/abilist.awk: Add support for indirect functions.
49562         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49564         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49566         * shlib-versions: Remove entries for ports architectures.
49568         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
49569         files in ports.
49570         * elf/stackguard-macros.h: Remove support for IA-64.
49571         * elf/tst-auditmod1.c: Likewise.
49572         * sysdeps/generic/ldsodefs.h: Likewise.
49574         * sysdeps/unix/sysv/linux/configure.in: Ports should define
49575         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49576         configure files.
49578         [BZ #13552]
49579         * configure.in: Remove --enable-omitfp support.
49580         * FAQ.in: Adjust.
49581         * config.make.in: Likewise.
49582         * Makeconfig: Likewise.
49583         * manual/install.texi: Likewise.
49585         In case anyone cares, the IA-64 architecture could move to ports.
49586         * sysdeps/ia64/*: Removed.
49587         * sysdeps/unix/sysv/linux/ia64/*: Removed.
49588         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49590         [BZ #13555]
49591         * configure.in: Remove entries for unsupported architectures.
49593         [BZ #13533]
49594         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49595         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
49596         routines.
49597         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49598         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49599         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
49600         fall back to using wcrtomb.
49601         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49602         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
49603         renaming.
49604         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49605         * wcsmbs/tst-c16c32-1.c: New file.
49607         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49608         local variable.
49610         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49612         * elf/tst-unique3.cc: Add explicit declaration of gets.
49613         * elf/tst-unique3lib.cc: Likewise.
49614         * elf/tst-unique3lib2.cc: Likewise.
49615         * elf/tst-unique4.cc: Likewise.
49617         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49619 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
49621         [BZ #13566]
49622         * assert/assert.h (static_assert): Don't define for C++.
49623         * libio/stdio.h (gets): Do declare for C++ <= C++11.
49624         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49626 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
49628         * iconv/loop.c (single loop): Fix assertion in storing of
49629         remaining bytes.
49631         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49633 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
49635         * posix/getconf.c: Update copyright year.
49636         * nss/getent.c: Likewise.
49637         * nss/makedb.c: Likewise.
49638         * iconv/iconvconfig.c: Likewise.
49639         * iconv/iconv_prog.c: Likewise.
49640         * elf/ldconfig.c: Likewise.
49641         * elf/pldd.c: Likewise.
49642         * elf/sotruss.ksh: Likewise.
49643         * catgets/gencat.c: Likewise.
49644         * csu/version.c: Likewise.
49645         * elf/ldd.bash.in: Likewise.
49646         * elf/sprof.c (print_version): Likewise.
49647         * locale/programs/locale.c: Likewise.
49648         * locale/programs/localedef.c: Likewise.
49649         * login/programs/pt_chown.c: Likewise.
49650         * nscd/nscd.c (print_version): Likewise.
49651         * debug/xtrace.sh: Likewise.
49652         * malloc/memusage.sh: Likewise.
49653         * malloc/mtrace.pl: Likewise.
49654         * debug/catchsegv.sh: Likewise.
49656 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
49658         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49659         pure attribute.
49661 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
49663         [BZ #13533]
49664         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49665         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49666         transformations.
49667         * iconv/gconv_int.h: Likewise.
49668         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49669         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49670         from libc for GLIBC_2.16.
49671         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49672         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49673         * wcsmbs/uchar.h: Really define mbstate_t.
49674         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49675         * wcsmbs/c16rtomb.c: New file.
49676         * wcsmbs/mbrtoc16.c: New file.
49677         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49678         for C/POSIX locale.
49679         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49680         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49682         * wcsmbs/wchar.h: Add missing __restrict.
49684 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49686         [BZ #13532]
49687         * time/Makefile (routines): Add timespec_get.
49688         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49689         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
49690         timespec for ISO C11.
49691         * time/timespec_get.c: New file.
49692         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49693         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49695         [BZ #13531]
49696         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49697         * stdlib/stdlib.h: Declare aligned_alloc.
49698         * Versions.def: Add GLIBC_2.16 for libc.
49699         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49701         [BZ 13527]
49702         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49703         ISO C11.
49705         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49706         code.
49708         [BZ #13528]
49709         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49711         [BZ #13529]
49712         * assert/assert.h (static_assert): Define.
49714         * version.h: Update for 2.16 development version.
49716         [BZ #13526]
49717         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49718         _ISOC11_SOURCE.
49720         * version.h (RELEASE): Bump for 2.15 release.
49721         * include/features.h (__GLIBC_MINOR__): Bump to 15.
49723         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49724         Patch by Marek Polacek <mpolacek@redhat.com>.
49726         * bits/byteswap.h: Protect long long constants with __extension__.
49727         * sysdeps/i386/bits/byteswap.h: Likewise.
49728         * sysdeps/ia64/bits/byteswap.h: Likewise.
49729         * sysdeps/s390/bits/byteswap.h: Likewise.
49730         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49732 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49734         [BZ #13540]
49735         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49736         destination buffer.
49737         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49739 2011-12-23  Marek Polacek  <polacek@redhat.com>
49741         * elf/dl-addr.c (determine_info): Add inline keyword.
49742         * elf/tst-auditmod4b.c (check_avx): Likewise.
49743         * elf/tst-auditmod6b.c (check_avx): Likewise.
49744         * elf/tst-auditmod6c.c (check_avx): Likewise.
49745         * elf/tst-auditmod7b.c (check_avx): Likewise.
49747 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49749         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49750         !__SSE_MATH__.
49752 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49754         [BZ #13540]
49755         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49756         processing for last bytes.
49758 2011-08-06  Bruno Haible  <bruno@clisp.org>
49760         [BZ #13061]
49761         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49762         U+0385, not to U+1FEE.
49764         [BZ #13062]
49765         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49766         entry for U+00A5 U+0301.
49768 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49770         [BZ #13166]
49771         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49772         buffer for the output is too small.
49774         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49775         optimization.
49777         [BZ #13185]
49778         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49779         SSE flags if possible.
49781 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49783         [BZ #13540]
49784         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49785         processing for last bytes.
49787 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
49789         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49790         (syscall-list-default-options, syscall-list-default-condition)
49791         (syscall-list-includes): Define.
49792         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49793         list of ABIs and options and #if conditions for each ABI.  Do not
49794         handle common syscalls between ABIs specially.
49795         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49796         Remove.
49797         (syscall-list-variants, syscall-list-32bit-options)
49798         (syscall-list-32bit-condition, syscall-list-64bit-options)
49799         (syscall-list-64bit-condition): Define.
49800         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49801         (syscall-list-variants, syscall-list-32bit-options)
49802         (syscall-list-32bit-condition, syscall-list-64bit-options)
49803         (syscall-list-64bit-condition): Define.
49804         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49805         Remove.
49806         (syscall-list-variants, syscall-list-32bit-options)
49807         (syscall-list-32bit-condition, syscall-list-64bit-options)
49808         (syscall-list-64bit-condition): Define.
49809         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49810         Remove.
49811         (syscall-list-variants, syscall-list-32bit-options)
49812         (syscall-list-32bit-condition, syscall-list-64bit-options)
49813         (syscall-list-64bit-condition): Define.
49815 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49817         * locale/iso-639.def: Add brx entry.
49819         [BZ #13328]
49820         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49821         Proposed by Mariusz_Cukr <marcukr@op.pl>.
49823         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49824         __feraiseexcept_renamed.
49826 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49828         [BZ #13538]
49829         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49830         EPOLLET with unsigned values.
49831         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49832         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49834         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49835         to large cancellation.
49836         * math/s_cacoshf.c: Likewise.
49837         * math/s_cacoshl.c: Likewise.
49839 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
49841         [BZ #13305]
49842         [BZ #12786]
49843         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49844         * math/s_cacoshf.c: Likewise.
49845         * math/s_cacoshl.c: Likewise.
49847 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49849         [BZ #13439]
49850         * iconv/gconv.h: Define __GCONV_SWAP.
49851         * iconvdata/unicode.c: The swap bit must be stored in __flags.
49852         * iconvdata/utf-16.c: Likewise.
49853         * iconvdata/utf-32.c: Likewise.
49855 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
49857         [BZ #13524]
49858         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49859         numerator after shifting it by one limb.
49861 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
49863         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49864         under [__USE_EXTERN_INLINES].
49866 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49868         [BZ #13446]
49869         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49871 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49873         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49874         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49875         optimized code.
49876         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49877         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49878         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49879         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49880         for strncasecmp/strncasecmp_l compilation.
49881         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49882         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49884 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
49886         [BZ #13484]
49887         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49888         of __asm__.
49890 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49892         [BZ #13506]
49893         * time/tzfile.c (__tzfile_read): Check values from file header.
49895 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
49897         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49898         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49899         * powerpc/powerpc32/dl-start.S: Likewise.
49900         * powerpc/powerpc32/elf/start.S: Likewise.
49901         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49902         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49903         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49904         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49905         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49906         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49907         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49908         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49909         * powerpc/powerpc32/fpu/s_round.S: Likewise.
49910         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49911         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49912         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49913         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49914         * powerpc/powerpc32/memset.S: Likewise.
49915         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49916         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49917         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49918         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49919         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49920         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49921         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49922         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49923         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49924         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49925         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49926         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49927         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49929 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49931         * math/libm-test.inc: Added more nearbyint tests.
49932         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49933         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49934         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49935         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49937 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
49939         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49940         FD_CLOEXEC.
49942 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49944         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49945         Add wcscpy-ssse3 wcscpy-c.
49946         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49947         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49948         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49949         * sysdeps/x86_64/wcschr.S: New file.
49950         * sysdeps/x86_64/wcsrchr.S: New file.
49951         * string/test-strcmp.c: Remove checking of wcscmp function for
49952         wrong alignments.
49953         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49954         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49955         wcsrchr-sse2 wcsrchr-c.
49956         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49957         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49958         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49959         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49960         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49961         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49962         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49963         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49964         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49965         * wcsmbc/wcschr.c (WCSCHR): New macro.
49967 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49969         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49970         * wcsmbs/test-wcsrchr.c: New file.
49971         * string/test-strrchr.c: Add wcsrchr support.
49972         (WIDE): New macro.
49973         * wcsmbs/test-wcscpy.c: New file.
49974         * string/test-strcpy.c: Add wcscpy support.
49975         (WIDE): New macro.
49977 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
49979         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49980         the inner loop.
49982 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
49984         [BZ #13472]
49985         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49987 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
49989         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49990         Minor optimizations.
49992         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49993         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49994         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49996 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
49998         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49999         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50000         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50001         for gcc to avoid warnings.
50002         * inet/Makefile (tests): Add tst-checks.
50003         * inet/tst-checks.c: New file.
50005         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50006         warning.
50008         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50009         __wmemcmp_sse2.
50011         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50012         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50014         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50016 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
50018         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50019         problem.
50021         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50023 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
50025         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50026         conditional on GCC version.
50027         (__arch_compare_and_exchange_val_8_acq)
50028         (__arch_compare_and_exchange_val_16_acq)
50029         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50030         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50031         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50033 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
50035         * sysdeps/sh/backtrace.c: New file.
50037 2011-12-02  Andreas Schwab  <schwab@redhat.com>
50039         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
50040         parenthesis.
50042 2011-12-01  Andreas Schwab  <schwab@redhat.com>
50044         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50045         falling back to utime.
50047 2011-11-30  Andreas Schwab  <schwab@redhat.com>
50049         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50050         expectations for float.
50052 2011-11-29  Andreas Schwab  <schwab@redhat.com>
50054         * locale/weight.h (findidx): Add parameter len.
50055         * locale/weightwc.h (findidx): Likewise.
50056         * posix/fnmatch_loop.c (FCT): Adjust caller.
50057         * posix/regcomp.c (build_equiv_class): Likewise.
50058         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50059         * posix/regexec.c (check_node_accept_bytes): Likewise.
50060         * string/strcoll_l.c (STRCOLL): Likewise.
50061         * string/strxfrm_l.c (STRXFRM): Likewise.
50063 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
50065         * Makefile.in: Remove CVSOPT handling.
50066         * configure.in: Remove use of AC_REVISION.
50067         * iconvdata/Makefile (distribute): No need to filter out CVS.
50068         * scripts/list-sources.sh: Remove CVS, subversion and monotone
50069         handling.
50071 2011-11-16  Andreas Schwab  <schwab@redhat.com>
50073         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50074         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50075         [USE_AS_STRNCASECMP_L]: Likewise.
50076         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50077         NO_TLS_DIRECT_SEG_REFS.
50078         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50079         Fix argument offsets for non-PIC.
50080         [USE_AS_STRNCASECMP_L]: Likewise.
50081         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50082         NO_TLS_DIRECT_SEG_REFS.
50084 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50086         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50087         O_CLOEXEC.
50088         * locale/loadlocale.c (_nl_load_locale): Likewise.
50090 2011-11-15  Andreas Schwab  <schwab@redhat.com>
50092         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50093         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50094         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50095         (SYSCALL_GETTIME): Set errno on error.
50097         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50098         count references to noai6ai_cached.
50100 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50102         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50104         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50105         FD_CLOEXEC for /proc/self/maps.
50107         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50108         FD_CLOEXEC for /proc/meminfo.
50110         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50111         gai.conf.
50113         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
50114         FD_CLOEXEC for given file.
50116         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50118         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50119         FD_CLOEXEC for /etc/hosts.
50120         (_gethtent): Likewise.
50122         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50124         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50125         cancellation and set FD_CLOEXEC for /etc/netgroup.
50127         * nss/nss_files/files-key.c (search): Don't allow cancellation when
50128         reading /etc/publickey.
50130         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50131         allow cancellation when reading /etc/group.
50133         * nss/nss_files/files-alias.c (internal_setent): Don't allow
50134         cancellation.
50135         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
50137         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50138         when using data file.
50140         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50142         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50143         (write_nis_obj): Use "c" and "e" in fopen.
50145         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50147         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50149         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50151         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50153         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50154         locale.alias.
50156         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50158         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50160         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50162         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50163         file parsing and set FD_CLOEXEC.
50165 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50167         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50169 2011-11-14  Andreas Schwab  <schwab@redhat.com>
50171         * malloc/arena.c (arena_get2): Don't call reused_arena when
50172         _int_new_arena failed.
50174 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50176         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50177         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50178         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50179         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50180         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50181         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50182         to compile strcasecmp and strncasecmp.
50183         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50184         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50186         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50188 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
50190         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50191         locale-defines.sym to gen-as-const-headers.
50192         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50193         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50194         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50195         to compile strcasecmp and strncasecmp.
50196         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50197         strcasecmp_l and strncasecmp_l.
50198         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50199         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50200         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50201         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50202         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50203         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50204         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50205         * sysdeps/i386/i686/multiarch/strncase.S: New file.
50206         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50207         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50208         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50210 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
50212         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50213         result of SYSDEP_GETTIME_CPU to retval.
50214         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50215         parameter list to macro.  Remove trailing semicolon.  Adjust users.
50217         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50218         variable.
50220         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50221         mantissa words.
50222         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50224         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50225         from unused variable.
50227         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50228         DWARF definitions.
50229         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50230         for assembling.
50232         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50233         over namespaces.
50235         * sunrpc/rpc_prot.c (rejected): Fix case value.
50237         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50238         unsigned long long int to avoid warnings in shift.
50240         * posix/regex_internal.c (re_string_reconstruct): Actually use result
50241         of use of trans.
50242         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50243         variable tmp.
50245         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50246         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50247         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50249         * nis/nis_table.c (nis_list): Use variable of correct type for
50250         result of __follow_path call.
50252 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50254         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50255         of math functions ceil, trunc, floor, round, and sqrt, when
50256         avaliable on the platform.
50257         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50258         name clash.
50259         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50260         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50261         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50263 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
50265         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50266         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50268 2011-11-11  Roland McGrath  <roland@hack.frob.com>
50270         * include/unistd.h: Fix __readlink return type.
50271         Reported by Chris Metcalf <cmetcalf@tilera.com>.
50273 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
50275         * stdlib/ucontext.h: Undo last change for makecontext.
50277 2011-11-11  Andreas Schwab  <schwab@redhat.com>
50279         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50281         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50282         * setjmp/setjmp.h: Mark functions as non-leaf.
50283         * setjmp/bits/setjmp2.h: Likewise.
50284         * stdlib/ucontext.h: Likewise.
50286 2011-11-10  Andreas Schwab  <schwab@redhat.com>
50288         * malloc/arena.c (_int_new_arena): Don't increment narenas.
50289         (reused_arena): Don't check arena limit.
50290         (arena_get2): Atomically check arena limit.
50292 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
50294         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50295         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50297         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50298         instructions.
50300 2011-11-07  Andreas Schwab  <schwab@redhat.com>
50302         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50303         handler when locking.
50305         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50306         Fix size of allocated buffer.
50308 2011-11-04  Andreas Schwab  <schwab@redhat.com>
50310         [BZ #10103]
50311         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50312         declarations for long double functions.
50313         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50315         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50317 2011-11-03  Andreas Schwab  <schwab@redhat.com>
50319         * nscd/nscd.c (main): Don't start AVC thread until credentials are
50320         installed.
50322         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50323         is disabled.
50325 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50327         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50329 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50331         * include/alloca.h (stackinfo_alloca_round): Define.
50332         (extend_alloca): Use it.
50333         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50334         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50335         here.
50337         * scripts/check-local-headers.sh: Ignore libaudit.h.
50339         * nscd/Makefile (extra-objs): Make recursively expanded.
50341 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
50343         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50344         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50346         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50347         * posix/tst-rfc3484-2.c: Likewise.
50348         * posix/tst-rfc3484-3.c: Likewise.
50350         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50351         process_vm_writev.
50352         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50353         process_vm_writev.
50354         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50355         process_vm_writev from libc using GLIBC_2.15 version.
50357         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50359 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
50361         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50362         stack usage.
50364 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
50366         [BZ #13367]
50367         * nss/getent.c (initgroups_keys): Show error message in case no group
50368         names are given.
50370         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50371         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50372         __bump_nl_timestamp.
50373         * nscd/connections (nscd_init): When host database is served open
50374         netlink socket and request notification about configuration changes.
50375         (main_loop_poll): Track netlink file descriptor and bump timestamp
50376         in case data becomes available.
50377         (main_loop_epoll): Likewise.
50378         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50379         (database_pers_head): Add extra_data fileds.
50380         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50381         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50382         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50383         Adjust caller.
50384         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50385         in6ai data, call __free_in6ai.
50386         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50387         Add -DHAVE_NETLINK.
50388         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
50389         interface information.  Reuse previous data if netlink timestamp
50390         is not changed.
50391         (__bump_nl_timestamp): New function.
50392         (__free_in6ai): New function.
50394 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
50396         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50397         close_not_cancel_no_status here.
50398         (__check_pf): Reorganize code a bit to not call close twice if OOM.
50400 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50402         [BZ #13276]
50403         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50404         return value.
50406         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50407         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50408         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50410 2011-07-03  Andreas Jaeger  <aj@suse.de>
50412         [BZ #10709]
50413         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50414         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50415         * math/libm-test.inc (sin_test): Add test case.
50417 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50419         [BZ #13337]
50420         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50421         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50423         * elf/chroot_canon.c (chroot_canon): Cleanups.
50425         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50427         [BZ #13335]
50428         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50429         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50431         * string/test-strchr.c: Make usable for strchrnul testing.
50432         * string/test-strchrnul.c: New file.
50433         * string/Makefile (strop-tests): Add strchrnul.
50435         * po/it.po: Update from translation team.
50436         * po/es.po: Likewise.
50438 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
50440         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50441         the three constants needed as parameters.  Drop the others.
50442         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50443         __m128i_strloadu_tolower.
50444         Create and initialize variable zero and use it in all the places
50445         where _mm_setzero_si128 was used.
50447         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50448         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50449         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50450         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50451         anymore.
50452         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50453         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50454         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50455         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50456         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50457         __mpranred, __mptan.
50458         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50459         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50460         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50461         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50462         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50463         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50464         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50465         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50466         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50468 2011-10-28  Andreas Schwab  <schwab@redhat.com>
50470         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50471         redefine if SHARED.
50472         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50474         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50475         wide char related routines to wcsmbs subdir.
50477 2011-10-27  Andreas Schwab  <schwab@redhat.com>
50479         [BZ #13344]
50480         * misc/sys/cdefs.h (__THROWNL): Define.
50481         * posix/unistd.h: Use __THREADNL instead of __THREAD
50482         for memory synchronization functions.
50484 2011-10-26  Roland McGrath  <roland@hack.frob.com>
50486         [BZ #13349]
50487         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50488         doesn't exist.
50489         * manual/stdio.texi (Obstack Streams): Node removed.
50491 2011-10-26  Andreas Schwab  <schwab@redhat.com>
50493         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50494         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50495         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50497         * math/math_private.h (math_force_eval): Allow non-addressable
50498         arguments.
50499         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50501 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50503         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50504         file is not needed.
50506         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50507         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50508         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50509         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50510         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50511         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50512         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50513         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50514         Add AVX variants.
50515         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50516         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50517         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50518         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50519         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50520         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50521         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50522         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50523         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50524         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50525         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50526         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50527         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50528         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50529         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50530         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50531         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50532         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50533         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50535         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50536         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
50538         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50539         place.  Use VEX encoding when compiling for AVX.
50541 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50543         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50544         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50546         * string/test-strchr.c (do_test): Don't generate NUL bytes.
50548 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50550         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50551         useless if() expression.
50552         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50553         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50554         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50555         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50556         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50557         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50558         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50559         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50560         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50561         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50562         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50563         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50564         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50565         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50566         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50567         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50568         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50569         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50570         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50572         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50574 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50576         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50577         condition.
50578         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50580 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50582         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50583         .text section.  Avoid duplicate constants.
50584         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50585         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50586         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50587         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50588         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50589         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50590         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50591         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50592         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50593         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50594         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50595         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50596         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50597         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50598         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50599         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50600         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50601         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50602         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50603         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50604         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50605         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50606         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50607         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50608         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50609         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50610         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50611         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50612         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50613         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50614         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50615         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50616         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50617         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50618         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50619         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50620         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50621         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50622         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50623         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50624         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50625         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50626         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50627         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50628         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50630 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
50632         * sysdeps/x86_64/dla.h: Move to ...
50633         * sysdeps/x86_64/fpu/dla.h: ...here.
50634         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50635         situations.  Use __builtin_fma only for gcc 4.6 and up.
50637         * config.make.in: Add have-mfma4 entry.
50638         * configure.in: Substitute libc_cv_cc_fma4.
50639         * math/Makefile (dbl-only-routines): Add sincostab.
50640         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50641         Use __sincostab not sincos.
50642         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50643         name is a macro.
50644         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50645         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50646         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50647         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
50648         using __copysign.
50649         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
50650         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
50651         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50652         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50653         and __inv.
50654         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50655         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50656         __copysign.
50657         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
50658         define aliases when function name is a macro.
50659         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50660         sysdeps/ieee754/dbl-64/sincos.tbl.
50661         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50662         fma4-enabled routines.
50663         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50664         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50665         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50666         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50667         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50668         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50669         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50670         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50671         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50672         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50673         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50674         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50675         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50676         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50677         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50678         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50679         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50680         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50681         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50682         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50683         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50684         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50685         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50686         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50687         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50688         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50689         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50690         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50691         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50692         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50694         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50695         rename.
50696         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50697         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50698         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50699         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50700         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50701         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50702         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50703         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50705 2011-10-24  Andreas Schwab  <schwab@redhat.com>
50707         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50709 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50711         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50713         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50714         prediction.
50715         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50717         * string/strnlen.c: Don't define STRNLEN, reverse logic.
50718         Remove unused variable magic_bits.
50719         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50721         * string/strnlen.c: Define and use STRNLEN macro.
50722         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50723         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50724         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50725         * wcsmbs/wcslen.c: Define and use WCSLEN.
50726         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50727         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50728         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50729         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50730         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50731         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50732         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50734 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50736         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50737         strnlen-sse2-no-bsf.
50738         Rename strlen-no-bsf to strlen-sse2-no-bsf.
50739         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50740         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50741         Add strnlen support.
50742         (USE_AS_STRNLEN): New macro.
50743         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50744         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50745         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50746         * sysdeps/x86_64/wcslen.S: New file.
50748 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
50750         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50751         XMM-moves are used for copying on small sizes.
50753 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50755         * wcsmbs/Makefile (strop-tests): Add wcschr.
50756         * wcsmbs/test-wcschr.c: New file.
50757         * string/test-strchr.c: Update.
50758         Add wcschr support.
50759         (WIDE): New macro.
50761 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50763         * wcsmbs/Makefile (strop-tests): Add wcslen.
50764         * wcsmbs/test-wcslen.c: New file.
50765         * string/test-strlen.c: Update.
50766         Add wcslen support.
50767         (WIDE): New macro.
50769 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50771         * po/it.po: Update from translation team.
50773 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50775         * sysdeps/x86_64/wcscmp.S: Update.
50776         Fix wrong comparison semantics.
50777         wcscmp shall use signed comparison not unsigned.
50778         Don't use substraction to avoid overflow bug.
50779         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50780         * wcsmbc/wcscmp.c: Likewise.
50781         * string/test-strcmp.c: Likewise.
50782         Add new tests to check cases with negative values.
50784 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50786         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50787         * sysdeps/x86_64/dla.h: ...here.  New file.
50788         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50789         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50790         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50791         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50792         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50793         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50794         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50795         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50796         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50798 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
50800         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50801         __ynl_finite aliases.
50803 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50805         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50807         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50808         define DLA_FMA.
50809         [DLA_FMA] (EMULV): Use DLA_FMA.
50810         [DLA_FMA] (MUL12): Use EMULV.
50811         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50812         that are not needed.
50813         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50814         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50815         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50816         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50817         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50818         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50819         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50821 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
50823         * math/s_nan.c: Undef __nan.
50824         * math/s_nanf.c: Undef __nanf.
50825         * math/s_nanl.c: Undef __nanl.
50826         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50827         "math_private.h".
50829 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50831         * math/s_catan.c: Add branch predictions.
50832         * math/s_catanf.c: Likewise.
50833         * math/s_catanh.c: Likewise.
50834         * math/s_catanhf.c: Likewise.
50835         * math/s_catanhl.c: Likewise.
50836         * math/s_catanl.c: Likewise.
50837         * math/s_cexp.c: Likewise.
50838         * math/s_cexpf.c: Likewise.
50839         * math/s_cexpl.c: Likewise.
50840         * math/s_clog.c: Likewise.
50841         * math/s_clog10.c: Likewise.
50842         * math/s_clog10f.c: Likewise.
50843         * math/s_clog10l.c: Likewise.
50844         * math/s_clogf.c: Likewise.
50845         * math/s_clogl.c: Likewise.
50846         * math/s_csqrt.c: Likewise.
50847         * math/s_csqrtf.c: Likewise.
50848         * math/s_csqrtl.c: Likewise.
50849         * math/s_ctanf.c: Likewise.
50850         * math/s_ctanh.c: Likewise.
50851         * math/s_ctanhf.c: Likewise.
50852         * math/s_ctanhl.c: Likewise.
50853         * math/s_ctanl.c: Likewise.
50855         * math/math_private.h: Define __nan, __nanf, __nanl.
50856         * math/s_cacosh.c: Include <math_private.h>.
50857         * math/s_cacoshl.c: Likewise.
50858         * math/s_casinh.c: Likewise.
50859         * math/s_casinhf.c: Likewise.
50860         * math/s_casinhl.c: Likewise.
50861         * math/s_ccos.c: Rely entire on ccosh.
50862         * math/s_ccosf.c: Rely entire on ccoshf.
50863         * math/s_ccosl.c: Rely entirely on ccoshl.
50864         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
50865         Remove tests for FE_INVALID.
50866         * math/s_ccoshf.c: Likewise.
50867         * math/s_ccoshl.c: Likewise.
50868         * math/s_csin.c: Likewise.
50869         * math/s_csinf.c: Likewise.
50870         * math/s_csinh.c Likewise.
50871         * math/s_csinhf.c: Likewise.
50872         * math/s_csinhl.c: Likewise.
50873         * math/s_csinl.c: Likewise.
50874         * math/s_ctan.c: Likewise.
50875         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50876         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50877         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50879 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
50881         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50882         compilation problems.
50884         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50885         __builtin_expect.
50887 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
50889         * sysdeps/i386/configure.in: Test for -mfma4 option.
50890         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50891         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50892         COMMON_CPUID_INDEX_80000001.
50893         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50894         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50895         use it if FMA3 is not supported.
50896         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50898         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50899         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50901 2011-10-20  Andreas Schwab  <schwab@redhat.com>
50903         [BZ #12892]
50904         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50905         it would create a cycle with a link time dependency.
50907 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
50909         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50910         instruction.
50911         * string/Makefile (strop-tests): Add rawmemchr.
50912         * string/test-rawmemchr.c: New file.
50914         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50915         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
50916         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
50917         when compiling str{,n}casecmp and when AVX is available.  Hook up
50918         new optimized code in initializers.
50920 2011-10-19  Andreas Schwab  <schwab@redhat.com>
50922         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50923         __feraiseexcept instead of feraiseexcept.
50925 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
50927         * math/math_private.h: Define defaults for libc_fetestexcept and
50928         libc_feupdateenv.
50929         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50930         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50931         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50932         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50933         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50934         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50935         libc_fetestexcept and libc_feupdateenv.
50937         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50938         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50939         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50940         * sysdeps/x86_64/fpu/math_private.h: Define special version of
50941         libc_feholdexcept_setround.
50943         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50944         Add s_nearbyint-c and s_nearbyintf-c.
50945         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50946         nearbyintf inlines.
50947         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50948         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50949         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50950         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50952         * math/math_private.h: Define defaults for libc_fegetround,
50953         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50954         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50955         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50956         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50957         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50958         standard functions.
50959         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50960         Remove comments and hacks for old compiler versions.
50961         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50962         libc_fegetround, libc_fesetround, libc_feholdexcept, and
50963         libc_feholdexceptl.
50965 2011-10-18  Andreas Schwab  <schwab@redhat.com>
50967         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50968         (__feraiseexcept_renamed): Add __NTH.
50969         (feraiseexcept): Add __NTH.  Rename local variables to fix
50970         namespace violations.
50972 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
50974         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50976         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50978         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50979         recently added interfaces.
50980         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50982         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50983         about macro parameter expansion.
50985         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50986         __NO_MATH_INLINES is defined.  Cleanups.
50988         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50989         and __floorf is target has SSE4.1.
50990         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50991         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50992         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50993         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50995         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50996         name.
50997         (floorf): Likewise.
50999         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51001 2011-10-17  Andreas Schwab  <schwab@redhat.com>
51003         * misc/sys/cdefs.h: Fix last change.
51005         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51006         database lookup.
51008 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
51010         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51012         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51013         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51014         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51015         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51016         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51017         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51018         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51019         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51020         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51021         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51022         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51023         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51024         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51025         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51026         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51027         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51028         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51029         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51030         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51031         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51032         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51033         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51035         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51036         ceil, ceilf, floor, floorf.
51038         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51039         Perform IRELATIVE relocations last.
51041         * elf/do-rel.h: Add another parameter nrelative, replacing the
51042         local variable with the same name.  Change name of the function
51043         to end in Rel or Rela (uppercase).
51044         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51045         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
51046         elf_dynamic_do_##reloc function.
51048 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51050         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51051         is sufficient, at least on modern CPUs.
51053         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51055         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51056         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51058         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51059         __expl_finite.
51060         * math/bits/math-finite.h: Add entries for exp.
51061         * math/e_expl.c: Add __*_finite alias.
51062         * sysdeps/i386/fpu/e_exp.S: Likewise.
51063         * sysdeps/i386/fpu/e_expf.S: Likewise.
51064         * sysdeps/i386/fpu/e_expl.c: Likewise.
51065         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51066         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51067         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51068         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51069         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51070         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51071         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51073         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51074         is sufficient, at least on modern CPUs.
51076         * ctype/ctype-info.c (__ctype_init): Define.
51077         * include/ctype.h (__ctype_init): Declare.
51078         (__ctype_b_loc): The variable is always initialized.
51079         (__ctype_toupper_loc): Likewise.
51080         (__ctype_tolower_loc): Likewise.
51081         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51082         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51084 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
51086         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51088         * configure.in: Also look in $cxxmachine/include for C++ system
51089         headers.
51091 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51093         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51094         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51095         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51096         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
51097         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51098         (USE_AS_WMEMCMP): New macro.
51099         Fixing indents.
51100         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51101         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51102         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51103         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51104         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51105         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51106         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51107         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51108         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51109         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51110         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51111         (USE_AS_WMEMCMP): New macro.
51112         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51113         * sysdeps/string/test-memcmp.c: Update.
51114         Fix simple_wmemcmp.
51115         Add new tests.
51116         * wcsmbs/wmemcmp.c: Update.
51117         (WMEMCMP): New macro.
51118         Fix overflow bug.
51120 2011-10-12  Andreas Jaeger  <aj@suse.de>
51122         [BZ #13268]
51123         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51125 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51127         * libio/iofwide.c (do_length): Avoid warning.
51129         * ctype/ctype.h (__isctype_f): Add missing __THROW.
51131 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
51133         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51135         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51136         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51137         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51138         * sysdeps/i386/i686/fpu/e_log.S: New file.
51139         * sysdeps/i386/i686/fpu/e_logf.S: New file.
51140         * sysdeps/i386/i686/fpu/e_logl.S: New file.
51142         * ctype/ctype.h: Add support for inlined isXXX functions when
51143         compiling C++ code.
51145 2011-10-14  Andreas Schwab  <schwab@redhat.com>
51147         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51149         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51151 2011-10-13  Roland McGrath  <roland@hack.frob.com>
51153         [BZ #13291]
51154         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51156 2011-10-13  Andreas Schwab  <schwab@redhat.com>
51158         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51159         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51160         feraiseexcept.
51162         * sysdeps/x86_64/memrchr.S: Check for zero size.
51164         * string/stratcliff.c: Add memrchr tests.
51166 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51168         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51169         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51170         rawmemchr-sse2 rawmemchr-sse2-bsf.
51171         * sysdeps/i386/i686/multiarch/memchr.S: New file.
51172         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51173         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51174         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51175         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51176         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51177         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51178         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51179         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51180         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51181         * string/memrchr.c (MEMRCHR): New macro.
51183 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
51185         Add integration with gcc's -ffinite-math-only and optimize wrapper
51186         functions in libm.
51187         * Versions.def: Define GLIBC_2.15 version for libm.
51188         * math/Makefile (headers): Add bits/math-finite.h.
51189         * math/bits/math-finite.h: New file.
51190         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51191         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51192         * math/e_acoshl.c: Add __*_finite alias.
51193         * math/e_acosl.c: Likewise.
51194         * math/e_asinl.c: Likewise.
51195         * math/e_atan2l.c: Likewise.
51196         * math/e_atanhl.c: Likewise.
51197         * math/e_coshl.c: Likewise.
51198         * math/e_exp10.c: Likewise.
51199         * math/e_exp10f.c: Likewise.
51200         * math/e_exp10l.c: Likewise.
51201         * math/e_exp2l.c: Likewise.
51202         * math/e_fmodl.c: Likewise.
51203         * math/e_gammal_r.c: Likewise.
51204         * math/e_hypotl.c: Likewise.
51205         * math/e_j0l.c: Likewise.
51206         * math/e_j1l.c: Likewise.
51207         * math/e_jnl.c: Likewise.
51208         * math/e_lgammal_r.c: Likewise.
51209         * math/e_log10l.c: Likewise.
51210         * math/e_log2l.c: Likewise.
51211         * math/e_logl.c: Likewise.
51212         * math/e_powl.c: Likewise.
51213         * math/e_sinhl.c: Likewise.
51214         * math/e_sqrtl.c: Likewise.
51215         * math/e_scalb.c: Completely rewritten and optimized.
51216         * math/e_scalbf.c: Likewise.
51217         * math/e_scalbl.c: Likewise.
51218         * math/w_acos.c: Likewise.
51219         * math/w_acosf.c: Likewise.
51220         * math/w_acosl.c: Likewise.
51221         * math/w_acosh.c: Likewise.
51222         * math/w_acoshf.c: Likewise.
51223         * math/w_acoshl.c: Likewise.
51224         * math/w_asin.c: Likewise.
51225         * math/w_asinf.c: Likewise.
51226         * math/w_asinl.c: Likewise.
51227         * math/w_atan2.c: Likewise.
51228         * math/w_atan2f.c: Likewise.
51229         * math/w_atan2l.c: Likewise.
51230         * math/w_atanh.c: Likewise.
51231         * math/w_atanhf.c: Likewise.
51232         * math/w_atanhl.c: Likewise.
51233         * math/w_exp10.c: Likewise.
51234         * math/w_exp10f.c: Likewise.
51235         * math/w_exp10l.c: Likewise.
51236         * math/w_fmod.c: Likewise.
51237         * math/w_fmodf.c: Likewise.
51238         * math/w_fmodl.c: Likewise.
51239         * math/w_j0.c: Likewise.
51240         * math/w_j0f.c: Likewise.
51241         * math/w_j0l.c: Likewise.
51242         * math/w_j1.c: Likewise.
51243         * math/w_j1f.c: Likewise.
51244         * math/w_j1l.c: Likewise.
51245         * math/w_jn.c: Likewise.
51246         * math/w_jnf.c: Likewise.
51247         * math/w_log.c: Likewise.
51248         * math/w_logf.c: Likewise.
51249         * math/w_logl.c: Likewise.
51250         * math/w_log10.c: Likewise.
51251         * math/w_log10f.c: Likewise.
51252         * math/w_log10l.c: Likewise.
51253         * math/w_log2.c: Likewise.
51254         * math/w_log2f.c: Likewise.
51255         * math/w_log2l.c: Likewise.
51256         * math/w_pow.c: Likewise.
51257         * math/w_powf.c: Likewise.
51258         * math/w_powl.c: Likewise.
51259         * math/w_remainder.c: Likewise.
51260         * math/w_remainderf.c: Likewise.
51261         * math/w_remainderl.c: Likewise.
51262         * math/w_scalb.c: Likewise.
51263         * math/w_scalbf.c: Likewise.
51264         * math/w_scalbl.c: Likewise.
51265         * math/w_sqrt.c: Likewise.
51266         * math/w_sqrtf.c: Likewise.
51267         * math/w_sqrtl.c: Likewise.
51268         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51269         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
51270         used.
51271         * math/math_private.h: Declare __kernel_standard_f.
51272         * math/w_cosh.c: Remove cruft and optimize a bit.
51273         * math/w_coshf.c: Likewise.
51274         * math/w_coshl.c: Likewise.
51275         * math/w_exp2.c: Likewise.
51276         * math/w_exp2f.c: Likewise.
51277         * math/w_exp2l.c: Likewise.
51278         * math/w_hypot.c: Likewise.
51279         * math/w_hypotf.c: Likewise.
51280         * math/w_hypotl.c: Likewise.
51281         * math/w_lgamma.c: Likewise.
51282         * math/w_lgamma_r.c: Likewise.
51283         * math/w_lgammaf.c: Likewise.
51284         * math/w_lgammaf_r.c: Likewise.
51285         * math/w_lgammal.c: Likewise.
51286         * math/w_lgammal_r.c: Likewise.
51287         * math/w_sinh.c: Likewise.
51288         * math/w_sinhf.c: Likewise.
51289         * math/w_sinhl.c: Likewise.
51290         * math/w_tgamma.c: Likewise.
51291         * math/w_tgammaf.c: Likewise.
51292         * math/w_tgammal.c: Likewise.
51293         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51294         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51295         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51296         Minor optimizations.  Pretty printing.  Remove cruft.
51297         * sysdeps/i386/fpu/e_acosf.S: Likewise.
51298         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51299         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51300         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51301         * sysdeps/i386/fpu/e_acosl.c: Likewise.
51302         * sysdeps/i386/fpu/e_asin.S: Likewise.
51303         * sysdeps/i386/fpu/e_asinf.S: Likewise.
51304         * sysdeps/i386/fpu/e_atan2.S: Likewise.
51305         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51306         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51307         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51308         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51309         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51310         * sysdeps/i386/fpu/e_exp10.S: Likewise.
51311         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51312         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51313         * sysdeps/i386/fpu/e_exp2.S: Likewise.
51314         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51315         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51316         * sysdeps/i386/fpu/e_fmod.S: Likewise.
51317         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51318         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51319         * sysdeps/i386/fpu/e_hypot.S: Likewise.
51320         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51321         * sysdeps/i386/fpu/e_log.S: Likewise.
51322         * sysdeps/i386/fpu/e_log10.S: Likewise.
51323         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51324         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51325         * sysdeps/i386/fpu/e_log2.S: Likewise.
51326         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51327         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51328         * sysdeps/i386/fpu/e_logf.S: Likewise.
51329         * sysdeps/i386/fpu/e_logl.S: Likewise.
51330         * sysdeps/i386/fpu/e_pow.S: Likewise.
51331         * sysdeps/i386/fpu/e_powf.S: Likewise.
51332         * sysdeps/i386/fpu/e_powl.S: Likewise.
51333         * sysdeps/i386/fpu/e_remainder.S: Likewise.
51334         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51335         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51336         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51337         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51338         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51339         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51340         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51341         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51342         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51343         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51344         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51345         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51346         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51347         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51348         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51349         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51350         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51351         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51352         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51353         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51354         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51355         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51356         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51357         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51358         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51359         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51360         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51361         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51362         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51363         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51364         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51365         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51366         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51367         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51368         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51369         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51370         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51371         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51372         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51373         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51374         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51375         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51376         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51377         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51378         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51379         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51380         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51381         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51382         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51383         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51384         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51385         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51386         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51387         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51388         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51389         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51390         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51391         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51392         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51393         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51394         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51395         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51396         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51397         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51398         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51399         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51400         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51401         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51402         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51403         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51404         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51405         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51406         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51407         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51408         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51409         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51410         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51411         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51412         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51413         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51414         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51415         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51416         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51417         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51418         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51419         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51420         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51421         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51422         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51423         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51424         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51425         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51426         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51427         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51428         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51429         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51430         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51431         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51432         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51433         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51434         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51435         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51436         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51437         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51438         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51439         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51440         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51441         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51442         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51443         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51444         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51445         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51446         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51447         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51448         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51449         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51450         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51451         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51452         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
51453         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51454         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51455         (__isnanf): Likewise.
51456         (__isinf_ns): Likewise.
51457         (__isinf_nsf): Likewise.
51458         (__finite): Likewise.
51459         (__finitef): Likewise.
51460         (__ieee754_sqrt): Define as macro.
51461         (__ieee754_sqrtf): Define as macro.
51462         (__ieee754_sqrtl): Define as macro.
51463         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51464         inlined copy.
51465         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51466         __FINITE_MATH_ONLY__ consistent.
51467         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51469 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
51471         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51472         of rawmemchr.
51474         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51476 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
51478         * po/ja.po: Update from translation team.
51480 2011-10-08  Roland McGrath  <roland@hack.frob.com>
51482         * locale/programs/locarchive.c (prepare_address_space): New function.
51483         (create_archive, enlarge_archive, open_archive): Use it.
51485         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51486         inside [SHARED], where it is used.
51488         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51490         * nss/getent.c (netgroup_keys): Remove unused variable.
51491         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51493 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
51495         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51496         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51497         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51498         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51499         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51500         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51501         * math/Makefile (libm-calls): Add s_isinf_ns.
51502         * math/divtc3.c: Use __isinf_nsl instead of isinf.
51503         * math/multc3.c: Likewise.
51504         * math/s_casin.c: Likewise.
51505         * math/s_casinf.c: Likewise.
51506         * math/s_casinl.c: Likewise.
51507         * math/s_ccos.c: Likewise.
51508         * math/s_ccosf.c: Likewise.
51509         * math/s_ccosl.c: Likewise.
51510         * math/s_ctan.c: Likewise.
51511         * math/s_ctanf.c: Likewise.
51512         * math/s_ctanh.c: Likewise.
51513         * math/s_ctanhf.c: Likewise.
51514         * math/s_ctanhl.c: Likewise.
51515         * math/s_ctanl.c: Likewise.
51516         * math/w_fmod.c: Likewise.
51517         * math/w_fmodf.c: Likewise.
51518         * math/w_fmodl.c: Likewise.
51519         * math/w_remainder.c: Likewise.
51520         * math/w_remainderf.c: Likewise.
51521         * math/w_remainderl.c: Likewise.
51522         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51523         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51524         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51525         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51526         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51527         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51528         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51529         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51531         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51532         of the number.
51533         * stdio-common/printf_fphex.c: Likewise.
51534         * stdio-common/printf_size.c: Likewise.
51536         * math/e_exp10.c: Include math_private.h using <...> not "...".
51537         * math/e_exp10f.c: Likewise.
51538         * math/e_exp10l.c: Likewise.
51539         * math/e_exp2l.c: Likewise.
51540         * math/e_j0l.c: Likewise.
51541         * math/e_j1l.c: Likewise.
51542         * math/e_jnl.c: Likewise.
51543         * math/e_lgammal_r.c: Likewise.
51544         * math/e_rem_pio2l.c: Likewise.
51545         * math/e_scalb.c: Likewise.
51546         * math/e_scalbf.c: Likewise.
51547         * math/e_scalbl.c: Likewise.
51548         * math/k_cosl.c: Likewise.
51549         * math/k_sinl.c: Likewise.
51550         * math/k_tanl.c: Likewise.
51551         * math/s_cacoshf.c: Likewise.
51552         * math/s_catan.c: Likewise.
51553         * math/s_catanf.c: Likewise.
51554         * math/s_catanh.c: Likewise.
51555         * math/s_catanhf.c: Likewise.
51556         * math/s_catanhl.c: Likewise.
51557         * math/s_catanl.c: Likewise.
51558         * math/s_ccosh.c: Likewise.
51559         * math/s_ccoshf.c: Likewise.
51560         * math/s_ccoshl.c: Likewise.
51561         * math/s_cexp.c: Likewise.
51562         * math/s_cexpf.c: Likewise.
51563         * math/s_cexpl.c: Likewise.
51564         * math/s_clog.c: Likewise.
51565         * math/s_clog10.c: Likewise.
51566         * math/s_clog10f.c: Likewise.
51567         * math/s_clog10l.c: Likewise.
51568         * math/s_clogf.c: Likewise.
51569         * math/s_clogl.c: Likewise.
51570         * math/s_csin.c: Likewise.
51571         * math/s_csinf.c: Likewise.
51572         * math/s_csinh.c: Likewise.
51573         * math/s_csinhf.c: Likewise.
51574         * math/s_csinhl.c: Likewise.
51575         * math/s_csinl.c: Likewise.
51576         * math/s_csqrt.c: Likewise.
51577         * math/s_csqrtf.c: Likewise.
51578         * math/s_csqrtl.c: Likewise.
51579         * math/s_ctan.c: Likewise.
51580         * math/s_ctanf.c: Likewise.
51581         * math/s_ctanh.c: Likewise.
51582         * math/s_ctanhf.c: Likewise.
51583         * math/s_ctanhl.c: Likewise.
51584         * math/s_ctanl.c: Likewise.
51585         * math/s_ldexp.c: Likewise.
51586         * math/s_ldexpf.c: Likewise.
51587         * math/s_ldexpl.c: Likewise.
51588         * math/s_significand.c: Likewise.
51589         * math/s_significandf.c: Likewise.
51590         * math/s_significandl.c: Likewise.
51591         * math/w_acos.c: Likewise.
51592         * math/w_acosf.c: Likewise.
51593         * math/w_acosh.c: Likewise.
51594         * math/w_acoshf.c: Likewise.
51595         * math/w_acoshl.c: Likewise.
51596         * math/w_acosl.c: Likewise.
51597         * math/w_asin.c: Likewise.
51598         * math/w_asinf.c: Likewise.
51599         * math/w_asinl.c: Likewise.
51600         * math/w_atan2.c: Likewise.
51601         * math/w_atan2f.c: Likewise.
51602         * math/w_atan2l.c: Likewise.
51603         * math/w_atanh.c: Likewise.
51604         * math/w_atanhf.c: Likewise.
51605         * math/w_atanhl.c: Likewise.
51606         * math/w_cosh.c: Likewise.
51607         * math/w_coshf.c: Likewise.
51608         * math/w_coshl.c: Likewise.
51609         * math/w_dremf.c: Likewise.
51610         * math/w_exp10.c: Likewise.
51611         * math/w_exp10f.c: Likewise.
51612         * math/w_exp10l.c: Likewise.
51613         * math/w_exp2.c: Likewise.
51614         * math/w_exp2f.c: Likewise.
51615         * math/w_fmod.c: Likewise.
51616         * math/w_fmodf.c: Likewise.
51617         * math/w_fmodl.c: Likewise.
51618         * math/w_hypot.c: Likewise.
51619         * math/w_hypotf.c: Likewise.
51620         * math/w_hypotl.c: Likewise.
51621         * math/w_j0.c: Likewise.
51622         * math/w_j0f.c: Likewise.
51623         * math/w_j0l.c: Likewise.
51624         * math/w_j1.c: Likewise.
51625         * math/w_j1f.c: Likewise.
51626         * math/w_j1l.c: Likewise.
51627         * math/w_jn.c: Likewise.
51628         * math/w_jnf.c: Likewise.
51629         * math/w_jnl.c: Likewise.
51630         * math/w_lgamma.c: Likewise.
51631         * math/w_lgamma_r.c: Likewise.
51632         * math/w_lgammaf.c: Likewise.
51633         * math/w_lgammaf_r.c: Likewise.
51634         * math/w_lgammal.c: Likewise.
51635         * math/w_lgammal_r.c: Likewise.
51636         * math/w_log.c: Likewise.
51637         * math/w_log10.c: Likewise.
51638         * math/w_log10f.c: Likewise.
51639         * math/w_log10l.c: Likewise.
51640         * math/w_log2.c: Likewise.
51641         * math/w_log2f.c: Likewise.
51642         * math/w_log2l.c: Likewise.
51643         * math/w_logf.c: Likewise.
51644         * math/w_logl.c: Likewise.
51645         * math/w_pow.c: Likewise.
51646         * math/w_powf.c: Likewise.
51647         * math/w_powl.c: Likewise.
51648         * math/w_remainder.c: Likewise.
51649         * math/w_remainderf.c: Likewise.
51650         * math/w_remainderl.c: Likewise.
51651         * math/w_scalb.c: Likewise.
51652         * math/w_scalbf.c: Likewise.
51653         * math/w_scalbl.c: Likewise.
51654         * math/w_sinh.c: Likewise.
51655         * math/w_sinhf.c: Likewise.
51656         * math/w_sinhl.c: Likewise.
51657         * math/w_sqrt.c: Likewise.
51658         * math/w_sqrtf.c: Likewise.
51659         * math/w_sqrtl.c: Likewise.
51660         * math/w_tgamma.c: Likewise.
51661         * math/w_tgammaf.c: Likewise.
51662         * math/w_tgammal.c: Likewise.
51664         * po/ja.po: Update from translation team.
51666 2011-09-29  Andreas Jaeger  <aj@suse.de>
51668         [BZ #13179]
51669         * sunrpc/netname.c (netname2host): Fix logic.
51671         [BZ #6779]
51672         [BZ #6783]
51673         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51674         correctly.
51675         * math/w_remainder.c (__remainder): Likewise.
51676         * math/w_remainderf.c (__remainderf): Likewise.
51677         * math/libm-test.inc (remainder_test): Add test cases.
51679 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51681         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
51682         sdiv_qrnnd.
51684 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51686         * string/test-memcmp.c: Avoid unncessary #defines.
51687         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51689 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51691         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51692         Use new sse2 version for core i3 - i7 as it's faster
51693         than sse42 version.
51694         (bit_Prefer_PMINUB_for_stringop): New.
51695         * sysdeps/x86_64/rawmemchr.S: Update.
51696         Replace with faster SSE2 version.
51697         * sysdeps/x86_64/memrchr.S: New file.
51698         * sysdeps/x86_64/memchr.S: Update.
51699         Replace with faster SSE2 version.
51701 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
51703         * elf/dl-load.c (lose): Add cast to avoid warning.
51705 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51707         * po/ca.po: Update from translation team.
51709         * inet/getnetgrent_r.c: Hook up nscd.
51710         * nscd/Makefile (routines): Add nscd_netgroup.
51711         (nscd-modules): Add netgroupcache.
51712         (CFLAGS-netgroupcache.c): Define.
51713         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51714         (cache_search): Add const to second parameter.
51715         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51716         INNETGR.
51717         (dbs): Add netgrdb entry.
51718         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51719         (verify_persistent_db): Handle netgrdb.
51720         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51721         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51722         GETFDNETGR.
51723         (netgroup_response_header): Define.
51724         (innetgroup_response_header): Define.
51725         (datahead): Add netgroup_response_header and innetgroup_response_header
51726         elements.
51727         * nscd/nscd.conf: Add entries for netgroup cache.
51728         * nscd/nscd.h (dbtype): Add netgrdb.
51729         (_PATH_NSCD_NETGROUP_DB): Define.
51730         (netgroup_iov_disabled): Declare.
51731         (xmalloc, xcalloc, xrealloc): Move declarations here.
51732         (cache_search): Adjust prototype.
51733         Add netgroup-related prototypes.
51734         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51735         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51736         (__nscd_innetgr): Declare.
51737         * nscd/selinux.c (perms): Use access_vector_t as element type and
51738         add netgroup-related initializers.
51739         * nscd/netgroupcache.c: New file.
51740         * nscd/nscd_netgroup.c: New file.
51741         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51742         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51743         For four parameters use innetgr.
51744         * nss/nss_files/files-init.c: Add definition and callback for netgr.
51745         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51746         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51747         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51749         * nscd/connections.c (register_traced_file): Don't register file
51750         for disabled databases.
51752 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
51754         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51756         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51757         from tree and freeing node.
51759 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
51761         * nss/nsswitch.c (__nss_database_lookup): Handle
51762         nss_parse_service_list out of memory case.
51764 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
51766         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51767         out of memory case.
51769 2011-10-04  Andreas Schwab  <schwab@redhat.com>
51771         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51772         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51773         pass it down.
51774         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51775         elf_machine_rela, elf_machine_lazy_rel.
51776         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51777         (ELF_DYNAMIC_DO_REL): Likewise.
51778         (ELF_DYNAMIC_DO_RELA): Likewise.
51779         (ELF_DYNAMIC_RELOCATE): Likewise.
51780         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51781         to ELF_DYNAMIC_DO_REL.
51782         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51783         (dl_main): In trace mode always set __RTLD_NOIFUNC.
51784         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51785         elf_machine_rela.
51786         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51787         skip_ifunc, don't call ifunc function if non-zero.
51788         (elf_machine_rela): Likewise.
51789         (elf_machine_lazy_rel): Likewise.
51790         (elf_machine_lazy_rela): Likewise.
51791         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51792         (elf_machine_lazy_rel): Likewise.
51793         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51794         Likewise.
51795         (elf_machine_lazy_rel): Likewise.
51796         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51797         Likewise.
51798         (elf_machine_lazy_rel): Likewise.
51799         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51800         (elf_machine_lazy_rel): Likewise.
51801         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51802         (elf_machine_lazy_rel): Likewise.
51803         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51804         (elf_machine_lazy_rel): Likewise.
51805         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51806         (elf_machine_lazy_rel): Likewise.
51807         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51808         (elf_machine_lazy_rel): Likewise.
51809         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51810         (elf_machine_lazy_rel): Likewise.
51812 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
51814         * nss/nss_files/files-init.c (_nss_files_init): Use static
51815         initialization for all the *_traced_file variables.
51817 2011-09-28  Andreas Schwab  <schwab@redhat.com>
51819         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51821 2011-09-27  Roland McGrath  <roland@hack.frob.com>
51823         [BZ #13226]
51824         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51826 2011-09-27  Andreas Schwab  <schwab@redhat.com>
51828         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51829         Reread the line before reparsing it.
51831 2011-09-26  Andreas Schwab  <schwab@redhat.com>
51833         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51835 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
51836             Maxim Kuvyrkov  <maxim@codesourcery.com>
51837             Joseph Myers  <joseph@codesourcery.com>
51839         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51840         if needed for __stack_chk_guard.
51842 2011-09-19  Roland McGrath  <roland@hack.frob.com>
51844         * sysdeps/posix/spawni.c (script_execute): Always define it.
51845         It will be optimized away if unused.
51846         (maybe_script_execute): New function.
51847         (__spawni): Call it.
51849         * Makerules: Don't include tls.make.
51850         (config-tls): Always set to thread.
51851         * tls.make.c: File removed.
51853 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
51855         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51856         * config.make.in (CPPFLAGS-config): New substituted variable.
51858 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51860         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51862         [BZ #13192]
51863         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51864         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51866 2011-09-15  Roland McGrath  <roland@hack.frob.com>
51868         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51869         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51870         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51871         (CALL_FAIL): Likewise.
51872         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51873         (CALL_FAIL): Macro removed.
51874         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51876 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51878         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51879         for __FINITE_MATH_ONLY__ == 1.
51881 2011-09-15  Andreas Schwab  <schwab@redhat.com>
51883         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51884         __ieee754_sqrt instead of sqrt.
51885         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51886         __ieee754_sqrtf instead of sqrtf.
51887         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51888         __floorf instead of floorf.
51889         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51890         __floorf, __truncf instead of floorf, truncf.
51892 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
51894         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51896         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51897         __extern_always_inline.
51898         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51899         32-bit.
51901 2011-09-14  Andreas Schwab  <schwab@redhat.com>
51903         * elf/rtld.c (dl_main): Also relocate in dependency order when
51904         doing symbol dependency testing.
51906 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
51908         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51909         Always define `refsym'.
51911 2011-09-13  Andreas Schwab  <schwab@redhat.com>
51913         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51914         (__FD_ELT): Renamed from __FDELT.
51915         * misc/bits/select2.h (__FD_ELT): Likewise.
51916         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51917         __FD_MASK instead of __FDELT, __FDMASK.
51918         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51919         Likewise.
51920         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51921         Likewise.
51923         * elf/Makefile (gen-ldd): Fix pattern.
51925         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51926         (init_tls): Likewise.
51928 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
51930         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51932 2011-09-12  Andreas Schwab  <schwab@redhat.com>
51934         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51935         `struct cmsghdr *' instead of `void *'.
51936         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51937         Likewise.
51939 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
51941         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51942         if non-absolute.
51943         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51944         ldd_rewrite_script.
51946 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
51948         * configure.in: Remove --with-tls option.
51949         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51950         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51951         out in case it is missing.
51952         * sysdeps/ia64/elf/configure.in: Likewise.
51953         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51954         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51955         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51956         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51957         * sysdeps/sh/elf/configure.in: Likewise.
51958         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51959         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51960         * sysdeps/x86_64/elf/configure.in: Likewise.
51961         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51962         * sysdeps/mach/hurd/tls.h: Likewise.
51964         [BZ #13067]
51965         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51967         [BZ #13090]
51968         * configure.in: Fix use of AC_INIT.
51970         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51972 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
51974         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51975         __set_errno.
51976         * malloc/hooks.c: Likewise.
51978         [BZ #11929]
51979         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
51980         variables statically.
51981         (narenas): Initialize.
51982         (list_lock): Initialize.
51983         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
51984         initializtion of main_arena and list_lock.  Small cleanups.
51985         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51986         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
51987         Add initializers to main_arena and mp_.
51988         (malloc_state): Remove pagesize member.  Change all users to use
51989         GLRO(dl_pagesize).
51991         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51992         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
51993         is always initialized.
51995         * malloc/malloc.c: Removed unused configurations and dead code.
51996         * malloc/arena.c: Likewise.
51997         * malloc/hooks.c: Likewise.
51998         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52000         * include/tls.h: Removed.  USE___THREAD must always be defined.
52001         * bits/libc-tsd.h: Don't handle !USE___THREAD.
52002         * elf/dl-libc.c: Likewise.
52003         * elf/dl-tsd.c: Likewise.
52004         * include/errno.h: Likewise.
52005         * include/netdb.h: Likewise.
52006         * include/resolv.h: Likewise.
52007         * inet/herrno-loc.c: Likewise.
52008         * inet/herrno.c: Likewise.
52009         * malloc/arena.c: Likewise.
52010         * malloc/hooks.c: Likewise.
52011         * malloc/malloc.c: Likewise.
52012         * resolv/res-state.c: Likewise.
52013         * resolv/res_libc.c: Likewise.
52014         * sysdeps/i386/dl-machine.h: Likewise.
52015         * sysdeps/ia64/dl-machine.h: Likewise.
52016         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52017         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52018         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52019         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52020         * sysdeps/sh/dl-machine.h: Likewise.
52021         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52022         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52023         * sysdeps/unix/i386/sysdep.S: Likewise.
52024         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52025         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52026         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52027         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52028         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52029         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52030         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52031         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52032         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52033         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52034         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52035         * sysdeps/x86_64/dl-machine.h: Likewise.
52036         * tls.make.c: Likewise.
52038         * configure.in: Remove --with-__thread option.  Make tests for
52039         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52040         tls_model attribute fail if no support is available.  Remove
52041         USE_IN_LIBIO.
52042         * Makeconfig: Adjust for dropped configure option.  All features are
52043         now mandatory.
52044         * Makerules: Likewise.
52045         * Versions.def: Likewise.
52046         * argp/argp-fmtstream.c: Likewise.
52047         * argp/argp-fmtstream.h: Likewise.
52048         * argp/argp-help.c: Likewise.
52049         * assert/assert.c: Likewise.
52050         * config.h.in: Likewise.
52051         * config.make.in: Likewise.
52052         * configure: Likewise.
52053         * configure.in: Likewise.
52054         * csu/Versions: Likewise.
52055         * csu/init.c: Likewise.
52056         * elf/tst-audit2.c: Likewise.
52057         * elf/tst-tls10.c: Likewise.
52058         * elf/tst-tls10.h: Likewise.
52059         * elf/tst-tls11.c: Likewise.
52060         * elf/tst-tls12.c: Likewise.
52061         * elf/tst-tls14.c: Likewise.
52062         * elf/tst-tlsmod11.c: Likewise.
52063         * elf/tst-tlsmod12.c: Likewise.
52064         * elf/tst-tlsmod13.c: Likewise.
52065         * elf/tst-tlsmod13a.c: Likewise.
52066         * elf/tst-tlsmod14a.c: Likewise.
52067         * elf/tst-tlsmod15b.c: Likewise.
52068         * elf/tst-tlsmod16a.c: Likewise.
52069         * elf/tst-tlsmod16b.c: Likewise.
52070         * elf/tst-tlsmod7.c: Likewise.
52071         * elf/tst-tlsmod8.c: Likewise.
52072         * elf/tst-tlsmod9.c: Likewise.
52073         * gmon/gmon.c: Likewise.
52074         * grp/fgetgrent_r.c: Likewise.
52075         * grp/putgrent.c: Likewise.
52076         * hurd/fopenport.c: Likewise.
52077         * include/libc-symbols.h: Likewise.
52078         * include/tls.h: Likewise.
52079         * intl/gettextP.h: Likewise.
52080         * intl/loadinfo.h: Likewise.
52081         * locale/global-locale.c: Likewise.
52082         * locale/localeinfo.h: Likewise.
52083         * mach/devstream.c: Likewise.
52084         * malloc/arena.c: Likewise.
52085         * malloc/set-freeres.c: Likewise.
52086         * misc/err.c: Likewise.
52087         * misc/getttyent.c: Likewise.
52088         * misc/mntent_r.c: Likewise.
52089         * posix/getopt.c: Likewise.
52090         * posix/wordexp.c: Likewise.
52091         * pwd/fgetpwent_r.c: Likewise.
52092         * resolv/Versions: Likewise.
52093         * resolv/res_hconf.c: Likewise.
52094         * shadow/fgetspent_r.c: Likewise.
52095         * shadow/putspent.c: Likewise.
52096         * stdio-common/printf_fphex.c: Likewise.
52097         * stdio-common/tmpfile.c: Likewise.
52098         * stdlib/abort.c: Likewise.
52099         * stdlib/fmtmsg.c: Likewise.
52100         * sunrpc/auth_unix.c: Likewise.
52101         * sunrpc/clnt_perr.c: Likewise.
52102         * sunrpc/clnt_tcp.c: Likewise.
52103         * sunrpc/clnt_udp.c: Likewise.
52104         * sunrpc/clnt_unix.c: Likewise.
52105         * sunrpc/openchild.c: Likewise.
52106         * sunrpc/svc_simple.c: Likewise.
52107         * sunrpc/svc_tcp.c: Likewise.
52108         * sunrpc/svc_udp.c: Likewise.
52109         * sunrpc/svc_unix.c: Likewise.
52110         * sunrpc/xdr.c: Likewise.
52111         * sunrpc/xdr_array.c: Likewise.
52112         * sunrpc/xdr_rec.c: Likewise.
52113         * sunrpc/xdr_ref.c: Likewise.
52114         * sunrpc/xdr_stdio.c: Likewise.
52116 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52118         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52120 2011-07-03  Andreas Jaeger  <aj@suse.de>
52122         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52123         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52124         regenerate with gen-libm-tests.pl.
52126 2010-05-12  Petr Baudis  <pasky@suse.cz>
52128         [BZ #11589]
52129         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52130         around j0() zero points by switching to j1().
52131         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52132         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52133         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52134         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52136 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52138         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52139         instead of 0.
52140         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52141         instead of 0.
52142         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52143         Patch in part by Pavel Roskin <proski@gnu.org>.
52145         [BZ #13138]
52146         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52147         realloc.
52148         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
52149         Free memory block if necessary.
52151         [BZ #12847]
52152         * libio/genops.c (INTDEF): For string streams the _lock pointer can
52153         be NULL.  Don't lock in this case.
52155 2011-09-09  Roland McGrath  <roland@hack.frob.com>
52157         * elf/elf.h (ELFOSABI_GNU): New macro.
52158         (ELFOSABI_LINUX): Define to that.
52160 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
52162         * string/strncat.c (strncat): Undef the symbol in case it has been
52163         defined in bits/string.h.
52165 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52167         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52169         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52170         link map.
52172 2011-08-17  Andreas Jaeger  <aj@suse.de>
52174         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52176 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52177             Ian Lance Taylor  <iant@google.com>
52179         * math/libm-test.inc (lround_test): New testcase.
52180         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52182 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
52184         * Makefile: Remove support for automatic cvs check-ins.
52185         * Makerules: Likewise.
52186         * config.make.in: Likewise.
52187         * configure.in: Likewise.
52188         * intl/Makefile: Likewise.
52189         * locale/Makefile: Likewise.
52190         * po/Makefile: Likewise.
52191         * posix/Makefile: Likewise.
52192         * sysdeps/gnu/Makefile: Likewise.
52193         * sysdeps/mach/hurd/Makefile: Likewise.
52194         * sysdeps/sparc/sparc32/Makefile: Likewise.
52196         [BZ #13118]
52197         * posix/Makefile (bug-regex32-ENV): Define.
52198         Patch by John Stanley <jpsinthemix@verizon.net>.
52200         * misc/Makefile (headers): Add bits/select2.h.
52201         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52202         * misc/bits/select2.h: New file.
52203         * include/bits/select2.h: New file.
52204         * debug/Makefile (routines): Add fdelt_chk.
52205         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52206         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52207         FD_ISSET.
52208         * debug/fdelt_chk.c: New file.
52210         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
52211         * wcsmbs/test-wmemcmp.c: Likewise.
52212         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52213         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52215 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52217         * string/Makefile (strop-tests): Add memcmp.
52218         * string/test-wmemcmp.c: New file.
52219         * string/test-memcmp.c: Add wmemcmp support.
52221 2011-09-08  Roland McGrath  <roland@hack.frob.com>
52223         [BZ #13153]
52224         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52225         2011-07-19 change.
52227         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52228         garbage value in a __mach_port_mod_refs call in the cases of the
52229         task-self and thread-self ports.
52231 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52233         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52235 2011-09-08  Andreas Schwab  <schwab@redhat.com>
52237         * elf/dl-load.c (lose): Check for non-null L.
52239 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52241         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52243         * elf/dl-libc.c (dlerror_run): Pass back error code from
52244         dl_catch_error.
52246         [BZ #13123]
52247         * elf/dl-load.c (lose): Free l_origin if it is valid.
52249         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52250         names.
52251         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52252         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52253         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52254         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52255         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52256         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52258 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52260         * sysdeps/powerpc/fpu/e_hypot.c: New file.
52261         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52262         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52263         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52264         * sysdeps/powerpc/fpu/k_cosf.c: New file.
52265         * sysdeps/powerpc/fpu/k_sinf.c: New file.
52266         * sysdeps/powerpc/fpu/s_cosf.c: New file.
52267         * sysdeps/powerpc/fpu/s_sinf.c: New file.
52268         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52269         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52271 2011-08-15  Alan Modra  <amodra@gmail.com>
52273         [BZ #13092]
52274         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52275         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52276         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
52277         ppc_mcount to static-only-routines.
52278         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52279         __mcount_internal.
52280         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52281         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
52283 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
52285         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52286         for finite and infinity parameters.
52288 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
52290         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52291         and add nop instructions for throughput optimization.
52292         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52294 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
52296         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52297         aligned copy for power7 with vector-scalar instructions.
52298         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52300 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
52302         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52303         AVX check.
52305 2011-09-07  Andreas Schwab  <schwab@redhat.com>
52307         [BZ #13144]
52308         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52309         last change.
52311 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52313         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52314         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52315         syscall wrapper around clock_gettime in __vdso_clock_gettime.
52316         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52317         clock_gettime.
52319 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52321         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52322         Forgot to demangle the pointer.
52324         * sysdeps/i386/sysdep.h: Define atom_text_section.
52325         * sysdeps/x86_64/sysdep.h: Likewise.
52326         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52327         section with atom_text_section.
52328         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52329         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52330         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52331         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52332         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52334         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52335         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52336         already be defined.  Change to take two parameters and don't assign
52337         result to variable.  Adjust all users.
52338         Define INTERNAL_GETTIME if not already defined.
52339         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52340         call.
52341         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52342         HAVE_CLOCK_GETTIME_VSYSCALL.
52343         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52345         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52346         gettimeofday vsyscall, just use time.
52348 2011-09-06  Andreas Schwab  <schwab@redhat.com>
52350         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52351         <errno.h>.
52353 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52355         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52356         syscall on x86-64.
52357         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52358         syscall.
52359         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52360         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52361         syscall if possible.
52363 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52365         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52366         e_ident.  Don't pass to find_mapsXX.
52367         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52369 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52371         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52372         strchr-sse2-no-bsf strrchr-sse2-no-bsf
52373         * sysdeps/x86_64/multiarch/strchr.S: Update.
52374         Check bit_slow_BSF bit.
52375         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52376         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52377         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52379 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52381         [BZ #13134]
52382         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52383         before glibc 2.15.
52384         (tryshell): Define.
52385         (__spawni): Change last parameter to be flag.  Test
52386         SPAWN_XFLAGS_USE_PATH flag to use path or not.
52387         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52388         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52389         * posix/spawni.c: Likewise.
52390         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52391         * posix/spawnp.c: Likewise.  Change normal version to use
52392         SPAWN_XFLAGS_USE_PATH.
52393         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52394         SPAWN_XFLAGS_TRY_SHELL.
52396         [BZ #13150]
52397         * posix/glob.h: Remove gcc 1.x support.
52399         [BZ #13068]
52400         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52402 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52404         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52405         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52406         strrchr-sse2-bsf
52407         * sysdeps/i386/i686/multiarch/strchr.S: New file.
52408         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52409         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52410         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52411         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52412         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52414 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52416         * sysdeps/x86_64/wcscmp.S: New file.
52418         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52419         wcscmp-c wcscmp-sse2
52420         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52421         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52422         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52423         * wcsmbs/wcscmp.c: Allow renaming.
52425 2011-09-05  David S. Miller  <davem@davemloft.net>
52427         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52428         stack slot, rather than the struct return pointer slot.
52429         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52430         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52432         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52434 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52436         * po/ja.po: Update from translation team.
52438         [BZ #13144]
52439         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52440         kernel in 64-bit binaries.
52442 2011-09-01  David S. Miller  <davem@davemloft.net>
52444         * elf/elf.h (HWCAP_SPARC_*): Move to..
52445         * sysdeps/sparc/sysdep.h: this new file and add new values.
52446         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52447         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52448         _DL_HWCAP_COUNT to 24.
52449         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52450         entries.
52451         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52452         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52453         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52454         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52455         instead of magic constants.
52456         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52458 2011-08-31  David S. Miller  <davem@davemloft.net>
52460         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52461         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52462         Reimplement to do errno handling inline.
52463         (SYSCALL_ERROR_HANDLER): New macro.
52464         (__SYSCALL_STRING): Do not do errno handling in asm.
52465         (__CLONE_SYSCALL_STRING): Delete.
52466         (__INTERNAL_SYSCALL_STRING): Delete.
52467         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52468         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52469         (PSEUDO): Reimplement to do errno handling inline.
52470         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52471         (SYSCALL_ERROR_HANDLER): New macro.
52472         (__SYSCALL_STRING): Do not do errno handling in asm.
52473         (__CLONE_SYSCALL_STRING): Delete.
52474         (__INTERNAL_SYSCALL_STRING): Delete.
52475         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52476         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52477         i386.
52478         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52479         (inline_syscall*): Add 'err' argument.
52480         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52481         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52482         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52483         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52485         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52486         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52488 2011-08-30  Andreas Schwab  <schwab@redhat.com>
52490         * elf/rtld.c (dl_main): Relocate objects in dependency order.
52492 2011-08-29  Jiri Olsa <jolsa@redhat.com>
52494         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52495         directive.
52497 2011-08-24  David S. Miller  <davem@davemloft.net>
52499         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52501 2011-08-24  Andreas Schwab  <schwab@redhat.com>
52503         * elf/Makefile: Add rules to build and run unload8 test.
52504         * elf/unload8.c: New file.
52505         * elf/unload8mod1.c: New file.
52506         * elf/unload8mod1x.c: New file.
52507         * elf/unload8mod2.c: New file.
52508         * elf/unload8mod3.c: New file.
52510         * elf/dl-close.c (_dl_close_worker): Reset private search list if
52511         it wasn't used.
52513 2011-08-23  David S. Miller  <davem@davemloft.net>
52515         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52516         subtract stack bias.
52517         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52518         %sp not %fp in calculations.
52519         (_JMPBUF_UNWINDS_ADJ): Likewise.
52521         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52522         (aio_suspend): Call it to force an exception region around the
52523         AIO_MISC_WAIT() invocation.
52525 2011-08-23  Andreas Schwab  <schwab@redhat.com>
52527         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52528         backslash.
52530 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
52532         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52533         protection macro.
52534         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52535         and <dl-machine.h>.
52536         (Elf64_FuncDesc): Remove.
52538 2011-08-22  David S. Miller  <davem@davemloft.net>
52540         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52541         sigaltstack check, add missing cfi directives.
52542         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52543         missing cfi directives, and sigaltstack handling.
52545 2011-08-16  Andreas Schwab  <schwab@redhat.com>
52547         [BZ #11724]
52548         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52549         object is seen twice.
52550         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52552         * elf/Makefile (distribute): Add tst-initorder2.c.
52553         (tests): Add tst-initorder2.
52554         (modules-names): Add tst-initorder2a tst-initorder2b
52555         tst-initorder2c tst-initorder2d.  Add rules to build them.
52556         ($(objpfx)tst-initorder2.out): New rule.
52557         * elf/tst-initorder2.c: New file.
52558         * elf/tst-initorder2.exp: New file.
52560 2011-08-22  Andreas Schwab  <schwab@redhat.com>
52562         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52564         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52565         dependencies back to end of function.
52567         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52568         $(elfobjdir)/ld.so.
52570 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
52572         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52573         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52574         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52575         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52576         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52577         of __vdso_gettimeofday.
52578         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52579         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
52580         attribute_hidden.
52581         (_libc_vdso_platform_setup): Remove initialization of
52582         __vdso_gettimeofday and __vdso_time.
52584 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52586         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52587         and fgetc_unlocked.
52588         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52589         getc_unlocked.
52591         * elf/dl-open.c (add_to_global): Report additions to the global scope
52592         for LD_DEBUG=scopes.
52593         (dl_open_worker): Also print scope of newly loaded dependencies.
52594         (_dl_show_scope): Indicate if there is no scope.
52596         [BZ #13114]
52597         * stdio-common/Makefile (tests): Add bug24.
52598         * stdio-common/bug24.c: New file.
52600 2011-08-19  Andreas Jaeger  <aj@suse.de>
52602         [BZ #13114]
52603         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52604         non-existant file when using close-on-exec mode.
52606 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52608         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52609         the very first instruction.
52611         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52612         the CFI state in the end.
52613         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52614         inclusion of dl-trampoline.h.
52615         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52617 2011-08-19  Andreas Schwab  <schwab@redhat.com>
52619         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52620         expectations for long double.
52622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52623         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52625 2011-08-14  David S. Miller  <davem@davemloft.net>
52627         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52628         artificual limit depends upon the system page size.
52630 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52632         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52633         * resolv/Makefile: Define CFLAGS-libresolv.
52635 2011-08-17  Andreas Schwab  <schwab@redhat.com>
52637         * nss/makedb.c (compute_tables): Make variables used in nested
52638         function static.
52640 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52642         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52643         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52644         if buffer was too small.
52646         * elf/pldd.c (main): Attach to all threads in the process.
52647         Rewrite /proc handling to use *at functions.
52649 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
52651         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52652         specifies first scope to show.
52653         (dl_open_worker): Update callers.  Move printing scope of new
52654         object to before the relocation.
52655         * elf/rtld.c (dl_main): Update _dl_show_scope call.
52656         * sysdeps/generic/ldsodefs.h: Update declaration.
52658         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52659         string for the scope number.
52661 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
52663         * nscd/servicescache.c (cache_addserv): Make sure written is always
52664         initialized.
52666 2011-08-14  Roland McGrath  <roland@hack.frob.com>
52668         * sysdeps/i386/i486/bits/atomic.h
52669         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52670         statement expression, so as to suppress "set but not used" warning.
52671         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52673         * string/strncat.c (STRNCAT): Use prototype definition.
52675         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52676         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52677         -Iprograms here.
52678         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52679         (localedef-modules): Add localedef.
52680         (locale-modules): Add locale.
52682         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52683         * elf/rtld.c (dl_main): Invert order of assignment in last change,
52684         to avoid a warning.
52686 2011-08-14  David S. Miller  <davem@davemloft.net>
52688         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52689         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52691 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
52693         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52694         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52695         * elf/rtld.c (dl_main): Set l_name of vDSO.
52696         Call _dl_show_scope when DL_DEBUG_SCOPES.
52697         (process_dl_debug): Recognize scopes flag and also set it for all.
52698         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52699         Declare _dl_show_scope.
52701         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52702         (do_dlopen): Pass caller_dlopen to dl_open.
52703         (__libc_dlopen_mode): Initialize caller_dlopen.
52705         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52706         of libc.  Make tolower call locale-independent.  Optimize a bit by
52707         using isdigit instead of isalnum.
52708         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52710 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
52712         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52713         was a dependency or dynamically loaded.
52715 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
52717         * intl/l10nflist.c: Allow architecture-specific pop function.
52718         * sysdeps/x86_64/l10nflist.c: New file.
52720         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52721         classification.
52723 2011-08-10  Andreas Schwab  <schwab@redhat.com>
52725         * include/dirent.h: Add libc_hidden_proto for scandirat and
52726         scandirat64.  Don't declare __scandirat64.
52727         * dirent/scandirat.c: Add libc_hidden_def.
52728         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52729         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52731 2011-08-10  David S. Miller  <davem@davemloft.net>
52733         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52734         enum.
52735         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52736         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52737         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52739 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
52741         * Versions.def [libc]: Add GLIBC_2.15.
52742         * dirent/Makefile (routines): Add scandirat and scandirat64.
52743         * dirent/Versions [libc]: Export scandirat and scandirat64 for
52744         GLIBC_2.15.
52745         * dirent/dirent.h: Declare scandirat and scandirat64.
52746         * dirent/scandirat.c: New file.
52747         * dirent/scandirat64.c: New file.
52748         * sysdeps/wordsize-64/scandirat.c: New file.
52749         * sysdeps/wordsize-64/scandirat64.c: New file.
52750         * dirent/opendir.c: Define opendirat.
52751         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
52752         using scandirat.
52753         * dirent/scandir64.c: Adjust for scandir.c change.
52754         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
52755         __scandirat64, and __scandir_cancel_handler.
52756         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
52757         additional parameter and use openat instead of open (outside of ld.so).
52758         Add new __opendir as wrapper around __opendirat.
52759         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52760         here without requiring old scandirat implementation.
52762 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
52764         * dirent/scandir.c (cancel_handler): Renamed to
52765         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
52766         defined.  Adjust users.
52767         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52768         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52770 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
52772         * string/test-string.h (IMPL): Use __STRING to expand name and then
52773         stringify it.
52775         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
52776         of cleanups.
52778 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52780         * string/Makefile: Update.
52781         (strop-tests): Append strncat.
52782         * string/test-wcscmp.c: New file.
52783         New comprehensive test for wcscmp.
52784         * string/test-strcmp.c: Update.
52785         (WIDE): New define.
52787 2011-07-22  Andreas Schwab  <schwab@redhat.com>
52789         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52790         line.
52792 2011-07-26  Andreas Schwab  <schwab@redhat.com>
52794         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52795         encoding to ACE if AI_IDN.
52797 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
52799         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52800         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52802 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52804         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52805         Fix overflow bug in strncat.
52806         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52808         * string/test-strncat.c: Update.
52809         Add new tests for checking overflow bugs.
52811 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52813         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52814         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52815         * sysdeps/i386/i686/multiarch/strcat.S: New file.
52816         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52817         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52818         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52819         * sysdeps/i386/i686/multiarch/strncat.S: New file.
52820         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52821         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52823         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52824         (USE_AS_STRCAT): Define.
52825         Add strcat and strncat support.
52826         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52828 2011-07-25  Andreas Schwab  <schwab@redhat.com>
52830         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52831         __n bigger than INT_MAX+1.
52832         (__strncmp_g): Likewise.
52834 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
52836         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52837         * libio/stido.h: Likewise.
52839         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52840         (AF_NFC): Define.
52841         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52842         (AF_NFC): Define.
52844         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52845         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52846         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52847         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52848         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52850         [BZ #13021]
52851         * scripts/test-installation.pl: Don't expect libnss_test1 to be
52852         installed.
52854         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52855         typo.
52856         (_dl_x86_64_save_sse): Likewise.
52858 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
52860         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52861         OSXSAVE.
52862         (_dl_x86_64_save_sse): Likewise.
52864         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52866         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52868 2011-07-21  Andreas Schwab  <schwab@redhat.com>
52870         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52871         change.
52872         (_dl_x86_64_save_sse): Use correct AVX check.
52874 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52876         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52877         bug in strncpy/strncat.
52878         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52880 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
52882         * string/tester.c (test_strcat): Add tests for different alignments
52883         of source and destination.
52884         (test_strncat): Likewise.
52886 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52888         [BZ #12852]
52889         * posix/glob.c (glob): Check passed in values before using them in
52890         expressions to avoid some overflows.
52891         (glob_in_dir): Likewise.
52893         [BZ #13007]
52894         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52895         check for AVX enablement so that we don't crash with old kernels and
52896         new hardware.
52897         * elf/tst-audit4.c: Add same checks here.
52898         * elf/tst-audit6.c: Likewise.
52900         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52902 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
52904         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52906 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52908         * po/cs.po: Update from translation team.
52909         * po/bg.po: Likewise.
52911 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
52913         * misc/sys/cdefs.h: Add support for const attribute.
52914         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52915         to gnu_dev_{major,minor,makedev} functions.
52917 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
52919         * intl/dcigettext.c (get_output_charset): Add missing bracket.
52921 2011-07-20  Andreas Schwab  <schwab@redhat.com>
52923         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52924         strlen results.
52926 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52928         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52929         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52930         register in order to avoid conflicts with the soft frame pointer
52931         being held in r11 when necessary.
52932         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52933         (INTERNAL_VSYSCALL_NCS): Likewise.
52935 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
52937         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52938         * elf/dl-fini.c (_dl_fini): Adjust caller.
52939         * elf/dl-close.c (_dl_close_worker): Likewise.
52940         * sysdeps/generic/ldsodefs.h: Adjust declaration.
52942 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52944         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52945         "aux_cache->nlibs < 0".
52947         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52948         in the reload-count case.
52950 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52952         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52953         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52954         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52955         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52956         * sysdeps/x86_64/multiarch/strcat.S: New file.
52957         * sysdeps/x86_64/multiarch/strncat.S: New file.
52958         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52959         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52960         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52961         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52962         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52963         (USE_AS_STRCAT): Define.
52964         Add strcat and strncat support.
52965         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52966         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52967         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52968         * string/strncat.c: Update.
52969         (USE_AS_STRNCAT): Define.
52970         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52971         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52972         and i7.
52973         * sysdeps/x86_64/multiarch/init-arch.h
52974         (bit_Prefer_PMINUB_for_stringop): New.
52975         (index_Prefer_PMINUB_for_stringop): Likewise.
52976         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52977         bit_Prefer_PMINUB_for_stringop.
52979 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52981         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52982         buffer64.
52983         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52984         of casting of buffer.
52985         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52986         buffer32 and buffer64.
52987         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52988         writes instead of casting of buffer.
52989         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52990         buffer32.
52991         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52992         casting of buffer.
52994 2011-07-19  Andreas Schwab  <schwab@redhat.com>
52996         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52998 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53000         * nscd/nscd.c (termination_handler): Don't do anything for a database
53001         if it has not yet been initialized.
53003 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53005         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53007 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53009         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53011 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53013         * po/nl.po: Update from translation team.
53014         * po/sv.po: Likewise.
53016 2011-07-16  Roland McGrath  <roland@hack.frob.com>
53018         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53019         now disallowed by GCC.
53021         * configure.in (use-default-link): Default to yes if a test -shared
53022         link meets our qualifications.
53023         * configure: Regenerated.
53025         * config.make.in (output-format): New variable.
53026         * configure.in: Check for ld --print-output-format support.
53027         * configure: Regenerated.
53028         * Makerules ($(common-objpfx)format.lds)
53029         [$(output-format) != unknown]: Just use $(output-format),
53030         instead of the linker-script munging.
53032 2011-07-14  Roland McGrath  <roland@hack.frob.com>
53034         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53035         of $(common-objpfx)shlib.lds.
53036         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53038         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53039         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53041         * configure.in (-z relro check): Adjust test code to add a large
53042         writable data section after it.
53043         * configure: Regenerated.
53045 2011-07-11  Roland McGrath  <roland@hack.frob.com>
53047         * configure.in (-z relro check): Fix test code to make the variable
53048         truly const.
53049         * configure: Regenerated.
53051 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
53053         * nscd/nscd.h (struct traced_file): Define.
53054         (struct database_dyn): Remove inotify_descr, reset_res, and filename
53055         elements.  Add traced_files.
53056         (inotify_fd): Declare.
53057         (register_traced_file): Declare.
53058         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53059         (inotify_fd): Export.
53060         (resolv_conf_descr): Remove.
53061         (nscd_init): Move inotify descriptor creation to main.
53062         Don't register files for notification here.
53063         (register_traced_file): New function.
53064         (invalidate_cache): Don't use reset_res to determine whether to call
53065         res_init, go through the list of registered files.
53066         (main_loop_poll): The inotify descriptors are now stored in the
53067         structures for the traced files.
53068         (main_loop_epoll): Likewise
53069         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
53070         to __nss_disable_nscd.
53071         * nscd/cache.c (prune_cache): There is no single inotify descriptor
53072         for a database anymore.  Check the records for all the registered
53073         files instead.
53074         * nss/Makefile (libnss_files-routines): Add files-init.
53075         (libnss_db-routines): Add db-init.
53076         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53077         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53078         * nss/nss_db/db-init.c: New file.
53079         * nss/nss_files/files-init.c: New file.
53080         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
53081         __nss_lookup_function.
53082         (__nss_lookup_function): Call nss_load_library.
53083         (nss_load_all_libraries): New function.
53084         (__nss_disable_nscd): Take parameter with callback function for files
53085         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
53086         used for the cached services.
53087         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53088         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53089         options for features to all the files in nscd.
53091         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53093 2011-07-10  Roland McGrath  <roland@hack.frob.com>
53095         * csu/elf-init.c (__libc_csu_init): Comment typo.
53097 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
53099         * po/pl.po: Update from translation team.
53100         * po/ja.po: Likewise.
53101         * po/ru.po: Likewise.
53102         * po/ko.po: Likewise.
53103         * po/fr.po: Likewise.
53105 2011-07-09  Roland McGrath  <roland@hack.frob.com>
53107         * configure.in (.ctors/.dtors header and trailer check):
53108         Use an empirical test on a built program.
53109         * configure: Regenerated.
53111         * configure.in (-z relro check): Use an empirical test on a built DSO.
53112         Detect, but do not require, on ia64.
53113         * configure: Regenerated.
53115         * configure.in (READELF): Find it with AC_CHECK_TOOL.
53116         Update tests that use readelf to use $READELF instead.
53117         * configure: Regenerated.
53119 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
53121         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53122         if the result is not used.
53124 2011-07-05  Andreas Jaeger  <aj@suse.de>
53126         [BZ#9696]
53127         * stdlib/tst-strtod.c: Add testcase.
53129 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
53131         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53132         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53133         The latter has a higher limit.  Take additional parameter to pass to
53134         the new function.
53135         (__pathconf): Pass file to __statfs_link_max.
53136         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53137         __statfs_link_max.
53138         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53139         __statfs_link_max.
53141         [BZ #12868]
53142         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53143         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53144         Handle Lustre.
53145         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53146         (__statfs_filesize_max): Likewise.
53147         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53149 2011-07-05  Andreas Jaeger  <aj@suse.de>
53151         * resolv/res_comp.c (dn_skipname): Remove unused variable.
53153 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
53155         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53156         `status' variable.
53157         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53158         Likewise.
53160 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
53162         * Makefile (strop-tests): Add strncat.
53163         * string/test-strncat.c: New file.
53165 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
53167         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53169 2011-06-21  Andreas Jaeger  <aj@suse.de>
53171         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53172         Copy rule from iconvdata/Makefile.
53174 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53176         [BZ #12922]
53177         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53178         but no long options are defined, just return 'W'.
53180 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
53182         [BZ #9696]
53183         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53185 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53187         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53188         netgroups to read.
53189         (innetgr): Likewise.
53191 2011-07-05  Roland McGrath  <roland@hack.frob.com>
53193         * config.make.in (install_root): Default to $(DESTDIR).
53195 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
53197         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53199 2011-07-02  Roland McGrath  <roland@hack.frob.com>
53201         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53203         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53204         containing directory rather than embedding absolute directory names.
53206         * scripts/check-local-headers.sh: Rewritten using awk.
53207         Match by word, not by line.  Print error messages for matches.
53208         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53210         * Makerules [shlib-lds-flags empty]:
53211         ($(common-objpfx)libc_pic.opts): New target.
53212         ($(common-objpfx)libc_pic.os.clean): New target.
53213         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53215         * config.make.in (OBJCOPY): New variable.
53216         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53217         * configure: Regenerated.
53219         * config.make.in (use-default-link): New variable.
53220         * configure.in (use_default_link): Grok --with-default-link to set it.
53221         * configure: Regenerated.
53222         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53223         (shlib-lds, shlib-lds-flags): Define to empty.
53225         * Makerules (shlib-lds): New variable.
53226         (shlib-lds-flags): New variable.
53227         (build-shlib, build-moduile, build-module-asneeded): Use it.
53228         ($(common-objpfx)libc.so): Use $(shlib-lds).
53229         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53230         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53232         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53233         DT_FLAGS/DT_FLAGS_1 with zero flags.
53235         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53236         linker script munging.
53238 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
53240         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53241         as 128-bit value.
53242         * crypt/sha512.c (sha512_process_block): Perform total addition using
53243         128-bit if possible.
53244         (__sha512_finish_ctx): Likewise.
53245         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53246         as 64-bit value.
53247         * crypt/sha256.c (SWAP64): Define.
53248         (sha256_process_block): Perform total addition using 64-bit if
53249         possible.
53250         (__sha256_finish_ctx): Likewise.
53252 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
53254         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
53255         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53256         * nscd/hstcache.c (cache_addhst): Likewise.
53257         * nscd/grpcache.c (cache_addgr): Likewise.
53258         * nscd/aicache.c (addhstaiX): Likewise
53259         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53261 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
53263         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53264         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53265         * nscd/hstcache.c (cache_addhst): Likewise.
53266         * nscd/grpcache.c (cache_addgr): Likewise.
53267         * nscd/aicache.c (addhstaiX): Likewise
53269 2011-07-01  Andreas Schwab  <schwab@redhat.com>
53271         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53272         domain only when needed.
53274 2011-06-30  Andreas Schwab  <schwab@redhat.com>
53276         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53277         is always restored.
53279 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
53281         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53282         are re-adding the entry.
53283         * nscd/servicescache.c (cache_addserv): Likewise.
53285 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
53287         * sysdeps/generic/dl-irel.h: fix protection against multiple
53288         inclusions.
53289         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53291 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
53293         [BZ #12935]
53294         * malloc/memusage.sh: Fix quoting in message.
53295         * debug/xtrace.sh: Likewise.
53297         * configure.in: Remove support for --experimental-malloc option, make
53298         it the default.
53299         * config.make.in: Likewise.
53300         * malloc/Makefile: Likewise.
53302 2011-06-27  Andreas Schwab  <schwab@redhat.com>
53304         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53305         two-byte characters.
53307 2011-06-27  Roland McGrath  <roland@hack.frob.com>
53309         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53310         AC_CACHE_CHECK invocation.
53311         * configure: Regenerated.
53313         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53315 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
53317         [BZ #12350]
53318         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
53319         bit from old_res_options.
53321         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53323         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53324         value type for setfct.
53326 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
53328         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53329         __gettimeofday instead of gettimeofday.
53331 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
53333         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53335 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
53337         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53339         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53340         info.
53342 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53345         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53346         strcpy-sse2-unaligned strncpy-sse2-unaligned
53347         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53348         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53349         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53350         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53351         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53352         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53353         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53354         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53355         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53356         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53357         (STRCPY): Support SSE2 and SSSE3 versions.
53359 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
53361         [BZ #12874]
53362         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53363         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53364         kernels which artificially limit size of requests.
53366 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53368         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53369         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53370         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53371         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53372         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53373         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53374         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53375         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53376         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53377         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53378         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53379         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53380         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53381         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53382         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53384         Enable unaligned load optimization for Intel Core i3, i5 and i7
53385         processors.
53386         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53387         Define.
53388         (index_Fast_Unaligned_Load): Define.
53389         (HAS_FAST_UNALIGNED_LOAD): Define.
53391 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
53393         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53395 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53397         [BZ #12907]
53398         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53399         until it is clear that the information is realy needed.
53400         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53402 2011-06-22  Andreas Schwab  <schwab@redhat.com>
53404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53406 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53408         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53409         /sys/devices/system/cpu/online if it is usable.
53411         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53412         reading the information from the /proc filesystem to once a second.
53414 2011-06-21  Andreas Jaeger  <aj@suse.de>
53416         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53417         NULL after inclusion of kernel headers.
53419 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
53421         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53422         calls to internal_setent.
53424         [BZ #12885]
53425         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53426         addresses using gethostbyname4_r ignore IPv4 addresses.
53428         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53429         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
53431         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53433 2011-06-20  David S. Miller  <davem@davemloft.net>
53435         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53436         inclusions.
53437         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53439         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53440         (elf_irel): Use it.
53441         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53442         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53443         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53444         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53445         * sysdeps/x86_64/dl-irel.h: Likewise.
53447         * elf/dl-runtime.c: Use elf_ifunc_invoke.
53448         * elf/dl-sym.c: Likewise.
53450 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53452         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
53453         need to dereference resplen2.
53455 2011-06-14  Andreas Schwab  <schwab@redhat.com>
53457         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53459 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53461         * Makeconfig: Define vardbdir and inst_vardbdir.
53462         * nss/Makefile: Add rules to install db-Makefile.
53464         * nss/nss_db/db-XXX.c: Cleanup.
53466         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53467         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53468         GLIBC_PRIVATE.
53469         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53470         * nss/makedb.c: Implement -g option to specify that value strings
53471         are generated and should not be added to table iterated over for
53472         get*ent calls.
53473         * nss/nss_db/db-initgroups.c: New file.
53475         * nss/getent.c: Add support for initgroups lookups through getgrouplist
53476         interface.
53478         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53479         (internal_getgrouplist): Adjust to name change.
53480         Update use_initgroups_entry if this is not the first call.
53481         * nss/databases.def: Add initgroups entry.
53483         * nss/makedb.c (compute_tables): Check result of multiple hash table
53484         sizes to minimize maximum chain length.
53486 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
53488         * Versions.def: Add entry for libnss_db.
53489         * shlib-versions: Likewise.
53490         * nss/Makefile: Add rules to build libnss_db.
53491         * nss/Versions: Add libnss_db information.  Organize libnss_files
53492         entries better.
53493         * nss/db-Makefile: Add gshadow support.  Change rules for the new
53494         makedb progra.  Some minor improvements to generate smaller files.
53495         * nss/nss_db/nss_db.h: Move NSS database header data structures to
53496         here from...
53497         * nss/makedb.c: ...here.
53498         Improve database format to be smaller and require less memory at
53499         runtime.
53500         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
53501         db anymore.
53502         * nss/nss_db/db-netgrp.c: Likewise.
53503         * nss/nss_db/db-open.c: Likewise.
53504         * nss/nss_files/flies-XXX.x: Adjust comments.
53505         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53506         * nss/nss_files/files-grp.c: Likewise.
53507         * nss/nss_files/files-hosts.c: Likewise.
53508         * nss/nss_files/files-network.c: Likewise.
53509         * nss/nss_files/files-proto.c: Likewise.
53510         * nss/nss_files/files-pwd.c: Likewise.
53511         * nss/nss_files/files-rpc.c: Likewise.
53512         * nss/nss_files/files-service.c: Likewise.
53513         * nss/nss_files/files-sgrp.c: Likewise.
53514         * nss/nss_files/files-spwd.c: Likewise.
53515         * nss/nss_db/db-alias.c: Removed.
53516         * nss/nss_db/dummy-db.h: Removed.
53518 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
53520         * nss/makedb.c: Rewritten to not use database library.
53521         * nss/Makefile: Update to build new makedb program.
53523 2011-06-14  Andreas Jaeger  <aj@suse.de>
53525         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53526         memset declaration.
53528 2011-06-10  Andreas Schwab  <schwab@redhat.com>
53530         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53531         tmpbuf.
53533 2011-06-10  Roland McGrath  <roland@hack.frob.com>
53535         * Makerules (shlib.lds): Fail if the linker script comes out empty.
53536         * elf/Makefile ($(objpfx)ld.so): Likewise.
53538         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53539         Don't list ld.so twice in dependencies.
53541         * posix/bug-regex31.c: Include <stdlib.h>.
53543         * nscd/hstcache.c (cache_addhst): Remove unused variable.
53545         * nis/nss_compat/compat-spwd.c
53546         (getspent_next_nss_netgr): Remove unused variable.
53547         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53549         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53550         nonmembers" output to use the right array.
53552         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53554         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53556         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53557         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53558         * catgets/gencat.c (read_input_file): Likewise.
53559         * locale/programs/locarchive.c (enlarge_archive): Likewise.
53561         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53562         variable definition inside #if's controlling its use.
53564         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53566         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53568         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53570         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53571         unreachable code.
53573         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53575         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53576         * configure: Regenerated.
53578         * Makerules: Revert last change.
53579         * elf/Makefile: Likewise.
53581 2011-06-09  Roland McGrath  <roland@hack.frob.com>
53583         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53584         * elf/Makefile ($(objpfx)librtld.os): Likewise.
53585         (reloc-link): Likewise.
53587 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
53589         * elf/Makefile: Add rules to build pldd.
53590         * elf/pldd.c: New file.
53591         * elf/pldd-xx.c: New file.
53593 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
53595         * version.h: Update for 2.15 development version.
53597 2011-06-07  David S. Miller  <davem@davemloft.net>
53599         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53600         ifuncs.
53601         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53602         elf_machine_lazy_rel): Likewise.
53603         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53604         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53605         elf_machine_lazy_rel): Likewise.
53606         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53607         dl_hwcap via passed in argument.
53608         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53609         Likewise.
53611 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53613         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
53615 2011-06-06  Roland McGrath  <roland@hack.frob.com>
53617         [BZ #12849]
53618         * manual/fdl-1.1.texi: New file, verbatim from:
53619         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53620         * manual/lgpl-2.1.texi: New file, verbatim from:
53621         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53622         * manual/Makefile (licenses): New variable, list those new file names.
53623         (texis): Use it.
53624         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53626         * manual/fdl.texi: File removed.
53627         * manual/lesser.texi: File removed.
53628         * manual/libc.texinfo (Copying, Documentation License):
53629         Use new @include file names, put @appendix directive before @include.
53631 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
53633         [BZ #12841]
53634         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53635         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53636         (mq_open): Add __NTH.
53638 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
53640         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53641         Assume Intel Core i3/i5/i7 processor if AVX is available.
53643 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53645         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53646         typo.
53648 2011-05-31  Andreas Schwab  <schwab@redhat.com>
53650         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53651         memory.  Use alloca_account.  Fix memory leak when retrying.
53653 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53655         * version.h (RELEASE): Bump for 2.14 release.
53656         * include/features.h (__GLIBC_MINOR__): Bump to 14.
53658         * config.make.in (RANLIB): Remove entry.
53660 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
53662         * po/Makefile (po-sed-cmd): Add ksh to extensions.
53663         (libc.pot): Work around missing support for .ksh extension in xgettext.
53665         [BZ #12684]
53666         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53667         if both request failed.
53668         (send_dg): In case of server errors clear resplen or *resplen2.
53670         [BZ #12454]
53671         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53672         when there are multiple maps.
53673         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53674         (_dl_fini): Remove test here.
53676         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53678 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
53680         [BZ #12350]
53681         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53682         bit from old_res_options.
53683         (gaih_inet): Likewise.
53685         [BZ #11099]
53686         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53687         as signed.
53689         * resolv/res_init.c (res_setoptions): Make the code more compact.
53691         [BZ #11558]
53692         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53693         set RES_USEVC.
53695         [BZ #11634]
53696         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53698         * malloc/malloc.h: Mark malloc hook variables as deprecated.
53700         [BZ #11781]
53701         * malloc/malloc.h: Declare malloc hook variables as volatile.
53703         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53704         in last patch.
53706         [BZ #11799]
53707         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53708         raise in the comment.
53709         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53710         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53711         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53713 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
53715         [BZ #12811]
53716         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53717         grow the buffers more if it already has to be sufficient.
53718         (build_wcs_upper_buffer): Likewise.
53719         * posix/regexec.c (check_matching): Likewise.
53720         (clean_state_log_if_needed): Likewise.
53721         (extend_buffers): Don't enlarge buffers beyond size of the input
53722         buffer.
53723         Patches mostly by Emil Wojak <emil@wojak.eu>.
53724         * posix/bug-regex32.c: New file.
53725         * posix/Makefile (tests): Add bug-regex32.
53727         * locale/findlocale.c (_nl_find_locale): Return right away if
53728         _nl_explode_name failed.
53729         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53731         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53733         * debug/xtrace.sh: Unify messages.
53734         * malloc/memusage.sh: Likewise.
53736         [BZ #12813]
53737         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53738         time symbol from vDSO.  Substitute with vsyscall if not available.
53739         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53740         __vdso_time.
53742         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53743         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53744         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53745         Add sendmmsg and internal_sendmmsg.
53746         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53747         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53748         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53750         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53751         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53752         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53754 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
53756         [BZ #12813]
53757         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53758         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
53759         available.
53760         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53761         __vdso_getcpu.
53763         [BZ #12814]
53764         * iconvdata/Makefile (tests): Add bug-iconv9.
53765         * iconvdata/bug-iconv9.c: New file.
53767 2011-05-27  Andreas Schwab  <schwab@redhat.com>
53769         [BZ #12814]
53770         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53772 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
53774         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53775         (struct user_regs_struct): Change intcs field back to cs.
53777 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
53779         * po/ja.po: Update from translation team.
53781 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
53783         [BZ #12795]
53784         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53785         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53787 2011-05-20  Andreas Schwab  <schwab@redhat.com>
53789         * stdlib/longlong.h: Update from GCC.
53791 2011-05-23  Andreas Schwab  <schwab@redhat.com>
53793         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53794         parameter name.
53795         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53796         Add parameter name.
53797         (__sysconf): Pass it down.
53799 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
53801         [BZ #12671]
53802         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53803         some situations.
53804         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53805         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53806         add in in __libc_use_alloca calls.  Adjust callers.
53807         (glob): Use malloc in some situations.
53809         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53810         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53811         pltexit.
53813 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
53815         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53816         and CLOCK_BOOTTIME_ALARM.
53818         [BZ #12782]
53819         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53820         is returned.
53822         * string/_strerror.c (__strerror_r): Print negative errors as signed
53823         numbers.
53825         [BZ #12777]
53826         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53827         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53828         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53830         * configure.in: Fix typo in redirection and correct removal of test
53831         files in two cases.
53833         [BZ #12788]
53834         * locale/setlocale.c (new_composite_name): Fix test to check for
53835         identical name of all categories.
53837         [BZ #12792]
53838         * libio/filedoalloc.c (local_isatty): New function.
53839         (_IO_file_doallocate): Use local_isatty.
53840         * stdio-common/perror.c (perror): In case a new stream is used
53841         forward the stream error.
53842         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53843         error flag.
53845 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
53847         [BZ #11869]
53848         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53849         alloca.
53850         * include/alloca.h (extend_alloca_account): Define.
53852         [BZ #11857]
53853         * posix/regex.h: Fix comments with documentation of user-accessible
53854         fields after compilation and describe correct free'ing of pattern
53855         after re_compile_pattern.
53856         Patch by Reuben Thomas <rrt@sc3d.org>.
53858 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
53860         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53861         and -mno-altivec to prevent the compiler from using Altivec and/or
53862         VSX instructions when the corresponding registers are not available.
53864 2011-05-19  Andreas Schwab  <schwab@redhat.com>
53866         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53868 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
53870         * libio/freopen.c (freopen): Use __dup2, not dup2.
53871         * libio/freopen64.c (freopen64): Likewise.
53873 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53875         [BZ #12775]
53876         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53877         * math/Makefile (tests): Add test-powl.
53878         (CFLAGS-test-powl.c): Define.
53879         * math/test-powl.c: New file.
53881 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53883         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53885 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
53887         [BZ #11837]
53888         * iconvdata/gb18030.c: Update to GB18020-2005.
53890 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
53892         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53893         RE_SYNTAX_POSIX_AWK): Update to match recent development.
53894         Patch by Aharon Robbins <arnold@skeeve.com>.
53896         [BZ #11892]
53897         * stdlib/putenv.c (putenv): Don't always create copy of the variable
53898         on the stack.
53900         [BZ #11895]
53901         * misc/pselect.c (__pselect): Handle timeout value errors hidden
53902         through underflows.
53904         [BZ #12766]
53905         * misc/error.c (error_at_line): Ensure file_name and old_file_name
53906         point to strings before performing equality test for error_one_per_line
53907         mode.
53909         [BZ #11697]
53910         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53912         [BZ #11820]
53913         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53914         (struct user_fpregs_struct): Avoid __uint*_t types.
53916         [BZ #6420]
53917         * malloc/mtrace.c (tr_where): Add additional parameter to point to
53918         symbol info.  Use it instead of calling _dl_addr locally.
53919         (lock_and_info): New function.
53920         (tr_freehook): Call lock_and_info and pass symbol info as additional
53921         parameter to tr_where.
53922         (tr_mallochook): Likewise.
53923         (tr_reallochook): Likewise.
53924         (tr_memalignhook): Likewise.
53926         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
53927         used and couldn't be at all thread-safe.
53929 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
53931         * libio/freopen.c (freopen): Don't close old file descriptor
53932         before the new one is opened.  Instead dup the new file descriptor
53933         to the old one after the new stream is created.
53934         * libio/freopen64.c (freopen64): Likewise.
53935         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53936         * libio/fileops.c (_IO_new_file_close_it): Handle new
53937         _IO_FLAGS2_NOCLOSE flag.
53938         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53939         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53940         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53941         _IO_FLAGS2_NOCLOSE flag.
53942         * include/unistd.h: Add hidden_proto for dup3.
53943         Define __have_dup3.
53944         * io/dup3.c: Define hidden symbol.
53945         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53947         [BZ #7101]
53948         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53949         when an incomplete long option is used.
53950         * posix/tst-getopt_long1.c: New file.
53951         * posix/Makefile (tests): Add tst-getopt_long1.
53953         [BZ #10138]
53954         * scripts/config.guess: Update from autoconf-2.68.
53955         * scripts/config.sub: Likewise.
53957         [BZ #10157]
53958         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53959         tests into ...
53960         (has_cpuclock): ...this.  New function.
53961         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53962         macro here based on has_cpuclock code.
53964         [BZ #10149]
53965         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53966         First byte (not low byte) is now always NUL.
53967         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53969         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53970         Use non-cancelable interfaces.
53972         [BZ #9809]
53973         * locale/iso-639.def: Add entry for Sorani.
53975         [BZ #11901]
53976         * include/stdlib.h: Move include protection to the right place.
53977         Define abort_msg_s.  Declare __abort_msg with it.
53978         * stdlib/abort.c (__abort_msg): Adjust type.
53979         * assert/assert.c (__assert_fail_base): New function.  Majority
53980         of code from __assert_fail.  Allocate memory for __abort_msg with
53981         mmap.
53982         (__assert_fail): Now call __assert_fail_base.
53983         * assert/assert-perr.c: Remove bulk of implementation.  Use
53984         __assert_fail_base.
53985         * include/assert.hL Declare __assert_fail_base.
53986         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53987         mmap.
53988         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53990 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
53992         [BZ #11952]
53993         [BZ #12453]
53994         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53995         until all modules are registered in the DTV.
53996         * elf/Makefile: Add rules to build and run tst-tls19.
53997         * elf/tst-tls19.c: New file.
53998         * elf/tst-tls19mod1.c: New file.
53999         * elf/tst-tls19mod2.c: New file.
54000         * elf/tst-tls19mod3.c: New file.
54001         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54003         [BZ #12083]
54004         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54005         correctly.
54007         [BZ #12601]
54008         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54009         two-byte sequence errors.
54010         * iconvdata/Makefile (tests): Add bug-iconv8.
54011         * iconvdata/bug-iconv8.c: New file.
54013         [BZ #12626]
54014         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54015         buf2 definition.
54017         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54019         [BZ #12432]
54020         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54021         (dummy_getcfa): New function.
54022         (init): Get _Unwind_GetCFA address, use dummy if not found.
54023         (backtrace_helper): In recursion check, also check whether CFA changes.
54024         (__backtrace): Completely initialize arg.
54026         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54027         storing incomplete byte sequence in state object.  Avoid testing for
54028         guaranteed too small input if we know there is enough data available.
54030 2011-05-11  Andreas Schwab  <schwab@redhat.com>
54032         * Makeconfig (+link-pie): Indent.
54033         * Rules (binaries-pie): Define if $(have-fpie) and
54034         $(build-shared).
54035         (binaries-shared): Also filter out $(binaries-pie).
54036         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54037         * nscd/Makefile (others-pie): Add nscd.
54038         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54039         ($(objpfx)nscd): Remove command override.
54040         * login/Makefile (others-pie): Add pt_chown.
54041         ($(objpfx)pt_chown): Remove command override.
54042         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54043         remove command overrides.
54045 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
54047         * libio/tst_putwc.c: Fix error messages.
54049         [BZ #12724]
54050         * libio/fileops.c (_IO_new_file_close_it): Always flush when
54051         currently writing and seek to current position when not.
54052         * libio/Makefile (tests): Add bug-fclose1.
54053         * libio/bug-fclose1.c: New file.
54055 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
54057         [BZ #12511]
54058         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54059         don't set DF_1_NODELETE here.
54060         (do_lookup_x): When entering new entry test for copy relocation
54061         and if necessary set DF_1_NODELETE flag.
54062         * elf/tst-unique4.cc: New file.
54063         * elf/tst-unique4.h: New file.
54064         * elf/tst-unique4lib.cc: New file.
54065         * elf/Makefile: Add rules to build and run tst-unique4.
54066         Patch by Piotr Bury <pbury@goahead.com>.
54068 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
54070         [BZ #12052]
54071         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54073         [BZ #12625]
54074         * misc/mntent_r.c (addmntent): Flush the stream after the output
54076         [BZ #12393]
54077         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54078         (is_trusted_path_normalize): Skip initial colon.  Append slash
54079         to empty buffer.  Duplicate is_trusted_path code but allow
54080         constructed patch to be prefix.
54081         (is_dst): Allow $ORIGIN followed by /.
54082         (_dl_dst_substitute): Correct clearing of check_for_trusted.
54083         Correct testing of result of is_trusted_path_normalize
54084         (decompose_rpath): Fix warning.
54086 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
54088         [BZ #11257]
54089         * grp/initgroups.c (internal_getgrouplist): When we found the service
54090         list through the initgroups entry in nsswitch.conf do not always
54091         continue on a successful lookup.  Don't always use the
54092         __nss_group_database value if it is set.
54093         * nss/nsswitch.conf (initgroups): Change action for successful db
54094         lookup to continue for compatibility.
54096 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
54098         [BZ #11532]
54099         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54100         and CP774 modules.
54101         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54102         and CP774 modules.
54103         * iconvdata/tst-tables.sh: Likewise.
54104         * iconvdata/cp770.c: New file.
54105         * iconvdata/cp771.c: New file.
54106         * iconvdata/cp772.c: New file.
54107         * iconvdata/cp773.c: New file.
54108         * iconvdata/cp774.c: New file.
54109         * iconvdata/testdata/CP770: New file.
54110         * iconvdata/testdata/CP770..UTF8: New file.
54111         * iconvdata/testdata/CP771: New file.
54112         * iconvdata/testdata/CP771..UTF8: New file.
54113         * iconvdata/testdata/CP772: New file.
54114         * iconvdata/testdata/CP772..UTF8: New file.
54115         * iconvdata/testdata/CP773: New file.
54116         * iconvdata/testdata/CP773..UTF8: New file.
54117         * iconvdata/testdata/CP774: New file.
54118         * iconvdata/testdata/CP774..UTF8: New file.
54120         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54121         END CHARMAP line.
54122         * iconvdata/gen-8bit-gap.sh: Likewise.
54123         * iconvdata/gen-8bit.sh: Likewise.
54125         * locale/iso-639.def: Add ary entry.
54127         [BZ #11258]
54128         * locale/C-translit.h.in: Add U20A1 transliteration.
54130         [BZ #12178]
54131         * locale/iso-639.def: Add wae entry.
54132         Patch by Kevin Bortis <bortis@translate-wae.ch>.
54134         [BZ #12545]
54135         * locale/programs/localedef.c (construct_output_path): Use ssize_t
54136         for n.
54138         [BZ #12711]
54139         * locale/C-translit.h.in: Add entry for U20B9.
54140         Patch by pravin.d.s@gmail.com.
54142 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
54144         [BZ #12713]
54145         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54146         ENAMETOOLONG use generic getcwd.
54147         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
54148         in rtld.  Use *stat64.
54149         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54150         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54151         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54152         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54153         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54154         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54155         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54156         __fstatat64 macros.
54157         * include/dirent.h: Add libc_hidden_proto for rewinddir.
54158         * dirent/rewinddir.c: Add libc_hidden_def.
54159         * sysdeps/mach/hurd/rewinddir.c: Likewise.
54160         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
54162         * include/dirent.h (__alloc_dir): Add flags parameter.
54163         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54164         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54165         __alloc_dir.
54166         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
54167         from fdopendir if O_CLOEXEC is already set.
54169 2011-03-15  Alan Modra  <amodra@gmail.com>
54171         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54172         l_tls_firstbyte_offset non-zero.  Save padding offset in
54173         l_tls_firstbyte_offset for later use.
54174         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54175         freeing static tls block.
54177 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
54179         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54180         where #ifdef was intended.  The intent is to prevent ARG_MAX from
54181         being defined by the kernel headers.
54183 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
54185         [BZ #12734]
54186         * resolv/resolv.h: Define RES_NOTLDQUERY.
54187         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54188         no-tld-query and set RES_NOTLDQUERY.
54189         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54190         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54191         modern BIND to search name as TLD unless forbidden.
54193 2011-05-07  Petr Baudis  <pasky@suse.cz>
54194             Ulrich Drepper  <drepper@gmail.com>
54196         [BZ #12393]
54197         * elf/dl-load.c (fillin_rpath): Move trusted path check...
54198         (is_trusted_path): ...to here.
54199         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54200         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54201         using is_trusted_path_normalize() in setuid scripts.
54203 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54205         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54206         __BEGIN/__END_DECLS.
54208 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
54210         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54211         NSS_STATUS_NOTFOUND if no record was found.
54213 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54215         * sunrpc/Makefile (headers): Add rpc/netdb.h.
54216         (headers-not-in-tirpc): Remove rpc/netdb.h
54217         * resolv/netdb.h: Revert last change.
54219 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54221         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54222         circular dependency between libgcc.a and libc.a.
54224 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54226         * resolv/netdb.h: Don't include <rpc/netdb.h>.
54227         * nis/Makefile: Don't install rpcsvc/*.
54228         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54229         instead of <rpc/types.h>.
54230         (MAXHOSTNAMELEN): Define.
54232 2011-05-03  Andreas Schwab  <schwab@redhat.com>
54234         * elf/ldconfig.c (add_dir): Don't crash on empty path.
54236 2011-04-28  Maciej Babinski  <mbabinski@google.com>
54238         [BZ #12714]
54239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54240         gethostbyname4_r when IPv6 results are possible.
54242 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
54244         [BZ #12723]
54245         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54246         _PC_PIPE_BUF handling.
54248 2011-04-30  Bruno Haible  <bruno@clisp.org>
54250         [BZ #12717]
54251         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54252         * resolv/netdb.h (getnameinfo): Change type of flags parameter
54253         to 'int'.
54254         * inet/getnameinfo.c (getnameinfo): Likewise.
54256 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
54258         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54259         to groups setting in database lookup.
54260         * nss/nsswitch.conf: Add initgroups entry.
54262 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
54264         [BZ #12685]
54265         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54266         mode string.
54267         Patch by Eric Blake <eblake@redhat.com>.
54269 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
54271         * sunrpc/Makefile (need-export-routines): Add svc_run.
54272         (routines): Remove svc_run.
54273         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54274         * sunrpc/clnt_perr.c (clnt_perrno): Export.
54275         * sunrpc/svc_run.c (svc_run): Likewise.
54276         * sunrpc/svc_udp.c (svcudp_create): Likewise.
54278 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
54280         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54281         problem in reallocation in last patch.
54283 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
54285         * sunrpc/Makefile: Move inclusion of Rules.
54287 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54289         * nss/nss_files/files-initgroups.c: New file.
54290         * nss/Makefile (libnss_files-routines): Add files-initgroups.
54291         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54292         _nss_files_initgroups_dyn.
54294 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
54296         * elf/elf.h (R_ARM_IRELATIVE): Define.
54298 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54300         * po/ru.po: Update from translation team.
54302 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54304         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54305         dependencies.
54307 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
54309         [BZ #12653]
54310         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54311         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54312         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54313         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54314         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54316 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
54318         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54319         differing bytes.
54320         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54321         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54322         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54324 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54326         [BZ #12420]
54327         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54328         storing it.
54329         * stdlib/bug-getcontext.c: New file.
54330         * stdlib/Makefile: Add rules to build and run bug-getcontext.
54332 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54334         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54335         instructions into .machine "z9-109".
54336         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54337         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54339 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54341         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54342         between environment variables and auxiliary vector.
54344 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
54346         * Makefile: Add rules to build linkobj/libc.so.
54347         * include/libc-symbols.h: Define libc_hidden_nolink.
54348         * include/rpc/auth.h: Mark functions which are to be hidden.
54349         * include/rpc/auth_des.h: Likewise.
54350         * include/rpc/auth_unix.h: Likewise.
54351         * include/rpc/clnt.h: Likewise.
54352         * include/rpc/des_crypt.h: Likewise.
54353         * include/rpc/key_prot.h: Likewise.
54354         * include/rpc/pmap_clnt.h: Likewise.
54355         * include/rpc/pmap_prot.h: Likewise.
54356         * include/rpc/pmap_rmt.h: Likewise.
54357         * include/rpc/rpc_msg.h: Likewise.
54358         * include/rpc/svc.h: Likewise.
54359         * include/rpc/svc_auth.h: Likewise.
54360         * include/rpc/xdr.h: Likewise.
54361         * nis/Makefile: Link all DSOs against linkobj/libc.so.
54362         * nss/Makefile: Likewise.
54363         * sunrpc/Makefile: Don't install headers.  Build library with normal
54364         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
54365         * sunrpc/auth_des.c: Hide exported symbols by default, export some
54366         for the compat linking library.  Remove use of INTDEF/INTUSE.
54367         * sunrpc/auth_none.c: Likewise.
54368         * sunrpc/auth_unix.c: Likewise.
54369         * sunrpc/authdes_prot.c: Likewise.
54370         * sunrpc/authuxprot.c: Likewise.
54371         * sunrpc/clnt_gen.c: Likewise.
54372         * sunrpc/clnt_perr.c: Likewise.
54373         * sunrpc/clnt_raw.c: Likewise.
54374         * sunrpc/clnt_simp.c: Likewise.
54375         * sunrpc/clnt_tcp.c: Likewise.
54376         * sunrpc/clnt_udp.c: Likewise.
54377         * sunrpc/clnt_unix.c: Likewise.
54378         * sunrpc/des_crypt.c: Likewise.
54379         * sunrpc/des_soft.c: Likewise.
54380         * sunrpc/get_myaddr.c: Likewise.
54381         * sunrpc/key_call.c: Likewise.
54382         * sunrpc/key_prot.c: Likewise.
54383         * sunrpc/netname.c: Likewise.
54384         * sunrpc/pm_getmaps.c: Likewise.
54385         * sunrpc/pm_getport.c: Likewise.
54386         * sunrpc/pmap_clnt.c: Likewise.
54387         * sunrpc/pmap_prot.c: Likewise.
54388         * sunrpc/pmap_prot2.c: Likewise.
54389         * sunrpc/pmap_rmt.c: Likewise.
54390         * sunrpc/publickey.c: Likewise.
54391         * sunrpc/rpc_cmsg.c: Likewise.
54392         * sunrpc/rpc_common.c: Likewise.
54393         * sunrpc/rpc_dtable.c: Likewise.
54394         * sunrpc/rpc_prot.c: Likewise.
54395         * sunrpc/rpc_thread.c: Likewise.
54396         * sunrpc/rtime.c: Likewise.
54397         * sunrpc/svc.c: Likewise.
54398         * sunrpc/svc_auth.c: Likewise.
54399         * sunrpc/svc_authux.c: Likewise.
54400         * sunrpc/svc_raw.c: Likewise.
54401         * sunrpc/svc_run.c: Likewise.
54402         * sunrpc/svc_simple.c: Likewise.
54403         * sunrpc/svc_tcp.c: Likewise.
54404         * sunrpc/svc_udp.c: Likewise.
54405         * sunrpc/svc_unix.c: Likewise.
54406         * sunrpc/svcauth_des.c: Likewise.
54407         * sunrpc/xcrypt.c: Likewise.
54408         * sunrpc/xdr.c: Likewise.
54409         * sunrpc/xdr_array.c: Likewise.
54410         * sunrpc/xdr_float.c: Likewise.
54411         * sunrpc/xdr_intXX_t.c: Likewise.
54412         * sunrpc/xdr_mem.c: Likewise.
54413         * sunrpc/xdr_rec.c: Likewise.
54414         * sunrpc/xdr_ref.c: Likewise.
54415         * sunrpc/xdr_sizeof.c: Likewise.
54416         * sunrpc/xdr_stdio.c: Likewise.
54418 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
54420         [BZ #12650]
54421         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54422         * sysdeps/ia64/dl-tls.h: Likewise.
54423         * sysdeps/powerpc/dl-tls.h: Likewise.
54424         * sysdeps/s390/dl-tls.h: Likewise.
54425         * sysdeps/sh/dl-tls.h: Likewise.
54426         * sysdeps/sparc/dl-tls.h: Likewise.
54427         * sysdeps/x86_64/dl-tls.h: Likewise.
54428         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54430 2011-03-14  Andreas Schwab  <schwab@redhat.com>
54432         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54433         rpath element also skip the following colon.
54434         (expand_dynamic_string_token): Add is_path parameter and pass
54435         down to DL_DST_REQUIRED and _dl_dst_substitute.
54436         (decompose_rpath): Call expand_dynamic_string_token with
54437         non-zero is_path.  Ignore empty rpaths.
54438         (_dl_map_object_from_fd): Call expand_dynamic_string_token
54439         with zero is_path.
54441 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
54443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54444         Make cancelable.
54446 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
54448         [BZ #12655]
54449         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54450         Patch by Filipe David Manana <fdmanana@apache.org>.
54452 2011-04-07  Andreas Schwab  <schwab@redhat.com>
54454         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54455         Maintain aligned stack.
54456         (CHECK_RSP): Remove unused macro.
54458 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
54460         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54461         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54463 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
54465         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54467         * include/features.h: Mention __USE_XOPEN2K8 in comment.
54469 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
54471         [BZ #12518]
54472         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54473         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54474         * sysdeps/x86_64/memmove.c: New file.
54475         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54476         (memcpy): Renamed to ...
54477         (__new_memcpy): This.
54478         (memcpy): Provide GLIBC_2_14 memcpy.
54479         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54480         (memcpy): Provide GLIBC_2_2_5 memcpy.
54482 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54484         [BZ #12631]
54485         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54487 2011-03-30  Andreas Schwab  <schwab@redhat.com>
54489         * misc/syncfs.c: New file.
54490         * misc/Makefile (routines): Add syncfs.
54491         * posix/unistd.h: Declare syncfs.
54492         * sysdeps/unix/syscalls.list: Add syncfs.
54494 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54496         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54497         open_by_handle_at.
54498         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54499         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54500         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54501         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54502         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54503         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54504         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54506 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54508         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54509         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54510         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54511         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54512         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54513         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54514         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54516         * io/Makefile: Compile fallocate.c, fallocate64.c, and
54517         sync_file_range.c with -fexceptions.
54518         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54519         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54520         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54521         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54522         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54523         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54524         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54525         sync_file_range as cancellation point
54526         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
54527         now a wrapper around __call_sync_file_range with cancellation handling.
54528         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54529         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
54530         function name to __call_sync_file_range.
54531         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54532         Add call_sync_file_range.
54534 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54536         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54537         bits/timex.h.
54539 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54541         * iconv/iconv.h: Fix typo in comment.
54542         * io/fcntl.h: Likewise.
54543         * libio/stdio.h: Likewise.
54544         * posix/spawn.h: Likewise.
54545         * posix/unistd.h: Likewise.
54546         * stdlib/stdlib.h: Likewise.
54547         * time/time.h: Likewise.
54548         * wcsmbs/wchar.h: Likewise.
54550         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54551         open_by_handle): Add.
54552         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54553         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
54554         Augment a few comments.
54555         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54556         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54557         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54558         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54559         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54560         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54561         open_by_handle.
54563         * io/fcntl.h (AT_EMPTY_PATH): Define.
54565 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
54567         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54568         * sysdeps/unix/sysv/linux/bits/time.h: New file.
54569         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54570         to...
54571         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
54572         * Versions.def: Add GLIBC_2.14.
54573         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54574         Export.
54576 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
54578         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54579         round counter.
54580         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54582 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54584         [BZ #12597]
54585         * string/test-strncmp.c (do_page_test): New function.
54586         (check2): Likewise.
54587         (test_main): Call check2.
54588         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54590 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
54592         [BZ #12587]
54593         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54594         Handle cache information in CPU leaf 4.
54595         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54597 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
54599         [BZ #12583]
54600         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54601         character representation.
54602         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54604 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
54606         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54607         END(__isnan) to END(__isnanf) to match function entry point/label
54608         EALIGN(__isnanf,...).
54610 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
54612         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54614 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
54616         [BZ #12510]
54617         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54618         copy from the symbol referenced in the relocation to initialize the
54619         used variable.
54620         Patch by Piotr Bury <pbury@goahead.com>.
54621         * elf/Makefile: Add rules to build and tst-unique3.
54622         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54623         * elf/tst-unique3.cc: New file.
54624         * elf/tst-unique3.h: New file.
54625         * elf/tst-unique3lib.cc: New file.
54626         * elf/tst-unique3lib2.cc: New file.
54628         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54630 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
54632         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54633         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
54634         to _start.
54636 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
54638         * elf/dl-load.c (_dl_map_object): If we are looking for the first
54639         to-be-loaded object along a path to loader is ld.so.
54641 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54642             Ulrich Drepper  <drepper@gmail.com>
54644         * sysdeps/x86_64/memset.S: After aligning destination, code
54645         branches to different locations depending on the value of
54646         misalignment, when multiarch is enabled. Fix this.
54648 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54650         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54651         Set _x86_64_preferred_memory_instruction for AMD processsors.
54652         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54653         Set bit_Prefer_SSE_for_memop for AMD processors.
54655 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
54657         * libio/fmemopen.c (fmemopen): Optimize a bit.
54659 2011-03-03  Andreas Schwab  <schwab@redhat.com>
54661         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54663 2011-03-03  Roland McGrath  <roland@redhat.com>
54665         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54667 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
54669         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54670         __bzero_ultra1 instead of __memset_ultra1.
54672 2011-02-23  Andreas Schwab  <schwab@redhat.com>
54673             Ulrich Drepper  <drepper@gmail.com>
54675         [BZ #12509]
54676         * include/link.h (struct link_map): Add l_orig_initfini.
54677         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54678         returning unsuccessfully.
54679         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54680         close of a file loaded at startup, restore the original l_initfini
54681         list.
54682         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54683         list, store the pointer.
54684         * elf/Makefile ($(objpfx)noload-mem): New rule.
54685         (noload-ENV): Define.
54686         (tests): Add $(objpfx)noload-mem.
54687         * elf/noload.c: Include <memcheck.h>.
54688         (main): Call mtrace.  Close all opened handles.
54690 2011-02-17  Andreas Schwab  <schwab@redhat.com>
54692         [BZ #12454]
54693         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54694         dependencies are missing.
54696 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54698         Fix __if_freereq crash: Unlike the generic version which uses free,
54699         Hurd needs munmap.
54700         * sysdeps/mach/hurd/ifreq.h: New file.
54702 2011-01-27  Petr Baudis  <pasky@suse.cz>
54703             Ulrich Drepper  <drepper@gmail.com>
54705         [BZ 12445]#
54706         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54707         to extend_alloca().
54708         * stdio-common/bug23.c: New file.
54709         * stdio-common/Makefile (tests): Add bug23.
54711 2010-09-28  Andreas Schwab  <schwab@redhat.com>
54712             Ulrich Drepper  <drepper@gmail.com>
54714         [BZ #12489]
54715         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54716         before performing relro protection.  At old place add assertion
54717         to make sure nothing changed.
54719 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
54720             Glauber de Oliveira Costa  <glommer@gmail.com>
54722         * elf/elf.h: Add new ARM TLS relocs.
54724 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
54726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54727         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54728         cast from r3.
54729         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
54730         'tests' variable.
54731         * sysdeps/wordsize-64/tst-writev.c: New file.
54733 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
54735         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54736         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54737         insns in _dl_start to prevent a TOC reference before relocs are
54738         resolved.
54740 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
54742         [BZ #12469]
54743         * Makeconfig: Remove RANLIB definition.
54744         * Makerules: Don't use RANLIB.
54745         * aclocal.m4: Remove ranlib test.
54746         * configure.in: No need to check for ranlib.
54747         * elf/rtld-Rules: Don't use RANLIB.
54749 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54751         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54752         protection macro.
54753         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54754         inclusion protection macro.
54756         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54757         SIGRTMIN and SIGRTMAX and print information in that case only when
54758         SIGRTMIN is defined.
54760 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
54762         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54763         arginfo fn returning -1.
54765         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54766         and thousands string is zero terminated.
54768 2011-02-03  Andreas Schwab  <schwab@redhat.com>
54770         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54771         sysdeps/unix/sysv/linux/bits/socket.h.
54773 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54775         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54776         (__CPU_COUNT): Remove old macros.
54777         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54778         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54779         (__CPU_ALLOC, __CPU_FREE): Add macros.
54780         (__sched_cpualloc, __sched_cpufree): Add declarations.
54782 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
54784         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54785         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54786         * nscd/aicache.c (addhstaiX): Return timeout of added value.
54787         (readdhstai): Return value of addhstaiX call.
54788         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54789         (addgrbyX): Return value returned by cache_addgr.
54790         (readdgrbyname): Return value returned by addgrbyX.
54791         (readdgrbygid): Likewise.
54792         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54793         (addpwbyX): Return value returned by cache_addpw.
54794         (readdpwbyname): Return value returned by addhstbyX.
54795         (readdpwbyuid): Likewise.
54796         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54797         (addservbyX): Return value returned by cache_addserv.
54798         (readdservbyname): Return value returned by addservbyX:
54799         (readdservbyport): Likewise.
54800         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54801         (addhstbyX): Return value returned by cache_addhst.
54802         (readdhstbyname): Return value returned by addhstbyX.
54803         (readdhstbyaddr): Likewise.
54804         (readdhstbynamev6): Likewise.
54805         (readdhstbyaddrv6): Likewise.
54806         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54807         (readdinitgroups): Return value returned by addinitgroupsX.
54808         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54809         (prune_cache): Keep track of timeout value of re-added entries.
54810         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54811         * nscd/nscd.h: Adjust prototypes of readd* functions.
54813 2011-02-04  Roland McGrath  <roland@redhat.com>
54815         * nis/nis_server.c (nis_servstate): Use the right name for 0.
54816         (nis_stats): Likewise.
54817         * nis/nis_modify.c (nis_modify): Likewise.
54818         * nis/nis_remove.c (nis_remove): Likewise.
54819         * nis/nis_add.c (nis_add): Likewise.
54821         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54823         * posix/fnmatch_loop.c: Add some consts.
54825         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54827 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
54829         [BZ #12460]
54830         * config.make.in (config-cflags-novzeroupper): Define.
54831         * configure.in: Substitute libc_cv_cc_novzeroupper.
54832         * elf/Makefile (AVX-CFLAGS): Define.
54833         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54834         (CFLAGS-tst-auditmod4a.c): Likewise.
54835         (CFLAGS-tst-auditmod4b.c): Likewise.
54836         (CFLAGS-tst-auditmod6b.c): Likewise.
54837         (CFLAGS-tst-auditmod6c.c): Likewise.
54838         (CFLAGS-tst-auditmod7b.c): Likewise.
54839         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54841 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
54843         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54844         function to the callback.
54845         Patch partly by Jiri Olsa <jolsa@redhat.com>.
54847 2011-02-02  Andreas Schwab  <schwab@redhat.com>
54849         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54850         of errno.
54852 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
54854         [BZ #11724]
54855         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54856         of constructors.
54857         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54858         of destructors.
54859         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54861         [BZ #11724]
54862         * elf/Makefile: Add rules to build and run new test.
54863         * elf/tst-initorder.c: New file.
54864         * elf/tst-initorder.exp: New file.
54865         * elf/tst-initordera1.c: New file.
54866         * elf/tst-initordera2.c: New file.
54867         * elf/tst-initordera3.c: New file.
54868         * elf/tst-initordera4.c: New file.
54869         * elf/tst-initorderb1.c: New file.
54870         * elf/tst-initorderb2.c: New file.
54871         * elf/tst-order-a1.c: New file.
54872         * elf/tst-order-a2.c: New file.
54873         * elf/tst-order-a3.c: New file.
54874         * elf/tst-order-a4.c: New file.
54875         * elf/tst-order-b1.c: New file.
54876         * elf/tst-order-b2.c: New file.
54877         * elf/tst-order-main.c: New file.
54878         New test case by George Gensure <werkt0@gmail.com>.
54880 2010-10-01  Andreas Schwab  <schwab@redhat.com>
54882         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54883         decoding ACE if AI_CANONIDN.
54885 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
54887         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54889 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
54891         * version.h (RELEASE): Bump for 2.13 release.
54892         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54894         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54896         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54897         MADV_NOHUGEPAGE.
54898         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54899         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54900         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54901         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54902         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54903         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54905         * posix/getconf.c: Update copyright year.
54906         * catgets/gencat.c: Likewise.
54907         * csu/version.c: Likewise.
54908         * debug/catchsegv.sh: Likewise.
54909         * debug/xtrace.sh: Likewise.
54910         * elf/ldconfig.c: Likewise.
54911         * elf/ldd.bash.in: Likewise.
54912         * elf/sprof.c (print_version): Likewise.
54913         * iconv/iconv_prog.c: Likewise.
54914         * iconv/iconvconfig.c: Likewise.
54915         * locale/programs/locale.c: Likewise.
54916         * locale/programs/localedef.c: Likewise.
54917         * malloc/memusage.sh: Likewise.
54918         * malloc/mtrace.pl: Likewise.
54919         * nscd/nscd.c (print_version): Likewise.
54920         * nss/getent.c: Likewise.
54922         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54923         PF_CAIF, and PF_ALG.
54924         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54926 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
54928         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54929         (modules-names): Use them.
54930         (ifunc-test-modules, ifunc-pie-tests): Define.
54931         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54932         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54933         (test-extras): Likewise.
54934         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54935         $(compile-command.c).
54936         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54937         (all-built-dso): Define.
54938         (check-textrel.out, check-execstack.out): Depend on it.
54940         * configure.in: Don't override --enable-multi-arch.
54942 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
54944         [BZ #6812]
54945         * nscd/hstcache.c (tryagain): Define.
54946         (cache_addhst): Return tryagain not notfound for temporary errors.
54947         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54948         failed.
54950 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
54952         [BZ #10563]
54953         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54954         to make the syscall.
54955         * sysdeps/unix/sysv/linux/setgroups.c: New file.
54957         [BZ #12378]
54958         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54959         and fall back to matching as normal character if the string ends before
54960         the matching ']' is found.  This is what POSIX requires.
54961         * posix/testfnm.c: Adjust test result.
54962         * posix/globtest.sh: Adjust test result.  Add new test.
54963         * posix/tst-fnmatch.input: Likewise.
54964         * posix/tst-fnmatch2.c: Add new test.
54966 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
54968         * elf/Makefile (check-execstack): Revert last change.  Depend on
54969         check-execstack.h.
54970         (check-execstack.h): New target.
54971         (generated): Add check-execstack.h.
54972         * elf/check-execstack.c: Include "check-execstack.h".
54973         (main): Revert last change.
54974         (handle_file): Return zero if GNU_STACK is absent and
54975         DEFAULT_STACK_PERMS doesn't include PF_X.
54977 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
54979         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54980         in child fails because the descriptor is already closed.
54981         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54982         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54983         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54985         [BZ #12397]
54986         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54987         syscall.
54989         [BZ #10484]
54990         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54991         temporary buffer used to handle multi lookups locally.
54992         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54994 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54996         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54997         loader is ld.so.
54999 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
55001         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55002         alignment for SSE2.
55004 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55006         [BZ #12394]
55007         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55008         characters.  When rounding increased number of integer digits recompute
55009         number of groups.
55010         * stdio-common/tst-grouping.c: New file.
55011         * stdio-common/Makefile: Add rules to build and run tst-grouping.
55013 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
55015         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55016         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
55018         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55019         void.
55020         * bits/select.h: Likewise.
55022 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
55024         * po/ja.po: Update from translation team.
55026 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
55028         [BZ #11155]
55029         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55030         implementation just like for lxstat, fxstatat, et al.
55032 2010-12-27  Jim Meyering  <meyering@redhat.com>
55034         [BZ #12348]
55035         * posix/regexec.c (build_trtable): Return failure indication upon
55036         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
55038 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
55040         [BZ #12201]
55041         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55042         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55043         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55044         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55046         [BZ #12207]
55047         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55049         [BZ #12204]
55050         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55051         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55053 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
55055         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55056         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55057         script has SORT_BY_INIT_PRIORITY.
55058         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55059         NO_CTORS_DTORS_SECTIONS is defined.
55060         * elf/soinit.c: Likewise.
55061         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55062         NO_CTORS_DTORS_SECTIONS is defined.
55063         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55064         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55065         * sysdeps/sh/init-first.c: Likewise.
55066         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55068 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
55070         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55071         always use the slow path.
55073 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
55075         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55076         similar rule which adds the sysdep directories to the header search in
55077         order to pick up the correct platform stackinfo.h.
55078         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55079         perform test if it is, otherwise return successfully without testing.
55080         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55081         DEFAULT_STACK_PERMS define in stackinfo.h.
55082         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55083         defined in stackinfo.h.
55084         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55085         DEFAULT_STACK_PERMS defined in stackinfo.h.
55086         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55087         * sysdeps/ia64/stackinfo.h: Likewise.
55088         * sysdeps/s390/stackinfo.h: Likewise.
55089         * sysdeps/sh/stackinfo.h: Likewise.
55090         * sysdeps/sparc/stackinfo.h: Likewise.
55091         * sysdeps/x86_64/stackinfo.h: Likewise.
55092         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55093         PF_X for powerpc64.  Retain PF_X for powerpc32.
55095 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
55097         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55098         accurately.
55099         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55100         GETDENTS_64BIT_ALIGNED.
55102 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
55104         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55106 2010-12-10  Andreas Schwab  <schwab@redhat.com>
55108         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55109         _GNU_SOURCE.
55111         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55112         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55113         Remove __restrict.
55114         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55115         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55117 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
55119         [BZ #11655]
55120         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55121         are initialized.
55123 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
55125         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55127 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
55129         * po/it.po: Update from translation team.
55131 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
55133         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55134         unused codes.
55136 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
55138         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55140 2010-11-24  Andreas Schwab  <schwab@redhat.com>
55142         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55143         specially.
55144         (gaih_getanswer_slice): Likewise.
55146 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
55148         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55150 2010-05-31  Petr Baudis  <pasky@suse.cz>
55152         [BZ #11149]
55153         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55154         silently even in the chroot mode.
55156 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
55158         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55159         last patch a bit.  Pretty printing
55161 2010-05-31  Petr Baudis <pasky@suse.cz>
55163         [BZ #10085]
55164         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55165         initialization of skip_initgroups_dyn.
55167 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
55169         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55170         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55172 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
55174         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55176 2010-11-11  Andreas Schwab  <schwab@redhat.com>
55178         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55179         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55180         (tst-fnmatch-ENV): Set MALLOC_TRACE.
55181         ($(objpfx)tst-fnmatch-mem): New rule.
55182         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55183         * posix/tst-fnmatch.c (main): Call mtrace.
55185 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
55187         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55188         Support Intel processor model 6 and model 0x2c.
55190 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
55192         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55193           signed comparison.
55195 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
55197         [BZ #12205]
55198         * string/test-strncasecmp.c (check_result): New function.
55199         (do_one_test): Use it.
55200         (check1): New function.
55201         (test_main): Use it.
55202         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55203         Support strcasecmp and strncasecmp.
55205 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
55207         [BZ #12194]
55208         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55209         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55211 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55213         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55214         IFUNC support.
55215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55216         memset-x86-64.
55217         * sysdeps/x86_64/multiarch/bzero.S: New file.
55218         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55219         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55220         * sysdeps/x86_64/multiarch/memset.S: New file.
55221         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55223         Set bit_Prefer_SSE_for_memop for Intel processors.
55224         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55225         Define.
55226         (index_Prefer_SSE_for_memop): Define.
55227         (HAS_PREFER_SSE_FOR_MEMOP): Define.
55229 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
55231         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55232         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55234 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
55236         [BZ #12191]
55237         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55238         (__x86_64_raw_data_cache_size_half): Likewise.
55239         (__x86_64_raw_shared_cache_size): Likewise.
55240         (__x86_64_raw_shared_cache_size_half): Likewise.
55242         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55243         (__x86_64_raw_data_cache_size_half): Likewise.
55244         (__x86_64_raw_shared_cache_size): Likewise.
55245         (__x86_64_raw_shared_cache_size_half): Likewise.
55246         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55247         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55248         and __x86_64_raw_shared_cache_size_half.  Round
55249         __x86_64_data_cache_size_half, __x86_64_data_cache_size
55250         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55251         to multiple of 256 bytes.
55253 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
55255         [BZ #12167]
55256         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55257         of inacessible symlinks.  Verify result of symlink before returning it.
55258         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55259         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55261 2010-10-28  Erich Ritz  <erichritz@gmail.com>
55263         * math/math.h (isinf): Fix typo in comment.
55265 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
55267         * po/da.po: Update from translation team.
55269 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
55271         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55272         is added to the list.
55274 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55275             Ulrich Drepper  <drepper@gmail.com>
55277         * elf/dl-object.c (_dl_new_object): Don't append the new object to
55278         the global list here.  Move code to...
55279         (_dl_add_to_namespace_list): ...here.  New function.
55280         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55281         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55282         * elf/dl-load.c (lose): Don't remove the element from the list.
55283         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55284         (_dl_map_object): Likewise.
55286 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
55288         [BZ #12159]
55289         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55290         into all bytes of SSE register.
55291         Patch by Richard Li <richardpku@gmail.com>.
55293 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
55295         [BZ #12140]
55296         * malloc/malloc.c (_int_free): Fill correct number of bytes when
55297         perturbing.
55299 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
55301         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55302         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55303         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55304         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55306         submachine.
55307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55309 2010-10-22  Andreas Schwab  <schwab@redhat.com>
55311         * include/dlfcn.h (__RTLD_SECURE): Define.
55312         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
55313         mode & __RTLD_SECURE instead.
55314         (open_path): Rename preloaded parameter to secure.
55315         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55316         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55317         * elf/dl-deps.c (openaux): Likewise.
55318         * elf/rtld.c (struct map_args): Remove is_preloaded.
55319         (map_doit): Don't use it.
55320         (dl_main): Likewise.
55321         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55322         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55324 2010-09-09  Andreas Schwab  <schwab@redhat.com>
55326         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55327         (sysd-rules-targets): Remove duplicates.
55328         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55329         rtld-%.$o dependency.
55331 2010-10-18  Andreas Schwab  <schwab@redhat.com>
55333         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55334         _dl_map_object do it.
55336 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
55338         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55339         fast fma builtins, define the macros in the C99 standard.
55340         (FP_FAST_FMAF): Likewise.
55341         (FP_FAST_FMAL): Likewise.
55342         * sysdeps/x86_64/bits/mathdef.h: Likewise.
55344         * bits/mathdef.h: Update copyright year.
55345         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55347 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
55349         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55350         builtins, define the macros in the C99 standard.
55351         (FP_FAST_FMAF): Likewise.
55352         (FP_FAST_FMAL): Likewise.
55353         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55354         multiply/add.
55355         (FP_FAST_FMAF): Likewise.
55357 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
55359         [BZ #3268]
55360         * math/libm-test.inc (fma_test): Some new testcases.
55361         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55362         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55363         y and infinite z.  Do multiplication by C already in long double.
55364         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55366         y and infinite z.  Do bitwise or of inexact bit into u.d.
55367         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55368         * sysdeps/i386/fpu/s_fmaf.S: Removed.
55369         * sysdeps/i386/fpu/s_fma.S: Removed.
55370         * sysdeps/i386/fpu/s_fmal.S: Removed.
55372 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
55374         [BZ #3268]
55375         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55376         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55377         computation is not scheduled after fetestexcept.  Fix value
55378         of minimum denormal long double.
55380 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
55382         [BZ #3268]
55383         * math/libm-test.inc (fma_test): Add some more tests.
55384         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55385         correctly.
55387 2010-10-15  Andreas Schwab  <schwab@redhat.com>
55389         * scripts/data/localplt-s390-linux-gnu.data: New file.
55390         * scripts/data/localplt-s390x-linux-gnu.data: New file.
55392 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
55394         [BZ #3268]
55395         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55396         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55397         instead of dbl-64.
55398         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55399         inlines.
55400         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55401         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55402         if one of x and y is very large and the other is subnormal.
55403         * sysdeps/s390/fpu/s_fmaf.c: New file.
55404         * sysdeps/s390/fpu/s_fma.c: New file.
55405         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55406         * sysdeps/powerpc/fpu/s_fma.S: New file.
55407         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55408         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55409         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55411 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
55413         [BZ #3268]
55414         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55415         fma tests.
55416         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55417         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55418         * sysdeps/i386/i686/multiarch/s_fma.c: Include
55419         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55420         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55421         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55422         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55424 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
55426         [BZ #12078]
55427         * posix/regcomp.c (parse_branch): One more memory leak plugged.
55428         * posix/bug-regex31.input: Add test case.
55430 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55432         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55433         * posix/bug-regex31.input: New file.
55435         [BZ #12078]
55436         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55437         (parse_sub_exp): Fix last change, use postorder.
55439         * posix/bug-regex31.c: New file.
55440         * posix/Makefile: Add rules to build and run bug-regex31.
55442         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55444         [BZ #12078]
55445         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55447         [BZ #12108]
55448         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55449         to have entries in sys_siglist.
55451         [BZ #12093]
55452         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55453         be NULL.
55455 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
55457         [BZ #3268]
55458         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55459         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55460         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55461         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55462         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55463         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55464         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55465         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55466         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55467         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55468         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55469         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55470         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55471         * math/ftestexcept.c (fetestexcept): Likewise.
55472         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55473         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55474         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55475         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55476         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55477         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55478         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55480 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55482         [BZ #12107]
55483         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55484         newline.
55486 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
55488         * string/bug-strstr1.c: New file.
55489         * string/Makefile: Add rules to build and run bug-strstr1.
55491 2010-10-05  Eric Blake  <eblake@redhat.com>
55493         [BZ #12092]
55494         * string/str-two-way.h (two_way_long_needle): Always clear memory
55495         when skipping input due to the shift table.
55497 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
55499         [BZ #12005]
55500         * malloc/mcheck.c: Handle large requests.
55502         [BZ #12077]
55503         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55504         for strncmp and strncasecmp.
55505         * string/stratcliff.c: Add tests for strcmp and strncmp.
55506         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55508 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55510         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55511         __set_fpscr.
55513 2010-09-30  Andreas Jaeger  <aj@suse.de>
55515         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55516         (CGROUP_SUPER_MAGIC): Define.
55517         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55518         Handle btrfs and cgroup file systems.
55519         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55520         Likewise.
55522 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
55524         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55525         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55527 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55529         [BZ #12067]
55530         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55531         trying to locate the ELF header.
55533 2010-09-27  Andreas Schwab  <schwab@redhat.com>
55535         [BZ #11611]
55536         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55537         Mask out sign-bit copies when constructing f_fsid.
55539 2010-09-24  Petr Baudis <pasky@suse.cz>
55541         * debug/stack_chk_fail_local.c: Add missing licence exception.
55542         * debug/warning-nop.c: Likewise.
55544 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
55546         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55547         implementing getdents64 using getdents syscall, set d_type if
55548         __ASSUME_GETDENTS32_D_TYPE.
55550 2010-09-16  Andreas Schwab  <schwab@redhat.com>
55552         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55553         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55555 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
55557         [BZ #12037]
55558         * posix/unistd.h: Undo change of feature selection for ftruncate from
55559         2010-01-11.
55561 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
55563         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55564         detection.
55566 2010-09-20  Andreas Schwab  <schwab@redhat.com>
55568         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55569         fanotify_mark.
55570         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55572 2010-09-14  Andreas Schwab  <schwab@redhat.com>
55574         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55575         variables after CHECK_SP call.
55576         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55578 2010-09-13  Andreas Schwab  <schwab@redhat.com>
55579             Ulrich Drepper  <drepper@redhat.com>
55581         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55582         re-relocationg ld.so.
55583         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55584         _dl_init_paths call.
55585         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
55586         here anymore.
55588 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
55590         * resolv/res_init.c (__res_vinit): Count the default server we added.
55592 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
55593             Ulrich Drepper  <drepper@redhat.com>
55595         [BZ #11968]
55596         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55597         (____longjmp_chk): Use %ebx for saving value across system call.
55598         Add unwind info.
55600 2010-09-06  Andreas Schwab  <schwab@redhat.com>
55602         * manual/Makefile: Don't mix pattern rules with normal rules.
55604 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55606         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55607         operation.
55608         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55609         * libio/iofopncook.c (_IO_cookie_init): Likewise.
55610         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55611         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55612         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55613         Likewise.
55615 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
55617         [BZ #11979]
55618         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55619         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55621 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
55623         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55624         * sysdeps/x86_64/addmul_1.S: Likewise.
55625         * sysdeps/x86_64/lshift.S: Likewise.
55626         * sysdeps/x86_64/mul_1.S: Likewise.
55627         * sysdeps/x86_64/rshift.S: Likewise.
55628         * sysdeps/x86_64/sub_n.S: Likewise.
55629         * sysdeps/x86_64/submul_1.S: Likewise.
55631 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55633         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55634         Define __sched_param instead of SCHED_* and sched_param when
55635         <bits/sched.h> is included with __need_schedparam defined.
55636         * bits/sched.h [__need_schedparam]
55637         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55638         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55639         (__defined_schedparam): Define to 1.
55640         (__sched_param): New structure, identical to sched_param.
55641         (__need_schedparam): Undefine.
55643 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
55645         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55646         (epoll_create1): Declare.
55648         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55650 2010-08-31  Andreas Schwab  <schwab@redhat.com>
55652         [BZ #7066]
55653         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55654         shifting retval into place.
55656 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
55658         * nis/rpcsvc/nis.h: Update copyright notice.
55659         * nis/rpcsvc/nis.x: Likewise.
55660         * nis/rpcsvc/nis_callback.h: Likewise.
55661         * nis/rpcsvc/nis_callback.x: Likewise.
55662         * nis/rpcsvc/nis_object.x: Likewise.
55663         * nis/rpcsvc/nis_tags.h: Likewise.
55664         * nis/rpcsvc/yp.h: Likewise.
55665         * nis/rpcsvc/yp.x: Likewise.
55666         * nis/rpcsvc/ypupd.h: Likewise.
55667         * nis/yp_xdr.c: Likewise.
55668         * nis/ypupdate_xdr.c: Likewise.
55670         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
55671         mainly the body of pmap_getport.  Add parameters to specify timeouts.
55672         (pmap_getport): Use __libc_rpc_getport.
55673         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55674         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55675         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55677 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
55679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55680         fanotify_mark.
55682 2010-08-27  Roland McGrath  <roland@redhat.com>
55684         * sysdeps/i386/i686/multiarch/Makefile
55685         (CFLAGS-varshift.c): New variable.
55687 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
55689         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55690         * sysdeps/i386/i686/multiarch/varshift.c: New file.
55692         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55694         * sysdeps/x86_64/strlen.S: Minimal code improvement.
55696 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
55698         * sysdeps/x86_64/strlen.S: Unroll the loop.
55699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55700         strlen-sse2 strlen-sse2-bsf.
55701         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55702         __strlen_no_bsf if bit_Slow_BSF is set.
55703         (__strlen_sse42): Removed.
55704         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55705         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55707 2010-08-25  Roland McGrath  <roland@redhat.com>
55709         * sysdeps/x86_64/multiarch/varshift.S: File removed.
55710         * sysdeps/x86_64/multiarch/varshift.c: New file.
55711         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55712         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55713         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55714         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55716 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
55718         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55719         strlen-sse2 strlen-sse2-bsf.
55720         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55721         __strlen_sse2_bsf if bit_Slow_BSF is unset.
55722         (__strlen_sse2): Removed.
55723         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55724         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55726         bit_Slow_BSF for Atom.
55727         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55728         (index_Slow_BSF): Define.
55729         (HAS_SLOW_BSF): Define.
55731 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
55733         [BZ #10851]
55734         * resolv/res_init.c (__res_vinit): When no server address at all
55735         is given default to loopback.
55737 2010-08-24  Roland McGrath  <roland@redhat.com>
55739         * configure.in: Remove config-name.h generation.
55740         * configure: Regenerated.
55741         * config-name.in: File removed.
55742         * scripts/config-uname.sh: New file.
55743         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55744         ($(objdir)config-name.h): New target.
55746         * sunrpc/rpc_parse.h: Avoid nested comment.
55748 2010-08-24  Richard Henderson  <rth@redhat.com>
55749             Ulrich Drepper  <drepper@redhat.com>
55750             H.J. Lu  <hongjiu.lu@intel.com>
55752         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55753         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55754         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55755         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
55756         _mm_alignr_epi8 with _mm_loadu_si128.
55757         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55758         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55759         (__m128i_shift_right): Removed.
55760         * sysdeps/i386/i686/multiarch/varshift.h: New file.
55761         * sysdeps/i386/i686/multiarch/varshift.S: New file.
55762         * sysdeps/x86_64/multiarch/varshift.h: New file.
55763         * sysdeps/x86_64/multiarch/varshift.S: New file.
55765 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
55767         * configure.in: Move assembler checks to before sysdep dir checking.
55769 2010-08-20  Petr Baudis  <pasky@suse.cz>
55771         * LICENSES: Sync the sunrpc license.
55773 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
55775         * sunrpc/auth_des.c: Update copyright notice once again.
55776         * sunrpc/auth_none.c: Likewise.
55777         * sunrpc/auth_unix.c: Likewise.
55778         * sunrpc/authdes_prot.c: Likewise.
55779         * sunrpc/authuxprot.c: Likewise.
55780         * sunrpc/bindrsvprt.c: Likewise.
55781         * sunrpc/clnt_gen.c: Likewise.
55782         * sunrpc/clnt_perr.c: Likewise.
55783         * sunrpc/clnt_raw.c: Likewise.
55784         * sunrpc/clnt_simp.c: Likewise.
55785         * sunrpc/clnt_tcp.c: Likewise.
55786         * sunrpc/clnt_udp.c: Likewise.
55787         * sunrpc/clnt_unix.c: Likewise.
55788         * sunrpc/des_crypt.c: Likewise.
55789         * sunrpc/des_soft.c: Likewise.
55790         * sunrpc/get_myaddr.c: Likewise.
55791         * sunrpc/getrpcport.c: Likewise.
55792         * sunrpc/key_call.c: Likewise.
55793         * sunrpc/key_prot.c: Likewise.
55794         * sunrpc/openchild.c: Likewise.
55795         * sunrpc/pm_getmaps.c: Likewise.
55796         * sunrpc/pm_getport.c: Likewise.
55797         * sunrpc/pmap_clnt.c: Likewise.
55798         * sunrpc/pmap_prot.c: Likewise.
55799         * sunrpc/pmap_prot2.c: Likewise.
55800         * sunrpc/pmap_rmt.c: Likewise.
55801         * sunrpc/rpc/auth.h: Likewise.
55802         * sunrpc/rpc/auth_unix.h: Likewise.
55803         * sunrpc/rpc/clnt.h: Likewise.
55804         * sunrpc/rpc/des_crypt.h: Likewise.
55805         * sunrpc/rpc/key_prot.h: Likewise.
55806         * sunrpc/rpc/netdb.h: Likewise.
55807         * sunrpc/rpc/pmap_clnt.h: Likewise.
55808         * sunrpc/rpc/pmap_prot.h: Likewise.
55809         * sunrpc/rpc/pmap_rmt.h: Likewise.
55810         * sunrpc/rpc/rpc.h: Likewise.
55811         * sunrpc/rpc/rpc_des.h: Likewise.
55812         * sunrpc/rpc/rpc_msg.h: Likewise.
55813         * sunrpc/rpc/svc.h: Likewise.
55814         * sunrpc/rpc/svc_auth.h: Likewise.
55815         * sunrpc/rpc/types.h: Likewise.
55816         * sunrpc/rpc/xdr.h: Likewise.
55817         * sunrpc/rpc_clntout.c: Likewise.
55818         * sunrpc/rpc_cmsg.c: Likewise.
55819         * sunrpc/rpc_common.c: Likewise.
55820         * sunrpc/rpc_cout.c: Likewise.
55821         * sunrpc/rpc_dtable.c: Likewise.
55822         * sunrpc/rpc_hout.c: Likewise.
55823         * sunrpc/rpc_main.c: Likewise.
55824         * sunrpc/rpc_parse.c: Likewise.
55825         * sunrpc/rpc_parse.h: Likewise.
55826         * sunrpc/rpc_prot.c: Likewise.
55827         * sunrpc/rpc_sample.c: Likewise.
55828         * sunrpc/rpc_scan.c: Likewise.
55829         * sunrpc/rpc_scan.h: Likewise.
55830         * sunrpc/rpc_svcout.c: Likewise.
55831         * sunrpc/rpc_tblout.c: Likewise.
55832         * sunrpc/rpc_util.c: Likewise.
55833         * sunrpc/rpc_util.h: Likewise.
55834         * sunrpc/rpcinfo.c: Likewise.
55835         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55836         * sunrpc/rpcsvc/key_prot.x: Likewise.
55837         * sunrpc/rpcsvc/klm_prot.x: Likewise.
55838         * sunrpc/rpcsvc/mount.x: Likewise.
55839         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55840         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55841         * sunrpc/rpcsvc/rex.x: Likewise.
55842         * sunrpc/rpcsvc/rstat.x: Likewise.
55843         * sunrpc/rpcsvc/rusers.x: Likewise.
55844         * sunrpc/rpcsvc/sm_inter.x: Likewise.
55845         * sunrpc/rpcsvc/spray.x: Likewise.
55846         * sunrpc/rpcsvc/yppasswd.x: Likewise.
55847         * sunrpc/rtime.c: Likewise.
55848         * sunrpc/svc.c: Likewise.
55849         * sunrpc/svc_auth.c: Likewise.
55850         * sunrpc/svc_authux.c: Likewise.
55851         * sunrpc/svc_raw.c: Likewise.
55852         * sunrpc/svc_run.c: Likewise.
55853         * sunrpc/svc_simple.c: Likewise.
55854         * sunrpc/svc_tcp.c: Likewise.
55855         * sunrpc/svc_udp.c: Likewise.
55856         * sunrpc/svc_unix.c: Likewise.
55857         * sunrpc/svcauth_des.c: Likewise.
55858         * sunrpc/xcrypt.c: Likewise.
55859         * sunrpc/xdr.c: Likewise.
55860         * sunrpc/xdr_array.c: Likewise.
55861         * sunrpc/xdr_float.c: Likewise.
55862         * sunrpc/xdr_mem.c: Likewise.
55863         * sunrpc/xdr_rec.c: Likewise.
55864         * sunrpc/xdr_ref.c: Likewise.
55865         * sunrpc/xdr_sizeof.c: Likewise.
55866         * sunrpc/xdr_stdio.c: Likewise.
55868         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55869         handling.
55871 2010-08-19  Andreas Schwab  <schwab@redhat.com>
55873         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55875 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
55877         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55878         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55879         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55880         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55881         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55882         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55883         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55884         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55885         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55886         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55887         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55888         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55889         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55890         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55892 2010-07-26  Anton Blanchard  <anton@samba.org>
55894         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55895         * malloc/arena.c (heap_trim): Likewise.
55897 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
55899         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55900         here.  Not...
55901         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55902         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55904 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
55906         * sysdeps/i386/elf/Makefile: New file.
55908 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55910         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55911         from fanotify_init.
55912         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55913         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55915 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
55917         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55918         of strncasecmp_l.
55919         * sysdeps/multiarch/strcmp.S: Likewise.
55921 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
55923         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55924         strncase_l-nonascii.
55925         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55926         Add strncase_l-ssse3.
55927         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55928         * sysdeps/x86_64/strcmp.S: Likewise.
55929         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55930         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55931         * sysdeps/x86_64/strncase.S: New file.
55932         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55933         * sysdeps/x86_64/strncase_l.S: New file.
55934         * string/Makefile (strop-tests): Add strncasecmp.
55935         * string/test-strncasecmp.c: New file.
55937         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55938         warning.
55940         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55941         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55943 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55945         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55947 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
55949         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55950         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55951         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55953 2010-05-01  Alan Modra  <amodra@gmail.com>
55955         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55956         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55957         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55958         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55959         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55960         tidying.  Don't tail-call __sigjmp_save for static lib.
55961         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55962         save location.
55963         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55964         (CALL_MCOUNT): Add eh info, and nop after bl.
55965         (TAIL_CALL_SYSCALL_ERROR): New macro.
55966         (PSEUDO_RET): Use it.
55967         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55968         Correct save location of integer regs and cr.
55969         (_dl_profile_resolve): Correct cr save location.  Delete nops
55970         after bl when SHARED.  Reduce cfi size a little by better
55971         placement of cfi directives.
55972         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55973         make a stack frame.  Instead use parm save area as a temp.
55974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55975         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
55976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55977         Don't make a stack frame for parent, use parm save area.
55978         Increase child stack frame to 112 bytes.  Don't save unused reg,
55979         and adjust reg usage.  Set up cfi on error recovery and
55980         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55982         (__makecontext): Add dummy nop after jump to exit.
55983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55984         Use correct parm save area and cr save, reduce stack frame.
55985         Correct cfi for possible PSEUDO_RET frame setup.
55986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55987         Branch to local label emitted by PSEUDO_RET rather than
55988         __syscall_error.
55990 2010-08-12  Andreas Schwab  <schwab@redhat.com>
55992         [BZ #11904]
55993         * locale/programs/locale.c (print_assignment): New function.
55994         (show_locale_vars): Use it.
55996 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
55998         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55999         field.
56000         (struct statfs64): Likewise.
56001         (_STATFS_F_FLAGS): Define.
56002         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56003         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56004         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56005         (ST_VALID): Define locally.
56006         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56007         __statvfs_getflags, use the provided value.
56008         * sysdeps/unix/sysv/linux/kernel-features.h: Define
56009         __ASSUME_STATFS_F_FLAGS.
56011         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56013         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56014         Add sys/fanotify.h.
56015         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56016         fanotify_mask for GLIBC_2.13.
56017         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56018         fanotify_init and fanotify_mark.
56019         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56020         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56022         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56023         Add prlimit.
56024         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56025         prlimit64 for GLIBC_2.13.
56026         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56027         prlimit64.
56028         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56029         syscall.
56030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56031         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56032         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56033         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56034         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
56035         add prlimit alias.
56036         * sysdeps/unix/sysv/linux/prlimit.c: New file.
56038         [BZ #11903]
56039         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56040         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56042         * nss/Makefile: Add rules to build and run tst-nss-test1.
56043         * shlib-versions: Add entry for libnss_test1.
56044         * nss/nss_test1.c: New file.
56045         * nss/tst-nss-test1.c: New file.
56047         * nss/nsswitch.c (__nss_database_custom): Define new variable.
56048         (__nss_configure_lookup): Set appropriate entry in
56049         __nss_configure_lookup to true.
56050         * nss/nsswitch.h: Define enum with indeces of databases in
56051         databases and __nss_database_custom arrays.  Declare
56052         __nss_database_custom.
56053         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56054         to avoid using nscd when custom rules are installed.
56055         * nss/getXXbyYY_r.c: Likewise.
56056         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56058         * nss/nss_files/files-parse.c: Whitespace fixes.
56060 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
56062         [BZ #11883]
56063         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56064         * posix/fnmatch_loop.c: Likewise.
56066 2010-07-17  Andi Kleen  <ak@linux.intel.com>
56068         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56069         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56070         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56071         * Versions.def [GLIBC_2.13]: Add.
56073 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
56075         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56076         Also fail if tpwd after pwuid call is NULL.
56078 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56080         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56081         when converting to ms.
56083 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56085         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56086         EOPNOTSUPP errors with ENOTTY.
56087         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56088         EOPNOTSUPP errors with ENOTTY.
56090 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
56092         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56093         Add strcasecmp_l-ssse3.
56094         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56095         strcasecmp.
56096         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56097         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56098         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56100 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
56102         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56104         * string/Makefile (strop-tests): Add strcasecmp.
56105         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56106         strcasecmp_l-nonascii.
56107         (gen-as-const-headers): Add locale-defines.sym.
56108         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56109         * sysdeps/x86_64/strcasecmp.S: New file.
56110         * sysdeps/x86_64/strcasecmp_l.S: New file.
56111         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56112         * sysdeps/x86_64/locale-defines.sym: New file.
56113         * string/test-strcasecmp.c: New file.
56115         * string/test-strcasestr.c: Test both ends of the range of characters.
56116         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56118 2010-07-29  Roland McGrath  <roland@redhat.com>
56120         [BZ #11856]
56121         * manual/locale.texi (Yes-or-No Questions): Fix example code.
56123 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
56125         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56126         for ld.so.
56128 2010-07-27  Andreas Schwab  <schwab@redhat.com>
56130         * manual/memory.texi (Malloc Tunable Parameters): Document
56131         M_PERTURB.
56133 2010-07-26  Roland McGrath  <roland@redhat.com>
56135         [BZ #11840]
56136         * configure.in (-fgnu89-inline check): Set and substitute
56137         gnu89_inline, not libc_cv_gnu89_inline.
56138         * configure: Regenerated.
56139         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56141 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
56143         * string/test-strnlen.c: New file.
56144         * string/Makefile (strop-tests): Add strnlen.
56145         * string/tester.c (test_strnlen): Add a few more test cases.
56146         * string/tst-strlen.c: Better error reporting.
56148         * sysdeps/x86_64/strnlen.S: New file.
56150 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
56152         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56153         lower-latency instructions.
56155 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
56157         * string/test-strcasestr.c: New file.
56158         * string/test-strstr.c: New file.
56159         * string/Makefile (strop-tests): Add strstr and strcasestr.
56160         * string/str-two-way.h: Don't undefine MAX.
56161         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56163 2010-07-21  Andreas Schwab  <schwab@redhat.com>
56165         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56166         strcasestr-nonascii.
56167         (CFLAGS-strcasestr-nonascii.c): Define.
56168         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56169         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56170         Remove unused attribute.
56172 2010-07-20  Roland McGrath  <roland@redhat.com>
56174         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56175         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
56176         ld.so.cache was broken.  With it, there is no way to disable dsocaps
56177         like LD_HWCAP_MASK can disable hwcaps.
56179 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56181         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56183 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
56185         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56186         call in strcasestr.
56187         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56188         __strcasestr_sse42_nonascii.
56189         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56190         strcasestr-nonascii.c.
56191         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56193 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
56195         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56196         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56197         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56198         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56200 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
56202         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56203         fcntl.
56205 2010-07-06  Andreas Schwab  <schwab@redhat.com>
56207         [BZ #11577]
56208         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56209         dl_signal_cerror.
56211 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
56213         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56214         _PC_PIPE_BUF using F_GETPIPE_SZ.
56216 2010-07-05  Roland McGrath  <roland@redhat.com>
56218         * manual/arith.texi (Rounding Functions): Fix rint description
56219         implicit in round description.
56221 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
56223         * elf/Makefile: Fix linking for a few tests to make recent linker
56224         happy.
56226 2010-06-30  Andreas Schwab  <schwab@redhat.com>
56228         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56229         $(common-objpfx)libc_nonshared.a.
56231 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
56233         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56234         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56235         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56236         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56237         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56238         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56239         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56240         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56255         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56256         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56257         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56258         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56259         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56260         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56261         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56262         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56263         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56264         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56265         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56266         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56282 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
56284         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56285         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
56286         * string/memmove.c (memmove): Renamed to ...
56287         (MEMMOVE): ...this.  Default to memmove.
56288         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56289         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56290         (END_CHK): Define.
56291         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56292         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56293         mempcpy-ssse3-back memmove-ssse3-back.
56294         * sysdeps/x86_64/multiarch/bcopy.S: New file .
56295         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56296         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56297         * sysdeps/x86_64/multiarch/memcpy.S: New file.
56298         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56299         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56300         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56301         * sysdeps/x86_64/multiarch/memmove.c: New file.
56302         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56303         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56304         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56305         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56306         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56307         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56308         Define.
56309         (index_Fast_Copy_Backward): Define.
56310         (HAS_ARCH_FEATURE): Define.
56311         (HAS_FAST_REP_STRING): Define.
56312         (HAS_FAST_COPY_BACKWARD): Define.
56314 2010-06-21  Andreas Schwab  <schwab@redhat.com>
56316         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56317         Restore proper fallback handling.
56319 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
56321         [BZ #11701]
56322         * posix/group_member.c (__group_member): Correct checking loop.
56324         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56325         OOM in getpwuid_r correctly.  Return error number when the caller
56326         should return, otherwise -1.
56327         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56328         call returning > 0 value.
56329         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56331 2010-06-07  Andreas Schwab  <schwab@redhat.com>
56333         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56334         libc_nonshared.a from targets in modules-names.
56336 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
56338         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56339         requires it.
56341 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
56343         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56344         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56345         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56346         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56348 2010-06-02  Andreas Schwab  <schwab@redhat.com>
56350         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56352 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
56354         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56355         and F_GETPIPE_SZ.
56356         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56357         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56358         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56359         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56360         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56361         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56363 2010-06-14  Roland McGrath  <roland@redhat.com>
56365         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56367 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
56369         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56370         __REDIRECT followed by __THROW.
56371         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56372         * posix/getopt.h (getopt): Likewise.
56374 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56376         * hurd/lookup-at.c (__file_name_lookup_at): Accept
56377         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
56378         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56379         in AT_FLAGS.
56380         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56381         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56383 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
56385         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56387 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
56389         [BZ #11640]
56390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56391         Properly check family and model.
56393 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
56395         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56397 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
56399         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56401 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
56403         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56404         symbol reference.
56406 2010-05-19  Andreas Schwab  <schwab@redhat.com>
56408         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56409         symbol reference.
56411 2010-05-21  Andreas Schwab  <schwab@redhat.com>
56413         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56414         and internal_recvmmsg.
56415         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56416         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56417         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56418         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56420         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56421         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56422         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56424 2010-05-20  Andreas Schwab  <schwab@redhat.com>
56426         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56428 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
56430         POWER7 optimizations.
56431         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56432         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56434 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
56436         * version.h: Update for 2.13 development version.
56438 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
56440         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56441         exceptions.  Return 0.
56443 2010-05-07  Roland McGrath  <roland@redhat.com>
56445         * elf/ldconfig.c (main): Add a const.
56447 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
56449         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56450         (args_options): Add no-idn option.
56451         (ahosts_keys_int): Add idn_flags to ai_flags.
56452         (parse_option): Handle 'i' option to clear idn_flags.
56454         * malloc/malloc.c (_int_free): Possible race in the most recently
56455         added check.  Only act on the data if no current modification
56456         happened.
56458 See ChangeLog.17 for earlier changes.