Replace __attribute__((visibility("protected")))
[glibc.git] / ChangeLog
blob45579dea4082523b2c8bf8210e8d5679309fdd01
1 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
3         [BZ #17949]
4         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5         jump label.
7 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
9         * version.h (RELEASE): Set to "stable".
10         (VERSION): Set to "2.21"
11         * include/features.h (__GLIBC_MINOR__): Set to 21.
13         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
15 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16             Paul Eggert  <eggert@cs.ucla.edu>
18         [BZ #16618]
19         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
20         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21         size in bytes. Store needed elements in wpmax. Use needed size
22         in bytes for extend_alloca.
24 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
26         * manual/install.texi: Latest tested versions are GCC 4.9.2,
27         binutls 2.25, and texinfo 5.2.
28         * INSTALL: Regenerate.
29         * sysdeps/nios2/configure: Regenerate.
30         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
31         * manual/contrib.texi: Update.
32         * po/be.po: Update.
33         * po/bg.po: Update.
34         * po/ca.po: Update.
35         * po/cs.po: Update.
36         * po/da.po: Update.
37         * po/de.po: Update.
38         * po/el.po: Update.
39         * po/eo.po: Update.
40         * po/es.po: Update.
41         * po/fi.po: Update.
42         * po/fr.po: Update.
43         * po/gl.po: Update.
44         * po/hr.po: Update.
45         * po/hu.po: Update.
46         * po/ia.po: Update.
47         * po/id.po: Update.
48         * po/it.po: Update.
49         * po/ja.po: Update.
50         * po/ko.po: Update.
51         * po/lt.po: Update.
52         * po/nb.po: Update.
53         * po/nl.po: Update.
54         * po/pl.po: Update.
55         * po/pt_BR.po: Update.
56         * po/ru.po: Update.
57         * po/rw.po: Update.
58         * po/sk.po: Update.
59         * po/sl.po: Update.
60         * po/sv.po: Update.
61         * po/tr.po: Update.
62         * po/uk.po: Update.
63         * po/vi.po: Update.
64         * po/zh_CN.po: Update.
65         * po/zh_TW.po: Update.
67         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
68         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
69         * sysdeps/hppa/dl-irel.h: Remove #warning.
70         * sysdeps/hppa/entry.h: Provide prototype for
71         __canonicalize_funcptr_for_compare and cast argument.
72         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
73         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
74         * sysdeps/hppa/sotruss-lib.c: New file.
75         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
76         (atomic_compare_and_exchange_val_acq): Use __typeof__.
77         (atomic_compare_and_exchange_bool_acq): Likewise.
78         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
79         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
81         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
82         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
83         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
85 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
87         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
88         called function in non-PIC case.
90 2015-01-31  David S. Miller  <davem@davemloft.net>
92         * sysdeps/sparc/sparc32/bits/atomic.h
93         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
94         unlock not after it.
95         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
96         volatile register usage warnings from the compiler.
98         * sysdeps/sparc/nptl/sem_init.c: Delete.
99         * sysdeps/sparc/nptl/sem_post.c: Delete.
100         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
101         * sysdeps/sparc/nptl/sem_wait.c: Delete.
102         * sysdeps/sparc/sparc32/sem_init.c: New file.
103         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
104         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
105         padding explicitly initialized.
106         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
107         padding for in-semaphore spinlock.
108         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
109         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
110         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
111         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
112         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
113         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
114         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
115         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
116         version.
117         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
118         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
120 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
122         [BZ #17801]
123         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
124         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
125         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
126         New.
127         (index_AVX_Fast_Unaligned_Load): Likewise.
128         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
129         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
130         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
131         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
132         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
133         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
134         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
135         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
136         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
138 2015-01-29  Andreas Schwab  <schwab@suse.de>
140         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
142 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
144         [BZ #17892]
145         * nscd/nscd_stat.c (send_stats): Initialize DATA.
147 2015-01-28  Martin Sebor  <msebor@redhat.com>
149         * math/README.libm-test: Clarify. Add "How to read the test output."
151 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
153         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
154         Define to 0.
156 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
158         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
159         (__HAVE_64B_ATOMICS): Define to 0.
161 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
163         [BZ #17885]
164         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
165         value to set as new flag.
167         [BZ #16576]
168         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
169         and use _ARCH_PPCSQ instead.
170         (__ieee754_sqrt): Likewise.
171         (__ieee754_sqrtf): Likewise.
172         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
173         _ARCH_PPCSQ is defined.
174         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
175         fsqrt instruction.
176         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
177         _ARCH_PPCSQ is defined.
178         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
179         fsqrts instruction.
180         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
182 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
184         * iconv/loop.c: Suppress array out of bound warning caused by GCC
185         bug (GCC BZ #64739).
187 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
189         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
190         Mark _retval as used.
191         (lll_futex_wake_unlock): Likewise.
192         (lll_futex_timed_wait_requeue_pi): Likewise.
194         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
195         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
196         register variables.
198         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
199         libm_hidden_def.
201         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
202         (__bswap_64): Mark as __always_inline.
204 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
206         [BZ #15378]
207         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
208         when none of the search directories exist.
210 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
212         [BZ #17869]
213         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
214         power8 in .machine directive.
216         [BZ #17868]
217         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
218         set dependency from opd value.
220 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
223         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
224         architecture.
226 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
228         [BZ #17870]
229         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
230         with uint64_t.
231         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
232         (uint64_t) 1.
233         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
234         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
235         Replace 1UL with (uint64_t) 1.
236         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
237         int with uint64_t.
239 2015-01-23  Roland McGrath  <roland@hack.frob.com>
241         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
242         (if_freenameindex): Likewise.
244         * resource/getrlimit64.c: Add missing libc_hidden_def.
246 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
248         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
249         __label__.
250         (_FP_FMA): Likewise.
251         (_FP_TO_INT_ROUND): Likewise.
252         (_FP_FROM_INT): Likewise.
254 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
256         [BZ #16418]
257         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
258         Make code racy and cancel safe.
260 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
262         * sysdeps/arm/unwind-resume.h: Fix copyright year.
263         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
264         attribution.
266         * pwd/tst-getpw.c: Rewrite.
268         [BZ #17702]
269         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
270         (modules-names): Add moddummy1 and moddummy2.
271         ($(objpfx)tst-rec-dlopen): Define.
272         * dlfcn/moddummy1.c: New file.
273         * dlfcn/moddummy2.c: New file.
274         * dlfcn/tst-rec-dlopen.c: New file.
275         * elf/dl-cache.c (_dl_load_cache_lookup):
276         Return char*. Copy result with alloca/strcpy/strdup.
277         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
278         returns char*. Free cached. If not saving realname
279         free cached.
280         * elf/dl-open.c (dl_open_worker): Do not assert that
281         _r_debug->r_state is RT_CONSISTENT.
282         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
283         returns char*.
285 2015-01-21  Torvald Riegel  <triegel@redhat.com>
286             Carlos O'Donell  <carlos@redhat.com>
288         [BZ #12674]
289         * nptl/sem_waitcommon.c: New file.
290         * nptl/sem_wait.c: Include sem_waitcommon.c.
291         (__sem_wait_cleanup, do_futex_wait): Remove.
292         (__new_sem_wait): Adapt.
293         (__new_sem_trywait): New function.
294         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
295         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
296         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
297         (sem_timedwait): Adapt.
298         * nptl/sem_post.c (__new_sem_post): Adapt.
299         (futex_wake): New function.
300         (__old_sem_post): Add release MO fence.
301         * nptl/sem_open.c (sem_open): Adapt.
302         * nptl/sem_init.c (__new_sem_init): Adapt.
303         (futex_private_if_supported): New function.
304         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
305         (__old_sem_getvalue): Add using previous code.
306         * sysdeps/nptl/internaltypes.h: Adapt.
307         * nptl/tst-sem13.c (do_test): Adapt.
308         * nptl/tst-sem11.c (main): Adapt.
309         * nptl/sem_trywait.c: Remove.
310         * nptl/DESIGN-sem.txt: Remove.
311         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
312         (gen-as-const-headers): Remove structsem.sym.
313         * nptl/structsem.sym: Remove.
314         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
315         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
316         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
317         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
318         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
319         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
320         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
321         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
322         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
323         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
324         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
325         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
326         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
327         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
328         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
329         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
330         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
331         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
332         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
333         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
334         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
335         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
337 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
339         * INSTALL: Regenerated.
341         * po/libc.pot: Regenerated.
343 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
344             Sandra Loosemore  <sandra@codesourcery.com>
345             Andrew Jenner  <andrew@codesourcery.com>
346             Joseph Myers  <joseph@codesourcery.com>
347             Nathan Sidwell  <nathan@codesourcery.com>
349         * NEWS: Mention new Nios II port.
350         * sysdeps/nios2/Implies: New file.
351         * sysdeps/nios2/Makefile: New file.
352         * sysdeps/nios2/Subdirs: New file.
353         * sysdeps/nios2/Versions: New file.
354         * sysdeps/nios2/__longjmp.S: New file.
355         * sysdeps/nios2/abort-instr.h: New file.
356         * sysdeps/nios2/backtrace.c: New file.
357         * sysdeps/nios2/bits/endian.h: New file.
358         * sysdeps/nios2/bits/fenv.h: New file.
359         * sysdeps/nios2/bits/link.h: New file.
360         * sysdeps/nios2/bits/setjmp.h: New file.
361         * sysdeps/nios2/bsd-_setjmp.S: New file.
362         * sysdeps/nios2/bsd-setjmp.S: New file.
363         * sysdeps/nios2/configure: New generated file.
364         * sysdeps/nios2/configure.ac: New file.
365         * sysdeps/nios2/crti.S: New file.
366         * sysdeps/nios2/crtn.S: New file.
367         * sysdeps/nios2/dl-init.c: New file.
368         * sysdeps/nios2/dl-machine.h: New file.
369         * sysdeps/nios2/dl-sysdep.h: New file.
370         * sysdeps/nios2/dl-tls.h: New file.
371         * sysdeps/nios2/dl-trampoline.S: New file.
372         * sysdeps/nios2/gccframe.h: New file.
373         * sysdeps/nios2/gmp-mparam.h: New file.
374         * sysdeps/nios2/jmpbuf-offsets.h: New file.
375         * sysdeps/nios2/jmpbuf-unwind.h: New file.
376         * sysdeps/nios2/ldsodefs.h: New file.
377         * sysdeps/nios2/libc-tls.c: New file.
378         * sysdeps/nios2/libm-test-ulps: New file.
379         * sysdeps/nios2/machine-gmon.h: New file.
380         * sysdeps/nios2/math-tests.h: New file.
381         * sysdeps/nios2/math_private.h: New file.
382         * sysdeps/nios2/memusage.h: New file.
383         * sysdeps/nios2/nptl/Makefile: New file.
384         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
385         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
386         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
387         * sysdeps/nios2/nptl/pthreaddef.h: New file.
388         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
389         * sysdeps/nios2/nptl/tls.h: New file.
390         * sysdeps/nios2/preconfigure: New file.
391         * sysdeps/nios2/s_fma.c: New file.
392         * sysdeps/nios2/s_fmaf.c: New file.
393         * sysdeps/nios2/setjmp.S: New file.
394         * sysdeps/nios2/sfp-machine.h: New file.
395         * sysdeps/nios2/sotruss-lib.c: New file.
396         * sysdeps/nios2/stackguard-macros.h: New file.
397         * sysdeps/nios2/stackinfo.h: New file.
398         * sysdeps/nios2/start.S: New file.
399         * sysdeps/nios2/sysdep.h: New file.
400         * sysdeps/nios2/tls-macros.h: New file.
401         * sysdeps/nios2/tst-audit.h: New file.
402         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
403         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
404         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
405         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
406         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
407         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
408         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
409         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
410         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
411         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
412         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
413         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
414         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
415         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
416         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
417         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
418         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
419         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
420         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
421         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
422         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
423         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
424         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
425         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
426         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
427         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
428         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
429         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
430         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
431         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
432         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
433         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
434         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
435         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
436         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
437         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
438         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
439         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
440         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
441         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
442         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
443         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
444         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
445         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
447 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
449         [BZ #17844]
450         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
451         (getutent): Use weak_alias in non SHARED case
452         and default_symbol_version in SHARED case.
453         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
454         (getutent_r, pututline): Likewise.
455         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
456         (getutid): Likewise.
457         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
458         (getutid_r): Likewise.
459         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
460         (getutline): Likewise.
461         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
462         (getutline_r): Likewise.
463         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
464         (updwtmp): Likewise.
466 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
468         [BZ #17848]
469         * sysdeps/s390/s390-32/memcmp.S
470         (memcmp_g5): Rename to __memcmp_g5.
471         * sysdeps/s390/s390-32/memcpy.S
472         (memcpy_g5): Rename to __memcpy_g5.
473         Jump to __memcpy_mvcle instead of memcpy_mvcle.
474         (memcpy_mvcle) Rename to __memcpy_mvcle.
475         * sysdeps/s390/s390-32/memset.S
476         (memset_g5): Rename to __memset_g5.
477         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
478         (IFUNC_RESOLVE): Prefix ifunc-resolve function
479         and use prefixed functions.
480         * sysdeps/s390/s390-32/multiarch/memcmp.S
481         (memcmp_z196): Rename to __memcmp_z196.
482         (memcmp_z10): Rename to __memcmp_z10.
483         (memcmp): Set alias to __memcmp_g5.
484         (bcmp): Set alias to __memcmp_g5.
485         * sysdeps/s390/s390-32/multiarch/memcpy.S
486         (memcpy_z196): Rename to __memcpy_z196.
487         Jump to __memcpy_mvcle instead of memcpy_mvcle.
488         (memcpy_z10): Rename to __memcpy_z10.
489         Jump to __memcpy_mvcle instead of memcpy_mvcle.
490         (memcpy): Set alias to __memcpy_g5.
491         * sysdeps/s390/s390-32/multiarch/memset.S
492         (memset_z196): Rename to __memset_z196.
493         Jump to __memset_mvcle instead of memset_mvcle.
494         (memset_z10): Rename to __memset_z10.
495         Jump to __memset_mvcle instead of memset_mvcle.
496         (memset_mvcle) Rename to __memset_mvcle.
497         (memset): Set alias to __memset_g5.
498         * sysdeps/s390/s390-64/memcmp.S
499         (memcmp_z900): Rename to __memcmp_z900.
500         * sysdeps/s390/s390-64/memcpy.S
501         (memcpy_z900): Rename to __memcpy_z900.
502         Jump to __memcpy_mvcle instead of memcpy_mvcle.
503         (memcpy_mvcle) Rename to __memcpy_mvcle.
504         * sysdeps/s390/s390-64/memset.S
505         (memset_z900): Rename to __memset_z900.
506         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
507         (IFUNC_RESOLVE): Prefix ifunc-resolve function
508         and use prefixed functions.
509         * sysdeps/s390/s390-64/multiarch/memcmp.S
510         (memcmp_z196): Rename to __memcmp_z196.
511         (memcmp_z10): Rename to __memcmp_z10.
512         (memcmp): Set alias to __memcmp_z900.
513         (bcmp): Set alias to __memcmp_z900.
514         * sysdeps/s390/s390-64/multiarch/memcpy.S
515         (memcpy_z196): Rename to __memcpy_z196.
516         Jump to __memcpy_mvcle instead of memcpy_mvcle.
517         (memcpy_z10): Rename to __memcpy_z10.
518         Jump to __memcpy_mvcle instead of memcpy_mvcle.
519         (memcpy): Set alias to __memcpy_z900.
520         * sysdeps/s390/s390-64/multiarch/memset.S
521         (memset_z196): Rename to __memset_z196.
522         Jump to __memset_mvcle instead of memset_mvcle.
523         (memset_z10): Rename to __memset_z10.
524         Jump to __memset_mvcle instead of memset_mvcle.
525         (memset_mvcle) Rename to __memset_mvcle.
526         (memset): Set alias to __memset_z900.
528 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
530         [BZ #17748]
531         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
532         __fesetenv instead of fesetenv.
534 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
536         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
537         macro.
539 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
541         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
542         regression on LE.
544         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
545         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
546         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
547         strncmp-power8 object.
548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
549         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
550         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
551         * NEWS: Update.
553 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
554             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
556         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
557         trailing byte check.
559 2015-01-13  David S. Miller  <davem@davemloft.net>
561         * include/signal.h (__sigreturn): Guard with __USE_MISC.
563 2015-01-13  Roland McGrath  <roland@hack.frob.com>
565         * login/logout.c (logout): Use memset rather than bzero.
566         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
567         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
568         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
569         (_gethtbyaddr): Likewise.
570         * locale/programs/simple-hash.c (bcopy): Macro removed.
572 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
574         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
575         Add strcmp-power8 object.
576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
577         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
578         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
579         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
580         __strcmp_power8 implementation.
581         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
582         * NEWS: Update.
584         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
585         Add strncpy-power8 and stpncpy-power8 objects.
586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
587         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
588         implementations.
589         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
590         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
591         __stpncpy_power8 implementation.
592         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
593         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
594         __strncpy_power8 implementation.
595         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
596         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
597         * NEWS: Update.
599         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
600         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
601         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
603         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
604         strncat-power8 object.
605         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
606         __strcat_power8 implementation.
607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
608         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
609         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
610         optimized strcat for power8.
612         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
613         strcpy-power8 and stpcpy-power8 objects.
614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
615         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
616         implementations.
617         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
618         multiarch stpcpy implementation for POWER8.
619         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
620         multiarch strcpy implementation for POWER8.
621         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
622         __strcpy_power8 function.
623         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
624         stpcpy for POWER8.
625         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
626         strcpy for POWER8.
627         * NEWS: Update.
629 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
631         [BZ #16009]
632         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
633         weights and rules. Use do_xfrm_cached if data fits in cache,
634         do_xfrm otherwise.  Moved former main loop to...
635         * (do_xfrm_cached): New function.
636         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
637         find_idx, find_position and stack_push.
638         * (find_idx): New function.
639         * (find_position): Likewise.
640         * localedata/sort-test.sh: Added test run for do_xfrm.
641         * localedata/xfrm-test.c (main): Added command line option
642         -nocache to run the test with strings that are too large for
643         the STRXFRM cache.
645 2015-01-13  Torvald Riegel  <triegel@redhat.com>
647         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
648         variable to lll_futex_wake call, not the value itself.
650 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
652         [BZ #17803]
653         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
654         twom64.  Adjust value to 0x1p-64L.
655         (__scalblnl): Only return standard underflowing result for K <=
656         -64 not K <= -63; adjust exponent for underflowing result by 64
657         not 63.
658         * math/libm-test.inc (scalbn_test_data): Add more tests.
659         (scalbln_test_data): Likewise.
661         [BZ #17834]
662         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
663         0x1p63L.
664         (__scalblnl): Get new exponent of adjusted subnormal value from ES
665         not HX.
666         * math/libm-test.inc (scalbn_test_data): Add more tests.
667         (scalbln_test_data): Likewise.
669 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
670             Stefani Seibold  <stefani@seibold.net>
672         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
673         (sysdep_routines): Add dl-vdso here, ...
674         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
675         (sysdep_routines): ... not here.
676         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
677         fallback when vDSO is not presented.
678         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
679         Define with libc_hidden_proto/libc_hidden_data_def definitions.
680         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
681         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
682         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
683         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
684         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
685         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
686         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
687         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
688         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
689         fallback configurable symbol when vDSO is not available.
690         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
691         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
692         be able to redefine fallback symbol when vDSO is not available.
693         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
694         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
696 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
698         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
699         (TLS_INIT_TP): Add tm_capable initialization.
700         (TLS_DEFINE_INIT_TP): Likewise.
701         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
702         TCB.
703         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
704         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
705         calculation.
706         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
707         transactoion is lock elision is built and TCB tm_capable is set.
708         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
710         (INTERNAL_SYSCALL_NCS): Likewise.
711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
712         (INTERNAL_SYSCALL_NCS): Likewise.
713         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
715         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
716         for powerpc.
717         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
718         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
719         and remove it for 32 bits case.
720         [pthread_rwlock_t] (__rwelision): New field for lock elision.
721         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
722         initialization.
723         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
724         Disable lock elision with rdlocks if elision is not available.
726         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
727         (sysdep_routines): Add lock elision objects.
728         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
729         [pthread_mutex_t] (__spins): Rework to add lock elision field.
730         [pthread_mutex_t] (__elision): Add field.
731         [__PTHREAD_SPINS]: Adjust to init lock elision field.
732         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
733         elision definitions for powerpc.
734         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
735         implementation of lock elision for powerpc.
736         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
737         implementation of timed lock elision for powerpc.
738         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
739         implementation of trylock with lock elision for powerpc.
740         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
741         implementaion of unlock for lock elision for powerpc.
742         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
743         automatic enable lock elision for mutexes.
744         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
745         transaction execution definitions for powerpc.
746         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
747         definitions.
748         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
749         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
750         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
751         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
752         * NEWS: Update.
754 2015-01-09  Roland McGrath  <roland@hack.frob.com>
756         * sysdeps/posix/shm-directory.c: Use <> rather than ""
757         for #include of <shm-directory.h>.
759 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
761         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
762         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
764 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
766         [BZ #17791]
767         * NEWS: Mention bug fix.
768         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
769         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
770         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
772 2015-01-09  Torvald Riegel <triegel@redhat.com>
774         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
776 2015-01-09  Torvald Riegel <triegel@redhat.com>
778         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
780 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
782         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
783         pointer and cast to uintptr_t.
785 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
787         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
788         removed.
789         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
791 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
793         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
794         of 0.
796 2015-01-08  Roland McGrath  <roland@hack.frob.com>
798         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
799         <nptl/pthreadP.h> instead.
800         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
802         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
803         already defined.
804         [__SIGRTMIN] (init): Function removed.
805         [__SIGRTMIN] (initialized): Variable removed.
806         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
807         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
808         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
809         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
810         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
811         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
812         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
813         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
814         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
815         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
816         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
817         * sysdeps/nptl/allocrtsig.c: New file.
818         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
819         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
820         * sysdeps/generic/testrtsig.h: File removed.
822         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
823         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
825         * nptl/nptl-init.c (pthread_functions): Conditionalize
826         .ptr__nptl_setxid initialization on [SIGSETXID].
828         * sysdeps/nptl/sys/procfs.h: New file.
829         * nptl_db/Makefile (headers): Add it.
830         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
832         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
833         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
834         * nptl/pthread_attr_setaffinity.c: Include it.
835         * nptl/pthread_setattr_default_np.c: Likewise.
836         * nptl/check-cpuset.h: New file.
838 2015-01-08  Richard Henderson  <rth@redhat.com>
840         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
841         (CFLAGS-tst-execstack-prog.c): Likewise.
842         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
844 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
845             Sandra Loosemore  <sandra@codesourcery.com>
846             Andrew Jenner  <andrew@codesourcery.com>
847             Joseph Myers  <joseph@codesourcery.com>
848             Nathan Sidwell  <nathan@codesourcery.com>
850         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
851         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
852         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
853         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
854         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
855         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
856         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
857         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
858         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
859         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
860         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
861         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
862         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
863         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
864         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
865         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
866         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
868 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
870         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
871         timespec struct member in syscall macro.
872         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
873         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
874         first timeval struct member in syscall macro.
875         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
877 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
879         [BZ #17748]
880         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
881         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
882         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
883         __feupdateenv and define as weak alias of __feupdateenv.  Use
884         libm_hidden_weak.
885         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
886         libm_hidden_def.
887         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
888         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
889         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
890         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
891         libm_hidden_def.
892         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
893         __feupdateenv and define as weak alias of __feupdateenv.  Use
894         libm_hidden_weak.
895         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
896         libm_hidden_def.
897         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
898         __feupdateenv and define as weak alias of __feupdateenv.  Use
899         libm_hidden_weak.
900         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
901         libm_hidden_def.
902         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
903         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
904         (__feupdateenv): Likewise.
905         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
906         __feupdateenv and define as weak alias of __feupdateenv.  Use
907         libm_hidden_weak.
908         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
909         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
910         libm_hidden_def.
911         * sysdeps/tile/math_private.h (__feupdateenv): New inline
912         function.
913         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
914         libm_hidden_def.
915         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
916         __feupdateenv instead of feupdateenv.
917         (default_libc_feupdateenv_test): Likewise.
918         (libc_feresetround_ctx): Likewise.
920 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
922         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
923         prototype.
925 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
927         * posix/regcomp.c (parse_bracket_exp): Initialize type to
928         COLL_SYM in a couple of places to avoid uninitialized variable
929         wanings on tilegx gcc 4.8.2.
931 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
933         * sysdeps/aarch64/strcpy.S: New file.
934         * sysdeps/aarch64/stpcpy.S: New file.
935         * NEWS: Updated.
937 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
939         * sysdeps/aarch64/strrchr.S: New file.
940         * NEWS: Updated.
942 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
944         [BZ #17658]
945         * stdlib/setenv.c: Fix memory leak when setting large,
946         duplicate string.
948 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
950         [BZ #17273]
951         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
952         and tabs from buffer before parsing fstab entry.
953         * misc/tst-mntent.c (main): Add test for mount entry with
954         trailing spaces and tabs.
956 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
958         [BZ #17748]
959         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
960         * math/fesetround.c (fesetround): Rename to __fesetround and
961         define as weak alias of __fesetround.  Use libm_hidden_weak.
962         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
963         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
964         * sysdeps/arm/fesetround.c (fesetround): Likewise.
965         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
966         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
967         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
968         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
969         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
970         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
971         __fesetround_inline.
972         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
973         __fesetround_inline instead of __fesetround.
974         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
975         __fesetround and define as weak alias of __fesetround.  Use
976         libm_hidden_weak.  Call __fesetround_inline instead of
977         __fesetround.
978         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
979         __fesetround and define as weak alias of __fesetround.  Use
980         libm_hidden_weak.
981         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
982         Likewise.
983         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
984         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
985         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
986         * sysdeps/tile/math_private.h (__fesetround): New inline function.
987         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
988         __fesetround and define as weak alias of __fesetround.  Use
989         libm_hidden_weak.
990         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
991         __fesetround instead of fesetround.
992         (default_libc_feholdexcept_setround): Likewise.
993         (libc_feholdsetround_ctx): Likewise.
994         (libc_feholdsetround_noex_ctx): Likewise.
996         [BZ #17748]
997         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
998         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
999         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1000         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1001         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1002         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1003         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1004         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1005         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1006         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1007         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1008         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1009         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1010         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1011         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1012         libm_hidden_def.
1013         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1014         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1015         Likewise.
1016         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1017         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1018         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1019         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1020         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1021         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1022         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1023         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1024         __fesetenv instead of fesetenv.
1025         (libc_feresetround_noex_ctx): Likewise.
1026         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1027         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1028         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1029         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1030         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1031         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1032         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1033         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1034         (__feupdateenv): Likewise.
1035         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1036         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1037         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1038         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1040 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1042         [BZ #17806]
1043         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1044         addresses have been freed.
1046 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1048         * resolv/res_init.c (__res_vinit): Improve comments about nserv
1049         and nservall.
1051 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
1053         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1054         Clean up check_pf allocation pattern. addresses
1056 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1058         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1059         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1060         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1061         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1062         * nptl/pthread_join.c (pthread_join): Likewise.
1063         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1064         * sysdeps/posix/waitid.c (__waitid): Likewise.
1065         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1066         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1067         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1068         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1069         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1070         Likewise.
1071         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1072         (__libc_pread64): Likewise.
1073         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1074         (__libc_pwrite): Likewise.
1075         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1076         (__libc_pwrite64): Likewsie.
1077         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1078         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1079         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1080         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1081         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1082         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1083         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1085         Likewise.
1086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1087         (__libc_pread64): Likewise.
1088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1089         Likewise.
1090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1091         (__libc_pwrite64): Likewise.
1092         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1093         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1094         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1095         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1096         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1097         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1098         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1099         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1100         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1101         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1102         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1103         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1104         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1105         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1106         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1107         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1108         Likewise.
1110 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1112         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1113         (CFLAGS-test-double.c): Likewise.
1114         (CFLAGS-test-ldouble.c): Likewise.
1115         (CPPFLAGS-test-ifloat.c): Likewise.
1116         (CPPFLAGS-test-idouble.c): Likewise.
1117         (CPPFLAGS-test-ildoubl.c): Likewise.
1118         (CFLAGS-test-test-fenv.c): Remove variable.
1119         (CFLAGS-test-misc.c): Likewise.
1121 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
1123         [BZ #17797]
1124         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1125         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1126         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1127         CLOCKS_PER_SEC == 1000000.
1128         * time/clocktest.c (main): Replace %ld with %jd and cast to
1129         intmax_t.
1131 2015-01-05  Roland McGrath  <roland@hack.frob.com>
1133         * sysdeps/generic/unwind-resume.h: New file.
1134         * sysdeps/gnu/unwind-resume.c: Include it.
1135         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1136         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1137         argument list.
1138         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1139         global rather than static.
1140         (_Unwind_Resume): Update user.
1141         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1142         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
1143         rather than static.  Add __attribute__ ((cold)).
1144         (_Unwind_Resume, __gcc_personality_v0): Update callers.
1145         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1146         * sysdeps/arm/arm-unwind-resume.S: New file.
1147         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1148         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1149         * sysdeps/arm/Makefile [$(subdir) = csu]
1150         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1151         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1152         Add rt-arm-unwind-resume.
1153         [$(subdir) = nptl]
1154         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1155         Add pt-arm-unwind-resume.
1156         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1157         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1159 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1161         [BZ #17748]
1162         * include/fenv.h (__feholdexcept): Declare.  Use
1163         libm_hidden_proto.
1164         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1165         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
1166         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1167         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1168         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1169         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1170         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1171         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1172         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1173         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1174         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1175         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1176         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1177         (feholdexcept): Likewise.
1178         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1179         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1180         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1181         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1182         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1183         __feholdexcept instead of feholdexcept.
1184         (default_libc_feholdexcept_setround): Likewise.
1186 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1188         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1189         to avoid using stl/str to align destination.
1191 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1193         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1195 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1197         [BZ #17796]
1198         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1199         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1200         Define as weak alias not strong alias.
1202 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1204         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1205         bltzal with addiupc.
1206         (RTLD_START): Ditto.
1208 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
1210         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1211         for __vdso_* functions in declarations.
1212         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1213         definitions.
1214         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1215         INTERNAL_VSYSCALL): Use struct return types to check for error.
1217         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1218         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1219         function with cast from llround().
1220         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1221         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1222         Define.
1224 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1226         [BZ #17793]
1227         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1228         Define as weak alias not strong alias.
1230         [BZ #17635]
1231         * ctype/ctype-c99.c: New file.  isblank implementation moved from
1232         ...
1233         * ctype/ctype-extn.c: ... here.
1234         (__isblank_l): Move to ...
1235         * ctype/ctype-c99_l.c: ... here.  New file.
1236         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1237         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1238         Remove variable.
1239         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1240         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1241         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1242         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1243         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1245         [BZ #17777]
1246         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1247         (posix_fadvise64): Define as weak alias not strong alias.
1248         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1249         (posix_fallocate64): Likewise.
1250         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1251         Remove variable.
1252         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1253         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1254         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1255         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1256         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1258 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
1260         [BZ #16191]
1261         * NEWS: Mention bug fix.
1262         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1263         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1264         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1265         (HOST_STACK_END_ADDR): Likewise.
1267 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1269         [BZ #17748]
1270         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
1271         * math/fegetround.c (fegetround): Rename to __fegetround and
1272         define as weak alias of __fegetround.  Use libm_hidden_weak.
1273         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1274         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1275         * sysdeps/arm/fegetround.c (fegetround): Likewise.
1276         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1277         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1278         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1279         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1280         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1281         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1282         Undefine after rather than before function definition; use
1283         parentheses around function name in definition.
1284         (__fegetround): Also undefine macro after function definition.
1285         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1286         __fegetround and define as weak alias of __fegetround.  Use
1287         libm_hidden_weak.  Do not undefine as macro.
1288         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1289         Likewise.
1290         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1291         __fegetround and define as weak alias of __fegetround.  Use
1292         libm_hidden_weak.
1293         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1294         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1295         * sysdeps/tile/math_private.h (__fegetround): New inline function.
1296         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1297         __fegetround and define as weak alias of __fegetround.  Use
1298         libm_hidden_weak.
1299         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1300         __fegetround instead of fegetround.
1302         [BZ #17782]
1303         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1304         Condition macro definition on [__USE_MISC].
1306         [BZ #17781]
1307         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1308         (struct sigaction): Change type of sa_flags field to int.
1310         [BZ #17780]
1311         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1312         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1313         __glibc_reserved0.
1315         * nptl/version.c (banner): Use single year in copyright notice.
1317         * NEWS: Update copyright dates.
1318         * catgets/gencat.c (print_version): Likewise.
1319         * csu/version.c (banner): Likewise.
1320         * debug/catchsegv.sh: Likewise.
1321         * debug/pcprofiledump.c (print_version): Likewise.
1322         * debug/xtrace.sh (do_version): Likewise.
1323         * elf/ldconfig.c (print_version): Likewise.
1324         * elf/ldd.bash.in: Likewise.
1325         * elf/pldd.c (print_version): Likewise.
1326         * elf/sotruss.sh: Likewise.
1327         * elf/sprof.c (print_version): Likewise.
1328         * iconv/iconv_prog.c (print_version): Likewise.
1329         * iconv/iconvconfig.c (print_version): Likewise.
1330         * locale/programs/locale.c (print_version): Likewise.
1331         * locale/programs/localedef.c (print_version): Likewise.
1332         * login/programs/pt_chown.c (print_version): Likewise.
1333         * malloc/memusage.sh (do_version): Likewise.
1334         * malloc/memusagestat.c (print_version): Likewise.
1335         * malloc/mtrace.pl: Likewise.
1336         * manual/libc.texinfo: Likewise.
1337         * nptl/version.c (banner): Likewise.
1338         * nscd/nscd.c (print_version): Likewise.
1339         * nss/getent.c (print_version): Likewise.
1340         * nss/makedb.c (print_version): Likewise.
1341         * posix/getconf.c (main): Likewise.
1342         * scripts/test-installation.pl: Likewise.
1343         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1345 2015-01-02  Will Newton  <will.newton@linaro.org>
1347         * sysdeps/arm/armv7/configure: Removed.
1348         * sysdeps/arm/armv7/configure.ac: Likewise.
1350 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1352         * All files with FSF copyright notices: Update copyright dates
1353         using scripts/update-copyrights.
1354         * intl/plural.c: Regenerated.
1355         * locale/programs/charmap-kw.h: Likewise.
1356         * locale/programs/locfile-kw.h: Likewise.
1358 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1360         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1362 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1364         [BZ #17748]
1365         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1366         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1367         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1368         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1369         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1370         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1371         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1372         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1373         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1374         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1375         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1376         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1377         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1378         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1379         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1380         libm_hidden_def.
1381         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1382         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1383         Likewise.
1384         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1385         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1386         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1387         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1388         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1389         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1390         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1391         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1392         __fegetenv instead of fegetenv.
1393         (libc_feholdsetround_noex_ctx): Likewise.
1395 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1397         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1398         (Elf_MIPS_ABIFlags_v0): New structure.
1399         (EF_MIPS_FP64): Define.
1400         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1401         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1402         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1403         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1404         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1405         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1406         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1407         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1408         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1409         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1410         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1411         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1412         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1413         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1414         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1415         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1416         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1417         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1418         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1419         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1420         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1421         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1422         field.
1423         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1424         EF_MIPS_FP64.
1425         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1426         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1427         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1428         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1429         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1430         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1431         * sysdeps/mips/tst-abi-interlink.c: Likewise.
1432         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1433         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1434         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1435         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1436         record the current FP ABI extension.
1437         (mips-mode-switch): Define to show if kernel headers support mode
1438         switching.
1439         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1440         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1441         supported SYSV ABI version to 3.
1442         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1443         feature.
1445 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1446             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1448         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1449         path.
1450         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1452 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1454         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1455         __fegetround and redefine to call __fegetround.  Remove condition
1456         on [!__NO_MATH_INLINES].
1457         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1458         function.
1459         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1460         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1461         Remove macro.
1462         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1463         instead of <fenv_libc.h>.
1464         (__llrintl): Call fegetround instead of __fegetround.
1465         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1466         instead of <fenv_libc.h>.
1467         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1468         (__lrintl): Call fegetround instead of __fegetround.
1469         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1470         instead of <fenv_libc.h>.
1471         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1472         (__rintl): Call fegetround instead of __fegetround.
1474 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1476         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1477         arrays.
1479 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1481         [BZ #17775]
1482         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1483         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1484         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1486 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1488         * sysdeps/i386/tls-macros.h: Include <features.h>.
1489         (TLS_LE): Use non-PIC version for GCC >= 5.0.
1490         (TLS_IE): Likewise.
1491         (TLS_LD): Likewise.
1492         (TLS_GD): Likewise.
1493         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1494         define for GCC >= 5.0.
1496 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
1498         * math/test-fenv.c (test_single_exception, set_single_exc,
1499         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1500         feexcp_mask_test, feenable_test, fe_single_test): Add
1501         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1502         case where they are not used.
1503         * math/libm-test.inc: Likewise.
1504         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1505         unused in the absence of FP rounding/exception support.
1506         * stdio-common/tst-printf-round.c: Likewise.
1507         * stdlib/tst-strtod-round.c: Likewise.
1508         * stdlib/tst-strtod-underflow.c: Likewise.
1510 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
1512         [BZ #17723]
1513         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1514         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1515         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1516         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1517         libm_hidden_weak.
1518         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1519         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1520         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1521         libm_hidden_def.
1522         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1523         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1524         libm_hidden_weak.
1525         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1526         Likewise.
1527         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1528         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1529         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1530         libm_hidden_weak.
1531         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1532         libm_hidden_def.
1533         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1534         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1535         (__feraiseexcept): Likewise.
1536         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1537         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1538         libm_hidden_weak.
1539         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1540         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1541         libm_hidden_def.
1542         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1543         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1544         Use libm_hidden_def.
1545         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1546         libm_hidden_def.
1547         (feraiseexcept): Define as weak not strong alias.  Use
1548         libm_hidden_weak.
1549         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1550         New inline function.  Factored out of ...
1551         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
1552         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1553         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1554         feraiseexcept.
1555         * math/w_acos.c (__acos): Likewise.
1556         * math/w_asin.c (__asin): Likewise.
1557         * math/w_ilogb.c (__ilogb): Likewise.
1558         * math/w_j0.c (y0): Likewise.
1559         * math/w_j1.c (y1): Likewise.
1560         * math/w_jn.c (yn): Likewise.
1561         * math/w_log.c (__log): Likewise.
1562         * math/w_log10.c (__log10): Likewise.
1563         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1564         * sysdeps/aarch64/fpu/math_private.h
1565         (libc_feupdateenv_test_aarch64): Likewise.
1566         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1567         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1568         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1569         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1570         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1571         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1572         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1573         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1574         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1575         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1577 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1579         [BZ #17732]
1580         * io/test-utime.c (main): Replace %ld with %jd and cast to
1581         intmax_t.
1582         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1583         * nptl/tst-mutex5.c: Include <stdint.h>.
1584         (do_test): Replace %ld with %jd and cast to intmax_t.
1585         * posix/tst-regex.c (run_test): Likewise.
1586         (run_test_backwards): Likewise.
1587         * rt/tst-clock.c: Include <stdint.h>.
1588         (clock_test): Replace %ld with %jd and cast to intmax_t.
1589         * rt/tst-cpuclock1.c: Include <stdint.h>.
1590         (do_test): Replace %lu with %ju and cast to uintmax_t.
1591         * rt/tst-cpuclock2.c: Include <stdint.h>.
1592         (do_test): Replace %lu with %ju and cast to uintmax_t.
1593         * rt/tst-mqueue1.c: Include <stdint.h>.
1594         (check_attrs): Replace %ld with %jd and cast to intmax_t.
1595         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1596         intmax_t.
1597         * rt/tst-mqueue4.c (do_test): Likewise.
1598         * rt/tst-timer4.c: Include <stdint.h>.
1599         (check_ts): Replace %ld with %jd and cast to intmax_t.
1600         (do_test): Likewise.
1601         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1602         and cast to intmax_t.
1603         * sysdeps/pthread/tst-timer.c (main): Likewise.
1604         * time/clocktest.c (main): Likewise.
1605         * time/tst-posixtz.c (do_test): Likewise.
1606         * timezone/tst-timezone.c (main): Likewise.
1608 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1609             H.J. Lu  <hongjiu.lu@intel.com>
1611         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1612         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1613         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1614         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1615         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1616         version if bit_Fast_Unaligned_Load is set.
1617         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1618         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1619         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1620         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1621         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1622         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1623         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1624         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1625         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1626         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1627         to 4.
1628         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1629         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1630         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1631         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1633 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
1635         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1636         instead of #if to avoid a Wundef warning.
1637         * stdlib/tst-limits.c (do_test): Likewise.
1639         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1640         parallel other exception macros.
1641         (fegetenv): Convert from macro to extern inline so that it applies
1642         retroactively to inline functions already seen by the compiler.
1643         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1645         * posix/Makefile (before-compile): Use $(objpfx) for
1646         posix-conf-vars-def.h.
1648 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1650         * posix/getconf.c (main): Use size_t for type of I.
1651         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1652         NSPEC.
1654         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1655         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1656         * posix/posix-envs.def: Likewise.
1657         * sysdeps/posix/sysconf.c: Likewise.
1658         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1659         (specs): Remove array.
1660         * scripts/gen-posix-conf-vars.awk: Support generation of specs
1661         array.
1663         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1664         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1665         (__sysconf): Use CONF_IS_* macros.
1667         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1668         ($(objpfx)posix-conf-vars-def.h): New target.
1669         * posix/posix-conf-vars.list: New file.
1670         * posix/posix-conf-vars.h: New file.
1671         * posix/confstr.c: Include posix-conf-vars.h.
1672         (confstr): Use CONF_IS_* macros.
1673         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
1674         CONF_IS_* macros.
1675         * scripts/gen-posix-conf-vars.awk: New file.
1677 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
1679         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1680         fegetround): Add no-op macros to avoid linknamespace issues.
1682         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1683         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1685         * sysdeps/unix/sysv/linux/tile/sysdep.h
1686         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1687         assembly-specific section to avoid a redefinition warning.
1689         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1690         long before casting to pointer to avoid a cast warning.
1692 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
1694         * sysdeps/tile/tilegx/Implies: New file.
1696 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
1698         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1700 2014-12-23  Florian Weimer  <fweimer@redhat.com>
1702         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1704 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1706         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1707         not define.
1708         * sysdeps/unix/sysv/linux/utimes.c: Do not include
1709         <kernel-features.h>.
1710         (__utimes) [__NR_utimes]: Make code unconditional.
1711         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1712         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1713         (__ASSUME_UTIMES): Do not undefine.
1714         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1715         (__ASSUME_UTIMES): Likewise.
1716         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1717         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1718         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1719         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1721 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1723         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1725 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
1727         [BZ #17747]
1728         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1729         alias to weak alias for j0l, y0l.
1730         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1731         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1733         [BZ #17746]
1734         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1735         conversion.
1737 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1739         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1740         to zero if not already defined.
1742 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1744         [BZ #17724]
1745         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1746         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
1747         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
1748         (char *) casts added.
1749         * sysdeps/ieee754/k_standardf.c: New file.
1750         * sysdeps/ieee754/k_standardl.c: Likewise.
1751         * math/Makefile (libm-support): Remove k_standard.
1752         (libm-calls): Add k_standard.
1754 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1756         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1757         Optimize to avoid an unnecessary FPCR read.
1759 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1761         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1762         Optimize to reduce FPCR/FPSR accesses.
1764 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1766         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1767         Call libc_fetestexcept_aarch64.
1769 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1771         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1772         Call libc_fesetround_aarch64.
1774 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1776         [BZ #17733]
1777         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1778         (__bind): Do not define as weak alias.
1779         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1780         define.
1781         (__getsockname): Do not define as weak alias.
1783 2014-12-22  Will Newton  <will.newton@linaro.org>
1785         * manual/install.texi: Document that we require bison 2.7
1786         or above.
1787         * INSTALL: Regenerate.
1788         * configure.ac: Use AC_CHECK_PROG_VER instead of
1789         AC_PATH_PROG when checking for bison and check for
1790         version 2.7 or above.
1791         * configure: Regenerate.
1793 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
1795         [BZ #17745]
1796         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1797         * sysdeps/tile/ffsll.c (ffsll): To here.
1799         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1801 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1803         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1804         if not defined.
1805         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1806         definition.
1807         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1808         hidden ___tls_get_addr.
1809         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1810         hidden __tls_get_addr.
1811         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1812         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1813         Likewise.
1815 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
1817         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1818         _dl_init call.
1820 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1822         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1823         from "call _dl_init@PLT".
1824         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1826 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
1828         * manual/search.texi: (Array Sort Function): Clarify stable sorting
1829         guarantees.
1831 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
1833         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1835 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1837         [BZ #17744]
1838         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1839         strnlen.
1841 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1843         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1844         of multu on MIPSr6.
1845         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1846         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1847         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1848         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1849         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1851 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1853         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1854         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1855         (PTR_SUBU): Use subu for mips32r6/mips64r6.
1856         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1857         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1858         mips32r6/mips64r6.
1859         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1861 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
1863         * string/strncat.c (STRNCAT): Simplify implementation.
1865 2014-12-19  David S. Miller  <davem@davemloft.net>
1867         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1868         access the quad as both a long double and as a series of 4 words.
1870         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1871         link_map->l_info array access.
1873 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1875         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1877         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1878         * math/atest-exp2.c (TIMEOUT): Likewise.
1879         * math/atest-sincos.c (TIMEOUT): Likewise.
1881 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1883         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1884         -Wno-error with -fno-builtin-lround.
1886 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1888         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1889         Contains futex constants and functions moved over from ...
1890         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
1891         <lowlevellock-futex.h>.
1892         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1893         (lll_timedwait_tid): Add comments and parentheses around macro
1894         arguments.
1896 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1898         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1899         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
1900         (__lll_private_flag): Remove.
1901         (lll_futex_wait): Likewise.
1902         (lll_futex_timed_wait): Likewise.
1903         (lll_futex_wake): Likewise.
1904         (lll_futex_requeue): Likewise.
1905         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1906         (__lll_timedwait_tid): Spell out argument names.
1907         (lll_timedwait_tid): Add comments and parentheses around macro
1908         arguments.
1909         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1910         LLL_SHARED and LLL_PRIVATE usable from assembly code.
1912 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1914         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1915         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1916         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1917         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1918         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1919         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1920         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1921         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1922         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1923         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1924         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1925         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1926         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1927         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1928         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1929         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1930         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1931         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1932         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1934 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1936         * sysdeps/x86_64/x32/Makefile: New file.
1938 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1940         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1941         1L with (mp_limb_t) 1.
1943 2014-12-17  Roland McGrath  <roland@hack.frob.com>
1945         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1946         * nptl/libc_pthread_init.c: ... here.
1947         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1948         * nptl/register-atfork.c: ... here.
1950         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1951         Use pthread_sigmask rather than INTERNAL_SYSCALL.
1952         Use assert_perror to check its return value.
1953         (__gai_create_helper_thread): Likewise.
1955         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1957         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1959 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
1961         [BZ #17725]
1962         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1963         __profil_counter.
1964         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1965         Likewise.
1966         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1967         Likewise.
1968         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1969         Likewise.
1970         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1971         (profil_counter): Likewise.
1972         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1973         (profil_counter): Likewise.
1974         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1975         Likewise.
1976         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1977         Likewise.
1978         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1979         (profil_counter): Likewise.
1980         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1981         Likewise.
1982         [!__profil_counter] (profil_counter): Define as weak alias of
1983         __profil_counter.
1984         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1985         (profil_counter): Rename to __profil_counter.
1986         [!__profil_counter] (profil_counter): Define as weak alias of
1987         __profil_counter.
1988         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1989         (profil_counter): Rename to __profil_counter.
1990         [!__profil_counter] (profil_counter): Define as weak alias of
1991         __profil_counter.
1992         * sysdeps/posix/profil.c: Update comment referring to
1993         profil_counter.
1994         (__profil): Use __profil_counter instead of profil_counter.
1995         * sysdeps/posix/sprofil.c (profil_counter): Rename to
1996         __profil_counter.  Use __profil_counter_ushort and
1997         __profil_counter_uint in definitions.
1998         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1999         instead of profil_counter_uint and profil_counter_ushort.
2001         [BZ #17722]
2002         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2003         define as weak alias of __inet_makeaddr.
2004         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2005         as weak alias of __inet_addr.
2006         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2007         as weak alias of __inet_pton.  Use libc_hidden_weak.
2008         * include/arpa/inet.h (__inet_pton): Declare.  Use
2009         libc_hidden_proto.
2010         (inet_makeaddr): Don't use libc_hidden_proto.
2011         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
2012         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2013         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
2014         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2015         Remove variable.
2016         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2017         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2019 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
2021         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2023 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2025         * stdio-common/bug-vfprintf-nargs.c (do_test):
2026         Cast value to intptr_t to avoid format warning
2027         for usage with PRIdPTR printing macro.
2029 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2031         * libio/tst-widetext.c (do_test):
2032         Use format type %td instead of %Zd for ptrdiff_t
2033         in order to avoid format warning.
2035 2014-12-17  Andreas Schwab  <schwab@suse.de>
2037         * nscd/mem.c (gc): Add size_t cast to match printf format.
2039 2014-12-16  Roland McGrath  <roland@hack.frob.com>
2041         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2042         (init): Apply PTR_MANGLE to pointers before storing them.
2043         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2044         before using them.
2046 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
2048         [BZ #17719]
2049         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2050         define as weak alias of __memrchr.
2051         (__memrchr): Do not define as strong alias of memrchr.
2052         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2053         Remove variable.
2054         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2055         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2056         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2058         [BZ #17717]
2059         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2060         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
2061         (if_indextoname): Rename to __if_indextoname and define as weak
2062         alias of __if_indextoname.  Use libc_hidden_weak.
2063         (if_freenameindex): Rename to __if_freenameindex and define as
2064         weak alias of __if_freenameindex.
2065         (if_nameindex): Rename to __if_nameindex and define as weak alias
2066         of __if_nameindex.
2067         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2068         __if_nametoindex and define as weak alias of __if_nametoindex.
2069         Use libc_hidden_weak.
2070         (if_freenameindex): Rename to __if_freenameindex and define as
2071         weak alias of __if_freenameindex.
2072         (if_nameindex): Rename to __if_nameindex and define as weak alias
2073         of __if_nameindex.
2074         (if_indextoname): Rename to __if_indextoname and define as weak
2075         alias of __if_indextoname.  Use libc_hidden_weak.
2076         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2077         __if_nametoindex and define as weak alias of __if_nametoindex.
2078         Use libc_hidden_weak.
2079         (if_freenameindex): Rename to __if_freenameindex and define as
2080         weak alias of __if_freenameindex.  Use libc_hidden_weak.
2081         (if_nameindex_netlink): Use __if_freenameindex instead of
2082         if_freenameindex.
2083         (if_nameindex): Rename to __if_nameindex and define as weak alias
2084         of __if_nameindex.  Use libc_hidden_weak.
2085         (if_indextoname): Rename to __if_indextoname and define as weak
2086         alias of __if_indextoname.  Use libc_hidden_weak.
2087         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2088         libc_hidden_proto.
2089         [!_ISOMAC] (__if_freenameindex): Likewise.
2090         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2091         if_nametoindex.
2092         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2093         variable.
2094         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2095         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2096         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2097         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2098         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2099         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2100         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2102         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2103         Remove variable.
2104         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2105         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2107 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2109         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2110         subscript above bounds'
2112         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2113         bounds.
2115 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
2117         * libio/tst-fopenloc.c: Use test-skeleton.c.
2119         * stdlib/tst-bsearch.c: Use test-skeleton.c.
2120         (entry): Rename to ITEM.
2121         (do_test, comp): Adjust.
2123         * stdio-common/tst-fseek.c: Use test-skeleton.c.
2125 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2127         * string/tester.c: Include <libc-internal.h>.
2128         (test_memset): Ignore -Wmemset-transposed-args.
2130 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2132         * misc/tst-mntent2.c (do_test): Fix warning.
2134 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2136         * elf/tst-unique4lib.cc(a): Mark as used.
2138 2014-12-16  Florian Weimer  <fweimer@redhat.com>
2140         [BZ #17630]
2141         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2142         names.
2144 2014-12-16  Allan McRae  <allan@archlinux.org>
2146         * stdio-common/Makefile (tests): Re-add bug26.
2148 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
2150         [BZ #17657]
2151         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2152         static array.
2154 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
2156         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2157         (__lll_lock_wait): Likewise.
2158         (__lll_timedlock_wait): Likewise.
2159         (__lll_timedwait_tid): Likewise.
2160         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2161         (__lll_robust_timedlock_wait): Likewise.
2162         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2163         (lll_cond_trylock): Likewise.
2164         (__lll_lock): Likewise.
2165         (__lll_robust_lock): Likewise.
2166         (__lll_cond_lock): Likewise.
2167         (lll_robust_cond_lock): Likewise.
2168         (__lll_timedlock): Likewise.
2169         (__lll_robust_timedlock): Likewise.
2170         (__lll_unlock): Likewise.
2171         (__lll_robust_unlock): Likewise.
2172         (lll_wait_tid): Likewise.
2173         (lll_timedwait_tid): Likewise.
2175 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2177         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2179 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2181         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2183 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2185         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2186         * stdio-common/tst-sprintf.c: Likewise.
2188 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2190         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2192 2014-12-15  Jeff Law  <law@redhat.com>
2194         [BZ #16617]
2195         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2196         on the heap.  (CVE-2012-3406)
2197         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2198         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
2199         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2201 2014-12-15  Will Newton  <will.newton@linaro.org>
2203         * manual/install.texi: Bump required version of texinfo
2204         to 4.7 from 4.5.
2205         * INSTALL: Regenerated.
2206         * configure.ac: Check for makeinfo version 4.7 and above.
2207         * configure: Regenerated.
2209 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2211         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2212         PREFIX, string constant to insert between directory and name.
2213         * sysdeps/posix/shm_open.c: Update caller.
2214         * sysdeps/posix/shm_unlink.c: Likewise.
2215         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2216         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2217         (SEM_SHM_PREFIX): New macro.
2218         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2219         [$(have-thread-library) = no].
2220         * nptl/Makefile (libpthread-routines): Add shm-directory.
2221         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2222         * sysdeps/nptl/shm-directory.h: New file.
2223         * sysdeps/posix/shm-directory.c
2224         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2225         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2226         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2227         INTERNAL_SYSCALL.
2228         (__where_is_shmfs): Function removed.
2229         (mountpoint, defaultmount, defaultdir, __namedsem_once):
2230         Variables removed.
2231         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2232         Use SHM_GET_NAME.
2233         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
2235         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2236         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2237         unconditional for use inside libpthread.
2238         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2240 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2242         * nptl/pthread_getaffinity.c: New file.
2243         * nptl/pthread_setaffinity.c: New file.
2244         * nptl/pthread_getname.c: New file.
2245         * nptl/pthread_setname.c: New file.
2247         * nptl/pthread_create.c (START_THREAD_DEFN)
2248         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2250 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2251             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2253         * resolv/res_send.c (send_vc): Disable warning resplen may
2254         be used uninitialized.
2256 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2258         * nptl/tst-mutex6.c
2259         (ATTR_NULL): New define checks ATTR against NULL.
2260         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2261         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2263 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
2265         [BZ #17581]
2266         * malloc/hooks.c
2267         (mem2mem_check): Revert my previous change.
2268         (malloc_check_get_size): Revert my previous change.
2269         (mem2chunk_check): Revert my previous change.
2271 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2273         * sysdeps/posix/shm-directory.c: New file.
2274         * sysdeps/posix/shm-directory.h: New file.
2275         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2276         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2277         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
2278         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2279         Transmute EPERM to EACCES.
2280         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2281         from ...
2282         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
2283         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2285 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2287         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2288         pointer and cast to uintptr_t.
2289         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2290         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2291         Add cast to avoid warning.
2292         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2294 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2296         * nptl/semaphore.h: Move to ...
2297         * sysdeps/pthread/semaphore.h: ... here.
2298         * Makefile (installed-headers): Change nptl/semaphore.h to
2299         sysdeps/pthread/semaphore.h.
2301 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2303         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2304         generated error format strings.
2306         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2307         -Wformat-extra-args warnings for scanf formats.
2308         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2309         test of zero-length format (duh).
2310         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2311         corner-case scanf format test.
2312         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2313         generated fprintf format string.
2314         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2315         corner-case sprintf format tests.
2316         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2317         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2318         -Wformat-extra-args warnings throughout.
2319         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2320         (CFLAGS-scanf4.c): Likewise.
2321         (CFLAGS-scanf7.c): Likewise.
2322         (CFLAGS-tst-sprintf.c): Likewise.
2323         (CFLAGS-tst-printf.c): Likewise.
2324         (CFLAGS-tst-printfsz.c): Likewise.
2326 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2328         * include/cpio.h: New file.
2329         * include/fmtmsg.h: Likewise.
2331         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
2332         corresponding format argument to size_t.
2333         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
2334         arguments.
2335         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
2336         corresponding format argument to size_t.
2337         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
2338         arguments.
2339         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
2340         corresponding format argument to size_t.
2341         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2342         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2343         (CFLAGS-tst-mbswcs2.c): Likewise.
2344         (CFLAGS-tst-mbswcs3.c): Likewise.
2345         (CFLAGS-tst-mbswcs4.c): Likewise.
2346         (CFLAGS-tst-mbswcs5.c): Likewise.
2347         (CFLAGS-tst-trans.c): Likewise
2349 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2351         * posix/regexbug1.c (main): Use "%s" format with regerror results,
2352         rather than assuming they won't contain any '%'s.
2354 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
2356         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2357         inhibit_loop_to_libcall to avoid recursive calls.
2358         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2359         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2361 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2363         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2364         prototype.
2366 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2368         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2369         integer value instead of boolean.
2371 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2373         * malloc/malloc.c: Fix powerof2 check.
2375 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2377         * locale/programs/locfile.h (maybe_swap_uint32):
2378         Remove inline and add unused attribute.
2380 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2382         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2383         Truncating assembler expression to a .long expression.
2385 2014-12-11  Andreas Schwab  <schwab@suse.de>
2387         * elf/rtld.c (struct map_args): Constify str member.
2388         (do_preload): Constify fname argument.
2390 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2392         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2393         constants definition.
2395 2014-12-11  Andreas Schwab  <schwab@suse.de>
2397         [BZ #16657]
2398         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2399         FORCE_ELISION instead of DO_ELISION.
2400         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2401         Remove.
2402         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2403         Likewise.
2405         * iconvdata/gconv-modules: Remove duplicate entry.
2407 2014-12-11  Will Newton  <will.newton@linaro.org>
2409         Merge gettext 0.19.3 into intl/.
2411         This involves a number of cosmetic changes to comments
2412         and ANSI function definitions and prototypes throughout
2413         all the files. The gettext copyright header is used but
2414         with the date ranges taken from the glibc copy.
2416         * NEWS: Add gettext merge to 2.21.
2417         * intl/bindtextdom.c: Switch to gettext copyright.
2418         Use ANSI definitions and prototypes.
2419         Use gl_* locking primitives rather than __libc_* ones.
2420         Use __builtin_expect rather than __glibc_likely/unlikely.
2421         * intl/dcgettext.c: Switch to gettext copyright.
2422         Use ANSI definitions and prototypes.
2423         * intl/dcigettext.c: Switch to gettext copyright.
2424         Use ANSI definitions and prototypes.
2425         (INTDIV0_RAISES_SIGFPE): New define.
2426         Use gl_* locking primitives rather than __libc_* ones.
2427         Include eval-plural.h instead of plural-eval.c.
2428         Use __builtin_expect rather than __glibc_likely/unlikely.
2429         * intl/dcngettext.c: Switch to gettext copyright.
2430         Use ANSI definitions and prototypes.
2431         * intl/dgettext.c: Likewise.
2432         * intl/dngettext.c: Likewise.
2433         * intl/plural-eval.c: Renamed to...
2434         * intl/eval-plural.h: ...this.
2435         * intl/explodename.c: Switch to gettext copyright.
2436         Use ANSI definitions and prototypes.
2437         (_nl_explode_name): Use strchr instead of __rawmemchr.
2438         * intl/finddomain.c: Switch to gettext copyright.
2439         Use ANSI definitions and prototypes.
2440         Use gl_* locking primitives rather than __libc_* ones.
2441         (_nl_find_domain): Use malloc rather than alloca for
2442         allocation of temporary locale name.
2443         * intl/gettext.c: Switch to gettext copyright.
2444         Use ANSI definitions and prototypes.
2445         * intl/gettextP.h: Switch to gettext copyright.
2446         Use ANSI definitions and prototypes.
2447         Use gl_* locking primitives rather than __libc_* ones.
2448         * intl/gmo.h: Switch to gettext copyright.
2449         (struct sysdep_string): Move struct segment_pair outside of
2450         struct definition.
2451         * intl/hash-string.c: Use ANSI definitions and prototypes.
2452         * intl/hash-string.h: Switch to gettext copyright.
2453         Use ANSI definitions and prototypes.
2454         * intl/l10nflist.c: Switch to gettext copyright.
2455         Use ANSI definitions and prototypes.
2456         (_nl_normalize_codeset): Avoid integer overflow.
2457         * intl/loadinfo.h: Switch to gettext copyright.
2458         Use ANSI definitions and prototypes.
2459         (LIBINTL_DLL_EXPORTED): New define.
2460         (PATH_SEPARATOR): New define.
2461         * intl/loadmsgcat.c: Switch to gettext copyright.
2462         * intl/localealias.c: Switch to gettext copyright.
2463         Use ANSI definitions and prototypes.
2464         (_nl_expand_alias): Use PATH_SEPARATOR.
2465         * intl/ngettext.c: Switch to gettext copyright.
2466         Use ANSI definitions and prototypes.
2467         * intl/plural-exp.c: Likewise.
2468         * intl/plural-exp.h: Switch to gettext copyright.
2469         Use ANSI definitions and prototypes.
2470         (struct expression): Move definition of enum operator outside
2471         of struct definition.
2472         * intl/plural.c: Regenerate.
2473         * intl/plural.y: Switch to gettext copyright.
2474         Use ANSI definitions and prototypes.
2475         Port to bison 3.0.
2476         * intl/textdomain.c: Switch to gettext copyright.
2477         Use ANSI definitions and prototypes.
2478         Use gl_* locking primitives rather than __libc_* ones.
2480 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
2482         * debug/warning-nop.c: Add used atrribute.
2484 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2486         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2488         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2489         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2490         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2492 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2493             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2495         [BZ #17634]
2496         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2497         Undefine after defining function.  Define as weak alias of
2498         __wcschr.  Use libc_hidden_weak.
2499         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
2500         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2501         (libc_hidden_def): Also define __GI___wcschr alias.
2502         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2503         __wcschr and define as weak alias of __wcschr.
2504         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2505         __wcschr.
2506         [!WCSCHR] (DEFAULT_WCSCHR): Define.
2507         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2508         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
2509         libc_hidden_weak.  Do not use libc_hidden_def.
2510         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2511         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2512         __GI___wcschr alias.
2513         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2514         [IS_IN (libc)] (wcschr): Define as macro expanding to
2515         __redirect_wcschr.
2516         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2517         [IS_IN (libc)] (__wcschr_power6): Likewise.
2518         [IS_IN (libc)] (__wcschr_power7): Likewise.
2519         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
2520         instead of wcschr.
2521         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2522         __libc_wcschr.
2523         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2524         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2525         __wcschr and define as weak alias of __wcschr.  Use
2526         libc_hidden_builtin_def.
2527         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2528         as weak alias of __wcschr.  Use libc_hidden_weak.
2529         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2530         wcschr.
2531         * time/era.c (_nl_init_era_entries): Likewise.
2532         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2533         variable.
2534         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2535         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2537 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2539         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2540         format for long int variable.
2542 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
2544         [BZ #10672]
2545         * manual/search.texi: (Array Sort Function): Remove claim how to make
2546         qsort stable.
2548 2014-12-10  Andreas Schwab  <schwab@suse.de>
2550         [BZ #12847]
2551         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2552         user-controlled locks.
2554 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
2556         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2557         register.
2559 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2561         * configure.ac (--disable-werror): New configure option.
2562         (enable_werror): New AC_SUBST.
2563         * configure: Regenerated.
2564         * config.make.in (enable-werror): New variable.
2565         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2566         -Wno-error=undef.
2567         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2568         * manual/install.texi (Configuring and compiling): Document
2569         --disable-werror.
2570         * INSTALL: Regenerated.
2571         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2572         (CFLAGS-tst-chk2.c): Likewise.
2573         (CFLAGS-tst-chk3.c): Likewise.
2574         (CFLAGS-tst-chk4.cc): Likewise.
2575         (CFLAGS-tst-chk5.cc): Likewise.
2576         (CFLAGS-tst-chk6.cc): Likewise.
2577         (CFLAGS-tst-lfschk1.c): Likewise.
2578         (CFLAGS-tst-lfschk2.c): Likewise.
2579         (CFLAGS-tst-lfschk3.c): Likewise.
2580         (CFLAGS-tst-lfschk4.cc): Likewise.
2581         (CFLAGS-tst-lfschk5.cc): Likewise.
2582         (CFLAGS-tst-lfschk6.cc): Likewise.
2584         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2585         (main): Disable -Wdeprecated-declarations around calls to
2586         register_printf_function.
2588         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2589         (do_test): Disable -Wdiv-by-zero around some calls to
2590         fwrite_unlocked and fread_unlocked.
2592         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2593         (DIAG_POP_NEEDS_COMMENT): Likewise.
2594         (_DIAG_STR1): Likewise.
2595         (_DIAG_STR): Likewise.
2596         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2597         * stdio-common/bug21.c: Include <libc-internal.h>.
2598         (do_test): Disable -Wformat around call to sscanf.
2599         * stdio-common/scanf14.c: Include <libc-internal.h>.
2600         (main): Disable -Wformat around some calls to scanf functions.
2602 2014-12-09  Torvald Riegel  <triegel@redhat.com>
2604         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2606 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2608         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2609         stack variable alignment.
2611 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
2613         [BZ #17682]
2614         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2615         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2616         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2617         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2618         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2619         __getrlimit instead of getrlimit.
2620         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2621         __gettimeofday instead of gettimeofday.
2622         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2623         Likewise.
2624         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2625         Likewise.
2626         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2627         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2628         Remove variable.
2629         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2630         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2632 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2634         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2635         for wide-character tests.
2637 2014-12-04  Roland McGrath  <roland@hack.frob.com>
2639         * io/openat64.c: #include <libc-internal.h>
2640         (__openat64): Prototypify.  Use ignore_value on MODE.
2641         * io/openat.c: Likewise.
2642         * misc/reboot.c: #include <libc-internal.h>
2643         (reboot): Prototypify.  Use ignore_value on HOWTO.
2644         * misc/ptrace.c: #include <libc-internal.h>
2645         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
2647 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
2649         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2650         XPG4, UNIX98 and XOPEN2K.
2651         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2652         Remove variable.
2653         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2655 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2657         * libio/fileops.c: Use ISO C style for function definitions.
2658         * libio/iofopen.c: Likewise.
2659         * libio/wfileops.c: Likewise.
2661         [BZ #17653]
2662         * libio/fileops.c (_IO_new_file_underflow): Unset cached
2663         offset on EOF.
2664         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2665         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2666         (fgets_func): Function pointer to fgets and fgetws.
2667         (do_ftell_test): Add test to verify ftell value after read
2668         EOF.
2669         (do_test): Set fgets_func.
2671         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2672         O_TRUNC flag for w and w+ modes.
2673         (do_rewind_test): Likewise.
2674         (do_ftell_test): Likewise.
2675         (do_write_test): Likewise.
2677         [BZ #17647]
2678         * libio/fileops.c (do_ftell): Seek only when there are
2679         unflushed writes.
2680         * libio/wfileops.c (do_ftell_wide): Likewise.
2681         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2682         test case.
2683         (do_one_test): Call it.
2685 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
2687         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2688         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2689         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2690         Remove variable.
2691         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2692         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2693         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2695 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2697         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2698         Remove variable.
2699         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2701         [BZ #17668]
2702         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2703         as weak alias of __getifaddrs.  Use libc_hidden_weak.
2704         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2705         __freeifaddrs.  Use libc_hidden_weak.
2706         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2707         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
2708         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2709         __freeifaddrs.  Use libc_hidden_weak.
2710         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2711         __getifaddrs and define as weak alias of __getifaddrs.  Use
2712         libc_hidden_weak.
2713         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2714         __freeifaddrs.  Use libc_hidden_weak.
2715         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2716         Remove variable.
2717         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2718         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2720 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
2722         [BZ #17601]
2723         * sysdeps/mips/start.S (__start): Use indirect jump to call
2724         __libc_start_main.
2726 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2728         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2730         * nptl/tst-mutex1.c: Include <stdbool.h>.
2731         [!ATTR] (ATTR_NULL): New macro.
2732         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2733         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2734         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2736         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2737         to char *.
2739         [BZ #17665]
2740         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2741         Change conditional to [__USE_MISC].
2743         [BZ #17664]
2744         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2745         fgets_unlocked.
2746         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2747         __fgets_unlocked.
2748         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2749         fgets_unlocked.
2750         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2751         Remove variable.
2752         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2753         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2754         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2755         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2756         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2757         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2758         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2759         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2760         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2762         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2764 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2766         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2767         Remove strpbrk objects.
2768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2769         (__libc_ifunc_impl_list): Remove strpbrk implementation.
2770         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2771         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2772         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2773         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2775         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2776         Remove strcspn objects.
2777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2778         (__libc_ifunc_impl_list): Remove strcspn implementation.
2779         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2780         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2781         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2782         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2784         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2785         Remove strspn objetcs.
2786         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2787         (__libc_ifunc_impl_list): Remove strspn implementation.
2788         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2789         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2790         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2791         * sysdeps/powerpc/powerpc64/strspn.S: New file.
2793 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
2795         [BZ #17581]
2796         * malloc/hooks.c
2797         (mem2mem_check): Add a terminator to the chain of checking blocks.
2798         (malloc_check_get_size): Use it here.
2799         (mem2chunk_check): Ditto.
2801 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2803         * sysdeps/powerpc/powerpc64/strtok.S: New file.
2804         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2806 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
2808         * bits/ioctl-types.h: Indent preprocessor directives correctly.
2810         * nptl/nptl-init.c: Include libc-internal.h.
2811         (__pthread_initialize_minimal_internal): Use ROUND_UP.
2813         * elf/ldconfig.c (search_dir): Expand comment.
2815 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
2817         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2818         variable.
2819         (linknamespace-symlist-stdlibs-tests): Likewise.
2820         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2821         instead of $(objpfx)symlist-stdlibs.
2822         (linknamespace-libs-isoc): New variable.
2823         (linknamespace-libs): Use $(linknamespace-libs-isoc).
2824         (linknamespace-libs-ISO): New variable.
2825         (linknamespace-libs-ISO99): Likewise.
2826         (linknamespace-libs-ISO11): Likewise.
2827         (linknamespace-libs-XPG3): Likewise.
2828         (linknamespace-libs-XPG4): Likewise.
2829         (linknamespace-libs-POSIX): Likewise.
2830         (linknamespace-libs-UNIX98): Likewise.
2831         (linknamespace-libs-XOPEN2K): Likewise.
2832         (linknamespace-libs-POSIX2008): Likewise.
2833         (linknamespace-libs-XOPEN2K8): Likewise.
2834         ($(objpfx)symlist-stdlibs): Replace by
2835         $(linknamespace-symlist-stdlibs-tests).  Use
2836         $(linknamespace-libs-$*) as set of libraries.
2837         ($(linknamespace-header-tests)): Update dependencies.  Use
2838         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2839         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2840         * conform/linknamespace.pl: Remove comment about considering
2841         definitions of symbols from irrelevant libraries.
2843 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2845         [BZ #13862]
2846         * elf/dl-tls.c: Include <atomic.h>.
2847         (oom): Remove #ifdef SHARED/#endif.
2848         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2849         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
2850         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2851         big enough.
2852         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2853         * nptl/Makefile (tests): Add tst-stack4.
2854         (modules-names): Add tst-stack4mod.
2855         ($(objpfx)tst-stack4): New.
2856         (tst-stack4mod.sos): Likewise.
2857         ($(objpfx)tst-stack4.out): Likewise.
2858         ($(tst-stack4mod.sos)): Likewise.
2859         (clean): Likewise.
2860         * nptl/tst-stack4.c: New file.
2861         * nptl/tst-stack4mod.c: Likewise.
2863 2014-11-27  J. Brown  <jb999@gmx.de>
2865         * sysdeps/x86/bits/string.h: Add recent CPUs.
2867 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
2869         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2870         sigblock.
2872         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2873         feof.
2875         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2876         variable.
2878 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2880         * nscd/connections.c: Include libc-internal.h because of macro
2881         usage ignore_value.
2883 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2885         * string/bits/string3.h (__warn_memset_zero_len): Don't
2886         declare for gcc newer than 5.0.
2887         (memset): Don't test for zero-length __LEN for gcc newer than
2888         5.0.
2890 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
2892         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2893         size_t for %zu format.
2895         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2896         difference, not %ju.
2898 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
2900         * include/libc-internal.h (ignore_value): New macro.
2901         * nscd/connections.c (restart): Wrap calls to setuid and setgid
2902         with ignore_value.
2904         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2905         definition.
2907         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2908         pthread_cleanup_push to void *.
2910         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2911         Undefine.
2913         [BZ #16619]
2914         [BZ #16740]
2915         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2916         instead of 1L << 52.
2918         * libio/bug-rewind.c (do_test): Check fwscanf return values.
2919         * libio/bug-rewind2.c (do_test): Likewise.
2921         * debug/test-stpcpy_chk-ifunc.c: Remove file.
2922         * debug/test-strcpy_chk-ifunc.c: Likewise.
2923         * wcsmbs/test-wcschr-ifunc.c: Likewise.
2924         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2925         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2926         * wcsmbs/test-wcslen-ifunc.c: Likewise.
2927         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2928         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2929         * Rules [$(multi-arch) = no] (tests): Do not filter out
2930         $(tests-ifunc).
2931         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2932         * debug/Makefile (tests-ifunc): Remove variable.
2933         (tests): Do not add $(tests-ifunc).
2934         * wcsmbs/Makefile (tests-ifunc): Remove variable.
2935         (tests): Do not add $(tests-ifunc).
2936         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2937         [TEST_IFUNC]: Remove conditionals.
2938         * string/test-string.h (TEST_IFUNC): Remove macro.
2939         [TEST_IFUNC]: Remove conditionals.
2941         * string/test-strchr.c [!WIDE] (L): New macro.
2942         [WIDE] (L): Likewise.
2943         (check1): Use CHAR instead of char.  Use L on string and character
2944         constants.
2946 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
2948         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2949         tests.
2950         * sysdeps/powerpc/bits/atomic.h
2951         (__arch_atomic_exchange_and_add_32_acq): Add definition.
2952         (__arch_atomic_exchange_and_add_32_rel): Likewise.
2953         (atomic_exchange_and_add_acq): Likewise.
2954         (atomic_exchange_and_add_rel): Likewise.
2955         * sysdeps/powerpc/powerpc32/bits/atomic.h
2956         (__arch_atomic_exchange_and_add_64_acq): Add definition.
2957         (__arch_atomic_exchange_and_add_64_rel): Likewise.
2958         * sysdeps/powerpc/powerpc64/bits/atomic.h
2959         (__arch_atomic_exchange_and_add_64_acq): Add definition.
2960         (__arch_atomic_exchange_and_add_64_rel): Likewise.
2962 2014-11-26  Torvald Riegel  <triegel@redhat.com>
2964         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2965         Change synchronization of __sched_fifo_min_prio and
2966         __sched_fifo_max_prio.
2967         * nptl/pthread_mutexattr_getprioceiling.c
2968         (pthread_mutexattr_getprioceiling): Likewise.
2969         * nptl/pthread_mutexattr_setprioceiling.c
2970         (pthread_mutexattr_setprioceiling): Likewise.
2971         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2972         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2973         Likewise.
2975 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
2977         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2978         void.
2980 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2982         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2983         third argument const.
2985 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
2987         fnmatch: work around GCC compiler warning bug with uninit var
2988         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2989         This works around a bug with x86-64 GCC 4.9.2 and earlier
2990         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2991         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2992         used uninitialized in this function [-Wmaybe-uninitialized]".
2994 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2996         * posix/bug-regex31.c (main): Return RES not 0.
2998 2014-11-25  Anton Blanchard <anton@samba.org>
3000         * sysdeps/powerpc/bits/atomic.h
3001         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3003 2014-11-24  Sterling Augustine  <saugustine@google.com>
3005         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3007 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
3009         [BZ #17608]
3010         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3012 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
3014         [BZ #17633]
3015         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3016         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3017         variable.
3018         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3019         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3021 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3023         * string/strncpy.c (strncpy): Improve performance by using memset.
3025 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3027         * string/strcpy.c (strcpy):
3028         Improve performance by using strlen and memcpy.
3030 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
3032         * string/strcoll_l.c (get_next_seq): __always_inline.
3033         * string/strcoll_l.c (do_compare): __always_inline.
3035 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3037         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3038         defined.
3039         * include/mqueue.h: Likewise.
3040         * include/stdlib.h: Likewise.
3042         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3043         (get_null_defines): Adjust.
3044         * sunrpc/Makefile: Adjust comment.
3045         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3046         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3047         (CFLAGS-interp.c): Likewise.
3048         (CFLAGS-ldconfig.c): Likewise.
3049         (CPPFLAGS-.os): Likewise.
3050         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3051         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3052         * extra-modules.mk (extra-modules.mk): Likewise.
3053         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3054         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3055         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3056         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3057         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3058         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3059         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3060         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3061         * iconvdata/Makefile (CPPFLAGS): Likewise.
3062         (cpp-srcs-left): Add libof for all iconvdata routines.
3063         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3064         * include/assert.h: Likewise.
3065         * include/ctype.h: Likewise.
3066         * include/errno.h: Likewise.
3067         * include/libc-symbols.h: Likewise.
3068         * include/math.h: Likewise.
3069         * include/netdb.h: Likewise.
3070         * include/resolv.h: Likewise.
3071         * include/stdio.h: Likewise.
3072         * include/stdlib.h: Likewise.
3073         * include/string.h: Likewise.
3074         * include/sys/stat.h: Likewise.
3075         * include/wctype.h: Likewise.
3076         * intl/l10nflist.c: Likewise.
3077         * libidn/idn-stub.c: Likewise.
3078         * libio/libioP.h: Likewise.
3079         * nptl/libc_multiple_threads.c: Likewise.
3080         * nptl/pthreadP.h: Likewise.
3081         * posix/regex_internal.h: Likewise.
3082         * resolv/res_hconf.c: Likewise.
3083         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3084         * sysdeps/arm/memmove.S: Likewise.
3085         * sysdeps/arm/sysdep.h: Likewise.
3086         * sysdeps/generic/_itoa.h: Likewise.
3087         * sysdeps/generic/symbol-hacks.h: Likewise.
3088         * sysdeps/gnu/errlist.awk: Likewise.
3089         * sysdeps/gnu/errlist.c: Likewise.
3090         * sysdeps/i386/i586/memcpy.S: Likewise.
3091         * sysdeps/i386/i586/memset.S: Likewise.
3092         * sysdeps/i386/i686/memcpy.S: Likewise.
3093         * sysdeps/i386/i686/memmove.S: Likewise.
3094         * sysdeps/i386/i686/mempcpy.S: Likewise.
3095         * sysdeps/i386/i686/memset.S: Likewise.
3096         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3097         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3098         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3099         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3100         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3101         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3102         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3103         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3104         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3105         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3106         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3107         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3108         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3109         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3110         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3111         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3112         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3113         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3114         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3115         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3116         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3117         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3118         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3119         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3120         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3121         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3122         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3123         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3124         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3125         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3126         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3127         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3128         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3129         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3130         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3131         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3132         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3133         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3134         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3135         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3136         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3137         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3138         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3139         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3140         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3141         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3142         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3143         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3144         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3145         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3146         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3147         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3148         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3149         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3150         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3151         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3152         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3153         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3154         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3155         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3156         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3157         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3158         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3159         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3160         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3161         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3162         * sysdeps/posix/closedir.c: Likewise.
3163         * sysdeps/posix/opendir.c: Likewise.
3164         * sysdeps/posix/readdir.c: Likewise.
3165         * sysdeps/posix/rewinddir.c: Likewise.
3166         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3167         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3168         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3169         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3170         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3171         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3172         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3173         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3174         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3175         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3176         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3177         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3178         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3179         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3180         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3181         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3182         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3183         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3184         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3185         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3186         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3187         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3188         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3189         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3190         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3191         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3192         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3193         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3194         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3195         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3196         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3197         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3198         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3199         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3200         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3201         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3202         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3203         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3204         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3205         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3206         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3207         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3208         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3209         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3210         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3211         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3212         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3213         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3214         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3215         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3216         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3217         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3218         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3219         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3220         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3221         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3222         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3223         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3224         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3225         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3226         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3227         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3228         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3229         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3230         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3231         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3232         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3233         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3234         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3235         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3236         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3237         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3238         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3239         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3240         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3241         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3242         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3243         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3244         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3245         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3246         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3247         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3248         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3249         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3250         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3251         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3252         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3253         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3254         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3255         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3256         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3257         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3258         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3259         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3260         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3261         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3262         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3263         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3264         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3265         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3266         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3267         * sysdeps/unix/alpha/sysdep.S: Likewise.
3268         * sysdeps/unix/alpha/sysdep.h: Likewise.
3269         * sysdeps/unix/make-syscalls.sh: Likewise.
3270         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3271         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3272         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3273         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3274         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3275         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3276         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3277         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3278         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3279         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3280         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3281         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3282         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3283         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3284         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3285         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3286         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3287         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3288         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3289         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3290         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3291         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3292         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3293         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3294         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3295         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3296         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3299         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3300         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3301         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3302         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3303         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3304         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3305         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3306         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3307         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3308         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3309         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3310         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3311         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3312         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3313         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3314         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3315         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3316         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3317         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3318         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3319         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3320         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3321         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3322         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3323         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3324         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3325         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3326         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3327         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3328         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3329         * sysdeps/x86_64/memcpy.S: Likewise.
3330         * sysdeps/x86_64/memmove.c: Likewise.
3331         * sysdeps/x86_64/memset.S: Likewise.
3332         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3333         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3334         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3335         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3336         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3337         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3338         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3339         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3340         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3341         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3342         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3343         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3344         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3345         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3346         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3347         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3348         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3349         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3350         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3351         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3352         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3353         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3354         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3355         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3356         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3357         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3358         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3359         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3360         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3361         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3362         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3363         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3364         * sysdeps/x86_64/strcmp.S: Likewise.
3366         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3368         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3369         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3370         * elf/rtld-Rules: Likewise.
3371         * elf/setup-vdso.h: Likewise.
3372         * include/assert.h: Likewise.
3373         * include/bits/stdlib-float.h: Likewise.
3374         * include/errno.h: Likewise.
3375         * include/sys/stat.h: Likewise.
3376         * include/unistd.h: Likewise.
3377         * sysdeps/aarch64/setjmp.S: Likewise.
3378         * sysdeps/alpha/setjmp.S: Likewise.
3379         * sysdeps/arm/__longjmp.S: Likewise.
3380         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3381         * sysdeps/arm/setjmp.S: Likewise.
3382         * sysdeps/arm/sysdep.h: Likewise.
3383         * sysdeps/generic/_itoa.h: Likewise.
3384         * sysdeps/generic/dl-sysdep.h: Likewise.
3385         * sysdeps/generic/ldsodefs.h: Likewise.
3386         * sysdeps/i386/dl-tls.h: Likewise.
3387         * sysdeps/i386/setjmp.S: Likewise.
3388         * sysdeps/m68k/setjmp.c: Likewise.
3389         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3390         * sysdeps/mach/hurd/opendir.c: Likewise.
3391         * sysdeps/posix/getcwd.c: Likewise.
3392         * sysdeps/posix/opendir.c: Likewise.
3393         * sysdeps/posix/profil.c: Likewise.
3394         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3395         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3396         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3397         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3398         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3399         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3400         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3401         * sysdeps/s390/dl-tls.h: Likewise.
3402         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3403         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3404         * sysdeps/sh/sh3/setjmp.S: Likewise.
3405         * sysdeps/sh/sh4/setjmp.S: Likewise.
3406         * sysdeps/unix/alpha/sysdep.h: Likewise.
3407         * sysdeps/unix/arm/sysdep.S: Likewise.
3408         * sysdeps/unix/i386/sysdep.S: Likewise.
3409         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3410         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3411         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3412         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3413         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3414         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3415         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3416         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3417         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3418         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3419         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3420         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3421         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3424         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3425         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3426         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3427         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3428         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3429         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3430         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3431         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3432         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3433         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3434         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3435         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3436         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3437         * sysdeps/x86_64/setjmp.S: Likewise.
3439         * include/math.h: Use IS_IN instead of IS_IN_libm.
3440         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3441         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3442         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3443         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3444         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3445         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3446         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3447         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3448         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3449         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3450         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3451         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3452         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3453         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3454         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3455         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3456         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3457         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3458         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3459         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3460         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3461         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3462         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3463         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3464         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3465         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3466         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3467         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3468         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3469         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3470         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3471         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3472         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3474         Likewise.
3475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3476         Likewise.
3477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3478         Likewise.
3479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3480         Likewise.
3481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3482         Likewise.
3483         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3484         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3485         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3486         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3487         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3488         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3494         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3495         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3496         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3497         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3498         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3499         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3500         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3501         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3502         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3503         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3504         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3505         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3506         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3507         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3509         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3511         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3512         * nptl/pthreadP.h: Likewise.
3513         * nptl_db/structs.def: Likewise.
3514         * sysdeps/arm/sysdep.h: Likewise.
3515         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3516         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3517         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3518         * sysdeps/unix/alpha/sysdep.h: Likewise.
3519         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3520         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3521         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3522         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3523         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3524         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3525         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3526         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3527         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3528         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3529         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3530         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3531         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3532         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3535         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3536         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3537         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3538         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3539         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3540         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3541         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3542         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3543         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3544         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3546         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3547         * nptl/pthreadP.h: Likewise.
3548         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3549         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3550         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3551         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3552         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3553         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3554         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3555         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3556         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3557         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3558         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3559         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3561         Likewise.
3562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3563         Likewise.
3564         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3565         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3566         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3567         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3568         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3569         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3570         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3571         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3573         * dlfcn/dladdr.c: Use IS_IN.
3574         * dlfcn/dladdr1.c: Likewise.
3575         * dlfcn/dlclose.c: Likewise.
3576         * dlfcn/dlerror.c: Likewise.
3577         * dlfcn/dlinfo.c: Likewise.
3578         * dlfcn/dlmopen.c: Likewise.
3579         * dlfcn/dlopen.c: Likewise.
3580         * dlfcn/dlsym.c: Likewise.
3581         * dlfcn/dlvsym.c: Likewise.
3583         * include/ifaddrs.h: Use IS_IN.
3584         * inet/check_pf.c: Likewise.
3585         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3586         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3588         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3589         IS_IN_ldconfig.
3590         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3591         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3593         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3594         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3595         IS_IN (libc).
3597         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3599         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3600         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3601         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3602         * include/libc-symbols.h (IS_IN_LIB): New macro.
3603         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3604         * include/netdb.h: Likewise.
3605         * include/stap-probe.h: Remove all uses of IN_LIB.
3607         * Makeconfig (module-cppflags-real): Define MODULE_NAME
3608         instead of IN_MODULE.
3609         * include/libc-symbols.h (IN_MODULE): Define using
3610         MODULE_NAME.
3611         (PASTE_NAME, PASTE_NAME1): New macros.
3612         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3613         of IN_LIB.
3614         (STAP_PROBE_ASM): Likewise.
3616 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3618         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3619         __mach_init in dlopened libc.
3621 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
3623         * sysdeps/arm/preconfigure.ac: Delete EABI check.
3624         * sysdeps/arm/preconfigure: Regenerate.
3626 2014-11-21  Roland McGrath  <roland@hack.frob.com>
3628         * nptl/pthread_create.c (__pthread_create_2_1): Set
3629         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3630         when copying values from IATTR into PD.
3632 2014-11-21  Will Newton  <will.newton@linaro.org>
3633             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3635         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3636         Refactor inline-asm.  Also add comment.
3638         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3639         ElfW macro instead of hardcoded Elf64 types.
3640         (la_aarch64_gnu_pltenter): Likewise.
3641         * sysdeps/aarch64/dl-machine.h
3642         (elf_machine_runtime_setup): Use ElfW(Addr).
3644         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3645         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3646         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3647         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3648         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3649         (R_AARCH64_TLS_DTPMOD64): Rename to ..
3650         (R_AARCH64_TLS_DTPMOD): This.
3651         (R_AARCH64_TLS_DTPREL64): Rename to ...
3652         (R_AARCH64_TLS_DTPREL): This.
3653         (R_AARCH64_TLS_TPREL64): Rename to ...
3654         (R_AARCH64_TLS_TPREL): This.
3655         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3656         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3657         R_AARCH64_TLS_TPREL64.
3658         (elf_machine_rela): Likewise.
3660 2014-11-21  Torvald Riegel  <triegel@redhat.com>
3662         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3663         by setting it to 0.  64b atomics are not supported currently.
3665 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3667         [BZ #16469]
3668         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3669         search domain names.
3671 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3673         [BZ #16469]
3674         * NEWS: Update.
3675         * resolv/res_query.c (__libc_res_nquerydomain): Retain
3676         trailing dot.
3677         * posix/tst-getaddrinfo5.c: New.
3678         * posix/Makefile (tests): Add it.
3680 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3682         [BZ #14498]
3683         * NEWS: Fixed.
3684         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3685         after parsing line but before break_if_match.
3686         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3687         if there is a protocol mismatch.
3689 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3691         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3692         because the potential race is on the user-supplied stream.
3694 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3696         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3697         string literal if not passed a buffer.
3698         * manual/job.texi (ctermid): Update reasoning, note deviation
3699         from posix, suggest mtasurace when not passed a buffer, for
3700         future non-preliminary safety notes.
3702 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3704         * manual/users.texi (cuserid): Fix MT-Safety note for the case
3705         of not passing it a buffer.
3706         Reported by Peng Haitao.
3708 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3710         * manual/Makefile ($(objpfx)stamp-summary): Require
3711         check-safety.sh to pass.
3712         * manual/check-safety.sh: Wish for verification that every
3713         @deftypefn and @deftypefun is followed by a @safety remark.
3715 2014-11-20  Roland McGrath  <roland@hack.frob.com>
3717         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3719         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3720         PTHREAD_CANCEL_ASYNCHRONOUS.
3721         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3722         send SIGCANCEL.
3724         * nptl/default-sched.h: New file.
3725         * sysdeps/unix/sysv/linux/default-sched.h: New file.
3726         * nptl/pthread_create.c: Include it.
3727         (__pthread_create_2_1): Use collect_default_sched instead of making
3728         Linux syscalls here directly.
3730 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3732         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3733         __pthread_once): Use C11 atomics.
3735 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3737         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3739 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3741         * include/atomic.h (__atomic_link_error, __atomic_check_size,
3742         atomic_thread_fence_acquire, atomic_thread_fence_release,
3743         atomic_thread_fence_seq_cst, atomic_load_relaxed,
3744         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3745         atomic_compare_exchange_weak_relaxed,
3746         atomic_compare_exchange_weak_acquire,
3747         atomic_compare_exchange_weak_release,
3748         atomic_exchange_acquire, atomic_exchange_release,
3749         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3750         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3751         atomic_fetch_and_acquire,
3752         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3754 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3756         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3757         USE_ATOMIC_COMPILER_BUILTINS): Define.
3758         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3759         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3760         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3761         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3762         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3763         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3764         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3765         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3766         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3767         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3768         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3769         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3770         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3771         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3772         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3773         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3774         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3775         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3776         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3777         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3778         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3779         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3780         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3781         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3782         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3783         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3784         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3785         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3786         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3787         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3788         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3789         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3790         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3791         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3792         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3793         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3794         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3795         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3796         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3797         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3799 2014-11-19  Roland McGrath  <roland@hack.frob.com>
3801         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3802         the sched_priority value here.  It was already checked when the user
3803         called pthread_attr_setschedparam.
3805         * nptl/tst-bad-schedattr.c: New file.
3806         * nptl/Makefile (tests): Add it.
3808 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
3809             Florian Weimer  <fweimer@redhat.com>
3810             Joseph Myers  <joseph@codesourcery.com>
3811             Adam Conrad  <adconrad@0c3.net>
3812             Andreas Schwab  <schwab@suse.de>
3813             Brooks  <bmoses@google.com>
3815         [BZ #17625]
3816         * wordexp-test.c (__dso_handle): Add prototype.
3817         (__register_atfork): Likewise.
3818         (__app_register_atfork): New function.
3819         (registered_forks): New global.
3820         (register_fork): New function.
3821         (test_case): Add 3 new tests for WRDE_CMDSUB.
3822         (main): Call __app_register_atfork.
3823         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3824         fork count is non-zero fail the test.
3825         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3826         is set.
3827         (parse_dollars): Remove check for WRDE_NOCMD.
3828         (parse_dquote): Likewise.
3830 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3832         * Makeconfig (built-modules): List non-library modules to be
3833         built.
3834         (module-cppflags): Include libc-modules.h for
3835         everything except shlib-versions.v.i.
3836         (CPPFLAGS): Use it.
3837         (before-compile): Add libc-modules.h.
3838         ($(common-objpfx)libc-modules.h,
3839         $(common-objpfx)libc-modules.stmp): New targets.
3840         (common-generated): Add libc-modules.h and libc-modules.stmp.
3841         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3842         * include/libc-symbols.h: Don't include libc-modules.h.
3843         * include/libc-modules.h: Remove file.
3844         * scripts/gen-libc-modules.awk: New script to generate
3845         libc-modules.h.
3846         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3847         Depend on libc-modules.stmp.
3849         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3851         * Makeconfig (in-module): Get value of libof set for the
3852         translation unit.
3853         (CPPFLAGS): Use $(in-module).
3854         * Makerules: Don't suffix routine names for nonlib.
3855         * include/libc-modules.h: New file.
3856         * include/libc-symbols.h: Include libc-modules.h
3857         (IS_IN): New macro to replace IS_IN_* macros.
3858         * elf/Makefile: Set libof-* for each routine.
3859         * elf/rtld-Rules: Likewise.
3860         * extra-modules.mk: Likewise.
3861         * iconv/Makefile: Likewise.
3862         * iconvdata/Makefile: Likewise.
3863         * locale/Makefile: Likewise.
3864         * malloc/Makefile: Likewise.
3865         * nss/Makefile: Likewise.
3866         * sysdeps/gnu/Makefile: Likewise.
3867         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3868         * sysdeps/unix/sysv/linux/Makefile: Likewise.
3869         * sysdeps/s390/s390-64/Makefile: Likewise.
3870         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
3871         CPPFLAGS for nscd instead of nonlib.
3873 2014-11-18  Roland McGrath  <roland@hack.frob.com>
3875         * nptl/createthread.c: New file.
3877         * nptl/createthread.c: Moved ...
3878         * sysdeps/unix/sysv/linux/createthread.c: ... here.
3880         * nptl/createthread.c: Add proper top-line comment.
3881         (do_clone): Folded into ...
3882         (create_thread): ... here.  Take new arguments STOPPED_START and
3883         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
3884         increment __nptl_threads, do event-reporting logic, do
3885         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3886         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
3887         resource cleanup if sched_setaffinity or sched_setscheduler fails,
3888         just send SIGCANCEL.
3889         * nptl/pthread_create.c: Forward-declare create_thread before
3890         including createthread.c.
3891         (start_thread): Use new macro START_THREAD_DEFN to replace defining
3892         declaration, and new macro START_THREAD_SELF to replace argument.
3893         Remove return statement.
3894         (report_thread_creation): New function.
3895         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
3896         synchronization logic, and __nptl_nthreads increment here, around
3897         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
3898         PD->parent_cancelhandling here, before create_thread.  When
3899         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3900         __deallocate_stack, and ENOMEM translation here.
3902 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
3904         [BZ #17616]
3905         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3906         (mptwo): Rename to __mptwo.
3907         (__inv): Use __mptwo instead of mptwo.
3908         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3909         (mptwo): Rename to __mptwo.
3910         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3911         of mpone and __mptwo instead of mptwo.
3912         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3913         instead of mpone.
3914         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3915         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3916         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3917         of mpone and __mptwo instead of mptwo.
3918         (__mpranred): Use __mpone instead of mpone.
3919         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3920         variable.
3921         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3922         (test-xfail-ISO99/math.h/linknamespace): Likewise.
3923         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3924         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3925         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3926         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3927         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3928         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3929         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3930         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3931         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3932         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3933         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3934         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3935         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3936         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3937         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3938         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3939         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3941 2014-11-18  Tom de Vries  <tom@codesoucery.com>
3943         * manual/signal.texi (Primitives Interrupted by Signals): In section,
3944         replace BSD Handler xref with BSD Signal Handling.
3946 2014-11-17  Richard Henderson  <rth@redhat.com>
3948         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3949         (_FP_PACK_RAW_2): Remove.
3950         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3951         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3952         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3953         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3954         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3955         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3956         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3957         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3958         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3959         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3960         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3961         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3962         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3963         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3964         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3965         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3967 2014-11-14  Roland McGrath  <roland@hack.frob.com>
3969         * signal/signal.h [__USE_MISC]
3970         (struct sigvec): Remove type.
3971         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3972         (sigvec): Remove declaration.
3973         * sysdeps/posix/sigvec.c: Moved ...
3974         * signal/sigvec.c: ... here, replacing old file.
3975         (struct sigvec): New type, copied from old signal.h definition.
3976         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3977         (__sigvec): Convert definition to prototype.
3978         (sigvec): Replace weak_alias with compat_symbol.
3979         * signal/Versions (libc: GLIBC_2.21): New version set.
3980         * include/signal.h: Remove __sigvec declaration.
3981         * sysdeps/unix/bsd/sigvec.c: Remove file.
3982         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3983         * manual/signal.texi (BSD Handler): Remove subsection.
3984         Move siginterrupt up to ...
3985         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
3986         (Blocking in BSD): Fold subsection into its parent.
3987         * NEWS: Mention sigvec removal.
3989 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3991         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3992         (DLA_FMS): Make definition conditional only on [__FMA4__].
3993         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3994         definition.
3996         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3997         Make definition conditional only on [PROF].
3998         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3999         definition.
4000         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4001         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4003         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4004         !__GNUC__].
4005         * include/signal.h (__sigpause): Move declaration above call to
4006         libc_hidden_proto.
4007         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4008         variable.
4009         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4010         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4012 2014-11-14  David S. Miller  <davem@davemloft.net>
4014         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4015         Define before including <string/memcpy.c> and <string/mempcpy.c>.
4017 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4019         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4020         * configure: Regenerated.
4021         * manual/install.texi (Tools for Compilation): Document a
4022         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4023         compiler verified to work.
4024         * INSTALL: Regenerated.
4026         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4027         redeclare with asm name.
4028         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4029         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4030         including <string.h>.
4031         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4032         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4033         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4034         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4035         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4036         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4037         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4039 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
4041         * stdlib/strtol.c (__strtol): Use prototype definition.
4043         [BZ #17594]
4044         * stdlib/strtol.c (SYM__): New macro.
4045         (SYM__1): Likewise.
4046         (__strtol): Likewise.
4047         (strtol): Rename to __strtol and define as weak alias of
4048         __strtol.  Use libc_hidden_weak.
4050 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4052         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4053         Use numbered labels in inline assembly.
4055 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4057         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4058         Add setjmp LIBC_PROBE.
4059         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4060         Likewise.
4061         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4062         Add longjmp, longjmp_target LIBC_PROBE.
4063         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4064         Likewise.
4066 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4068         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4069         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4070         to get rid of unused variable warning.
4072 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4074         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4075         Check for unwind_backtrace ==  NULL only in SHARED case.
4076         (__backchain_backtrace): Compile only in SHARED case.
4077         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4078         Likewise.
4079         (__backchain_backtrace): Declare as static.
4081 2014-11-12  Roland McGrath  <roland@hack.frob.com>
4083         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4084         (__libc_multiple_threads_ptr): Variable moved ...
4085         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4087 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
4089         * conform/GlibcConform.pm: New file.
4090         * conform/conformtest.pl: Use GlibcConform module.
4091         * conform/linknamespace.pl: New file.
4092         * conform/list-header-symbols.pl: Likewise.
4093         * conform/Makefile (linknamespace-symlists-base): New variable.
4094         (linknamespace-symlists-tests): Likewise.
4095         (linknamespace-header-base): Likewise.
4096         (linknamespace-header-tests): Likewise.
4097         (tests-special): Add new tests.
4098         ($(linknamespace-symlists-tests)): New rule.
4099         (linknamespace-libs): New variable.
4100         ($(objpfx)symlist-stdlibs): New rule.
4101         ($(linknamespace-header-tests)): Likewise.
4102         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4103         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4104         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4105         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4106         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4107         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4108         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4109         (test-xfail-ISO/math.h/linknamespace): Likewise.
4110         (test-xfail-ISO/signal.h/linknamespace): Likewise.
4111         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4112         (test-xfail-ISO/time.h/linknamespace): Likewise.
4113         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4114         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4115         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4116         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4117         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4118         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4119         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4120         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4121         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4122         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4123         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4124         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4125         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4126         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4127         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4128         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4129         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4130         (test-xfail-XPG3/search.h/linknamespace): Likewise.
4131         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4132         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4133         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4134         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4135         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4136         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4137         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4138         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4139         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4140         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4141         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4142         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4143         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4144         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4145         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4146         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4147         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4148         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4149         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4150         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4151         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4152         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4153         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4154         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4155         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4156         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4157         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4158         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4159         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4160         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4161         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4162         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4163         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4164         (test-xfail-POSIX/time.h/linknamespace): Likewise.
4165         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4166         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4167         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4168         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4169         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4170         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4171         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4172         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4173         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4174         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4175         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4176         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4177         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4178         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4179         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4180         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4181         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4182         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4183         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4184         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4185         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4186         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4187         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4188         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4189         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4190         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4191         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4192         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4193         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4194         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4195         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4196         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4197         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4198         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4199         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4200         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4201         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4202         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4203         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4204         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4205         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4206         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4207         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4208         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4209         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4210         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4211         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4212         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4213         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4214         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4215         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4216         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4217         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4218         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4219         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4220         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4221         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4222         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4223         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4224         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4225         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4226         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4227         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4228         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4229         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4230         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4231         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4232         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4233         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4234         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4235         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4236         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4237         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4238         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4239         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4240         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4241         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4242         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4243         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4244         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4245         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4246         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4247         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4248         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4249         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4250         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4251         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4252         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4253         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4254         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4255         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4256         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4257         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4258         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4259         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4260         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4261         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4262         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4264         [BZ #17589]
4265         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4266         of fgets_unlocked.
4268         [BZ #17585]
4269         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4270         (memmem): Rename to __memmem and define as weak alias of
4271         __memmem.  Use libc_hidden_weak.
4272         (__memmem): Use libc_hidden_def.
4273         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
4274         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4275         memmem.
4277         [BZ #17582]
4278         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4279         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
4280         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4281         and define as weak alias of __fgets_unlocked.  Use
4282         libc_hidden_weak.
4283         (__fgets_unlocked): Use libc_hidden_def.
4284         * include/stdio.h (__fgets_unlocked): Declare.  Use
4285         libc_hidden_proto.
4286         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4287         __fgets_unlocked instead of fgets_unlocked.
4288         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4289         (GET_NPROCS_CONF_PARSER): Likewise.
4290         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4291         (GET_NPROCS_CONF_PARSER): Likewise.
4293         [BZ #17574]
4294         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4295         weak alias of __wmemset.  Use libc_hidden_weak.
4296         (__wmemset): Use libc_hidden_def.
4297         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
4298         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4299         of wmemset.
4301         [BZ #17573]
4302         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4303         with asm name __mempcpy.
4304         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4306         [BZ #17572]
4307         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4308         and define as weak alias of __rawmemchr.
4309         (__rawmemchr): Do not define as strong alias of rawmemchr.
4311         [BZ #17571]
4312         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4313         alias of __qsort_r.
4314         (qsort): Call __qsort_r instead of qsort_r.
4315         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4316         (__qsort_r): Declare.  Call libc_hidden_proto.
4317         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4318         instead of qsort_r.
4319         * nscd/gai.c (__qsort_r): Define to qsort_r.
4320         * posix/tst-rfc3484.c (__qsort_r): Likewise.
4321         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4322         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4324         [BZ #17570]
4325         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4326         define as weak alias of __malloc_info.
4328         [BZ #17584]
4329         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4330         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4331         (__rewinddir): Use libc_hidden_def.
4332         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4333         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4334         (__rewinddir): Use libc_hidden_def.
4335         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4336         weak alias of __rewinddir.  Don't use libc_hidden_def.
4337         (__rewinddir): Use libc_hidden_def.
4338         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4339         (__rewinddir): Use libc_hidden_proto.
4340         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4341         rewinddir.
4342         (__getcwd): Use __rewinddir instead of rewinddir.
4344         [BZ #17583]
4345         * libio/fileno.c (fileno): Rename to __fileno and define as weak
4346         alias of __fileno.  Use libc_hidden_weak.
4347         (__fileno): Use libc_hidden_def.
4348         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4349         * libio/ftello.c (ftello): Rename to __ftello and define as weak
4350         alias of __ftello.
4351         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4352         __ftello.
4353         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4354         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
4355         libc_hidden_def.
4356         (fread_unlocked): Don't use libc_hidden_ver.
4357         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4358         and define as weak alias of __fread_unlocked.  Don't use
4359         libc_hidden_def.
4360         (__fread_unlocked): Use libc_hidden_def.
4361         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
4362         (ftello): Don't use libc_hidden_proto.
4363         (__ftello): Declare.  Use libc_hidden_proto.
4364         (fread_unlocked): Don't use libc_hidden_proto.
4365         (__fread_unlocked): Declare.  Use libc_hidden_proto.
4366         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4367         and __ftello instead of fileno, fread_unlocked and ftello.
4369 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4371         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4372         GOT12.
4373         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4374         Likewise.
4375         (_dl_start_user): Likewise.
4376         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4378 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
4379             Siddhesh Poyarekar  <siddhesh@redhat.com>
4381         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4382         Move argv and envp down instead of moving argc up.
4383         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4385 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
4387         [BZ #17506]
4388         * test-skeleton.c (main): Return successful if one of
4389         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4390         * string/tst-strcoll-overflow.c: Define expected status.
4392 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
4394         [BZ #17475]
4395         * locale/iso-639.def: Define Bhili and Tulu language codes.
4397 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
4399         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4401 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
4403         [BZ #17555]
4404         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4406 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4408         * configure.ac: Updated check of minimal required version to
4409         2.22.
4410         * manual/install.texi (Tools for Compilation): Updated version
4411         number.
4412         * configure: Regenerated.
4413         * INSTALL: Likewise.
4415 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
4417         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4418         __tls_get_addr.
4420 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
4422         * include/sys/wait.h (__libc_waitpid): Remove declaration.
4423         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4424         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4425         libc_hidden_weak.
4426         (waitpid): Define as alias of __waitpid.
4427         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4428         __waitpid.
4429         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4430         libc_hidden_weak.
4431         (waitpid): Define as alias of __waitpid.
4432         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4433         __libc_waitpid alias.
4434         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4435         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4436         Likewise.
4437         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4438         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4439         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4440         alias.
4441         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4442         __waitpid.
4443         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4444         libc_hidden_weak.
4445         (waitpid): Define as alias of __waitpid.
4447 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
4449         * manual/llio.texi: Add comment that write safety has been
4450         fixed in Linux.
4452         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4453         (localplt-build-dso): Add elf/ld.so.
4454         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4455         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4456         and free for ld.so.
4457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4458         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4460         Likewise.
4461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4462         Likewise.
4463         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4464         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4465         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4466         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4467         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4468         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4469         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4470         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4471         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4472         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4473         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4475 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
4477         [BZ #14132]
4478         * include/libc-symbols.h (INTUSE): Remove macro.
4479         (INTDEF): Likewise.
4480         (INTVARDEF): Likewise.
4481         (_INTVARDEF): Likewise.
4482         (INTDEF2): Likewise.
4483         (INTVARDEF2): Likewise.
4484         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4485         rtld_hidden_def instead of INTVARDEF.
4486         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4487         (_dl_starting_up_internal): Remove declaration.
4488         (_dl_starting_up): Use rtld_hidden_proto.
4489         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4490         declaration.
4491         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4492         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4493         _dl_starting_up.
4494         * elf/dl-writev.h (_dl_writev): Likewise.
4495         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4496         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4497         _dl_starting_up_internal.
4499 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4501         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4502         test-skeleton.c.
4504 2014-11-05  Will Newton  <will.newton@linaro.org>
4506         * benchtests/Makefile: (bench-malloc): Add malloc thread
4507         scalability benchmark.
4508         * benchtests/bench-malloc-threads.c: New file.
4510 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
4512         * sysdeps/aarch64/strchrnul.S: New file.
4514 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4516         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4517         definition.
4518         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4519         Likwise.
4520         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4521         Likewise.
4522         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4523         Likewise.
4524         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4525         Likewise.
4526         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4527         Likewise.
4529 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
4531         * catgets/test-gencat.c: Use test-skeleton.c.
4532         * catgets/tst-catgets.c: Likewise.
4533         * csu/tst-empty.c: Likewise.
4534         * elf/tst-audit2.c: Likewise.
4535         * elf/tst-global1.c: Likewise.
4536         * elf/tst-pathopt.c: Likewise.
4537         * elf/tst-piemod1.c: Likewise.
4538         * elf/tst-tls10.c: Likewise.
4539         * elf/tst-tls11.c: Likewise.
4540         * elf/tst-tls12.c: Likewise.
4541         * gnulib/tst-gcc.c: Likewise.
4542         * iconvdata/tst-e2big.c: Likewise.
4543         * iconvdata/tst-loading.c: Likewise.
4544         * iconv/tst-iconv1.c: Likewise.
4545         * iconv/tst-iconv2.c: Likewise.
4546         * inet/test-inet6_opt.c: Likewise.
4547         * inet/tst-gethnm.c: Likewise.
4548         * inet/tst-network.c: Likewise.
4549         * inet/tst-ntoa.c: Likewise.
4550         * intl/tst-codeset.c: Likewise.
4551         * intl/tst-gettext2.c: Likewise.
4552         * intl/tst-gettext3.c: Likewise.
4553         * intl/tst-ngettext.c: Likewise.
4554         * intl/tst-translit.c: Likewise.
4555         * io/test-stat.c: Likewise.
4556         * libio/test-fmemopen.c: Likewise.
4557         * libio/tst-freopen.c: Likewise.
4558         * libio/tst-sscanf.c: Likewise.
4559         * libio/tst-ungetwc1.c: Likewise.
4560         * libio/tst-ungetwc2.c: Likewise.
4561         * libio/tst-widetext.c: Likewise.
4562         * localedata/tst-ctype.c: Likewise.
4563         * localedata/tst-digits.c: Likewise.
4564         * localedata/tst-leaks.c: Likewise.
4565         * localedata/tst-mbswcs1.c: Likewise.
4566         * localedata/tst-mbswcs2.c: Likewise.
4567         * localedata/tst-mbswcs3.c: Likewise.
4568         * localedata/tst-mbswcs4.c: Likewise.
4569         * localedata/tst-mbswcs5.c: Likewise.
4570         * localedata/tst-setlocale.c: Likewise.
4571         * localedata/tst-trans.c: Likewise.
4572         * localedata/tst-wctype.c: Likewise.
4573         * localedata/tst-xlocale1.c: Likewise.
4574         * login/tst-grantpt.c: Likewise.
4575         * malloc/tst-calloc.c: Likewise.
4576         * malloc/tst-malloc.c: Likewise.
4577         * malloc/tst-mallocstate.c: Likewise.
4578         * malloc/tst-mcheck.c: Likewise.
4579         * malloc/tst-mtrace.c: Likewise.
4580         * malloc/tst-obstack.c: Likewise.
4581         * math/atest-exp2.c: Likewise.
4582         * math/atest-exp.c: Likewise.
4583         * math/atest-sincos.c: Likewise.
4584         * math/test-matherr.c: Likewise.
4585         * math/test-misc.c: Likewise.
4586         * math/test-powl.c: Likewise.
4587         * math/tst-definitions.c: Likewise.
4588         * misc/tst-dirname.c: Likewise.
4589         * misc/tst-efgcvt.c: Likewise.
4590         * misc/tst-fdset.c: Likewise.
4591         * misc/tst-hsearch.c: Likewise.
4592         * misc/tst-mntent2.c: Likewise.
4593         * nptl/tst-sem7.c: Likewise.
4594         * nptl/tst-sem8.c: Likewise.
4595         * nptl/tst-sem9.c: Likewise.
4596         * nss/test-netdb.c: Likewise.
4597         * posix/tst-fnmatch.c: Likewise.
4598         * posix/tst-getlogin.c: Likewise.
4599         * posix/tst-gnuglob.c: Likewise.
4600         * posix/tst-mmap.c: Likewise.
4601         * pwd/tst-getpw.c: Likewise.
4602         * resolv/tst-inet_ntop.c: Likewise.
4603         * rt/tst-timer.c: Likewise.
4604         * stdio-common/test-fseek.c: Likewise.
4605         * stdio-common/test-popen.c: Likewise.
4606         * stdio-common/test-vfprintf.c: Likewise.
4607         * stdio-common/tst-cookie.c: Likewise.
4608         * stdio-common/tst-fileno.c: Likewise.
4609         * stdio-common/tst-gets.c: Likewise.
4610         * stdio-common/tst-obprintf.c: Likewise.
4611         * stdio-common/tst-perror.c: Likewise.
4612         * stdio-common/tst-sprintf2.c: Likewise.
4613         * stdio-common/tst-sprintf3.c: Likewise.
4614         * stdio-common/tst-sprintf.c: Likewise.
4615         * stdio-common/tst-swprintf.c: Likewise.
4616         * stdio-common/tst-tmpnam.c: Likewise.
4617         * stdio-common/tst-unbputc.c: Likewise.
4618         * stdio-common/tst-wc-printf.c: Likewise.
4619         * stdlib/tst-environ.c: Likewise.
4620         * stdlib/tst-fmtmsg.c: Likewise.
4621         * stdlib/tst-limits.c: Likewise.
4622         * stdlib/tst-rand48-2.c: Likewise.
4623         * stdlib/tst-rand48.c: Likewise.
4624         * stdlib/tst-random2.c: Likewise.
4625         * stdlib/tst-random.c: Likewise.
4626         * stdlib/tst-strtol.c: Likewise.
4627         * stdlib/tst-strtoll.c: Likewise.
4628         * stdlib/tst-tls-atexit.c: Likewise.
4629         * stdlib/tst-xpg-basename.c: Likewise.
4630         * string/test-ffs.c: Likewise.
4631         * string/tst-bswap.c: Likewise.
4632         * string/tst-inlcall.c: Likewise.
4633         * string/tst-strtok.c: Likewise.
4634         * string/tst-strxfrm.c: Likewise.
4635         * sysdeps/x86_64/tst-audit10.c: Likewise.
4636         * sysdeps/x86_64/tst-audit3.c: Likewise.
4637         * sysdeps/x86_64/tst-audit4.c: Likewise.
4638         * sysdeps/x86_64/tst-audit5.c: Likewise.
4639         * time/tst-ftime_l.c: Likewise.
4640         * time/tst-getdate.c: Likewise.
4641         * time/tst-mktime3.c: Likewise.
4642         * time/tst-mktime.c: Likewise.
4643         * time/tst-posixtz.c: Likewise.
4644         * time/tst-strptime2.c: Likewise.
4645         * time/tst-strptime3.c: Likewise.
4646         * wcsmbs/tst-btowc.c: Likewise.
4647         * wcsmbs/tst-mbrtowc.c: Likewise.
4648         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4649         * wcsmbs/tst-wchar-h.c: Likewise.
4650         * wcsmbs/tst-wcpncpy.c: Likewise.
4651         * wcsmbs/tst-wcrtomb.c: Likewise.
4652         * wcsmbs/tst-wcsnlen.c: Likewise.
4653         * wcsmbs/tst-wcstof.c: Likewise.
4655 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
4657         [BZ #14132]
4658         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4659         INTDEF.
4660         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4661         declaration.
4662         (_dl_mcount): Use rtld_hidden_proto.
4663         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4664         _dl_mcount.
4665         * elf/rtld.c (_rtld_global_ro): Likewise.
4667         [BZ #14132]
4668         * elf/dl-init.c (_dl_init): Don't use INTDEF.
4669         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4670         of _dl_init_internal.
4671         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4672         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4673         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4674         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4675         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4676         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4677         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4678         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4679         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4680         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4681         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4682         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4683         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4684         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4685         * sysdeps/tile/dl-start.S (_start): Likewise.
4686         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4687         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4689         [BZ #14132]
4690         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4691         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4692         (rtld_progname): Make macro definition unconditional.
4693         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4694         INTDEF.
4695         (dlmopen_doit): Do not use INTUSE with _dl_argv.
4696         (dl_main): Likewise.
4697         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4698         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4699         instead of _dl_argv_internal.
4700         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4701         __GI__dl_argv instead of INTUSE(_dl_argv).
4702         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4703         __GI__dl_argv instead of _dl_argv_internal.
4705         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4706         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4707         macro.
4708         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4709         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4710         New macro.
4711         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4712         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4713         macro.
4714         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4715         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4717 2014-11-04  Andreas Schwab  <schwab@suse.de>
4719         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4721 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4723         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4724         mtvsrd instruction in binary form.
4726 2014-11-03  Andreas Schwab  <schwab@suse.de>
4728         [BZ #17522]
4729         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4730         for less than MB_LEN_MAX use a local buffer of that size.
4731         * libio/tst-fputws.c: New file.
4732         * libio/Makefile (tests): Add tst-fputws.
4734 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
4736         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4737         the size of the fpu_fr.fpu_dregs[] array.
4739 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
4741         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4742         (__nanosleep): Do not define as alias.
4743         (nanosleep): Define as alias of __nanosleep.
4744         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4745         __libc_nanosleep name.
4747 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4749         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4750         install.texi in comment.
4752 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4754         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4755         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4756         ... add here and use lwsync or sync ...
4757         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4758         ... and add here using lwsync.
4760 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
4762         * elf/dl-machine-reject-phdr.h: New file.
4763         * elf/dl-load.c: #include that.
4764         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4765         if that returned true.
4767 2014-10-31  Roland McGrath  <roland@hack.frob.com>
4769         [BZ #17496]
4770         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4771         gen-as-const-headers chunk.  Add a big scare comment after the last
4772         safe place to touch before-compile.
4774 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4776         * manual/install.texi (Tools for Compilation): Update autoconf
4777         version requirements.
4778         * INSTALL: Regenerated.
4780         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4781         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4782         (__libc_pselect): Likewise.
4784         [BZ #14138]
4785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4790 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4792         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4793         correct barrier instruction.
4794         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4795         Likewise.
4796         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4797         Likewise.
4799 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4801         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4802         after defining inlines.  Instead, just use parens to defeat macro
4803         expansion of __isctype in its declaration.
4805 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4807         * include/sys/uio.h (__libc_readv): Remove declaration.
4808         (__libc_writev): Likewise.
4809         * misc/readv.c (__libc_readv): Rename to __readv.
4810         (__readv): Do not define as alias.
4811         (readv): Define as alias of __readv.
4812         * misc/writev.c (__libc_writev): Rename to __writev.
4813         (__writev): Do not define as alias.
4814         (writev): Define as alias of __writev.
4815         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4816         (__readv): Do not define as alias.
4817         (readv): Define unconditionally as alias of __readv.
4818         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4819         (__writev): Do not define as alias.
4820         (writev): Define unconditionally as alias of __writev.
4821         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4822         name.
4823         (writev): Do not define __libc_writev name.
4825 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4827         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4828         (convert_charseq): New function, broken out of ...
4829         (use_from_charmap): ... here.  Call it.
4830         (use_to_charmap): Use convert_charseq and free instead of duplicating
4831         its code with a variable-length stack struct.
4833 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4835         * include/fcntl.h (__libc_creat): Remove declaration.
4836         * io/creat.c (__libc_creat): Rename to creat.
4837         (creat): Do not define as alias.
4838         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4839         of creat instead of __libc_creat.
4840         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4841         to creat.
4842         (creat): Do not define as alias.
4843         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4844         __libc_creat.
4845         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4846         __libc_creat name.
4847         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4848         Likewise.
4850 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
4852         * manual/llio.texi: Add comments discussing why write() may be
4853         considered MT-unsafe on Linux.
4855 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
4857         * dl-load.c (local_strdup): Remove.
4858         (expand_dynamic_string_token): Use __strdup.
4859         (decompose_rpath): Likewise.
4860         (_dl_map_object): Likewise.
4862 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
4864         [BZ #14132]
4865         * sysdeps/generic/unwind-dw2-fde.c
4866         (__register_frame_info_bases_internal): Do not declare.
4867         (__register_frame_info_table_bases_internal): Likewise.
4868         (__deregister_frame_info_bases_internal): Likewise.
4869         (__register_frame_info_bases): Declare and use hidden_proto before
4870         definition.  Use hidden_def instead of INTDEF.
4871         (__register_frame_info_table_bases): Likewise.
4872         (__deregister_frame_info_bases): Likewise.
4873         (__register_frame_info): Do not use INTUSE.
4874         (__register_frame): Likewise.
4875         (__register_frame_info_table): Likewise.
4876         (__register_frame_table): Likewise.
4877         (__deregister_frame_info): Likewise.
4878         (__deregister_frame): Likewise.
4880 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
4882         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4883         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4884         not undefine.
4885         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4886         Likewise.
4887         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4888         Likewise.
4890 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
4892         [BZ #14138]
4893         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4894         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4895         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4896         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4897         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4898         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4899         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4900         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4901         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4902         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4903         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4904         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4905         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4906         syscall.
4907         (setfsuid): Likewise.
4908         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4909         (setfsuid): Likewise.
4910         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4911         (setfsuid): Likewise.
4912         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4913         Likewise.
4914         (setfsuid): Likewise.
4915         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4916         (setfsuid): Likewise.
4917         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4918         Likewise.
4919         (setfsuid): Likewise.
4921 2014-10-27  Andreas Schwab  <schwab@suse.de>
4923         [BZ #17501]
4924         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4925         check for Slow_SSE4_2 feature bit.
4926         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4927         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4928         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4929         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
4931 2014-10-24  Roland McGrath  <roland@hack.frob.com>
4933         * configure.ac: Validate compiler version with a empirical test of
4934         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4935         $CC -v output.
4936         * configure: Regenerated.
4938         * inet/htons.c (htons): Prototypify.
4939         * inet/htonl.c (htonl): Likewise.
4941 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4943         * string/strncat.c (strncat): Improve performance by using strlen.
4945 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4947         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4949 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4951         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4952         Call libc_fetestexcept_aarch64.
4954 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4956         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4957         Call libc_feholdexcept_aarch64.
4959 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4961         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4962         Call get_rounding_mode.
4964 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4966         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4967         Simplify logic.
4969 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4971         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4972         Simplify logic.
4974 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
4976         [BZ #14138]
4977         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4978         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4979         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4980         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4981         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4982         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4983         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4984         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4985         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4986         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4987         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4988         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4989         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4990         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4991         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4992         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4993         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4994         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4995         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4996         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4997         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4998         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4999         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5000         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5001         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5002         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5003         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5004         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5005         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5006         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5007         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5008         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5009         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5010         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5011         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5012         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5013         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5014         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5015         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5016         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5017         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5018         syscall.
5019         (geteuid): Likewise.
5020         (getgid): Likewise.
5021         (getuid): Likewise.
5022         (getresgid): Likewise.
5023         (getresuid): Likewise.
5024         (getgroups): Likewise.
5025         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5026         (geteuid): Likewise.
5027         (getgid): Likewise.
5028         (getuid): Likewise.
5029         (getresgid): Likewise.
5030         (getresuid): Likewise.
5031         (getgroups): Likewise.
5032         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5033         (geteuid): Likewise.
5034         (getgid): Likewise.
5035         (getuid): Likewise.
5036         (getresgid): Likewise.
5037         (getresuid): Likewise.
5038         (getgroups): Likewise.
5039         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5040         Likewise.
5041         (geteuid): Likewise.
5042         (getgid): Likewise.
5043         (getuid): Likewise.
5044         (getresgid): Likewise.
5045         (getresuid): Likewise.
5046         (getgroups): Likewise.
5047         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5048         (geteuid): Likewise.
5049         (getgid): Likewise.
5050         (getuid): Likewise.
5051         (getresgid): Likewise.
5052         (getresuid): Likewise.
5053         (getgroups): Likewise.
5054         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5055         Likewise.
5056         (geteuid): Likewise.
5057         (getgid): Likewise.
5058         (getuid): Likewise.
5059         (getgroups): Likewise.
5061         [BZ #14138]
5062         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5063         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5064         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5065         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5066         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5067         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5068         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5069         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5070         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5071         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5072         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5073         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5074         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5075         __chown.
5076         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5077         (lchown): Likewise.
5078         (fchown): Likewise.
5079         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5080         Likewise.
5081         (lchown): Likewise.
5082         (fchown): Likewise.
5083         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5084         (lchown): Likewise.
5085         (fchown): Likewise.
5086         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5087         Likewise.
5088         (lchown): Likewise.
5089         (fchown): Likewise.
5091 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5093         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5094         Simplify logic.
5096 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5098         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5099         Cleanup logic.
5101 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5103         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5104         Remove unused include.
5106 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5108         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5109         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5110         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5111         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5113 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
5114             Helge Deller <deller@gmx.de>
5116         [BZ #17508]
5117         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5118         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5119         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5121 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
5123         [BZ #14132]
5124         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5125         Remove macro definition.
5126         (__ashrdi3_v_glibc20): Likewise.
5127         (__lshrdi3_v_glibc20): Likewise.
5128         (__cmpdi2_v_glibc20): Likewise.
5129         (__ucmpdi2_v_glibc20): Likewise.
5130         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5131         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5132         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5133         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5134         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5135         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5137 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5139         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5140         old GNU extension [0] syntax.
5141         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5142         alloca rather than an array member with variable length.
5143         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5144         * nscd/nscd.c (invalidate_db): New function, broken out of ...
5145         (parse_opt): ... here.  Likewise use alloca there.
5146         Validate the -i argument before checking for rootness.
5147         (send_shutdown): New function, broken out of ...
5148         (parse_opt): ... here.
5150 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5152         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5153         macro to get at the _rt_local_ro field.
5154         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5155         ([PIC] case) or _dl_hwcap ([!PIC] case).
5156         * sysdeps/arm/setjmp.S: Likewise.
5158         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5159         * sysdeps/arm/configure.ac: New check to define it.
5160         * sysdeps/arm/configure: Regenerated.
5161         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5162         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5163         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5164         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5165         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5166         Use move/movt pair instead of a load.
5167         (LDST_GLOBAL): Macro removed.
5168         (LDR_GLOBAL): New macro replaces it.
5169         (LDR_HIDDEN): New macro.
5170         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5171         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5173         * setjmp/tst-setjmp-static.c: New file.
5174         * setjmp/Makefile (tests): Add it.
5175         (tests-static): New variable.
5177 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
5179         [BZ #17485]
5180         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5182 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
5184         [BZ #14132]
5185         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5187 2014-10-21  Roland McGrath  <roland@hack.frob.com>
5189         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5191 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5193         * io/fts.c (dirent_not_directory): New function.
5194         (fts_build): Call it.
5196 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5198         * nptl/version.c (__nptl_main): Use normal __write rather than
5199         INTERNAL_SYSCALL.
5200         (banner): Update copyright years.
5202         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5203         gettimeofday.
5204         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5205         * nptl/pthread_cond_timedwait.c: Likewise.
5206         * nptl/pthread_mutex_timedlock.c: Likewise.
5207         * nptl/sem_timedwait.c: Likewise.
5209         * sysdeps/nptl/bits/libc-lock.h
5210         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5211         (__libc_lock_init_recursive): Return void, not 0.
5212         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5213         (__libc_rwlock_init): Likewise.
5214         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5216 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5218         [BZ #15215]
5219         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5220         (__pthread_once_slow): ... here.
5221         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5222         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5224 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5226         [BZ #15215]
5227         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5228         __PTHREAD_ONCE_FORK_GEN_INCR): New.
5229         * sysdeps/nptl/fork.c (__libc_fork): Use them.
5230         * nptl/pthread_once.c (__pthread_once): Likewise.
5231         Update comments.
5233 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
5235         [BZ #14138]
5236         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5237         name.
5238         (writev): Use __libc_writev as strong name.
5239         * sysdeps/unix/sysv/linux/readv.c: Remove file.
5240         * sysdeps/unix/sysv/linux/writev.c: Likewise.
5242 2014-10-17  Roland McGrath  <roland@hack.frob.com>
5244         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5246         * sysdeps/i386/nptl/tls.h
5247         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5248         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5249         New macros.
5250         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5251         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5252         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5253         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5254         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5255         Call CHECK_THREAD_SYSINFO instead of doing an assert.
5257         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5258         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5259         on [__NR_futex].
5260         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5261         broken out of ...
5262         (__pthread_mutex_init): ... here.  Call it.
5263         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5264         Conditionalize PI cases on [__NR_futex].
5265         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5266         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5267         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5269         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5270         conditional on [SIGSETXID].
5271         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5272         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5273         is defined.  Likewise for SIGSETXID.
5274         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5275         Conditionalize definitions on [SIGSETXID].
5276         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5277         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5278         unblocking on [SIGCANCEL].
5280         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5281         [__NR_set_robust_list].
5283 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5285         * string/strcoll_l.c (get_next_seq): Fix up formatting.
5286         (do_compare): Likewise.
5288 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
5290         [BZ #15884]
5291         * string/strcoll_l.c: Don't include stdio.h.
5292         (coll_seq): Remove members idxarr and rulearr.
5293         (get_next_seq_cached): Remove function.
5294         (get_next_seq): Likewise.
5295         (get_next_seq_nocache): Rename to get_next_seq.
5296         (do_compare): Remove function.
5297         (do_compare_nocache): Rename to do_compare.
5298         (STRCOLL): Remove weight and rules cache.
5300 2014-10-16  Roland McGrath  <roland@hack.frob.com>
5302         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5303         * sysdeps/arm/sfp-machine.h: ... to here.
5304         * sysdeps/arm/Implies: Remove arm/soft-fp.
5306 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
5308         * conform/data/sys/utsname.h-data (*_t): Allow.
5309         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5310         [POSIX] (WEXITED): Do not expect constant.
5311         [POSIX] (WSTOPPED): Likewise.
5312         [POSIX] (WNOHANG): Likewise.
5313         [POSIX] (WNOWAIT): Likewise.
5314         [POSIX] (siginfo_t): Do not expect type or elements.
5315         [POSIX] (pid_t): Do not expect type.
5316         [POSIX] (signal.h): Do not allow header.
5317         [POSIX] (sys/resource.h): Likewise.
5318         [POSIX] (si_*): Do not allow pattern.
5319         [POSIX] (W*): Likewise.
5320         [POSIX] (P_*): Likewise.
5321         [POSIX] (BUS_*): Likewise.
5322         [POSIX] (CLD_*): Likewise.
5323         [POSIX] (FPE_*): Likewise.
5324         [POSIX] (ILL_*): Likewise.
5325         [POSIX] (POLL_*): Likewise.
5326         [POSIX] (SEGV_*): Likewise.
5327         [POSIX] (SI_*): Likewise.
5328         [POSIX] (TRAP_*): Likewise.
5329         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5330         variable.
5332 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5334         [BZ #12926]
5335         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5336         infinite loop when __recvmsg returns 0.
5338 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
5340         * CANCEL-FCT-WAIVE: Remove file.
5341         * CANCEL-FILE-WAIVE: Likewise.
5343         [BZ #14132]
5344         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5345         instead of INTVARDEF.
5346         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5347         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5348         rtld_hidden_data_def instead of INTVARDEF.
5349         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5350         * elf/dl-deps.c (expand_dst): Likewise.
5351         * elf/dl-load.c (_dl_dst_count): Likewise.
5352         (_dl_dst_substitute): Likewise.
5353         (decompose_rpath): Likewise.
5354         (_dl_init_paths): Likewise.
5355         (open_path): Likewise.
5356         (_dl_map_object): Likewise.
5357         * elf/rtld.c (dl_main): Likewise.
5358         (process_dl_audit): Likewise.
5359         (process_envvars): Likewise.
5360         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5361         Remove declaration.
5362         (__libc_enable_secure): Use rtld_hidden_proto.
5364 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5366         * elf/dl-load.c
5367         (add_path): New function broken out of _dl_rtld_di_serinfo.
5368         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
5370 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5372         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5373         parentheses around macro arguments.
5374         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5375         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5376         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5377         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5378         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5379         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5380         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5381         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5382         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5383         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5384         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5385         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5386         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5387         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5388         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5389         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5390         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5391         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5392         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5393         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5394         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5395         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5396         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5397         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5398         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5399         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5400         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5401         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5402         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5403         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5404         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5405         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5406         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5407         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5408         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5409         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5410         Likewise.
5411         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5412         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5413         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5414         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5415         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5416         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5417         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5418         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5419         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5420         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5421         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5422         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5423         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5424         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5425         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5426         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5427         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5428         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5429         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5430         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5431         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5432         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5433         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5434         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5435         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5436         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5437         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5438         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5439         (_FP_FRAC_SRS_1): Likewise.
5440         (_FP_FRAC_CLZ_1): Likewise.
5441         (_FP_MUL_MEAT_1_imm): Likewise.
5442         (_FP_MUL_MEAT_1_wide): Likewise.
5443         (_FP_MUL_MEAT_1_hard): Likewise.
5444         (_FP_SQRT_MEAT_1): Likewise.
5445         (_FP_FRAC_ASSEMBLE_1): Likewise.
5446         (_FP_FRAC_DISASSEMBLE_1): Likewise.
5447         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5448         (__FP_CLZ_2): Likewise.
5449         (_FP_MUL_MEAT_2_wide): Likewise.
5450         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5451         (_FP_MUL_MEAT_2_gmp): Likewise.
5452         (_FP_MUL_MEAT_2_120_240_double): Likewise.
5453         (_FP_SQRT_MEAT_2): Likewise.
5454         (_FP_FRAC_ASSEMBLE_2): Likewise.
5455         (_FP_FRAC_DISASSEMBLE_2): Likewise.
5456         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5457         (_FP_FRAC_CLZ_4): Likewise.
5458         (_FP_MUL_MEAT_4_wide): Likewise.
5459         (_FP_MUL_MEAT_4_gmp): Likewise.
5460         (_FP_SQRT_MEAT_4): Likewise.
5461         (_FP_FRAC_ASSEMBLE_4): Likewise.
5462         (_FP_FRAC_DISASSEMBLE_4): Likewise.
5463         * soft-fp/op-common.h (_FP_CMP): Likewise.
5464         (_FP_CMP_EQ): Likewise.
5465         (_FP_CMP_UNORD): Likewise.
5466         (_FP_TO_INT): Likewise.
5467         (_FP_FROM_INT): Likewise.
5468         [!__FP_CLZ] (__FP_CLZ): Likewise.
5469         (_FP_DIV_HELP_imm): Likewise.
5470         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5471         Likewise.
5472         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5473         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5474         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5475         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5476         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5477         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5478         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5479         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5480         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5481         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5482         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5483         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5484         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5485         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5486         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5487         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5488         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5489         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5490         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5491         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5492         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5493         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5494         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5495         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5496         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5497         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5498         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5499         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5500         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5501         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5502         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5503         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5504         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5505         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5506         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5507         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5508         (FP_UNPACK_RAW_SP): Likewise.
5509         (FP_PACK_RAW_S): Likewise.
5510         (FP_PACK_RAW_SP): Likewise.
5511         (FP_UNPACK_S): Likewise.
5512         (FP_UNPACK_SP): Likewise.
5513         (FP_UNPACK_SEMIRAW_S): Likewise.
5514         (FP_UNPACK_SEMIRAW_SP): Likewise.
5515         (FP_PACK_S): Likewise.
5516         (FP_PACK_SP): Likewise.
5517         (FP_PACK_SEMIRAW_S): Likewise.
5518         (FP_PACK_SEMIRAW_SP): Likewise.
5519         (_FP_SQRT_MEAT_S): Likewise.
5520         (FP_CMP_S): Likewise.
5521         (FP_CMP_EQ_S): Likewise.
5522         (FP_CMP_UNORD_S): Likewise.
5523         (FP_TO_INT_S): Likewise.
5524         (FP_FROM_INT_S): Likewise.
5526         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5528         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5529         (FP_EX_INVALID_IMZ): Likewise.
5530         (FP_EX_INVALID_IMZ_FMA): Likewise.
5531         (FP_EX_INVALID_ISI): Likewise.
5532         (FP_EX_INVALID_ZDZ): Likewise.
5533         (FP_EX_INVALID_IDI): Likewise.
5534         (FP_EX_INVALID_SQRT): Likewise.
5535         (FP_EX_INVALID_CVI): Likewise.
5536         (FP_EX_INVALID_VC): Likewise.
5537         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5538         "invalid" exceptions.
5539         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5540         (_FP_ADD_INTERNAL): Likewise.
5541         (_FP_MUL): Likewise.
5542         (_FP_FMA): Likewise.
5543         (_FP_DIV): Likewise.
5544         (_FP_CMP_CHECK_NAN): Likewise.
5545         (_FP_SQRT): Likewise.
5546         (_FP_TO_INT): Likewise.
5547         (FP_EXTEND): Likewise.
5549 2014-10-09  Allan McRae  <allan@archlinux.org>
5551         * po/fr.po: Update French translation from translation project.
5553 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5555         [BZ #14132]
5556         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5557         of INTDEF.
5558         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5559         (__cxa_atexit): Use libc_hidden_proto.
5560         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5562         [BZ #14132]
5563         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5564         declaration.
5565         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5566         [!_ISOMAC] (__iswspace_l_internal): Likewise.
5567         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5568         [!_ISOMAC] (__iswctype_internal): Likewise.
5569         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5570         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5571         alias.
5572         (fcntl): Remove __fcntl_internal alias.
5573         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5574         __connect_internal alias.
5575         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5576         Likewise.
5578         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5579         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5580         FP_DENORM_ZERO.
5581         (_FP_CHECK_FLUSH_ZERO): New macro.
5582         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5583         (_FP_CMP): Likewise.
5584         (_FP_CMP_EQ): Likewise.
5585         (_FP_TO_INT): Do not set inexact for subnormal arguments if
5586         FP_DENORM_ZERO.
5587         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5588         (FP_TRUNC): Likewise.
5590         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5591         treated as invalid conversion, not as normal exponent.
5593         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5594         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
5595         (_FP_CMP_EQ): Likewise.
5596         (_FP_CMP_UNORD): Likewise.
5597         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5598         (FP_CMP_EQ_D): Likewise.
5599         (FP_CMP_UNORD_D): Likewise.
5600         * soft-fp/extended.h (FP_CMP_E): Likewise.
5601         (FP_CMP_EQ_E): Likewise.
5602         (FP_CMP_UNORD_E): Likewise.
5603         * soft-fp/quad.h (FP_CMP_Q): Likewise.
5604         (FP_CMP_EQ_Q): Likewise.
5605         (FP_CMP_UNORD_Q): Likewise.
5606         * soft-fp/single.h (FP_CMP_S): Likewise.
5607         (FP_CMP_EQ_S): Likewise.
5608         (FP_CMP_UNORD_S): Likewise.
5609         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5610         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5611         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5612         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5613         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5614         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5615         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5616         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5617         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5618         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5619         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5620         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5621         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5622         to FP_CMP_Q.
5623         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5624         FP_CMP_Q.
5625         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5626         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5627         FP_CMP_EQ_Q.
5628         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5629         FP_CMP_Q.
5630         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5631         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5632         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5633         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5634         FP_CMP_EQ_Q.
5635         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5636         FP_CMP_Q.
5637         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5638         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5639         FP_CMP_EQ_Q.
5640         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5641         FP_CMP_Q.
5642         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5643         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5644         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5645         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5646         FP_CMP_EQ_Q.
5648         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5649         a subnormal result, set the underflow exception if trapping on
5650         underflow is enabled.
5651         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5652         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5653         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5654         redefine to 0.
5655         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5656         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5657         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5658         * soft-fp/extendxftf2.c (__extendxftf2): Use
5659         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5661         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5662         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5663         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5664         FP_HANDLE_EXCEPTIONS.
5665         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5666         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5667         FP_HANDLE_EXCEPTIONS.
5668         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5669         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5670         FP_HANDLE_EXCEPTIONS.
5671         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5672         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5673         FP_HANDLE_EXCEPTIONS.
5675 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
5677         [BZ #14132]
5678         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5679         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5680         use INTUSE.
5681         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5682         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5683         Remove alias.
5684         (__adjtimex): Define using libc_hidden_ver.
5685         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5686         Remove declaration.
5687         (ntp_gettime): Call __adjtimex directly.
5688         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5689         Remove declaration.
5690         (ntp_gettimex): Call __adjtimex directly.
5691         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5692         __adjtimex_internal alias.
5694 2014-10-08  Roland McGrath  <roland@hack.frob.com>
5696         [BZ #17460]
5697         * nscd/nscd.c (more_help): Rewrite list of tables collection
5698         using xstrdup and asprintf.
5700         * nscd/nscd_conf.c: Remove local xstrdup declaration.
5702 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5703             Roland McGrath  <roland@hack.frob.com>
5705         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5706         (do_lookup_unique): ... local function 'enter' here; update callers.
5708 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
5710         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5711         compat_symbol calls on [SHARED].
5712         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5713         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5714         Remove.
5715         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5716         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5717         (oldsetrlimit): Remove.
5718         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5720         (lchown): New syscall entry.
5721         (oldsetrlimit): Remove.
5722         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5723         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5724         (oldsetrlimit): Remove.
5725         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5727         [BZ #14138]
5728         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5729         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5730         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5731         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5732         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5733         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5734         (fchown): Likewise.
5735         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5736         (fchown): Likewise.
5737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5738         Likewise.
5740 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5742         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5743         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5744         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5745         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5746         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5747         Likewise.
5748         (__old_sem_post): Likewise.
5750 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
5752         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5753         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5754         HAVE_CLOCK_GETTIME_VSYSCALL macros.
5755         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5756         Use INLINE_VSYSCALL macro.
5757         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5758         __vdso_clock_gettime.
5759         * sysdeps/unix/sysv/linux/tile/init-first.c
5760         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5761         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5762         __vdso_clock_gettime.
5764         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5765         to set up frame more cleanly.
5767         * sysdeps/tile/memcmp.c: New file.
5769         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5771         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5772         * sysdeps/tile/tilegx/strcasestr.c: New file.
5773         * sysdeps/tile/tilegx/strnlen.c: New file.
5774         * sysdeps/tile/tilegx/strstr.c: New file.
5776         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5778 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
5780         * nptl/tst-setuid3.c: Write errors to stdout.
5782 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5784         * elf/dl-deps.c
5785         (preload): New functions broken out of _dl_map_object_deps.
5786         (_dl_map_object_deps):  Remove a nested function. Update call sites.
5788 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
5790         [BZ #14138]
5791         * sysdeps/unix/sysv/linux/execve.c: Remove file.
5792         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5794 2014-10-01  Steve Ellcey  <sellcey@mips.com>
5796         * sysdeps/mips/strcmp.S: New.
5798 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
5800         [BZ #14138]
5801         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5802         (linkat): Likewise.
5803         (mkdirat): Likewise.
5804         (readlinkat): Likewise.
5805         (renameat): Likewise.
5806         (symlinkat): Likewise.
5807         (unlinkat): Likewise.
5808         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5809         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5810         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5811         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5812         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5813         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5814         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5816 2014-09-30  Will Newton  <will.newton@linaro.org>
5818         * math/math.h: Define long double math functions if
5819         _LIBC_TEST is defined.
5820         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5822         * localedata/Makefile: Move assignment to tests-special
5823         into an ifdef testing run-built-tests.
5824         * timezone/Makefile: Likewise.
5826 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
5828         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5829         with $(BASH) not $(SHELL).
5831 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
5832             Matthew LeGendre  <legendre1@llnl.gov>
5834         [BZ #17411]
5835         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5836         l_reloc_result.
5838 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5840         * stdio-common/printf_fp.c
5841         (hack_digit): New function, broken out of ...
5842         (__printf_fp): ... local function here.  Update call sites.
5843         hack_digit now takes an additional parameter that is a pointer
5844         to a struct of the referenced locals.  Those locals moved inside
5845         the struct and references updated.
5847 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
5849         * aclocal.m4: Require autoconf 2.69.
5850         * configure: Regenerated.
5851         * sysdeps/aarch64/configure: Likewise.
5852         * sysdeps/alpha/configure: Likewise.
5853         * sysdeps/arm/armv7/configure: Likewise.
5854         * sysdeps/arm/configure: Likewise.
5855         * sysdeps/ia64/configure: Likewise.
5856         * sysdeps/mach/configure: Likewise.
5857         * sysdeps/mips/configure: Likewise.
5858         * sysdeps/s390/configure: Likewise.
5859         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5862         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5863         file.
5864         * sysdeps/ia64/configure.ac: Likewise.
5866 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
5868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5869         specify symbol version for ld.so.  Do not include entry for
5870         libpthread.
5871         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5872         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5873         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5875         [BZ #14171]
5876         * Makeconfig [$(build-shared) = yes]
5877         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5878         makefiles.
5879         [$(build-shared) = yes && $(soversions.mk-done) = t]
5880         ($(common-objpfx)gnu/lib-names.h): Remove rule.
5881         [$(build-shared) = yes && $(soversions.mk-done) = t]
5882         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
5883         to Makerules.
5884         [$(build-shared) = yes && $(soversions.mk-done) = t]
5885         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5886         here.
5887         [$(build-shared) = yes && $(soversions.mk-done) = t]
5888         (common-generated): Don't append gnu/lib-names.h and
5889         gnu/lib-names.stmp here.
5890         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5891         (lib-names-h-abi): New variable.
5892         [$(build-shared) = yes && $(soversions.mk-done) = t]
5893         (lib-names-stmp-abi): Likewise.
5894         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5895         abi-variants] (before-compile): Append
5896         $(common-objpfx)$(lib-names-h-abi).
5897         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5898         abi-variants] (common-generated): Append gnu/lib-names.h.
5899         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5900         abi-variants] (install-others-nosubdir): Depend on
5901         $(inst_includedir)/$(lib-names-h-abi).
5902         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5903         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5904         [$(build-shared) = yes && $(soversions.mk-done) = t]
5905         ($(common-objpfx)$(lib-names-h-abi)): New rule.
5906         [$(build-shared) = yes && $(soversions.mk-done) = t]
5907         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5908         [$(build-shared) = yes && $(soversions.mk-done) = t]
5909         (common-generated): Append $(lib-names-h-abi) and
5910         $(lib-names-stmp-abi).
5911         * scripts/lib-names.awk: Do not handle multi being set.
5912         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5913         Remove variable.
5914         (abi-lp64_be-ld-soname): Likewise.
5915         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5916         Likewise.
5917         (abi-hard-ld-soname): Likewise.
5918         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5919         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5920         Remove variable.
5921         (abi-o32_hard-ld-soname): Likewise.
5922         (abi-o32_soft_2008-ld-soname): Likewise.
5923         (abi-o32_hard_2008-ld-soname): Likewise.
5924         (abi-n32_soft-ld-soname): Likewise.
5925         (abi-n32_hard-ld-soname): Likewise.
5926         (abi-n32_soft_2008-ld-soname): Likewise.
5927         (abi-n32_hard_2008-ld-soname): Likewise.
5928         (abi-n64_soft-ld-soname): Likewise.
5929         (abi-n64_hard-ld-soname): Likewise.
5930         (abi-n64_soft_2008-ld-soname): Likewise.
5931         (abi-n64_hard_2008-ld-soname): Likewise.
5932         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5933         Likewise.
5934         (abi-64-v2-ld-soname): Likewise.
5935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5936         ld.so entries.
5937         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5938         variable.
5939         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5940         entry.
5941         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5942         variable.
5943         (abi-64-ld-soname): Likewise.
5944         (abi-x32-ld-soname): Likewise.
5945         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5946         entry.
5947         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5949 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
5951         [BZ #14138]
5952         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5953         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5954         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5955         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5956         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5957         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5958         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5959         syscall entry for GLIBC_2.2 symbol version.
5960         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5961         Likewise.
5962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5963         (setrlimit): Likewise.
5964         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5965         Likewise.
5967 2014-09-23  Will Newton  <will.newton@linaro.org>
5969         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5970         _LINUX_ARM_SYSDEP_H include guard too.
5971         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5972         define.
5974 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5976         * sysdeps/unix/sysv/linux/eventfd.c:
5977         Make first argument unsigned.
5978         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5979         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5981 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
5983         * socket/recvmmsg.c (recvmmsg): Drop const argument.
5984         * socket/sys/socket.h: Likewise
5985         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5987 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5989         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5991 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
5993         * time/tst-ftime.c: New test.
5994         * time/Makefile (tests): Add tst-ftime.
5996 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
5998         * soft-fp/extended.h: Fix comment formatting.
5999         * soft-fp/op-1.h: Likewise.
6000         * soft-fp/op-2.h: Likewise.
6001         * soft-fp/op-4.h: Likewise.
6002         * soft-fp/op-8.h: Likewise.
6003         * soft-fp/op-common.h: Likewise.
6004         * soft-fp/soft-fp.h: Likewise.
6006         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6008 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
6010         [BZ #6652]
6011         * Makeconfig (soversions-default-setname): Remove variable.
6012         ($(common-objpfx)soversions.i): Don't pass default_setname to
6013         soversions.awk.
6014         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6015         oldest_abi to abi-versions.awk.
6016         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6017         * config.make.in (oldest-abi): Remove variable.
6018         * configure.ac (--enable-oldest-abi): Remove configure option.
6019         * configure: Regenerated.
6020         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6021         text.
6022         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6023         * scripts/soversions.awk: Do not handle default_setname variable.
6024         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6025         variable.
6026         * sysdeps/mach/hurd/configure: Regenerated.
6027         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6028         variable.
6029         * sysdeps/unix/sysv/linux/configure: Regenerated.
6031 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6033         * elf/Makefile (CFLAGS-interp.c): Remove.
6034         ($(elf-objpfx)runtime-linker.h): Generate header with linker
6035         path string.
6036         * elf/interp.c: Include generated runtime-linker.h
6038         * Makerules (lib%.so): Don't include $(+interp) in
6039         prerequisites.
6040         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6041         * dlfcn/eval.c: Remove file.
6043         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6044         macros.
6046         [BZ #17266]
6047         * misc/sys/cdefs.h: Define __extern_always_inline for clang
6048         4.2 and newer.
6050         [BZ #17370]
6051         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6053 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6054             Jakub Jelinek  <jakub@redhat.com>
6056         [BZ #17266]
6057         * libio/stdio.h: Check definition of __fortify_function
6058         instead of __extern_always_inline to include bits/stdio2.h.
6059         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6060         check if __extern_always_inline is defined.
6061         [__USE_MISC || __USE_XOPEN]: Likewise.
6062         [__USE_ISOC99] Likewise.
6063         * misc/sys/cdefs.h (__fortify_function): Define only if
6064         __extern_always_inline is defined.
6065         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6066         __extern_always_inline and __extern_inline only for g++-4.3
6067         and newer or a compatible gcc.
6069 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
6071         [BZ #17371]
6072         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6073         last change to handle zero prefix length.
6075 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6077         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6078         _SC_REGEX_VERSION.
6080         * posix/getconf.c (vars): Add _POSIX_IPV6 and
6081         _POSIX_RAW_SOCKETS.
6083 2014-09-13  Allan McRae  <allan@archlinux.org>
6085         * po/ru.po: Update Russian translation from translation project.
6087 2014-09-12  Roland McGrath  <roland@hack.frob.com>
6089         * locale/programs/locale.c (show_locale_vars): Inline local function
6090         into its sole call site.  Clean up some style nits.
6091         (print_item): New function, broken out of ...
6092         (show_info): ... local function here.  Clean up style nits.
6094         * locale/programs/ld-ctype.c (set_one_default): New function, broken
6095         out of ...
6096         (set_class_defaults): ... local function set_default here.
6097         Define set_default as a macro locally to pass constant parameters.
6098         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6099         rather than a shared local.
6101         * stdlib/rpmatch.c (try): New function, broken out of ...
6102         (rpmatch): ... local function here.  Also, prototypify definition.
6104 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6106         * scripts/soversions.awk: Do not handle configuration names.
6107         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6108         vendor and os variables to soversions.awk.
6109         * configure.ac: Do not modify gnu-* host_os.
6110         * configure: Regenerated
6111         * shlib-versions: Remove first column with configuration names.
6112         * nptl/shlib-versions: Likewise.
6113         * nptl_db/shlib-versions: Likewise.
6114         * sysdeps/hppa/shlib-versions: Likewise.
6115         * sysdeps/m68k/shlib-versions: Likewise.
6116         * sysdeps/mach/hurd/shlib-versions: Likewise.
6117         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6118         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6119         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6120         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6121         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6122         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6123         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6124         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6126         Likewise.
6127         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6128         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6129         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6130         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6131         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6132         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6133         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6134         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6137         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6139         Regenerated.
6140         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6142         Condition symbol version definitions on [HAVE_ELFV2_ABI].
6144         * shlib-versions: Remove OS-specific entries.  Moved to files in
6145         sysdeps.
6146         * sysdeps/mach/hurd/shlib-versions: New file.
6147         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6149         * nptl/shlib-versions: Remove architecture-specific entries.
6150         Moved to files in sysdeps.
6151         * shlib-versions: Likewise.
6152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6153         file.
6154         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6155         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6156         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6157         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6159         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6160         (UDP_NO_CHECK6_RX): Likewise.
6162 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6164         * sysdeps/posix/sysconf.c (__sysconf): Spell
6165         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6167 2014-08-12  Florian Weimer  <fweimer@redhat.com>
6169         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6170         loading.
6171         * iconv/Versions (__gconv_transliterate): Export for use from
6172         gconv modules.
6173         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6174         (struct __gconv_trans_data, __gconv_trans_fct,
6175         __gconv_trans_context_fct, __gconv_trans_query_fct,
6176         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6177         definitions.
6178         (struct __gconv_step_data): Remove __trans member.
6179         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
6180         longer hidden.  Remove unused trans_data argument.
6181         * iconv/gconv_int.h (struct trans_struct): Remove definition.
6182         (__gconv_translit_find): Remove declaration.
6183         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
6184         prototype.
6185         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6186         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6187         trans_data argument.  Add hidden definition.
6188         (__gconv_translit_find): Remove.
6189         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6190         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6191         * iconv/skeleton.c: Remove transliteration initialization.
6192         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6193         __gconv_step_data initialization.
6194         * libio/iofwide.c (__libio_translit_): Remove.
6195         (_IO_fwide): Adjust struct __gconv_step_data initialization.
6196         * wcsmbs/btowc.c (__btowc): Likewise.
6197         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6198         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6199         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6200         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6201         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6202         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6203         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6204         * wcsmbs/wctob.c (wctob): Likewise.
6206 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6208         [BZ #16194]
6209         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6210         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
6211         register usage.
6212         * sysdeps/x86/Makefile: Adjust.
6214 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6215             Roland McGrath  <roland@hack.frob.com>
6217         * locale/weight.h: Add include guard.
6218         (findidx): Make static rather than auto; take new parameters
6219         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6220         * locale/weightwc.h: Likewise.
6221         * posix/fnmatch_loop.c
6222         (FCT): Change type of EXTRA from int32_t to wint_t.
6223         Don't include either header inside the function.
6224         Call FINDIDX rather than findidx, and pass new arguments.
6225         #undef FINDIDX at the end of the file.
6226         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6227         FINDIDX before including fnmatch_loop.c for the non-wide version.
6228         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6229         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6230         for the wide version.
6231         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6232         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6233         Pass new arguments to findidx.
6234         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6235         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6236         Don't #include it inside the function.  Pass new arguments to findidx.
6237         * posix/regex_internal.h
6238         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6239         (re_string_elem_size_at): Don't #include it inside the function.
6240         Pass new arguments to findidx.
6241         * string/strcoll_l.c: #include WEIGHT_H at top level.
6242         (get_next_seq): Don't #include it inside the function.
6243         Pass new arguments to findidx.
6244         (get_next_seq_nocache): Likewise.
6245         * string/strxfrm_l.c: #include WEIGHT_H at top level.
6246         (STRXFRM): Don't #include it inside the function.
6247         Pass new arguments to findidx.
6249 2014-09-11  Florian Weimer  <fweimer@redhat.com>
6251         [BZ #17344]
6252         * malloc/malloc.c (unlink): Turn asserts into a call to
6253         malloc_printerr.
6255 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
6257         [BZ #17370]
6258         * libio/wfileops (do_ftell_wide): Free OUT.
6260 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
6262         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6264 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6266         [BZ #17363]
6267         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6268         group if the current group is empty.
6270 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6272         * benchtests/bench-memset.c (test_main): Add more test from size
6273         from 32 to 512 bytes.
6274         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6275         Add POWER8 memset object.
6276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6277         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6278         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6279         implementation.
6280         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6281         Likewise.
6282         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6283         multiarch POWER8 memset optimization.
6284         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6285         POWER8 memset optimization.
6287         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6288         Remove bzero multiarch objects.
6289         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6290         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6291         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6292         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6293         Remove define.
6294         [__bzero]: Redefine to specific name.
6295         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6296         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6297         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6298         define.
6299         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6300         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6302 2014-09-10  Florian Weimer  <fweimer@redhat.com>
6304         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6305         warnings into errors.
6307         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6308         __cxa_thread_atexit_impl prototype.
6310 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6312         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6313         Fix capitalization of error message.
6315 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6317         * sysdeps/mips/preconfigure: Modify ABI tests.
6319 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
6321         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6323 2014-09-07  Roland McGrath  <roland@hack.frob.com>
6324             Carlos O'Donell  <carlos@systemhalted.org>
6326         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6327         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6328         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6329         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6330         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6331         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6332         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6333         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6334         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6335         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6336         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6337         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6338         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6339         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6340         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6341         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6342         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6343         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6344         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6345         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6346         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6347         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6348         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6349         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6350         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6351         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6352         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6353         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6354         Deconditionalize the code that was previously under [RESET_PID].
6355         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6356         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6357         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6358         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6359         include sysdep.h.
6361 2014-09-08  Allan McRae  <allan@archlinux.org>
6363         * version.h (RELEASE): Set to "development".
6364         (VERSION): Set to "2.20.90"
6366 2014-09-07  Allan McRae  <allan@archlinux.org
6368         * version.h (RELEASE): Set to "stable".
6369         (VERSION): Set to "2.20"
6370         * include/features.h (__GLIBC_MINOR__): Set to 20.
6372         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6373         Liebler.
6375         * po/ko.po: Update Korean translation from translation project.
6377 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
6379         [BZ #17354]
6380         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6381         macro for handling signed relocations.
6383 2014-09-03  Florian Weimer  <fweimer@redhat.com>
6385         [BZ #17325]
6386         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6387         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6388         assert.
6389         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6390         * iconvdata/ibm935.c (BODY): Likewise.
6391         * iconvdata/ibm937.c (BODY): Likewise.
6392         * iconvdata/ibm939.c (BODY): Likewise.
6393         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6394         assert.
6395         * iconvdata/Makefile (iconv-test.out): Pass module list to test
6396         script.
6397         * iconvdata/run-iconv-test.sh: New test loop for checking for
6398         decoder crashers.
6400 2014-09-02  Khem Raj  <raj.khem@gmail.com>
6402         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6403         libm_hidden_ver.
6405 2014-09-01  Allan McRae  <allan@archlinux.org>
6407         * po/eo.po: Update Esperanto translation from translation project.
6409         * po/ca.po: Update Catalan translation from translation project.
6411 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6413         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6414         __proc_dostop call.
6416 2014-08-27  Mark Wielaard  <mjw@redhat.com>
6418         [BZ #17319]
6419         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6420         to call set_thread_area instead of hand written asm.
6421         (__NR_set_thread_area): Removed define.
6422         (TLS_FLAG_WRITABLE): Likewise.
6423         (__ASSUME_SET_THREAD_AREA): Remove check.
6424         (TLS_EBX_ARG): Remove define.
6425         (TLS_LOAD_EBX): Likewise.
6427 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6429         Simplify atomicity of socket creation in bind.
6431         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6432         looking up the name after linking the file.
6434 2014-08-27  Allan McRae  <allan@archlinux.org>
6436         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6438 2014-08-26  Florian Weimer  <fweimer@redhat.com>
6440         [BZ #17187]
6441         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6442         trans_compare, open_translit, __gconv_translit_find):
6443         Remove module loading code.
6445 2014-08-26  Allan McRae  <allan@archlinux.org>
6447         * po/vi.po: Update Vietnamese translation from translation project.
6449         * po/uk.po: Update Ukrainian translation from translation project.
6451         * po/fr.po: Update French translation from translation project.
6453         * po/ru.po: Update Russian translation from translation project.
6455         * po/pl.po: Update Polish translation from translation project.
6457         * po/cs.po: Update Czech translation from translation project.
6459         * po/de.po: Update German translation from translation project.
6461         * po/bg.po: Update Bulgarian translation from translation project.
6463         * po/sv.po: Update Sweedish translation from translation project.
6465         * po/nl.po: Update Dutch translation from translation project.
6467         * po/es.po: Update Spanish translation from translation project.
6469 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6471         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6473         * catgets/Makefile (CPPFLAGS-gencat): Remove.
6474         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6475         (CPPFLAGS-iconvconfig): Likewise.
6476         * timezone/Makefile (CPPFLAGS-zic): Likewise.
6478         * include/libc-symbols.h: Remove unnecessary check for
6479         NOT_IN_libc.
6480         * nptl/pthreadP.h: Likewise.
6481         * sysdeps/aarch64/setjmp.S: Likewise.
6482         * sysdeps/alpha/setjmp.S: Likewise.
6483         * sysdeps/arm/sysdep.h: Likewise.
6484         * sysdeps/i386/setjmp.S: Likewise.
6485         * sysdeps/m68k/setjmp.c: Likewise.
6486         * sysdeps/posix/getcwd.c: Likewise.
6487         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6488         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6489         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6490         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6491         * sysdeps/sh/sh3/setjmp.S: Likewise.
6492         * sysdeps/sh/sh4/setjmp.S: Likewise.
6493         * sysdeps/unix/alpha/sysdep.h: Likewise.
6494         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6495         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6496         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6497         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6500         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6501         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6502         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6503         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6504         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6505         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6506         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6507         * sysdeps/x86_64/setjmp.S: Likewise.
6509 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
6511         [BZ #17263]
6512         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6513         <stdint.h>.
6514         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6515         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6517 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6519         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6521         [BZ #17262]
6522         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6523         and __x86_64__ when disabling x87 inline functions.
6525 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6527         [BZ #17259]
6528         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6529         asm statement with __cpuid_count.
6531 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
6533         * configure.ac: Change __ehdr_start code to dereference the struct.
6534         Run readelf on the output to look for relocations.
6535         * configure: Regenerated.
6537 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
6539         [BZ #17261]
6540         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6541         value to 0.
6542         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6544 2014-08-12  Roland McGrath  <roland@hack.frob.com>
6546         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6548 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
6550         [BZ #16892]
6551         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6552         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6554 2014-08-12  Sean Anderson  <seanga2@gmail.com>
6556         * malloc/malloc.c: Fix typo in comment.
6558 2014-08-09  Allan McRae  <allan@archlinux.org>
6560         * Regenerate libc.po.
6562 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
6564         * intl/tst-gettext2.sh: Check every lang file for creation.
6566 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6568         * sysdeps/aarch64/fpu/math_private.h
6569         (libc_feholdsetround_noex_aarch64_ctx): New function.
6571 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6573         * sysdeps/arm/armv6/strcpy.S (strcpy):
6574         Fix performance issue in misaligned cases.
6576 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6578         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6579         Move definition from termios.h.
6580         (struct termio): Likewise.
6581         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6582         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6583         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6584         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6585         Likewise.
6586         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6587         Move definition to ioctl-types.h
6588         (struct termio): Likewise.
6589         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6590         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6591         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6592         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6593         Likewise.
6595 2014-08-05  Richard Henderson  <rth@redhat.com>
6597         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6598         exceptions.
6599         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6600         Add fraiseexcpt.
6601         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6602         Use __feraiseexcept.
6603         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6604         Protect libm symbols with IS_IN_libm.
6606         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6608 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
6610         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6612 2014-08-04  Will Newton  <will.newton@linaro.org>
6614         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6615         file.
6617 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
6619         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6620         variants for each function.
6622 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6624         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6625         appended ...
6626         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6627         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6628         appended ...
6629         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6630         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6631         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6632         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6633         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6634         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6635         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6636         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6637         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6638         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6639         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6640         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6641         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6642         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6643         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6644         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6645         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6646         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6647         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6648         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6649         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6650         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6651         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6652         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6653         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6654         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6655         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6656         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6657         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6658         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6659         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6660         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6661         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6662         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6663         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6664         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6665         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6666         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6667         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6668         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6669         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6670         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6671         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6672         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6673         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6674         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6675         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6676         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6677         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6678         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6679         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6680         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6681         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6682         Update #include.
6683         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6684         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6686 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6688         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6689         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6690         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6691         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6692         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6693         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6695 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6697         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6698         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6699         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6700         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6702 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6704         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6705         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6706         (__libc_vfork): Define function under this name.
6707         (__vfork): Define as an alias.
6708         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6709         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6711 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6713         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6714         that was previously under [RESET_PID].
6715         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6717 2014-08-04  Andreas Schwab  <schwab@suse.de>
6719         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6721 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
6723         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6724         (main): Likewise.
6726 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6728         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6730 2014-08-01  Richard Henderon  <rth@redhat.com>
6732         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6733         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6734         typo in exact zero test.
6735         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6736         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6737         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6739 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6741         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6742         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6743         * sysdeps/arm/sysdep.h: ... here.
6744         [!__ASSEMBLER__]: Include <stdint.h>.
6746 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6748         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6749         (HAVE_WCTYPE_H): Likewise.
6750         (HAVE_ISWCTYPE): Likewise.
6751         (ENABLE_NLS): Likewise.
6752         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6753         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6755         * posix/regex_internal.c: Check if DEBUG is defined and is
6756         set.
6758         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6759         (HAVE_MBSRTOWCS): Likewise.
6760         * posix/fnmatch.c: Include string.h unconditionally.
6762 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6764         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6765         reversal.
6767 2014-07-31  Roland McGrath  <roland@hack.frob.com>
6769         * sysdeps/generic/safe-fatal.h: New file.
6770         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6771         * nptl/forward.c: Include it.
6772         (__pthread_unwind): Use __safe_fatal as default action, rather
6773         than a bogus use of INTERNAL_SYSCALL that could never work.
6775         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6776         * configure.ac (libc_cv_builtin_trap): New test.
6777         * configure: Regenerated.
6778         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6779         (ABORT_INSTRUCTION): Define using __builtin_trap.
6781         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6782         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6783         * sysdeps/nptl/nptl-signals.h: New file.
6784         * nptl/pthreadP.h: Include <nptl-signals.h>.
6786 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6788         * sysdeps/s390/s390-64/utf16-utf32-z9.c
6789         (ONE_DIRECTION): Define.
6790         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6791         (ONE_DIRECTION): Define.
6792         * sysdeps/s390/s390-64/utf8-utf32-z9.c
6793         (ONE_DIRECTION): Define.
6795 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6797         * sysdeps/s390/Makefile: Delete file.
6798         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6799         * sysdeps/s390/__longjmp.c: Delete file.
6800         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6801         Remove fields __flags and __reserved.
6802         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6803         and add versioning.
6804         * sysdeps/s390/rtld-__longjmp.c: Delete file.
6805         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6806         * sysdeps/s390/rtld-setjmp.S: Likewise.
6807         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6808         * sysdeps/s390/s390-32/__longjmp.c: ... here.
6809         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6810         * sysdeps/s390/s390-32/setjmp.S: ... here.
6811         Add versioning.
6812         (__sigsetjmp): Remove setting __flags field.
6813         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6814         * sysdeps/s390/s390-64/__longjmp.c: ... here.
6815         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6816         * sysdeps/s390/s390-64/setjmp.S: ... here.
6817         Add versioning.
6818         (__sigsetjmp): Remove setting __flags field.
6819         * sysdeps/s390/setjmp.S: Delete file.
6820         * sysdeps/s390/sigjmp.c: Likewise.
6821         * sysdeps/s390/v1-longjmp.c: Likewise.
6822         * sysdeps/s390/v1-setjmp.h: Likewise.
6823         * sysdeps/s390/v1-sigjmp.c: Likewise.
6824         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6825         Remove v1-longjmp_chk.
6826         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6827         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6828         Include debug/longjmp_chk.c and add versioning.
6829         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6830         Include nptl/pt-longjmp.c and add versioning.
6831         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6832         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6833         Include __longjmp.c.
6834         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6835         Move to ...
6836         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6837         (__getcontext): Remove setting __flags field.
6838         Add versioning.
6839         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6840         Don't restore upper high grps.
6841         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6842         Likewise.
6843         (__swapcontext): Remove setting uc_flags field.
6844         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6845         Delete file.
6846         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6847         Include __longjmp.c.
6848         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6849         Move to ...
6850         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6851         (__getcontext): Remove setting __flags field.
6852         Add versioning.
6853         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6854         (__swapcontext): Remove setting uc_flags field.
6855         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6856         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6857         Remove fields uc_high_gprs and __reserved.
6858         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6859         New file with reverted content.
6860         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6861         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6862         Regenerated.
6863         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6864         Regenerated.
6866 2014-07-31  Andreas Schwab  <schwab@suse.de>
6868         * config.h.in (HAVE_IFUNC): Define to 0.
6869         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6870         definedness.
6872 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
6874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6875         memmove-avx-unaligned, memcpy-avx-unaligned and
6876         mempcpy-avx-unaligned.
6877         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6878         Add tests for AVX memcpy functions.
6879         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6880         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6881         memcpy_chk.
6882         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6883         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6884         memmove_chk.
6885         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6886         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6887         mempcpy_chk.
6888         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6889         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6890         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6892 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6894         [BZ #17213]
6895         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6896         powerpc64le.
6898 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
6900         [BZ #16839]
6901         * manual/llio.texi: Add section about open file description locks.
6902         * manual/examples/ofdlocks.c: Example of open file description
6903         lock usage.
6904         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6905         F_OFD_SETLK, and F_OFD_SETLKW.
6907 2014-07-23  Allan McRae  <allan@archlinux.org>
6909         * po/es.po: Update Spanish translation from translation project.
6911 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
6913         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6915 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
6917         [BZ #17078]
6918         * sysdeps/arm/dl-machine.h (elf_machine_rela)
6919         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6920         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6922 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
6924         [BZ #17088]
6925         * math/fesetenv.c (__fesetenv)
6926         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6927         * math/feupdateenv.c (__feupdateenv)
6928         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6930         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6931         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6932         (__ASSUME_SOCKETCALL): Do not define.
6934         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6935         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6936         (__ASSUME_SOCKETCALL): Do not define.
6937         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6938         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6939         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6940         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6941         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6942         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6943         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6944         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6946         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6947         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6948         (__ASSUME_SOCKETCALL): Do not define.
6949         (__ASSUME_IPC64): Define unconditionally.
6950         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6951         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6952         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6953         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6954         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6955         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6956         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6957         Likewise.
6959         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6960         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6961         (__ASSUME_SOCKETCALL): Do not define.
6962         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6963         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6964         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6965         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6966         (__ASSUME_REQUEUE_PI): Define unconditionally.
6967         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6968         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6969         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6970         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6971         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6972         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6974         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6975         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6976         (__ASSUME_SOCKETCALL): Do not define.
6977         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6978         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6979         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6980         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6981         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6982         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6984         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6985         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6986         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6987         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6988         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6989         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6990         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6991         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6992         (__ASSUME_GETCPU_SYSCALL): Likewise.
6994         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6995         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
6996         cases for individual architectures.
6997         * sysdeps/gnu/configure: Regenerated.
6998         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6999         LIBC_SLIBDIR_RTLDDIR.
7000         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7001         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7002         LIBC_SLIBDIR_RTLDDIR.
7003         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7005         LIBC_SLIBDIR_RTLDDIR.
7006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7007         Regenerated.
7008         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7009         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7010         file.
7011         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7012         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7013         file.
7014         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7015         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7016         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7017         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7019         * sysdeps/aarch64/shlib-versions: Move to ...
7020         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7021         * sysdeps/alpha/shlib-versions: Move to ...
7022         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7023         * sysdeps/arm/shlib-versions: Move to ...
7024         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7025         * sysdeps/hppa/shlib-versions: Move all contents except for
7026         libgcc_s entry to ...
7027         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
7028         entry from ...
7029         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
7030         * sysdeps/ia64/shlib-versions: Move to ...
7031         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
7032         entry from ...
7033         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
7034         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7035         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7036         * sysdeps/microblaze/shlib-versions: Move to ...
7037         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7038         * sysdeps/mips/shlib-versions: Move to ...
7039         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
7040         entry from ...
7041         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
7042         * sysdeps/tile/shlib-versions: Move to ...
7043         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7044         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7045         from ...
7046         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
7047         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7048         entry from ...
7049         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
7051 2014-07-17  Will Newton  <will.newton@linaro.org>
7053         * sysdeps/arm/bits/atomic.h
7054         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7055         (__arch_compare_and_exchange_bool_16_int): Likewise.
7056         (__arch_compare_and_exchange_bool_64_int): Likewise.
7058         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7059         into an #else block.
7061 2014-07-16  Roland McGrath  <roland@hack.frob.com>
7063         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7064         just Linux configurations.  Test empirically that the compiler sets
7065         __ARM_EABI__, rather than using the tuple to decide.
7066         * sysdeps/arm/preconfigure: Regenerated.
7067         * sysdeps/unix/sysv/linux/arm/configure: File removed.
7068         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7069         contents appended ...
7070         * sysdeps/arm/configure.ac: ... here.
7071         * sysdeps/arm/configure: Regenerated.
7073 2014-07-15  Roland McGrath  <roland@hack.frob.com>
7075         * nptl/pthread_kill.c: New file.
7076         * nptl/pthread_sigmask.c: New file.
7077         * nptl/pthread_sigqueue.c: New file.
7079         * sysdeps/nptl/lowlevellock.h: New file.
7080         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7081         * sysdeps/nptl/lowlevellock-futex.h: New file.
7083         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7084         Remove dead declarations.
7086 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
7088         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7089         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7090         config-cflags-avx2.
7091         * sysdeps/x86_64/configure.ac: Likewise.
7092         * sysdeps/i386/configure: Regenerated.
7093         * sysdeps/x86_64/configure: Likewise.
7094         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7095         memset-avx2 only if config-cflags-avx2 is yes.
7096         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7097         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7098         defined.
7099         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7100         only if HAVE_AVX2_SUPPORT is defined.
7101         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7103 2014-07-14  Alan Modra  <amodra@gmail.com>
7105         [BZ #17153]
7106         * elf/elf.h (DT_PPC64_NUM): Correct value.
7107         * NEWS: Add to fixed bug list.
7109 2014-07-13  Jim Meyering  <meyering@fb.com>
7111         [BZ 17150]
7112         regex: don't deref NULL upon heap allocation failure
7113         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7114         failure in one more place.
7115         To trigger the segfault, configure grep -with-included-regex,
7116         build it, and run these commands:
7117         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7119 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
7121         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7123 2014-07-11  Richard Henderson  <rth@redhat.com>
7125         * sysdeps/aarch64/libm-test-ulps: Update.
7127 2014-07-10  Florian Weimer  <fweimer@redhat.com>
7129         [BZ #17135]
7130         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7131         * nptl/allocatestack.c (__nptl_setxid_error): New function.
7132         (__nptl_setxid): Initialize error member.  Call
7133         __nptl_setxid_error.
7134         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7135         * nptl/descr.h (struct xid_command): Add error member.
7136         * nptl/tst-setuid3.c: New file.
7137         * nptl/Makefile (tests): Add it.
7139 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7141         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7142         New define.
7143         (__lll_trylock): Use __lll_base_trylock.
7144         (__lll_cond_trylock): Likewise.
7146 2014-07-10  Roland McGrath  <roland@hack.frob.com>
7148         * nptl/pthread_create.c (start_thread): Use atomic_or and
7149         lll_futex_wake directly rather than lll_robust_dead.
7150         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7151         (lll_robust_dead): Macro removed.
7152         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7153         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7154         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7155         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7156         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7157         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7158         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7159         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7160         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7161         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7162         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7163         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7164         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7165         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7166         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7168         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7169         Use atomic_compare_and_exchange_val_acq directly rather than
7170         lll_robust_trylock.
7171         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7172         (__lll_robust_trylock, lll_robust_trylock): Removed.
7173         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7174         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7175         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7176         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7177         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7178         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7179         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7180         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7181         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7182         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7183         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7184         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7185         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7186         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7188 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7190         * manual/locale.texi (Locale Names): New section documenting
7191         locale name syntax.  Adjust menu and node chaining accordingly.
7192         (Choosing Locale): Reference Locale Names, Locale Categories.
7193         Mention setting LC_ALL=C.  Reflect that name syntax is now
7194         documented.
7195         (Locale Categories): New section title.  Reference Locale Names.
7196         LC_ALL is an environment variable, but not a category.
7197         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7198         description, now in Locale Name.  Reference that section.  Locale
7199         name syntax is now documented.
7201 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7203         [BZ #17137]
7204         * locale/findlocale.c (name_present, valid_locale_name): New
7205         functions.
7206         (_nl_find_locale): Use the loc_name variable to store name
7207         candidates.  Call name_present and valid_locale_name to check and
7208         validate locale names.  Return an error if the locale is invalid.
7210 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7212         * locale/setlocale.c (setlocale): Use strdup for allocating
7213         composite name copy.
7215 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7217         Sync up with gnulib.
7218         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7219         [!_LIBC && ENABLE_NLS]: Include gettext.h.
7220         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7221         and _GL_ARG_NONNULL.
7222         [USE_UNLOCKED_IO]: Include unlocked-io.h.
7223         [!_LIBC]: Include code for Windows and Cygwin.
7224         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7225         Include prototype for int strerror_r.
7226         [!_LIBC] (is_open): New function.
7227         (flush_stdout): New function.
7228         (print_errno_message): Use it.
7229         (error): Likewise.
7230         (error_at_line): Likewise.
7231         (error_tail) Add function attribute macros.  Use
7232         __builtin_expect.
7234         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7236         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7238         * io/ftw.c: Include sys/param.h unconditionally.
7240         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7242         [BZ #17125]
7243         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7244         libc_freeres_ptr.
7245         (freecache): New function to free CACHE on exit.
7247         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7248         initialization.
7250 2014-07-09  David S. Miller  <davem@davemloft.net>
7252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7254         * sysdeps/sparc/nptl/internaltypes.h: Delete.
7255         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7256         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7257         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7258         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7259         * sysdeps/sparc/nptl/sem_init.c: Likewise.
7260         * sysdeps/sparc/nptl/sem_post.c: Likewise.
7261         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7262         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7263         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7264         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7265         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7266         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7268 2014-07-09  Andreas Schwab  <schwab@suse.de>
7270         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7271         output.
7272         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7273         (do_test): Likewise.
7275         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7277 2014-07-09  Will Newton  <will.newton@linaro.org>
7279         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7280         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7281         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7282         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7283         * sysdeps/hppa/start.S (_start): Likewise.
7285 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7287         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7289         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7290         defined.
7292 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7294         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7295         after checking that it is non-NULL.
7297         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7299 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7301         * sysdeps/powerpc/memmove.c: Remove file.
7302         * sysdeps/powerpc/powerpc32/power4/memcopy.h
7303         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7304         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7305         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7306         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7307         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7308         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7309         string memmove instead of removed powerpc one.
7311         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7312         [weak_alias]: Fix compiler warning due trailing data.
7313         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7314         [weak_alias]: Likewise.
7315         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7316         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7318         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7319         (__libc_ifunc_impl_list): Add memmove functions.
7321 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7323         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7324         Remove code.
7325         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7326         Likewise
7327         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7328         Likewise
7329         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7330         Likewise
7331         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7332         Likewise
7333         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7334         Likewise
7335         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7336         Likewise
7337         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7338         Likewise
7339         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7340         Likewise
7341         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7342         Likewise
7343         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7344         Likewise
7345         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7346         Likewise
7347         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7348         Likewise
7349         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7350         Likewise
7351         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7352         Likewise
7353         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7354         Likewise
7355         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7356         Likewise
7358 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7360         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7361         to avoid alignment traps in non-cacheable memory.
7362         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7364         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7365         multiarch objects.
7366         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7367         file: multiarch power7 memmove.
7368         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7369         multiarch default memmove.
7370         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7371         multiarch memove for powerpc32/power4.
7373         * string/bcopy.c: Use full path to include memmove.c.
7374         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7375         multiarch objects.
7376         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7377         bcopy for powerpc64.
7378         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7379         bcopy for powerpc64.
7380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7381         and memmove implementations.
7382         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7383         optimized multiarch memmove for POWER7/powerpc64.
7384         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7385         default multiarch memmove for powerpc64.
7386         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7387         multiarch for powerpc64.
7388         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7389         for POWER7/powerpc64.
7390         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7391         memmove for POWER7/powerpc64.
7393         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7394         glibc default one.
7396         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7397         __ELF_NATIVE_CLASS equal to 64.
7399 2014-07-07  Roland McGrath  <roland@hack.frob.com>
7401         * sysdeps/nptl/lowlevellock.h: File removed.
7403         * NEWS: NPTL is no longer an add-on!
7404         * nptl/internaltypes.h: Moved ...
7405         * sysdeps/nptl/internaltypes.h: ... here.
7406         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7407         * sysdeps/nptl/fork.c: Likewise.
7408         * sysdeps/nptl/gai_misc.h: Likewise.
7409         * sysdeps/nptl/librt-cancellation.c: Likewise.
7410         * sysdeps/nptl/jmp-unwind.c: Likewise.
7411         * sysdeps/nptl/setxid.h: Likewise.
7412         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7413         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7414         * sysdeps/unix/sysv/linux/arm/Implies: New file.
7415         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7416         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7417         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7418         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7419         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7420         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7421         * sysdeps/unix/sysv/linux/mips/Implies: New file.
7422         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7423         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7424         * sysdeps/unix/sysv/linux/sh/Implies: New file.
7425         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7426         * sysdeps/unix/sysv/linux/tile/Implies: New file.
7427         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7428         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7429         * nptl/Makeconfig: Moved ...
7430         * sysdeps/nptl/Makeconfig: ... here.
7431         * nptl/configure: File removed.
7432         * nptl/ANNOUNCE: File removed.
7433         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7434         * sysdeps/unix/sysv/linux/configure: Regenerated.
7436         * nptl/Makefile (routines): Add libc_pthread_init,
7437         libc_multiple_threads, register-atfork and unregister-atfork.
7438         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7439         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7440         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7441         pthread-pi-defines.sym, structsem.sym.
7442         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7443         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7444         [$(subdir) = nptl] (tests): Add tst-setgetname.
7445         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7446         * sysdeps/unix/sysv/linux/sigaction.c: Just include
7447         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7448         [!LIBC_SIGACTION]: Remove aliases.
7449         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7450         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7451         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7452         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7453         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7454         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7455         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7456         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7457         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7458         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7459         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7460         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7461         __libc_allocate_rtsig_private.
7462         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7463         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7464         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7465         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7466         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7467         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7468         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7469         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7470         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7471         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7472         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7473         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7474         * nptl/internaltypes.h: ... here.
7475         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7476         * sysdeps/nptl/jmp-unwind.c: ... here.
7477         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7478         * nptl/libc-lowlevellock.c: ... here.
7479         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7480         * nptl/libc_multiple_threads.c: ... here.
7481         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7482         * nptl/libc_pthread_init.c: ... here.
7483         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7484         * nptl/lowlevelbarrier.sym: ... here.
7485         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7486         * nptl/lowlevelcond.sym: ... here.
7487         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7488         * nptl/lowlevellock.c: ... here.
7489         * nptl/lowlevellock.h: Moved ...
7490         * sysdeps/nptl/lowlevellock.h: ... here.
7491         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7492         * nptl/lowlevelrobustlock.c: ... here.
7493         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7494         * nptl/lowlevelrobustlock.sym: ... here.
7495         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7496         * nptl/lowlevelrwlock.sym: ... here.
7497         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7498         * nptl/pt-fork.c: ... here.
7499         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7500         * nptl/pthread-pi-defines.sym: ... here.
7501         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7502         * nptl/pthread_attr_getaffinity.c: ... here.
7503         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7504         * nptl/pthread_attr_setaffinity.c: ... here.
7505         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7506         * nptl/pthread_mutex_cond_lock.c: ... here.
7507         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7508         Update #include.
7509         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7510         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7511         * nptl/pthread_once.c: ... here, replacing old file.
7512         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7513         * nptl/pthread_yield.c: ... here.
7514         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7515         * nptl/register-atfork.c: ... here.
7516         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7517         * nptl/sem_post.c: ... here.
7518         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7519         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7520         * nptl/sem_timedwait.c: ... here.
7521         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7522         * nptl/sem_trywait.c: ... here.
7523         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7524         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7525         * nptl/sem_wait.c: ... here.
7526         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7527         * nptl/structsem.sym: ... here.
7528         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7529         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7530         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7531         * nptl/unregister-atfork.c: ... here.
7532         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7533         * nptl/unwindbuf.sym: ... here.
7534         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7535         * sysdeps/nptl/fork.c: ... here.
7536         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7537         * sysdeps/nptl/fork.h: ... here.
7538         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7539         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7540         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7541         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7542         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7543         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7544         * sysdeps/unix/sysv/linux/getpid.c: ... here.
7545         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7546         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7547         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7548         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7549         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7550         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7551         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7552         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7553         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7554         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7555         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7556         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7557         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7558         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7559         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7560         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7561         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7562         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7563         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7564         * sysdeps/unix/sysv/linux/raise.c: ... here.
7565         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7566         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7567         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7568         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7569         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7570         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7571         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7572         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7573         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7574         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7575         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7576         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7577         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7578         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7579         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7581 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7583         * sysdeps/generic/memcopy.h: Add comment for
7584         MEMCPY_OK_FOR_FWD_MEMMOVE.
7586 2014-07-04  Will Newton  <will.newton@linaro.org>
7588         * string/memchr.c: Merge from gnulib.
7589         [_LIBC]: Remove conditionals.
7590         (__ptr_t): Remove define.
7591         (LONG_MAX_32_BITS): Likewise.
7592         (LONG_MAX): Likewise.
7593         (MEMCHR): Use ANSI prototype and optimize algorithm.
7595         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7597 2014-07-03  Roland McGrath  <roland@hack.frob.com>
7599         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7600         (lll_futex_timed_wait_bitset): Fix syscall argument count.
7602         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7603         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7604         in a bare environment with no <stdlib.h> installed.
7605         * sysdeps/nptl/configure: Regenerated.
7607         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7609         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7610         AC_EGREP_CPP for kernel header checks, so they only succeed if
7611         including <linux/version.h> actually works right.
7612         * sysdeps/unix/sysv/linux/configure: Regenerated.
7614         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7615         value so it's not diagnosed as unused.
7617         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7618         thing) with "ifeq ($(subdir),rt)".
7620 2014-07-03  Richard Henderson  <rth@redhat.com>
7622         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7623         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7624         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7626         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7627         (math_force_eval): New.
7629         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7630         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7632         * sysdeps/alpha/fpu/s_round.c: Remove file.
7633         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7635         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7636         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7637         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7638         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7639         (_dl_start, print_statistics): Likewise.
7640         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7641         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7643         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7644         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7645         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7646         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7647         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7648         (HP_SMALL_TIMING_AVAIL): Define.
7649         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7650         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7651         (HP_SMALL_TIMING_AVAIL): Define.
7652         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7653         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7655         * sysdeps/aarch64/hp-timing.h: New file.
7657         * sysdeps/generic/hp-timing.h: Remove dead comment.
7658         * sysdeps/generic/hp-timing-common.h: New file.
7659         * sysdeps/alpha/hp-timing.h: Include it.
7660         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7661         * sysdeps/i386/i686/hp-timing.h: Likewise.
7662         * sysdeps/ia64/hp-timing.h: Likewise.
7663         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7664         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7665         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7666         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7667         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7668         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7669         (hp_timing_t): New.
7671         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7672         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7673         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7674         * elf/rtld.c (_dl_start_final): Likewise.
7675         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7676         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7677         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7678         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7679         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7680         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7681         (HP_TIMING_DIFF_INIT): Remove.
7682         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7683         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7684         (HP_TIMING_DIFF_INIT): Remove.
7685         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7686         * sysdeps/i386/i686/hp-timing.c: Remove file.
7687         * sysdeps/x86_64/hp-timing.c: Remove file.
7688         * sysdeps/ia64/hp-timing.c: Remove file.
7689         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7690         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7691         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7692         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7694         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7695         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7696         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7697         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7698         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7699         (HP_TIMING_ACCUM): Remove.
7700         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7701         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7702         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7704         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7705         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7706         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7707         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7708         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7709         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7710         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7711         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7713         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7715 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
7717         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7719 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7721         Sync up with gettext.
7722         * intl/loadmsgcat.c: Define O_BINARY if not defined.
7723         [_MSC_VER]: Include malloc.h
7724         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7725         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7726         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
7727         TEMP_FAILURE_RETRY.  Cast return of alloca.
7728         [!_LIBC] Call gl_rwlock_init.
7729         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7731 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7733         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7734         before checking its value.
7736 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7738         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7740         * debug/memcpy_chk.c: Don't include pagecopy.h.
7741         * debug/mempcpy_chk.c: Likewise.
7742         * string/memcpy.c: Likewise.
7743         * string/memmove.c: Likewise.
7744         * sysdeps/powerpc/memmove.c: Likewise.
7745         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
7746         definition of PAGE_COPY_FWD_MAYBE here...
7747         * sysdeps/generic/pagecopy.h: ... from here.
7748         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7750 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7751             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7753         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7754         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7755         optimizations.
7756         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7757         (__libc_ifunc_impl_list): Likewise.
7758         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7759         multiarch strcat for PPC64.
7760         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7761         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7763 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7765         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7767 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7769         * intl/loadmsgcat.c: Remove declaration of
7770         get_sysdep_segment_value.
7771         (get_sysdep_segment_value): Use ISO C style.
7772         (_nl_load_domain): Use ISO C style.  Get rid of redundant
7773         semicolon.  Fix typo and formatting in comment.
7774         (_nl_unload_domain): Use ISO C style.
7776         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7778 2014-07-02  Will Newton  <will.newton@linaro.org>
7780         * malloc/obstack.c: Merge from gnulib master.
7781         [HAVE_CONFIG_H]: Remove conditional code.
7782         [!_LIBC]: Include config.h.
7783         [!ELIDE_CODE]: Don't include inttypes.h, include
7784         stdint.h unconditionally.
7785         (print_and_abort): Mark as _Noreturn.
7786         (_obstack_allocated_p): Mark as __attribute_pure__.
7787         (obstack_free): Rename to __obstack_free.
7788         [!__attribute__]: Remove conditional code.
7789         * malloc/obstack.h: Merge from gnulib master.
7790         [__cplusplus]: Move conditional down.
7791         [!__attribute_pure__]: Define __attribute_pure__ here
7792         if it is not already defined.
7793         (_obstack_memory_used): Mark as __attribute_pure__.
7794         [!__obstack_free]: Define as obstack_free.
7795         [__GNUC__]: Remove check for ancient NeXT gcc.
7797 2014-07-02  Will Newton  <will.newton@linaro.org>
7798             Paul Eggert  <eggert@cs.ucla.edu>
7800         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7802 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7804         * resolv/gethnamaddr.c: Add comment warning that the file is
7805         not maintained.
7807 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
7809         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7810         entries.
7812         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7813         entry for aio_cancel and aio_cancel64.
7814         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7815         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7816         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7817         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7818         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7819         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7820         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7821         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7822         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7823         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7824         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7825         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7826         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7828 2014-07-01  Roland McGrath  <roland@hack.frob.com>
7830         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7831         * nptl/pthread_mutex_lock.c: Likewise.
7832         * nptl/pthread_mutex_timedlock.c: Likewise.
7833         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7835 2014-07-01  Richard henderson  <rth@redhat.com>
7837         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7838         (__isnan, __isnanl): Remove.
7839         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7841         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7843 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7845         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7847 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7849         * resolv/nss_dns/dns-host.c (getanswer_r)
7850         [MULTI_PTRS_ARE_ALIASES]: Remove code.
7852 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
7854         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7855         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7856         undefine.
7857         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7858         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7860 2014-07-01  Roland McGrath <roland@hack.frob.com>
7862         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7863         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7865         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7866         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7868         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7869         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7870         ... here.
7871         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7872         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7874         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7875         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7876         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7877         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7879         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7880         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7881         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7882         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7883         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7884         Moved ...
7885         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7886         ... here.
7887         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7888         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7889         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7890         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7891         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7892         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7893         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7894         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7895         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7896         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7897         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7898         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7899         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7900         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7901         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7902         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7903         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7904         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7905         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7906         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7907         ... here.
7908         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7909         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7910         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7911         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7912         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7913         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7914         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7915         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7917 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
7919         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7920         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7921         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7922         Add sysdep.
7924 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7928 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7930         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7931         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7933         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7935         * sysdeps/arm/libm-test-ulps: Regenerated.
7937 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
7938             Roland McGrath <roland@hack.frob.com>
7940         * test-skeleton.c (signal_handler): Kill the whole process group
7941         before killing the child individually.
7942         (main): Report any failure on `setpgid'.
7944 2014-06-30  Roland McGrath  <roland@hack.frob.com>
7946         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7947         from _TLS_H to _ARM_NPTL_TLS_H.
7948         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7949         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7951 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7953         [BZ #16539]
7954         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7955         (__expm1l): Return argument unchanged when small but not
7956         subnormal.
7958         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7959         include macro name.
7960         (_FP_UNPACK_RAW_1_P): Likewise.
7961         (_FP_PACK_RAW_1): Likewise.
7962         (_FP_PACK_RAW_1_P): Likewise.
7963         (_FP_MUL_MEAT_1_wide): Likewise.
7964         (_FP_MUL_MEAT_DW_1_hard): Likewise.
7965         (_FP_MUL_MEAT_1_hard): Likewise.
7966         (_FP_DIV_MEAT_1_imm): Likewise.
7967         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7968         (_FP_DIV_MEAT_1_udiv): Likewise.
7969         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7970         (_FP_UNPACK_RAW_2): Likewise.
7971         (_FP_UNPACK_RAW_2_P): Likewise.
7972         (_FP_PACK_RAW_2): Likewise.
7973         (_FP_PACK_RAW_2_P): Likewise.
7974         (_FP_MUL_MEAT_DW_2_wide): Likewise.
7975         (_FP_MUL_MEAT_2_wide): Likewise.
7976         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7977         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7978         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7979         (_FP_MUL_MEAT_2_gmp): Likewise.
7980         (_FP_DIV_MEAT_2_udiv): Likewise.
7981         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7982         (_FP_FRAC_SRL_4): Likewise.
7983         (_FP_FRAC_SRST_4): Likewise.
7984         (_FP_FRAC_SRS_4): Likewise.
7985         (_FP_UNPACK_RAW_4): Likewise.
7986         (_FP_UNPACK_RAW_4_P): Likewise.
7987         (_FP_PACK_RAW_4): Likewise.
7988         (_FP_PACK_RAW_4_P): Likewise.
7989         (_FP_MUL_MEAT_DW_4_wide): Likewise.
7990         (_FP_MUL_MEAT_4_wide): Likewise.
7991         (_FP_MUL_MEAT_4_gmp): Likewise.
7992         (umul_ppppmnnn): Likewise.
7993         (_FP_DIV_MEAT_4_udiv): Likewise.
7994         (__FP_FRAC_ADD_4): Likewise.
7995         (__FP_FRAC_SUB_3): Likewise.
7996         (__FP_FRAC_SUB_4): Likewise.
7997         (__FP_FRAC_DEC_3): Likewise.
7998         (__FP_FRAC_DEC_4): Likewise.
7999         (__FP_FRAC_ADDI_4): Likewise.
8000         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8001         (_FP_FRAC_SRL_8): Likewise.
8002         (_FP_FRAC_SRS_8): Likewise.
8004         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8005         include macro name.
8006         (FP_UNPACK_RAW_EP): Likewise.
8007         (FP_PACK_RAW_E): Likewise.
8008         (FP_PACK_RAW_EP): Likewise.
8009         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8010         (_FP_ISSIGNAN): Likewise.
8011         (_FP_ADD_INTERNAL): Likewise.
8012         (_FP_FMA): Likewise.
8013         (_FP_CMP): Likewise.
8014         (_FP_SQRT): Likewise.
8015         (_FP_TO_INT): Likewise.
8016         (_FP_FROM_INT): Likewise.
8017         (FP_EXTEND): Likewise.
8018         (_FP_DIV_MEAT_N_loop): Likewise.
8020 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8022         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8023         throughout.
8025 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
8027         [BZ #17097]
8028         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8029         result with correct sign in case of exponents that produce
8030         overflow except for X very close to 1.
8032 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
8034         mktime: merge #if/#ifdef usage from glibc
8035         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8036         as that works with both Glibc's and Gnulib's style.
8037         See thread starting at Siddhesh Poyarekar's bug report at:
8038         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8040 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8042         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8043         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8044         * sysdeps/tile/tilegx/memmove.c: Remove file.
8046 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8048         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8049         abi-name definition.
8050         * scripts/soversions.awk: Do not handle or generate ABI lines.
8051         * shlib-versions: Remove ABI entries.
8052         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8053         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8055 2014-06-27  Roland McGrath  <roland@hack.frob.com>
8057         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8058         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8059         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8060         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8061         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8062         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8063         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8064         Moved ...
8065         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8066         ... here.
8067         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8068         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8069         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8070         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8071         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8072         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8073         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8074         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8075         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8076         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8077         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8078         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8079         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8080         Moved ...
8081         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8082         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8083         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8084         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8085         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8086         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8087         Moved ...
8088         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8089         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8090         Moved ...
8091         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8092         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8093         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8094         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8095         Moved ...
8096         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8097         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8098         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8099         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8100         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8101         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8102         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8103         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8104         Moved ...
8105         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8106         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8107         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8108         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8109         Moved ...
8110         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8111         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8112         Moved ...
8113         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8114         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8115         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8116         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8117         Moved ...
8118         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8119         ... here.
8120         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8121         Identical file removed.
8122         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8123         Moved ...
8124         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8125         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8126         Identical file removed.
8127         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8128         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8129         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8130         Moved ...
8131         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8132         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8133         Identical file removed.
8134         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8135         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8136         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8137         Identical file removed.
8138         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8139         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8140         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8141         Identical file removed.
8142         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8143         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8144         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8145         Identical file removed.
8146         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8147         Moved ...
8148         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8149         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8150         Identical file removed.
8151         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8152         Moved ...
8153         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8154         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8155         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8156         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8157         Identical file removed.
8158         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8159         Moved ...
8160         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8161         ... here.
8162         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8163         Identical file removed.
8164         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8165         Moved ...
8166         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8167         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8168         Identical file removed.
8169         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8170         Moved ...
8171         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8172         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8173         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8174         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8175         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8176         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8177         Moved ...
8178         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8179         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8180         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8182         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8183         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8184         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8185         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8186         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8188 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
8190         [BZ #17092]
8191         * nscd/nscd.c (monitor_child): Return exit status of child
8192         instead of return value from wait syscall.
8194 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8196         * configure.ac (libc_commonpagesize): Remove variable.
8197         (libc_relro_required): Likewise.
8198         (libc_cv_z_relro): Remove configure test.
8199         * configure: Regenerated.
8200         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8201         variable.
8202         (libc_relro_required): Likewise.
8203         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8204         (libc_relro_required): Likewise.
8205         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8206         (libc_relro_required): Likewise.
8207         * sysdeps/arm/preconfigure: Regenerated.
8208         * sysdeps/ia64/preconfigure: Remove file.
8209         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8210         variable.
8211         (libc_relro_required): Likewise.
8213         [BZ #16561]
8214         [BZ #16562]
8215         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8216         (__ieee754_yn): Set FE_TONEAREST mode internally and then
8217         recompute overflowing results in original rounding mode.
8218         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8219         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8220         recompute overflowing results in original rounding mode.
8221         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8222         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8223         recompute overflowing results in original rounding mode.
8224         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8225         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8226         recompute overflowing results in original rounding mode.
8227         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8228         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8229         recompute overflowing results in original rounding mode.
8230         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8231         (libc_feholdsetround_ctx): New macro.
8232         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8233         * sysdeps/i386/fpu/libm-test-ulps: Update.
8234         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8236 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8238         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8239         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8240         corresponding .cpsetup call.
8242 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8244         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8245         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8246         * sysdeps/arm/Makefile [$(subdir) = csu]
8247         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8248         (static-only-routines): Add aeabi_read_tp here.
8249         (shared-only-routines): Add libc-aeabi_read_tp here.
8250         (CFLAGS-libc-start.c): Add -fexceptions here.
8251         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8252         (sysdep_routines, static-only-routines, shared-only-routines):
8253         Don't add to these here.
8254         (CFLAGS-libc-start.c): Likewise.
8256         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8257         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8258         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8259         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8260         * sysdeps/arm/Makefile [$(subdir) = rt]
8261         (librt-sysdep_routines, librt-shared-only-routines):
8262         Append rt-aeabi_unwind_cpp_pr1 here.
8263         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8264         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8265         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8266         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8267         Append nptl-aeabi_unwind_cpp_pr1 here.
8268         (tests): Filter out tst-cleanupx4 here.
8269         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8270         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8271         Don't do those here.
8273 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8275         * scripts/list-sources.sh: Do not handle ports specially.
8277 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8279         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8280         * sysdeps/arm/feupdateenv.c: Likewise.
8282         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8284 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8286         * manual/texinfo.tex: Update to version 2014-05-05.10 with
8287         trailing whitespace removed.
8288         * scripts/config.guess: Update to version 2014-03-23.
8289         * scripts/config.sub: Update to version 2014-05-01
8290         * scripts/install-sh: Update to version 2013-12-25.23.
8291         * scripts/move-if-change: Update from gnulib.
8293 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8295         * debug/memmove_chk.c: Remove pagecopy.h include.
8297 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
8299         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
8300         identical to gnulib mktime.
8302 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8304         * configure.ac: Do not test for machine being rs6000.  Do not test
8305         for powerpc*-*soft.
8306         * configure: Regenerated.
8308         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8309         test.
8310         * configure: Regenerated.
8311         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8312         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8313         Remove configure test.
8314         * sysdeps/arm/configure: Regenerated.
8315         * sysdeps/nptl/configure.ac: Do not check
8316         libc_cv_asm_cfi_directives.
8317         * sysdeps/nptl/configure: Regenerated.
8318         * sysdeps/x86_64/nptl/configure.ac: Remove file.
8319         * sysdeps/x86_64/nptl/configure: Remove generated file.
8320         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8321         unconditional.
8322         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8324 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8326         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8327         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8328         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8329         it is defined.
8331         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8332         instead of whether it is defined.
8333         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8334         * sysdeps/hppa/dl-machine.h: Likewise.
8335         * sysdeps/ia64/dl-machine.h: Likewise.
8336         * sysdeps/m68k/dl-machine.h: Likewise.
8337         * sysdeps/microblaze/dl-machine.h: Likewise.
8338         * sysdeps/mips/dl-machine.: Likewise.
8339         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8340         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8341         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8342         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8343         * sysdeps/sh/dl-machine.h: Likewise.
8344         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8345         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8346         * sysdeps/tile/dl-machine.h: Likewise.
8347         * sysdeps/x86_64/dl-machine.h: Likewise.
8349         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8350         code.
8351         (verify_persistent_db): Likewise.
8353 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8356         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8358         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8360         Moved ...
8361         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8362         ... here.
8363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8364         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8366         Identical file removed.
8367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8368         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8370         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8372         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8374         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8376         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8378         Moved ...
8379         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8381         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8383         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8385         Moved ...
8386         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8388         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8390         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8392         Identical file removed.
8393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8394         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8396         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8398         Moved ...
8399         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8400         ... here.
8401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8402         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8404         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8406         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8408         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8410         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8412         Moved ...
8413         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8415         Moved ...
8416         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8418         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8420         Moved ...
8421         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8423         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8425         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8426         folded into ...
8427         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8428         * sysdeps/unix/sysv/linux/s390/Versions
8429         (libpthread: GLIBC_2.19): New version set.
8430         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8431         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8432         (librt: GLIBC_2.3.3): New version set.
8433         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8434         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8435         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8436         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8437         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8438         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8439         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8440         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8441         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8442         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8443         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8444         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8445         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8446         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8447         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8448         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8449         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8450         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8451         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8452         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8453         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8454         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8455         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8456         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8457         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8458         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8459         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8460         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8461         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8462         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8463         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8464         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8465         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8466         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8467         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8468         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8469         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8470         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8471         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8472         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8473         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8474         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8475         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8476         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8477         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8479         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8480         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8481         (__libc_vfork): Define the function under this name.
8482         [!NOT_IN_libc] (__vfork): Make this an alias.
8483         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8484         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8485         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8486         (__libc_vfork): Define the function under this name.
8487         [!NOT_IN_libc] (__vfork): Make this an alias.
8488         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8489         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8490         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8491         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8492         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8493         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8495         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8496         code that was previously under [RESET_PID].
8497         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8498         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8499         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8501         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8502         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8503         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8504         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8505         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8506         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8507         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8508         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8509         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8510         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8511         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8512         Moved ...
8513         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8514         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8515         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8516         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8517         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8518         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8519         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8520         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8521         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8522         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8523         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8524         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8525         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8526         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8527         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8528         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8529         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8530         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8531         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8532         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8533         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8534         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8535         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8536         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8537         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8538         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8539         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8540         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8541         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8543 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8545         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8546         that was previously under [RESET_PID].
8547         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8549 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8551         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8552         not undefine and redefine.
8553         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8554         [O_CLOEXEC]: Make code unconditional.
8555         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8556         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8557         <kernel-features.h>.
8558         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8559         conditional variable definition.
8560         (shm_open) [O_CLOEXEC]: Make code unconditional.
8561         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8562         code.
8564         * configure.ac (USE_REGPARMS): Don't define here.
8565         * configure: Regenerated.
8566         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8567         * sysdeps/i386/configure: Regenerated.
8569         * nptl/createthread.c: Don't include kernel-features.h.
8570         * nptl/pthread_cancel.c: Likewise.
8571         * nptl/pthread_condattr_setclock.c: Likewise.
8572         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8573         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8574         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8575         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8576         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8577         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8578         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8579         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8580         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8581         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8582         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8583         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8584         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8585         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8586         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8587         * nscd/gai.c: Likewise.
8588         * nss/nss_db/db-open.c: Likewise.
8589         * sysdeps/generic/ldsodefs.h: Likewise.
8590         * sysdeps/sh/nptl/tls.h: Likewise.
8591         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8592         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8593         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8594         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8595         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8596         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8597         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8598         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8599         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8600         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8601         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8602         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8603         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8604         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8605         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8606         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8607         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8608         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8609         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8610         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8611         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8612         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8613         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8614         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8615         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8616         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8617         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8618         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8619         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8620         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8621         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8622         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8623         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8624         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8625         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8626         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8627         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8628         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8629         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8630         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8631         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8632         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8633         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8634         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8635         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8636         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8637         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8638         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8639         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8640         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8641         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8642         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8643         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8644         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8645         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8646         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8647         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8648         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8671         * sysdeps/unix/sysv/linux/pread.c: Likewise.
8672         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8673         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8674         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8675         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8676         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8677         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8678         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8679         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8680         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8681         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8682         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8683         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8684         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8685         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8686         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8687         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8688         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8689         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8690         * sysdeps/unix/sysv/linux/system.c: Likewise.
8691         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8692         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8693         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8694         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8695         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8696         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8697         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8699         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8700         * configure: Regenerated.
8701         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8703         * configure.ac (base_machine): Do not set specially for particular
8704         machines here.
8705         * configure: Regenerated.
8706         * sysdeps/powerpc/preconfigure: Move machine and base_machine
8707         settings from configure.ac.
8708         * sysdeps/i386/preconfigure: New file.
8709         * sysdeps/s390/preconfigure: Likewise.
8710         * sysdeps/sh/preconfigure: Likewise.
8711         * sysdeps/sparc/preconfigure: Likewise.
8713 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8715         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8716         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8717         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8718         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8719         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8720         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8721         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8722         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8723         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8724         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8725         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8726         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8727         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8728         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8729         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8730         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8731         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8732         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8733         * sysdeps/sparc/sparc64/Makefile: ... appended here.
8735         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8736         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8737         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8738         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8739         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8740         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8741         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8742         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8743         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8744         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8745         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8746         * sysdeps/sparc/sparc32/sem_post.c: ... here.
8747         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8748         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8749         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8750         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8751         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8752         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8753         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8754         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8755         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8756         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8757         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8758         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8759         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8760         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8761         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8762         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8763         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8764         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8765         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8766         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8767         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8768         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8769         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8770         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8771         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8772         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8775         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8777         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8779         Moved ...
8780         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8781         ... here.
8782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8783         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8785         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8787         Moved ...
8788         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8789         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8790         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8792         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8794         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8796         Moved ...
8797         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8799         Moved ...
8800         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8802         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8804         Moved ...
8805         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8807         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8808         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8809         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8811         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8813         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8815         Moved ...
8816         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8817         ... here.
8818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8819         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8821         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8823         Moved ...
8824         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8825         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8826         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8828         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8830         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8832         Moved ...
8833         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8835         Moved ...
8836         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8837         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8838         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8840         Moved ...
8841         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8843         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8845         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8847 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8849         * timezone/checktab.awk: Update from tzcode 2014e.
8850         * timezone/private.h: Likewise.
8851         * timezone/tzfile.h: Likewise.
8852         * timezone/zdump.c: Likewise.
8853         * timezone/zic.c: Likewise.
8855         * sysdeps/unix/sysv/linux/kernel-features.h
8856         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8857         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8858         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8859         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8860         Remove conditional code.
8862 2014-06-25  Will Newton  <will.newton@linaro.org>
8864         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8865         (_dl_arm_cap_flags): Add HWCAP2 values.
8866         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8867         (_DL_HWCAP_COUNT): Increase to 37.
8868         (_DL_HWCAP_LAST): New define.
8869         (_DL_HWCAP2_LAST): New define.
8870         (_dl_procinfo): Add support for printing
8871         AT_HWCAP2 entries.
8872         (_dl_string_hwcap): Use _dl_hwcap_string.
8874 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8878 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8880         * README: Do not mention ports directory.
8882         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8883         Remove macro.
8884         * sysdeps/unix/sysv/linux/futimes.c: Do not include
8885         <kernel-features.h>.
8886         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8887         conditional variable definition.
8888         (__futimes): Update comment.
8889         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8890         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8892         [BZ #16560]
8893         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8894         arguments close to 0.
8895         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8896         Likewise.
8897         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8898         Likewise.
8899         * math/auto-libm-test-in: Add more tests of exp10.
8900         * math/auto-libm-test-out: Regenerated.
8901         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8903         * sysdeps/unix/sysv/linux/kernel-features.h
8904         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8905         * sysdeps/unix/sysv/linux/readv.c: Do not include
8906         <kernel-features.h>.
8907         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8908         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8909         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8910         unconditional.
8911         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8912         conditional code.
8913         * sysdeps/unix/sysv/linux/writev.c: Do not include
8914         <kernel-features.h>.
8915         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8916         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8917         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8918         unconditional.
8919         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8920         conditional code.
8922 2014-06-25  Will Newton  <will.newton@linaro.org>
8924         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8925         comment changes throughout the file.  Remove checks
8926         for HAVE_*_H definitions that are not required.
8927         (__gen_tempname): Call abort if an unknown kind value is
8928         passed.
8930 2014-06-25  Andreas Schwab  <schwab@suse.de>
8932         [BZ #17086]
8933         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8934         scalbln, scalblnf, scalblnl in libc.
8936 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8938         [BZ #17086]
8939         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8940         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8941         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8943 2014-06-24  Roland McGrath  <roland@hack.frob.com>
8945         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8946         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8947         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8948         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8949         Update #include.
8950         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8951         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8952         Update #include.
8953         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8954         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8955         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8956         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8957         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8958         * sysdeps/x86/bits/pthreadtypes.h: ... here.
8959         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8960         * sysdeps/x86/bits/semaphore.h: ... here.
8961         * sysdeps/x86/nptl/elide.h: Moved ...
8962         * sysdeps/x86/elide.h: ... here.
8963         * sysdeps/x86_64/nptl/Implies: File removed.
8964         * sysdeps/i386/nptl/Implies: File removed.
8966 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
8968         [BZ #16539]
8969         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8970         return the argument for normal arguments with exponent below -64.
8971         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8972         Likewise.
8973         * math/auto-libm-test-in: Add another test of expm1.
8974         * math/auto-libm-test-out: Regenerated.
8976         [BZ #16287]
8977         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8978         calling __erfcl for arguments at least 16.
8979         * math/auto-libm-test-in: Add more tests of erf.
8980         * math/auto-libm-test-out: Regenerated.
8982         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8983         individual architectures.
8984         * sysdeps/unix/sysv/linux/configure: Regenerated.
8985         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8986         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8987         * sysdeps/unix/sysv/linux/powerpc/configure.ac
8988         (ldd_rewrite_script): Define variable.
8989         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8991         file.
8992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8993         generated file.
8994         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8995         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8996         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8997         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8998         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8999         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9000         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9001         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9003 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9005         [BZ #17084]
9006         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9007         Rename member __data.d to __data.__elision_data.
9009 2014-06-24  Wilco  <wdijkstr@arm.com>
9011         * NEWS: Add 16918 to fixed bug list.
9013 2014-06-24  Wilco  <wdijkstr@arm.com>
9015         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9017 2014-06-24  Wilco  <wdijkstr@arm.com>
9019         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9020         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9021         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9022         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9023         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9024         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9025         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9026         Use _FPU_MASK_RM.
9028 2014-06-24  Wilco  <wdijkstr@arm.com>
9030         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9032 2014-06-24  Wilco  <wdijkstr@arm.com>
9034         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9035         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9036         * sysdeps/arm/fesetround.c (fesetround): Remove space.
9037         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9039 2014-06-24  Wilco  <wdijkstr@arm.com>
9041         [BZ #16918]
9042         * sysdeps/arm/feupdateenv.c (feupdateenv):
9043         Rewrite to reduce FPSCR accesses and fix return value.
9045 2014-06-24  Wilco  <wdijkstr@arm.com>
9047         * sysdeps/arm/fclrexcpt.c (feclearexcept):
9048         Optimize to avoid unnecessary FPSCR writes.
9049         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9050         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9051         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9052         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9054 2014-06-24  Wilco  <wdijkstr@arm.com>
9056         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9057         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9058         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9059         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9060         Call libc_fetestexcept_vfp.
9061         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9062         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9063         __SOFTFP__ ifdef so that they can be built for softfp.
9065 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9067         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9068         argument type signed char.
9070         * Makerules (check-abi): Dump diff of symlist if the test
9071         fails.
9073 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9075         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9076         using abort.
9078         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9079         Remove unused variable ST.
9081 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9083         [BZ #16354]
9084         [BZ #17061]
9085         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9086         small arguments before calling __expm1.
9087         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9088         small arguments before calling __expm1f.
9089         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9090         small arguments before calling __expm1l.
9091         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9092         Likewise.
9093         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9094         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
9095         spurious underflow for some cosh tests.
9096         * math/auto-libm-test-out: Regenerated.
9097         * sysdeps/i386/fpu/libm-test-ulps: Update.
9099         [BZ #17050]
9100         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9101         (__ieee754_y1): Set errno if return value overflows.
9102         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9103         (__ieee754_y1f): Set errno if return value overflows.
9104         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9105         (__ieee754_y1l): Set errno if return value overflows.
9106         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9107         (__ieee754_y1l): Set errno if return value overflows.
9108         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9109         * math/auto-libm-test-out: Regenerated.
9111         * math/gen-auto-libm-tests.c: Document use of
9112         ignore-zero-inf-sign.
9113         (input_flag_type): Add value flag_ignore_zero_inf_sign.
9114         (input_flags): Add ignore-zero-inf-sign.
9115         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9116         * math/gen-libm-test.pl (generate_testfile): Handle
9117         ignore-zero-inf-sign.
9118         * math/auto-libm-test-in: Mark some cpow tests with
9119         ignore-zero-inf-sign and some with xfail-rounding.
9120         * math/auto-libm-test-out: Regenerated.
9121         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9122         * sysdeps/i386/fpu/libm-test-ulps: Update.
9123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9125         [BZ #16315]
9126         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9127         overflowing or underflowing operations take place with sign of
9128         result.
9129         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9130         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9131         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9132         (__ieee754_pow): Recompute overflowing and underflowing results in
9133         original rounding mode.
9134         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9135         (__powl_helper): Allow negative argument X and scale negated value
9136         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
9137         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9138         overflowing or underflowing operations take place with sign of
9139         result.
9140         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9141         Include <math.h>.
9142         * math/auto-libm-test-in: Add more tests of pow.
9143         * math/auto-libm-test-out: Regenerated.
9144         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9145         (pow_tonearest_test_data): Remove.
9146         (pow_test_tonearest): Likewise.
9147         (pow_towardzero_test_data): Likewise.
9148         (pow_test_towardzero): Likewise.
9149         (pow_downward_test_data): Likewise.
9150         (pow_test_downward): Likewise.
9151         (pow_upward_test_data): Likewise.
9152         (pow_test_upward): Likewise.
9153         (main): Don't call removed functions.
9154         * sysdeps/i386/fpu/libm-test-ulps: Update.
9155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9157 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9160         Moved ...
9161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9163         Moved ...
9164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9166         Moved ...
9167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9169         Moved ...
9170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9172         File removed.
9173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9174         File removed.
9175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9176         File removed.
9177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9178         File removed.
9179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9180         File removed.
9181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9182         File removed.
9183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9184         File removed.
9185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9186         File removed.
9187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9188         File removed.
9189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9190         File removed.
9191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9192         File removed.
9193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9194         File removed.
9195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9196         Moved ...
9197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9199         Moved ...
9200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9201         ... here.
9202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9203         Moved ...
9204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9206         Moved ...
9207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9209         Moved ...
9210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9212         Moved ...
9213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9215         Moved ...
9216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9218         Moved ...
9219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9221         Moved ...
9222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9225         ... here.
9226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9227         Moved ...
9228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9230         Moved ...
9231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9232         ... here.
9233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9234         Moved ...
9235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9236         ... here.
9237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9238         Moved ...
9239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9240         ... here.
9241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9242         Moved ...
9243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9245         Moved ...
9246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9250         Moved ...
9251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9252         ... here.
9253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9254         Moved ...
9255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9256         ... here.
9257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9258         Moved ...
9259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9261         Moved ...
9262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9264         Moved ...
9265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9267         Moved ...
9268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9270         Moved ...
9271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9272         ... here.
9273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9274         Moved ...
9275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9277         Moved ...
9278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9280         Moved ...
9281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9283         Moved ...
9284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9288         Moved ...
9289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9291         Moved ...
9292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9294         Moved ...
9295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9296         ... here.
9297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9298         Moved ...
9299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9300         ... here.
9301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9302         Moved ...
9303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9304         ... here.
9305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9306         Moved ...
9307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9309         Moved ...
9310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9312         Moved ...
9313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9315         Moved ...
9316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9317         ... here.
9318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9319         Moved ...
9320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9321         ... here.
9322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9323         Moved ...
9324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9325         ... here.
9326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9327         Moved ...
9328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9330         Moved ...
9331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9333 2014-06-23  Will Newton  <will.newton@linaro.org>
9334             Wilco  <wdijkstr@arm.com>
9336         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9337         implementation.  Include get-rounding-mode.h.
9338         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9339         [!libc_feholdsetround_noex_ctx]: Define
9340         libc_feholdsetround_noex_ctx.
9341         [!libc_feholdsetround_noexf_ctx]: Define
9342         libc_feholdsetround_noexf_ctx.
9343         [!libc_feholdsetround_noexl_ctx]: Define
9344         libc_feholdsetround_noexl_ctx.
9345         (libc_feholdsetround_ctx): New function.
9346         (libc_feresetround_ctx): New function.
9347         (libc_feholdsetround_noex_ctx): New function.
9348         (libc_feresetround_noex_ctx): New function.
9350 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9352         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9353         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9354         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9355         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9356         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9357         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9359         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9360         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9361         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9362         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9363         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9364         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9365         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9366         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9367         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9368         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9369         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9370         Moved ...
9371         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9372         ... here.
9373         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9374         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9375         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9376         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9377         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9378         Moved ...
9379         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9380         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9381         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9382         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9383         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9384         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9385         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9386         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9387         Moved ...
9388         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9389         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9390         Moved ...
9391         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9392         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9393         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9394         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9395         Moved ...
9396         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9397         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9398         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9399         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9400         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9401         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9402         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9403         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9404         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9405         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9406         Moved ...
9407         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9408         ... here.
9409         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9410         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9411         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9412         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9413         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9414         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9415         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9416         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9417         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9418         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9419         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9420         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9421         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9422         Moved ...
9423         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9424         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9425         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9426         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9427         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9428         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9429         Moved ...
9430         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9431         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9432         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9433         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9434         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9436         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9437         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9438         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9439         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9440         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9441         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9442         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9443         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9444         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9445         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9446         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9447         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9448         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9449         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9450         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9451         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9452         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9453         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9454         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9455         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9456         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9457         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9458         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9459         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9460         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9461         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9462         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9463         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9465 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9467         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9468         (FALLOC_FL_COLLAPSE_RANGE): New macro.
9469         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9470         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9471         (IPV6_PMTUDISC_INTERFACE): Likewise.
9472         (IPV6_PMTUDISC_OMIT): Likewise.
9474 2014-06-23  Andreas Schwab  <schwab@suse.de>
9476         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9477         Remove unused errout label.
9479 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9481         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9482         macro: hardware supports Vector Crypto instructions.
9484 2014-06-23  Will Newton  <will.newton@linaro.org>
9486         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9487         rather than __builtin_expect.
9489         * elf/dl-lookup.c (undefined_msg): Remove variable.
9490         (_dl_lookup_symbol_x): Replace undefined_msg with string
9491         literal.
9493         * elf/dl-lookup.c (do_lookup_unique): New function.
9494         (do_lookup_x): Move STB_GNU_UNIQUE handling code
9495         to a separate function.
9497 2014-06-23  Andreas Schwab  <schwab@suse.de>
9499         [BZ #17079]
9500         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9501         before reading the next line.
9503 2014-06-23  Will Newton  <will.newton@linaro.org>
9505         * test-skeleton.c (signal_handler): Use printf and %m
9506         rather than perror.  Use printf rather than fprintf to
9507         stderr.  Use puts rather than fputs to stderr.
9508         (main): Likewise.
9510 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
9512         * nscd/nscd.c (thread_info_t): Remove typedef.
9513         (thread_info): Remove variable.
9515 2014-06-21  Allan McRae  <allan@archlinux.org>
9517         * NEWS: Mention CVE-2014-4043.
9519 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9521         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9522         * nptl/smp.h: ... here.
9524         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9526         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9527         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9528         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9529         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9531         * nptl/allocatestack.c: Include <stack-aliasing.h>.
9532         * nptl/stack-aliasing.h: New file.
9533         * sysdeps/i386/i686/stack-aliasing.h: New file.
9534         * sysdeps/i386/i686/nptl/Makefile: File removed.
9535         * sysdeps/x86_64/stack-aliasing.h: New file.
9536         * sysdeps/x86_64/nptl/Makefile
9537         (CFLAGS-pthread_create.c): Variable removed.
9539         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9540         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9541         old file.
9542         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9543         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9544         old file.
9546 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
9548         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9549         (__ASSUME_SIGFRAME_V2): Remove macro.
9550         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9551         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9552         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9553         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9554         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9555         Declare as function.  Remove conditional macro definitions.
9556         (__default_rt_sa_restorer): Likewise.
9557         (__default_sa_restorer_v1): Remove declaration.
9558         (__default_sa_restorer_v2): Likewise.
9559         (__default_rt_sa_restorer_v1): Likewise.
9560         (__default_rt_sa_restorer_v2): Likewise.
9561         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9562         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9563         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9565 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9567         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9568         (libpthread-routines): Add sysdep.
9569         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9570         * sysdeps/unix/sysv/linux/sparc/Versions
9571         (libpthread: GLIBC_2.3.3): New version set.
9572         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9573         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9574         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9575         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9576         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
9577         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9578         Moved ...
9579         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9580         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9581         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9582         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9583         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9584         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9585         * sysdeps/sparc/nptl/sem_init.c: ... here.
9586         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9587         * sysdeps/sparc/nptl/sem_post.c: ... here.
9588         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9589         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9590         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9591         * sysdeps/sparc/nptl/sem_wait.c: ... here.
9592         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9593         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9594         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9595         (libpthread-routines): Add cpu_relax.
9596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9597         File removed.
9598         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9599         (librt: GLIBC_2.3.3): New version set.
9600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9601         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9602         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9603         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9606         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9608         Moved ...
9609         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9611         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9613         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9614         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9615         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9616         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9617         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9618         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9619         Moved ...
9620         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9621         Update #include.
9622         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9623         Moved ...
9624         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9625         Update #include.
9626         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9627         Moved ...
9628         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9629         Update #include.
9630         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9631         Moved ...
9632         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9633         Update #include.
9634         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9635         Moved ...
9636         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9637         Update #include.
9638         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9639         Moved ...
9640         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9641         Update #include.
9642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9643         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9645         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9647         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9649         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9651         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9653         Moved ...
9654         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9656         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9657         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9658         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9660 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9662         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9663         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9664         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9665         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9666         * nscd/nscd.c: Likewise.
9667         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9668         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9669         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9670         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9672         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9673         <kernel-features.h>.
9674         (init_mq_netlink): Remove conditional have_sock_cloexec
9675         definitions.  Remove code conditional on have_sock_cloexec < 0.
9676         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9677         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9678         * sysdeps/unix/sysv/linux/opensock.c: Do not include
9679         <kernel-features.h>.
9680         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9681         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9683 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9685         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9686         Add tests for memset_chk and memset.
9688         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9689         with AVX2_Usable.
9691 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9693         [BZ #16046]
9694         * elf/tst-dl-iter-static.c: New file.
9695         * elf/Makefile (tests-static): Add tst-dl-iter-static.
9697         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9698         error.
9700 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9702         * sysdeps/unix/sysv/linux/kernel-features.h
9703         (__ASSUME_F_GETOWN_EX): Remove macro.
9704         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9705         <kernel-features.h>.
9706         (miss_F_GETOWN_EX): Remove variable or macro.
9707         (do_fcntl): Do not check miss_F_GETOWN_EX.
9708         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9710         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9711         Remove macro.
9712         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9713         [!__ASSUME_AT_RANDOM]: Remove conditional code.
9714         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9716         * sysdeps/unix/sysv/linux/kernel-features.h
9717         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9718         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9719         [ADJ_OFFSET_SS_READ]: Make code unconditional.
9720         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9722 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9724         [BZ #17075]
9725         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9726         Fix calculation of the symbol's value.
9727         * sysdeps/arm/tst-armtlsdescloc.c: New file.
9728         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9729         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9730         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9731         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9732         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9733         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9734         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9735         (modules-names): Add `tst-armtlsdescmod',
9736         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9737         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9738         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9739         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9740         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9741         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9742         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9743         ($(objpfx)tst-armtlsdescloc): New dependency.
9744         ($(objpfx)tst-armtlsdescextnow): Likewise.
9745         ($(objpfx)tst-armtlsdescextlazy): Likewise.
9746         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9747         TLS scheme support.
9748         * sysdeps/arm/configure: Regenerate.
9750 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9752         * include/fcntl.h (__atfct_seterrno): Remove prototype.
9753         (__atfct_seterrno_2): Likewise.
9754         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9755         <kernel-features.h>.
9756         (__ASSUME_ATFCTS): Do not undefine and redefine.
9757         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9758         (__have_atfcts): Remove conditional definition.
9759         (__fxstatat([__NR_fstatat64]: Make code unconditional.
9760         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9761         unreachable if [__ASSUME_ATFCTS].
9762         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9763         not undefine and redefine.
9764         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9765         <kernel-features.h>.
9766         (faccessat) [__NR_faccessat]: Make code unconditional.
9767         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9768         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9769         <kernel-features.h>.
9770         (fchmodat) [__NR_fchmodat]: Make code unconditional.
9771         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9772         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9773         <kernel-features.h>.
9774         (fchownat) [__NR_fchownat]: Make code unconditional.
9775         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9776         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9777         <kernel-features.h>.
9778         (futimesat) [__NR_futimesat]: Make code unconditional.
9779         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9780         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9781         <kernel-features.h>.
9782         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9783         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9784         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9785         <kernel-features.h>.
9786         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9787         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9788         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9789         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9790         <kernel-features.h>.
9791         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9792         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9793         * sysdeps/unix/sysv/linux/linkat.c: Do not include
9794         <kernel-features.h>.
9795         (linkat) [__NR_linkat]: Make code unconditional.
9796         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9797         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9798         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9799         <kernel-features.h>.
9800         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9801         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9802         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9803         <kernel-features.h>.
9804         (mkdirat) [__NR_mkdirat]: Make code unconditional.
9805         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9806         * sysdeps/unix/sysv/linux/openat.c: Do not include
9807         <kernel-features.h>.
9808         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9809         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9810         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9811         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9812         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9813         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9814         <kernel-features.h>.
9815         (readlinkat) [__NR_readlinkat]: Make code unconditional.
9816         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
9817         result of INLINE_SYSCALL directly, not via int variable.
9818         * sysdeps/unix/sysv/linux/renameat.c: Do not include
9819         <kernel-features.h>.
9820         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9821         (renameat) [__NR_renameat]: Make code unconditional.
9822         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9823         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9824         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9825         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9826         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9827         (__ASSUME_ATFCTS): Do not undefine and redefine.
9828         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9829         <kernel-features.h>.
9830         (symlinkat) [__NR_symlinkat]: Make code unconditional.
9831         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9832         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9833         <kernel-features.h>.
9834         (unlinkat) [__NR_unlinkat]: Make code unconditional.
9835         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9836         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9837         (__ASSUME_ATFCTS): Do not undefine and redefine.
9838         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9839         <kernel-features.h>.
9840         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9841         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9842         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9843         <kernel-features.h>.
9844         (__xmknodat) [__NR_mknodat]: Make code unconditional.
9845         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9847 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9849         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9851 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
9853         [BZ #17069]
9854         * posix/regcomp.c (parse_reg_exp): Deallocate partially
9855         constructed tree before returning error.
9856         * posix/bug-regexp36.c: Expand test case.
9858 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9860         [BZ #6803]
9861         * math/libm-test.inc (scalbln_test_date):
9862         Add errno expectations.
9863         * math/w_scalblnf.c: New File.
9864         Add wrapper which checks for setting errno to ERANGE.
9865         Add weak_alias for corresponding scalbln function.
9866         * math/w_scalbln.c: Likewise.
9867         * math/w_scalblnl.c: Likewise.
9868         * math/Makefile (libm-calls): Add w_scalbln.
9869         * sysdeps/ieee754/flt-32/s_scalblnf.c:
9870         Remove weak_alias for corresponding scalbln function.
9871         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9872         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9873         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9874         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9875         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9876         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9877         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9878         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9879         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9880         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9881         Remove long_double_symbol for scalblnl function in libm, libc.
9882         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9883         Add wrapper which checks for setting errno to ERANGE.
9884         Add long_double_symbol for scalblnl function in libm, libc.
9885         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9886         Remove long_double_symbol for scalblnl in libm.
9887         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9888         Add wrapper which checks for setting errno to ERANGE.
9889         Add long_double_symbol for scalblnl function in libm.
9890         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9891         Do not use wrapper because of own implementation.
9893 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
9895         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9896         3 bytes for __pad1 for x32.
9897         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9899 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
9900             H.J. Lu  <hongjiu.lu@intel.com>
9902         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9903         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9904         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9905         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9906         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9908 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
9910         [BZ #17069]
9911         * posix/regcomp.c (parse_expression): Deallocate partially
9912         constructed tree before returning error.
9913         * posix/Makefile.c (tests): Add bug-regex36.
9914         (generated): Add bug-regex36.mtrace.
9915         (tests-special): Add $(objpfx)bug-regex36-mem.out
9916         (bug-regex36-ENV): New variable.
9917         ($(objpfx)bug-regex36-mem.out): New rule.
9918         * posix/bug-regex36.c: New file.
9920 2014-06-19  Will Newton  <will.newton@linaro.org>
9922         * malloc/malloc.c (systrim): If extra is zero then return
9923         early.
9925 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9927         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9929 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
9931         * sysdeps/aarch64/strchr.S: New file.
9933 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
9935         [BZ #17022]
9936         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9937         from arguments -2 or below.
9938         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9939         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9941 2014-06-18  Andreas Schwab  <schwab@suse.de>
9943         [BZ #17062]
9944         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9945         of a bracket expr not to run off the end of the string.
9946         * posix/Makefile (tests): Add tst-fnmatch3.
9947         * posix/tst-fnmatch3.c: New file.
9949 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
9951         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9952         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9953         [$(cross-compiling) = no]: Likewise.
9954         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9955         [$(cross-compiling) = no]: Likewise.
9957 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9959         [BZ #17031]
9960         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9961         double, adjusted for any remainder from the high double.
9962         * math/libm-test.inc (nearbyint): Add tests.
9963         (rint): Likewise.
9965 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9967         * nptl/sysdeps/powerpc/Makefile: Moved ...
9968         * sysdeps/powerpc/nptl/Makefile: ... here.
9969         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9970         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9971         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9972         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9973         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9974         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9975         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9976         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9977         * nptl/sysdeps/powerpc/tls.h: Moved ...
9978         * sysdeps/powerpc/nptl/tls.h: ... here.
9980 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
9982         [BZ #16681]
9983         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9984         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9985         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9986         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9987         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9988         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9989         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9990         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9991         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9993 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
9995         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9997 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
9999         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10000         defined operator.
10002         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10003         $TIMEOUTFACTOR.
10005 2014-06-16  Florian Weimer  <fweimer@redhat.com>
10007         [BZ #17058]
10008         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10009         non-executed part of the test.
10011 2014-06-16  Andreas Schwab  <schwab@suse.de>
10013         * string/bits/string2.h (strdup, strndup): Update feature guard.
10015 2014-06-14  David S. Miller  <davem@davemloft.net>
10017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10019 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
10021         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10022         that was previously under [RESET_PID].
10023         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10025         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10026         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10027         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10028         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10029         (__libc_vfork): New strong alias.
10030         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10032 2014-06-14 Andi Kleen  <ak@linux.intel.com>
10034         * sysdeps/generic/elide.h: New file.
10036 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10038         * Makefile (installed-headers): Adjust path of pthread.h header.
10040 2014-06-13  Roland McGrath  <roland@hack.frob.com>
10042         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10043         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10044         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10045         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10047         * nptl/sysdeps/s390/Makefile: Moved ...
10048         * sysdeps/s390/nptl/Makefile: ... here.
10049         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10050         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10051         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10052         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10053         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10054         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10055         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10056         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10057         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10058         * sysdeps/s390/nptl/pthreaddef.h: ... here.
10059         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10060         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10061         * nptl/sysdeps/s390/tls.h: Moved ...
10062         * sysdeps/s390/nptl/tls.h: ... here.
10064         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10065         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10067 2014-06-13  David S. Miller  <davem@davemloft.net>
10069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10071         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10072         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10073         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10076         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10077         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10078         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10079         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10080         Remove RESET_PID cpp guards.
10081         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10082         Remove RESET_PID cpp guards.
10083         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10085 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
10087         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10088         __sp to uintptr_t.
10090 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10092         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10093         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10094         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10095         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10096         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10097         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10098         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10099         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10100         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10101         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10102         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10103         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10104         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10105         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10106         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10107         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10108         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10109         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10110         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10111         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10113         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10114         (pthread_rwlock_rdlock): Add elision.
10115         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10116         (pthread_rwlock_wrlock): Add elision.
10117         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10118         (pthread_rwlock_trywrlock): Add elision.
10119         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10120         (pthread_rwlock_tryrdlock): Add elision.
10121         * nptl/pthread_rwlock_unlock.c: Include elide.h.
10122         (pthread_rwlock_tryrdlock): Add elision unlock.
10123         * nptl/sysdeps/pthread/pthread.h:
10124         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10125         (PTHREAD_RWLOCK_INITIALIZER,
10126         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10127         Handle new elision field.
10128         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10129         * sysdeps/arm/nptl/bits/pthreadtypes.h
10130         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10131         * sysdeps/sh/nptl/bits/pthreadtypes.h
10132         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10133         * sysdeps/tile/nptl/bits/pthreadtypes.h
10134         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10135         * sysdeps/a/nptl/bits/pthreadtypes.h
10136         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10137         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10138         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10139         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10140         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10141         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10142         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10143         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10144         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10145         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10146         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10147         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10148         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10149         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10150         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10151         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10152         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10153         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10154         (elision_init): Set try_xbegin to zero when no RTM.
10155         * sysdeps/x86/nptl/bits/pthreadtypes.h
10156         (pthread_rwlock_t): Change __pad1 to __rwelision.
10157         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10159 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10161         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10162         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10163         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10164         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10166 2014-06-13  Meador Inge  <meadori@codesourcery.com>
10168         [BZ #16996]
10169         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10170         that the cached result has been set before returning it.
10172 2014-06-12  Roland McGrath  <roland@hack.frob.com>
10174         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10175         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10176         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10177         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10178         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10179         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10181         * nptl/sysdeps/sparc/Makefile: Moved ...
10182         * sysdeps/sparc/nptl/Makefile: ... here.
10183         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10184         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10185         * nptl/sysdeps/sparc/tls.h: Moved ...
10186         * sysdeps/sparc/nptl/tls.h: ... here.
10187         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10188         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10189         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10190         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10191         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10192         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10193         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10194         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10195         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10196         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10197         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10198         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10199         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10200         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10201         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10202         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10203         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10204         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10205         Update #include.
10206         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10207         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10208         Update #include.
10209         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10210         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10211         Update #include.
10212         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10213         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10214         Update #include.
10216         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10218         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10219         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10221         * sysdeps/pthread/posix-timer.h: Include <list.h>.
10222         (struct list_links): Type removed.
10223         (struct thread_node, struct timer_node): Replace struct list_links
10224         with struct list_head.
10225         (list_unlink_ip): Likewise.
10226         * sysdeps/pthread/timer_routines.c
10227         (timer_free_list, thread_free_list, thread_active_list): Likewise.
10228         (list_append, list_insbefore): Likewise.
10229         (list_init): Function removed.
10230         (thread_init, init_module): Use INIT_LIST_HEAD instead.
10231         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10232         * sysdeps/pthread/Makefile: ... here, new file.
10234         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10235         * sysdeps/nptl/Implies: ... here.
10236         * sysdeps/unix/sysv/linux/Implies: Add nptl.
10237         * nptl/sysdeps/pthread/list.h: Moved ...
10238         * include/list.h: ... here.
10239         * nptl/sysdeps/pthread/createthread.c: Moved ...
10240         * nptl/createthread.c: ... here.
10241         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10242         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10243         * nptl/pt-longjmp.c: ... here.
10244         * nptl/sysdeps/pthread/Makefile: Moved ...
10245         * sysdeps/nptl/Makefile: ... here.
10246         * nptl/sysdeps/pthread/Subdirs: Moved ...
10247         * sysdeps/nptl/Subdirs: ... here.
10248         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10249         * sysdeps/nptl/aio_misc.h: ... here.
10250         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10251         * sysdeps/nptl/bits/libc-lock.h: ... here.
10252         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10253         * sysdeps/nptl/bits/libc-lockP.h: ... here.
10254         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10255         * sysdeps/nptl/bits/stdio-lock.h: ... here.
10256         * nptl/sysdeps/pthread/configure: Moved ...
10257         * sysdeps/nptl/configure: ... here.
10258         * nptl/sysdeps/pthread/configure.ac: Moved ...
10259         * sysdeps/nptl/configure.ac: ... here.
10260         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10261         * sysdeps/nptl/gai_misc.h: ... here.
10262         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10263         * sysdeps/nptl/librt-cancellation.c: ... here.
10264         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10265         * sysdeps/nptl/malloc-machine.h: ... here.
10266         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10267         * sysdeps/nptl/pthread-functions.h: ... here.
10268         * nptl/sysdeps/pthread/pthread.h: Moved ...
10269         * sysdeps/nptl/pthread.h: ... here.
10270         * nptl/sysdeps/pthread/setxid.h: Moved ...
10271         * sysdeps/nptl/setxid.h: ... here.
10272         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10273         * sysdeps/nptl/sigfillset.c: ... here.
10274         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10275         * sysdeps/nptl/tcb-offsets.h: ... here.
10276         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10277         * sysdeps/nptl/tst-mqueue8x.c: ... here.
10278         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10279         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10280         * nptl/sysdeps/pthread/allocalim.h: Moved ...
10281         * sysdeps/pthread/allocalim.h: ... here.
10282         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10283         * sysdeps/pthread/bits/sigthread.h: ... here.
10284         * nptl/sysdeps/pthread/flockfile.c: Moved ...
10285         * sysdeps/pthread/flockfile.c: ... here.
10286         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10287         * sysdeps/pthread/ftrylockfile.c: ... here.
10288         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10289         * sysdeps/pthread/funlockfile.c: ... here.
10290         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10291         * sysdeps/pthread/posix-timer.h: ... here.
10292         * nptl/sysdeps/pthread/timer_create.c: Moved ...
10293         * sysdeps/pthread/timer_create.c: ... here.
10294         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10295         * sysdeps/pthread/timer_delete.c: ... here.
10296         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10297         * sysdeps/pthread/timer_getoverr.c: ... here.
10298         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10299         * sysdeps/pthread/timer_gettime.c: ... here.
10300         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10301         * sysdeps/pthread/timer_routines.c: ... here.
10302         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10303         * sysdeps/pthread/timer_settime.c: ... here.
10304         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10305         * sysdeps/pthread/tst-timer.c: ... here.
10306         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10307         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10309         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10310         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10312         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10313         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10314         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10315         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10316         Update #include target.
10317         * nptl/sysdeps/i386/i686/Makefile: Moved ...
10318         * sysdeps/i386/i686/nptl/Makefile: ... here.
10319         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10320         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10321         Update #include target.
10322         * nptl/sysdeps/i386/i686/tls.h: Moved ...
10323         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
10324         * nptl/sysdeps/i386/Makefile: Moved ...
10325         * sysdeps/i386/nptl/Makefile: ... here.
10326         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10327         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10328         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10329         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10330         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10331         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10332         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10333         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10334         * sysdeps/i386/nptl/pthreaddef.h: ... here.
10335         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10336         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10337         * nptl/sysdeps/i386/tls.h: Moved ...
10338         * sysdeps/i386/nptl/tls.h: ... here.
10340         * sysdeps/sh/Makefile [$(subdir) = csu]
10341         (gen-as-const-headers): Add tcb-offsets.sym.
10342         * nptl/sysdeps/sh/Makefile: File removed.
10343         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10344         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10345         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10346         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10347         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10348         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10349         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10350         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10351         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10352         * sysdeps/sh/nptl/pthreaddef.h: ... here.
10353         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10354         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10355         * nptl/sysdeps/sh/tls.h: Moved ...
10356         * sysdeps/sh/nptl/tls.h: ... here.
10357         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10358         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10359         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10360         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10361         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10362         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10363         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10364         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10365         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10366         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10367         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10368         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10369         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10370         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10371         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10372         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10373         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10374         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10375         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10376         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10377         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10378         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10379         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10380         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10381         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10382         Moved ...
10383         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10384         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10385         Moved ...
10386         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10387         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10388         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10389         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10390         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10391         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10392         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10393         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10394         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10395         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10396         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10397         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10398         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10399         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10400         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10401         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10402         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10403         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10404         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10406 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10408         * posix/spawn_faction_addopen.c: Include string.h.
10410 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10412         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10413         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10414         * nptl/sysdeps/x86_64/Makefile: Moved ...
10415         * sysdeps/x86_64/nptl/Makefile: ... here.
10416         * nptl/sysdeps/x86_64/configure: Moved ...
10417         * sysdeps/x86_64/nptl/configure: ... here.
10418         * nptl/sysdeps/x86_64/configure.ac: Moved ...
10419         * sysdeps/x86_64/nptl/configure.ac: ... here.
10420         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10421         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10422         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10423         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10424         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10425         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10426         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10427         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10428         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10429         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10430         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10431         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10432         * nptl/sysdeps/x86_64/tls.h: Moved ...
10433         * sysdeps/x86_64/nptl/tls.h: ... here.
10434         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10435         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10436         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10437         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10439         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10441 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10445 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
10447         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10448         type.
10449         [POSIX] (off_t): Likewise.
10450         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10451         [POSIX] (S_ISBLK): Require macro.
10452         [POSIX] (S_ISCHR): Likewise.
10453         [POSIX] (S_ISDIR): Likewise.
10454         [POSIX] (S_ISFIFO): Likewise.
10455         [POSIX] (S_ISREG): Likewise.
10456         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10457         optional-macro.
10458         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10459         type.
10460         [POSIX] (time_t): Likewise.
10461         [POSIX] (timer_t): Likewise.
10463 2014-06-11  Florian Weimer  <fweimer@redhat.com>
10465         [BZ #17048]
10466         * posix/spawn_int.h (struct __spawn_action): Make the path string
10467         non-const to support deallocation.
10468         * posix/spawn_faction_addopen.c
10469         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10470         * posix/spawn_faction_destroy.c
10471         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
10472         path in all spawn_do_open actions.
10473         * posix/tst-spawn.c (do_test): Exercise the copy operation in
10474         posix_spawn_file_actions_addopen.
10476 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
10478         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10479         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10480         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10481         conditional code always true.
10482         (__libc_vfork): New alias.
10484 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10486         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10487         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10489         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10491         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10492         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10494         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10495         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10497         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10498         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10500 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10502         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10503         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10504         multiarch strcmp for PPC64.
10505         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10506         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10507         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10508         multiarch optimizations.
10509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10510         (__libc_ifunc_impl_list): Likewise.
10512 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10514         * benchtests/scripts/validate_benchout.py: New script.
10515         * benchtests/Makefile (bench-func): Call it.
10516         * benchtests/scripts/benchout.schema.json: New file.
10518 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
10520         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10521         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10522         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10523         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10524         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10525         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10526         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10527         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10528         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10529         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10530         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10531         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10532         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10533         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10534         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10535         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10537         Moved ...
10538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10539         ... here.
10540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10541         Moved ...
10542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10544         Moved ...
10545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10546         ... here.
10547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10548         Moved ...
10549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10550         ... here.
10551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10552         Moved ...
10553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10555         Moved ...
10556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10557         ... here.
10558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10559         Moved ...
10560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10561         ... here.
10562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10563         Moved ...
10564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10566         Moved ...
10567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10568         ... here.
10569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10570         Moved ...
10571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10572         ... here.
10573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10574         Moved ...
10575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10576         ... here.
10577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10578         Moved ...
10579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10581         Moved ...
10582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10583         ... here.
10584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10585         Moved ...
10586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10587         ... here.
10588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10589         Moved ...
10590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10591         ... here.
10592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10593         Moved ...
10594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10596         Moved ...
10597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10598         ... here.
10599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10600         Moved ...
10601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10602         ... here.
10603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10604         Moved ...
10605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10607         Moved ...
10608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10609         ... here.
10610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10611         Moved ...
10612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10614         Moved ...
10615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10617         Moved ...
10618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10619         ... here.
10620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10621         Moved ...
10622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10623         ... here.
10624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10625         Moved ...
10626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10627         ... here.
10628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10629         Moved ...
10630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10632         Moved ...
10633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10634         ... here.
10635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10636         Moved ...
10637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10638         ... here.
10639         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10640         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10641         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10642         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10643         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10644         Moved ...
10645         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10646         ... here.
10647         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10648         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10649         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10650         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10651         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10652         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10653         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10654         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10655         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10656         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10657         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10658         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10659         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10660         Moved ...
10661         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10662         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10663         Moved ...
10664         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10665         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10666         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10667         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10668         Moved ...
10669         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10670         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10671         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10672         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10673         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10674         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10675         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10677 2014-06-10  Wilco  <wdijkstr@arm.com>
10679         * math/test-fenv-return.c: New file.
10680         * math/Makefile: Add new test test-fenv-return.
10682 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
10684         [BZ #17042]
10685         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10686         when x - 1 is zero.
10687         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10688         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10689         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10690         0.0L for an argument of 1.0L.
10691         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10692         Likewise.
10693         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10694         value when x - 1 is zero.
10695         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10696         * sysdeps/i386/fpu/libm-test-ulps: Update.
10697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10699 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
10701         [BZ #15119]
10702         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10704 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10706         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10707         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10709 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10711         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10712         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10714         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10715         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10717         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10718         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10720         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10721         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10723         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10724         if not already defined.
10725         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10726         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10727         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10728         (TLS_INIT_TP): Use it.
10729         (TLS_DEFINE_INIT_TP): New macro.
10730         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10732 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
10734         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10735         constant.
10736         [POSIX] (IXANY): Likewise.
10737         [POSIX] (OLCUC): Likewise.
10738         [POSIX || POSIX2008] (CBAUD): Do not allow.
10739         [POSIX || POSIX2008] (DEFECHO): Likewise.
10740         [POSIX || POSIX2008] (ECHOCTL): Likewise.
10741         [POSIX || POSIX2008] (ECHOKE): Likewise.
10742         [POSIX || POSIX2008] (ECHOPRT): Likewise.
10743         [POSIX || POSIX2008] (EXTA): Likewise.
10744         [POSIX || POSIX2008] (EXTB): Likewise.
10745         [POSIX || POSIX2008] (FLUSHO): Likewise.
10746         [POSIX || POSIX2008] (LOBLK): Likewise.
10747         [POSIX || POSIX2008] (PENDIN): Likewise.
10748         [POSIX || POSIX2008] (SWTCH): Likewise.
10749         [POSIX || POSIX2008] (VDISCARD): Likewise.
10750         [POSIX || POSIX2008] (VDSUSP): Likewise.
10751         [POSIX || POSIX2008] (VLNEXT): Likewise.
10752         [POSIX || POSIX2008] (VREPRINT): Likewise.
10753         [POSIX || POSIX2008] (VSTATUS): Likewise.
10754         [POSIX || POSIX2008] (VWERASE): Likewise.
10755         (B*): Change to B[0123456789]*.
10756         * conform/data/time.h-data [POSIX || UNIX98]
10757         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10758         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10759         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10760         [POSIX] (tm_*): Do not allow.
10762 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
10764         * Makefile (install): Don't set LANGUAGE.
10765         * Makefile.in (install): Likewise.
10766         * assert/Makefile (test-assert-ENV): Remove variable.
10767         (test-assert-perr-ENV): Likewise.
10768         * elf/Makefile (neededtest4-ENV): Likewise.
10769         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10770         [$(cross-compiling) = no]: Don't set LANGUAGE.
10771         * io/ftwtest-sh (LANG): Remove variable.
10772         * libio/Makefile (tst-widetext-ENV): Likewise.
10773         * manual/install.texi (Running make install): Don't refer to
10774         environment settings for make install.
10775         * INSTALL: Regenerated.
10776         * nptl/tst-tls6.sh: Don't set LANG.
10777         * posix/globtest.sh (LANG): Remove variable.
10778         * string/Makefile (tester-ENV): Likewise.
10779         (inl-tester-ENV): Likewise.
10780         (noinl-tester-ENV): Likewise.
10781         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10782         [$(cross-compiling) = no]: Don't set LANGUAGE.
10783         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10784         without explicit environment settings.
10786 2014-06-06  Roland McGrath  <roland@hack.frob.com>
10788         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10789         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10790         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10791         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10793 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
10795         * crypt/crypt-private.h [DOS]: Add some includes taken from the
10796         other files in the crypt directory.
10797         * crypt/crypt.c: Remove duplicate includes.
10798         * crypt/crypt-entry.c: Likewise.
10799         * crypt/crypt_util.c: Likewise.
10801 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
10803         * Makeconfig (run-program-env): New variable.
10804         (run-program-prefix-before-env): Likewise.
10805         (run-program-prefix-after-env): Likewise.
10806         (run-program-prefix): Define in terms of new variables.
10807         (built-program-cmd-before-env): New variable.
10808         (built-program-cmd-after-env): Likewise.
10809         (built-program-cmd): Define in terms of new variables.
10810         (test-program-prefix-before-env): New variable.
10811         (test-program-prefix-after-env): Likewise.
10812         (test-program-prefix): Define in terms of new variables.
10813         (test-program-cmd-before-env): New variable.
10814         (test-program-cmd-after-env): Likewise.
10815         (test-program-cmd): Define in terms of new variables.
10816         * Rules (make-test-out): Use $(run-program-env).
10817         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10818         (help): Do not mention environment variables.  Mention
10819         --timeoutfactor option.
10820         (timeoutfactor): New variable.
10821         (blacklist_exports): Remove function.
10822         (exports): Remove variable.
10823         (command): Do not include ${exports}.
10824         * manual/install.texi (Configuring and compiling): Do not mention
10825         test wrappers preserving environment variables.  Mention that last
10826         assignment to a variable must take precedence.
10827         * INSTALL: Regenerated.
10828         * benchtests/Makefile (run-bench): Use $(run-program-env).
10829         * catgets/Makefile ($(objpfx)test1.cat): Use
10830         $(built-program-cmd-before-env), $(run-program-env) and
10831         $(built-program-cmd-after-env).
10832         ($(objpfx)test2.cat): Do not specify environment variables
10833         explicitly.
10834         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10835         $(run-program-env) and $(built-program-cmd-after-env).
10836         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10837         $(run-program-env) and $(test-program-cmd-after-env).
10838         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10839         explicitly.
10840         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10841         run_program_env and test_program_cmd_after_env arguments.
10842         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10843         * elf/tst-pathopt.sh: Use run_program_env argument.
10844         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10845         $(test-wrapper-env) and $(run-program-env).
10846         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10847         run_program_env arguments.
10848         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10849         * intl/Makefile ($(objpfx)tst-gettext.out): Use
10850         $(test-program-prefix-before-env), $(run-program-env) and
10851         $(test-program-prefix-after-env).
10852         ($(objpfx)tst-gettext2.out): Likewise.
10853         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10854         run_program_env and test_program_prefix_after_env arguments.
10855         * intl/tst-gettext2.sh: Likewise.
10856         * intl/tst-gettext4.sh: Do not set environment variables
10857         explicitly.
10858         * intl/tst-gettext6.sh: Likewise.
10859         * intl/tst-translit.sh: Likewise.
10860         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10861         $(test-program-prefix-before-env), $(run-program-env) and
10862         $(test-program-prefix-after-env).
10863         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10864         run_program_env and test_program_prefix_after_env arguments.
10865         * math/Makefile (run-regen-ulps): Use $(run-program-env).
10866         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10867         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
10868         explicitly with each use of ${test_wrapper_env}.
10869         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10870         $(test-program-prefix-before-env), $(run-program-env) and
10871         $(test-program-prefix-after-env).
10872         * posix/tst-getconf.sh: Do not set environment variables
10873         explicitly.
10874         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10875         run_program_env and test_program_prefix_after_env arguments.
10876         * stdio-common/tst-printf.sh: Do not set environment variables
10877         explicitly.
10878         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10879         $(test-program-prefix-before-env), $(run-program-env) and
10880         $(test-program-prefix-after-env).
10881         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10882         run_program_env and test_program_prefix_after_env arguments.
10883         Split $test calls into $test_pre and $test.
10884         * timezone/Makefile (build-testdata): Use
10885         $(built-program-cmd-before-env), $(run-program-env) and
10886         $(built-program-cmd-after-env).
10888 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10890         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10891         strlen for non SHARED builds.
10893 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10895         * nptl/allocatestack.c (check_list): Inlined function...
10896         (__reclaim_stacks): ... here.
10898 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
10900         [BZ #15698]
10901         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10902         memory overrun.
10904 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
10906         * Rules (make-test-out): Include
10907         LOCPATH=$(common-objpfx)localedata in default environment.
10908         * debug/Makefile (tst-chk1-ENV): Remove variable.
10909         (tst-chk2-ENV): Likewise.
10910         (tst-chk3-ENV): Likewise.
10911         (tst-chk4-ENV): Likewise.
10912         (tst-chk5-ENV): Likewise.
10913         (tst-chk6-ENV): Likewise.
10914         (tst-lfschk1-ENV): Likewise.
10915         (tst-lfschk2-ENV): Likewise.
10916         (tst-lfschk3-ENV): Likewise.
10917         (tst-lfschk4-ENV): Likewise.
10918         (tst-lfschk5-ENV): Likewise.
10919         (tst-lfschk6-ENV): Likewise.
10920         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10921         (tst-iconv7-ENV): Likewise.
10922         * intl/Makefile (LOCPATH-ENV): Likewise.
10923         (tst-codeset-ENV): Likewise.
10924         (tst-gettext3-ENV): Likewise.
10925         (tst-gettext5-ENV): Likewise.
10926         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10927         (tst-fopenloc-ENV): Likewise.
10928         (tst-fgetws-ENV): Remove variable.
10929         (tst-ungetwc1-ENV): Likewise.
10930         (tst-ungetwc2-ENV): Likewise.
10931         (bug-ungetwc2-ENV): Likewise.
10932         (tst-swscanf-ENV): Likewise.
10933         (bug-ftell-ENV): Likewise.
10934         (tst-fgetwc-ENV): Likewise.
10935         (tst-fseek-ENV): Likewise.
10936         (tst-ftell-partial-wide-ENV): Likewise.
10937         (tst-ftell-active-handler-ENV): Likewise.
10938         (tst-ftell-append-ENV): Likewise.
10939         * posix/Makefile (tst-fnmatch-ENV): Likewise.
10940         (tst-regexloc-ENV): Likewise.
10941         (bug-regex1-ENV): Likewise.
10942         (tst-regex-ENV): Likewise.
10943         (tst-regex2-ENV): Likewise.
10944         (bug-regex5-ENV): Likewise.
10945         (bug-regex6-ENV): Likewise.
10946         (bug-regex17-ENV): Likewise.
10947         (bug-regex18-ENV): Likewise.
10948         (bug-regex19-ENV): Likewise.
10949         (bug-regex20-ENV): Likewise.
10950         (bug-regex22-ENV): Likewise.
10951         (bug-regex23-ENV): Likewise.
10952         (bug-regex25-ENV): Likewise.
10953         (bug-regex26-ENV): Likewise.
10954         (bug-regex30-ENV): Likewise.
10955         (bug-regex32-ENV): Likewise.
10956         (bug-regex33-ENV): Likewise.
10957         (bug-regex34-ENV): Likewise.
10958         (bug-regex35-ENV): Likewise.
10959         (tst-rxspencer-ENV): Likewise.
10960         (tst-rxspencer-no-utf8-ENV): Likewise.
10961         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10962         (tst-sscanf-ENV): Likewise.
10963         (tst-swprintf-ENV): Likewise.
10964         (tst-swscanf-ENV): Likewise.
10965         (test-vfprintf-ENV): Likewise.
10966         (scanf13-ENV): Likewise.
10967         (bug14-ENV): Likewise.
10968         (tst-grouping-ENV): Likewise.
10969         * stdlib/Makefile (tst-strtod-ENV): Likewise.
10970         (tst-strtod3-ENV): Likewise.
10971         (tst-strtod4-ENV): Likewise.
10972         (tst-strtod5-ENV): Likewise.
10973         (testmb2-ENV): Likewise./
10974         * string/Makefile (tst-strxfrm-ENV): Likewise.
10975         (tst-strxfrm2-ENV): Likewise.
10976         (bug-strcoll1-ENV): Likewise.
10977         (test-strcasecmp-ENV): Likewise.
10978         (test-strncasecmp-ENV): Likewise.
10979         * time/Makefile (tst-strptime-ENV): Likewise.
10980         (tst-ftime_l-ENV): Likewise.
10981         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10982         (tst-mbrtowc-ENV): Likewise.
10983         (tst-wcrtomb-ENV): Likewise.
10984         (tst-mbrtowc2-ENV): Likewise.
10985         (tst-c16c32-1-ENV): Likewise.
10986         (tst-mbsnrtowcs-ENV): Likewise.
10988 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
10990         * manual/resource.texi (How to get information about the memory
10991         subsystem?): Fix typo.
10992         Reported by Peon de la Parra Ivan <peon@keba.com>
10994 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
10996         [BZ #16882]
10997         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10998         (pthread_spin_lock): Branch out of spin loop to proper location.
10999         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11000         (pthread_spin_lock): Likewise.
11002         * nptl/tst-spin4.c: New test.
11003         * nptl/Makefile (tests): Add tst-spin4.
11005 2014-06-03  Andreas Schwab  <schwab@suse.de>
11007         [BZ #15946]
11008         * resolv/res_send.c (send_dg): Reload file descriptor after
11009         calling reopen.
11011 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
11013         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11015 2014-06-03  Richard Henderson  <rth@redhat.com>
11017         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11018         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11019         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11020         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
11021         in the SAVE_PID block.
11022         (__libc_vfork): New alias.
11023         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11025         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11026         child in registers, not on the stack.  Remove RESET_PID conditionals.
11027         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11029 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11031         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11033 2014-06-03  Wilco  <wdijkstr@arm.com>
11035         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11036         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11037         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11038         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11039         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11040         Likewise.
11042 2014-06-03  Wilco  <wdijkstr@arm.com>
11044         * sysdeps/aarch64/fpu/math_private.h
11045         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11046         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11047         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11048         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11049         Fix declarations.
11051 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11053         * crypt/crypt-private.h: Include ufc-crypt.h.
11054         (__b64_from_24bit): Declare extern.
11055         * crypt/crypt_util.c(__b64_from_24bit): New function.
11056         (b64t): New static const variable.
11057         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11058         (b64t): Remove variable.
11059         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11060         * crypt/sha256-crypt.c: Include crypt-private.h.
11061         (b64t): Remove variable.
11062         (__sha256_crypt_r): Remove b64_from_24bit and replace
11063         with __b64_from_24bit.
11064         * crypt/sha512-crypt.c: Likewise.
11066 2014-06-02  Roland McGrath  <roland@hack.frob.com>
11068         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11069         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11070         Label the code __libc_vfork rather than __vfork.
11071         [!NOT_IN_libc] (vfork): Define as weak alias.
11072         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11073         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11074         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11076 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11078         * malloc/malloc.c (malloc_info): Fix format specifier for
11079         n_mmaps.
11081 2014-06-02  Wilco  <wdijkstr@arm.com>
11083         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11084         FPCR write.
11086 2014-06-02  Wilco  <wdijkstr@arm.com>
11088         [BZ #17009]
11089         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11090         Rewrite to reduce FPCR/FPSR accesses.
11092 2014-06-01  David S. Miller  <davem@davemloft.net>
11094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11096 2014-05-31  David S. Miller  <davem@davemloft.net>
11098         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11099         to occur in round to nearest mode when |x| >= 2.0
11101 2014-05-30  Richard Henderson  <rth@twiddle.net>
11103         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11104         (PSEUDO_RET_NOERRNO): Remove.
11105         (ret): Don't redefine.
11106         (ret_NOERRNO): Define in terms of ret.
11107         (ret_ERRVAL): Likewise.
11109         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11110         use of PSEUDO_RET; perform the error check directly.
11112 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
11114         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11115         with __int128_t.
11117 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11119         * malloc/malloc (malloc_info): Fix formatting.
11121 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11122             Roland McGrath  <roland@hack.frob.com>
11124         * malloc/malloc (malloc_info): Also print mmapped statistics.
11126 2014-05-30  Roland McGrath  <roland@hack.frob.com>
11128         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11129         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11131 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
11133         * malloc/malloc.c (malloc_info): Inline mi_arena.
11135 2014-05-29  Richard Henderson  <rth@twiddle.net>
11137         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11138         Remove comma before expanding ASM_ARGS_##nr.
11139         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11140         Make _x0 a strict output; make _x8 a strict input; adjust expansion
11141         of ASM_ARGS_##nr.
11142         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11143         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11144         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11145         (ASM_ARGS_1): Add leading comma.
11147         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11148         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11149         to __errno_location.
11150         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11151         Remove the expected plt for __errno_location.
11153         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11154         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11155         call to __read_tp.
11157         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11158         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
11159         it and break it down.
11160         (DOCARGS_0, DOCARGS_1): Do nothing.
11161         (DOCARGS_2): Update to store into the new stack frame.
11162         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11163         (UNDOCARGS_1): Update to restore from the new stack frame.
11164         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11165         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11167         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11168         (SINGLE_THREAD_P): New parameter for result regno.
11169         (PSEUDO): Update to match; use cbz instead of beq.
11171         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11172         Use ENTRY to define the _nocancel entry point.  Share the syscall
11173         and syscall error check paths with the cancel path.
11174         (PSEUDO_END): New.
11176         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11177         whitespace; tabs before and after asm mnemonics.
11179 2014-05-29  Eric Wong  <normalperson@yhbt.net>
11181         [BZ #15132]
11182         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11183         Call fstat64 or stat64 internally, depending on arguments passed.
11184         Replace stat buffer argument with file descriptor argument.
11185         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11186         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11187         Pass fd to __internal_statvfs instead of calling fstat64.
11188         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11189         Pass fd to __internal_statvfs64 instead of calling fstat64.
11190         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11191         Pass -1 to __internal_statvfs instead of calling stat64.
11192         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11193         Pass -1 to __internal_statvfs64 instead of calling stat64.
11195 2014-05-28  Roland McGrath  <roland@hack.frob.com>
11197         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11198         that was previously under [RESET_PID].
11199         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11201         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11202         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11204 2014-05-27  Roland McGrath  <roland@hack.frob.com>
11206         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11208         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11209         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11211 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
11213         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11215 2014-05-27  Andreas Schwab  <schwab@suse.de>
11217         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11218         TLS_INIT_TP macro.
11219         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11220         * elf/rtld.c (init_tls, dl_main): Likewise.
11221         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11222         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11223         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11224         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11225         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11226         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11227         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11228         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11229         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11230         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11231         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11232         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11233         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11234         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11235         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11236         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11237         * sysdeps/generic/tls.h: Update description.
11239 2014-05-27  Will Newton  <will.newton@linaro.org>
11241         [BZ #16990]
11242         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11243         and restore r2 rather than just restoring.
11245 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11247         [BZ #16724]
11248         * libio/tst-ftell-append.c: New test case.
11249         * libio/Makefile (tests): Add test case.
11250         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11251         append mode.
11252         * libio/wfileops.c (do_ftell_wide): Likewise.
11254 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11258         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11259         ...
11260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11262         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11263         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11264         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11265         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11266         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11267         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11268         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11269         Moved ...
11270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11271         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11272         Moved ...
11273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11274         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11275         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11276         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11277         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11278         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11279         ...
11280         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11281         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11282         Moved ...
11283         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11284         here.
11285         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11286         ...
11287         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11288         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11289         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11291         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11292         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11293         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11294         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11296         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11297         merge into ...
11298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11299         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11300         ...
11301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11302         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11303         ...
11304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11305         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11306         Moved ...
11307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11308         here.
11309         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11310         Moved ...
11311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11312         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11313         Moved ...
11314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11317         conditional [RESET_PID].
11318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11319         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11320         removed.
11321         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11322         removed.
11324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11325         <tcb-offsets.h>.
11326         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11327         (__libc_vfork): New strong alias.
11328         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11329         removed.
11330         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11331         Removed.
11333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11334         <tcb-offsets.h>.
11335         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11336         (__libc_vfork): New strong alias.
11337         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11338         removed.
11339         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11340         removed.
11342 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
11344         * malloc/malloc.c (mi_arena): New function.
11345         (malloc_info): Remove nested function mi_arena. Call non-nosted
11346         function mi_arena.
11348 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11350         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11351         by insrwi.
11352         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11353         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11354         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11355         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11356         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11357         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11358         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11360 2014-05-26  Andreas Schwab  <schwab@suse.de>
11362         [BZ #16984]
11363         * locale/programs/repertoire.c (repertoire_read): Add slash
11364         between I18NPATH element and file name.
11365         * locale/programs/locfile.c (locfile_read): Likewise.
11367 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11369         * nptl/pthread_mutexattr_settype.c
11370         (__pthread_mutexattr_settype):
11371         Disable lock elision for PTHREAD_MUTEX_NORMAL.
11373 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11375         * nptl/tst-mutex5 (do_test):
11376         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11378 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11380         * benchtests/README: Document 'init' directive.
11381         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11382         BENCH_INIT.
11383         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11384         (parse_file): Recognize 'init' directive.
11386 2014-05-26  Kyle McMartin  <kyle@redhat.com>
11388         [BZ #16796]
11389         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11390         alignment of struct pthread.
11392 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11394         [BZ #16878]
11395         * nscd/netgroupcache.c (addgetnetgrentX): Look for
11396         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11397         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11398         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11400 2014-05-25  Richard Henderson  <rth@twiddle.net>
11402         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11403         (SINGLE_THREAD_P_PIC): Remove.
11404         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11405         (SINGLE_THREAD_P_PIC): Remove.
11407         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11408         branch to syscall error ...
11409         (PSEUDO): ... here.
11410         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11411         from __local_syscall_error to .Lsyscall_error.
11412         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11413         (SYSCALL_ERROR): Update label name.
11415         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11416         Do not use DOARGS/UNDOARGS.
11417         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11418         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11419         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11420         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11421         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11423         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11424         block comment.
11426         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11427         define if !NOT_IN_libc.
11428         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11429         define with non-default symbol versions.
11431 2014-05-23  Richard Henderson  <rth@twiddle.net>
11433         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11434         (vfork, __vfork): Define via compat_symbol.
11436         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11437         [!HAVE_IFUNC] (vfork_compat): Remove.
11438         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11440 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11442         [BZ #16978]
11443         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11444         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11445         variable.
11447 2014-05-23  Richard Henderson  <rth@twiddle.net>
11449         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11450         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11451         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11452         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11454         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11455         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11456         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11457         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11458         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11459         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11460         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11461         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11462         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11463         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11464         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11465         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11466         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11467         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11468         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11469         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11470         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11471         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11472         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11473         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11474         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11475         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11476         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11477         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11478         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11479         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11480         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11481         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11482         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11483         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11484         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11485         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11486         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11487         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11488         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11489         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11490         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11491         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11492         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11493         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11494         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11495         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11496         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11497         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11498         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11499         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11500         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11501         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11502         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11503         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11504         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11505         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11506         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11507         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11508         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11509         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11511         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11512         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11513         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
11514         before exiting on error.
11515         (__libc_vfork): New strong alias.
11516         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11517         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11519         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11520         that was previously under [RESET_PID].
11521         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11523         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11525 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11527         [BZ #16977]
11528         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11529         value when x - 1 is zero.
11530         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11531         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11532         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11533         0.0L for an argument of 1.0L.
11534         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11535         Likewise.
11536         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11537         value when x - 1 is zero.
11538         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11539         * sysdeps/i386/fpu/libm-test-ulps: Update.
11540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11542 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11544         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11545         alphasort and versionsort.
11547 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11549         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11550         macro.
11551         [copysignf]: Likewise.
11553 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11555         * crypt/md5-crypt.c: Fix formatting.
11557 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11559         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11560         (b64_from_24bit): New function.
11562 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11564         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11565         libc_hidden_builtin_def to ifunc.
11566         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11567         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11569 2014-05-21  Roland McGrath  <roland@hack.frob.com>
11571         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11572         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11574 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
11576         * nscd/Depend (linuxthreads): Remove.
11577         (nptl): Add.
11578         * resolv/Depend (linuxthreads): Remove.
11579         * rt/Depend (linuxthreads): Remove.
11581         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11582         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11583         $(common-objpfx)elf/.
11584         (link-libc-before-gnulib): Likewise.
11585         (elfobjdir): Remove variable.
11586         * Makefile (install): Use $(elf-objpfx) instead of
11587         $(common-objpfx)elf/.
11588         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11589         $(elfobjdir)/.
11590         (link-libc-deps): Likewise.
11591         ($(common-objpfx)libc.so): Likewise.
11592         ($(common-objpfx)linkobj/libc.so): Likewise.
11593         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11594         instead of $(common-objpfx)elf/.
11595         (symbolic-link-list): Likewise.
11596         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11597         [$(cross-compiling) = no]: Likewise.
11598         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11599         $(elfobjdir)/.
11600         (static-gnulib-arch): Likewise.
11601         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11602         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11603         $(common-objpfx)elf/.
11605 2014-05-21  Richard Henderson  <rth@redhat.com>
11607         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11608         (SINGLE_THREAD_P): Use the correct width load.  Fold
11609         into the ldr offset.
11611         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11612         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11614 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
11616         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11617         (libgcc_s_resume): Use __attribute_used__.
11618         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11619         Likewise.
11621 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11623         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11624         optimization when used with float constants.
11626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11628 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
11630         [BZ #16915]
11631         * locale/nl_langinfo_l.c: Make direct reference to every
11632         _nl_current_CATEGORY symbol.
11633         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11634         (tests-static): Add tst-langinfo-static.
11635         (tests-special): Add tst-langinfo-static.out.
11636         ($(objpfx)tst-langinfo.out): Redirect output.
11637         ($(objpfx)tst-langinfo-static.out): New.
11638         * localedata/tst-langinfo.sh: Send output to stdout.
11639         * localedata/tst-langinfo-static.c: New file.
11641         [BZ #16965]
11642         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11643         when the shift amount is modulo the limb size.
11645 2014-05-20  Richard Henderson  <rth@redhat.com>
11647         [BZ #16967]
11648         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11649         Change type of sa_flags from unsigned int to int.
11651         [BZ #16966]
11652         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11654         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11656 2014-05-20  Will Newton  <will.newton@linaro.org>
11658         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11659         Test the return value of the system call in the nocancel case.
11661 2014-05-20  Will Newton  <will.newton@linaro.org>
11662             Yvan Roux  <yvan.roux@linaro.org>
11664         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11665         #include of asm/ptrace.h.
11666         (PTRACE_GET_THREAD_AREA): Remove #undef.
11667         (PTRACE_GETHBPREGS): Likewise.
11668         (PTRACE_SETHBPREGS): Likewise.
11669         (struct user_regs_struct): New structure.
11670         (struct user_fpsimd_struct): New structure.
11671         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11672         #include of asm/ptrace.h and second #include of sys/user.h.
11673         (PTRACE_GET_THREAD_AREA): Remove #undef.
11674         (PTRACE_GETHBPREGS): Likewise.
11675         (PTRACE_SETHBPREGS): Likewise.
11676         (ELF_NGREG): Use new struct user_regs_struct.
11677         (elf_fpregset_t): Use new struct user_fpsimd_struct.
11679 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11681         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11682         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11684 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11686         [BZ #16958]
11687         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11688         membar to avoid block loads/stores to overlap previous stores.
11690 2014-05-17  Richard Henderson  <rth@redhat.com>
11692         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11693         Create the __##syscall_name##_nocancel entry point.
11694         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11695         Remove; let the sysdep-cancel.h code create it.
11697 2014-05-17  David S. Miller  <davem@davemloft.net>
11699         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11700         Protect with __USE_GNU.
11701         (TIOCSET_TEMPT): Likewise.
11702         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11703         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11704         these are already provided in bits/ioctl-types.h
11706 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11708         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11709         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11711         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11712         Use wait4 regardless of [__NR_waitpid].
11714 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
11716         PR libgcc/60166
11717         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11718         (_FP_NANSIGN_Q): Set the quiet bit.
11720 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
11722         * benchtests/Makefile
11723         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11724         not $(common-objpfx)math/libm.so.
11725         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11726         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11727         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11728         $(common-objpfx)dlfcn/libdl.so.
11729         ($(objpfx)tst-audit8): Depend on $(libm), not
11730         $(common-objpfx)math/libm.so.
11731         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11732         not $(common-objpfx)dlfcn/libdl.so.
11733         * math/Makefile
11734         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11735         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
11736         [$(build-shared) = yes].
11737         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11738         $(common-objpfx)nptl/libpthread.so.
11739         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11740         $(common-objpfx)math/libm.so$(libm.so-version) or
11741         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11742         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11743         $(common-objpfx)dlfcn/libdl.so.
11744         * setjmp/Makefile (link-libm): Remove variable.
11745         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11746         * stdio-common/Makefile (link-libm): Remove variable.
11747         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11748         * stdlib/Makefile (link-libm): Remove variable.
11749         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11750         ($(objpfx)tst-strtod-round): Likewise.
11751         ($(objpfx)tst-tininess): Likewise.
11752         ($(objpfx)tst-strtod-underflow): Likewise.
11753         ($(objpfx)tst-strtod6): Likewise.
11754         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11755         $(libdl), not $(common-objpfx)nptl/libpthread.so and
11756         $(common-objpfx)dlfcn/libdl.so.
11758 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11760         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11761         BSD terminal modes definitions.
11763 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11765         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11766         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11768         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11769         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11770         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11771         Don't do #include_next.
11772         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11773         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11774         Don't do #include_next.
11775         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11776         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11777         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11778         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11780 2014-05-16  Allan McRae  <allan@archlinux.org>
11782         * po/sv.po: Update Swedish translation from translation project.
11784         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11785         in sed expression.
11787 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
11789         [BZ #16917]
11790         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11791         errno if the TIOCGPTN ioctl fails with an error different than
11792         EINVAL.
11793         * login/tst-ptsname.c: New file.
11794         * login/Makefile (tests): Add tst-ptsname.
11796         [BZ #16943]
11797         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11798         and prlimit64.
11800 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11802         [BZ #16849]
11803         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11804         herrno to return EAI_AGAIN.
11806 2014-05-14  Roland McGrath  <roland@hack.frob.com>
11808         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11809         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11810         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11811         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11812         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11813         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11814         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11815         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11816         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11817         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11818         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11819         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11820         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11821         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11822         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11823         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11824         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11825         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11826         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11827         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11828         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11829         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11830         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11831         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11832         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11833         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11834         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11835         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11836         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11837         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11839         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11841         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11843         Moved ...
11844         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11846         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11848         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11850         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11852         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11854         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11856         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11858         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11859         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11860         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11862         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11864         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11865         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11866         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11868         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11870         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11872         Moved ...
11873         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11875         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11877         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11879         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11881         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11883         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11885         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11886         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11887         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11889         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11891         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11893         Moved ...
11894         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11896         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11898         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11899         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11900         (libpthread-sysdep_routines): Add elision-related stuff here instead.
11901         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11902         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11903         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11904         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11905         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11906         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11907         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11908         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11909         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11910         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11911         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11912         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11913         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11914         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11915         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11916         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11917         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11918         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11919         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11920         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11921         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11922         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11923         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11924         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11925         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11926         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11927         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11928         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11930         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11931         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11933         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11934         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11935         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11936         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11937         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11938         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11939         Moved ...
11940         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11941         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11942         Moved ...
11943         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11944         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11945         Moved ...
11946         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11947         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11948         Moved ...
11949         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11950         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11951         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11952         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11953         Moved ...
11954         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11955         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11956         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11957         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11958         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11959         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11960         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11961         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11962         Moved ...
11963         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11964         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11965         Moved ...
11966         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11967         ... here.
11968         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11969         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11970         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11971         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11972         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11973         Moved ...
11974         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11975         ... here.
11976         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11977         Moved ...
11978         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11979         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11980         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11981         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11982         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11983         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11984         Moved ...
11985         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11986         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11987         Moved ...
11988         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11989         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11990         Moved ...
11991         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11992         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11993         Moved ...
11994         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11995         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11996         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11997         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11998         Moved ...
11999         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12000         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12001         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12002         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12003         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12004         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12005         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12006         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12007         Moved ...
12008         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12009         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12010         Moved ...
12011         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12012         ... here.
12013         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12014         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12015         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12016         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12017         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12018         Moved ...
12019         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12020         ... here.
12021         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12022         Moved ...
12023         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12024         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12025         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12026         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12027         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12028         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12029         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12030         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12031         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12032         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12033         Moved ...
12034         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12035         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12036         Moved ...
12037         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12038         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12039         Moved ...
12040         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12041         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12042         Moved ...
12043         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12044         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12045         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12046         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12047         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12048         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12049         Moved ...
12050         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12051         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12052         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12053         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12054         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12055         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12056         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12057         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12058         Moved ...
12059         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12060         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12061         Moved ...
12062         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12063         ... here.
12064         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12065         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12066         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12067         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12068         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12069         Moved ...
12070         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12071         ... here.
12072         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12073         Moved ...
12074         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12075         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12076         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12077         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12078         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12079         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12080         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12081         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12082         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12083         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12084         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12086         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12087         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12089         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12090         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12092         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12093         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12094         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12095         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12096         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12097         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12098         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12099         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12100         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12101         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12102         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12103         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12104         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12105         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12106         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12107         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12108         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12109         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12110         Moved ...
12111         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12112         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12113         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12114         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12115         Moved ...
12116         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12117         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12118         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12119         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12120         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12121         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12122         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12123         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12124         Moved ...
12125         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12126         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12127         Moved ...
12128         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12129         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12130         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12131         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12132         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12133         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12134         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12135         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12136         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12137         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12138         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12139         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12140         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12141         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12142         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12143         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12144         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12146         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12147         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12148         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12149         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12150         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12152         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12153         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12154         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12155         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12156         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12157         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12158         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12159         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12160         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12161         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12163         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12164         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12166         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12167         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12168         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12169         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12170         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12171         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12172         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12173         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12174         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12175         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12176         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12177         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12178         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12179         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12180         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12181         Update #include.
12182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12183         Likewise.
12184         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12185         Likewise.
12186         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12187         Likewise.
12188         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12189         Likewise.
12190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12191         Likewise.
12192         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12193         Likewise.
12194         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12195         Likewise.
12196         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12197         Likewise.
12198         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12199         Likewise.
12200         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12201         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12202         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12203         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12204         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12205         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12206         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12207         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12208         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12209         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12210         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12211         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12212         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12213         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
12214         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
12216         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12217         that was previously under [RESET_PID].
12218         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12219         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12220         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12222         * sysdeps/i386/nptl/Implies: New file.
12223         * sysdeps/x86_64/nptl/Implies: New file.
12224         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12225         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12226         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12227         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12229         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12230         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12231         (__libc_vfork): New strong alias.
12232         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12233         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12235         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12236         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12237         (__libc_vfork): New strong alias.
12238         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12239         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12241         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12242         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12243         (__libc_vfork): New strong alias.
12244         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12245         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12246         * nptl/pt-vfork.c: New file.
12247         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12248         (libpthread: GLIBC_2.20): New version set (empty).
12250 2014-05-14  Will Newton  <will.newton@linaro.org>
12252         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12253         rather than #if.
12255 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12257         [BZ #16564]
12258         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12259         arguments with exponent 65 or above.
12260         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12261         arguments 0x1p113L or above.
12262         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12263         to arguments 0x1p107L or above.
12264         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12265         positive arguments with exponent 65 or above.
12266         * math/auto-libm-test-in: Add more tests of log1p.
12267         * math/auto-libm-test-out: Regenerated.
12269         [BZ #16928]
12270         * math/s_cacos.c (__cacos): Ensure zero real part of result from
12271         non-finite arguments is +0.
12272         * math/s_cacosf.c (__cacosf): Likewise.
12273         * math/s_cacosl.c (__cacosl): Likewise.
12274         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12275         * sysdeps/i386/fpu/libm-test-ulps: Update.
12276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12278         [BZ #16927]
12279         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12280         value.
12281         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12282         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12283         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12284         for explicit high bit of mantissa when testing for argument equal
12285         to 1.
12286         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12287         * sysdeps/i386/fpu/libm-test-ulps: Update.
12288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12290         [BZ #16516]
12291         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12292         (__erf): Scale by 16 instead of 8 in potentially underflowing
12293         case.  Ensure exception if result actually underflows.
12294         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12295         (__erff): Scale by 16 instead of 8 in potentially underflowing
12296         case.  Ensure exception if result actually underflows.
12297         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12298         (efx8): Remove variable.
12299         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12300         case.  Ensure exception if result actually underflows.
12301         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12302         (efx8): Remove variable.
12303         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12304         case.  Ensure exception if result actually underflows.
12305         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12306         (efx8): Remove variable.
12307         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12308         case.  Ensure exception if result actually underflows.
12309         * math/auto-libm-test-in: Add more tests of erf.
12310         * math/auto-libm-test-out: Regenerated.
12312 2014-05-14  Andreas Schwab  <schwab@suse.de>
12314         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12315         Remove code conditionalized on USE___THREAD.
12317         * config.h.in (HAVE_PT_CHOWN): Define as 0.
12318         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12319         not definedness.
12321 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12323         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12324         Define unconditionally.
12325         (__ASSUME_O_CLOEXEC): Likewise.
12326         (__ASSUME_SOCK_CLOEXEC): Likewise.
12327         (__ASSUME_IN_NONBLOCK): Likewise.
12328         (__ASSUME_PIPE2): Likewise.
12329         (__ASSUME_EVENTFD2): Likewise.
12330         (__ASSUME_SIGNALFD4): Likewise.
12331         (__ASSUME_DUP3): Likewise.
12332         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12333         (__ASSUME_DUP3): Do not define.
12334         (__ASSUME_EVENTFD2): Likewise.
12335         (__ASSUME_IN_NONBLOCK): Likewise.
12336         (__ASSUME_O_CLOEXEC): Likewise.
12337         (__ASSUME_PIPE2): Likewise.
12338         (__ASSUME_SIGNALFD4): Likewise.
12339         (__ASSUME_SOCK_CLOEXEC): Likewise.
12340         (__ASSUME_UTIMES): Undefine.
12341         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12342         (__ASSUME_UTIMES): Do not define.
12343         (__ASSUME_O_CLOEXEC): Likewise.
12344         (__ASSUME_SOCK_CLOEXEC): Likewise.
12345         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12346         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12347         0x020621].
12348         (__ASSUME_PIPE2): Likewise.
12349         (__ASSUME_EVENTFD2): Likewise.
12350         (__ASSUME_SIGNALFD4): Likewise.
12351         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12352         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12353         Do not define.
12354         (__ASSUME_EVENTFD2): Likewise.
12355         (__ASSUME_SIGNALFD4): Likewise.
12356         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12357         (__ASSUME_32BITUIDS): Likewise.
12358         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12359         (__ASSUME_IPC64): Likewise.
12360         (__ASSUME_ST_INO_64_BIT): Likewise.
12361         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12362         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12363         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12364         (__ASSUME_UTIMES): Do not define.
12365         (__ASSUME_PSELECT): Likewise.
12366         (__ASSUME_PPOLL): Likewise.
12367         (__ASSUME_O_CLOEXEC): Likewise.
12368         (__ASSUME_SOCK_CLOEXEC): Likewise.
12369         (__ASSUME_IN_NONBLOCK): Likewise.
12370         (__ASSUME_PIPE2): Likewise.
12371         (__ASSUME_EVENTFD2): Likewise.
12372         (__ASSUME_SIGNALFD4): Likewise.
12373         (__ASSUME_DUP3): Likewise.
12374         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12375         (__ASSUME_UTIMES): Likewise.
12376         (__ASSUME_O_CLOEXEC): Likewise.
12377         (__ASSUME_SOCK_CLOEXEC): Likewise.
12378         (__ASSUME_IN_NONBLOCK): Likewise.
12379         (__ASSUME_PIPE2): Likewise.
12380         (__ASSUME_EVENTFD2): Likewise.
12381         (__ASSUME_SIGNALFD4): Likewise.
12382         (__ASSUME_DUP3): Likewise.
12383         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12384         (__ASSUME_UTIMES): Likewise.
12385         (__ASSUME_O_CLOEXEC): Likewise.
12386         (__ASSUME_SOCK_CLOEXEC): Likewise.
12387         (__ASSUME_IN_NONBLOCK): Likewise.
12388         (__ASSUME_PIPE2): Likewise.
12389         (__ASSUME_EVENTFD2): Likewise.
12390         (__ASSUME_SIGNALFD4): Likewise.
12391         (__ASSUME_DUP3): Likewise.
12392         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12393         Likewise.
12394         (__ASSUME_UTIMES): Likewise.
12395         (__ASSUME_EVENTFD2): Likewise.
12396         (__ASSUME_SIGNALFD4): Likewise.
12397         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12398         (__ASSUME_O_CLOEXEC): Likewise.
12399         (__ASSUME_SOCK_CLOEXEC): Likewise.
12400         (__ASSUME_IN_NONBLOCK): Likewise.
12401         (__ASSUME_PIPE2): Likewise.
12402         (__ASSUME_EVENTFD2): Likewise.
12403         (__ASSUME_SIGNALFD4): Likewise.
12404         (__ASSUME_DUP3): Likewise.
12405         (__ASSUME_UTIMES): Undefine.
12407         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12408         feclearexcept.  Remove symbol versioning code.
12409         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
12410         symbol versioning code.
12411         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
12412         symbol versioning code.
12413         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12414         feupdateenv.  Remove symbol versioning code.
12415         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12416         fegetexceptflag.  Remove symbol versioning code.
12417         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12418         fesetexceptflag.  Remove symbol versioning code.
12419         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12420         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
12421         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12422         (__posix_fadvise64_l32): Remove prototype.
12423         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12424         code.
12426 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12428         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12429         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12430         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12431         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12433 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
12435         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12436         current working directory
12438 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12440         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12441         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12442         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12443         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12444         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12445         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12446         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12447         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12448         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12449         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12450         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12451         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12452         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12453         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12454         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12455         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12456         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12457         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12458         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12459         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12460         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12461         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12462         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12463         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12464         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12465         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12466         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12467         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12468         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12469         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12470         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12471         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12472         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12473         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12474         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12475         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12476         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12477         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12478         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12479         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12480         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12481         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12483         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12484         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12486         * sysdeps/unix/sysv/linux/arm/Makefile
12487         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12488         Add rt-aeabi_unwind_cpp_pr1.
12489         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12490         Add nptl-aeabi_unwind_cpp_pr1.
12491         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12492         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12493         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12494         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12495         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12496         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12498         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12499         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12500         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12501         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12503         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12504         Deconditionalize the code that was previously under [RESET_PID].
12505         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12507         * sysdeps/generic/exit-thread.h: New file.
12508         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12509         * include/unistd.h (__exit_thread): Remove declaration.
12510         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12511         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12512         * csu/libc-start.c: Include <exit-thread.h>.
12513         (LIBC_START_MAIN): Pass no argument to __exit_thread.
12514         * nptl/pthread_create.c: Include <exit-thread.h>.
12515         (start_thread): Call __exit_thread in place of __exit_thread_inline.
12516         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12517         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12518         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12519         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12520         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12521         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12522         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12523         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12524         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12525         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12526         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12527         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12528         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12529         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12530         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12531         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12533 2014-05-13  Andreas Schwab  <schwab@suse.de>
12535         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12537 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
12539         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12540         (__ASSUME_UTIMES): Do not condition on kernel version.
12541         (__ASSUME_PSELECT): Define unconditionally.
12542         (__ASSUME_PPOLL): Likewise.
12543         (__ASSUME_ATFCTS): Likewise.
12544         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12545         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12546         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12547         (__ASSUME_UTIMENSAT): Define unconditionally.
12548         (__ASSUME_PRIVATE_FUTEX): Likewise.
12549         (__ASSUME_FALLOCATE): Likewise.
12550         (__ASSUME_O_CLOEXEC): Likewise.
12551         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12552         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12553         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12554         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12555         (__ASSUME_IN_NONBLOCK): Likewise.
12556         (__ASSUME_PIPE2): Likewise.
12557         (__ASSUME_EVENTFD2): Likewise.
12558         (__ASSUME_SIGNALFD4): Likewise.
12559         (__ASSUME_DUP3): Likewise.
12560         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12561         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12562         (__ASSUME_AT_RANDOM): Likewise.
12563         (__ASSUME_PREADV): Likewise.
12564         (__ASSUME_PWRITEV): Likewise.
12565         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12566         (__ASSUME_F_GETOWN_EX): Define unconditionally.
12567         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12568         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12569         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12570         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12571         (__ASSUME_O_CLOEXEC): Define unconditionally.
12572         (__ASSUME_PSELECT): Do not undefine conditionally.
12573         (__ASSUME_PPOLL): Likewise.
12574         (__ASSUME_ATFCTS): Likewise.
12575         (__ASSUME_SET_ROBUST_LIST): Likewise.
12576         (__ASSUME_UTIMENSAT): Likewise.
12577         (__ASSUME_FDATASYNC): Define unconditionally.
12578         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12579         (__ASSUME_SIGFRAME_V2): Likewise.
12580         )__ASSUME_EVENTFD2): Likewise.
12581         (__ASSUME_SIGNALFD4): Likewise.
12582         (__ASSUME_PSELECT): Do not undefine conditionally.
12583         (__ASSUME_PPOLL): Likewise.
12584         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12585         (__ASSUME_PSELECT): Define unconditionally.
12586         (__ASSUME_PPOLL): Likewise.
12587         (__ASSUME_O_CLOEXEC): Likewise.
12588         (__ASSUME_SOCK_CLOEXEC): Likewise.
12589         (__ASSUME_IN_NONBLOCK): Likewise.
12590         (__ASSUME_PIPE2): Likewise.
12591         (__ASSUME_EVENTFD2): Likewise.
12592         (__ASSUME_SIGNALFD4): Likewise.
12593         (__ASSUME_DUP3): Likewise.
12594         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12595         (__ASSUME_O_CLOEXEC): Likewise.
12596         (__ASSUME_SOCK_CLOEXEC): Likewise.
12597         (__ASSUME_IN_NONBLOCK): Likewise.
12598         (__ASSUME_PIPE2): Likewise.
12599         (__ASSUME_EVENTFD2): Likewise.
12600         (__ASSUME_SIGNALFD4): Likewise.
12601         (__ASSUME_DUP3): Likewise.
12602         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12603         (__ASSUME_EVENTFD2): Likewise.
12604         (__ASSUME_SIGNALFD4): Likewise.
12605         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12607 2014-05-12  Andreas Schwab  <schwab@suse.de>
12609         [BZ #16932]
12610         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12611         (_nss_nis_gethostbyname4_r): Return error if item length is larger
12612         than maximum RPC packet size.
12613         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12614         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12615         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12616         (_nss_nis_getservbyport_r): Likewise.
12618 2014-05-12  Will Newton  <will.newton@linaro.org>
12620         * malloc/Makefile (tests): Add tst-mallopt.
12621         * malloc/tst-mallopt.c: New file.
12623 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12625         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12626         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12628 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12630         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12631         (tst-tlsmod6.so): Likewise.
12633 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12635         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12637 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
12639         [BZ #16064]
12640         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12641         and <dl-procinfo.h>.
12642         (__fegetenv): Save SSE state in envp->__eip if supported.
12643         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12644         envp->__eip if supported.
12645         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12646         and <dl-procinfo.h>.
12647         (__fesetenv): Always set __eip, __cs_selector, __opcode,
12648         __data_offset and __data_selector in environment to 0.  Set SSE
12649         state if supported.
12650         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12651         test-fenv-sse.
12652         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12653         -mfpmath=sse.
12654         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12656 2014-05-09  Will Newton  <will.newton@linaro.org>
12658         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12659         and libc_relro_required for ARM.
12660         * sysdeps/arm/preconfigure: Regenerate.
12662 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
12663             Stefan Liebler  <stli@linux.vnet.ibm.com>
12665         * config.make.in (enable-lock-elision): New Makefile variable.
12666         * configure.ac: Likewise.
12667         * configure: Regenerate.
12668         * sysdeps/s390/configure.ac:
12669         Add check for gcc transactions support.
12670         * sysdeps/s390/configure: Regenerate.
12671         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12672         Build elision files if enabled.
12673         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12674         Add lock elision support for s390.
12675         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12676         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12677         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12678         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12679         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12680         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12681         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12682         Likewise.
12683         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12684         Likewise.
12685         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12686         Likewise.
12687         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12688         Likewise.
12689         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12690         (__lll_timedlock_elision, __lll_lock_elision)
12691         (__lll_unlock_elision, __lll_trylock_elision)
12692         (lll_timedlock_elision, lll_lock_elision)
12693         (lll_unlock_elision, lll_trylock_elision): Add.
12694         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12695         (pthread_mutex_t): Add lock elision support for s390.
12697 2014-05-14  Wilco  <wdijkstr@arm.com>
12699         * sysdeps/arm/fclrexcpt.c: Cleanup.
12700         * sysdeps/arm/fedisblxcpt.c: Cleanup.
12701         * sysdeps/arm/feenablxcpt.c: Cleanup.
12702         * sysdeps/arm/fegetenv.c: Cleanup.
12703         * sysdeps/arm/fegetexcept.c: Cleanup.
12704         * sysdeps/arm/fegetround.c: Cleanup.
12705         * sysdeps/arm/feholdexcpt.c: Cleanup.
12706         * sysdeps/arm/fesetenv.c: Cleanup.
12707         * sysdeps/arm/fesetround.c: Cleanup.
12708         * sysdeps/arm/feupdateenv.c: Cleanup.
12709         * sysdeps/arm/fgetexcptflg.c: Cleanup.
12710         * sysdeps/arm/fraiseexcpt.c: Cleanup.
12711         * sysdeps/arm/fsetexcptflg.c: Cleanup.
12712         * sysdeps/arm/ftestexcept.c: Cleanup.
12713         * sysdeps/arm/get-rounding-mode.h: Cleanup.
12714         * sysdeps/arm/setfpucw.c: Cleanup.
12716 2014-05-09  Will Newton  <will.newton@linaro.org>
12718         * sysdeps/arm/armv7/strcmp.S: New file.
12719         * NEWS: Mention addition of ARMv7 optimized strcmp.
12721 2014-05-08  Roland McGrath  <roland@hack.frob.com>
12723         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12724         look for %.ac rather than %.in.
12726         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12727         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12728         * sysdeps/mach/hurd/configure: Regenerated.
12729         * sysdeps/unix/sysv/linux/configure: Regenerated.
12731         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12733 2014-05-07  Steve Ellcey  <sellcey@mips.com>
12735         [BZ# 16922]
12736         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12737         (LONG_SUB): Ditto.
12738         (PTR_SUB): Ditto.
12740 2014-05-07  Andreas Schwab  <schwab@suse.de>
12742         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12743         when skipping over non-matching result from nscd.
12745 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
12747         [BZ #16876]
12748         * nptl/sockperf.c (client): Check socket return value.
12750         [BZ #16877]
12751         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12752         nscd security class.
12754 2014-05-06  Roland McGrath  <roland@hack.frob.com>
12756         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12757         * sysdeps/arm/unwind.h: ... here.
12759 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
12761         [BZ# 16916]
12762         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12763         Define.
12765 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12767         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12768         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12769         multiarch strncpy for PPC64.
12770         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12771         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12773         multiarch optimizations.
12774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12775         (__libc_ifunc_impl_list): Likewise.
12776         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12777         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12778         multiarch stpncpy for PPC64.
12779         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12780         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12782 2014-05-06  Andreas Schwab  <schwab@suse.de>
12784         [BZ #16912]
12785         * gmon/mcount.c (_MCOUNT_DECL): Use
12786         atomic_compare_and_exchange_bool_acq instead of
12787         catomic_compare_and_exchange_bool_acq.
12789 2014-05-05  Roland McGrath  <roland@hack.frob.com>
12791         * elf/Makefile (others, install-bin): Remove pldd.
12792         (pldd-modules): Variable removed.
12793         ($(objpfx)pldd): Target removed.
12794         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12795         (others, install-bin): Append pldd here.
12796         ($(objpfx)pldd): New target.
12798         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12799         to 0, so the first #if test emitted later doesn't see it undefined.
12800         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12801         * sysdeps/gnu/errlist.c: Regenerated.
12803 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12805         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12806         [libc_hidden_builtin_def]: Define to empty value.
12807         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12808         [libc_hidden_builtin_def]: Likewise.
12809         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12810         [libc_hidden_builtin_def]: Likewise.
12811         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12812         [libc_hidden_builtin_def]: Likewise.
12813         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12814         __redirect_memcpy and define ifunc as default hidden symbol.
12815         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12816         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12818 2014-05-04  Adam Conrad  <adconrad@0c3.net>
12820         * locale/iso-4217.def: Reintroduce XDR currency.
12822 2014-05-04  Allan McRae  <allan@archlinux.org>
12824         * po/eo.po: Update Esperanto translation from translation project.
12826 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
12828         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12829         and FEATURE_INDEX_MAX to 1.
12830         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12832 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12834         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12835         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12836         * iconvdata/big5.c (ONE_DIRECTION): Define.
12837         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12838         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12839         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12840         * iconvdata/cp932.c (ONE_DIRECTION): Define.
12841         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12842         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12843         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12844         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12845         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12846         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12847         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12848         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12849         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12850         * iconvdata/gbk.c (ONE_DIRECTION): Define.
12851         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12852         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12853         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12854         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12855         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12856         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12857         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12858         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12859         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12860         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12861         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12862         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12863         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12864         * iconvdata/iso646.c (ONE_DIRECTION): Define.
12865         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12866         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12867         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12868         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12869         * iconvdata/johab.c (ONE_DIRECTION): Define.
12870         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12871         * iconvdata/sjis.c (ONE_DIRECTION): Define.
12872         * iconvdata/t.61.c (ONE_DIRECTION): Define.
12873         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12874         * iconvdata/tscii.c (ONE_DIRECTION): Define.
12875         * iconvdata/uhc.c (ONE_DIRECTION): Define.
12876         * iconvdata/unicode.c (ONE_DIRECTION): Define.
12877         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12878         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12879         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12881 2014-05-01  Roland McGrath  <roland@hack.frob.com>
12883         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12884         (_IO_JUMPS_OFFSET): Define to 0.
12886         * nptl/sysdeps/pthread/bits/libc-lock.h
12887         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12888         (__libc_lock_define_initialized_recursive): Always define using
12889         initializer.  Modern compilers treat uninitialized (implicit zero) and
12890         explicit zero initializers the same (i.e. put the datum in bss).
12892 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12894         * nscd/nscd-client.h: Include <string.h>.
12896 2014-05-01  David S. Miller  <davem@davemloft.net>
12898         [BZ #16885]
12899         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12900         multiple zero bytes exist at the end of a string.
12901         Reported by Aurelien Jarno <aurelien@aurel32.net>
12903         * string/test-strcmp.c (check): Add explicit test for situations where
12904         there are multiple zero bytes after the first.
12906 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12908         [BZ #16890]
12909         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12910         when compiling wprintf.
12911         * stdio-common/tstdiomisc.c (t3): New function.
12912         (main): Call it.
12914 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12916         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12917         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12918         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12919         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12921 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12923         * stdlib/longlong.h: Updated from GCC.
12925 2014-05-01  Will Newton  <will.newton@linaro.org>
12926             Bernard Ogden  <bernie.ogden@linaro.org>
12928         * NEWS: Update fixed bug list.
12930         [BZ #15119]
12931         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12933 2014-04-30  David S. Miller  <davem@davemloft.net>
12935         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12936         (libc_feholdexcept_setround_sparc_ctx): New function.
12937         (libc_fesetenv_sparc_ctx): Likewise.
12938         (libc_feupdateenv_sparc_ctx): Likewise.
12939         (libc_feholdsetround_sparc_ctx): Likewise.
12940         (libc_feholdexcept_setround_ctx): Define.
12941         (libc_feholdexcept_setroundf_ctx): Likewise.
12942         (libc_feholdexcept_setroundl_ctx): Likewise.
12943         (libc_fesetenv_ctx): Likewise.
12944         (libc_fesetenvf_ctx): Likewise.
12945         (libc_fesetenvl_ctx): Likewise.
12946         (libc_feupdateenv_ctx): Likewise.
12947         (libc_feupdateenvf_ctx): Likewise.
12948         (libc_feupdateenvl_ctx): Likewise.
12949         (libc_feresetround_ctx): Likewise.
12950         (libc_feresetroundf_ctx): Likewise.
12951         (libc_feresetroundl_ctx): Likewise.
12952         (libc_feholdsetround_ctx): Likewise.
12953         (libc_feholdsetroundf_ctx): Likewise.
12954         (libc_feholdsetroundl_ctx): Likewise.
12956         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12957         with __USE_GNU instead of XOPEN cpp guards.
12959         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12960         0.
12962         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12963         with XOPEN cpp guards.
12965 2014-04-30  Julian Brown  <julian@codesourcery.com>
12967         [BZ #16888]
12968         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12969         handling.
12971 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
12973         [BZ #9894]
12974         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12975         Change to 2.6.32.
12976         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12977         * sysdeps/unix/sysv/linux/configure: Regenerated.
12978         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12979         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12980         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12981         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12982         * README: Update reference to required Linux kernel version.
12983         * manual/install.texi (Linux): Update reference to required Linux
12984         kernel headers version.
12985         * INSTALL: Regenerated.
12987         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12988         header inclusion.
12989         [POSIX] (limits.h): Likewise.
12990         [POSIX] (math.h): Likewise.
12991         [POSIX] (sys/wait.h): Likewise.
12992         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12993         function.
12994         [POSIX] (stddef.h): Do not allow header inclusion.
12996 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12998         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13000 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
13002         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13003         Return immediately after lll_futex_wake.
13005 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13007         [BZ #16791]
13008         * nscd/nscd-client.h (datahead_init_common): Initialize entire
13009         structure.
13010         (datahead_init_pos): Call datahead_init_common early.
13011         (datahead_init_neg): Likewise.
13013         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13014         datahead_init_neg): New functions.
13015         * nscd/aicache.c (addhstaiX): Use them.
13016         * nscd/grpcache.c (cache_addgr): Likewise.
13017         * nscd/hstcache.c (cache_addhst): Likewise.
13018         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13019         * nscd/netgroupcache.c (do_notfound): Likewise.
13020         (addgetnetgrentX): Likewise.
13021         (addinnetgrX): Likewise.
13022         * nscd/pwdcache.c (cache_addpw): Likewise.
13023         * nscd/servicescache.c (cache_addserv): Likewise.
13025 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13026             Atsushi Onoe  <atsushi@onoe.org>
13028         [BZ #14308]
13029         [BZ #12994]
13030         [BZ #13651]
13031         * resolv/res_query.c (__libc_res_nsearch): Return if at least
13032         one response is valid.
13033         * resolv/res_send.c (send_dg): Check for validity of other
13034         response if the current response is a referral.
13036 2014-04-29  Steve Ellcey  <sellcey@mips.com>
13038         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13040 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
13042         [BZ #16823]
13043         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13044         Always divide by positive zero when computing -Inf result.
13045         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13046         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13048 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13050         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13051         FPSCR if value do not change.
13052         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13053         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13054         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13055         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13056         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13057         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13058         function.
13060 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
13062         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13063         * sysdeps/unix/sysv/linux/hppa: Move directory from
13064         ports/systeps/unix/sysv/linux/hppa.
13065         * README: Update listing for hppa-*-linux-gnu.
13067 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
13069         [BZ #16754]
13070         * manual/stdio.texi (Hook functions): Fix types of stream hook
13071         functions.
13072         [BZ #16854]
13073         * socket/sys/socket.h: Fix typo in comment.
13075 2014-04-28  Wilco  <wdijkstr@arm.com>
13077         * sysdeps/arm/fenv_private.h: New file.
13078         * sysdeps/arm/math_private.h: New file.
13079         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13081 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
13083         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13084         with __int128_t.
13085         (La_x86_64_retval): Likewise.
13087 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
13089         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13090         fpsr if value didn't change.
13091         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13092         to fpcr if value didn't change.
13093         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13094         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13095         fpsr or fpcr if value didn't change.
13096         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13097         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13098         fpcr if value didn't change.
13099         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13100         to fpsr if value didn't change.
13102 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13104         * nptl/tst-sem3.c: Use test-skeleton.c
13105         (main): Rename to do_test.  Use return instead of
13106         exit.
13107         * nptl/tst-sem4.c: Use test-skeleton.c
13108         (main): Rename to do_test.
13110 2014-04-22  David S. Miller  <davem@davemloft.net>
13112         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13113         (struct sigaction): New struct member __glibc_reserved0, change
13114         type of sa_flags to int.
13116 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
13118         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13119         (COUNT_LEADING_ZEROS_0): Define for AArch64.
13121 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13123         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13124         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13126 2014-04-22  Will Newton  <will.newton@linaro.org>
13127             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
13129         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13130         (__longjmp): Add longjmp and longjmp_target SystemTap
13131         probes.
13132         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13133         (__sigsetjmp): Add setjmp SystemTap probe.
13135 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
13137         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13138         match manual order.
13140 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13142         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13144         * sysdeps/powerpc/fpu/fenv_private.h
13145         (libc_feholdexcept_setroundl_ctx): Define to
13146         libc_feholdexcept_setround_ppc_ctx.
13147         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13148         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13149         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13150         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13152 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13154         * sysdeps/aarch64/math-tests.h: New file.
13156 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
13158         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13159         New.
13160         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13161         Check and set bit_AVX2_Usable.
13162         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13163         macro.
13164         (bit_AVX2): Likewise.
13165         (index_AVX2_Usable): Likewise.
13166         (CPUID_AVX2): Likewise.
13167         (HAS_AVX2): Likewise.
13169 2014-04-17  Will Newton  <will.newton@linaro.org>
13171         * manual/setjmp.texi (System V contexts): Add note that
13172         calling setcontext on a context created by a call to a
13173         signal handler is undefined.  Update text to note that
13174         setcontext from a signal handler is possible but not
13175         recommended.
13177         [BZ #16629]
13178         * stdlib/tst-setcontext.c: Include signal.h.
13179         (main): Check that the signal stack before and
13180         after swapcontext is the same.
13182         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13183         Re-implement to restore registers in user code and avoid
13184         rt_sigreturn system call.
13186 2014-04-17  Wilco  <wdijkstr@arm.com>
13188         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13189         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13190         * math/test-fenv.c: Skip exception trap tests on targets which only
13191         support non-stop mode.
13193 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13194             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13196         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13197         (libc_feholdsetround_aarch64_ctx)
13198         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13199         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13200         (libc_feresetround_ctx, libc_feresetroundf_ctx)
13201         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13202         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13203         (libc_feresetround_noexl_ctx): Define.
13205 2014-04-16  Richard Henderson  <rth@redhat.com>
13207         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13209         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13210         unwind tables.
13212         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13213         const from the non-libc, non-ldso copy.
13215         * sysdeps/alpha/libm-test-ulps: Regenerate.
13217 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
13218             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13220         * sysdeps/aarch64/fpu/math_private.h: New file.
13222 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13224         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13226 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
13228         [BZ #16275]
13229         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13230         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13231         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13232         Intel MPX bound registers before _dl_profile_fixup.
13233         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13234         registers after _dl_profile_fixup.  Save and restore bound
13235         registers bnd0/bnd1 when calling _dl_call_pltexit.
13236         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13237         (LR_BND_OFFSET): Likewise.
13238         (LRV_BND0_OFFSET): Likewise.
13239         (LRV_BND1_OFFSET): Likewise.
13241 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13243         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13244         to...
13245         * sysdeps/mach/hurd/i386/tls.h: ... here.
13246         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13247         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13248         fields.
13250 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13252         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13254 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13256         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13258 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13260         [BZ #14770]
13261         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13262         * sysdeps/s390/configure: Regenerate.
13264         [BZ #16824]
13265         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13266         Set round-to-nearest internally to reduce error accumulation.
13268 2014-04-16  Alan Modra  <amodra@gmail.com>
13270         [BZ #16740]
13271         [BZ #16619]
13272         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13273         * math/libm-test.inc (frexp_test_data): Add tests.
13274         * NEWS: Update fixed bug list.
13276 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13278         * benchtests/Makefile: Depend on libraries in build directory.
13279         (bench-math): Separate out math tests.
13280         (bench-pthread): Separate out pthread tests.
13281         (bench): Include math and pthread tests.
13283 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
13285         [BZ #16831]
13286         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13287         _dl_debug_initialize.
13289         * configure.ac: Remove SELinux header check.
13290         * configure: Regenerate.
13291         * nscd/selinux.c (perms): Array of const char* to permission names.
13292         (nscd_request_avc_has_perm): Call security_deny_unknown to find
13293         default policy. Call string_to_security_class and string_to_av_perm to
13294         translate strings. Enforce default policy and call avs_has_perm with
13295         results of translated strings.
13297 2014-04-13  David S. Miller  <davem@davemloft.net>
13299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13301 2014-04-12  Allan McRae  <allan@archlinux.org>
13303         [BZ #16838]
13304         * manual/string.texi (Collation Functions): Fix qsort argument
13305         order in example.
13306         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13308 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
13310         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13311         Make the test a no-op if there are no exceptions defined.
13313 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13315         * elf/Makefile (tests): make tst-dlopen-aout conditional on
13316         enable-hardcoded-path-in-tests
13318 2014-04-11  Will Newton  <will.newton@linaro.org>
13320         * benchtests/Makefile (extra-objs): Add json-lib.o.
13321         (bench-func): Tidy up JSON output.
13322         * benchtests/bench-skeleton.c: Include json-lib.h.
13323         (main): Use JSON library functions to do output of
13324         benchmark results.
13325         * benchtests/bench-timing-type.c (main): Output the
13326         timing type simply, leaving formatting to the user.
13327         * benchtests/json-lib.c: New file.
13328         * benchtests/json-lib.h: Likewise.
13330 2014-04-11  Torvald Riegel  <triegel@redhat.com>
13332         [BZ #15215]
13333         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13334         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
13335         memory barriers.  Add comments.
13336         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13337         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13338         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13339         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13340         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13341         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13343 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13345         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13346         * sysdeps/s390/s390-64/configure.ac: ... this ...
13347         * sysdeps/s390/configure.ac: ... to here.
13348         * sysdeps/s390/s390-32/configure: Delete file.
13349         * sysdeps/s390/s390-64/configure: Delete file.
13350         * sysdeps/s390/configure: Regenerate.
13352 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
13354         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13356 2014-04-11  Will Newton  <will.newton@linaro.org>
13358         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13359         to zero if it is not defined elsewhere.  (mtrim): Test
13360         the value of MALLOC_DEBUG with #if rather than #ifdef.
13362 2014-04-10 Torvald Riegel  <triegel@redhat.com>
13364         * benchtests/pthread_once-inputs: New file.
13365         * benchtests/pthread_once-source.c: New file.
13366         * benchtests/README: Update documentation.
13368 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13369             H.J. Lu  <hongjiu.lu@intel.com>
13371         [BZ #16275]
13372         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13373         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13374         * sysdeps/x86_64/configure: Regenerated.
13375         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13376         macro.
13377         (REGISTER_SAVE_RAX): Likewise.
13378         (REGISTER_SAVE_RCX): Likewise.
13379         (REGISTER_SAVE_RDX): Likewise.
13380         (REGISTER_SAVE_RSI): Likewise.
13381         (REGISTER_SAVE_RDI): Likewise.
13382         (REGISTER_SAVE_R8): Likewise.
13383         (REGISTER_SAVE_R9): Likewise.
13384         (REGISTER_SAVE_BND0): Likewise.
13385         (REGISTER_SAVE_BND1): Likewise.
13386         (REGISTER_SAVE_BND2): Likewise.
13387         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
13388         bound registers when calling _dl_fixup.
13390 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13392         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13393         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13394         of its definition.
13395         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13396         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13397         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13398         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13399         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13400         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13401         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13403 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
13405         [BZ #15514]
13406         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13407         pathconf(_PC_NAME_MAX).
13409 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13411         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13412         Remove macro usage.
13413         (__PTHREAD_SPINS): Move definition to ...
13414         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13415         (__PTHREAD_SPINS): ... here.
13416         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13417         (__PTHREAD_SPIN): Likewise.
13418         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13419         (__PTHREAD_SPIN): Likewise.
13420         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13421         (__PTHREAD_SPIN): Likewise.
13422         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13423         (__PTHREAD_SPIN): Likewise.
13424         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13425         (__PTHREAD_SPIN): Likewise.
13426         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13427         (__PTHREAD_SPIN): Likewise.
13428         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13429         (__PTHREAD_SPIN): Likewise.
13430         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13431         (__PTHREAD_SPIN): Likewise.
13432         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13433         (__PTHREAD_SPIN): Likewise.
13434         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13435         (__PTHREAD_SPIN): Likewise.
13436         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13437         (__PTHREAD_SPIN): Likewise.
13438         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13439         (__PTHREAD_SPIN): Likewise.
13441         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13442         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13443         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13444         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13445         imply folder.
13446         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13447         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13448         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13449         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13450         correct imply path.
13451         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13452         strlen symbol for non multi-arch builds.
13453         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13454         missing hidden_def and weak_alias.
13456 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
13458         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13460 2014-04-07  Will Newton  <will.newton@linaro.org>
13462         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13463         and contents.  [!_LIBC] Remove #ifndef and contents.
13464         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
13465         * string/memccpy.c (__memccpy): Use ANSI prototype.
13466         * string/memfrob.c (memfrob): Likewise.
13467         * string/strcoll.c (STRCOLL): Likewise.
13468         * string/strlen.c (strlen): Likewise.
13469         * string/strtok.c (STRTOK): Likewise.
13470         * string/strcat.c: Remove unused #include of memcopy.h.
13471         (strcat): Use ANSI prototype.
13472         * string/strchr.c: Remove unused #include of memcopy.h.
13473         (strchr): Use ANSI prototype.
13474         * string/strcmp.c: Remove unused #include of memcopy.h.
13475         (strcmp): Use ANSI prototype.
13476         * string/strcpy.c: Remove unused #include of memcopy.h.
13477         (strcpy): Use ANSI prototype.
13479 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13481         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13482         * config.make.in (config-extra-cppflags): Set it from
13483         libc_extra_cppflags.
13484         * configure.ac (libc_extra_cflags): Make it accumulate over
13485         configure fragments.
13486         (libc_extra_cppflags): New flag.
13487         * configure. Regenerate.
13488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13489         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13490         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13493         [BZ #16815]
13494         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13495         result for FE_DOWNWARD rounding mode.
13496         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13497         Likewise.
13498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13500 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
13502         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13503         in function argument name.
13505 2014-04-03  David Svoboda  <svoboda@cert.org>
13507         [BZ #5666]
13508         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13509         explicitly.
13511 2014-04-03  Roland McGrath  <roland@hack.frob.com>
13513         * elf/dl-unmap-segments.h: New file.
13514         * sysdeps/generic/ldsodefs.h
13515         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13516         * elf/dl-close.c: Include <dl-unmap-segments.h>.
13517         * elf/dl-fptr.c: Likewise.
13518         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13519         * sysdeps/aarch64/tlsdesc.c: Likewise.
13520         * sysdeps/arm/tlsdesc.c: Likewise.
13521         * sysdeps/i386/tlsdesc.c: Likewise.
13522         * sysdeps/tile/dl-runtime.c: Likewise.
13523         * sysdeps/x86_64/tlsdesc.c: Likewise.
13524         * elf/dl-load.h: New file.
13525         * elf/dl-load.c: Include it.
13526         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13527         Macros moved to dl-load.h.
13528         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13529         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13530         Use _dl_unmap_segments in place of __munmap.
13531         Break out segment-mapping loop into ...
13532         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13534 2014-04-03  Will Newton  <will.newton@linaro.org>
13536         * elf/dl-lookup.c (do_lookup_x): Remove comment
13537         referring to nested function and move variable
13538         declarations down to before first use.
13540 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
13542         [BZ #16799]
13543         [BZ #16800]
13544         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13545         with 0 numerator.
13546         * math/s_catanf.c (__catanf): Likewise.
13547         * math/s_catanh.c (__catanh): Likewise.
13548         * math/s_catanhf.c (__catanhf): Likewise.
13549         * math/s_catanhl.c (__catanhl): Likewise.
13550         * math/s_catanl.c (__catanl): Likewise.
13551         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13552         by positive zero when computing -Inf result.
13553         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13554         (catanh_test): Likewise.
13555         * sysdeps/i386/fpu/libm-test-ulps: Update.
13556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13558         [BZ #16789]
13559         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13560         instead of using underflowing value in computing result.
13561         * math/s_clog10.c (__clog10): Likewise.
13562         * math/s_clog10f.c (__clog10f): Likewise.
13563         * math/s_clog10l.c (__clog10l): Likewise.
13564         * math/s_clogf.c (__clogf): Likewise.
13565         * math/s_clogl.c (__clogl): Likewise.
13566         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13567         (clog10_test): Likewise.
13568         * sysdeps/i386/fpu/libm-test-ulps: Update.
13569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13571 2014-04-02  Alan Modra  <amodra@gmail.com>
13573         [BZ #16739]
13574         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13575         output when value is near a power of two.  Use int64_t for lx and
13576         remove casts.  Use decimal rather than hex exponent constants.
13577         Don't use long double multiplication when double will suffice.
13578         * math/libm-test.inc (nextafter_test_data): Add tests.
13579         * NEWS: Add 16739 and 16786 to bug list.
13581         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13583         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13585 2014-04-01  Will Newton  <will.newton@linaro.org>
13587         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13588         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
13590 2014-04-01  Florian Weimer  <fweimer@redhat.com>
13592         [BZ #13347]
13593         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13594         * nptl/tst-setuid2.c: New file.
13595         * nptl/Makefile (xtests): Add tst-setuid2.
13597 2014-04-01  Alan Modra  <amodra@gmail.com>
13599         [BZ #16786]
13600         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13602 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13604         [BZ #6803]
13605         [BZ #6804]
13606         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13607         set errno as appropriate.
13608         * math/w_scalbf.c (__scalbf): Likewise.
13609         * math/w_scalbl.c (__scalbl): Likewise.
13610         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13611         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13612         * math/libm-test.inc (scalb_test_data): Add errno expectations.
13613         Add more NaN tests.
13615         [BZ #16349]
13616         * math/w_atan2.c: Include <errno.h>.
13617         (__atan2): Set errno for result underflowing to zero.
13618         * math/w_atan2f.c: Include <errno.h>.
13619         (__atan2f): Set errno for result underflowing to zero.
13620         * math/w_atan2l.c: Include <errno.h>.
13621         (__atan2l): Set errno for result underflowing to zero.
13622         * math/auto-libm-test-in: Don't allow missing errno for some atan2
13623         tests.
13624         * math/auto-libm-test-out: Regenerated.
13626 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13628         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13629         Encode instruction correctly in little endian.
13630         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13631         Likewise.
13632         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13633         Likewise.
13634         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13635         Likewise.
13636         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13637         Likewise.
13639 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13641         [BZ #9894]
13642         * sysdeps/unix/sysv/linux/kernel-features.h
13643         [__sparc__ && !__arch64__ && !__sparc_v9__]
13644         (__ASSUME_SET_ROBUST_LIST): Do not define.
13645         [__sparc__ && !__arch64__ && !__sparc_v9__]
13646         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13647         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13648         Likewise.
13649         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13650         (__ASSUME_FUTEX_LOCK_PI): Undefine.
13651         (__ASSUME_REQUEUE_PI): Likewise.
13652         (__ASSUME_SET_ROBUST_LIST): Likewise.
13653         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13654         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13655         Undefine.
13656         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13657         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13658         Likewise.
13659         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13660         Likewise.
13661         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13662         Likewise.
13663         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13664         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13665         Undefine.
13666         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13667         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13668         Likewise.
13670         [BZ #16648]
13671         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13672         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13673         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13675 2014-03-31  Will Newton  <will.newton@linaro.org>
13677         * benchtests/Makefile (bench): Add ffs and ffsll to list
13678         of tests.
13679         * benchtests/ffs-inputs: New file.
13680         * benchtests/ffsll-inputs: Likewise.
13682 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
13684         [BZ #16770]
13685         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13686         too large before casting to int.
13687         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13688         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13689         * math/libm-test.inc (scalb_test_data): Add more tests.
13691 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13693         * benchtests/Makefile (DETAILED_OPT): New make option.
13694         (bench-func): Run benchmark program with -d if DETAILED_OPT is
13695         set.
13696         * benchtests/bench-skeleton.c: Include stdbool.h.
13697         (main): Store and print timings per input.
13698         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13699         member to each argument value.
13700         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13701         (_print_arg_data): Initialize per-input timing to 0.
13703         * benchtests/Makefile (timing-type): New binary.
13704         (bench-clean): Also remove bench-timing-type.
13705         (bench): New target for timing-type.
13706         (bench-func): Print output in JSON format.
13707         * benchtests/bench-skeleton.c (main): Print output in JSON
13708         format.
13709         * benchtests/bench-timing-type.c: New file.
13710         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13711         (TIMING_PRINT_STATS): Remove.
13712         * benchtests/scripts/bench.py (_print_arg_data): Store variant
13713         name separately.
13715         * benchtests/bench-modf.c: Remove.
13716         * benchtests/modf-inputs: New inputs file.
13718 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
13720         [BZ #16362]
13721         * math/s_clog10.c (M_PI_LOG10E): New macro.
13722         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13723         imaginary parts are 0.
13724         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13725         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13726         imaginary parts are 0.
13727         * math/s_clog10l.c (M_PI_LOG10El): New macro.
13728         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13729         imaginary parts are 0.
13730         * math/libm-test.inc (clog10_test_data): Update expected results
13731         for when real and imaginary parts are 0.
13733 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
13735         * elf/dl-load.c: Finish conversion of __builtin_expect into
13736         __glibc_{un}likely.
13738 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
13740         [BZ #16348]
13741         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13742         1+x for argument with exponent below -67.
13743         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13744         Likewise.
13745         * math/auto-libm-test-in: Add more tests of exp.
13746         * math/auto-libm-test-out: Regenerated.
13748 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13750         [BZ #16759]
13751         * inet/getnetgrent_r.c (get_nonempty_val): New function.
13752         (nscd_getnetgrent): Use it.
13754         [BZ #16760]
13755         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13756         of stpcpy.
13758 2014-03-27  Andi Kleen  <ak@linux.intel.com>
13760         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13761         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13762         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13763         (lll_robust_unlock): Remove out of line section. Use cfi
13764         intrinsics.
13765         (LLL_STUB_UNWIND_INFO*): Remove.
13766         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13767         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13768         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13769         (lll_robust_unlock): Remove out of line section. Use cfi
13770         intrinsics.
13771         (LLL_STUB_UNWIND_INFO*): Remove.
13773 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13775         [BZ #16758]
13776         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13777         blank values.
13779 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13781         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13783 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
13785         [BZ #16198]
13786         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13787         fnstenv.
13788         * math/test-fenv-preserve.c: New file.
13789         * math/Makefile (tests): Add test-fenv-preserve.
13791 2014-03-26  Will Newton <will.newton@linaro.org>
13793         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13795 2014-03-25  Roland McGrath  <roland@hack.frob.com>
13797         * scripts/versionlist.awk: Partition the version sets and emit all
13798         GLIBC_* (sorted) before all others (sorted).
13800 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13802         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13803         GLIBC_2.2.5 version.
13805 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13807         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13808         calls.
13810         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13811         previous change.
13813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13815 2014-03-25  Andreas Schwab  <schwab@suse.de>
13817         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13818         label to be used after in6ailist is initialized.
13820 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13822         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13823         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13825 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13827         [BZ #16357]
13828         [BZ #16599]
13829         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13830         min_plus_half.
13831         (fp_formats): Update initializers.
13832         (init_fp_formats): Initialize new field.
13833         (output_for_one_input_case): Allow underflow for results up to
13834         min_plus_half.
13835         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13836         * math/auto-libm-test-in: Don't mark some underflows from asin and
13837         atanh as spurious.
13838         * math/auto-libm-test-out: Regenerated.
13839         * sysdeps/i386/fpu/libm-test-ulps: Update.
13840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13842 2014-03-25  Andreas Schwab  <schwab@suse.de>
13844         * libio/Makefile (tst-ftell-partial-wide-ENV)
13845         (tst-ftell-active-handler-ENV): Define.
13847 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
13849         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13851 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13853         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13855 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
13857         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13858         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13859         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13861 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13863         [BZ #16634]
13864         * elf/dl-load.c (open_verify): Add mode parameter.
13865         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13866         (open_path): Change from boolean 'secure' to complete flag 'mode'
13867         (_dl_map_object): Adjust.
13868         * elf/Makefile (tests): Add tst-dlopen-aout.
13869         * elf/tst-dlopen-aout.c: New test.
13871 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
13873         [BZ #16714]
13874         * sysdeps/unix/sysv/linux/s390/bits/stat.h
13875         (struct stat): Rename member pad0 to __glibc_reserved0.
13877         [BZ #16712]
13878         * sysdeps/s390/s390-32/bits/wordsize.h
13879         (__WORDSIZE32_SIZE_ULONG): New define.
13880         * sysdeps/s390/s390-64/bits/wordsize.h
13881         (__WORDSIZE32_SIZE_ULONG): Likewise.
13882         * sysdeps/generic/stdint.h (SIZE_MAX):
13883         Define as UL if __WORDSIZE32_SIZE_ULONG.
13885         [BZ #16713]
13886         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13887         (__glibc_reserved0): New variable.
13888         (sa_flags): Change type to int.
13890         * posix/Makefile (before-compile): Use += before-compile instead
13891         of a :=.
13893         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13894         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13896 2014-03-20  Andreas Schwab  <schwab@suse.de>
13898         [BZ #16743]
13899         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13900         non-matching result from nscd.
13902 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13904         * scripts/bench.py: Moved to ...
13905         * benchtests/scripts/bench.py: ... here.
13906         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13908 2014-03-24  Andreas Schwab  <schwab@suse.de>
13910         [BZ #16002]
13911         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13912         alloca_account and account alloca use for struct in6ailist.
13914 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
13916         [BZ #16284]
13917         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13918         rounding mode to recompute results that overflow to infinity or
13919         underflow to zero.
13920         * math/auto-libm-test-in: Don't mark tests as expected to fail for
13921         bug 16284.
13922         * math/auto-libm-test-out: Regenerated.
13923         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13924         (ccosh_test): Likewise.
13925         (csin_test_data): Use plus_oflow.
13926         (csin_test): Use ALL_RM_TEST.
13927         (csinh_test_data): Use plus_oflow.
13928         (csinh_test): Use ALL_RM_TEST.
13929         * sysdeps/i386/fpu/libm-test-ulps: Update.
13930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13932 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
13934         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13935         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13936         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13938         [BZ #16731]
13939         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13940         when x - 1 is zero.
13941         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13942         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13943         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13944         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13945         argument is 1.
13946         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13947         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13948         zero.
13949         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13950         * sysdeps/i386/fpu/libm-test-ulps: Update.
13951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13953 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13955         * scripts/bench.pl: Remove file.
13956         * scripts/bench.py: New benchmark script.
13957         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13958         * benchtests/README: Mention python dependency.
13959         * scripts/pylintrc: New file.
13960         * scripts/pylint: New file.
13962         * bits/mathdef.h: Use #ifdef instead of #if.
13963         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13964         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13965         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13966         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13967         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13968         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13970 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13971             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13973         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13975         and strpbrk-ppc64 objects.
13976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13977         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13978         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13979         multiarch strpbrk for POWER7.
13980         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13981         multiarch strpbrk for PPC64.
13982         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13983         ifunc selector.
13984         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13985         strpbrk for POWER7.
13987 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
13989         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13990         (atan_test): Likewise.
13991         (atanh_test_data): Use NO_TEST_INLINE for two tests.
13992         (atanh_test): Use ALL_RM_TEST.
13993         (atan2_test_data): Likewise.
13994         (cabs_test): Likewise.
13995         (cacosh_test): Likewise.
13996         (carg_test): Likewise.
13997         (casin_test): Likewise.
13998         (casinh_test): Likewise.
13999         (cbrt_test): Likewise.
14000         (csqrt_test): Likewise.
14001         (erf_test): Likewise.
14002         (erfc_test): Likewise.
14003         (pow10_test): Likewise.
14004         (exp2_test): Likewise.
14005         (hypot_test): Likewise.
14006         (j0_test): Likewise.
14007         (j1_test): Likewise.
14008         (lgamma_test): Likewise.
14009         (gamma_test): Likewise.
14010         (sincos_test): Likewise.
14011         (tanh_test): Likewise.
14012         (y0_test): Likewise.
14013         (y1_test): Likewise.
14014         * sysdeps/i386/fpu/libm-test-ulps: Update.
14015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14017 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14019         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14020         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14021         and strcspn-ppc64 objects.
14022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14023         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14024         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14025         multiarch strcspn for POWER7.
14026         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14027         multiarch strcspn for PPC64.
14028         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14029         ifunc selector.
14030         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14031         strcspn for POWER7.
14033 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14035         * math/gen-libm-test.pl (generate_testfile): Expect only function
14036         name as argument to AUTO_TESTS_* and pass results for all rounding
14037         modes to parse_args.
14038         (parse_auto_input): Separate inputs of automatic tests from
14039         outputs before storing in %auto_tests.
14040         * math/libm-test.inc (acos_test_data): Update call to
14041         AUTO_TESTS_f_f.
14042         (acos_test): Use ALL_RM_TEST.
14043         (acos_tonearest_test_data): Remove.
14044         (acos_test_tonearest): Likewise.
14045         (acos_towardzero_test_data): Likewise.
14046         (acos_test_towardzero): Likewise.
14047         (acos_downward_test_data): Likewise.
14048         (acos_test_downward): Likewise.
14049         (acos_upward_test_data): Likewise.
14050         (acos_test_upward): Likewise.
14051         (acosh_test_data): Update call to AUTO_TESTS_f_f.
14052         (asin_test_data): Likewise.
14053         (asin_test): Use ALL_RM_TEST.
14054         (asin_tonearest_test_data): Remove.
14055         (asin_test_tonearest): Likewise.
14056         (asin_towardzero_test_data): Likewise.
14057         (asin_test_towardzero): Likewise.
14058         (asin_downward_test_data): Likewise.
14059         (asin_test_downward): Likewise.
14060         (asin_upward_test_data): Likewise.
14061         (asin_test_upward): Likewise.
14062         (asinh_test_data): Update call to AUTO_TESTS_f_f.
14063         (atan_test_data): Likewise.
14064         (atanh_test_data): Likewise.
14065         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14066         (cabs_test_data): Update call to AUTO_TESTS_c_f.
14067         (carg_test_data): Likewise.
14068         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14069         (ccos_test_data): Update call to AUTO_TESTS_c_c.
14070         (ccosh_test_data): Likewise.
14071         (cexp_test_data): Likewise.
14072         (clog_test_data): Likewise.
14073         (clog10_test_data): Likewise.
14074         (cos_test_data): Update call to AUTO_TESTS_f_f.
14075         (cos_test): Use ALL_RM_TEST.
14076         (cos_tonearest_test_data): Remove.
14077         (cos_test_tonearest): Likewise.
14078         (cos_towardzero_test_data): Likewise.
14079         (cos_test_towardzero): Likewise.
14080         (cos_downward_test_data): Likewise.
14081         (cos_test_downward): Likewise.
14082         (cos_upward_test_data): Likewise.
14083         (cos_test_upward): Likewise.
14084         (cosh_test_data): Update call to AUTO_TESTS_f_f.
14085         (cosh_test): Use ALL_RM_TEST.
14086         (cosh_tonearest_test_data): Remove.
14087         (cosh_test_tonearest): Likewise.
14088         (cosh_towardzero_test_data): Likewise.
14089         (cosh_test_towardzero): Likewise.
14090         (cosh_downward_test_data): Likewise.
14091         (cosh_test_downward): Likewise.
14092         (cosh_upward_test_data): Likewise.
14093         (cosh_test_upward): Likewise.
14094         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14095         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14096         (ctan_test_data): Likewise.
14097         (ctan_test): Use ALL_RM_TEST.
14098         (ctan_tonearest_test_data): Remove.
14099         (ctan_test_tonearest): Likewise.
14100         (ctan_towardzero_test_data): Likewise.
14101         (ctan_test_towardzero): Likewise.
14102         (ctan_downward_test_data): Likewise.
14103         (ctan_test_downward): Likewise.
14104         (ctan_upward_test_data): Likewise.
14105         (ctan_test_upward): Likewise.
14106         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14107         (ctanh_test): Use ALL_RM_TEST.
14108         (ctanh_tonearest_test_data): Remove.
14109         (ctanh_test_tonearest): Likewise.
14110         (ctanh_towardzero_test_data): Likewise.
14111         (ctanh_test_towardzero): Likewise.
14112         (ctanh_downward_test_data): Likewise.
14113         (ctanh_test_downward): Likewise.
14114         (ctanh_upward_test_data): Likewise.
14115         (ctanh_test_upward): Likewise.
14116         (erf_test_data): Update call to AUTO_TESTS_f_f.
14117         (erfc_test_data): Likewise.
14118         (exp_test_data): Likewise.
14119         (exp_test): Use ALL_RM_TEST.
14120         (exp_tonearest_test_data): Remove.
14121         (exp_test_tonearest): Likewise.
14122         (exp_towardzero_test_data): Likewise.
14123         (exp_test_towardzero): Likewise.
14124         (exp_downward_test_data): Likewise.
14125         (exp_test_downward): Likewise.
14126         (exp_upward_test_data): Likewise.
14127         (exp_test_upward): Likewise.
14128         (exp10_test_data): Update call to AUTO_TESTS_f_f.
14129         (exp10_test): Use ALL_RM_TEST.
14130         (exp10_tonearest_test_data): Remove.
14131         (exp10_test_tonearest): Likewise.
14132         (exp10_towardzero_test_data): Likewise.
14133         (exp10_test_towardzero): Likewise.
14134         (exp10_downward_test_data): Likewise.
14135         (exp10_test_downward): Likewise.
14136         (exp10_upward_test_data): Likewise.
14137         (exp10_test_upward): Likewise.
14138         (exp2_test_data): Update call to AUTO_TESTS_f_f.
14139         (expm1_test_data): Likewise.
14140         (expm1_test): Use ALL_RM_TEST.
14141         (expm1_tonearest_test_data): Remove.
14142         (expm1_test_tonearest): Likewise.
14143         (expm1_towardzero_test_data): Likewise.
14144         (expm1_test_towardzero): Likewise.
14145         (expm1_downward_test_data): Likewise.
14146         (expm1_test_downward): Likewise.
14147         (expm1_upward_test_data): Likewise.
14148         (expm1_test_upward): Likewise.
14149         (fma_test_data): Update call to AUTO_TESTS_fff_f.
14150         (fma_test): Use ALL_RM_TEST.
14151         (fma_towardzero_test_data): Remove.
14152         (fma_test_towardzero): Likewise.
14153         (fma_downward_test_data): Likewise.
14154         (fma_test_downward): Likewise.
14155         (fma_upward_test_data): Likewise.
14156         (fma_test_upward): Likewise.
14157         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14158         (j0_test_data): Update call to AUTO_TESTS_f_f.
14159         (j1_test_data): Likewise.
14160         (jn_test_data): Update call to AUTO_TESTS_if_f.
14161         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14162         (log_test_data): Update call to AUTO_TESTS_f_f.
14163         (log10_test_data): Likewise.
14164         (log1p_test_data): Likewise.
14165         (log2_test_data): Likewise.
14166         (pow_test_data): Update call to AUTO_TESTS_ff_f.
14167         (pow_tonearest_test_data): Likewise.
14168         (sin_test_data): Update call to AUTO_TESTS_f_f.
14169         (sin_test): Use ALL_RM_TEST.
14170         (sin_tonearest_test_data): Remove.
14171         (sin_test_tonearest): Likewise.
14172         (sin_towardzero_test_data): Likewise.
14173         (sin_test_towardzero): Likewise.
14174         (sin_downward_test_data): Likewise.
14175         (sin_test_downward): Likewise.
14176         (sin_upward_test_data): Likewise.
14177         (sin_test_upward): Likewise.
14178         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14179         (sinh_test_data): Update call to AUTO_TESTS_f_f.
14180         (sinh_test): Use ALL_RM_TEST.
14181         (sinh_tonearest_test_data): Remove.
14182         (sinh_test_tonearest): Likewise.
14183         (sinh_towardzero_test_data): Likewise.
14184         (sinh_test_towardzero): Likewise.
14185         (sinh_downward_test_data): Likewise.
14186         (sinh_test_downward): Likewise.
14187         (sinh_upward_test_data): Likewise.
14188         (sinh_test_upward): Likewise.
14189         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14190         (sqrt_test): Use ALL_RM_TEST.
14191         (sqrt_tonearest_test_data): Remove.
14192         (sqrt_test_tonearest): Likewise.
14193         (sqrt_towardzero_test_data): Likewise.
14194         (sqrt_test_towardzero): Likewise.
14195         (sqrt_downward_test_data): Likewise.
14196         (sqrt_test_downward): Likewise.
14197         (sqrt_upward_test_data): Likewise.
14198         (sqrt_test_upward): Likewise.
14199         (tan_test_data): Update call to AUTO_TESTS_f_f.
14200         (tan_test): Use ALL_RM_TEST.
14201         (tan_tonearest_test_data): Remove.
14202         (tan_test_tonearest): Likewise.
14203         (tan_towardzero_test_data): Likewise.
14204         (tan_test_towardzero): Likewise.
14205         (tan_downward_test_data): Likewise.
14206         (tan_test_downward): Likewise.
14207         (tan_upward_test_data): Likewise.
14208         (tan_test_upward): Likewise.
14209         (tanh_test_data): Update call to AUTO_TESTS_f_f.
14210         (tgamma_test_data): Likewise.
14211         (y0_test_data): Likewise.
14212         (y1_test_data): Likewise.
14213         (yn_test_data): Update call to AUTO_TESTS_if_f.
14214         (main): Do not call removed functions.
14216 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14218         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14219         (ldexp_test_data): Remove.
14220         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
14221         scalbn_test_data.
14222         (scalb_test): Use ALL_RM_TEST.
14224 2014-03-19  Andreas Schwab  <schwab@suse.de>
14226         * nscd/nscd.service: Also invalidate netgroup cache on reload.
14228 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14230         [BZ #16649]
14231         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14232         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14233         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14234         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14235         (__ASSUME_PREADV): Undefine.
14236         (__ASSUME_PWRITEV): Likewise.
14238 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14240         * bits/mman-linux.h: Add comment about non-Linux use.
14241         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14242         bits/mman-linux.h resting place.
14244         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14245         * bits/mman-linux.h: ... here.
14247 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14249         * conform/conformtest.pl: Add standard definition when calling C
14250         preprocessor on data files.
14251         (checknamespace): Remove unused variable.
14253 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14255         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14256         minus_oflow, plus_uflow and minus_uflow in expected results.
14257         * math/libm-test.inc (scalbn_test_data): Add more tests of
14258         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
14259         minus_uflow.
14260         (scalbn_test): Use ALL_RM_TEST.
14261         (scalbln_test_data): Add more tests of negative arguments.  Use
14262         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14263         (scalbln_test): Use ALL_RM_TEST.
14265 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14267         * scripts/abilist.awk: Ignore symbols marked with .hidden.
14269 2014-03-18  Will Newton  <will.newton@linaro.org>
14271         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14272         inaccurate comment.
14274 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14276         * Makerules [!subdir] (check-abi): Exit with error status if a
14277         test failed.
14279 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14281         * math/libm-test.inc (nearbyint_test_data): Include all tests used
14282         for rint.  Include results for all rounding modes.
14283         (nearbyint_test): Use ALL_RM_TEST.
14284         (rint_test_data): Include all tests used for nearbyint.
14286 2014-03-17  Will Newton  <will.newton@linaro.org>
14288         * nptl/sysdeps/pthread/pthread.h: Revert previous
14289         change.
14291         * sysdeps/generic/ldsodefs.h: Revert previous
14292         change.
14294         * libio/genops.c: Revert previous change.
14295         * libio/libioP.h: Likewise.
14296         * stdio-common/vfprintf.c: Likewise.
14298         * sysdeps/generic/math_private.h: Revert previous
14299         change.
14301         * sysdeps/generic/math_private.h: Check whether
14302         HAVE_RM_CTX is defined with #ifdef rather
14303         than #if.
14305         * argp/argp-fmtstream.h: Check whether
14306         __STRICT_ANSI__ is defined with #ifdef rather
14307         than #if.
14308         * argp/argp.h: Likewise.
14310         * libio/genops.c: Check whether
14311         _IO_JUMPS_OFFSET is defined with #ifdef rather
14312         than #if.
14313         * libio/libioP.h: Likewise.
14314         * stdio-common/vfprintf.c: Likewise.
14316         * sysdeps/generic/ldsodefs.h: Check whether
14317         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14318         than #if.
14320         * nptl/sysdeps/pthread/pthread.h: Check
14321         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14322         its value.
14324 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14326         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14327         setting O_APPEND.
14328         * libio/tst-ftell-active-handler.c (do_append_test): Add a
14329         test case.
14331         [BZ #16680]
14332         * libio/fileops.c (_IO_file_open): Seek to end of file but
14333         don't cache the offset.
14334         (get_file_offset): Remove function.
14335         (do_ftell): Use cached offset when available.
14336         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14337         don't cache the offset.
14338         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14339         case.
14340         (do_one_test): Call it.
14341         (do_ftell_test): Fix up expected old offset for a+ mode.
14342         * libio/wfileops.c (do_ftell_wide): Used cached offset when
14343         available.
14345         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14346         up test status with function return status.
14347         (do_write_test): Likewise.
14348         (do_append_test): Likewise.
14350         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14351         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14352         Remove.
14354 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14356         * math/gen-libm-test.pl (parse_args): Handle results specified for
14357         each rounding mode separately.
14358         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14359         tests and results from lrint_tonearest_test_data,
14360         lrint_towardzero_test_data, lrint_downward_test_data and
14361         lrint_upward_test_data.
14362         (lrint_test): Use ALL_RM_TEST.
14363         (lrint_tonearest_test_data): Remove.
14364         (lrint_test_tonearest): Likewise.
14365         (lrint_towardzero_test_data): Likewise.
14366         (lrint_test_towardzero): Likewise.
14367         (lrint_downward_test_data): Likewise.
14368         (lrint_test_downward): Likewise.
14369         (lrint_upward_test_data): Likewise.
14370         (lrint_test_upward): Likewise.
14371         (llrint_test_data): Merge in per-rounding-mode tests and results
14372         from llrint_tonearest_test_data, llrint_towardzero_test_data,
14373         llrint_downward_test_data and llrint_upward_test_data.
14374         (llrint_test): Use ALL_RM_TEST.
14375         (llrint_tonearest_test_data): Remove.
14376         (llrint_test_tonearest): Likewise.
14377         (llrint_towardzero_test_data): Likewise.
14378         (llrint_test_towardzero): Likewise.
14379         (llrint_downward_test_data): Likewise.
14380         (llrint_test_downward): Likewise.
14381         (llrint_upward_test_data): Likewise.
14382         (llrint_test_upward): Likewise.
14383         (rint_test_data): Merge in per-rounding-mode tests and results
14384         from rint_tonearest_test_data, rint_towardzero_test_data,
14385         rint_downward_test_data and rint_upward_test_data.  Add
14386         per-rounding-mode results for tests not in those arrays.
14387         (rint_test): Use ALL_RM_TEST.
14388         (rint_tonearest_test_data): Remove.
14389         (rint_test_tonearest): Likewise.
14390         (rint_towardzero_test_data): Likewise.
14391         (rint_test_towardzero): Likewise.
14392         (rint_downward_test_data): Likewise.
14393         (rint_test_downward): Likewise.
14394         (rint_upward_test_data): Likewise.
14395         (rint_test_upward): Likewise.
14396         (main): Don't call removed functions.
14398 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14400         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14401         "Compiled on ..." crapola.  It is anti-useful.
14403 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
14405         * scripts/evaluate-test.sh: Handle fourth argument to determine
14406         whether test run should stop on failure.
14407         * Makeconfig (stop-on-test-failure): New variable.
14408         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14409         $(stop-on-test-failure).
14410         * Makefile (tests): Give a summary of results from testing and
14411         exit with failure status if they include an ERROR or FAIL.
14412         (xtests): Likewise.
14413         * manual/install.texi (Configuring and compiling): Mention
14414         stop-on-test-failure=y.
14415         * INSTALL: Regenerated.
14417 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14419         * scripts/versionlist.awk: New file.
14420         * Makerules [$(build-shared) = yes]
14421         (postclean-generated): Add Versions.def, not Versions.def.v and
14422         Versions.def.v.i.
14423         ($(common-objpfx)Versions.def.v.i): Target removed.
14424         ($(common-objpfx)Versions.def): New target.
14425         ($(common-objpfx)Versions.all): Depend on that rather that
14426         $(common-objpfx)Versions.def.v.
14427         * Versions.def: File removed.
14429         * Makeconfig (+gccwarn): Add -Wundef.
14430         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14431         a dl-sysdep.h breaking its contract.
14432         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14433         * include/stackinfo.h: New file.
14434         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14435         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14436         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14437         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14438         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14439         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14440         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14441         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14442         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14443         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14444         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14445         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14446         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14447         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14448         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14450 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14452         [BZ #16707]
14453         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14454         implementation.
14455         * math/libm-test.inc (round_test_data): Add more tests.
14457         [BZ #16706]
14458         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14459         implementation.
14460         * math/libm-test.inc (nearbyint_test_data): Add more tests.
14462         [BZ #16701]
14463         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14464         implementation.
14465         * math/libm-test.inc (ceil_test_data): Add more tests.
14467         * math/libm-test.inc (trunc_test_data): Add more tests related to
14468         BZ#16414.
14470 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14472         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14473         with #if rather than #ifdef.
14474         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14476 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
14478         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14479         first.  Disable AVX-512 GCC support if assembler doesn't support
14480         it.
14481         * sysdeps/x86_64/configure: Regenerated.
14483 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
14485         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14486         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14487         (__old_pthread_attr_setstack): Likewise.
14488         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14489         [!_STACK_GROWS_DOWN]: Likewise.
14491 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
14493         * config.make.in (have-bash2): Delete.
14494         * configure.ac (libc_cv_have_bash2): Delete.
14495         * configure: Regenerate.
14496         * elf/Makefile (common-ldd-rewrite): Rename to ...
14497         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
14498         (sh-ldd-rewrite): Delete.
14499         (bash-ldd-rewrite): Delete.
14500         (have-bash2): Delete checks.
14501         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14502         ldd-rewrite.
14504         * config.make.in (have-ksh): Delete.
14505         (KSH): Delete.
14506         * configure.ac (libc_cv_have_ksh): Delete.
14507         * configure: Regenerate.
14509         * elf/Makefile: Delete $(have-ksh) check.
14510         ($(objpfx)sotruss): Change KSH to BASH.
14511         * elf/sotruss.ksh: Rename to ...
14512         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
14513         function style to match POSIX.  Drop ksh vim mode setting.
14515         * manual/time.texi (Specifying the Time Zone with TZ): Change
14516         Tuesday to Thursday.
14518         * debug/tst-longjmp_chk2.c: Update header comment.
14519         (stackoverflow_handler): Add comment.  Call assert on pass value.
14521 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
14523         [BZ #16194]
14524         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14525         (HAVE_AVX512_ASM_SUPPORT): Likewise.
14526         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14527         (La_x86_64_vector): Add zmm.
14528         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14529         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14530         ($(objpfx)tst-audit10): New target.
14531         ($(objpfx)tst-audit10.out): Likewise.
14532         (tst-audit10-ENV): New.
14533         (AVX512-CFLAGS): Likewise.
14534         (CFLAGS-tst-audit10.c): Likewise.
14535         (CFLAGS-tst-auditmod10a.c): Likewise.
14536         (CFLAGS-tst-auditmod10b.c): Likewise.
14537         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14538         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14539         * sysdeps/x86_64/configure: Regenerated.
14540         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14541         AVX-512 zmm register support.
14542         (_dl_x86_64_save_sse): Likewise.
14543         (_dl_x86_64_restore_sse): Likewise.
14544         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14545         size vector registers.
14546         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14547         (ZMM_SIZE): Likewise.
14548         * sysdeps/x86_64/tst-audit10.c: New file.
14549         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14550         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14552 2014-03-13  Roland McGrath  <roland@hack.frob.com>
14554         * configure.ac (HAVE_EHDR_START): New check.
14555         * configure: Regenerated.
14556         * config.h.in (HAVE_EHDR_START): New #undef.
14557         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14558         assuming the lowest-addressed segment maps the start of the file.
14560 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
14562         * INSTALL: Regenerated.
14564 2014-03-13  Will Newton  <will.newton@linaro.org>
14566         * manual/setjmp.texi (System V contexts): Improve
14567         clarity and grammar of documentation.
14569 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14571         [BZ #16381]
14572         * elf/Makefile (tests): Add tst-pie2.
14573         (tests-pie): Add tst-pie2.
14574         * elf/tst-pie2.c: New file.
14575         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14576         for ET_EXEC.
14577         * elf/rtld.c (map_doit): Load executable as lt_executable.
14578         (dl_main): Likewise.
14580 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
14582         [BZ #16642]
14583         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14584         (__ASSUME_PSELECT): Undefine.
14586 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14588         [BZ #16689]
14589         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14590         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14591         static build.
14592         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14593         selector for static builds.
14595 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14597         [BZ #16695]
14598         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14599         key in the buffer.
14601 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14603         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14604         IFUNC selector for static builds.
14606 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
14608         * sysdeps/mips/math_private.h [__mips_hard_float]
14609         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14610         libc_feresetround_mips_ctx.
14611         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14612         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14613         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14615         [BZ #16677]
14616         * math/s_nextafter.c (__nextafter): Do not return value from
14617         overflowing computation.
14618         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14619         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14620         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14621         Likewise.
14622         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14623         Likewise.
14624         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14625         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14627 2014-03-11  Roland McGrath  <roland@hack.frob.com>
14629         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14630         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14631         Move sfi_sp use from the load-multiple (that no longer sets sp) to
14632         the new mov targetting sp.
14634 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14636         [BZ #16683]
14637         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14638         Define it for static builds as well.
14639         (NO_BZERO_IMPL): Likewise.
14641 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14643         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14644         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14645         multiarch strspn for PPC64.
14646         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14647         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14649         (__libc_ifunc_impl_list): Likewise.
14650         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14651         multiarch optimizations
14652         * string/strspn.c (strspn): Using macro to redefine symbol name.
14654 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14655             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14657         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14658         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14659         multiarch strncat for PPC64.
14660         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14661         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14663         (__libc_ifunc_impl_list): Likewise.
14664         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14665         multiarch optimizations
14667 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14669         [BZ #16639]
14670         * nscd/nscd.service: Make service type forking.
14672 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14674         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14675         sign in non default rounding modes.
14676         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14678 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
14680         * math/libm-test.inc (ALL_RM_TEST): New macro.
14681         (ceil_test): Use ALL_RM_TEST.
14682         (cimag_test): Likewise.
14683         (conj_test): Likewise.
14684         (copysign_test): Likewise.
14685         (cproj_test): Likewise.
14686         (creal_test): Likewise.
14687         (fabs_test): Likewise.
14688         (floor_test): Likewise.
14689         (fmax_test): Likewise.
14690         (fmin_test): Likewise.
14691         (fmod_test): Likewise.
14692         (fpclassify_test): Likewise.
14693         (frexp_test): Likewise.
14694         (ilogb_test): Likewise.
14695         (isfinite_test): Likewise.
14696         (finite_test): Likewise.
14697         (isgreater_test): Likewise.
14698         (isgreaterequal_test): Likewise.
14699         (isinf_test): Likewise.
14700         (isless_test): Likewise.
14701         (islessequal_test): Likewise.
14702         (islessgreater_test): Likewise.
14703         (isnan_test): Likewise.
14704         (isnormal_test): Likewise.
14705         (issignaling_test): Likewise.
14706         (isunordered_test): Likewise.
14707         (logb_test): Likewise.
14708         (logb_downward_test_data): Remove.
14709         (logb_test_downward): Likewise.
14710         (lround_test): Use ALL_RM_TEST.
14711         (llround_test): Likewise.
14712         (modf_test): Likewise.
14713         (nexttoward_test): Likewise.
14714         (remainder_test): Likewise.
14715         (drem_test): Likewise.
14716         (remainder_tonearest_test_data): Likewise.
14717         (remainder_test_tonearest): Likewise.
14718         (drem_test_tonearest): Likewise.
14719         (remainder_towardzero_test_data): Likewise.
14720         (remainder_test_towardzero): Likewise.
14721         (drem_test_towardzero): Likewise.
14722         (remainder_downward_test_data): Likewise.
14723         (remainder_test_downward): Likewise.
14724         (drem_test_downward): Likewise.
14725         (remainder_upward_test_data): Likewise.
14726         (remainder_test_upward): Likewise.
14727         (drem_test_upward): Likewise.
14728         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
14729         (round_test): Use ALL_RM_TEST.
14730         (signbit_test): Likewise.
14731         (trunc_test): Likewise.
14732         (significand_test): Likewise.
14733         (main): Don't call removed functions.
14735 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14737         [BZ #16674]
14738         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14739         || __USE_XOPEN2K8].
14740         (ILL_ILLOPN): Likewise.
14741         (ILL_ILLADR): Likewise.
14742         (ILL_ILLTRP): Likewise.
14743         (ILL_PRVOPC): Likewise.
14744         (ILL_PRVREG): Likewise.
14745         (ILL_COPROC): Likewise.
14746         (ILL_BADSTK): Likewise.
14747         (FPE_INTDIV): Likewise.
14748         (FPE_INTOVF): Likewise.
14749         (FPE_FLTDIV): Likewise.
14750         (FPE_FLTOVF): Likewise.
14751         (FPE_FLTUND): Likewise.
14752         (FPE_FLTRES): Likewise.
14753         (FPE_FLTINV): Likewise.
14754         (FPE_FLTSUB): Likewise.
14755         (SEGV_MAPERR): Likewise.
14756         (SEGV_ACCERR): Likewise.
14757         (BUS_ADRALN): Likewise.
14758         (BUS_ADRERR): Likewise.
14759         (BUS_OBJERR): Likewise.
14760         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14761         (TRAP_TRACE): Likewise.
14762         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14763         __USE_XOPEN2K8].
14764         (CLD_KILLED): Likewise.
14765         (CLD_DUMPED): Likewise.
14766         (CLD_TRAPPED): Likewise.
14767         (CLD_STOPPED): Likewise.
14768         (CLD_CONTINUED): Likewise.
14769         (POLL_IN): Likewise.
14770         (POLL_OUT): Likewise.
14771         (POLL_MSG): Likewise.
14772         (POLL_ERR): Likewise.
14773         (POLL_PRI): Likewise.
14774         (POLL_HUP): Likewise.
14775         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14776         Likewise.
14777         (ILL_ILLOPN): Likewise.
14778         (ILL_ILLADR): Likewise.
14779         (ILL_ILLTRP): Likewise.
14780         (ILL_PRVOPC): Likewise.
14781         (ILL_PRVREG): Likewise.
14782         (ILL_COPROC): Likewise.
14783         (ILL_BADSTK): Likewise.
14784         (FPE_INTDIV): Likewise.
14785         (FPE_INTOVF): Likewise.
14786         (FPE_FLTDIV): Likewise.
14787         (FPE_FLTOVF): Likewise.
14788         (FPE_FLTUND): Likewise.
14789         (FPE_FLTRES): Likewise.
14790         (FPE_FLTINV): Likewise.
14791         (FPE_FLTSUB): Likewise.
14792         (SEGV_MAPERR): Likewise.
14793         (SEGV_ACCERR): Likewise.
14794         (BUS_ADRALN): Likewise.
14795         (BUS_ADRERR): Likewise.
14796         (BUS_OBJERR): Likewise.
14797         (BUS_MCEERR_AR): Likewise.
14798         (BUS_MCEERR_AO): Likewise.
14799         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14800         (TRAP_TRACE): Likewise.
14801         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14802         __USE_XOPEN2K8].
14803         (CLD_KILLED): Likewise.
14804         (CLD_DUMPED): Likewise.
14805         (CLD_TRAPPED): Likewise.
14806         (CLD_STOPPED): Likewise.
14807         (CLD_CONTINUED): Likewise.
14808         (POLL_IN): Likewise.
14809         (POLL_OUT): Likewise.
14810         (POLL_MSG): Likewise.
14811         (POLL_ERR): Likewise.
14812         (POLL_PRI): Likewise.
14813         (POLL_HUP): Likewise.
14814         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14815         (ILL_ILLOPN): Likewise.
14816         (ILL_ILLADR): Likewise.
14817         (ILL_ILLTRP): Likewise.
14818         (ILL_PRVOPC): Likewise.
14819         (ILL_PRVREG): Likewise.
14820         (ILL_COPROC): Likewise.
14821         (ILL_BADSTK): Likewise.
14822         (FPE_INTDIV): Likewise.
14823         (FPE_INTOVF): Likewise.
14824         (FPE_FLTDIV): Likewise.
14825         (FPE_FLTOVF): Likewise.
14826         (FPE_FLTUND): Likewise.
14827         (FPE_FLTRES): Likewise.
14828         (FPE_FLTINV): Likewise.
14829         (FPE_FLTSUB): Likewise.
14830         (SEGV_MAPERR): Likewise.
14831         (SEGV_ACCERR): Likewise.
14832         (BUS_ADRALN): Likewise.
14833         (BUS_ADRERR): Likewise.
14834         (BUS_OBJERR): Likewise.
14835         (BUS_MCEERR_AR): Likewise.
14836         (BUS_MCEERR_AO): Likewise.
14837         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14838         (TRAP_TRACE): Likewise.
14839         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14840         __USE_XOPEN2K8].
14841         (CLD_KILLED): Likewise.
14842         (CLD_DUMPED): Likewise.
14843         (CLD_TRAPPED): Likewise.
14844         (CLD_STOPPED): Likewise.
14845         (CLD_CONTINUED): Likewise.
14846         (POLL_IN): Likewise.
14847         (POLL_OUT): Likewise.
14848         (POLL_MSG): Likewise.
14849         (POLL_ERR): Likewise.
14850         (POLL_PRI): Likewise.
14851         (POLL_HUP): Likewise.
14852         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14853         Likewise.
14854         (ILL_ILLOPN): Likewise.
14855         (ILL_ILLADR): Likewise.
14856         (ILL_ILLTRP): Likewise.
14857         (ILL_PRVOPC): Likewise.
14858         (ILL_PRVREG): Likewise.
14859         (ILL_COPROC): Likewise.
14860         (ILL_BADSTK): Likewise.
14861         (ILL_BADIADDR): Likewise.
14862         (ILL_BREAK): Likewise.
14863         (FPE_INTDIV): Likewise.
14864         (FPE_INTOVF): Likewise.
14865         (FPE_FLTDIV): Likewise.
14866         (FPE_FLTOVF): Likewise.
14867         (FPE_FLTUND): Likewise.
14868         (FPE_FLTRES): Likewise.
14869         (FPE_FLTINV): Likewise.
14870         (FPE_FLTSUB): Likewise.
14871         (FPE_DECOVF): Likewise.
14872         (FPE_DECDIV): Likewise.
14873         (FPE_DECERR): Likewise.
14874         (FPE_INVASC): Likewise.
14875         (FPE_INVDEC): Likewise.
14876         (SEGV_MAPERR): Likewise.
14877         (SEGV_ACCERR): Likewise.
14878         (SEGV_PSTKOVF): Likewise.
14879         (BUS_ADRALN): Likewise.
14880         (BUS_ADRERR): Likewise.
14881         (BUS_OBJERR): Likewise.
14882         (BUS_MCEERR_AR): Likewise.
14883         (BUS_MCEERR_AO): Likewise.
14884         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14885         (TRAP_TRACE): Likewise.
14886         (TRAP_BRANCH): Likewise.
14887         (TRAP_HWBKPT): Likewise.
14888         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14889         __USE_XOPEN2K8].
14890         (CLD_KILLED): Likewise.
14891         (CLD_DUMPED): Likewise.
14892         (CLD_TRAPPED): Likewise.
14893         (CLD_STOPPED): Likewise.
14894         (CLD_CONTINUED): Likewise.
14895         (POLL_IN): Likewise.
14896         (POLL_OUT): Likewise.
14897         (POLL_MSG): Likewise.
14898         (POLL_ERR): Likewise.
14899         (POLL_PRI): Likewise.
14900         (POLL_HUP): Likewise.
14901         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14902         (ILL_ILLOPN): Likewise.
14903         (ILL_ILLADR): Likewise.
14904         (ILL_ILLTRP): Likewise.
14905         (ILL_PRVOPC): Likewise.
14906         (ILL_PRVREG): Likewise.
14907         (ILL_COPROC): Likewise.
14908         (ILL_BADSTK): Likewise.
14909         (FPE_INTDIV): Likewise.
14910         (FPE_INTOVF): Likewise.
14911         (FPE_FLTDIV): Likewise.
14912         (FPE_FLTOVF): Likewise.
14913         (FPE_FLTUND): Likewise.
14914         (FPE_FLTRES): Likewise.
14915         (FPE_FLTINV): Likewise.
14916         (FPE_FLTSUB): Likewise.
14917         (SEGV_MAPERR): Likewise.
14918         (SEGV_ACCERR): Likewise.
14919         (BUS_ADRALN): Likewise.
14920         (BUS_ADRERR): Likewise.
14921         (BUS_OBJERR): Likewise.
14922         (BUS_MCEERR_AR): Likewise.
14923         (BUS_MCEERR_AO): Likewise.
14924         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14925         (TRAP_TRACE): Likewise.
14926         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14927         __USE_XOPEN2K8].
14928         (CLD_KILLED): Likewise.
14929         (CLD_DUMPED): Likewise.
14930         (CLD_TRAPPED): Likewise.
14931         (CLD_STOPPED): Likewise.
14932         (CLD_CONTINUED): Likewise.
14933         (POLL_IN): Likewise.
14934         (POLL_OUT): Likewise.
14935         (POLL_MSG): Likewise.
14936         (POLL_ERR): Likewise.
14937         (POLL_PRI): Likewise.
14938         (POLL_HUP): Likewise.
14939         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14940         (ILL_ILLOPN): Likewise.
14941         (ILL_ILLADR): Likewise.
14942         (ILL_ILLTRP): Likewise.
14943         (ILL_PRVOPC): Likewise.
14944         (ILL_PRVREG): Likewise.
14945         (ILL_COPROC): Likewise.
14946         (ILL_BADSTK): Likewise.
14947         (FPE_INTDIV): Likewise.
14948         (FPE_INTOVF): Likewise.
14949         (FPE_FLTDIV): Likewise.
14950         (FPE_FLTOVF): Likewise.
14951         (FPE_FLTUND): Likewise.
14952         (FPE_FLTRES): Likewise.
14953         (FPE_FLTINV): Likewise.
14954         (FPE_FLTSUB): Likewise.
14955         (SEGV_MAPERR): Likewise.
14956         (SEGV_ACCERR): Likewise.
14957         (BUS_ADRALN): Likewise.
14958         (BUS_ADRERR): Likewise.
14959         (BUS_OBJERR): Likewise.
14960         (BUS_MCEERR_AR): Likewise.
14961         (BUS_MCEERR_AO): Likewise.
14962         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14963         (TRAP_TRACE): Likewise.
14964         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14965         __USE_XOPEN2K8].
14966         (CLD_KILLED): Likewise.
14967         (CLD_DUMPED): Likewise.
14968         (CLD_TRAPPED): Likewise.
14969         (CLD_STOPPED): Likewise.
14970         (CLD_CONTINUED): Likewise.
14971         (POLL_IN): Likewise.
14972         (POLL_OUT): Likewise.
14973         (POLL_MSG): Likewise.
14974         (POLL_ERR): Likewise.
14975         (POLL_PRI): Likewise.
14976         (POLL_HUP): Likewise.
14977         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14978         (ILL_ILLOPN): Likewise.
14979         (ILL_ILLADR): Likewise.
14980         (ILL_ILLTRP): Likewise.
14981         (ILL_PRVOPC): Likewise.
14982         (ILL_PRVREG): Likewise.
14983         (ILL_COPROC): Likewise.
14984         (ILL_BADSTK): Likewise.
14985         (FPE_INTDIV): Likewise.
14986         (FPE_INTOVF): Likewise.
14987         (FPE_FLTDIV): Likewise.
14988         (FPE_FLTOVF): Likewise.
14989         (FPE_FLTUND): Likewise.
14990         (FPE_FLTRES): Likewise.
14991         (FPE_FLTINV): Likewise.
14992         (FPE_FLTSUB): Likewise.
14993         (SEGV_MAPERR): Likewise.
14994         (SEGV_ACCERR): Likewise.
14995         (BUS_ADRALN): Likewise.
14996         (BUS_ADRERR): Likewise.
14997         (BUS_OBJERR): Likewise.
14998         (BUS_MCEERR_AR): Likewise.
14999         (BUS_MCEERR_AO): Likewise.
15000         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15001         (TRAP_TRACE): Likewise.
15002         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15003         __USE_XOPEN2K8].
15004         (CLD_KILLED): Likewise.
15005         (CLD_DUMPED): Likewise.
15006         (CLD_TRAPPED): Likewise.
15007         (CLD_STOPPED): Likewise.
15008         (CLD_CONTINUED): Likewise.
15009         (POLL_IN): Likewise.
15010         (POLL_OUT): Likewise.
15011         (POLL_MSG): Likewise.
15012         (POLL_ERR): Likewise.
15013         (POLL_PRI): Likewise.
15014         (POLL_HUP): Likewise.
15015         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15016         (ILL_ILLOPN): Likewise.
15017         (ILL_ILLADR): Likewise.
15018         (ILL_ILLTRP): Likewise.
15019         (ILL_PRVOPC): Likewise.
15020         (ILL_PRVREG): Likewise.
15021         (ILL_COPROC): Likewise.
15022         (ILL_BADSTK): Likewise.
15023         (ILL_DBLFLT): Likewise.
15024         (ILL_HARDWALL): Likewise.
15025         (FPE_INTDIV): Likewise.
15026         (FPE_INTOVF): Likewise.
15027         (FPE_FLTDIV): Likewise.
15028         (FPE_FLTOVF): Likewise.
15029         (FPE_FLTUND): Likewise.
15030         (FPE_FLTRES): Likewise.
15031         (FPE_FLTINV): Likewise.
15032         (FPE_FLTSUB): Likewise.
15033         (SEGV_MAPERR): Likewise.
15034         (SEGV_ACCERR): Likewise.
15035         (BUS_ADRALN): Likewise.
15036         (BUS_ADRERR): Likewise.
15037         (BUS_OBJERR): Likewise.
15038         (BUS_MCEERR_AR): Likewise.
15039         (BUS_MCEERR_AO): Likewise.
15040         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15041         (TRAP_TRACE): Likewise.
15042         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15043         __USE_XOPEN2K8].
15044         (CLD_KILLED): Likewise.
15045         (CLD_DUMPED): Likewise.
15046         (CLD_TRAPPED): Likewise.
15047         (CLD_STOPPED): Likewise.
15048         (CLD_CONTINUED): Likewise.
15049         (POLL_IN): Likewise.
15050         (POLL_OUT): Likewise.
15051         (POLL_MSG): Likewise.
15052         (POLL_ERR): Likewise.
15053         (POLL_PRI): Likewise.
15054         (POLL_HUP): Likewise.
15055         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15056         (ILL_ILLOPN): Likewise.
15057         (ILL_ILLADR): Likewise.
15058         (ILL_ILLTRP): Likewise.
15059         (ILL_PRVOPC): Likewise.
15060         (ILL_PRVREG): Likewise.
15061         (ILL_COPROC): Likewise.
15062         (ILL_BADSTK): Likewise.
15063         (FPE_INTDIV): Likewise.
15064         (FPE_INTOVF): Likewise.
15065         (FPE_FLTDIV): Likewise.
15066         (FPE_FLTOVF): Likewise.
15067         (FPE_FLTUND): Likewise.
15068         (FPE_FLTRES): Likewise.
15069         (FPE_FLTINV): Likewise.
15070         (FPE_FLTSUB): Likewise.
15071         (SEGV_MAPERR): Likewise.
15072         (SEGV_ACCERR): Likewise.
15073         (BUS_ADRALN): Likewise.
15074         (BUS_ADRERR): Likewise.
15075         (BUS_OBJERR): Likewise.
15076         (BUS_MCEERR_AR): Likewise.
15077         (BUS_MCEERR_AO): Likewise.
15078         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15079         (TRAP_TRACE): Likewise.
15080         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15081         __USE_XOPEN2K8].
15082         (CLD_KILLED): Likewise.
15083         (CLD_DUMPED): Likewise.
15084         (CLD_TRAPPED): Likewise.
15085         (CLD_STOPPED): Likewise.
15086         (CLD_CONTINUED): Likewise.
15087         (POLL_IN): Likewise.
15088         (POLL_OUT): Likewise.
15089         (POLL_MSG): Likewise.
15090         (POLL_ERR): Likewise.
15091         (POLL_PRI): Likewise.
15092         (POLL_HUP): Likewise.
15093         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15094         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15096         [BZ #16670]
15097         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15098         before #include of <time.h>.
15099         [!__USE_XOPEN2K] (__need_timespec): Likewise.
15100         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15101         (test-xfail-UNIX98/sched.h/conform): Likewise.
15103 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15105         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15106         error absence of trapping exception support.
15107         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15109 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15111         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15112         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15113         * timezone/Makefile (testdata): Move definition above include of
15114         Rules.
15115         (test-zones): New variable.
15116         (tests-special): Add zone files.
15117         (build-testdata): Use $(evaluate-test).
15119         * elf/Makefile (tests-special): Rename tests to end with .out.
15120         ($(objpfx)noload-mem): Likewise.
15121         ($(objpfx)tst-leaks1-mem): Likewise.
15122         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15123         * iconv/Makefile (xtests-special): Change test-iconvconfig to
15124         $(objpfx)test-iconvconfig.out.
15125         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
15126         set -e inside subshell and redirect output to file.
15127         * iconvdata/Makefile (generated): Rename tests to end with .out.
15128         Correct type.
15129         (tests-special): Rename tests to end with .out.
15130         ($(objpfx)mtrace-tst-loading): Likewise.
15131         * intl/Makefile (generated): Likewise.
15132         (tests-special): Likewise.
15133         ($(objpfx)mtrace-tst-gettext): Likewise.
15134         * misc/Makefile (generated): Likewise.
15135         (tests-special): Likewise.
15136         ($(objpfx)tst-error1-mem): Likewise.
15137         * nptl/Makefile (tests-special): Likewise.
15138         ($(objpfx)tst-stack3-mem): Likewise.
15139         (generated): Likewise.
15140         * posix/Makefile (generated): Likewise.
15141         (tests-special): Likewise.
15142         (xtests-special): Likewise.
15143         ($(objpfx)tst-fnmatch-mem): Likewise.
15144         ($(objpfx)bug-regex2-mem): Likewise.
15145         ($(objpfx)bug-regex14-mem): Likewise.
15146         ($(objpfx)bug-regex21-mem): Likewise.
15147         ($(objpfx)bug-regex31-mem): Likewise.
15148         ($(objpfx)tst-vfork3-mem): Likewise.
15149         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15150         ($(objpfx)tst-pcre-mem): Likewise.
15151         ($(objpfx)tst-boost-mem): Likewise.
15152         ($(objpfx)bug-ga2-mem): Likewise.
15153         ($(objpfx)bug-glob2-mem): Likewise.
15154         * resolv/Makefile (generate): Likewise.
15155         (tests-special): Likewise.
15156         (xtests-special): Likewise.
15157         (generated): Likewise.
15158         ($(objpfx)mtrace-tst-leaks): Likewise.
15159         ($(objpfx)mtrace-tst-leaks2): Likewise.
15161         * scripts/merge-test-results.sh: New file.
15162         * Makefile (tests-special-notdir): New variable.
15163         (tests): Run merge-test-results.sh.
15164         (xtests): Likewise.
15165         * Rules (tests-special-notdir): New variable.
15166         (xtests-special-notdir): Likewise.
15167         (tests): Run merge-test-results.sh
15168         (xtests): Likewise.
15170         * Makeconfig (test-xfail-name): New variable.
15171         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15172         compute variable name for expected failures.
15173         * conform/Makefile (conformtest-headers-data): New variable.
15174         (conformtest-standards): Likewise.
15175         (conformtest-headers-ISO): Likewise.
15176         (conformtest-headers-ISO99): Likewise.
15177         (conformtest-headers-ISO11): Likewise.
15178         (conformtest-headers-POSIX): Likewise.
15179         (conformtest-headers-XPG3): Likewise.
15180         (conformtest-headers-XPG4): Likewise.
15181         (conformtest-headers-UNIX98): Likewise.
15182         (conformtest-headers-XOPEN2K): Likewise.
15183         (conformtest-headers-POSIX2008): Likewise.
15184         (conformtest-headers-XOPEN2K8): Likewise.
15185         (conformtest-header-list-base): Likewise.
15186         (conformtest-header-list-tests): Likewise.
15187         (conformtest-header-base): Likewise.
15188         (conformtest-header-tests): Likewise.
15189         (tests-special): Add $(conformtest-header-list-tests).  If
15190         [$(fast-check) && !$(cross-compiling)], add
15191         $(conformtest-header-tests) instead of
15192         $(objpfx)run-conformtest.out.
15193         (generated): Add $(conformtest-header-list-base).  If
15194         [$(fast-check) && !$(cross-compiling)], add
15195         $(conformtest-header-base).  Remove previous setting.
15196         ($(conformtest-header-list-tests)): New target.
15197         (test-xfail-run-conformtest): Remove variable.
15198         ($(objpfx)run-conformtest.out): Remove target.
15199         (test-xfail-ISO11/complex.h/conform): New variable.
15200         (test-xfail-ISO11/stdalign.h/conform): Likewise.
15201         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15202         (test-xfail-XPG3/varargs.h/conform): Likewise.
15203         (test-xfail-XPG4/varargs.h/conform): Likewise.
15204         (test-xfail-UNIX98/varargs.h/conform): Likewise.
15205         (test-xfail-XPG4/ndbm.h/conform): Likewise.
15206         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15207         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15208         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15209         (test-xfail-XPG3/fcntl.h/conform): Likewise.
15210         (test-xfail-XPG3/ftw.h/conform): Likewise.
15211         (test-xfail-XPG3/grp.h/conform): Likewise.
15212         (test-xfail-XPG3/langinfo.h/conform): Likewise.
15213         (test-xfail-XPG3/limits.h/conform): Likewise.
15214         (test-xfail-XPG3/pwd.h/conform): Likewise.
15215         (test-xfail-XPG3/search.h/conform): Likewise.
15216         (test-xfail-XPG3/signal.h/conform): Likewise.
15217         (test-xfail-XPG3/stdio.h/conform): Likewise.
15218         (test-xfail-XPG3/stdlib.h/conform): Likewise.
15219         (test-xfail-XPG3/string.h/conform): Likewise.
15220         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15221         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15222         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15223         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15224         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15225         (test-xfail-XPG3/sys/types.h/conform): Likewise.
15226         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15227         (test-xfail-XPG3/termios.h/conform): Likewise.
15228         (test-xfail-XPG3/time.h/conform): Likewise.
15229         (test-xfail-XPG3/unistd.h/conform): Likewise.
15230         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15231         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15232         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15233         (test-xfail-XPG4/netdb.h/conform): Likewise.
15234         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15235         (test-xfail-XPG4/signal.h/conform): Likewise.
15236         (test-xfail-XPG4/stdio.h/conform): Likewise.
15237         (test-xfail-XPG4/stdlib.h/conform): Likewise.
15238         (test-xfail-XPG4/stropts.h/conform): Likewise.
15239         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15240         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15241         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15242         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15243         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15244         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15245         (test-xfail-XPG4/sys/time.h/conform): Likewise.
15246         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15247         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15248         (test-xfail-XPG4/termios.h/conform): Likewise.
15249         (test-xfail-XPG4/ucontext.h/conform): Likewise.
15250         (test-xfail-XPG4/unistd.h/conform): Likewise.
15251         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15252         (test-xfail-POSIX/sched.h/conform): Likewise.
15253         (test-xfail-POSIX/signal.h/conform): Likewise.
15254         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15255         (test-xfail-POSIX/tar.h/conform): Likewise.
15256         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15257         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15258         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15259         (test-xfail-UNIX98/netdb.h/conform): Likewise.
15260         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15261         (test-xfail-UNIX98/sched.h/conform): Likewise.
15262         (test-xfail-UNIX98/signal.h/conform): Likewise.
15263         (test-xfail-UNIX98/stdio.h/conform): Likewise.
15264         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15265         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15266         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15267         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15268         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15269         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15270         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15271         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15272         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15273         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15274         (test-xfail-UNIX98/unistd.h/conform): Likewise.
15275         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15276         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15277         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15278         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15279         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15280         (test-xfail-XOPEN2K/math.h/conform): Likewise.
15281         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15282         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15283         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15284         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15285         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15286         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15287         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15288         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15289         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15290         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15291         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15292         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15293         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15294         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15295         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15296         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15297         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15298         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15299         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15300         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15301         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15302         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15303         (test-xfail-POSIX2008/signal.h/conform): Likewise.
15304         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15305         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15306         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15307         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15308         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15309         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15310         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15311         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15312         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15313         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15314         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15315         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15316         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15317         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15318         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15319         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15320         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15321         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15322         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15323         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15324         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15325         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15326         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15327         (conformtest-cc-flags): Likewise.
15328         ($(conformtest-header-tests): New target.
15329         * conform/check-header-lists.sh: New file.
15330         * conform/run-conformtest.sh: Remove.
15332         * conform/conformtest.pl: Allow ' and \ in values given for
15333         constants.
15334         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15335         inclusion.
15336         [POSIX] (sys/types.h): Likewise.
15337         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15338         inclusion.
15339         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15340         inclusion.
15341         * conform/data/signal.h-data (SIGIO): Remove expectation.
15342         [XPG3] (SIGBUS): Do not expect.
15343         [POSIX || XPG3] (SIGPOLL): Likewise.
15344         [POSIX || XPG3] (SIGPROF): Likewise.
15345         [POSIX || XPG3] (SIGSYS): Likewise.
15346         [XPG3] (SIGTRAP): Likewise.
15347         [POSIX || XPG3] (SIGURG): Likewise.
15348         [POSIX || XPG3] (SIGVTALRM): Likewise.
15349         [POSIX || XPG3] (SIGXCPU): Likewise.
15350         [POSIX || XPG3] (SIGXFSZ): Likewise.
15351         [POSIX] (SA_SIGINFO): Expect.
15352         [XPG3] (siginfo_t): Do not expect type or contents.
15353         [POSIX] (si_pid): Do not expect element.
15354         [POSIX] (si_uid): Likewise.
15355         [POSIX] (si_addr): Likewise.
15356         [POSIX] (si_status): Likewise.
15357         [POSIX] (si_band): Likewise.
15358         [XPG4] (si_value): Likewise.
15359         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15360         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15361         [POSIX || XPG3] (ILL_ILLADR): Likewise.
15362         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15363         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15364         [POSIX || XPG3] (ILL_PRVREG): Likewise.
15365         [POSIX || XPG3] (ILL_COPROC): Likewise.
15366         [POSIX || XPG3] (ILL_BADSTK): Likewise.
15367         [POSIX || XPG3] (FPE_INTDIV): Likewise.
15368         [POSIX || XPG3] (FPE_INTOVF): Likewise.
15369         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15370         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15371         [POSIX || XPG3] (FPE_FLTUND): Likewise.
15372         [POSIX || XPG3] (FPE_FLTRES): Likewise.
15373         [POSIX || XPG3] (FPE_FLTINV): Likewise.
15374         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15375         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15376         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15377         [POSIX || XPG3] (BUS_ADRALN): Likewise.
15378         [POSIX || XPG3] (BUS_ADRERR): Likewise.
15379         [POSIX || XPG3] (BUS_OBJERR): Likewise.
15380         [POSIX || XPG3] (CLD_EXITED): Likewise.
15381         [POSIX || XPG3] (CLD_KILLED): Likewise.
15382         [POSIX || XPG3] (CLD_DUMPED): Likewise.
15383         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15384         [POSIX || XPG3] (CLD_STOPPED): Likewise.
15385         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15386         [POSIX || XPG3] (POLL_IN): Likewise.
15387         [POSIX || XPG3] (POLL_OUT): Likewise.
15388         [POSIX || XPG3] (POLL_MSG): Likewise.
15389         [POSIX || XPG3] (POLL_ERR): Likewise.
15390         [POSIX || XPG3] (POLL_PRI): Likewise.
15391         [POSIX || XPG3] (POLL_HUP): Likewise.
15392         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15393         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15394         (SIG*): Do not allow.
15395         [XPG3] (si_*): Likewise.
15396         [XPG3] (SI_*): Likewise.
15397         [XPG3 || XPG4] (sigev_*): Likewise.
15398         [XPG3 || XPG4] (SIGEV_*): Likewise.
15399         [XPG3 || XPG4] (sival_*): Likewise.
15400         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15401         [POSIX || XPG3] (BUS_*): Likewise.
15402         [POSIX || XPG3] (CLD_*): Likewise.
15403         [POSIX || XPG3] (FPE_*): Likewise.
15404         [POSIX || XPG3] (ILL_*): Likewise.
15405         [POSIX || XPG3] (POLL_*): Likewise.
15406         [POSIX || XPG3] (SEGV_*): Likewise.
15407         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15408         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15409         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15410         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15411         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15412         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15413         Specify type and value.
15414         (TVERSLEN): Likewise.
15415         (REGTYPE): Likewise.
15416         (AREGTYPE): Likewise.
15417         (LNKTYPE): Likewise.
15418         (SYMTYPE): Likewise.
15419         (CHRTYPE): Likewise.
15420         (BLKTYPE): Likewise.
15421         (DIRTYPE): Likewise.
15422         (FIFOTYPE): Likewise.
15423         (CONTTYPE): Likewise.
15424         (TSUID): Likewise.
15425         (TSGID): Likewise.
15426         (TSVTX): Likewise.
15427         (TUREAD): Likewise.
15428         (TUWRITE): Likewise.
15429         (TUEXEC): Likewise.
15430         (TGREAD): Likewise.
15431         (TGWRITE): Likewise.
15432         (TGEXEC): Likewise.
15433         (TOREAD): Likewise.
15434         (TOWRITE): Likewise.
15435         (TOEXEC): Likewise.
15436         [POSIX] (TSVTX): Expect constant.
15438 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
15440         * Makefile (tests): Change dependencies to ....
15441         (tests-special): ... additions to this variable.
15442         (tests): Depend on $(tests-special).
15443         * Makerules (check-abi-list): New variable.
15444         (check-abi): Depend on $(check-abi-list).
15445         [$(subdir) = elf] (tests-special): Add
15446         $(objpfx)check-abi-libc.out.
15447         [$(build-shared) = yes && subdir] (tests-special): Add
15448         $(check-abi-list).
15449         [$(build-shared) = yes && subdir] (tests): Do not depend on
15450         check-abi.
15451         * Rules (tests): Depend on $(tests-special).
15452         (xtests): Depend on $(xtests-special).
15453         * catgets/Makefile (tests): Change dependencies to ....
15454         (tests-special): ... additions to this variable.
15455         * conform/Makefile (tests): Change dependencies to ....
15456         (tests-special): ... additions to this variable.
15457         * elf/Makefile (tests): Change dependencies to ....
15458         (tests-special): ... additions to this variable.
15459         * grp/Makefile (tests): Change dependencies to ....
15460         (tests-special): ... additions to this variable.
15461         * iconv/Makefile (xtests): Change dependencies to ....
15462         (xtests-special): ... additions to this variable.
15463         * iconvdata/Makefile (tests): Change dependencies to ....
15464         (tests-special): ... additions to this variable.
15465         * intl/Makefile (tests): Change dependencies to ....
15466         (tests-special): ... additions to this variable.  Also add
15467         $(objpfx)tst-gettext.out.
15468         * io/Makefile (tests): Change dependencies to ....
15469         (tests-special): ... additions to this variable.
15470         * libio/Makefile (tests): Change dependencies to ....
15471         (tests-special): ... additions to this variable.
15472         * malloc/Makefile (tests): Change dependencies to ....
15473         (tests-special): ... additions to this variable.
15474         * misc/Makefile (tests): Change dependencies to ....
15475         (tests-special): ... additions to this variable.
15476         * nptl/Makefile (tests): Change dependencies to ....
15477         (tests-special): ... additions to this variable.
15478         * nptl_db/Makefile (tests): Change dependencies to ....
15479         (tests-special): ... additions to this variable.
15480         * posix/Makefile (tests): Change dependencies to ....
15481         (tests-special): ... additions to this variable.
15482         (xtests): Change dependencies to ....
15483         (xtests-special): ... additions to this variable.
15484         * resolv/Makefile (tests): Change dependencies to ....
15485         (tests-special): ... additions to this variable.
15486         (xtests): Change dependencies to ....
15487         (xtests-special): ... additions to this variable.
15488         * stdio-common/Makefile (tests): Change dependencies to ....
15489         (tests-special): ... additions to this variable.
15490         (do-tst-unbputc): Remove target.
15491         (do-tst-printf): Likewise.
15492         * stdlib/Makefile (tests): Change dependencies to ....
15493         (tests-special): ... additions to this variable.
15494         * string/Makefile (tests): Change dependencies to ....
15495         (tests-special): ... additions to this variable.
15496         * sysdeps/x86/Makefile (tests): Change dependencies to ....
15497         (tests-special): ... additions to this variable.
15499         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15500         whole file.
15501         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15502         whole file.
15503         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15504         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15506         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15507         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15508         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15509         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15510         * conform/data/libgen.h-data [XPG3]: Likewise.
15511         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15512         * conform/data/ndbm.h-data [XPG3]: Likewise.
15513         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15514         * conform/data/netdb.h-data [XPG3]: Likewise.
15515         * conform/data/netinet/in.h-data [XPG3]: Likewise.
15516         * conform/data/poll.h-data [XPG3]: Likewise.
15517         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15518         * conform/data/strings.h-data [XPG3]: Likewise.
15519         * conform/data/stropts.h-data [XPG3]: Likewise.
15520         * conform/data/sys/mman.h-data [XPG3]: Likewise.
15521         * conform/data/sys/resource.h-data [XPG3]: Likewise.
15522         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15523         Likewise.
15524         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15525         * conform/data/sys/time.h-data [XPG3]: Likewise.
15526         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15527         * conform/data/sys/uio.h-data [XPG3]: Likewise.
15528         * conform/data/sys/un.h-data [XPG3]: Likewise.
15529         * conform/data/syslog.h-data [XPG3]: Likewise.
15530         * conform/data/ucontext.h-data [XPG3]: Likewise.
15531         * conform/data/utmpx.h-data [XPG3]: Likewise.
15532         * conform/data/varargs.h-data [UNIX98]: Enable file.
15534         * manual/Makefile (INSTALL_INFO): Remove variable setting.
15536         * math/libm-test.inc (struct test_f_f_data): Move expected results
15537         into structure for each rounding mode.
15538         (struct test_ff_f_data): Likewise.
15539         (struct test_ff_f_data_nexttoward): Likewise.
15540         (struct test_fi_f_data): Likewise.
15541         (struct test_fl_f_data): Likewise.
15542         (struct test_if_f_data): Likewise.
15543         (struct test_fff_f_data): Likewise.
15544         (struct test_c_f_data): Likewise.
15545         (struct test_f_f1_data): Likewise.
15546         (struct test_fF_f1_data): Likewise.
15547         (struct test_ffI_f1_data): Likewise.
15548         (struct test_c_c_data): Likewise.
15549         (struct test_cc_c_data): Likewise.
15550         (struct test_f_i_data): Likewise.
15551         (struct test_ff_i_data): Likewise.
15552         (struct test_f_l_data): Likewise.
15553         (struct test_f_L_data): Likewise.
15554         (struct test_fFF_11_data): Likewise.
15555         (RM_): New macro.
15556         (RM_FE_DOWNWARD): Likewise.
15557         (RM_FE_TONEAREST): Likewise.
15558         (RM_FE_TOWARDZERO): Likewise.
15559         (RM_FE_UPWARD): Likewise.
15560         (RUN_TEST_LOOP_f_f): Update references to expected results.
15561         (RUN_TEST_LOOP_2_f): Likewise.
15562         (RUN_TEST_LOOP_fff_f): Likewise.
15563         (RUN_TEST_LOOP_c_f): Likewise.
15564         (RUN_TEST_LOOP_f_f1): Likewise.
15565         (RUN_TEST_LOOP_fF_f1): Likewise.
15566         (RUN_TEST_LOOP_fI_f1): Likewise.
15567         (RUN_TEST_LOOP_ffI_f1): Likewise.
15568         (RUN_TEST_LOOP_c_c): Likewise.
15569         (RUN_TEST_LOOP_cc_c): Likewise.
15570         (RUN_TEST_LOOP_f_i): Likewise.
15571         (RUN_TEST_LOOP_f_i_tg): Likewise.
15572         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15573         (RUN_TEST_LOOP_f_b): Likewise.
15574         (RUN_TEST_LOOP_f_b_tg): Likewise.
15575         (RUN_TEST_LOOP_f_l): Likewise.
15576         (RUN_TEST_LOOP_f_L): Likewise.
15577         (RUN_TEST_LOOP_fFF_11): Likewise.
15578         * math/gen-libm-test.pl (parse_args): Output four copies of
15579         expected results for each test.
15581         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15582         (__ASSUME_UTIMES): Remove.
15583         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15584         (__ASSUME_UTIMES): Likewise.
15586         * math/gen-auto-libm-tests.c: Update comment on output format.
15587         (output_for_one_input_case): Generate before-rounding and
15588         after-rounding information as conditions on output flags not
15589         floating-point format.
15590         * math/auto-libm-test-out: Regenerated.
15591         * math/gen-libm-test.pl (cond_value): New function.
15592         (or_cond_value): Use cond_value.
15593         (generate_testfile): Handle conditional exceptions.
15595 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
15597         * math/libm-test.inc (max_valid_error): New variable.
15598         (init_max_error): Take new argument specifying whether function
15599         results are exactly determined.  Set max_valid_error and bound
15600         other variables for errors based on this argument.
15601         (set_max_error): Do not record results above max_valid_error.
15602         (check_float_internal): Only accept errors of up to 0.5ulps if
15603         also at most max_valid_error.
15604         (START): Take new argument EXACT and pass it to init_max_error.
15605         (acos_test): Update call to START.
15606         (acos_test_tonearest): Likewise.
15607         (acos_test_towardzero): Likewise.
15608         (acos_test_downward): Likewise.
15609         (acos_test_upward): Likewise.
15610         (acosh_test): Likewise.
15611         (asin_test): Likewise.
15612         (asin_test_tonearest): Likewise.
15613         (asin_test_towardzero): Likewise.
15614         (asin_test_downward): Likewise.
15615         (asin_test_upward): Likewise.
15616         (asinh_test): Likewise.
15617         (atan_test): Likewise.
15618         (atanh_test): Likewise.
15619         (atan2_test): Likewise.
15620         (cabs_test): Likewise.
15621         (cacos_test): Likewise.
15622         (cacosh_test): Likewise.
15623         (carg_test): Likewise.
15624         (casin_test): Likewise.
15625         (casinh_test): Likewise.
15626         (catan_test): Likewise.
15627         (catanh_test): Likewise.
15628         (cbrt_test): Likewise.
15629         (ccos_test): Likewise.
15630         (ccosh_test): Likewise.
15631         (ceil_test): Likewise.
15632         (cexp_test): Likewise.
15633         (cimag_test): Likewise.
15634         (clog_test): Likewise.
15635         (clog10_test): Likewise.
15636         (conj_test): Likewise.
15637         (copysign_test): Likewise.
15638         (cos_test): Likewise.
15639         (cos_test_tonearest): Likewise.
15640         (cos_test_towardzero): Likewise.
15641         (cos_test_downward): Likewise.
15642         (cos_test_upward): Likewise.
15643         (cosh_test): Likewise.
15644         (cosh_test_tonearest): Likewise.
15645         (cosh_test_towardzero): Likewise.
15646         (cosh_test_downward): Likewise.
15647         (cosh_test_upward): Likewise.
15648         (cpow_test): Likewise.
15649         (cproj_test): Likewise.
15650         (creal_test): Likewise.
15651         (csin_test): Likewise.
15652         (csinh_test): Likewise.
15653         (csqrt_test): Likewise.
15654         (ctan_test): Likewise.
15655         (ctan_test_tonearest): Likewise.
15656         (ctan_test_towardzero): Likewise.
15657         (ctan_test_downward): Likewise.
15658         (ctan_test_upward): Likewise.
15659         (ctanh_test): Likewise.
15660         (ctanh_test_tonearest): Likewise.
15661         (ctanh_test_towardzero): Likewise.
15662         (ctanh_test_downward): Likewise.
15663         (ctanh_test_upward): Likewise.
15664         (erf_test): Likewise.
15665         (erfc_test): Likewise.
15666         (exp_test): Likewise.
15667         (exp_test_tonearest): Likewise.
15668         (exp_test_towardzero): Likewise.
15669         (exp_test_downward): Likewise.
15670         (exp_test_upward): Likewise.
15671         (exp10_test): Likewise.
15672         (exp10_test_tonearest): Likewise.
15673         (exp10_test_towardzero): Likewise.
15674         (exp10_test_downward): Likewise.
15675         (exp10_test_upward): Likewise.
15676         (pow10_test): Likewise.
15677         (exp2_test): Likewise.
15678         (expm1_test): Likewise.
15679         (expm1_test_tonearest): Likewise.
15680         (expm1_test_towardzero): Likewise.
15681         (expm1_test_downward): Likewise.
15682         (expm1_test_upward): Likewise.
15683         (fabs_test): Likewise.
15684         (fdim_test): Likewise.
15685         (floor_test): Likewise.
15686         (fma_test): Likewise.
15687         (fma_test_towardzero): Likewise.
15688         (fma_test_downward): Likewise.
15689         (fma_test_upward): Likewise.
15690         (fmax_test): Likewise.
15691         (fmin_test): Likewise.
15692         (fmod_test): Likewise.
15693         (fpclassify_test): Likewise.
15694         (frexp_test): Likewise.
15695         (hypot_test): Likewise.
15696         (ilogb_test): Likewise.
15697         (isfinite_test): Likewise.
15698         (finite_test): Likewise.
15699         (isgreater_test): Likewise.
15700         (isgreaterequal_test): Likewise.
15701         (isinf_test): Likewise.
15702         (isless_test): Likewise.
15703         (islessequal_test): Likewise.
15704         (islessgreater_test): Likewise.
15705         (isnan_test): Likewise.
15706         (isnormal_test): Likewise.
15707         (issignaling_test): Likewise.
15708         (isunordered_test): Likewise.
15709         (j0_test): Likewise.
15710         (j1_test): Likewise.
15711         (jn_test): Likewise.
15712         (ldexp_test): Likewise.
15713         (lgamma_test): Likewise.
15714         (gamma_test): Likewise.
15715         (lrint_test): Likewise.
15716         (lrint_test_tonearest): Likewise.
15717         (lrint_test_towardzero): Likewise.
15718         (lrint_test_downward): Likewise.
15719         (lrint_test_upward): Likewise.
15720         (llrint_test): Likewise.
15721         (llrint_test_tonearest): Likewise.
15722         (llrint_test_towardzero): Likewise.
15723         (llrint_test_downward): Likewise.
15724         (llrint_test_upward): Likewise.
15725         (log_test): Likewise.
15726         (log10_test): Likewise.
15727         (log1p_test): Likewise.
15728         (log2_test): Likewise.
15729         (logb_test): Likewise.
15730         (logb_test_downward): Likewise.
15731         (lround_test): Likewise.
15732         (llround_test): Likewise.
15733         (modf_test): Likewise.
15734         (nearbyint_test): Likewise.
15735         (nextafter_test): Likewise.
15736         (nexttoward_test): Likewise.
15737         (pow_test): Likewise.
15738         (pow_test_tonearest): Likewise.
15739         (pow_test_towardzero): Likewise.
15740         (pow_test_downward): Likewise.
15741         (pow_test_upward): Likewise.
15742         (remainder_test): Likewise.
15743         (drem_test): Likewise.
15744         (remainder_test_tonearest): Likewise.
15745         (drem_test_tonearest): Likewise.
15746         (remainder_test_towardzero): Likewise.
15747         (drem_test_towardzero): Likewise.
15748         (remainder_test_downward): Likewise.
15749         (drem_test_downward): Likewise.
15750         (remainder_test_upward): Likewise.
15751         (drem_test_upward): Likewise.
15752         (remquo_test): Likewise.
15753         (rint_test): Likewise.
15754         (rint_test_tonearest): Likewise.
15755         (rint_test_towardzero): Likewise.
15756         (rint_test_downward): Likewise.
15757         (rint_test_upward): Likewise.
15758         (round_test): Likewise.
15759         (scalb_test): Likewise.
15760         (scalbn_test): Likewise.
15761         (scalbln_test): Likewise.
15762         (signbit_test): Likewise.
15763         (sin_test): Likewise.
15764         (sin_test_tonearest): Likewise.
15765         (sin_test_towardzero): Likewise.
15766         (sin_test_downward): Likewise.
15767         (sin_test_upward): Likewise.
15768         (sincos_test): Likewise.
15769         (sinh_test): Likewise.
15770         (sinh_test_tonearest): Likewise.
15771         (sinh_test_towardzero): Likewise.
15772         (sinh_test_downward): Likewise.
15773         (sinh_test_upward): Likewise.
15774         (sqrt_test): Likewise.
15775         (sqrt_test_tonearest): Likewise.
15776         (sqrt_test_towardzero): Likewise.
15777         (sqrt_test_downward): Likewise.
15778         (sqrt_test_upward): Likewise.
15779         (tan_test): Likewise.
15780         (tan_test_tonearest): Likewise.
15781         (tan_test_towardzero): Likewise.
15782         (tan_test_downward): Likewise.
15783         (tan_test_upward): Likewise.
15784         (tanh_test): Likewise.
15785         (tgamma_test): Likewise.
15786         (trunc_test): Likewise.
15787         (y0_test): Likewise.
15788         (y1_test): Likewise.
15789         (yn_test): Likewise.
15790         (significand_test): Likewise.
15792         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15793         individual tests in comment.
15794         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15795         (prev_max_error): New variable.
15796         (prev_real_max_error): Likewise.
15797         (prev_imag_max_error): Likewise.
15798         (compare_ulp_data): Don't refer to test names in comment.
15799         (find_test_ulps): Remove function.
15800         (find_function_ulps): Likewise.
15801         (find_complex_function_ulps): Likewise.
15802         (init_max_error): Take function name as argument.  Look up ulps
15803         for that function.
15804         (print_ulps): Remove function.
15805         (print_max_error): Use prev_max_error instead of calling
15806         find_function_ulps.
15807         (print_complex_max_error): Use prev_real_max_error and
15808         prev_imag_max_error instead of calling find_complex_function_ulps.
15809         (check_float_internal): Take max_ulp parameter instead of calling
15810         find_test_ulps.  Don't call print_ulps.
15811         (check_float): Update call to check_float_internal.
15812         (check_complex): Update calls to check_float_internal.
15813         (START): Pass argument to init_max_error.
15814         * math/gen-libm-test.pl (%results): Don't include "kind"
15815         information.
15816         (parse_ulps): Don't handle ulps of individual tests.
15817         (print_ulps_file): Likewise.
15818         (output_ulps): Likewise.
15819         * math/README.libm-test: Update.
15820         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15821         individual tests.
15822         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15823         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15824         * sysdeps/arm/libm-test-ulps: Likewise.
15825         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15826         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15827         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15828         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15829         * sysdeps/microblaze/libm-test-ulps: Likewise.
15830         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15831         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15832         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15833         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15834         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15835         * sysdeps/sh/libm-test-ulps: Likewise.
15836         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15837         * sysdeps/tile/libm-test-ulps: Likewise.
15838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15840 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
15842         * math/libm-test.inc (print_complex_max_error): Check separately
15843         whether real and imaginary errors are within allowed range and
15844         pass 0 to print_complex_function_ulps instead of value within
15845         allowed range.
15847 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15849         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15850         formatting.
15851         (get_handles_fopen): Likewise.
15852         (do_write_test): Likewise.
15854         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15856         * libio/fileops.c (do_ftell): Use cached offset when
15857         available.
15858         * libio/iofwide.c (do_ftell_wide): Likewise.
15859         * libio/iofdopen.c (_IO_new_fdopen): Don't use
15860         _IO_file_attach.
15861         * libio/wfileops.c (_IO_fwide): Don't cache offset.
15863         [BZ #16532]
15864         * libio/libioP.h (get_file_offset): New function.
15865         * libio/fileops.c (get_file_offset): Likewise.
15866         (do_ftell): Likewise.
15867         (_IO_new_file_seekoff): Split out ftell logic.
15868         * libio/wfileops.c (do_ftell_wide): Likewise.
15869         (_IO_wfile_seekoff): Split out ftell logic.
15870         * libio/tst-ftell-active-handler.c: New test case.
15871         * libio/Makefile (tests): Add it.
15873 2014-03-03  Roland McGrath  <roland@hack.frob.com>
15875         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15876         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15878 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15880         [BZ #16639]
15881         * nscd/connections.c (nscd_init): Call do_exit.
15882         (start_threads): Call do_exit and notify_parent.
15883         (begin_drop_privileges): Call do_exit.
15884         (finish_drop_privileges): Likewise.
15885         * nscd/selinux.c (preserve_capabilities): Likewise.
15886         (install_real_capabilities): Likewise.
15887         (nscd_selinux_enabled): Likewise.
15888         (avc_create_thread): Likewise.
15889         (avc_alloc_lock): Likewise.
15890         (nscd_avc_init): Likewise.
15891         * nscd/nscd.c (parent_fd): New static variable.
15892         (main): Create a pipe between parent and child processes.
15893         Skip closing parent_fd.
15894         (monitor_child): New function.
15895         (do_exit): Likewise.
15896         (notify_parent): Likewise.
15897         * nscd/nscd.h (notify_parent): Likewise.
15898         (do_exit): Likewise.
15900 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
15902         * malloc/malloc.c (__libc_calloc): Revert last change.
15904 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15908 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15910         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15912         implementation.
15913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15914         (__libc_ifunc_impl_list): Likewise.
15915         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15916         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15917         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15918         * string/strrchr.c: Define STRRCHR.
15920 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
15922         * benchtest/bench-strtok.c (simple_strtok): Delete.
15923         (strtok_string): Use as benchmark.
15924         * string/strtok (STRTOK): New macro.
15926 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
15928         * manual/threads.texi: Add header and standard comments to all
15929         functions.
15931         * elf/dl-lookup.c (check_match): New function.
15932         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15933         (do_lookup_x): Remove nested function check_match. Use non-nested
15934         function check_match.
15936 2014-02-28  Roland McGrath  <roland@hack.frob.com>
15938         * csu/Makefile (generated, before-compile): Use += rather than =.
15939         * catgets/Makefile (generated, generated-dirs): Likewise.
15940         * debug/Makefile (generated): Likewise.
15941         * dlfcn/Makefile (generated): Likewise.
15942         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15943         * iconvdata/Makefile (before-compile, generated): Likewise.
15944         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15945         * libio/Makefile (generated): Likewise.
15946         * malloc/Makefile (generated): Likewise.
15947         * manual/Makefile (generated, generated-dirs): Likewise.
15948         * misc/Makefile (generated): Likewise.
15949         * posix/Makefile (generated): Likewise.
15950         * resolv/Makefile (generated): Likewise.
15951         * sunrpc/Makefile (generated, generated-dirs): Likewise.
15952         * timezone/Makefile (generated, generated-dirs): Likewise.
15954         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15956 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15958         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15959         power8 implementation.
15960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15961         file: POWER8 llround ifunc implementation.
15962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15963         (__lllround): Add POWER8 implementation.
15964         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15965         POWER8 llround implementation.
15967         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15968         power8 implementation.
15969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15970         file: POWER8 llrint ifunc implementation.
15971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15972         Add POWER8 implementation.
15973         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15974         POWER8 llrint implementation.
15976         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15977         power8 implementation.
15978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15979         file: POWER8 finite ifunc implementation.
15980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15981         Add POWER8 implementation.
15982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15983         Likewise.
15984         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15985         POWER8 finite implementation.
15986         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15989         power8 implementation.
15990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15991         file: POWER8 isinf ifunc implementation.
15992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15993         POWER8 implementation.
15994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15995         Likewise.
15996         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15997         isinf implementation.
15998         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16000         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16001         (INIT_ARCH): Add hwcap2 initialization.
16002         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16003         power8 implementation.
16004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16005         file: POWER8 isnan ifunc implementation.
16006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16007         POWER8 implementation.
16008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16009         Likewise.
16010         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16011         isnan implementation.
16012         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16014 2014-02-27  Joey Ye  <joey.ye@arm.com>
16016         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16017         (_FP_NANFRAC_Q): Set to zero.
16019 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16021         [BZ #16623]
16022         * math/auto-libm-test-in: New test inputs.
16023         * math/auto-libm-test-out: Regenerate.
16024         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16025         and DA.
16026         (__cos): Likewise.
16027         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16029 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
16031         * scripts/evaluate-test.sh: Take new argument indicating whether
16032         failure is expected.
16033         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16034         indicating whether failure is expected.
16035         * conform/Makefile (test-xfail-run-conformtest): New variable.
16036         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16037         level.
16038         * posix/Makefile (test-xfail-annexc): New variable.
16039         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16041 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
16043         * argp/Makefile: Include Makeconfig immediately after defining
16044         subdir.
16045         * assert/Makefile: Likewise.
16046         * benchtests/Makefile: Likewise.
16047         * catgets/Makefile: Likewise.
16048         * conform/Makefile: Likewise.
16049         * crypt/Makefile: Likewise.
16050         * csu/Makefile: Likewise.
16051         (all): Remove target.
16052         * ctype/Makefile: Include Makeconfig immediately after defining
16053         subdir.
16054         * debug/Makefile: Likewise.
16055         * dirent/Makefile: Likewise.
16056         * dlfcn/Makefile: Likewise.
16057         * gmon/Makefile: Likewise.
16058         * gnulib/Makefile: Likewise.
16059         * grp/Makefile: Likewise.
16060         * gshadow/Makefile: Likewise.
16061         * hesiod/Makefile: Likewise.
16062         * hurd/Makefile: Likewise.
16063         (all): Remove target.
16064         * iconvdata/Makefile: Include Makeconfig immediately after
16065         defining subdir.
16066         * inet/Makefile: Likewise.
16067         * intl/Makefile: Likewise.
16068         * io/Makefile: Likewise.
16069         * libio/Makefile: Likewise.
16070         (all): Remove target.
16071         * locale/Makefile: Include Makeconfig immediately after defining
16072         subdir.
16073         * login/Makefile: Likewise.
16074         * mach/Makefile: Likewise.
16075         (all): Remove target.
16076         * malloc/Makefile: Include Makeconfig immediately after defining
16077         subdir.
16078         (all): Remove target.
16079         * manual/Makefile: Include Makeconfig immediately after defining
16080         subdir.
16081         * math/Makefile: Likewise.
16082         * misc/Makefile: Likewise.
16083         * nis/Makefile: Likewise.
16084         * nss/Makefile: Likewise.
16085         * po/Makefile: Likewise.
16086         (all): Remove target.
16087         * posix/Makefile: Include Makeconfig immediately after defining
16088         subdir.
16089         * pwd/Makefile: Likewise.
16090         * resolv/Makefile: Likewise.
16091         * resource/Makefile: Likewise.
16092         * rt/Makefile: Likewise.
16093         * setjmp/Makefile: Likewise.
16094         * shadow/Makefile: Likewise.
16095         * signal/Makefile: Likewise.
16096         * socket/Makefile: Likewise.
16097         * soft-fp/Makefile: Likewise.
16098         * stdio-common/Makefile: Likewise.
16099         * stdlib/Makefile: Likewise.
16100         * streams/Makefile: Likewise.
16101         * string/Makefile: Likewise.
16102         * sunrpc/Makefile: Likewise.
16103         (all): Remove target.
16104         * sysvipc/Makefile: Include Makeconfig immediately after defining
16105         subdir.
16106         * termios/Makefile: Likewise.
16107         * time/Makefile: Likewise.
16108         * timezone/Makefile: Likewise.
16109         (all): Remove target.
16110         * wcsmbs/Makefile: Include Makeconfig immediately after defining
16111         subdir.
16112         * wctype/Makefile: Likewise.
16114 2014-02-26  Steve Ellcey  <sellcey@mips.com>
16116         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16117         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16118         (libc_feholdexcept_setround_mips): Ditto.
16119         (libc_feholdsetround): New.
16120         (libc_feholdsetroundf): New.
16121         (libc_feholdsetroundl): New.
16122         (libc_feupdateenv_test_mips): New.
16123         (libc_feupdateenv_test): New.
16124         (libc_feupdateenv_testf): New.
16125         (libc_feupdateenv_testl): New.
16126         (libc_feresetround): New.
16127         (libc_feresetroundf): New.
16128         (libc_feresetroundl): New.
16129         (libc_fetestexcept_mips): New.
16130         (libc_fetestexcept): New.
16131         (libc_fetestexceptf): New.
16132         (libc_fetestexceptl): New.
16133         (HAVE_RM_CTX): New.
16134         (libc_feholdexcept_setround_mips_ctx): New.
16135         (libc_feholdexcept_setround_ctx): New.
16136         (libc_feholdexcept_setroundf_ctx): New.
16137         (libc_feholdexcept_setroundl_ctx): New.
16138         (libc_fesetenv_mips_ctx): New.
16139         (libc_fesetenv_ctx): New.
16140         (libc_fesetenv_ctxf): New.
16141         (libc_fesetenv_ctxl): New.
16142         (libc_feupdateenv_mips_ctx): New.
16143         (libc_feupdateenv_ctx): New.
16144         (libc_feupdateenvf_ctx): New.
16145         (libc_feupdateenvl_ctx): New.
16146         (libc_feholdsetround_mips_ctx): New.
16147         (libc_feholdsetround_ctx): New.
16148         (libc_feholdsetroundf_ctx): New.
16149         (libc_feholdsetroundl_ctx): New.
16150         (libc_feresetround_mips_ctx): New.
16151         (libc_feresetround_ctx): New.
16152         (libc_feresetroundf_ctx): New.
16153         (libc_feresetroundl_ctx): New.
16155 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
16157         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16159         * manual/ipc.texi: New file.
16160         * manual/Makefile (chapters): Add ipc.
16161         * manual/job.texi: Add "Inter-Process Communication" to next.
16162         * manual/process.texi: Add "Inter-Process Communication" to prev.
16164 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16168 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
16170         * malloc/malloc.c (__libc_calloc): Simplify implementation.
16172         * manual/arith.texi: Fix spaces after sentences.
16173         * manual/charset.texi: Likewise.
16174         * manual/errno.texi: Likewise.
16175         * manual/install.texi: Likewise.
16176         * manual/llio.texi: Likewise.
16177         * manual/locale.texi: Likewise.
16178         * manual/maint.texi: Likewise.
16179         * manual/math.texi: Likewise.
16180         * manual/memory.texi: Likewise.
16181         * manual/message.texi: Likewise.
16182         * manual/probes.texi: Likewise.
16183         * manual/resource.texi: Likewise.
16184         * manual/signal.texi: Likewise.
16185         * manual/socket.texi: Likewise.
16186         * manual/stdio.texi: Likewise.
16187         * manual/string.texi: Likewise.
16188         * manual/time.texi: Likewise.
16189         * manual/users.texi: Likewise.
16191 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
16193         [BZ #16632]
16194         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16195         _DEFAULT_SOURCE is defined.
16197 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
16198             Carlos O'Donell  <carlos@redhat.com>
16200         [BZ #16613]
16201         * elf/dl-tls.c (_dl_count_modids): New function.
16202         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16203         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16204         audit library and increment generation counter.
16205         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16206         * elf/tst-audit9.c: New file.
16207         * elf/tst-auditmod9a.c: New file.
16208         * elf/tst-auditmod9b.c: New file.
16209         * elf/Makefile: Add rules to build and run tst-audit9.
16211 2014-02-25  Florian Weimer  <fweimer@redhat.com>
16213         [BZ #15347]
16214         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16216 2014-02-25  Will Newton  <will.newton@linaro.org>
16218         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16219         (__longjmp): Restore sp and lr before restoring callee
16220         saved registers.  Add longjmp and longjmp_target
16221         SystemTap probe point.
16222         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16223         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16224         Define to zero to match jmpbuf layout.
16225         * sysdeps/arm/setjmp.S: Include stap-probe.h.
16226         (__sigsetjmp): Save sp and lr before saving callee
16227         saved registers.  Add setjmp SystemTap probe point.
16229 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16231         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16233 2014-02-24  Andreas Schwab  <schwab@suse.de>
16235         [BZ #15804]
16236         * elf/pldd.c (wait_for_ptrace_stop): New function.
16237         (main): Call it after attaching.
16239 2014-02-22  Roland McGrath  <roland@hack.frob.com>
16241         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16242         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16243         Versions files is now verboten.
16244         * hurd/Versions (libc: GLIBC_2.0):
16245         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16246         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16247         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16248         * mach/Versions: Likewise.
16250         * csu/Versions: Remove unused %include.
16251         * resolv/Versions: Likewise.
16253 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
16255         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16256         ($(objpfx)check-local-headers.out): Likewise.
16257         ($(objpfx)begin-end-check.out): Likewise.
16258         * Makerules (check-abi-%.out): Likewise.
16259         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16260         ($(objpfx)test2.cat): Likewise.
16261         ($(objpfx)de/libc.cat): Likewise.
16262         ($(objpfx)test-gencat.out): Likewise.
16263         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16264         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16265         ($(objpfx)noload-mem): Likewise.
16266         ($(objpfx)tst-pathopt.out): Likewise.
16267         ($(objpfx)tst-rtld-load-self.out): Likewise.
16268         ($(objpfx)tst-array1-cmp.out): Likewise.
16269         ($(objpfx)tst-array1-static-cmp.out): Likewise.
16270         ($(objpfx)tst-array2-cmp.out): Likewise.
16271         ($(objpfx)tst-array3-cmp.out): Likewise.
16272         ($(objpfx)tst-array4-cmp.out): Likewise.
16273         ($(objpfx)tst-array5-cmp.out): Likewise.
16274         ($(objpfx)tst-array5-static-cmp.out): Likewise.
16275         ($(objpfx)check-textrel.out): Likewise.
16276         ($(objpfx)check-execstack.out): Likewise.
16277         ($(objpfx)check-localplt.out): Likewise.
16278         ($(objpfx)order2-cmp.out): Likewise.
16279         ($(objpfx)tst-leaks1-mem): Likewise.
16280         ($(objpfx)tst-leaks1-static-mem): Likewise.
16281         ($(objpfx)tst-initorder-cmp.out): Likewise.
16282         ($(objpfx)tst-initorder2-cmp.out): Likewise.
16283         ($(objpfx)tst-unused-dep.out): Likewise.
16284         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16285         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16286         * iconv/Makefile (test-iconvconfig): Likewise.
16287         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16288         ($(objpfx)iconv-test.out): Likewise.
16289         ($(objpfx)tst-tables.out): Likewise.
16290         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16291         ($(objpfx)tst-gettext.out): Likewise.
16292         ($(objpfx)tst-translit.out): Likewise.
16293         ($(objpfx)tst-gettext2.out): Likewise.
16294         ($(objpfx)tst-gettext4.out): Likewise.
16295         ($(objpfx)tst-gettext6.out): Likewise.
16296         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16297         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16298         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16299         ($(objpfx)tst-fopenloc-mem.out): Likewise.
16300         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16301         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16302         * posix/Makefile ($(objpfx)globtest.out): Likewise.
16303         ($(objpfx)wordexp-tst.out): Likewise.
16304         ($(objpfx)annexc.out): Likewise.
16305         ($(objpfx)tst-fnmatch-mem): Likewise.
16306         ($(objpfx)bug-regex2-mem): Likewise.
16307         ($(objpfx)bug-regex14-mem): Likewise.
16308         ($(objpfx)bug-regex21-mem): Likewise.
16309         ($(objpfx)bug-regex31-mem): Likewise.
16310         ($(objpfx)tst-vfork3-mem): Likewise.
16311         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16312         ($(objpfx)tst-pcre-mem): Likewise.
16313         ($(objpfx)tst-boost-mem): Likewise.
16314         ($(objpfx)tst-getconf.out): Likewise.
16315         ($(objpfx)bug-ga2-mem): Likewise.
16316         ($(objpfx)bug-glob2-mem): Likewise.
16317         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16318         ($(objpfx)mtrace-tst-leaks2): Likewise.
16319         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16320         ($(objpfx)tst-printf.out): Likewise.
16321         ($(objpfx)tst-setvbuf1.out): Likewise.
16322         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16323         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16324         ($(objpfx)tst-fmtmsg.out): Likewise.
16325         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16326         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16328         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16329         * bits/sigaction.h [__USE_MISC]: Likewise.
16330         * bits/waitstatus.h: Update #endif comments.
16331         * ctype/ctype.h: Likewise.
16332         * dirent/dirent.h: Likewise.
16333         [__USE_MISC]: Remove redundant conditionals.
16334         * grp/grp.h: Update #endif comments.
16335         [__USE_GNU]: Remove redundant conditionals.
16336         [__USE_MISC]: Likewise.
16337         * inet/netinet/in.h [__USE_GNU]: Likewise.
16338         * io/sys/stat.h [__USE_MISC]: Likewise.
16339         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16340         * libio/bits/stdio.h: Update #endif comments.
16341         [__USE_MISC]: Remove redundant conditionals.
16342         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16343         * libio/stdio.h: Update #endif comments.
16344         [__USE_MISC]: Remove redundant conditionals.
16345         * math/bits/math-finite.h [__USE_MISC]: Likewise.
16346         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16347         * math/math.h: Update #else and #endif comments.
16348         [__USE_MISC]: Remove redundant conditionals.
16349         * misc/sys/uio.h: Update #endif comments.
16350         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16351         * posix/glob.h [__USE_MISC]: Likewise.
16352         * posix/sys/types.h: Update #endif comments.
16353         [__USE_MISC]: Remove redundant conditionals.
16354         * posix/sys/wait.h: Update #endif comments.
16355         [__USE_MISC]: Remove redundant conditionals.
16356         * posix/unistd.h: Update #endif comments.
16357         [__USE_MISC]: Remove redundant conditionals.
16358         * pwd/pwd.h [__USE_GNU]: Likewise.
16359         [__USE_MISC]: Likewise.
16360         * resolv/netdb.h [__USE_GNU]: Likewise.
16361         * signal/signal.h: Update #endif comments.
16362         [__USE_MISC]: Remove redundant conditionals.
16363         * stdlib/stdlib.h: Update #else and #endif comments.
16364         [__USE_MISC]: Remove redundant conditionals.
16365         [__USE_GNU]: Likewise.
16366         * string/bits/string2.h [__USE_MISC]: Likewise.
16367         * string/string.h: Update #endif comments.
16368         [__USE_MISC]: Remove redundant conditionals.
16369         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16370         Likewise.
16371         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16372         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16373         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16374         Likewise.
16375         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16376         Likewise.
16377         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16378         comments.
16379         [__USE_MISC]: Remove redundant conditionals.
16380         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16381         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16382         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16383         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16384         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16385         Likewise.
16386         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16387         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16388         Likewise.
16389         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16390         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16391         Likewise.
16392         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16393         Likewise.
16394         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16395         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16396         Likewise.
16397         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16398         Likewise.
16399         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16400         * sysdeps/x86/bits/string.h: Update #endif comments.
16401         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16402         conditionals.
16403         * time/sys/time.h: Update #endif comments.
16404         * time/time.h: Likewise.
16405         [__USE_MISC]: Remove redundant conditionals.
16407 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
16409         [BZ #16600]
16410         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16412 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
16414         * Versions.def (librt): Add GLIBC_2.17.
16416 2014-02-21  Adam Conrad  <adconrad@0c3.net>
16418         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16419         synonym for _SYS_AUXV_H to allow direct inclusion.
16420         * sysdeps/sparc/bits/hwcap.h: Likewise.
16421         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16422         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16423         * sysdeps/sparc/sysdep.h: Likewise.
16425 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16427         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16429 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16431         * benchtests/bench-strrchr.c: Print length instead of position.
16433 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
16435         [BZ #16611]
16436         * sysdeps/unix/sysv/linux/kernel-features.h
16437         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16438         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16439         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16440         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16441         Likewise.
16442         [__i386__ || __powerpc__ || __sh__ || __sparc__]
16443         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16444         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16445         (__ASSUME_SENDMMSG): Define instead of using previous
16446         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16447         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16448         (__ASSUME_SENDMMSG_SYSCALL): Define.
16449         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16450         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16451         Likewise.
16452         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16453         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16454         Likewise.
16455         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16456         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16457         Likewise.
16458         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16459         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16460         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16461         [__ASSUME_SENDMMSG]: Change conditionals to
16462         [__ASSUME_SENDMMSG_SOCKETCALL].
16463         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16464         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16465         Define.
16466         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16467         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16468         Likewise.
16469         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16470         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16471         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16472         [!__ASSUME_SENDMMSG]: Change conditional to
16473         [!__ASSUME_SENDMMSG_SOCKETCALL].
16474         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16475         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16476         Define.
16478         [BZ #16610]
16479         * sysdeps/unix/sysv/linux/kernel-features.h
16480         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16481         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16482         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16483         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16484         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16485         [__i386__ || __sparc__]
16486         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16487         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16488         (__ASSUME_RECVMMSG): Define instead of using previous
16489         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16490         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16491         (__ASSUME_RECVMMSG_SYSCALL): Define.
16492         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16493         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16494         Likewise.
16495         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16496         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16497         Likewise.
16498         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16499         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16500         Likewise.
16501         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16502         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16503         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16504         [__ASSUME_RECVMMSG]: Change condition to
16505         [__ASSUME_RECVMMSG_SOCKETCALL].
16506         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16507         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16508         Define.
16509         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16510         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16511         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16512         Likewise.
16513         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16514         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16515         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16516         [!__ASSUME_RECVMMSG]: Change condition to
16517         [!__ASSUME_RECVMMSG_SOCKETCALL].
16518         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16519         (__ASSUME_RECVMMSG_SYSCALL): Define.
16521         [BZ #16609]
16522         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16523         __powerpc__ || __s390__ || __sh__ || __sparc__]
16524         (__ASSUME_SOCKETCALL): Define.
16525         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16526         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16527         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16528         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16529         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16530         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16531         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16532         (__ASSUME_ACCEPT4): Define instead of using previous
16533         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16534         __powerpc__ || __sparc__ || __s390__)] condition.
16535         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16536         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16537         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16538         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16539         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16540         [!__ASSUME_ACCEPT4]: Change condition to
16541         [!__ASSUME_ACCEPT4_SOCKETCALL].
16542         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16543         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
16544         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16545         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16546         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16547         __ASSUME_ACCEPT4_SYSCALL.
16548         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16549         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16550         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16551         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16552         __ASSUME_ACCEPT4_SYSCALL.
16553         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16554         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16555         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16556         [__ASSUME_ACCEPT4]: Change condition to
16557         [__ASSUME_ACCEPT4_SOCKETCALL].
16558         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16559         (__ASSUME_SOCKETCALL): Define.
16560         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16561         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16562         (__ASSUME_SOCKETCALL): Define.
16563         (__ASSUME_ACCEPT4): Remove.
16564         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16565         Define.
16566         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16567         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16568         Likewise.
16569         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16570         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16572         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16573         macro.
16574         (HWCAP_ARM_LPAE): Likewise.
16575         (HWCAP_ARM_EVTSTRM): Likewise.
16576         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16577         Add vpfd32, lpae and evtstrm.
16578         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16579         Increase to 22.
16581 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
16583         * math/auto-libm-test-in: Add tests of clog10.
16584         * math/auto-libm-test-out: Regenerated.
16585         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16586         * sysdeps/i386/fpu/libm-test-ulps: Update.
16587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16589 2014-02-18  Andreas Schwab  <schwab@suse.de>
16591         [BZ #16574]
16592         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16593         Store non-zero if the second buffer was newly allocated.
16594         (send_dg): Likewise.
16595         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16596         to send_vc and send_dg.
16597         (res_nsend): Pass NULL for ansp2_malloced.
16598         * resolv/res_query.c (__libc_res_nquery): Add parameter
16599         answerp2_malloced and pass it down to __libc_res_nsend.
16600         (res_nquery): Pass additional NULL to __libc_res_nquery.
16601         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16602         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
16603         second answer buffer if answerp2_malloced was set.
16604         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16605         (__libc_res_nquerydomain): Add parameter
16606         answerp2_malloced and pass it down to __libc_res_nquery.
16607         (res_nquerydomain): Pass additional NULL to
16608         __libc_res_nquerydomain.
16609         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16610         additional NULL to __libc_res_nsend and __libc_res_nquery.
16611         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16612         additional NULL to __libc_res_nsearch.
16613         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
16614         parameter of __libc_res_nsearch to check for separately allocated
16615         second buffer.
16616         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16617         __libc_res_nquery.
16618         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16619         additional NULL to __libc_res_nquery.
16620         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16621         __libc_res_nsearch.
16622         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16623         * include/resolv.h: Update prototypes of __libc_res_nquery,
16624         __libc_res_nsearch, __libc_res_nsend.
16626 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
16628         * math/auto-libm-test-in: Add tests of fma.
16629         * math/auto-libm-test-out: Regenerated.
16630         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16631         (fma_towardzero_test_data): Likewise.
16632         (fma_downward_test_data): Likewise.
16633         (fma_upward_test_data): Likewise.
16634         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16635         mpc_mode.
16636         (rounding_modes): Add values for new field.
16637         (func_calc_method): Add value mpfr_fff_f.
16638         (func_calc_desc): Add mpfr_fff_f union field.
16639         (test_function): Add field exact_args.
16640         (FUNC): Add macro argument EXACT_ARGS.
16641         (FUNC_mpfr_f_f): Update call to FUNC.
16642         (FUNC_mpfr_f_f): Likewise.
16643         (FUNC_mpfr_ff_f): Likewise.
16644         (FUNC_mpfr_if_f): Likewise.
16645         (FUNC_mpc_c_f): Likewise.
16646         (FUNC_mpc_c_c): Likewise.
16647         (test_functions): Add fma.  Update calls to FUNC.
16648         (handle_input_arg): Add argument exact_args.
16649         (add_test): Update call to handle_input_arg.
16650         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
16651         (output_for_one_input_case): Update call to calc_generic_results.
16652         Recalculate exact zero results in each rounding mode.
16654         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16655         non-negative before setting low bit.
16656         * math/auto-libm-test-in: Mark one asin test possibly having
16657         spurious underflow.
16658         * math/auto-libm-test-out: Regenerated.
16659         * sysdeps/i386/fpu/libm-test-ulps: Update.
16660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16662 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
16664         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16665         * sysdeps/unix/sysv/linux/microblaze: Move directory from
16666         ports/sysdeps/unix/sysv/linux/microblaze.
16667         * README: Add missing listing for microblaze*-*-linux-gnu.
16669 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
16671         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16672         duplicate code
16674 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
16676         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16677         * sysdeps/unix/sysv/linux/ia64: Move directory from
16678         ports/sysdeps/unix/sysv/linux/ia64.
16679         * README: Update listing for ia64-*-linux-gnu.
16681 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
16682             Joseph Myers  <joseph@codesourcery.com>
16684         * Makeconfig (test-name): New variable.
16685         (evaluate-test): Likewise.
16686         * Makerules (do-test-clean): Remove .test-result files.
16687         (common-mostlyclean): Likewise.
16688         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16689         * scripts/evaluate-test.sh: New file.
16691 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
16693         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16694         separate $(objpfx)tst-fopenloc-cmp.out and
16695         $(objpfx)tst-fopenloc-mem.out targets.
16696         (tests): Update dependencies.
16697         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16698         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16699         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16700         (tst-rxspencer-no-utf8-ARGS): New variable.
16701         (tst-rxspencer-no-utf8-ENV): Likewise.
16702         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16703         instead of $(objpfx)tst-rxspencer-mem.
16704         ($(objpfx)tst-rxspencer-mem): Change target to
16705         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
16706         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16707         * posix/tst-rxspencer-no-utf8.c: New file.
16709         * elf/Makefile ($(objpfx)order.out): Remove rule.
16710         [$(run-built-tests) = yes] (tests): Depend on
16711         $(objpfx)order-cmp.out.
16712         ($(objpfx)order-cmp.out): New rule.
16713         [$(run-built-tests) = yes] (tests): Depend on
16714         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16715         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16716         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16717         $(objpfx)tst-array5-static-cmp.out.
16718         ($(objpfx)tst-array1.out): Remove rule.
16719         ($(objpfx)tst-array1-cmp.out): New rule.
16720         ($(objpfx)tst-array1-static.out): Remove rule.
16721         ($(objpfx)tst-array1-static-cmp.out): New rule.
16722         ($(objpfx)tst-array2.out): Remove rule.
16723         ($(objpfx)tst-array2-cmp.out): New rule.
16724         ($(objpfx)tst-array3.out): Remove rule.
16725         ($(objpfx)tst-array3-cmp.out): New rule.
16726         ($(objpfx)tst-array4.out): Remove rule.
16727         ($(objpfx)tst-array4-cmp.out): New rule.
16728         ($(objpfx)tst-array5.out): Remove rule.
16729         ($(objpfx)tst-array5-cmp.out): New rule.
16730         ($(objpfx)tst-array5-static.out): Remove rule.
16731         ($(objpfx)tst-array5-static-cmp.out): New rule.
16732         [$(run-built-tests) = yes] (tests): Depend on
16733         $(objpfx)order2-cmp.out.
16734         ($(objpfx)order2.out): Remove rule.
16735         ($(objpfx)order2-cmp.out): New rule.
16736         ($(objpfx)tst-initorder.out): Remove rule.
16737         [$(run-built-tests) = yes] (tests): Depend on
16738         $(objpfx)tst-initorder-cmp.out.
16739         ($(objpfx)tst-initorder-cmp.out): New rule.
16740         ($(objpfx)tst-initorder2.out): Remove rule.
16741         [$(run-built-tests) = yes] (tests): Depend on
16742         $(objpfx)tst-initorder2-cmp.out.
16743         ($(objpfx)tst-initorder2-cmp.out): New rule.
16744         [$(run-built-tests) = yes] (tests): Depend on
16745         $(objpfx)tst-unused-dep-cmp.out.
16746         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16747         ($(objpfx)tst-unused-dep-cmp.out): New rule.
16748         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16749         on $(objpfx)tst-setvbuf1-cmp.out.
16750         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16751         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16752         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16753         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16754         ($(objpfx)tst-svc.out): Remove rule.
16755         ($(objpfx)tst-svc-cmp.out): New rule.
16757 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
16759         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16760         * ctype/ctype.h [__USE_MISC]: Likewise.
16761         * dirent/dirent.h [__USE_MISC]: Likewise.
16762         * grp/grp.h [__USE_MISC]: Likewise.
16763         * io/fcntl.h [__USE_MISC]: Likewise.
16764         * io/sys/stat.h [__USE_MISC]: Likewise.
16765         * libio/stdio.h [__USE_MISC]: Likewise.
16766         * posix/unistd.h [__USE_MISC]: Likewise.
16767         * pwd/pwd.h [__USE_MISC]: Likewise.
16768         * stdlib.h [__USE_MISC]: Likewise.
16769         * string/bits/string2.h [__USE_MISC]: Likewise.
16770         * string/string.h [__USE_MISC]: Likewise.
16771         * time/time.h [__USE_MISC]: Likewise.
16773 2014-02-13  Andreas Schwab  <schwab@suse.de>
16775         [BZ #16574]
16776         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16777         second answer buffer if it was separately allocated.
16779 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
16781         * sysdeps/mips/math-tests.h: Include <features.h>.
16782         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16783         (ROUNDING_TESTS_long_double): Do not define.
16784         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16785         (EXCEPTION_TESTS_long_double): Likewise.
16786         * sysdeps/mips/mips64/libm-test-ulps: Update.
16788         * include/features.h (__USE_BSD): Remove macro definitions.
16789         (__USE_SVID): Likewise.
16790         (_BSD_SOURCE): Likewise.
16791         (_SVID_SOURCE): Likewise.
16792         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16793         from definition of _DEFAULT_SOURCE.
16794         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16795         [_DEFAULT_SOURCE].
16796         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16797         * bits/mman.h [__USE_BSD]: Likewise.
16798         * bits/termios.h [__USE_BSD]: Likewise.
16799         * bits/waitstatus.h [__USE_BSD]: Likewise.
16800         * ctype/ctype.h [__USE_SVID]: Likewise.
16801         * dirent/dirent.h [__USE_BSD]: Likewise.
16802         * grp/grp.h [__USE_SVID]: Likewise.
16803         [__USE_BSD]: Likewise.
16804         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16805         * io/fcntl.h [__USE_BSD]: Likewise.
16806         * io/ftw.h [__USE_BSD]: Likewise.
16807         * io/sys/stat.h [__USE_BSD]: Likewise.
16808         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16809         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16810         * libio/stdio.h [__USE_SVID]: Likewise.
16811         [__USE_BSD]: Likewise.
16812         * math/math.h [__USE_SVID]: Likewise.
16813         [__USE_BSD]: Likewise.
16814         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16815         * misc/bits/syslog.h [__USE_BSD]: Likewise.
16816         * misc/search.h [__USE_SVID]: Likewise.
16817         * misc/sys/mman.h [__USE_BSD]: Likewise.
16818         * misc/sys/syslog.h [__USE_BSD]: Likewise.
16819         * misc/sys/uio.h [__USE_BSD]: Likewise.
16820         * posix/bits/unistd.h [__USE_BSD]: Likewise.
16821         * posix/glob.h [__USE_BSD]: Likewise.
16822         * posix/regex.h [__USE_BSD]: Likewise.
16823         * posix/sys/types.h [__USE_BSD]: Likewise.
16824         [__USE_SVID]: Likewise.
16825         * posix/sys/utsname.h [__USE_SVID]: Likewise.
16826         * posix/sys/wait.h [__USE_BSD]: Likewise.
16827         [__USE_SVID]: Likewise.
16828         * posix/unistd.h [__USE_BSD]: Likewise.
16829         [__USE_SVID]: Likewise.
16830         * pwd/pwd.h [__USE_SVID]: Likewise.
16831         * resolv/netdb.h [__USE_BSD]: Likewise.
16832         * setjmp/setjmp.h [__USE_BSD]: Likewise.
16833         * signal/signal.h [__USE_BSD]: Likewise.
16834         [__USE_SVID]: Likewise.
16835         * socket/sys/socket.h [__USE_BSD]: Likewise.
16836         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16837         * stdlib/stdlib.h [__USE_BSD]: Likewise.
16838         [__USE_SVID]: Likewise.
16839         * string/bits/string2.h [__USE_BSD]: Likewise.
16840         [__USE_SVID]: Likewise.
16841         * string/bits/string3.h [__USE_BSD]: Likewise.
16842         * string/endian.h [__USE_BSD]: Likewise.
16843         * string/string.h [__USE_SVID]: Likewise.
16844         [__USE_BSD]: Likewise.
16845         * string/strings.h [__USE_BSD]: Likewise.
16846         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16847         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16848         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16849         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16850         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16851         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16852         Likewise.
16853         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16854         Likewise.
16855         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16856         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16857         Likewise.
16858         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16859         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16860         Likewise.
16861         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16862         Likewise.
16863         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16864         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16865         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16866         Likewise.
16867         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16868         Likewise.
16869         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16870         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16871         * termios/termios.h [__USE_BSD]: Likewise.
16872         * time/sys/time.h [__USE_BSD]: Likewise.
16873         * time/time.h [__USE_BSD]: Likewise.
16874         [__USE_SVID]: Likewise.
16876         * Makefile (subdir_targets): Remove subdir_lint.out.
16878         * stdio-common/Makefile (do-tst-unbputc): Remove target.
16879         (do-tst-printf): Likewise.
16880         (tests): Depend directly on $(objpfx)tst-unbputc.out and
16881         $(objpfx)tst-printf.out.
16883         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16885         * Makerules (check-abi-%): Change target to
16886         $(objpfx)check-abi-%.out.
16887         (check-abi target): Update dependencies.
16888         (check-abi-pattern variable): Redirect output of diff to $@.
16889         (check-abi variable): Likewise.
16890         * elf/Makefile (check-abi): Update dependencies.
16892         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16893         unused.
16894         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16895         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16896         subnormal range.
16897         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16898         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16899         value has largest subnormal exponent.
16900         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16901         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16902         * sysdeps/aarch64/soft-fp/sfp-machine.h
16903         (_FP_TININESS_AFTER_ROUNDING): New macro.
16904         * sysdeps/alpha/soft-fp/sfp-machine.h
16905         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16906         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16907         Likewise.
16908         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16909         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16910         * sysdeps/mips/soft-fp/sfp-machine.h
16911         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16912         * sysdeps/powerpc/soft-fp/sfp-machine.h
16913         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16914         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16915         Likewise.
16916         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16917         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16918         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16919         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16920         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16921         Likewise.
16923 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
16925         [BZ #16545]
16926         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16927         model 1.
16929 2014-02-12  Richard Henderson  <rth@redhat.com>
16931         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16932         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16933         * sysdeps/unix/sysv/linux/alpha: Move directory from
16934         ports/sysdeps/unix/sysv/linux/alpha.
16935         * README: Update listing for alpha-*-linux-gnu.
16937 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
16939         * include/features.h: Update comment documenting feature test
16940         macros.
16941         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
16942         _DEFAULT_SOURCE.
16943         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16944         (_SVID_SOURCE): Likewise.
16945         (_DEFAULT_SOURCE): Update description of default features.
16946         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16947         with _GNU_SOURCE.
16948         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16949         (S_ISVTX): Likewise.
16950         * manual/math.texi (Mathematical Constants): Likewise.
16951         * manual/signal.texi (Interrupted Primitives): Likewise.
16952         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16953         * math/test-matherr.c (_SVID_SOURCE): Do not define.
16954         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16955         Don't refer to _SVID_SOURCE in warning text.
16957         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16959         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16960         already defined.
16961         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16962         * sysdeps/mips/dl-lookup.c: Remove.
16963         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16965 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16967         [BZ #16447]
16968         * math/auto-libm-test-in: Add testcase for expl.
16969         * math/auto-libm-test-out: Regenerate.
16970         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16971         calculation of unsafe.
16972         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16974 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16976         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16977         * sysdeps/unix/sysv/linux/aarch64: Move directory from
16978         ports/sysdeps/unix/sysv/linux/aarch64.
16979         * README: Update listing for aarch64*-*-linux-gnu.
16981 2014-02-11  Will Newton  <will.newton@linaro.org>
16983         * manual/probes.texi (Mathematical Function Probes): Use
16984         "triggered" instead of "hit".
16986         * manual/probes.texi (Internal Probes): Add documentation
16987         of setjmp, longjmp and longjmp_target probes.
16989         * include/stap-probe.h: Add comment about probe argument
16990         format.
16992         * malloc/mtrace.c (attribute_hidden): Remove unused macro
16993         definition.  (tr_where, tr_freehook, tr_mallochook,
16994         tr_reallochook, tr_memalignhook): Use ANSI protoype.
16996 2014-02-11  David S. Miller  <davem@davemloft.net>
16998         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16999         processing int_tests.
17001 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
17003         * sysdeps/mips: Move directory from ports/sysdeps/mips.
17004         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17005         * sysdeps/unix/sysv/linux/mips: Move directory from
17006         ports/sysdeps/unix/sysv/linux/mips.
17007         * README: Update listing for mips-*-linux-gnu and
17008         mips64-*-linux-gnu.
17010 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
17012         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17013         * sysdeps/unix/sysv/linux/m68k: Move directory from
17014         ports/sysdeps/unix/sysv/linux/m68k.
17015         * README: Update listing for m68k-*-linux-gnu.
17017 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
17019         * sysdeps/tile: Move directory from ports/sysdeps/tile.
17020         * sysdeps/unix/sysv/linux/generic: Move directory from
17021         ports/sysdeps/unix/sysv/linux/generic.
17022         * sysdeps/unix/sysv/linux/tile: Move directory from
17023         ports/sysdeps/unix/sysv/linux/tile.
17024         * README: Update listing for tile*-*-linux-gnu.
17026 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
17028         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17029         __builtin_expect.
17030         * benchtests/bench-memmem.c (simple_memmem): Likewise.
17031         * catgets/open_catalog.c (__open_catalog): Likewise.
17032         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17033         * debug/confstr_chk.c: Likewise.
17034         * debug/fread_chk.c (__fread_chk): Likewise.
17035         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17036         * debug/getgroups_chk.c: Likewise.
17037         * debug/mbsnrtowcs_chk.c: Likewise.
17038         * debug/mbsrtowcs_chk.c: Likewise.
17039         * debug/mbstowcs_chk.c: Likewise.
17040         * debug/memcpy_chk.c: Likewise.
17041         * debug/memmove_chk.c: Likewise.
17042         * debug/mempcpy_chk.c: Likewise.
17043         * debug/memset_chk.c: Likewise.
17044         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17045         * debug/strcat_chk.c (__strcat_chk): Likewise.
17046         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17047         * debug/strncat_chk.c (__strncat_chk): Likewise.
17048         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17049         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17050         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17051         * debug/wcpncpy_chk.c: Likewise.
17052         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17053         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17054         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17055         * debug/wcsncpy_chk.c: Likewise.
17056         * debug/wcsnrtombs_chk.c: Likewise.
17057         * debug/wcsrtombs_chk.c: Likewise.
17058         * debug/wcstombs_chk.c: Likewise.
17059         * debug/wmemcpy_chk.c: Likewise.
17060         * debug/wmemmove_chk.c: Likewise.
17061         * debug/wmempcpy_chk.c: Likewise.
17062         * debug/wmemset_chk.c: Likewise.
17063         * dirent/scandirat.c (SCANDIRAT): Likewise.
17064         * dlfcn/dladdr1.c (dladdr1): Likewise.
17065         * dlfcn/dladdr.c (dladdr): Likewise.
17066         * dlfcn/dlclose.c (dlclose_doit): Likewise.
17067         * dlfcn/dlerror.c (__dlerror): Likewise.
17068         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17069         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17070         * dlfcn/dlopen.c (dlopen_doit): Likewise.
17071         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17072         * dlfcn/dlsym.c (dlsym_doit): Likewise.
17073         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17074         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17075         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17076         Likewise.
17077         * elf/dl-conflict.c: Likewise.
17078         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17079         * elf/dl-dst.h: Likewise.
17080         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17081         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17082         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17083         * elf/dl-init.c (call_init, _dl_init): Likewise.
17084         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17085         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17086         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17087         Likewise.
17088         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17089         Likewise.
17090         * elf/dl-minimal.c (__libc_memalign): Likewise.
17091         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17092         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17093         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17094         * elf/dl-sym.c (do_sym): Likewise.
17095         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17096         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17097         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17098         * elf/dl-writev.h (_dl_writev): Likewise.
17099         * elf/ldconfig.c (search_dir): Likewise.
17100         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17101         (dl_main): Likewise.
17102         * elf/setup-vdso.h (setup_vdso): Likewise.
17103         * grp/compat-initgroups.c (compat_call): Likewise.
17104         * grp/fgetgrent.c (fgetgrent): Likewise.
17105         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17106         * grp/putgrent.c (putgrent): Likewise.
17107         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17108         Likewise.
17109         * hurd/hurdinit.c: Likewise.
17110         * iconvdata/8bit-gap.c (struct): Likewise.
17111         * iconvdata/ansi_x3.110.c : Likewise.
17112         * iconvdata/big5.c : Likewise.
17113         * iconvdata/big5hkscs.c : Likewise.
17114         * iconvdata/cp1255.c: Likewise.
17115         * iconvdata/cp1258.c : Likewise.
17116         * iconvdata/cp932.c : Likewise.
17117         * iconvdata/euc-cn.c: Likewise.
17118         * iconvdata/euc-jisx0213.c : Likewise.
17119         * iconvdata/euc-jp.c: Likewise.
17120         * iconvdata/euc-jp-ms.c : Likewise.
17121         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17122         * iconvdata/gb18030.c : Likewise.
17123         * iconvdata/gbbig5.c (const): Likewise.
17124         * iconvdata/gbgbk.c: Likewise.
17125         * iconvdata/gbk.c : Likewise.
17126         * iconvdata/ibm1364.c : Likewise.
17127         * iconvdata/ibm930.c : Likewise.
17128         * iconvdata/ibm932.c: Likewise.
17129         * iconvdata/ibm933.c : Likewise.
17130         * iconvdata/ibm935.c : Likewise.
17131         * iconvdata/ibm937.c : Likewise.
17132         * iconvdata/ibm939.c : Likewise.
17133         * iconvdata/ibm943.c: Likewise.
17134         * iconvdata/iso_11548-1.c: Likewise.
17135         * iconvdata/iso-2022-cn.c : Likewise.
17136         * iconvdata/iso-2022-cn-ext.c : Likewise.
17137         * iconvdata/iso-2022-jp-3.c: Likewise.
17138         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17139         * iconvdata/iso-2022-kr.c : Likewise.
17140         * iconvdata/iso646.c (gconv_end): Likewise.
17141         * iconvdata/iso_6937-2.c : Likewise.
17142         * iconvdata/iso_6937.c : Likewise.
17143         * iconvdata/iso8859-1.c: Likewise.
17144         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17145         * iconvdata/shift_jisx0213.c : Likewise.
17146         * iconvdata/sjis.c : Likewise.
17147         * iconvdata/t.61.c : Likewise.
17148         * iconvdata/tcvn5712-1.c : Likewise.
17149         * iconvdata/tscii.c: Likewise.
17150         * iconvdata/uhc.c : Likewise.
17151         * iconvdata/unicode.c (gconv_end): Likewise.
17152         * iconvdata/utf-16.c (gconv_end): Likewise.
17153         * iconvdata/utf-32.c (gconv_end): Likewise.
17154         * iconvdata/utf-7.c (base64): Likewise.
17155         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17156         * iconv/gconv_close.c (__gconv_close): Likewise.
17157         * iconv/gconv_open.c (__gconv_open): Likewise.
17158         * iconv/gconv_simple.c (internal_ucs4_loop_single)
17159         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17160         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17161         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17162         (ucs4le_internal_loop_single): Likewise.
17163         * iconv/iconv.c (iconv): Likewise.
17164         * iconv/iconv_close.c: Likewise.
17165         * iconv/loop.c (SINGLE): Likewise.
17166         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17167         * include/atomic.h: Likewise.
17168         * inet/inet6_option.c (option_alloc): Likewise.
17169         * intl/bindtextdom.c (set_binding_values): Likewise.
17170         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17171         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17172         * intl/localealias.c (read_alias_file): Likewise.
17173         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17174         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17175         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17176         * libio/fmemopen.c (fmemopen): Likewise.
17177         * libio/iofgets.c (_IO_fgets): Likewise.
17178         * libio/iofgets_u.c (fgets_unlocked): Likewise.
17179         * libio/iofgetws.c (fgetws): Likewise.
17180         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17181         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17182         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17183         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17184         * locale/findlocale.c (_nl_find_locale): Likewise.
17185         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17186         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17187         Likewise.
17188         * locale/setlocale.c (setlocale): Likewise.
17189         * login/programs/pt_chown.c (main): Likewise.
17190         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17191         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17192         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17193         (mmap, mmap64, mremap, munmap): Likewise.
17194         * math/e_exp2l.c: Likewise.
17195         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17196         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17197         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17198         * math/s_catan.c (__catan): Likewise.
17199         * math/s_catanf.c (__catanf): Likewise.
17200         * math/s_catanh.c (__catanh): Likewise.
17201         * math/s_catanhf.c (__catanhf): Likewise.
17202         * math/s_catanhl.c (__catanhl): Likewise.
17203         * math/s_catanl.c (__catanl): Likewise.
17204         * math/s_ccosh.c (__ccosh): Likewise.
17205         * math/s_ccoshf.c (__ccoshf): Likewise.
17206         * math/s_ccoshl.c (__ccoshl): Likewise.
17207         * math/s_cexp.c (__cexp): Likewise.
17208         * math/s_cexpf.c (__cexpf): Likewise.
17209         * math/s_cexpl.c (__cexpl): Likewise.
17210         * math/s_clog10.c (__clog10): Likewise.
17211         * math/s_clog10f.c (__clog10f): Likewise.
17212         * math/s_clog10l.c (__clog10l): Likewise.
17213         * math/s_clog.c (__clog): Likewise.
17214         * math/s_clogf.c (__clogf): Likewise.
17215         * math/s_clogl.c (__clogl): Likewise.
17216         * math/s_csin.c (__csin): Likewise.
17217         * math/s_csinf.c (__csinf): Likewise.
17218         * math/s_csinh.c (__csinh): Likewise.
17219         * math/s_csinhf.c (__csinhf): Likewise.
17220         * math/s_csinhl.c (__csinhl): Likewise.
17221         * math/s_csinl.c (__csinl): Likewise.
17222         * math/s_csqrt.c (__csqrt): Likewise.
17223         * math/s_csqrtf.c (__csqrtf): Likewise.
17224         * math/s_csqrtl.c (__csqrtl): Likewise.
17225         * math/s_ctan.c (__ctan): Likewise.
17226         * math/s_ctanf.c (__ctanf): Likewise.
17227         * math/s_ctanh.c (__ctanh): Likewise.
17228         * math/s_ctanhf.c (__ctanhf): Likewise.
17229         * math/s_ctanhl.c (__ctanhl): Likewise.
17230         * math/s_ctanl.c (__ctanl): Likewise.
17231         * math/w_pow.c: Likewise.
17232         * math/w_powf.c: Likewise.
17233         * math/w_powl.c: Likewise.
17234         * math/w_scalb.c (sysv_scalb): Likewise.
17235         * math/w_scalbf.c (sysv_scalbf): Likewise.
17236         * math/w_scalbl.c (sysv_scalbl): Likewise.
17237         * misc/error.c (error_tail): Likewise.
17238         * misc/pselect.c (__pselect): Likewise.
17239         * nis/nis_callback.c (__nis_create_callback): Likewise.
17240         * nis/nis_call.c (__nisfind_server): Likewise.
17241         * nis/nis_creategroup.c (nis_creategroup): Likewise.
17242         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17243         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17244         * nis/nis_getservlist.c (nis_getservlist): Likewise.
17245         * nis/nis_lookup.c (nis_lookup): Likewise.
17246         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17247         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17248         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17249         * nis/nis_xdr.c (xdr_endpoint): Likewise.
17250         * nis/nss_compat/compat-grp.c (getgrent_next_file)
17251         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17252         * nis/nss_compat/compat-initgroups.c (add_group)
17253         (internal_getgrent_r): Likewise.
17254         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17255         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17256         * nis/nss_compat/compat-spwd.c (getspent_next_file)
17257         (internal_getspnam_r): Likewise.
17258         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17259         (_nss_nis_getaliasbyname_r): Likewise.
17260         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17261         (_nss_nis_getntohost_r): Likewise.
17262         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17263         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17264         (_nss_nis_getgrgid_r): Likewise.
17265         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17266         (internal_nis_gethostent_r, internal_gethostbyname2_r)
17267         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17268         (_nss_nis_gethostbyname4_r): Likewise.
17269         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17270         (initgroups_netid): Likewise.
17271         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17272         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17273         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17274         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17275         (_nss_nis_getprotobynumber_r): Likewise.
17276         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17277         (_nss_nis_getsecretkey): Likewise.
17278         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17279         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17280         (_nss_nis_getpwuid_r): Likewise.
17281         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17282         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17283         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17284         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17285         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17286         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17287         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17288         Likewise.
17289         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17290         (_nss_nisplus_getntohost_r): Likewise.
17291         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17292         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17293         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17294         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17295         Likewise.
17296         * nis/nss_nisplus/nisplus-initgroups.c
17297         (_nss_nisplus_initgroups_dyn): Likewise.
17298         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17299         (_nss_nisplus_getnetbyaddr_r): Likewise.
17300         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17301         (_nss_nisplus_getprotobynumber_r): Likewise.
17302         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17303         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17304         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17305         Likewise.
17306         * nis/nss_nisplus/nisplus-service.c
17307         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17308         (_nss_nisplus_getservbyport_r): Likewise.
17309         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17310         (_nss_nisplus_getspnam_r): Likewise.
17311         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17312         Likewise.
17313         * nscd/aicache.c (addhstaiX): Likewise.
17314         * nscd/cache.c (cache_search, prune_cache): Likewise.
17315         * nscd/connections.c (register_traced_file, send_ro_fd)
17316         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17317         (main_loop_epoll): Likewise.
17318         * nscd/grpcache.c (addgrbyX): Likewise.
17319         * nscd/hstcache.c (addhstbyX): Likewise.
17320         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17321         * nscd/mem.c (gc, mempool_alloc): Likewise.
17322         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17323         (addinnetgrX): Likewise.
17324         * nscd/nscd-client.h (__nscd_acquire_maplock)
17325         (__nscd_drop_map_ref): Likewise.
17326         * nscd/nscd_getai.c (__nscd_getai): Likewise.
17327         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17328         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17329         Likewise.
17330         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17331         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17332         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17333         (__nscd_get_map_ref): Likewise.
17334         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17335         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17336         Likewise.
17337         * nscd/pwdcache.c (addpwbyX): Likewise.
17338         * nscd/selinux.c (preserve_capabilities): Likewise.
17339         * nscd/servicescache.c (addservbyX): Likewise.
17340         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17341         * posix/fnmatch.c (fnmatch): Likewise.
17342         * posix/getopt.c (_getopt_internal_r): Likewise.
17343         * posix/glob.c (glob, glob_in_dir): Likewise.
17344         * posix/wordexp.c (exec_comm_child): Likewise.
17345         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17346         (getanswer_r, gaih_getanswer_slice): Likewise.
17347         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17348         * resolv/res_init.c: Likewise.
17349         * resolv/res_mkquery.c (res_nmkquery): Likewise.
17350         * resolv/res_query.c (__libc_res_nquery): Likewise.
17351         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17352         Likewise.
17353         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17354         * stdio-common/perror.c (perror): Likewise.
17355         * stdio-common/printf_fp.c (___printf_fp): Likewise.
17356         * stdio-common/tmpnam.c (tmpnam): Likewise.
17357         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17358         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17359         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17360         Likewise.
17361         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17362         * stdlib/putenv.c (putenv): Likewise.
17363         * stdlib/setenv.c (__add_to_environ): Likewise.
17364         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17365         * stdlib/strtol_l.c (INTERNAL): Likewise.
17366         * string/memmem.c (memmem): Likewise.
17367         * string/strerror.c (strerror): Likewise.
17368         * string/strnlen.c (__strnlen): Likewise.
17369         * string/test-memmem.c (simple_memmem): Likewise.
17370         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17371         * sunrpc/pm_getport.c (__get_socket): Likewise.
17372         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17373         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17374         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17375         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17376         Likewise.
17377         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17378         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17379         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17380         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17381         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17382         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17383         Likewise.
17384         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17385         Likewise.
17386         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17387         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17388         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17389         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17390         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17391         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17392         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17393         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17394         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17395         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17396         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17397         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17398         Likewise.
17399         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17400         Likewise.
17401         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17402         Likewise.
17403         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17404         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17405         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17406         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17407         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17408         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17409         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17410         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17411         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17412         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17413         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17414         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17415         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17416         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17417         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17418         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17419         Likewise.
17420         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17421         Likewise.
17422         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17423         Likewise.
17424         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17425         Likewise.
17426         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17427         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17428         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17429         Likewise.
17430         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17431         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17432         * sysdeps/posix/opendir.c (__opendirat): Likewise.
17433         * sysdeps/posix/sleep.c: Likewise.
17434         * sysdeps/posix/tempname.c: Likewise.
17435         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17436         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17437         Likewise.
17438         * sysdeps/powerpc/powerpc32/dl-machine.h
17439         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17440         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17441         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17442         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17443         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17444         Likewise.
17445         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17446         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17447         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17448         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17449         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17450         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17451         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17452         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17453         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17454         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17455         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17456         (elf_machine_lazy_rel): Likewise.
17457         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17458         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17459         (elf_machine_lazy_rel): Likewise.
17460         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17461         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17462         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17463         * sysdeps/unix/grantpt.c (grantpt): Likewise.
17464         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17465         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17466         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17467         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17468         Likewise.
17469         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17470         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17471         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17472         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17473         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17474         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17475         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17476         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17477         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17478         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17479         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17480         Likewise.
17481         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17482         (__posix_fallocate64_l64): Likewise.
17483         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17484         (posix_fallocate): Likewise.
17485         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17486         Likewise.
17487         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17488         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17489         (getifaddrs_internal): Likewise.
17490         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17491         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17492         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17493         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17494         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17495         (__posix_fallocate64_l64): Likewise.
17496         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17497         Likewise.
17498         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17499         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17500         (__get_clockfreq): Likewise.
17501         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17502         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17503         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17504         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17505         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17506         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17507         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17508         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17509         Likewise.
17510         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17511         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17512         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17513         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17514         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17515         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17516         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17517         Likewise.
17518         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17519         (posix_fallocate): Likewise.
17520         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17521         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17522         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17523         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17524         (elf_machine_rela, elf_machine_rela_relative)
17525         (elf_machine_lazy_rel): Likewise.
17526         * time/asctime.c (asctime_internal): Likewise.
17527         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17528         * time/tzset.c (__tzset_parse_tz): Likewise.
17529         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17530         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17531         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17532         * wcsmbs/wcsmbsload.h: Likewise.
17534         [BZ #15894]
17535         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17537         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17538         (arena_get2): Remove THREAD_STATS conditionals.
17539         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17540         (__malloc_stats, int): Likewise.
17542 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
17544         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17545         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
17547         * manual/setjmp.texi: Fix typos/grammar errors.
17549         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17550         Only return early when n is <= 0.  Delete unused return statement.
17552         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17553         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17554         * debug/tst-longjmp_chk3.c: New file.
17556         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17557         (test_main): Replace code with set_fortify_handler call.
17558         * debug/test-strcpy_chk.c: Likewise.
17559         * debug/tst-chk1.c: Likewise.
17560         * debug/tst-longjmp_chk.c: Likewise.
17561         * test-skeleton.c: Include fcntl.h & paths.h
17562         (set_fortify_handler): Define.
17564         * debug/tst-longjmp_chk.c: Add header comment and include
17565         ../test-skeleton.c.
17566         (do_test): Mark static.
17567         (TEST_FUNCTION): Define.
17569         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17570         (IP_PMTUDISC_INTERFACE): Likewise.
17571         (IP_MULTICAST_IF): Likewise.
17572         (IP_MULTICAST_TTL): Likewise.
17573         (IP_MULTICAST_LOOP): Likewise.
17574         (IP_ADD_MEMBERSHIP): Likewise.
17575         (IP_DROP_MEMBERSHIP): Likewise.
17576         (IP_UNBLOCK_SOURCE): Likewise.
17577         (IP_BLOCK_SOURCE): Likewise.
17578         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17579         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17580         (IP_MSFILTER): Likewise.
17581         (MCAST_JOIN_GROUP): Likewise.
17582         (MCAST_BLOCK_SOURCE): Likewise.
17583         (MCAST_UNBLOCK_SOURCE): Likewise.
17584         (MCAST_LEAVE_GROUP): Likewise.
17585         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17586         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17587         (MCAST_MSFILTER): Likewise.
17588         (IP_MULTICAST_ALL): Likewise.
17589         (IP_UNICAST_IF): Likewise.
17591         * timezone/Makefile: Delete $(have-ksh) check.
17592         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17593         * timezone/tzselect.ksh: Add +x mode bits.
17595         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17596         (ANON_INODE_FS_MAGIC): Likewise.
17597         (BDEVFS_MAGIC): Likewise.
17598         (BINFMTFS_MAGIC): Likewise.
17599         (BTRFS_TEST_MAGIC): Likewise.
17600         (CRAMFS_MAGIC_WEND): Likewise.
17601         (DEBUGFS_MAGIC): Likewise.
17602         (ECRYPTFS_SUPER_MAGIC): Likewise.
17603         (EXT3_SUPER_MAGIC): Likewise.
17604         (EXT4_SUPER_MAGIC): Likewise.
17605         (FUTEXFS_SUPER_MAGIC): Likewise.
17606         (HOSTFS_SUPER_MAGIC): Likewise.
17607         (HUGETLBFS_MAGIC): Likewise.
17608         (MINIX3_SUPER_MAGIC): Likewise.
17609         (MTD_INODE_FS_MAGIC): Likewise.
17610         (NILFS_SUPER_MAGIC): Likewise.
17611         (OPENPROM_SUPER_MAGIC): Likewise.
17612         (PIPEFS_MAGIC): Likewise.
17613         (PSTOREFS_MAGIC): Likewise.
17614         (QNX6_SUPER_MAGIC): Likewise.
17615         (RAMFS_MAGIC): Likewise.
17616         (REISERFS_SUPER_MAGIC_STRING): Likewise.
17617         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17618         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17619         (SECURITYFS_MAGIC): Likewise.
17620         (SELINUX_MAGIC): Likewise.
17621         (SMACK_MAGIC): Likewise.
17622         (SOCKFS_MAGIC): Likewise.
17623         (SQUASHFS_MAGIC): Likewise.
17624         (STACK_END_MAGIC): Likewise.
17625         (TMPFS_MAGIC): Likewise.
17626         (USBDEVICE_SUPER_MAGIC): Likewise.
17627         (V9FS_MAGIC): Likewise.
17628         (XENFS_SUPER_MAGIC): Likewise.
17629         (CRAMFS_MAGIC): Fix typo in comment.
17630         (EXT2_SUPER_MAGIC): Update comment.
17631         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17633 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
17635         * sysdeps/arm: Move directory from ports/sysdeps/arm.
17636         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17637         * sysdeps/unix/sysv/linux/arm: Move directory from
17638         ports/sysdeps/unix/sysv/linux/arm.
17639         * README: Update listing for arm-*-linux-gnueabi.
17641         * README: Remove mention of am33.
17643 2014-02-07  Roland McGrath  <roland@hack.frob.com>
17645         * bits/sigset.h (__sigemptyset): Use a statement expression rather
17646         than the comma operator, to avoid "rhs of comma has no effect"
17647         compiler warnings.
17648         (__sigfillset, __sigandset, __sigorset): Likewise.
17649         * include/signal.h (__sigemptyset): Likewise.
17650         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17652 2014-02-07  Allan McRae  <allan@archlinux.org>
17654         * version.h (RELEASE): Set to "development".
17655         (VERSION): Set to "2.19.90"
17656         * NEWS: Add 2.20 section.
17658 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
17660         [BZ #16529]
17661         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17663 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17665         * manual/contrib.texi: Update entry for Carlos O'Donell,
17666         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17668 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
17670         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17672         * sysdeps/unix/sysv/linux/kernel-features.h
17673         [__LINUX_KERNEL_VERSION >= 0x020621]
17674         (__ASSUME_PROC_PID_TASK_COMM): Define.
17676 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17678         [BZ #16398]
17679         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17680         conversion when destination buffer does not have enough space.
17681         * libio/tst-ftell-partial-wide.c: New test case.
17682         * libio/Makefile (tests): Add tst-ftell-partial-wide.
17684         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17685         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
17686         Leonard and Allan McRae.
17688 2014-02-04  David S. Miller  <davem@davemloft.net>
17690         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17691         32-bit.
17693 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17696         New file
17697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17698         New file
17699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17700         New file.
17701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17702         New file.
17703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17704         New file.
17705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17706         New file.
17707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17708         New file.
17709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17710         New file.
17711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17712         New file.
17713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17714         New file.
17715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17716         New file.
17717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17718         New file.
17719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17720         New file.
17722 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17724         * nptl/shlib-versions: Change powerpc*le start to 2.17.
17725         * shlib-versions: Likewise.
17727 2014-02-04  Roland McGrath  <roland@hack.frob.com>
17728             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17730         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17731         (abilist-pattern): New variable, set to %-le.abilist.
17733         * Makerules (abilist-pattern): New variable.
17734         (vpath): Use $(abilist-pattern) in place of %.abilist.
17735         (check-abi-% pattern rule): Likewise.
17736         (check-abi, update-abi): Likewise.
17738 2014-02-04  Eric Wong  <normalperson@yhbt.net>
17740         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17742 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
17744         * manual/startup.texi: Add next, previous, and top entries for
17745         the `Program Arguments' and `Environment Variables' nodes.
17747 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
17749         * manual/macros.texi: Add comments before MTASC-safety macros.
17751         * manual/users.texi: Document MTASC-safety properties.
17753         * manual/threads.texi (pthread_key_create, pthread_key_delete)
17754         (pthread_getspecific, pthread_setspecific): Format with
17755         @deftypefun, and add @safety note.
17756         * manual/signal.texi: Move comments that analyze the above
17757         functions to their home place.
17759 2014-02-03  Allan McRae  <allan@archlinux.org>
17761         * po/sl.po: Update Slovenian translation from translation project.
17763 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
17765         * manual/time.texi (timegm): Add missing blank after @c.
17766         Reported by Joseph Myers <joseph@codesourcery.com>.
17768 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
17770         * manual/check-safety.sh: New.
17771         * manual/Makefile ($(objpfx)stamp-summary): Run it.
17773         * manual/terminal.texi: Document MTASC-safety properties.
17775         * manual/filesys.texi: Document MTASC-safety properties.
17777         * manual/errno.texi: Document MTASC-safety properties.
17779         * manual/intro.texi: Document safety identifiers and
17780         conditionals.
17782         * manual/string.texi (wcstok): Fix prototype.
17783         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17785         * manual/time.texi: Document MTASC-safety properties.
17787         * manual/string.texi: Document MTASC-safety properties.
17789         * manual/threads.texi: Document MTASC-safety properties.
17791         * manual/stdio.texi: Document MTASC-safety properties.
17793         * manual/syslog.texi: Document MTASC-safety properties.
17795         * manual/sysinfo.texi: Document MTASC-safety properties.
17797         * manual/startup.texi: Document MTASC-safety properties.
17799         * manual/socket.texi: Document MTASC-safety properties.
17801         * manual/signal.texi: Document MTASC-safety properties.
17803 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
17805         * manual/setjmp.texi: Document MTASC-safety properties.
17807         * manual/search.texi: Document MTASC-safety properties.
17809         * manual/resource.texi: Document MTASC-safety properties.
17811         * manual/process.texi: Document MTASC-safety properties.
17813         * manual/platform.texi: Document MTASC-safety properties.
17815         * manual/pipe.texi: Document MTASC-safety properties.
17817         * manual/pattern.texi: Document MTASC-safety properties.
17819         * manual/message.texi: Document MTASC-safety properties.
17821         [BZ #12751]
17822         * manual/memory.texi: Document MTASC-safety properties.
17824         * manual/math.texi: Document MTASC-safety properties.
17826         * manual/locale.texi: Document MTASC-safety properties.
17828         * manual/llio.texi: Document MTASC-safety properties.
17830         * manual/libdl.texi: New.
17832         * manual/lang.texi: Document MTASC-safety properties.
17834         * manual/job.texi: Document MTASC-safety properties.
17836         * manual/getopt.texi: Document MTASC-safety properties.
17838         * manual/ctype.texi: Document MTASC-safety properties.
17840 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
17842         [BZ #16046]
17843         * csu/libc-tls.c (static_map): Remove variable.
17844         (__libc_setup_tls): Use main executable's link map for TLS data.
17845         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17846         casing for LM_ID_BASE and GL(dl_nns).
17847         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17848         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
17849         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17850         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17851         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17852         member.
17853         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17854         l_phnum members.
17856 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
17858         * manual/debug.texi: Document MTASC-safety properties.
17860 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
17862         [BZ #16510]
17863         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17864         of __x86_64__ when disabling x87 inline functions.
17866 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
17868         * manual/charset.texi: Document MTASC-safety properties.
17870         * manual/crypt.texi: Document MTASC-safety properties.
17872         * manual/conf.texi: Document MTASC-safety properties.
17874         * manual/arith.texi: Document MTASC-safety properties.
17876         * manual/argp.texi: Document MTASC-safety properties.
17878         * manual/macros.texi: Introduce macros to document multi
17879         thread, asynchronous signal and asynchronous cancellation
17880         safety properties.
17881         * manual/intro.texi: Introduce the properties themselves.
17883 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17885         * sysdeps/sh/sh4/Makefile: New file.
17887 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
17889         * math/gen-libm-test.pl ($srcdir): New variable.
17890         ($auto_input): Use it.
17892 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17894         [BZ #16506]
17895         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17896         access beyond array bounds when parsing netgroups file.
17898         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17899         the old buffer before realloc.
17901 2014-01-27  Allan McRae  <allan@archlinux.org>
17903         * po/fr.po: Update French translation from translation project.
17905 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17907         * sysdeps/sh/libm-test-ulps: Regenerate.
17909 2014-01-24  David S. Miller  <davem@davemloft.net>
17911         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17913 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17915         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17916         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17918 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17920         [BZ #16474]
17921         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17922         string pointers after reallocation.
17924 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17926         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17927         __SH4A__ instead of __SH_FPU_ANY__.
17929 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17931         * sysdeps/sh/fpu_control.h: New file.
17932         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17933         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17934         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17935         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17936         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17937         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17938         * sysdeps/sh/sys/ucontext.h: Remove.
17939         * sysdeps/sh/sys: Remove directory.
17941 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17943         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17944         s390/sys/ucontext.h.
17945         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17946         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17948 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
17950         [BZ #15605]
17951         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17953 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17955         [BZ#16431]
17956         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17957         Adjust the vDSO correctly for internal calls.
17958         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17960 2014-01-20  Allan McRae  <allan@archlinux.org>
17962         * po/ca.po: Update Catalan translation from translation project.
17964 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
17966         * sysdeps/s390/sotruss-lib.c: New file.
17968 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17970         [BZ#16430]
17971         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17972         (__GI___gettimeofday): Alias for a different internal symbol to avoid
17973         local calls issues by not having a PLT stub required for IFUNC calls.
17974         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17976 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
17978         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17979         * math/test-fpucw-static.c: Likewise.
17981 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17983         [BZ #16453]
17984         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17986 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17988         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17989         implementation for powerpc.
17991 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
17993         [BZ #14782]
17994         * sysdeps/posix/system.c (__libc_system): Do not enable
17995         asynchronous cancellation.
17997 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17999         [BZ #16427]
18000         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18001         handling only for numbers special also in the IEEE case.
18003 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18005         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18007 2014-01-11  Allan McRae  <allan@archlinux.org>
18009         * po/bg.po: Update Bulgarian translation from translation project.
18011         * po/de.po: Update German translation from translation project.
18013 2014-01-10  Roland McGrath  <roland@hack.frob.com>
18015         * sysdeps/generic/gcc-compat.h: New file.
18017 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18019         * benchtests/asin-inputs: Correct slow inputs.
18020         * benchtests/acos-inputs: Likewise.
18022 2014-01-10  Allan McRae  <allan@archlinux.org>
18024         * po:sv.po: Update Swedish translation from translation project.
18026         * po/vi.po: Update Vietnamese translation from translation project.
18028         * po/eo.po: Update Esperanto translation from translation project.
18030         * po/cs.po: Update Czech translation from translation project.
18032         * po/nl.po: Update Dutch translation from translation project.
18034         * po/pl.po: Update Polish translation from translation project.
18036         * po/ru.po: Update Russian translation from translation project.
18038         * po/uk.po: Update Ukrainian translation from translation project.
18040 2014-01-08  Brooks Moses  <bmoses@google.com>
18042         * elf/dl-load.c: Fix comment typo.
18044 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
18046         * po/header.pot: Rename to...
18047         * po/pot.header: ... this.
18048         * po/Makefile: Use pot.header.
18050 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
18051             Maxim Kuvyrkov  <maxim@kugelworks.com>
18053         [BZ #16394]
18054         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18055         SRC and DEST against LEN.
18057 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18059         [BZ #16414]
18060         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18061         implementation.
18062         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18064 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18068 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
18070         [BZ #16408]
18071         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18072         for large positive arguments.
18074 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
18076         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18078         * math/auto-libm-test-in: Mark various tests with
18079         xfail-rounding:ldbl-128ibm.
18080         * math/auto-libm-test-out: Regenerated.
18082         [BZ #16407]
18083         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18084         Increase overflow threshold.
18086 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
18088         [BZ #14286]
18089         * stdio-common/vfprintf.c: Check for integer overflow.
18091 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18093         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18094         the first argument and return value of __tls_get_addr_internal.
18096 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18098         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18099         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18101 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18103         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18104         * sysdeps/s390/rtld-global-offsets.sym: New file.
18105         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18106         GLIBC_2.19 symbol.
18107         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18108         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18109         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18110         ... this.
18111         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18112         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18113         ... this.
18114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18115         Regenerate.
18116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18117         Regenerate.
18118         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18119         halfs of GPRs for high_gprs contexts.
18120         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18121         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
18122         field.
18123         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18124         uc_flags field.
18125         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18126         64 bit versions:
18127         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18128         for high GPRs (uc_high_gprs) and for future extensions
18129         (__reserved).
18130         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18131         for future extensions (__reserved).
18132         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18133         64 bit versions:
18134         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18135         SC_HIGHGPRS offset definition.
18136         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18137         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18139         * Versions.def: Add GLIBC_2.19 for libpthread.
18140         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18141         siglongjmp for libpthread with GLIBC_2.19 symver.
18142         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18143         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18144         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18145         * sysdeps/s390/__longjmp.c: New file.
18146         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18147         * sysdeps/s390/longjmp.c: New file.
18148         * sysdeps/s390/setjmp.S: New file.
18149         * sysdeps/s390/sigjmp.S: New file.
18150         * sysdeps/s390/v1-longjmp.c: New file.
18151         * sysdeps/s390/v1-setjmp.h: New file.
18152         * sysdeps/s390/v1-sigjmp.c: New file.
18153         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18154         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18155         GLIBC_2.19 version.
18156         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18157         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18158         versioned symbols for ____longjmp_chk.
18159         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18160         Likewise.
18161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18162         Regenerate.
18163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18164         Regenerate.
18165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18166         Regenerate.
18167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18168         Regenerate.
18169         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18170         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18171         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18172         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18173         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18174         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18175         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18176         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18177         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18178         * sysdeps/s390/rtld-__longjmp.c: New file.
18179         * sysdeps/s390/rtld-setjmp.S: New file.
18181 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
18183         [BZ #16400]
18184         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18185         Return -__logl (x) for small positive arguments without evaluating
18186         a polynomial.
18188 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
18190         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18191         Rename to ...
18192         (__ptrace_peeksiginfo_args): ... this.
18193         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18194         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18195         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18197 2014-01-06  Allan McRae  <allan@archlinux.org>
18199         * inet/netinet/in.h: Fix typo in comment.
18201 2014-01-05  Andreas Jaeger  <aj@suse.de>
18203         * sysdeps/i386/fpu/libm-test-ulps: Update.
18205 2014-01-05  Allan McRae  <allan@archlinux.org>
18207         * po/libc.pot: Regenerated.
18209         * malloc/memusagestat.c: Fix gettext call formatting.
18211 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
18213         * nscd/nscd.c: Improve usage() output.
18215 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
18217         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18218         * sysdeps/unix/sysv/linux/configure: Regenerated.
18219         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18220         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18222 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18224         [BZ #16390]
18225         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18226         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18228 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18230         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18231         extra tokens at end of #undef directive.
18232         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18233         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18234         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18236 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18238         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18240         * math/auto-libm-test-in: Mark various tests with
18241         xfail-rounding:ldbl-128ibm.
18242         * math/auto-libm-test-out: Regenerated.
18244 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
18246         [BZ #16386]
18247         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18248         numbers with subnormal high part when calculating exponent.
18250         [BZ #16385]
18251         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18252         fabs.
18254         [BZ #16384]
18255         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18256         M_LN2l.
18257         (__ieee754_acoshl): Use __log1pl not __log1p.
18259 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
18261         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18262         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18263         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18264         (grow_heap, heap_trim, _int_new_arena, get_free_list)
18265         (reused_arena, arena_get2): Convert to GNU style.
18266         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18267         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18268         (memalign_check, __malloc_set_state): Likewise.
18269         * malloc/mallocbug.c (main): Likewise.
18270         * malloc/malloc.c (__malloc_assert, malloc_init_state)
18271         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18272         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18273         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18274         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18275         (__posix_memalign, malloc_info): Likewise.
18276         * malloc/malloc.h: Likewise.
18277         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18278         (mallochook, memalignhook, reallochook, mabort): Likewise.
18279         * malloc/mcheck.h: Likewise.
18280         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18281         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18282         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18283         * malloc/morecore.c (__default_morecore): Likewise.
18284         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18285         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18286         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18287         (print_and_abort): Likewise.
18288         * malloc/obstack.h: Likewise.
18289         * malloc/set-freeres.c (__libc_freeres): Likewise.
18290         * malloc/tst-mallocstate.c (main): Likewise.
18291         * malloc/tst-mtrace.c (main): Likewise.
18292         * malloc/tst-realloc.c (do_test): Likewise.
18294 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18296         [BZ #16366]
18297         * nscd/netgroupcache.c (do_notfound): New function.
18298         (addgetnetgrentX): Use it.
18300         [BZ # 16365]
18301         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18302         NSS_STATUS_NOTFOUND.
18304 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
18306         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18309 2014-01-01  Allan McRae  <allan@archlinux.org>
18311         * scripts/update-copyrights: Update configure input file suffix.
18313         * NEWS: Update copyright year.
18314         * catgets/gencat.c: Likewise.
18315         * csu/version.c: Likewise.
18316         * debug/catchsegv.sh: Likewise.
18317         * debug/pcprofiledump.c: Likewise.
18318         * debug/xtrace.sh: Likewise.
18319         * elf/ldconfig.c: Likewise.
18320         * elf/ldd.bash.in: Likewise.
18321         * elf/pldd.c: Likewise.
18322         * elf/sotruss.ksh: Likewise.
18323         * elf/sprof.c: Likewise.
18324         * iconv/iconv_prog.c: Likewise.
18325         * iconv/iconvconfig.c: Likewise.
18326         * locale/programs/locale.c: Likewise.
18327         * locale/programs/localedef.c: Likewise.
18328         * login/programs/pt_chown.c: Likewise.
18329         * malloc/memusage.sh: Likewise.
18330         * malloc/memusagestat.c: Likewise.
18331         * malloc/mtrace.pl: Likewise.
18332         * manual/libc.texinfo: Likewise.
18333         * nscd/nscd.c: Likewise.
18334         * nss/getent.c: Likewise.
18335         * nss/makedb.c: Likewise.
18336         * posix/getconf.c: Likewise.
18337         * scripts/test-installation.pl: Likewise.
18339         * All files with FSF copyright notices: Update copyright dates
18340         using scripts/update-copyrights.
18341         * intl/plural.c: Regenerated.
18342         * locale/programs/charmap-kw.h: Likewise.
18343         * locale/programs/locfile-kw.h: Likewise.
18345 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
18347         * sysdeps/unix/sysv/linux/configure: Regenerated.
18348         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18349         the linux/fanotify.h header.
18350         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18351         HAVE_LINUX_FANOTIFY_H is defined.
18353 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18355         * benchtests/cos-inputs: New inputs.
18356         * benchtests/sin-inputs: Likewise.
18358         * benchtests/atan-inputs: New inputs. Fix name of multiple
18359         precision fallback inputs.
18361         * benchtests/atanh-inputs: New inputs.
18362         * benchtests/tanh-inputs: Likewise.
18364         * benchtests/acosh-inputs: New inputs.
18365         * benchtests/asinh-inputs: Likewise.
18367         * benchtests/cosh-inputs: New inputs.
18368         * benchtests/sinh-inputs: Likewise.
18370         * benchtests/acos-inputs: Add more inputs.
18371         * benchtests/asin-inputs: Likewise.
18373 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
18375         [BZ #16375]
18376         * manual/arith.texi: Fix spelling.
18377         * manual/charset.texi: Likewise.
18378         * manual/errno.texi: Likewise.
18379         * manual/filesys.texi: Likewise.
18380         * manual/lang.texi: Likewise.
18381         * manual/llio.texi: Likewise.
18382         * manual/locale.texi: Likewise.
18383         * manual/message.texi: Likewise.
18384         * manual/resource.texi: Likewise.
18385         * manual/search.texi: Likewise.
18386         * manual/setjmp.texi: Likewise.
18387         * manual/stdio.texi: Likewise.
18388         * manual/string.texi: Likewise.
18389         * manual/sysinfo.texi: Likewise.
18390         * manual/time.texi: Likewise.
18392 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
18394         * po/sl.po: New file.
18396 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
18398         * .gitignore: Add core/.gdbinit/.gdb_history.
18400 2013-12-27  Allan McRae  <allan@archlinux.org>
18402         [BZ #16369]
18403         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18404         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18406 2013-12-24  Brooks Moses  <bmoses@google.com>
18408         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18409         all compilers that claim C++98 compliance, not just GCC.
18410         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18411         Likewise.
18413 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18415         * NEWS: Restore accidentally deleted bug-fix entries.
18417 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18418             Ondřej Bílka  <neleai@seznam.cz>
18420         [BZ #15073]
18421         * malloc/malloc.c (_int_free): Perform sanity check only if we
18422         have_lock.
18424 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
18426         [BZ #12986]
18427         * manual/stdio.texi (String Input Conversions): Clarify that character
18428         classes are not supported.
18430 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18434 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
18436         [BZ #16337]
18437         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18438         Calculate results for small negative arguments directly rather
18439         than using reflection formula with special underflow handling.
18441         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18442         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18443         sysdeps/unix/bsd/bsd4.4/syscalls.list.
18444         (fchflags): Likewise.
18445         (revoke): Likewise.
18446         (setlogin): Likewise.
18447         (sigaltstack): Likewise.
18448         (wait4): Likewise.
18449         (sigblock): Remove.
18450         (sigsetmask): Likewise.
18451         (wait3): Likewise.
18452         (waitpid): Likewise.
18453         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18454         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18455         file.
18456         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18457         * sysdeps/unix/bsd/Makefile: ... here.
18458         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18459         * sysdeps/unix/bsd/Versions: ... here.
18460         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18461         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18462         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18463         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18464         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18465         * sysdeps/unix/bsd/sigblock.c: ... here.
18466         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18467         * sysdeps/unix/bsd/sigsetmask.c: ... here.
18468         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18469         * sysdeps/unix/bsd/sigvec.c: ... here.
18470         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18471         * sysdeps/unix/bsd/tcdrain.c: ... here.
18472         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18473         * sysdeps/unix/bsd/tcgetattr.c: ... here.
18474         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18475         * sysdeps/unix/bsd/tcsetattr.c: ... here.
18476         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18477         * sysdeps/unix/bsd/wait.c: ... here.
18478         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18479         * sysdeps/unix/bsd/wait3.c: ... here.
18480         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18481         * sysdeps/unix/bsd/waitpid.c: ... here.
18483 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
18485         [BZ #16356]
18486         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18487         round-to-nearest for [!USE_AS_EXPM1L].
18488         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18489         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
18490         more tests of exp and exp10.  Expect some exp10 tests to miss
18491         exceptions or fail in directed rounding modes.
18492         * math/auto-libm-test-out: Regenerated.
18493         * math/libm-test.inc (exp10_tonearest_test_data): New array.
18494         (exp10_test_tonearest): New function.
18495         (exp10_towardzero_test_data): New array.
18496         (exp10_test_towardzero): New function.
18497         (exp10_downward_test_data): New array.
18498         (exp10_test_downward): New function.
18499         (exp10_upward_test_data): New array.
18500         (exp10_test_upward): New function.
18501         (main): Call the new functions.
18502         * sysdeps/i386/fpu/libm-test-ulps: Update.
18503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18505 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
18507         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18508         asinh, atan, atan2, atanh, cbrt, cos and cosh.
18509         * math/auto-libm-test-out: Regenerated.
18510         * math/libm-test.inc (acosh_test_data): Add more tests.
18511         (atanh_test_data): Likewise.
18512         (ceil_test_data): Likewise.
18513         (copysign_test_data): Likewise.
18514         * sysdeps/i386/fpu/libm-test-ulps: Update.
18515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18517         * timezone/checktab.awk: Update from tzcode 2013i.
18518         * timezone/private.h: Likewise.
18519         * timezone/scheck.c: Likewise.
18520         * timezone/tzfile.h: Likewise.
18521         * timezone/tzselect.ksh: Likewise.
18522         * timezone/zdump.c: Likewise.
18523         * timezone/zic.c: Likewise.
18525         * math/auto-libm-test-in: Add tests of cpow.
18526         * math/auto-libm-test-out: Regenerated.
18527         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18528         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18529         mpc_cc_c.
18530         (func_calc_desc): Add mpc_cc_c union field.
18531         (test_functions): Add cpow.
18532         (special_fill_2pi): New function.
18533         (special_real_inputs): Add 2pi.
18534         (calc_generic_results): Handle mpc_cc_c.
18535         * sysdeps/i386/fpu/libm-test-ulps: Update.
18536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18538         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18539         csqrt, ctan and ctanh.
18540         * math/auto-libm-test-out: Regenerated.
18541         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18542         (TEST_COND_x86): Likewise.
18543         (ccos_test_data): Use AUTO_TESTS_c_c.
18544         (ccosh_test_data): Likewise.
18545         (cexp_test_data): Likewise.
18546         (clog_test_data): Likewise.
18547         (csqrt_test_data): Likewise.
18548         (ctan_test_data): Likewise.
18549         (ctan_tonearest_test_data): Likewise.
18550         (ctan_towardzero_test_data): Likewise.
18551         (ctan_downward_test_data): Likewise.
18552         (ctan_upward_test_data): Likewise.
18553         (ctanh_test_data): Likewise.
18554         (ctanh_tonearest_test_data): Likewise.
18555         (ctanh_towardzero_test_data): Likewise.
18556         (ctanh_downward_test_data): Likewise.
18557         (ctanh_upward_test_data): Likewise.
18558         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18559         mpc_c_c.
18560         (func_calc_desc): Add mpc_c_c union field.
18561         (FUNC_mpc_c_c): New macro.
18562         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18563         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18564         ctanh.
18565         (special_fill_min_subnorm_p120): New function.
18566         (special_real_inputs): Add min_subnorm_p120.
18567         (calc_generic_results): Handle mpc_c_c.
18568         * sysdeps/i386/fpu/libm-test-ulps: Update.
18569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18571 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18573         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18574         (do_sin_slow): New functions.
18575         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18576         (cslow2, csloww1, csloww2): Use the new functions.
18578         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18579         Use M to change sign of result instead of X.  Assume X is
18580         positive.
18581         (csloww1): Likewise.
18582         (__sin): Adjust.
18583         (__cos): Adjust.
18585         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18586         arguments A and DA.
18587         (__sin): Adjust.
18588         (__cos): Likewise.
18590         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18591         (__cos): Likewise.
18592         (sloww1): Don't adjust sign of DX.
18593         (csloww1): Likewise.
18594         (sloww2): Use X directly and don't adjust sign of DX.
18595         (csloww2): Likewise.
18597 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18599         * math/auto-libm-test-in: Add tests of cabs and carg.
18600         * math/auto-libm-test-out: Regenerated.
18601         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18602         (carg_test_data): Likewise.
18603         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18604         mpc_c_f.
18605         (func_calc_desc): Add mpc_c_f union field.
18606         (test_functions): Add cabs and carg.
18607         (calc_generic_results): Handle mpc_c_f.
18609         * sysdeps/powerpc/powerpc32/libgcc-compat.S
18610         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18611         as a macro and a compat symbol.
18612         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18613         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18614         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18615         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18616         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18617         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18618         not use .hidden.
18619         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18620         Likewise.
18621         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18622         Likewise.
18623         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18624         Likewise.
18625         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18626         Likewise.
18627         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18628         Likewise.
18629         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18630         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18631         from GLIBC_2.3.2.
18633 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18637 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18639         * manual/texinfo.tex: Update to version 2013-11-26.10 with
18640         trailing whitespace removed.
18641         * scripts/config.guess: Update to version 2013-11-29.
18642         * scripts/config.sub: Update to version 2013-10-01.
18644         * math/auto-libm-test-in: Add tests of sincos.
18645         * math/auto-libm-test-out: Regenerated.
18646         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18647         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18648         mpfr_f_11.
18649         (func_calc_desc): Add mpfr_f_11 union field.
18650         (test_functions): Add sincos.
18651         (calc_generic_results): Handle mpfr_f_11.
18652         * sysdeps/i386/fpu/libm-test-ulps: Update.
18653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18655 2013-12-19  Andreas Schwab  <schwab@suse.de>
18657         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18658         CALL_MCOUNT.
18659         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18660         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18661         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18663 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18665         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18666         * sysdeps/i386/fpu/libm-test-ulps: Update.
18667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18669         [BZ #16293]
18670         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18671         round-to-nearest mode when using frndint.
18672         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18673         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18674         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18675         Likewise.
18676         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
18677         sinh test to fail.
18678         * math/auto-libm-test-out: Regenerated.
18679         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18680         (TEST_COND_x86): Likewise.
18681         (expm1_tonearest_test_data): New array.
18682         (expm1_test_tonearest): New function.
18683         (expm1_towardzero_test_data): New array.
18684         (expm1_test_towardzero): New function.
18685         (expm1_downward_test_data): New array.
18686         (expm1_test_downward): New function.
18687         (expm1_upward_test_data): New array.
18688         (expm1_test_upward): New function.
18689         (main): Run the new test functions.
18690         * sysdeps/i386/fpu/libm-test-ulps: Update.
18691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18693         * include/features.h: Update comment documenting feature test
18694         macros.  Mention _DEFAULT_SOURCE in comment.
18695         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18696         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18697         _BSD_SOURCE and _SVID_SOURCE.
18698         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18699         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18700         !_SVID_SOURCE]: Likewise.
18701         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18702         (__USE_POSIX_IMPLICITLY): Define.
18703         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18704         (_POSIX_SOURCE): Undefine and redefine.
18705         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18706         (_POSIX_C_SOURCE): Likewise.
18707         * manual/creature.texi (_DEFAULT_SOURCE): Document.
18708         (Feature Test Macros): Update documentation of default features.
18710 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18712         * benchtests/Makefile: Add bench-strtok.
18713         * benchtests/bench-strtok.c: New file: strtok benchtest.
18715 2013-12-19  Allan McRae  <allan@archlinux.org>
18717         * manual/install.texi: Suppress menu for plain text output.
18718         * INSTALL: Regenerated.
18720 2013-12-18  Brooks Moses  <bmoses@google.com>
18722         [BZ #15846]
18723         * misc/getauxval.c: Include errno.h.
18724         (__getauxval): Set errno to ENOENT if the requested type is not
18725         found.
18726         * misc/sys/auxv.h (getauxval): Document that it may set errno;
18727         don't declare with __attribute_const__.
18728         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18729         * manual/startup.texi: Document that getauxval sets errno.
18731 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18733         * math/auto-libm-test-in: Add tests of jn and yn.
18734         * math/auto-libm-test-out: Regenerated.
18735         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18736         (yn_test_data): Likewise.
18737         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18738         mpfr_if_f.
18739         (func_calc_desc): Add mpfr_if_f union field.
18740         (FUNC_mpfr_if_f): New macro.
18741         (test_functions): Add jn and yn.
18742         (calc_generic_results): Assert type of second input for
18743         mpfr_ff_f.  Handle mpfr_if_f.
18744         (output_for_one_input_case): Disable all checking for arguments
18745         fitting floating-point types in case of an integer argument.
18746         * sysdeps/i386/fpu/libm-test-ulps: Update.
18747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18750         Don't expect fegetround reference in libm.so.
18752 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18754         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18755         $(config-cflags-nofma).
18757 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18759         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18760         * math/auto-libm-test-out: Regenerated.
18762         [BZ #16338]
18763         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18764         to determine exponent and adjust argument to have exponent of -1.
18765         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18766         log2.
18767         * math/auto-libm-test-out: Regenerated.
18768         * sysdeps/i386/fpu/libm-test-ulps: Update.
18769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18771 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
18773         * manual/probes.texi: Remove cases when per-thread arenas are
18774         disabled.
18776 2013-12-18  Andreas Schwab  <schwab@suse.de>
18778         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18779         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18780         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18781         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18782         * sysdeps/i386/i686/multiarch/Makefile: Update.
18783         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18785 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18787         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18788         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18790 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
18792         [BZ #15968]
18793         Support TZ transition times < 00:00:00.
18794         This is needed for version-3 tz-format files; it supports time
18795         stamps past 2037 for America/Godthab (the only entry in the tz
18796         database for which this change is relevant).
18797         * manual/time.texi (TZ Variable): Document transition times
18798         from -167:59:59 through -00:00:01.
18799         * time/tzset.c (tz_rule): Time of day is now signed.
18800         (__tzset_parse_tz): Parse negative time of day.
18802         Document TZ transition times >= 25:00:00.
18803         * manual/time.texi (TZ Variable): Document transition times from
18804         25:00:00 through 167:59:59.  These are already supported, and this
18805         support will help with version-3 tz-format files.
18807         * manual/time.texi (TZ Variable): Modernize North America example
18808         to reflect current (i.e., 2007-and-later) daylight saving rules.
18810         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18812 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18814         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18815         * sysdeps/unix/bsd/bits/stat.h: Likewise.
18816         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18817         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18818         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18819         * sysdeps/unix/bsd/bsdstat.h: Likewise.
18820         * sysdeps/unix/bsd/clock.c: Likewise.
18821         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18822         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18823         * sysdeps/unix/bsd/init-posix.c: Likewise.
18824         * sysdeps/unix/bsd/poll.c: Likewise.
18825         * sysdeps/unix/bsd/ptsname.c: Likewise.
18826         * sysdeps/unix/bsd/seekdir.c: Likewise.
18827         * sysdeps/unix/bsd/setegid.c: Likewise.
18828         * sysdeps/unix/bsd/seteuid.c: Likewise.
18829         * sysdeps/unix/bsd/setgid.c: Likewise.
18830         * sysdeps/unix/bsd/setrgid.c: Likewise.
18831         * sysdeps/unix/bsd/setruid.c: Likewise.
18832         * sysdeps/unix/bsd/setsid.c: Likewise.
18833         * sysdeps/unix/bsd/setuid.c: Likewise.
18834         * sysdeps/unix/bsd/sigaction.c: Likewise.
18835         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18836         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18837         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18838         * sysdeps/unix/bsd/telldir.c: Likewise.
18839         * sysdeps/unix/bsd/times.c: Likewise.
18840         * sysdeps/unix/bsd/usleep.c: Likewise.
18842         * misc/Makefile (install-lib): Remove libbsd-compat.a.
18843         ($(objpfx)libbsd-compat.a): Remove rule.
18845         * include/features.h (__FAVOR_BSD): Do not define.
18846         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18847         features conflicting with POSIX.
18848         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18849         (_BSD_SOURCE): Remove description of not being a subset of other
18850         feature test macros.
18851         * manual/job.texi (getpgrp): Do not document BSD version.
18852         (getpgid): Do not document by reference to BSD getpgrp.
18853         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18854         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18855         * signal/signal.h [__FAVOR_BSD]: Likewise.
18856         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18857         instead of making contents conditional on [__FAVOR_BSD].
18858         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18860 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18864 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18866         [BZ #16314]
18867         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18868         values below 2**-450, not 2**-500.
18869         * math/auto-libm-test-in: Don't allow spurious underflow from
18870         hypot.
18871         * math/auto-libm-test-out: Regenerated.
18873         [BZ #16316]
18874         [BZ #16330]
18875         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18876         values of ha and hb and sort them after adjusting subnormal
18877         arguments.
18878         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18879         Likewise.
18880         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18881         values of ea and eb and sort them after adjusting subnormal
18882         arguments.
18883         * math/auto-libm-test-in: Do not expect some hypot tests of
18884         subnormals to fail.  Add more hypot tests.
18885         * math/auto-libm-test-out: Regenerated.
18887 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18889         [BZ #13304]
18890         * sysdeps/sh/s_fma.c: New file.
18891         * sysdeps/sh/s_fmaf.c: New file.
18892         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
18893         version.
18894         * sysdeps/sh/Implies: Add sh/soft-fp.
18896 2013-12-16  Roland McGrath  <roland@hack.frob.com>
18898         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
18899         level of indirection to members `objname', `errstring', `malloced'.
18900         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18901         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
18902         it as the __longjmp argument (just pass 1 instead).
18903         (_dl_catch_error): Initialize C with argument pointers and address of
18904         volatile local ERRCODE rather than copying values out of C at return.
18906 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
18908         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18909         * math/auto-libm-test-out: Regenerated.
18910         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18911         (hypot_test_data): Likewise.
18912         (pow_test_data): Likewise.
18913         (pow_tonearest_test_data): Likewise.
18914         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18915         mpfr_ff_f.
18916         (func_calc_desc): Add mpfr_ff_f union field.
18917         (FUNC_mpfr_ff_f): New macro.
18918         (test_functions): Add atan2, hypot and pow.
18919         (special_fill_min): New function.
18920         (special_fill_minus_min): Likewise.
18921         (special_fill_min_subnorm): Likewise.
18922         (special_fill_minus_min_subnorm): Likewise.
18923         (special_real_inputs): Add min, -min, min_subnorm and
18924         -min_subnorm.
18925         (calc_generic_results): Handle mpfr_ff_f.
18926         * sysdeps/i386/fpu/libm-test-ulps: Update.
18927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18929 2013-12-16  Will Newton  <will.newton@linaro.org>
18931         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18932         (Aligned Memory Blocks): Add documentation for aligned_alloc
18933         and suggest it as an alternative to posix_memalign.
18934         (Hooks for Malloc): Document __memalign_hook is also called
18935         for aligned_alloc.  (Summary of Malloc): Add summary for
18936         aligned alloc.  Document __memalign_hook is also called
18937         for aligned_alloc.
18939 2013-12-16  Will Newton  <will.newton@linaro.org>
18941         * manual/memory.texi (Malloc Examples): Clarify default
18942         alignment documentation.  Suggest posix_memalign rather
18943         than memalign or valloc.
18944         (Aligned Memory Blocks): Remove suggestion to use memalign
18945         or valloc.  Remove obsolete comment about BSD.
18946         Document memalign errno values and mark the function obsolete.
18947         Document posix_memalign returned error codes.  Mark valloc
18948         as obsolete.  (Hooks for Malloc): __memalign_hook is also
18949         called for posix_memalign and valloc.
18950         (Summary of Malloc): Add posix_memalign to function summary.
18951         __memalign_hook is also called for posix_memalign and valloc.
18953 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18955         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18956         TAYLOR_SIN.
18957         (__sin): Adjust.
18958         (__cos): Likewise.
18959         (sloww): Use mynumber union.  Expand ternary operator into
18960         if-else statements.
18961         (cslow): use mynumber union.
18963 2013-12-16  Allan McRae  <allan@archlinux.org>
18965         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18966         * configure: Regenerated.
18968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18970         [BZ #14120]
18971         * configure.ac: Added --enable-maintainer-mode. Check for
18972         autoconf when enabled.
18973         * configure: Regenerated.
18975         * nscd/nscd.service: New file.
18976         * nscd/nscd.tmpfiles: New file.
18978 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
18980         [BZ #12100]
18981         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18982         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18983         * sysdeps/x86_64/multiarch/strstr.c: ... here.
18984         (strstr): Add __strstr_sse2_unaligned ifunc.
18985         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18986         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18987         (strcasestr): Remove __strcasestr_sse42 ifunc.
18988         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18989         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18990         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18992 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18994         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18995         * sysdeps/sh/bits/fenv.h: ... here.
18996         * sysdeps/sh/sh4/fpu/bits: Remove directory.
18998 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19000         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19002         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19003         hypotf multiarch implementations.
19004         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19005         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19006         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19007         multiarch hypot for PPC64.
19008         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19009         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19010         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19011         multiarch hypotf for PPC64.
19013         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19014         modff multiarch implementations.
19015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19018         multiarch modf for PPC64.
19019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19022         multiarch modff for PPC64.
19024         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19025         and logl multiarch implementations.
19026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19029         multiarch logb for PPC64.
19030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19033         multiarch logb for PPC64.
19034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19037         multiarch logb for PPC64.
19039         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19040         isinff multiarch implementation.
19041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19042         file.
19043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19045         multiarch isinf for PPC64.
19046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19047         file.
19048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19049         multiarch isinff for PPC64.
19051         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19052         finitef multiarch implementation.
19053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19054         file.
19055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19057         multiarch finite for PPC64.
19058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19059         file.
19060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19061         multiarch finitef for PPC64.
19063         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19064         lrint multiarch implementation.
19065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19066         file.
19067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19069         multiarch llrint for PPC64.
19070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19071         multiarch lrint for PPC64.
19073         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19074         copysignf multiarch implementation.
19075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19076         file.
19077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19078         file.
19079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19080         multiarch copysign for PPC64.
19081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19082         multiarch copysignf for PPC64.
19084         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19085         multiarch implementation.
19086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19087         file.
19088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19089         file.
19090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19091         file.
19092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19093         file.
19094         multiarch llround for PPC64.
19095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19096         multiarch trunc for PPC64.
19097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19098         multiarch truncf for PPC64.
19100         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19101         multiarch implementation.
19102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19103         file.
19104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19105         file.
19106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19107         file.
19108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19109         file.
19110         multiarch llround for PPC64.
19111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19112         multiarch round for PPC64.
19113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19114         multiarch roundf for PPC64.
19116         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19117         multiarch implementation.
19118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19119         file.
19120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19121         file.
19122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19123         file.
19124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19125         file.
19126         multiarch llround for PPC64.
19127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19128         multiarch floor for PPC64.
19129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19130         multiarch floorf for PPC64.
19132         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19133         multiarch implementation.
19134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19135         file.
19136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19137         file.
19138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19139         file.
19140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19141         file.
19142         multiarch llround for PPC64.
19143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19144         multiarch ceil for PPC64.
19145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19146         multiarch ceilf for PPC64.
19148         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19149         multiarch implementation.
19150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19151         file.
19152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19153         file.
19154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19155         file.
19156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19157         multiarch llround for PPC64.
19158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19159         multiarch lround for PPC64.
19161         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19162         multiarch implementation.
19163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19166         file.
19167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19170         multiarch isnan for PPC64.
19171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19172         multiarch isnanf for PPC64.
19174         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19175         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19176         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19177         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19178         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19181         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19182         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19183         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19184         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19187         multiarch implementations.
19188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19189         (__libc_ifunc_impl_list): Likewise.
19190         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19191         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19192         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19193         multiarch stpcpy for PPC64.
19195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19196         multiarch implementations.
19197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19198         (__libc_ifunc_impl_list): Likewise.
19199         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19200         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19201         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19202         multiarch strcpy for PPC64.
19204         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19205         redefine function name.
19206         (_wordcopy_fwd_dest_aligned): Likewise.
19207         (_wordcopy_bwd_aligned): Likewise.
19208         (_wordcopy_bwd_dest_aligned): Likewise.
19209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19210         multiarch implementations.
19211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19212         (__libc_ifunc_impl_list): Likewise.
19213         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19214         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19215         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19216         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19217         multiarch wcscpy for PPC64.
19219         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19220         multiarch implementations.
19221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19222         (__libc_ifunc_impl_list): Likewise.
19223         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19224         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19225         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19226         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19227         multiarch wcscpy for PPC64.
19229         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19230         multiarch implementations.
19231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19232         (__libc_ifunc_impl_list): Likewise.
19233         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19234         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19235         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19236         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19237         multiarch wcsrchr for PPC64.
19239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19240         multiarch implementations.
19241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19242         (__libc_ifunc_impl_list): Likewise.
19243         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19244         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19245         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19246         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19247         multiarch wcschr for PPC64.
19249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19250         multiarch implementations.
19251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19252         (__libc_ifunc_impl_list): Likewise.
19253         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19254         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19255         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19256         multiarch strchrnul for PPC64.
19258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19259         implementations.
19260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19261         (__libc_ifunc_impl_list): Likewise.
19262         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19263         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19264         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19265         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19266         strchr for PPC64.
19268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19269         implementations.
19270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19271         (__libc_ifunc_impl_list): Likewise.
19272         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19273         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19274         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19275         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19276         strncmp for PPC64.
19278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19279         multiarch implementations.
19280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19281         (__libc_ifunc_impl_list): Likewise.
19282         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19283         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19284         strncasecmp for PPC64.
19285         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19286         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19287         multiarch strncasecmp_l for PPC64.
19289         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19290         multiarch implementations.
19291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19292         (__libc_ifunc_impl_list): Likewise.
19293         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19294         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19295         multiarch strcasecmp for PPC64.
19296         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19297         file.
19298         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19299         multiarch strcasecmp_l for PPC64.
19301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19302         implementations.
19303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19304         (__libc_ifunc_impl_list): Likewise.
19305         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19306         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19307         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19308         strnlen for PPC64.
19310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19311         implementations.
19312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19313         (__libc_ifunc_impl_list): Likewise.
19314         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19315         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19316         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19317         strlen for PPC64.
19319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19320         implementations.
19321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19322         (__libc_ifunc_impl_list): Likewise.
19323         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19324         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19325         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19326         rawmemrchr for PPC64.
19328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19329         implementation.
19330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19331         (__libc_ifunc_impl_list): Likewise.
19332         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19333         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19334         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19335         memrchr for PPC64.
19337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19338         implementation.
19339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19340         (__libc_ifunc_impl_list): Likewise.
19341         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19342         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19343         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19344         memchr for PPC64.
19346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19347         implementation.
19348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19349         (__libc_ifunc_impl_list): Likewise.
19350         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19351         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19352         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19353         mempcpy for PPC64.
19355         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19356         avoid cretion of __bzero symbol.
19357         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19358         Likewise.
19359         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19360         Likewise.
19361         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19362         Likewise.
19363         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19364         multiarch implementations.
19365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19366         (__libc_ifunc_impl_list): Likewise.
19367         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19368         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19369         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19370         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19371         bzero for PPC32.
19372         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19373         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19374         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19375         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19376         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19377         memset for PPC64.
19378         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19380         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19382         implementations.
19383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19384         (__libc_ifunc_impl_list): Likewise.
19385         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19386         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19387         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19388         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19389         memcmp for PPC64.
19391         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19392         multiarch for POWER/PPC64.
19393         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19394         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19395         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19396         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19397         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19398         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19399         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19400         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19401         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19402         memcpy for PPC64.
19404         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19405         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19406         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19407         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19408         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19409         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19410         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19411         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19412         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19413         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19414         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19415         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19416         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19417         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19418         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19427 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19429         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19431 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19433         * benchtests/Makefile (bench): Add exp2 and log2.
19434         (LDLIBS-bench-exp2): Add -lm.
19435         (LDLIBS-bench-log2): Likewise.
19436         * benchtests/exp2-inputs: New inputs file.
19437         * benchtests/log2-inputs: New inputs file.
19438         * benchtests/log-inputs: Add new inputs.
19439         * benchtests/tan-inputs: Likewise.
19441 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19443         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19444         definition...
19445         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19446         (csloww2): ... from here.
19448         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19449         instead of structures.
19450         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19451         (POLYNOMIAL): Likewise.
19452         (TAYLOR_SLOW): Likewise.
19453         (__sin): Likewise.
19454         (__cos): Likewise.
19455         (slow1): Likewise.
19456         (slow2): Likewise.
19457         (sloww): Likewise.
19458         (sloww1); Likewise.
19459         (sloww2): Likewise.
19460         (bsloww1): Likewise.
19461         (bsloww2): Likewise.
19462         (cslow2): Likewise.
19463         (csloww): Likewise.
19464         (csloww1): Likewise.
19465         (csloww2): Likewise.
19467 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
19469         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19470         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19471         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19472         * malloc/hooks.c (realloc_check): Likewise.
19474         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19475         * malloc/arena.c: Remove PER_THREAD conditional.
19476         [!PER_THREAD]: Remove code.
19477         (ptmalloc_unlock_all2): Likewise.
19478         (ptmalloc_init): Likewise.
19479         (_int_new_arena): Likewise.
19480         (arena_get2): Likewise.
19481         * malloc/hooks.c (__malloc_get_state): Likewise.
19482         (__malloc_set_state): Likewise.
19483         * malloc/malloc.c: Likewise.
19484         (struct malloc_state): Likewise.
19485         (struct malloc_par): Likewise.
19486         (__libc_realloc): Likewise.
19487         (__libc_mallopt): Likewise.
19489 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19491         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19493 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
19495         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19496         macro to a function.  Check for zero perturb_byte.
19497         (_int_malloc, _int_free): Remove zero perturb_byte checks.
19499         * malloc/malloc.c: (force_reg): Remove.
19500         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19501         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19502         force_reg by atomic_forced_read.
19503         * malloc/arena.c (ptmalloc_init): Likewise.
19504         * malloc/hooks.c (top_check): Likewise.
19506 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19510 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
19512         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19514 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
19516         * math/auto-libm-test-in: Add tests of lgamma.
19517         * math/auto-libm-test-out: Regenerated.
19518         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19519         (M_LOG_2_SQRT_PIl): Likewise.
19520         (lgamma_test_data): Use AUTO_TESTS_f_f1.
19521         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19522         mpfr_f_f1.
19523         (func_calc_desc): Add mpfr_f_f1 union field.
19524         (ARGS1): New macro.
19525         (ARGS2): Likewise.
19526         (ARGS3): Likewise.
19527         (ARGS4): Likewise.
19528         (RET1): Likewise.
19529         (RET2): Likewise.
19530         (CALC): Likewise.
19531         (FUNC): Likewise.
19532         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19533         (test_functions): Add lgamma.
19534         (calc_generic_results): Handle mpfr_f_f1.
19535         * sysdeps/i386/fpu/libm-test-ulps: Update.
19536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19538 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19540         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19541         __mpn_add_n for PowerPC64/POWER7.
19542         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19543         __mpn_sub_n for PowerPC64/POWER7.
19545         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19546         __mpn_addmul_1 for PowerPC64.
19547         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19548         __mpn_submul_1 for PowerPC64.
19549         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19550         for PowerPC64.
19551         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19552         for PowerPC64.
19554 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
19556         [BZ #15089]
19557         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19559 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19561         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19563         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19564         add multiarch folders.
19565         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19566         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19567         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19568         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19569         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19570         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19571         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19572         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19573         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19574         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19575         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19584         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19586         New file.
19587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19588         New file.
19589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19590         multiarch __ieee754_hypot for PowerPC32.
19591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19592         New file.
19593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19594         New file.
19595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19596         multiarch __ieee754_hypotf for PowerPC32.
19598         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19599         long_double_symbol only if __logbl is defined.
19600         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19601         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19602         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19603         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19604         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19605         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19606         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19607         path for implementation.
19608         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19609         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19611         logb, and logbl multiarch implementations for PowerPC32.
19612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19613         file.
19614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19615         file.
19616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19617         multiarch logb for PowerPC32.
19618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19619         file.
19620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19621         file.
19622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19623         multiarch logbf for PowerPC32.
19624         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19626         file.
19627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19628         multiarch logbl implementation for PowerPC32.
19630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19631         and modff multiarch implementations.
19632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19633         New file.
19634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19635         New file.
19636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19637         multiarch modf for PowerPC32.
19638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19639         New file.
19640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19641         New file.
19642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19643         multiarch modff for PowerPC32.
19645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19646         and lrintf multiarch implementations.
19647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19648         New file.
19649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19650         New file.
19651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19652         multiarch lrint for PowerPC32.
19653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19654         file: multiarch lrintf for PowerPC32.
19656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19657         and lroundf multiarch implementations.
19658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19659         New file.
19660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19661         New file.
19662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19663         New file.
19664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19665         multiarch lround for PowerPC32.
19666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19667         file: multiarch lroundf for PowerPC32.
19669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19670         copysign and copysignf multiarch implementations.
19671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19672         New file.
19673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19674         New file.
19675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19676         file: multiarch copysign for PowerPC32.
19677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19678         file: multiarch copysignf for PowerPC32.
19680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19681         and truncf multiarch implementations.
19682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19683         New file.
19684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19685         file.
19686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19687         multiarch trunc for PowerPC32.
19688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19689         New file.
19690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19691         New file.
19692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19693         multiarch truncf for PowerPC32.
19695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19696         and roundf multiarch implementations.
19697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19698         New file.
19699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19700         file.
19701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19702         multiarch round for PowerPC32.
19703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19704         New file.
19705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19706         New file.
19707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19708         multiarch roundf for PowerPC32.
19710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19711         and floorf multiarch implementations.
19712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19713         New file.
19714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19715         file.
19716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19717         multiarch floor for PowerPC32.
19718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19719         New file.
19720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19721         New file.
19722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19723         multiarch floorf for PowerPC32.
19725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19726         and ceilf multiarch implementations.
19727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19728         New file.
19729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19730         file.
19731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19732         multiarch ceil for PowerPC32.
19733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19734         New file.
19735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19736         file.
19737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19738         multiarch ceilf for PowerPC32.
19740         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19741         is defined.
19742         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19743         FINITEF is defined.
19744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19745         and finitef multiarch implementations.
19746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19747         New file.
19748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19749         file.
19750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19751         multiarch finite for PowerPC32.
19752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19753         New file.
19754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19755         file: multiarch finitef for PowerPC32.
19757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19758         and isinff multiarch implementations.
19759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19760         file.
19761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19762         file.
19763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19764         multiarch isinf for PowerPC32.
19765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19766         New file.
19767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19768         multiarch isinff for PowerPC32.
19770         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19771         alias when __isnan is defined.
19772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19773         and isnanf multiarch implementations.
19774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19775         file.
19776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19777         file.
19778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19779         file.
19780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19781         file.
19782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19783         multiarch isnan for PowerPC32.
19784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19785         New file.
19786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19787         New file.
19788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19789         multiarch isnanf for PowerPC32.
19791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19792         and sqrtf multiarch implementations.
19793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19794         file.
19795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19796         file.
19797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19798         multiarch sqrt for PowerPC32.
19799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19800         file.
19801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19802         file.
19803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19804         multiarch sqrtf for PowerPC32.
19806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19807         and llroundf multiarch implementations.
19808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19809         New file.
19810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19811         New file.
19812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19813         New file.
19814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19815         file: multiarch llround for PowerPC32.
19816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19817         file: multiarch llroundf for PowerPC32.
19819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19820         multiarch PowerPC32 fpu implementations.
19821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19822         New file.
19823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19824         New file.
19825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19826         multiarch llrint for PowerPC32.
19827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19828         New file.
19829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19830         New file.
19831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19832         file.
19834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19836         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19837         file.
19838         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19839         file.
19840         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19841         file.
19842         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19843         multiarch wordcopy for PPC32.
19844         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19845         wordcopy objects.
19846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19847         (__libc_ifunc_impl_list): Likewise.
19848         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19849         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19850         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19851         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19852         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19853         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19855         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19856         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19857         file.
19858         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19859         file.
19860         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19861         file.
19862         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19863         multiarch wcscpy for PPC32.
19864         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19865         multiarch objects.
19866         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19867         (__libc_ifunc_impl_list): Likewise.
19868         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19869         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19870         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19871         sysdeps/powerpc/power6/wcscpy.c.
19873         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19874         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19875         file.
19876         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19877         file.
19878         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19879         file.
19880         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19881         multiarch wcsrchr for PPC32.
19882         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19883         multiarch objects.
19884         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19885         (__libc_ifunc_impl_list): Likewise.
19886         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19887         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19888         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19889         sysdeps/powerpc/power6/wcsrchr.c.
19891         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19892         file.
19893         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19894         file.
19895         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19896         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19897         multiarch wcschr for PPc32.
19898         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19899         multiarch objects.
19900         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19901         (__libc_ifunc_impl_list): Likewise.
19902         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19903         * sysdeps/powerpc/power6/wcschr.c: ... to here.
19904         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19905         sysdeps/powerpc/power6/wcschr.c.
19907         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19908         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19909         file.
19910         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19911         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19912         file: multiarch strchr for PPC32.
19913         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19914         multiarch objects.
19915         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19916         (__libc_ifunc_impl_list): Likewise.
19918         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19919         name.
19920         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19921         file.
19922         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19923         file.
19924         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19925         multiarch strchrnul for PPC32.
19926         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19927         multiarch objects.
19928         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19929         (__libc_ifunc_impl_list): Likewise.
19931         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19932         file.
19933         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19934         multiarch strncasecmp for PPC32.
19935         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19936         file.
19937         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19938         multiarch strncasecmp_l for PPC32.
19939         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19940         strncasecmp multiarch objects.
19941         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19942         (__libc_ifunc_impl_list): Likewise.
19944         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19945         file.
19946         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19947         multiarch strncasecmp for PPC32.
19948         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19949         New file.
19950         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19951         multiarch strcasecmp_l for PPC32.
19952         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19953         multiarch objects.
19954         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19955         (__libc_ifunc_impl_list): Likewise.
19957         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19958         file.
19959         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19960         file.
19961         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19962         multiarch strncmp for PPC32.
19963         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19964         multiarch objects.
19965         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19966         (__libc_ifunc_impl_list): Likewise.
19968         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19969         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19970         file.
19971         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19972         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19973         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19974         multiarch objects.
19975         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19976         (__libc_ifunc_impl_list): Likewise.
19978         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19979         file.
19980         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19981         file.
19982         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19983         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19984         multiarch objects.
19985         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19986         (__libc_ifunc_impl_list): Likewise.
19988         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19989         file.
19990         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19991         file.
19992         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19993         multiarch rawmemchr for PPC32.
19994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19995         multiarch objects.
19996         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19997         (__libc_ifunc_impl_list): Likewise.
19999         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20000         file.
20001         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20002         file.
20003         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20004         file: memrchr multiarch for PPC32.
20005         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20006         multiarch objects.
20007         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20008         (__libc_ifunc_impl_list): Likewise.
20010         * string/memchr.c (__memchr): Using macro to redefine symbol name.
20011         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20012         file.
20013         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20014         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20015         multiarch memchr for PPC32.
20016         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20017         multiarch objects.
20018         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20019         (__libc_ifunc_impl_list): Likewise.
20021         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20022         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20023         file.
20024         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20025         file.
20026         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20027         file: multiarch mempcpy for PPC32.
20028         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20029         multiarch objects.
20030         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20031         (__libc_ifunc_impl_list): Likewise.
20033         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20034         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20035         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20036         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20037         multiarch bzero for PPC32.
20038         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20039         file.
20040         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20041         file.
20042         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20043         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20044         file: multiarch memset for PPC32.
20045         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20047         memset multiarch objects.
20048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20049         (__libc_ifunc_impl_list): Likewise.
20051         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20052         file.
20053         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20054         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20055         memcmp for PPC32.
20056         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20057         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20058         multiarch objects.
20059         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20060         (__libc_ifunc_impl_list): Likewise.
20062         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20063         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20064         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20065         file.
20066         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20067         file.
20068         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20069         file.
20070         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20071         multiarch memcpy for PPC32.
20072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20073         multiarch objects.
20074         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20075         (__libc_ifunc_impl_list): Likewise.
20077         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20078         support multiarch for POWER/PPC32.
20079         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20080         Likewise.
20081         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20083         Implies file to make multiarch folder appers before the fpu and
20084         default folder for power4 configuration.
20086 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20088         * scripts/bench.pl: Append volatile keyword to type.
20090 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20092         * sysdeps/sh/sotruss-lib.c: New file.
20093         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20095 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20099 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
20101         [BZ #6810]
20102         * math/w_tgamma.c: Include <errno.h>.
20103         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
20104         * math/w_tgammaf.c: Include <errno.h>.
20105         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
20106         * math/w_tgammal.c: Include <errno.h>.
20107         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
20108         * math/auto-libm-test-in: Do not allow missing errno on tgamma
20109         underflow.  Add more tgamma tests.
20110         * math/auto-libm-test-out: Regenerated.
20111         * sysdeps/i386/fpu/libm-test-ulps: Update.
20112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20114         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20115         sin, sinh, tan, tanh, tgamma, y0 and y1.
20116         * math/auto-libm-test-out: Regenerated.
20117         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20118         (TEST_COND_x86): Likewise.
20119         (M_E2l): Remove macro.
20120         (M_E3l): Likewise.
20121         (M_2_SQRT_PIl): Likewise.
20122         (M_SQRT_PIl): Likewise.
20123         (M_1_DIV_El): Likewise.
20124         (log_test_data): Use AUTO_TESTS_f_f.
20125         (log10_test_data): Likewise.
20126         (log1p_test_data): Likewise.
20127         (log2_test_data): Likewise.
20128         (sin_test_data): Likewise.
20129         (sin_tonearest_test_data): Likewise.
20130         (sin_towardzero_test_data): Likewise.
20131         (sin_downward_test_data): Likewise.
20132         (sin_upward_test_data): Likewise.
20133         (sinh_test_data): Likewise.
20134         (sinh_tonearest_test_data): Likewise.
20135         (sinh_towardzero_test_data): Likewise.
20136         (sinh_downward_test_data): Likewise.
20137         (sinh_upward_test_data): Likewise.
20138         (tan_test_data): Likewise.
20139         (tan_tonearest_test_data): Likewise.
20140         (tan_towardzero_test_data): Likewise.
20141         (tan_downward_test_data): Likewise.
20142         (tan_upward_test_data): Likewise.
20143         (tanh_test_data): Likewise.
20144         (tgamma_test_data): Likewise.
20145         (y0_test_data): Likewise.
20146         (y1_test_data): Likewise.
20147         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20148         (special_real_inputs): Add pi/4.
20149         * sysdeps/i386/fpu/libm-test-ulps: Update.
20150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20152 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20154         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20155         "longjmp_target" static probes.
20156         (__longjmp): Rename to __longjmp_symbol.
20157         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20158         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20159         on which longjmp to generate.
20160         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20161         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20162         probe.
20163         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20164         (__sigjmp_save): Rename to __sigjmp_save_symbol.
20165         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20166         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20167         and __sigjmp_save_symbol based on which sigsetjmp to generated.
20168         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20170         __longjmp_symbol based on which __longjmp to generate.
20171         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20172         probe.
20173         (setjmp): Rename to setjmp_symbol.
20174         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20175         (_setjmp): Rename to _setjmp_symbol.
20176         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20177         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20178         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20179         which setjmp to generate.
20180         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20181         "longjmp_target" static probes.
20183 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20185         * benchtests/README: Add note about output arguments.
20186         * benchtests/bench-sincos.c: Remove file.
20187         * benchtests/sincos-inputs: New file.
20188         * scripts/bench.pl: Identify output arguments and define
20189         static variables for them.
20191         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20193         [BZ #15941]
20194         * Makefile (INSTALL): Add install-plain.texi as the primary
20195         dependency.
20196         * manual/install-plain.texi: New file.
20197         * manual/install.texi: Include node directive only for
20198         non-plaintext output.
20200 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
20202         * stdlib/longlong.h: Update from GCC.
20204         [BZ #6807]
20205         [BZ #15901]
20206         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20207         * math/w_j0f.c (y0f): Likewise.
20208         * math/w_j0l.c (__y0l): Likewise.
20209         * math/w_j1.c (y1): Likewise.
20210         * math/w_j1f.c (y1f): Likewise.
20211         * math/w_j1l.c (__y1l): Likewise
20212         * math/w_jn.c (yn): Likewise.
20213         * math/w_jnf.c (ynf): Likewise.
20214         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20215         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
20216         value for Bessel function domain errors outside _SVID_ mode.
20217         Adjust sign of return value for yn (negative integer, 0).
20218         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20219         by zero in return for negative x and set sign appropriately for
20220         negative n.
20221         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20222         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20223         * math/libm-test.inc (y0_test_data): Add more tests and adjust
20224         expectations in error cases.
20225         (y1_test_data): Likewise.
20226         (yn_test_data): Likewise.
20227         * sysdeps/i386/fpu/libm-test-ulps: Update.
20228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20230 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20232         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20233         "64" to "64-v1".  Add "64-v2".
20234         (abi-64-options): Rename to ...
20235         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
20236         (abi-64-condition): Rename to ...
20237         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
20238         (abi-64-ld-soname): Rename to ...
20239         (abi-64-v1-ld-soname): ... this.
20240         (abi-64-v2-options): Define.
20241         (abi-64-v2-condition): Likewise.
20242         (abi-64-v2-ld-soname): Likewise.
20243         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20244         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20249 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20250             Alan Modra  <amodra@gmail.com>
20252         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20253         New versions for use with the ELFv2 ABI.
20254         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20255         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20256         declaration.
20257         (struct La_ppc64v2_retval): Likewise.
20258         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20259         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20260         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20261         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20262         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20263         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20264         Do not save or restore CR.
20265         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20266         (_dl_profile_resolve): Do no save or restore CR.  Support extended
20267         return values for ELFv2 ABI.  Fix location of FPR return registers.
20268         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20269         updated values for _CALL_ELF == 2.
20270         (La_regs, La_retval, int_retval): Likewise.
20272 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20274         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20275         (FRAME_MIN_SIZE_PARM): Likewise.
20276         (FRAME_BACKCHAIN): Likewise.
20277         (FRAME_CR_SAVE): Likewise.
20278         (FRAME_LR_SAVE): Likewise.
20279         (FRAME_TOC_SAVE): Likewise.
20280         (FRAME_PARM_SAVE): Likewise.
20281         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20282         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20283         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20284         (call_mcount_parm_offset): New macro.
20285         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20286         (PROF): Use symbolic stack frame offsets.
20287         (TAIL_CALL_SYSCALL_ERROR): Likewise.
20288         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20289         Redefine in terms of FRAME_MIN_SIZE.
20290         (_dl_runtime_resolve): Use symbolic stack frame offsets.
20291         (_dl_profile_resolve): Likewise.  Update comment.
20292         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20293         symbols stack frame offsets.
20294         (__sigsetjmp): Likewise.
20295         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20296         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20297         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20298         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20301         (FRAME_BACKCHAIN): Remove.
20302         (FRAME_CR_SAVE): Likewise.
20303         (FRAME_LR_SAVE): Likewise.
20304         (FRAME_COMPILER_DW): Likewise.
20305         (FRAME_LINKER_DW): Likewise.
20306         (FRAME_TOC_SAVE): Likewise.
20307         (FRAME_PARM_SAVE): Likewise.
20308         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20309         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20310         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20312         (CHECK_SP): Use symbolic stack frame offsets.
20313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20314         zone" instead of caller's parameter save area for temp storage.
20315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20316         Likewise.  Also, use symbolic stack frame offsets.
20317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20318         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20319         our own stack frame instead of the caller's.
20320         (__socket): Use symbolic stack frame offsets.
20322 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20323             Alan Modra  <amodra@gmail.com>
20325         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20326         Define.
20327         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20328         (PPC64_LOCAL_ENTRY_OFFSET): Define.
20329         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20330         New function.
20331         (elf_machine_fixup_plt): Call it.
20332         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
20333         reloc arguments.
20334         (elf_machine_rela): Update call to elf_machine_plt_conflict.
20335         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20336         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20337         r2 before calling target.
20339 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20340             Alan Modra  <amodra@gmail.com>
20342         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20343         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20344         versions of macros to support ELFv2 ABI.
20345         (LOCALENTRY): New macro.
20346         (ENTRY, EALIGN): Use it.
20347         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20348         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20349         fall through into ENTRY entry point.
20350         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20351         Only define if _CALL_ELF != 2.
20353         (elf_machine_matches_host): Verify ABI version matches.
20354         (RTLD_START): Use LOCALENTRY.
20355         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20356         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20357         (PLT_ENTRY_WORDS): New macro.
20358         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20359         (elf_machine_runtime_setup): Support ELFv2 ABI.
20360         (elf_machine_fixup_plt): Likewise.
20361         (elf_machine_plt_conflict): Likewise.
20362         (resolve_ifunc): Likewise.
20363         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20364         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20365         Likewise.
20366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20367         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20369         (makecontext): Support ELFv2 ABI.
20370         * elf/elf.h (EF_PPC64_ABI): Define.
20372 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20374         * sysdeps/powerpc/powerpc64/sysdep.h
20375         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20376         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20377         (ENTRY) [ASSEMBLER]: ... but instead here ...
20378         (EALIGN) [ASSEMBLER]: ... and here.
20379         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20380         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20381         (ENTRY_2) [!ASSEMBLER]: Use it.
20382         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20383         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
20384         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20385         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20386         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20388         Use PPC64_LOAD_FUNCPTR.
20390         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20392 2013-12-04  Alan Modra  <amodra@gmail.com>
20394         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20395         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20396         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20397         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20399         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20400         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20401         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20402         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20403         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20404         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20406 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20409         (__makecontext): Fix incorrect CFI when backtracing out of
20410         context created via makecontext.
20411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20412         (__setcontext): Fix incorrect CFI during switch to new context.
20413         (__novec_setcontext): Likewise.
20415 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20417         [BZ #4772]
20418         * time/strptime_l.c (__strptime_internal): Allow modifiers
20419         in strptime.
20420         * time/tst-strptime.c (day_tests): Add testcase.
20422 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20424         * scripts/bench.pl: Skip over blank lines.
20426 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20428         [BZ #926]
20429         * manual/time.texi (Calendar Time): Clarify what timezone functions
20430         use.
20432 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20436 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20438         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20439         implementation.
20440         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20441         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20442         * debug/memset_chk.c (__memset_chk): Likewise.
20443         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20444         * debug/strncpy_chk.c: Likewise.
20446 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20448         [BZ #15268]
20449         [BZ #15425]
20450         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20451         (__ieee754_exp): For possibly underflowing results, check size of
20452         result and force underflow exception if required.
20453         * math/auto-libm-test-in: Add more tests of exp.
20454         * math/auto-libm-test-out: Regenerated.
20455         * sysdeps/i386/fpu/libm-test-ulps: Update.
20456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20458         [BZ #16283]
20459         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20460         * math/w_exp2f.c (__exp2f): Likewise.
20461         * math/w_exp2l.c (__exp2l): Likewise.
20462         * math/auto-libm-test-in: Do not allow missing errno on exp2
20463         underflow.
20464         * math/auto-libm-test-out: Regenerated.
20466 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
20468         [BZ #16274]
20469         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20470         handle filename validation.
20471         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20472         (do_open): Delete.
20474 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20476         [BZ #6786]
20477         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20478         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20479         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20480         <float.h>.
20481         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20482         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20483         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20484         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20485         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20486         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20487         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20488         * math/auto-libm-test-in: Don't allow missing errno from erfc.
20489         Add more erfc tests.
20490         * math/auto-libm-test-out: Regenerated.
20491         * sysdeps/i386/fpu/libm-test-ulps: Update.
20492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20494         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20495         exp2, expm1, j0 and j1.
20496         * math/auto-libm-test-out: Regenerated.
20497         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20498         (erfc_test_data): Likewise.
20499         (exp_test_data): Likewise.
20500         (exp_tonearest_test_data): Likewise.
20501         (exp_towardzero_test_data): Likewise.
20502         (exp_downward_test_data): Likewise.
20503         (exp_upward_test_data): Likewise.
20504         (exp10_test_data): Likewise.
20505         (exp2_test_data): Likewise.
20506         (expm1_test_data): Likewise.
20507         (j0_test_data): Likewise.
20508         (j1_test_data): Likewise.
20509         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20510         (input_flag_type): Add flag_xfail_rounding.
20511         (input_flags): Add xfail-rounding.
20512         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20513         (output_for_one_input_case): Handle flag_xfail_rounding.
20514         * sysdeps/i386/fpu/libm-test-ulps: Update.
20515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20517 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
20519         [BZ #16289]
20520         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20521         division by 0.
20523 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20525         [BZ #16195]
20526         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20527         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20528         (STAP_PROBE0): New macro.
20529         (STAP_PROBE1): Likewise.
20530         (STAP_PROBE2): Likewise.
20531         (STAP_PROBE3): Likewise.
20532         (STAP_PROBE4): Likewise.
20534 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
20536         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20538 2013-12-02  Steve Ellcey  <sellcey@mips.com>
20540         * benchtests/Makefile (bench): Add sqrt.
20541         (LDLIBS-bench-sqrt): New.
20542         * benchtests/sqrt-input: New.
20544 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
20546         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20547         (GAIH_EAI): Likewise.
20548         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20549         (gaih_inet): Likewise.
20550         (getaddrinfo): Don't use GAIH_EAI.
20552         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20553         (struct gaih): Remove definition.
20555 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20557         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20558         Use HERRNOP directly.
20560 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20564 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
20566         * math/gen-auto-libm-tests.c (test_functions): Add more
20567         single-argument functions.
20568         (special_fill_pi_2): New function.
20569         (special_fill_minus_pi_2): Likewise.
20570         (special_fill_pi_6): Likewise.
20571         (special_fill_minus_pi_6): Likewise.
20572         (special_fill_pi_3): Likewise.
20573         (special_fill_2pi_3): Likewise.
20574         (special_fill_e): Likewise.
20575         (special_fill_1_e): Likewise.
20576         (special_fill_e_minus_1): Likewise.
20577         (special_real_inputs): Add more special inputs.
20578         (output_for_one_input_case): Do not require ERANGE on underflow to
20579         zero if round-to-nearest result does not underflow to zero, unless
20580         exact results required.
20581         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20582         atan, atanh, cbrt, cos and cosh.
20583         * math/auto-libm-test-out: Regenerated.
20584         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20585         (acos_tonearest_test_data): Likewise.
20586         (acos_towardzero_test_data): Likewise.
20587         (acos_downward_test_data): Likewise.
20588         (acos_upward_test_data): Likewise.
20589         (acosh_test_data): Likewise.
20590         (asin_test_data): Likewise.
20591         (asin_tonearest_test_data): Likewise.
20592         (asin_towardzero_test_data): Likewise.
20593         (asin_upward_test_data): Likewise.
20594         (asinh_test_data): Likewise.
20595         (atan_test_data): Likewise.
20596         (atanh_test_data): Likewise.
20597         (cbrt_test_data): Likewise.
20598         (cos_test_data): Likewise.
20599         (cos_tonearest_test_data): Likewise.
20600         (cos_towardzero_test_data): Likewise.
20601         (cos_downward_test_data): Likewise.
20602         (cos_upward_test_data): Likewise.
20603         (cosh_test_data): Likewise.
20604         (cosh_tonearest_test_data): Likewise.
20605         (cosh_towardzero_test_data): Likewise.
20606         (cosh_downward_test_data): Likewise.
20607         (cosh_upward_test_data): Likewise.
20608         * sysdeps/i386/fpu/libm-test-ulps: Update.
20609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20611 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
20613         [BZ #6787]
20614         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20615         * math/w_exp10f.c (__exp10f): Likewise.
20616         * math/w_exp10l.c (__exp10l): Likewise.
20617         * math/libm-test.inc (exp10_test_data): Add more tests and expect
20618         errno settings in existing tests.
20620         [BZ #14032]
20621         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20622         precision control set to double precision.
20623         * sysdeps/i386/fpu/w_sqrt.c: New file.
20624         * math/auto-libm-test-in: Add more tests.
20625         * math/auto-libm-test-out: Update.
20627         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20628         (sqrt_test_tonearest): New function.
20629         (sqrt_towardzero_test_data): New variable.
20630         (sqrt_test_towardzero): New function.
20631         (sqrt_downward_test_data): New variable.
20632         (sqrt_test_downward): New function.
20633         (sqrt_upward_test_data): New variable.
20634         (sqrt_test_upward): New function.
20635         (main): Call the new functions.
20637         * math/gen-auto-libm-tests.c: New file.
20638         * math/auto-libm-test-in: Likewise.
20639         * math/auto-libm-test-out: New generated file.
20640         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20641         variables.
20642         (%beautify): Add generated representations of zero.
20643         (top level): Set $auto_input and call parse_auto_input.
20644         (beautify): Remove trailing "f" from hex float constants.
20645         (parse_args): Handle XFAIL_TEST.
20646         (convert_condition): New function.
20647         (or_value): Likewise.
20648         (or_cond_value): Likewise.
20649         (generate_testfile): Handle AUTO_TESTS_* lines.
20650         (parse_auto_input): New function.
20651         * math/libm-test.inc (XFAIL_TEST): New macro.
20652         (ERRNO_UNCHANGED): Update value.
20653         (ERRNO_EDOM): Likewise.
20654         (ERRNO_ERANGE): Likewise.
20655         (IGNORE_RESULT): Likewise.
20656         (TEST_COND_flt_32): New macro.
20657         (TEST_COND_dbl_64): Likewise.
20658         (TEST_COND_ldbl_96_intel): Likewise.
20659         (TEST_COND_ldbl_96_m68k): Likewise.
20660         (TEST_COND_ldbl_128): Likewise.
20661         (TEST_COND_ldbl_128ibm): Likewise.
20662         (TEST_COND_long32): Likewise.
20663         (TEST_COND_long64): Likewise.
20664         (TEST_COND_before_rounding): Likewise.
20665         (TEST_COND_after_rounding): Likewise.
20666         (enable_test): Handle XFAIL_TEST flag.
20667         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20668         with finite results.
20669         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20670         auto-libm-test-out.
20672 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20673             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20675         [BZ #16214]
20676         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20677         __tls_get_addr_internal instead of __tls_get_offset in order to
20678         avoid GOT pointer dependency.  Make rtld export
20679         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20680         __tls_get_addr since we are a __tls_get_offset platform.
20681         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20682         GOT pointer being set up before.
20683         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20685 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
20687         * manual/math.texi (Errors in Math Functions): Document accuracy
20688         goals.
20690         [BZ #15004]
20691         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20692         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20693         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20694         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20695         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20696         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20697         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20698         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20699         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20700         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20701         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20702         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20703         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20704         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20705         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20706         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20708         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20709         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20710         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20711         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20712         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20713         Likewise.
20714         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20715         Likewise.
20716         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20717         Likewise.
20718         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20719         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20720         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20721         atomic-feupdateenv and flt-rounds.
20722         * sysdeps/powerpc/nofpu/Versions (libc): Add
20723         __atomic_feholdexcept, __atomic_feclearexcept,
20724         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20725         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20726         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20727         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20728         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20729         here.
20730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20731         Update.
20733         * manual/arith.texi (FP Exceptions): Document that exceptions may
20734         not be raised when matherr is used.
20735         (Math Error Reporting): Document overflow in directed rounding
20736         modes.  Document that errno may not be set when finite values are
20737         returned on overflow.  Document intent to set errno on underflow
20738         only for underflow to zero.
20740         [BZ #16271]
20741         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20742         round-to-nearest then adjust result for other rounding modes.
20743         * include/fenv.h (fegetround): Use libm_hidden_proto.
20744         * math/fegetround.c (fegetround): Use libm_hidden_def.
20745         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20746         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20747         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20748         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20749         Likewise.
20750         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20751         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20752         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20753         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20755 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20757         [BZ #16077]
20758         * nss/Versions (libnss_files): Add
20759         _nss_files_gethostbyname3_r.
20760         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20761         New function.
20762         (HOST_DB_LOOKUP): Remove macro.
20763         (_nss_files_gethostbyname_r): Implement function without the
20764         HOST_DB_LOOKUP macro.
20765         (_nss_files_gethostbyname2_r): Likewise.
20767 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
20769         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20771 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
20773         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20774         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20775         warning.
20777 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20779         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20780         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20781         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20782         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20783         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20784         __fe_nomask_env_priv and attribute_hidden.
20785         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20786         (libc_feupdateenv_test_ppc): Likewise.
20787         (libc_feresetround_ppc): Likewise.
20788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20789         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20790         compat_symbol macro.
20791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20792         (__fe_nomask_env): Likewise.
20793         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20795 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20797         * string/Makefile: Remove ifunc tests.
20798         * string/test-string.h: Define TEST_IFUNC.
20799         * string/test-bcopy-ifunc.c: Remove.
20800         * string/test-bzero-ifunc.c: Likewise.
20801         * string/test-memccpy-ifunc.c: Likewise.
20802         * string/test-memchr-ifunc.c: Likewise.
20803         * string/test-memcmp-ifunc.c: Likewise.
20804         * string/test-memcpy-ifunc.c: Likewise.
20805         * string/test-memmem-ifunc.c: Likewise.
20806         * string/test-memmove-ifunc.c: Likewise.
20807         * string/test-mempcpy-ifunc.c: Likewise.
20808         * string/test-memrchr-ifunc.c: Likewise.
20809         * string/test-memset-ifunc.c: Likewise.
20810         * string/test-rawmemchr-ifunc.c: Likewise.
20811         * string/test-stpcpy-ifunc.c: Likewise.
20812         * string/test-stpncpy-ifunc.c: Likewise.
20813         * string/test-strcasecmp-ifunc.c: Likewise.
20814         * string/test-strcasestr-ifunc.c: Likewise.
20815         * string/test-strcat-ifunc.c: Likewise.
20816         * string/test-strchr-ifunc.c: Likewise.
20817         * string/test-strchrnul-ifunc.c: Likewise.
20818         * string/test-strcmp-ifunc.c: Likewise.
20819         * string/test-strcpy-ifunc.c: Likewise.
20820         * string/test-strcspn-ifunc.c: Likewise.
20821         * string/test-strlen-ifunc.c: Likewise.
20822         * string/test-strncasecmp-ifunc.c: Likewise.
20823         * string/test-strncat-ifunc.c: Likewise.
20824         * string/test-strncmp-ifunc.c: Likewise.
20825         * string/test-strncpy-ifunc.c: Likewise.
20826         * string/test-strnlen-ifunc.c: Likewise.
20827         * string/test-strpbrk-ifunc.c: Likewise.
20828         * string/test-strrchr-ifunc.c: Likewise.
20829         * string/test-strspn-ifunc.c: Likewise.
20830         * string/test-strstr-ifunc.c: Likewise.
20832 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20834         * benchtests/Makefile: Remove ifunc tests.
20835         * benchtests/bench-string.h: Define TEST_IFUNC.
20836         * benchtests/bench-bcopy-ifunc.c: Remove.
20837         * benchtests/bench-bzero-ifunc.c: Likewise.
20838         * benchtests/bench-memccpy-ifunc.c: Likewise.
20839         * benchtests/bench-memchr-ifunc.c: Likewise.
20840         * benchtests/bench-memcmp-ifunc.c: Likewise.
20841         * benchtests/bench-memcpy-ifunc.c: Likewise.
20842         * benchtests/bench-memmem-ifunc.c: Likewise.
20843         * benchtests/bench-memmove-ifunc.c: Likewise.
20844         * benchtests/bench-mempcpy-ifunc.c: Likewise.
20845         * benchtests/bench-memrchr-ifunc.c: Likewise.
20846         * benchtests/bench-memset-ifunc.c: Likewise.
20847         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20848         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20849         * benchtests/bench-stpcpy-ifunc.c: Likewise.
20850         * benchtests/bench-stpncpy-ifunc.c: Likewise.
20851         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20852         * benchtests/bench-strcasestr-ifunc.c: Likewise.
20853         * benchtests/bench-strcat-ifunc.c: Likewise.
20854         * benchtests/bench-strchr-ifunc.c: Likewise.
20855         * benchtests/bench-strchrnul-ifunc.c: Likewise.
20856         * benchtests/bench-strcmp-ifunc.c: Likewise.
20857         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20858         * benchtests/bench-strcpy-ifunc.c: Likewise.
20859         * benchtests/bench-strcspn-ifunc.c: Likewise.
20860         * benchtests/bench-strlen-ifunc.c: Likewise.
20861         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20862         * benchtests/bench-strncat-ifunc.c: Likewise.
20863         * benchtests/bench-strncmp-ifunc.c: Likewise.
20864         * benchtests/bench-strncpy-ifunc.c: Likewise.
20865         * benchtests/bench-strnlen-ifunc.c: Likewise.
20866         * benchtests/bench-strpbrk-ifunc.c: Likewise.
20867         * benchtests/bench-strrchr-ifunc.c: Likewise.
20868         * benchtests/bench-strsep-ifunc.c: Likewise.
20869         * benchtests/bench-strspn-ifunc.c: Likewise.
20870         * benchtests/bench-strstr-ifunc.c: Likewise.
20872 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20874         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20876 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20878         * resolv/netdb.h: Use __glibc_reserved instead __unused.
20879         * rt/aio.h: Likewise.
20880         * sysdeps/gnu/bits/utmp.h: Likewise.
20881         * sysdeps/gnu/bits/utmpx.h: Likewise.
20882         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20883         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20884         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20885         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20886         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20887         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20888         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20889         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20890         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20891         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20892         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20893         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20894         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20896         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20897         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20898         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20899         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20900         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20901         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20902         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20903         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20904         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20905         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20906         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20907         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20908         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20909         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20910         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20911         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20912         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20913         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20914         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20915         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20916         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20917         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20918         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20919         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20920         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20921         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20922         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20923         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20925 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
20927         [BZ #16245]
20928         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20929         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20931 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
20933         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20934         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20935         Likewise.
20937 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20939         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20940         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20941         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20942         (__fesetround): Remove define.
20943         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20944         rounding and exceptions handling.
20945         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20946         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20947         (__fe_nomask_env): Likewise.
20948         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20949         __fegetround instead of fegetround.
20950         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20951         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20953 2013-11-21  Roland McGrath  <roland@hack.frob.com>
20955         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20956         it's there.
20958         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20960 2013-11-21  Meador Inge  <meadori@codesourcery.com>
20962         [BZ #11157]
20963         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20964         (encrypt_r): Likewise.
20965         * malloc/obstack.h (obstack_free): Likewise.
20966         * posix/unistd.h (encrypt): Likewise.
20968 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
20970         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20971         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20972         DL_CALL_DT_FINI() that call the functions directly.
20973         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20974         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20975         * elf/dl-fini.c: Likewise.
20977 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
20979         * malloc/hooks.c (memalign_check): Add alignment rounding.
20980         * malloc/malloc.c (_mid_memalign): New function.
20981         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20982         Implement by calling _mid_memalign.
20983         * manual/probes.texi (Memory Allocation Probes): Remove
20984         memory_valloc_retry and memory_pvalloc_retry.
20986 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20988         * locale/programs/locarchive.c (open_archive): Add const
20989         qualifier to ARCHIVEFNAME and copy default fname to
20990         DEFAULT_FNAME.
20992         [BZ #15601]
20993         * libio/tst-widetext.input: Rename Oriya to Odia.
20994         * locale/iso-639.def: Likewise.
20996         * manual/probes.texi (Mathematical Function Probes): Add
20997         documentation for sin, cos, asin and acos probes.
20998         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20999         (__sin32): Add slowasin probe.
21000         (__cos32): Add slowacos probe.
21001         (__mpsin): Add slowsin probe.
21002         (__mpcos): Add slowcos probe.
21004 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
21006         [BZ #15483]
21007         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21008         thread-local __sim_exceptions_thread and global
21009         __sim_exceptions_global.
21010         (__sim_disabled_exceptions): Change to thread-local
21011         __sim_disabled_exceptions_thread and global
21012         __sim_disabled_exceptions_global.
21013         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21014         and global __sim_round_mode_global.
21015         (__simulate_exceptions): Use thread-local floating-point state and
21016         set global state from it as needed.
21017         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21018         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21019         __sim_round_mode_thread.
21020         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21021         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21022         and global __sim_exceptions_global.
21023         (__sim_disabled_exceptions): Change to thread-local
21024         __sim_disabled_exceptions_thread and global
21025         __sim_disabled_exceptions_global.
21026         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21027         and global __sim_round_mode_global.
21028         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21029         (SIM_SET_GLOBAL): Likewise.
21030         * sysdeps/powerpc/soft-fp/sfp-machine.h
21031         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21032         __sim_round_mode_thread.
21033         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21034         __sim_disabled_exceptions_thread.
21035         (__sim_exceptions): Change to __sim_exceptions_thread.
21036         (__sim_disabled_exceptions): Change to
21037         __sim_disabled_exceptions_thread.
21038         (__sim_round_mode): Change to __sim_round_mode_thread.
21039         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21040         thread-local floating-point state and set global state from it as
21041         needed.
21042         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21043         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21044         (__sim_disabled_exceptions): Remove extern declaration.
21045         (feenableexcept): Use thread-local floating-point state and set
21046         global state from it as needed.
21047         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21048         extern declaration.
21049         (__sim_disabled_exceptions): Likewise.
21050         (__sim_round_mode): Likewise.
21051         (__fegetenv): Use thread-local floating-point state.
21052         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21053         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21054         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21055         floating-point state and set global state from it as needed.
21056         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21057         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21058         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21059         Likewise.
21060         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21061         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21062         Likewise.
21063         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21064         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21065         Use __sim_round_mode_thread.
21066         * math/test-fenv-tls.c: New file.
21067         * math/Makefile (tests): Add test-fenv-tls.
21068         ($(objpfx)test-fenv-tls): Depend on
21069         $(common-objpfx)nptl/libpthread.so.
21071 2013-11-19  Andreas Schwab  <schwab@suse.de>
21073         * locale/programs/locale.c (show_info): Decode wordarray elements.
21074         * locale/categories.def (LC_MONETARY): Add element for
21075         _NL_MONETARY_CRNCYSTR.
21076         * locale/C-monetary.c (conversion_rate): New variable.
21077         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21078         element.
21080 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
21082         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21083         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21085 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21087         * elf/Makefile (tst-auxv): New test.
21088         * elf/tst-auxv.c: New
21089         * elf/rtld.c (dl_main): Adjust AT_EXECFN
21091 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
21093         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21094         (hidden_proto): Caller changed.
21095         (hidden_tls_proto): New macro.
21096         (libc_hidden_tls_proto): Likewise.
21097         (rtld_hidden_tls_proto): Likewise.
21098         (libm_hidden_tls_proto): Likewise.
21099         (libresolv_hidden_tls_proto): Likewise.
21100         (librt_hidden_tls_proto): Likewise.
21101         (libdl_hidden_tls_proto): Likewise.
21102         (libnss_files_hidden_tls_proto): Likewise.
21103         (libnsl_hidden_tls_proto): Likewise.
21104         (libnss_nisplus_hidden_tls_proto): Likewise.
21105         (libutil_hidden_tls_proto): Likewise.
21107 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
21109         [BZ #10253]
21110         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21111         (decompose_rpath): Defer expansion to fillin_rpath.
21112         (_dl_init_paths): Pass linkmap to fillin_rpath.
21114 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21116         * benchtests/Makefile: Add strsep.
21117         * benchtests/bench-strsep.c: New file: strsep benchtest.
21118         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21120 2013-11-18  Andreas Schwab  <schwab@suse.de>
21122         * locale/programs/locale.c (show_info) [case byte]: Check for
21123         '\377' instead of '\177'.
21124         * locale/C-monetary.c (not_available): Always use "\377".
21125         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21126         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
21127         detect unavailable sign_posn locale elements.
21128         * locale/localeconv.c (__localeconv): For grouping and
21129         mon_grouping handle "\177" and "\377" like no grouping.
21130         (INT_ELEM): New macro.  Use it to set all numeric members.
21131         * locale/programs/ld-monetary.c (monetary_read)
21132         <tok_mon_grouping>: Normalize single -1 to the empty string.
21133         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21134         Likewise.
21136 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21138         [BZ #16055]
21139         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21140         when we match (nil).
21141         * stdio-common/tst-sscanf.c (struct test): Add testcase.
21143 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
21145         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21146         (NO_TEST_INLINE): Update value.
21147         (ERRNO_UNCHANGED): Likewise.
21148         (ERRNO_EDOM): Likewise.
21149         (ERRNO_ERANGE): Likewise.
21150         (IGNORE_RESULT): Likewise.
21151         (check_float_internal): Check signs of NaN results if
21152         TEST_NAN_SIGN used.
21153         (check_complex): Pass TEST_NAN_SIGN flag through to second
21154         check_float_internal call.
21155         (copysign_test_data): Add tests with quiet NaNs as second
21156         argument.  Use TEST_NAN_SIGN.
21157         (fabs_test_data): Add test of negative quiet NaN argument.  Use
21158         TEST_NAN_SIGN.
21159         (signbit_test_data): Add tests of quiet NaN argument.
21160         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21162         * math/gen-libm-test.pl (show_exceptions): Take extra argument
21163         $ignore_result.
21164         (parse_args): Handle function results specified as IGNORE.
21165         * math/libm-test.inc (IGNORE_RESULT): New macro.
21166         (check_float_internal): Do not check numerical result if flag
21167         IGNORE_RESULT set.
21168         (check_complex): Pass through IGNORE_RESULT to second
21169         check_float_internal call.
21170         (check_int): Do not check numerical result if flag IGNORE_RESULT
21171         set.
21172         (check_long): Likewise.
21173         (check_bool): Likewise.
21174         (check_longlong): Likewise.
21175         (lrint_test_data): Add tests of infinite and NaN arguments.
21176         (lrint_tonearest_test_data): Likewise.
21177         (lrint_towardzero_test_data): Likewise.
21178         (lrint_downward_test_data): Likewise.
21179         (lrint_upward_test_data): Likewise.
21180         (llrint_test_data): Likewise.
21181         (llrint_tonearest_test_data): Likewise.
21182         (llrint_towardzero_test_data): Likewise.
21183         (llrint_downward_test_data): Likewise.
21184         (llrint_upward_test_data): Likewise.
21185         (lround_test_data): Likewise.
21186         (llround_test_data): Likewise.
21188         * math/libm-test.inc (NO_TEST_INLINE): New macro.
21189         (ERRNO_UNCHANGED): Update value.
21190         (ERRNO_EDOM): Likewise.
21191         (ERRNO_ERANGE): Likewise.
21192         (NO_TEST_INLINE_FLOAT): New macro.
21193         (NO_TEST_INLINE_DOUBLE): Likewise.
21194         (enable_test): New function.
21195         (RUN_TEST_f_f): Check enable_test before running test.
21196         (RUN_TEST_2_f): Likewise.
21197         (RUN_TEST_fff_f): Likewise.
21198         (RUN_TEST_c_f): Likewise.
21199         (RUN_TEST_f_f1): Likewise.
21200         (RUN_TEST_fF_f1): Likewise.
21201         (RUN_TEST_fI_f1): Likewise.
21202         (RUN_TEST_ffI_f1): Likewise.
21203         (RUN_TEST_c_c): Likewise.
21204         (RUN_TEST_cc_c): Likewise.
21205         (RUN_TEST_f_i): Likewise.
21206         (RUN_TEST_f_i_tg): Likewise.
21207         (RUN_TEST_ff_i_tg): Likewise.
21208         (RUN_TEST_f_b): Likewise.
21209         (RUN_TEST_f_b_tg): Likewise.
21210         (RUN_TEST_f_l): Likewise.
21211         (RUN_TEST_f_L): Likewise.
21212         (RUN_TEST_fFF_11): Likewise.
21213         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21214         conditionals.
21215         (cosh_test_data): Likewise.
21216         (exp_test_data): Likewise.
21217         (expm1_test_data): Likewise.
21218         (hypot_test_data): Likewise.
21219         (pow_test_data): Likewise.
21220         (sinh_test_data): Likewise.
21221         (tanh_test_data): Likewise.
21222         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21223         flags argument.
21225         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21226         tests with quiet NaN input and output.
21227         (acosh_test_data): Likewise.
21228         (asin_test_data): Likewise.
21229         (asinh_test_data): Likewise.
21230         (atan_test_data): Likewise.
21231         (atanh_test_data): Likewise.
21232         (atan2_test_data): Likewise.
21233         (cbrt_test_data): Likewise.
21234         (cos_test_data): Likewise.
21235         (cosh_test_data): Likewise.
21236         (erf_test_data): Likewise.
21237         (erfc_test_data): Likewise.
21238         (exp_test_data): Likewise.
21239         (exp10_test_data): Likewise.
21240         (exp2_test_data): Likewise.
21241         (expm1_test_data): Likewise.
21242         (hypot_test_data): Likewise.
21243         (j0_test_data): Likewise.
21244         (j1_test_data): Likewise.
21245         (jn_test_data): Likewise.
21246         (lgamma_test_data): Likewise.
21247         (log_test_data): Likewise.
21248         (log10_test_data): Likewise.
21249         (log1p_test_data): Likewise.
21250         (log2_test_data): Likewise.
21251         (pow_test_data): Likewise.
21252         (scalb_test_data): Likewise.
21253         (sin_test_data): Likewise.
21254         (sincos_test_data): Likewise.
21255         (sinh_test_data): Likewise.
21256         (tan_test_data): Likewise.
21257         (tanh_test_data): Likewise.
21258         (tgamma_test_data): Likewise.
21259         (y0_test_data): Likewise.
21260         (y1_test_data): Likewise.
21261         (yn_test_data): Likewise.
21263         [BZ #16167]
21264         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21265         argument being NaN and avoid computations with second argument in
21266         that case.
21267         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21268         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21269         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21271 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
21273         * locale/iso-639.def: Add Chitwani Tharu (the).
21275 2013-11-14  Andreas Schwab  <schwab@suse.de>
21277         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21278         word instead of empty string.
21280 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21283         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21285         (__fe_nomask_env): Likewise.
21287 2013-11-13  Steve Ellcey  <sellcey@mips.com>
21289         * benchtests/bench-timing.h: Include time.h.
21291 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
21293         [BZ #15997]
21294         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21295         to 3.4.0 for x32.
21296         * sysdeps/unix/sysv/linux/configure: Regenerated.
21298 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
21300         [BZ #16151]
21301         * stdlib/strtod_l.c (round_and_return): Do not consider
21302         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21303         exponent one less than half the least subnormal exponent.
21304         * stdlib/test-strtod-round-data: Add more tests.
21305         * stdlib/tst-strtod-round.c (tests): Regenerated.
21307 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21309         [BZ #14143]
21310         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21311         (__fe_mask_env): Likewise.
21312         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21313         libm_hidden_proto and add function prototype.
21314         (__fe_mask_env): Add function prototype.
21315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21316         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21318         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21320         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21322 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21324         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21325         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21327 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21329         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21330         of htab_find_slot().
21332 2013-11-11  David S. Miller  <davem@davemloft.net>
21334         [BZ #16150]
21335         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21336         symbol in the non-vis3 case in static builds.
21337         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21338         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21339         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21340         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21342 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
21344         [BZ #387]
21345         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21346         it is empty.
21348 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21350         * benchtests/Makefile: Add bench-strtod.
21351         * benchtests/bench-strtod.c: New file: strtod benchtest
21353 2013-11-11  Andreas Schwab  <schwab@suse.de>
21355         [BZ #16153]
21356         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21357         terminating NUL in key length.
21359 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21361         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21362         Add artificial ODP entry for vDSO symbol for PPC64.
21363         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21364         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21366 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21368         [BZ #15374]
21369         * nss/getent.c (services_keys): Recognize services starting with digit.
21371 2013-11-06  David S. Miller  <davem@davemloft.net>
21373         [BZ #15985]
21374         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21375         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21377 2013-11-06  Will Newton  <will.newton@linaro.org>
21379         * manual/memory.texi (Malloc Examples): Remove register
21380         keyword from examples.
21382 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
21384         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21386 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
21388         [BZ #6981]
21389         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21390         depending on [__GCC_IEC_559 > 0].
21391         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21392         depending on [__GCC_IEC_559_COMPLEX > 0].
21394 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
21396         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21397         to iso-639.def.
21399 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
21401         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21403 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
21405         [BZ #16112]
21406         * malloc/malloc (malloc_info): Do not handle first bin as
21407         special case.
21409 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
21411         * locale/iso-639.def: Add Central Nahuatl (nhn).
21413 2013-11-01  Bruno Haible  <bruno@clisp.org>
21415         [BZ #7003]
21416         * manual/math.texi (BSD Random): Specify range upper bound as
21417         in POSIX.
21419 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
21421         * locale/iso-639.def: Add Meadow Mari (mhr).
21423 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
21425         [BZ #14752], [BZ #15763]
21426         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21427         Validate name.
21428         * rt/tst_shm.c: Add test for escaping directory.
21430 2013-10-31  Andreas Schwab  <schwab@suse.de>
21432         [BZ #15917]
21433         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21434         followed by 'x' as part of digit sequence.
21435         * stdio-common/tst-sscanf.c (double_tests2): New tests.
21437 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21439         [BZ #16037]
21440         * configure.ac: allow GNU Make 4.0 and greater.
21441         * configure: Regenerated.
21443 2013-10-30  Will Newton  <will.newton@linaro.org>
21445         [BZ #16038]
21446         * malloc/hooks.c (memalign_check): Limit alignment to the
21447         maximum representable power of two.
21448         * malloc/malloc.c (__libc_memalign): Likewise.
21449         * malloc/tst-memalign.c (do_test): Add test for very
21450         large alignment values.
21451         * malloc/tst-posix_memalign.c (do_test): Likewise.
21453 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21455         [BZ #11087]
21456         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21457         (munmap_chunk): Likewise.
21458         (mremap_chunk): Likewise.
21460 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21462         [BZ #15799]
21463         * stdlib/div.c (div): Remove obsolete code.
21464         * stdlib/ldiv.c (ldiv): Likewise.
21465         * stdlib/lldiv.c (lldiv): Likewise.
21467 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21469         [BZ #16071]
21470         * nss/nss_files/files-XXX.c (get_contents_ret): New
21471         enumerator.
21472         (get_contents): New function.
21473         (internal_getent): Use it.  Expand size of LINEBUFLEN.
21475 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
21477         * configure.in: Moved to ...
21478         * configure.ac: ... here. Change reference to configure.in
21479         to configure.ac.
21480         * sysdeps/arm/preconfigure.ac: ... here.
21481         configure.in to configure.ac.
21482         * sysdeps/gnu/configure.in: Moved to ...
21483         * sysdeps/gnu/configure.ac: ... here.
21484         * sysdeps/i386/configure.in: Moved to ...
21485         * sysdeps/i386/configure.ac: ... here.
21486         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21487         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21488         * sysdeps/mach/configure.in: Moved to ...
21489         * sysdeps/mach/configure.ac: ... here.
21490         * sysdeps/mach/hurd/configure.in: Moved to ...
21491         * sysdeps/mach/hurd/configure.ac: ... here.
21492         * sysdeps/powerpc/configure.in: Moved to ...
21493         * sysdeps/powerpc/configure.ac: ... here.
21494         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21495         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21496         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21497         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21498         * sysdeps/s390/s390-32/configure.in: Moved to ...
21499         * sysdeps/s390/s390-32/configure.ac: ... here.
21500         * sysdeps/s390/s390-64/configure.in: Moved to ...
21501         * sysdeps/s390/s390-64/configure.ac: ... here.
21502         * sysdeps/sh/configure.in: Moved to ...
21503         * sysdeps/sh/configure.ac: ... here.
21504         * sysdeps/sparc/configure.in: Moved to ...
21505         * sysdeps/sparc/configure.ac: ... here.
21506         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21507         * sysdeps/unix/sysv/linux/configure.ac: ... here.
21508         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21509         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21510         * sysdeps/x86_64/configure.in: Moved to ...
21511         * sysdeps/x86_64/configure.ac: ... here.
21512         * sysdeps/x86_64/preconfigure.in: Moved to ...
21513         * sysdeps/x86_64/preconfigure.ac: ... here.
21514         * aclocal.m4: Change reference to configure.in to configure.ac.
21515         * config.h.in: Likewise.
21516         * manual/install.texi: Likewise.
21517         * manual/maint.texi: Likewise.
21518         * Makefile: Likewise.
21519         * malloc/Makefile: Likewise.
21520         * nscd/Makefile: Likewise.
21521         * Makeconfig: Change reference to configure.in and
21522         preconfigure.in to configure.ac and preconfigure.ac
21523         respectively.
21524         * INSTALL: Regenerated.
21525         * configure: Likewise.
21526         * sysdeps/gnu/configure: Likewise.
21527         * sysdeps/i386/configure: Likewise.
21528         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21529         * sysdeps/mach/configure: Likewise.
21530         * sysdeps/mach/hurd/configure: Likewise.
21531         * sysdeps/powerpc/configure: Likewise.
21532         * sysdeps/powerpc/powerpc32/configure: Likewise.
21533         * sysdeps/powerpc/powerpc64/configure: Likewise.
21534         * sysdeps/s390/s390-32/configure: Likewise.
21535         * sysdeps/s390/s390-64/configure: Likewise.
21536         * sysdeps/sh/configure: Likewise.
21537         * sysdeps/sparc/configure: Likewise.
21538         * sysdeps/unix/sysv/linux/configure: Likewise.
21539         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21540         * sysdeps/x86_64/configure: Likewise.
21541         * sysdeps/x86_64/preconfigure: Likewise.
21543 2013-10-29  Andreas Schwab  <schwab@suse.de>
21545         * stdio-common/Makefile (tst-swscanf-ENV): Define.
21547 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21549         * benchtests/pow-inputs: Add new inputs.
21551         * benchtests/exp-inputs: Add new inputs.
21553         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21554         conditional check for return value.
21555         (__cos32): Likewise.
21557 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21559         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21560         to provide a boost for large inputs with word alignment.
21561         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21562         implementation based on optimized PPC64 strcpy.
21563         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21564         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21565         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21566         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21568 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21570         [BZ #2801]
21571         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21573 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21575         [BZ #14876]
21576         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21577         * time/tst-strptime.c (day_tests): Add testcase.
21579 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21581         [BZ #14029]
21582         * manual/pattern.texi: Acknowledge that fnmatch can fail.
21584 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
21586         [BZ #16074]
21587         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21588         MAP_FAILED on error.
21590 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21592         [BZ #16072]
21593         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21594         heap for large requests.
21596 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
21598         [BZ #9954]
21599         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21600         result if the result has no associated interface.
21601         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21602         interface for all 127.X.Y.Z addresses.
21604 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
21606         * locale/iso-639.def: Add Ligurian (lij)
21608 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
21610         [BZ #15825]
21611         * sunrpc/rpc_main.c: Document rpcgen -5.
21613 2013-10-19  Michael Stahl  <mstahl@redhat.com>
21615         * elf/rtld.c (do_preload): Print the reason why preloading failed.
21617 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21619         [BZ #10278]
21620         * posix/glob.c: Match only directories when trailing slash is present.
21621         * posix/tst-gnuglob.c (my_opendir): Do not open files.
21622         (main): Add testcase.
21624 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21626         [BZ #15670]
21627         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21629 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
21631         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21632         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21633         AUTH_DES and cindex for FIPS 140-2.
21634         (DES Encryption): Add cindex FIPS 46-3.
21636         * locale/locarchive.h (struct locarhandle): Add fname.
21637         * locale/programs/localedef.c (main): Pass ARGV[remaining]
21638         if an optional argument was specified to --list-archive,
21639         otherwise NULL.
21640         * locale/programs/locarchive.c (show_archive_content): Take new
21641         argument fname and pass it via ah.fname to open_archive.
21642         * locale/programs/localedef.h: Update decl.
21643         (open_archive): If AH->fname is non-null, open that file
21644         rather than the default file name, and don't ignore ENOENT.
21645         (create_archive): Set AH.fname to NULL.
21646         (delete_locales_from_archive): Likewise.
21647         (add_locales_to_archive): Likewise.
21648         * locale/programs/locfile.c (write_all_categories): Likewise.
21650 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
21651             Aldy Hernandez  <aldyh@redhat.com>
21653         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21654         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21655         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21656         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21657         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21658         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21659         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21660         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21661         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21662         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21663         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21664         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21665         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21666         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21667         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21668         Likewise.
21669         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21670         Likewise.
21671         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21672         Likewise.
21673         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21674         Likewise.
21675         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21676         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21677         Likewise.
21678         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21679         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21680         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21681         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21682         Likewise.
21683         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21684         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21685         * sysdeps/powerpc/preconfigure: Likewise.
21686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21687         Likewise.
21688         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21689         Replace contents of file by #include of <fenv_libc.h>.
21690         * sysdeps/powerpc/soft-fp/sfp-machine.h
21691         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21692         and <sys/prctl.h>.
21693         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21694         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21695         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21696         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21697         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21698         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21699         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21700         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21701         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21702         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21703         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21704         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21706         Allow copysignl PLT reference to be missing.
21708 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
21709             Joseph Myers  <joseph@codesourcery.com
21711         [BZ #15948]
21712         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21713         single character.
21714         (add_to_tablewc): Assert sequence of wide characters is nonempty.
21716 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21718         * elf/tst-tls-dlinfo.c: Don't include tls.h.
21719         * elf/tst-tls1.c: Likewise.
21720         * elf/tst-tls10.h: Likewise.
21721         * elf/tst-tls14.c: Likewise.
21722         * elf/tst-tls2.c: Likewise.
21723         * elf/tst-tls3.c: Likewise.
21724         * elf/tst-tls4.c: Likewise.
21725         * elf/tst-tls5.c: Likewise.
21726         * elf/tst-tls6.c: Likewise.
21727         * elf/tst-tls7.c: Likewise.
21728         * elf/tst-tls8.c: Likewise.
21729         * elf/tst-tls9.c: Likewise.
21730         * elf/tst-tlsmod1.c: Likewise.
21731         * elf/tst-tlsmod13.c: Likewise.
21732         * elf/tst-tlsmod13a.c: Likewise.
21733         * elf/tst-tlsmod14a.c: Likewise.
21734         * elf/tst-tlsmod16a.c: Likewise.
21735         * elf/tst-tlsmod16b.c: Likewise.
21736         * elf/tst-tlsmod2.c: Likewise.
21737         * elf/tst-tlsmod3.c: Likewise.
21738         * elf/tst-tlsmod4.c: Likewise.
21739         * elf/tst-tlsmod5.c: Likewise.
21740         * elf/tst-tlsmod6.c: Likewise.
21742 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
21744         [BZ #12486]
21745         * malloc/malloc.c: remove checks for statistics.
21747 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21749         [BZ #15277]
21750         * inet/inet_net.c (inet_network): Detect additional invalid strings.
21751         * inet/tst-network.c: Add testcase.
21753 2013-10-17  Andreas Schwab  <schwab@suse.de>
21755         [BZ #15218]
21756         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21757         to determine canonical name.
21759 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21761         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21762         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21763         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21764         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21765         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21766         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21767         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21768         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21769         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21770         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21771         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21772         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21773         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21774         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21775         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21776         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21777         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21778         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21779         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21780         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21781         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21782         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21783         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21784         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21785         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21786         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21787         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21788         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21789         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21790         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21791         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21792         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21793         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21794         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21795         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21796         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21797         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21798         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21799         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21800         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21801         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21802         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21803         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21804         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21805         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21806         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21807         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21808         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21809         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21810         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21811         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21812         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21813         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21814         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21815         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21816         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21817         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21818         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21820 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
21822         [BZ #16041]
21823         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21824         make result into a quiet NaN.
21826 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
21828         * soft-fp/adddf3.c: Fix horizontal whitespace.
21829         * soft-fp/addsf3.c: Likewise.
21830         * soft-fp/addtf3.c: Likewise.
21831         * soft-fp/divdf3.c: Likewise.
21832         * soft-fp/divsf3.c: Likewise.
21833         * soft-fp/divtf3.c: Likewise.
21834         * soft-fp/double.h: Likewise.
21835         * soft-fp/eqdf2.c: Likewise.
21836         * soft-fp/eqsf2.c: Likewise.
21837         * soft-fp/eqtf2.c: Likewise.
21838         * soft-fp/extenddftf2.c: Likewise.
21839         * soft-fp/extended.h: Likewise.
21840         * soft-fp/extendsfdf2.c: Likewise.
21841         * soft-fp/extendsftf2.c: Likewise.
21842         * soft-fp/extendxftf2.c: Likewise.
21843         * soft-fp/fixdfdi.c: Likewise.
21844         * soft-fp/fixdfsi.c: Likewise.
21845         * soft-fp/fixdfti.c: Likewise.
21846         * soft-fp/fixsfdi.c: Likewise.
21847         * soft-fp/fixsfsi.c: Likewise.
21848         * soft-fp/fixsfti.c: Likewise.
21849         * soft-fp/fixtfdi.c: Likewise.
21850         * soft-fp/fixtfsi.c: Likewise.
21851         * soft-fp/fixtfti.c: Likewise.
21852         * soft-fp/fixunsdfdi.c: Likewise.
21853         * soft-fp/fixunsdfsi.c: Likewise.
21854         * soft-fp/fixunsdfti.c: Likewise.
21855         * soft-fp/fixunssfdi.c: Likewise.
21856         * soft-fp/fixunssfsi.c: Likewise.
21857         * soft-fp/fixunssfti.c: Likewise.
21858         * soft-fp/fixunstfdi.c: Likewise.
21859         * soft-fp/fixunstfsi.c: Likewise.
21860         * soft-fp/fixunstfti.c: Likewise.
21861         * soft-fp/floatdidf.c: Likewise.
21862         * soft-fp/floatdisf.c: Likewise.
21863         * soft-fp/floatditf.c: Likewise.
21864         * soft-fp/floatsidf.c: Likewise.
21865         * soft-fp/floatsisf.c: Likewise.
21866         * soft-fp/floatsitf.c: Likewise.
21867         * soft-fp/floattidf.c: Likewise.
21868         * soft-fp/floattisf.c: Likewise.
21869         * soft-fp/floattitf.c: Likewise.
21870         * soft-fp/floatundidf.c: Likewise.
21871         * soft-fp/floatundisf.c: Likewise.
21872         * soft-fp/floatunditf.c: Likewise.
21873         * soft-fp/floatunsidf.c: Likewise.
21874         * soft-fp/floatunsisf.c: Likewise.
21875         * soft-fp/floatunsitf.c: Likewise.
21876         * soft-fp/floatuntidf.c: Likewise.
21877         * soft-fp/floatuntisf.c: Likewise.
21878         * soft-fp/floatuntitf.c: Likewise.
21879         * soft-fp/fmadf4.c: Likewise.
21880         * soft-fp/fmasf4.c: Likewise.
21881         * soft-fp/fmatf4.c: Likewise.
21882         * soft-fp/gedf2.c: Likewise.
21883         * soft-fp/gesf2.c: Likewise.
21884         * soft-fp/getf2.c: Likewise.
21885         * soft-fp/ledf2.c: Likewise.
21886         * soft-fp/lesf2.c: Likewise.
21887         * soft-fp/letf2.c: Likewise.
21888         * soft-fp/muldf3.c: Likewise.
21889         * soft-fp/mulsf3.c: Likewise.
21890         * soft-fp/multf3.c: Likewise.
21891         * soft-fp/negdf2.c: Likewise.
21892         * soft-fp/negsf2.c: Likewise.
21893         * soft-fp/negtf2.c: Likewise.
21894         * soft-fp/op-1.h: Likewise.
21895         * soft-fp/op-2.h: Likewise.
21896         * soft-fp/op-4.h: Likewise.
21897         * soft-fp/op-8.h: Likewise.
21898         * soft-fp/op-common.h: Likewise.
21899         * soft-fp/quad.h: Likewise.
21900         * soft-fp/single.h: Likewise.
21901         * soft-fp/soft-fp.h: Likewise.
21902         * soft-fp/sqrtdf2.c: Likewise.
21903         * soft-fp/sqrtsf2.c: Likewise.
21904         * soft-fp/sqrttf2.c: Likewise.
21905         * soft-fp/subdf3.c: Likewise.
21906         * soft-fp/subsf3.c: Likewise.
21907         * soft-fp/subtf3.c: Likewise.
21908         * soft-fp/truncdfsf2.c: Likewise.
21909         * soft-fp/trunctfdf2.c: Likewise.
21910         * soft-fp/trunctfsf2.c: Likewise.
21911         * soft-fp/trunctfxf2.c: Likewise.
21912         * soft-fp/unorddf2.c: Likewise.
21913         * soft-fp/unordsf2.c: Likewise.
21914         * soft-fp/unordtf2.c: Likewise.
21916 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
21918         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21919         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21921 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
21923         * elf/dl-libc.c: Clear initfini list after freeing.
21925 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
21927         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21928         * soft-fp/addsf3.c: Likewise.
21929         * soft-fp/addtf3.c: Likewise.
21930         * soft-fp/divdf3.c: Likewise.
21931         * soft-fp/divsf3.c: Likewise.
21932         * soft-fp/divtf3.c: Likewise.
21933         * soft-fp/double.h: Likewise.
21934         * soft-fp/eqdf2.c: Likewise.
21935         * soft-fp/eqsf2.c: Likewise.
21936         * soft-fp/eqtf2.c: Likewise.
21937         * soft-fp/extenddftf2.c: Likewise.
21938         * soft-fp/extended.h: Likewise.
21939         * soft-fp/extendsfdf2.c: Likewise.
21940         * soft-fp/extendsftf2.c: Likewise.
21941         * soft-fp/extendxftf2.c: Likewise.
21942         * soft-fp/fixdfdi.c: Likewise.
21943         * soft-fp/fixdfsi.c: Likewise.
21944         * soft-fp/fixdfti.c: Likewise.
21945         * soft-fp/fixsfdi.c: Likewise.
21946         * soft-fp/fixsfsi.c: Likewise.
21947         * soft-fp/fixsfti.c: Likewise.
21948         * soft-fp/fixtfdi.c: Likewise.
21949         * soft-fp/fixtfsi.c: Likewise.
21950         * soft-fp/fixtfti.c: Likewise.
21951         * soft-fp/fixunsdfdi.c: Likewise.
21952         * soft-fp/fixunsdfsi.c: Likewise.
21953         * soft-fp/fixunsdfti.c: Likewise.
21954         * soft-fp/fixunssfdi.c: Likewise.
21955         * soft-fp/fixunssfsi.c: Likewise.
21956         * soft-fp/fixunssfti.c: Likewise.
21957         * soft-fp/fixunstfdi.c: Likewise.
21958         * soft-fp/fixunstfsi.c: Likewise.
21959         * soft-fp/fixunstfti.c: Likewise.
21960         * soft-fp/floatdidf.c: Likewise.
21961         * soft-fp/floatdisf.c: Likewise.
21962         * soft-fp/floatditf.c: Likewise.
21963         * soft-fp/floatsidf.c: Likewise.
21964         * soft-fp/floatsisf.c: Likewise.
21965         * soft-fp/floatsitf.c: Likewise.
21966         * soft-fp/floattidf.c: Likewise.
21967         * soft-fp/floattisf.c: Likewise.
21968         * soft-fp/floattitf.c: Likewise.
21969         * soft-fp/floatundidf.c: Likewise.
21970         * soft-fp/floatundisf.c: Likewise.
21971         * soft-fp/floatunsidf.c: Likewise.
21972         * soft-fp/floatunsisf.c: Likewise.
21973         * soft-fp/floatuntidf.c: Likewise.
21974         * soft-fp/floatuntisf.c: Likewise.
21975         * soft-fp/floatuntitf.c: Likewise.
21976         * soft-fp/fmadf4.c: Likewise.
21977         * soft-fp/fmasf4.c: Likewise.
21978         * soft-fp/fmatf4.c: Likewise.
21979         * soft-fp/gedf2.c: Likewise.
21980         * soft-fp/gesf2.c: Likewise.
21981         * soft-fp/getf2.c: Likewise.
21982         * soft-fp/ledf2.c: Likewise.
21983         * soft-fp/lesf2.c: Likewise.
21984         * soft-fp/letf2.c: Likewise.
21985         * soft-fp/muldf3.c: Likewise.
21986         * soft-fp/mulsf3.c: Likewise.
21987         * soft-fp/multf3.c: Likewise.
21988         * soft-fp/negdf2.c: Likewise.
21989         * soft-fp/negsf2.c: Likewise.
21990         * soft-fp/negtf2.c: Likewise.
21991         * soft-fp/op-1.h: Likewise.
21992         * soft-fp/op-2.h: Likewise.
21993         * soft-fp/op-4.h: Likewise.
21994         * soft-fp/op-8.h: Likewise.
21995         * soft-fp/op-common.h: Likewise.
21996         * soft-fp/quad.h: Likewise.
21997         * soft-fp/single.h: Likewise.
21998         * soft-fp/soft-fp.h: Likewise.
21999         * soft-fp/sqrtdf2.c: Likewise.
22000         * soft-fp/sqrtsf2.c: Likewise.
22001         * soft-fp/sqrttf2.c: Likewise.
22002         * soft-fp/subdf3.c: Likewise.
22003         * soft-fp/subsf3.c: Likewise.
22004         * soft-fp/subtf3.c: Likewise.
22005         * soft-fp/truncdfsf2.c: Likewise.
22006         * soft-fp/trunctfdf2.c: Likewise.
22007         * soft-fp/trunctfsf2.c: Likewise.
22008         * soft-fp/trunctfxf2.c: Likewise.
22009         * soft-fp/unorddf2.c: Likewise.
22010         * soft-fp/unordsf2.c: Likewise.
22011         * soft-fp/unordtf2.c: Likewise.
22013 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
22015         [BZ #15672]
22016         * misc/error.c (error_tail): Fix possible buffer overflow.
22018 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
22020         [BZ #13028]
22021         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22022         address.
22024 2013-10-14  P. J. McDermott  <pj@pehjota.net>
22026         [BZ #832]
22027         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
22028         testing pipefail option.
22030 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22032         * soft-fp/double.h: Indent preprocessor directives inside #if.
22033         * soft-fp/extended.h: Likewise.
22034         * soft-fp/op-2.h: Likewise.
22035         * soft-fp/op-4.h: Likewise.
22036         * soft-fp/op-common.h: Likewise.
22037         * soft-fp/quad.h: Likewise.
22038         * soft-fp/single.h: Likewise.
22039         * soft-fp/soft-fp.h: Likewise.
22041 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
22043         * iconv/iconv_prog.c: Fix typos.
22044         * stdio-common/psiginfo-data.h: Likewise.
22046 2013-10-12   Reuben Thomas <rrt@sc3d.org>
22048         [BZ #15764]
22049         * locale/setlocale.c: Fix typo.
22051 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22053         [BZ #16036]
22054         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22055         signaling NaN arguments.
22056         * soft-fp/unordsf2.c (__unordsf2): Likewise.
22057         * soft-fp/unordtf2.c (__unordtf2): Likewise.
22059         [BZ #14910]
22060         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22061         unordered operands.
22062         * soft-fp/gesf2.c (__gesf2): Likewise.
22063         * soft-fp/getf2.c (__getf2): Likewise.
22064         * soft-fp/ledf2.c (__ledf2): Likewise.
22065         * soft-fp/lesf2.c (__lesf2): Likewise.
22066         * soft-fp/letf2.c (__letf2): Likewise.
22068         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22069         * soft-fp/eqsf2.c (__eqsf2): Likewise.
22070         * soft-fp/eqtf2.c (__eqtf2): Likewise.
22071         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22072         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22073         * soft-fp/fixdfti.c (__fixdfti): Likewise.
22074         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22075         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22076         * soft-fp/fixsfti.c (__fixsfti): Likewise.
22077         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22078         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22079         * soft-fp/fixtfti.c (__fixtfti): Likewise.
22080         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22081         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22082         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22083         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22084         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22085         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22086         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22087         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22088         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22089         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22090         * soft-fp/floatdisf.c (__floatdisf): Likewise.
22091         * soft-fp/floatsisf.c (__floatsisf): Likewise.
22092         * soft-fp/floattidf.c (__floattidf): Likewise.
22093         * soft-fp/floattisf.c (__floattisf): Likewise.
22094         * soft-fp/floattitf.c (__floattitf): Likewise.
22095         * soft-fp/floatundidf.c (__floatundidf): Likewise.
22096         * soft-fp/floatundisf.c (__floatundisf): Likewise.
22097         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22098         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22099         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22100         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22101         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22102         * soft-fp/gesf2.c (__gesf2): Likewise.
22103         * soft-fp/getf2.c (__getf2): Likewise.
22104         * soft-fp/ledf2.c (__ledf2): Likewise.
22105         * soft-fp/lesf2.c (__lesf2): Likewise.
22106         * soft-fp/letf2.c (__letf2): Likewise.
22108         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22109         Undefine and redefine.
22110         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22111         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22112         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22113         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22114         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22115         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22116         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22117         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22118         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22119         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22120         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22121         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22122         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22123         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22124         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22126         [BZ #16032]
22127         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22128         without decrementing exponent if mantissa >= that for the
22129         denominator, not >.
22130         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22131         denominator, not >.  Decrement exponent in < case instead of
22132         incrementing in >= case.
22133         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22134         without decrementing exponent if mantissa >= that for the
22135         denominator, not >.
22137         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22138         computing saturated result for unsigned overflow.
22140 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22141             Jeff Law  <law@redhat.com>
22143         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22144         (atan2Mp): Add systemtap probe marker.
22145         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22146         (__ieee754_log): Add systemtap probe marker.
22147         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22148         (atanMp): Add systemtap probe marker.
22149         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22150         (tanMp): Add systemtap probe marker.
22151         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22152         (__slowexp): Add systemtap probe marker.
22153         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22154         (__slowpow): Add systemtap probe marker.
22155         * manual/probes.texi: Document probes.
22157 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
22159         [BZ #15362]
22160         * libio/fileops.c (_IO_new_file_write): Return count of bytes
22161         written.
22162         (_IO_new_file_xsputn): Don't return EOF if nothing has been
22163         written.
22164         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22165         written to buffer but not flushed.
22166         * libio/iofwrite_u.c:  Likewise.
22167         * libio/iopadn.c:  Return bytes returned even if EOF was
22168         encountered.
22169         * libio/iowpadn.c:  Likewise.
22170         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22171         if _IO_padn does not write the whole buffer.
22172         [!COMPILE_WPRINTF] (PAD): Likewise.
22174 2013-10-10  David S. Miller  <davem@davemloft.net>
22176         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22177         directory block.
22179 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22181         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
22182         instead of FSF address.
22183         * soft-fp/fixdfti.c: Likewise.
22184         * soft-fp/fixsfti.c: Likewise.
22185         * soft-fp/fixtfti.c: Likewise.
22186         * soft-fp/fixunsdfti.c: Likewise.
22187         * soft-fp/fixunssfti.c: Likewise.
22188         * soft-fp/fixunstfti.c: Likewise.
22189         * soft-fp/floattidf.c: Likewise.
22190         * soft-fp/floattisf.c: Likewise.
22191         * soft-fp/floattitf.c: Likewise.
22192         * soft-fp/floatuntidf.c: Likewise.
22193         * soft-fp/floatuntisf.c: Likewise.
22194         * soft-fp/floatuntitf.c: Likewise.
22195         * soft-fp/trunctfxf2.c: Likewise.
22197         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
22198         * soft-fp/fixdfti.c: Likewise.
22199         * soft-fp/fixsfti.c: Likewise.
22200         * soft-fp/fixtfti.c: Likewise.
22201         * soft-fp/fixunsdfti.c: Likewise.
22202         * soft-fp/fixunssfti.c: Likewise.
22203         * soft-fp/fixunstfti.c: Likewise.
22204         * soft-fp/floattidf.c: Likewise.
22205         * soft-fp/floattisf.c: Likewise.
22206         * soft-fp/floattitf.c: Likewise.
22207         * soft-fp/floatuntidf.c: Likewise.
22208         * soft-fp/floatuntisf.c: Likewise.
22209         * soft-fp/floatuntitf.c: Likewise.
22210         * soft-fp/trunctfxf2.c: Likewise.
22212 2013-10-10  David S. Miller  <davem@davemloft.net>
22214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22216 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
22218         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22219         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22220         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22221         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22222         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22223         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22224         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22226         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22227         for NaNs before doing comparisons on argument.
22228         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22229         Likewise.
22231 2013-10-10  Will Newton  <will.newton@linaro.org>
22233         * malloc/hooks.c (memalign_check): Ensure the value of bytes
22234         passed to _int_memalign does not overflow.
22236 2013-10-10  Torvald Riegel  <triegel@redhat.com>
22238         * scripts/bench.pl: Add include-sources directive.
22239         * benchtests/README: Update documentation.
22241 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22243         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22244         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22245         instead of FP_INIT_ROUNDMODE.
22246         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22247         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22249         [BZ #16034]
22250         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
22251         copy class of input value.
22252         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
22253         not handle exceptions.
22254         * soft-fp/negsf2.c (__negsf2): Likewise.
22255         * soft-fp/negtf2.c (__negtf2): Likewise.
22256         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22258 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
22260         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22261         semicolon.  From Linux kernel.
22263 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
22265         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22267 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
22269         [BZ #156]
22270         * manual/socket.texi: Added statement about buffer
22271         for gethostbyname2_r.
22273 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
22275         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22276         Use .p2align directive instead, throughout.
22277         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22278         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22279         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22280         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22281         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22282         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22283         * sysdeps/x86_64/strchr.S: Likewise.
22284         * sysdeps/x86_64/strrchr.S: Likewise.
22286 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22288         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22290         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22292         * sysdeps/generic/math_private.h (__mpsin1): Remove
22293         declaration.
22294         (__mpcos1): Likewise.
22295         (__mpsin): New argument __range_reduce.
22296         (__mpcos): Likewise.
22297         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22298         (slow): Use __mpsin and __mpcos.
22299         (slow1): Likewise.
22300         (slow2): Likewise.
22301         (sloww): Likewise.
22302         (sloww1): Likewise.
22303         (sloww2): Likewise.
22304         (bsloww): Likewise.
22305         (bsloww1): Likewise.
22306         (bsloww2): Likewise.
22307         (cslow2): Likewise.
22308         (csloww): Likewise.
22309         (csloww1): Likewise.
22310         (csloww2): Likewise.
22311         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22312         range_reduce.  Merge in __mpsin1.
22313         (__mpcos): Likewise.
22314         (__mpsin1): Remove.
22315         (__mpcos1): Likewise.
22317 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
22319         * locale/loadlocale.c (_nl_intern_locale_data): Use
22320         LOCFILE_ALIGNED_P.
22321         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22322         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22323         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22324         obstack data is appropriately aligned.
22325         (obstack_int32_grow_fast): Likewise.
22326         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22327         * locale/programs/locfile.c (add_locale_uint32): Likewise.
22328         (add_locale_uint32_array): Likewise.
22330 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22332         * benchtests/Makefile: Remove ARGLIST and RET variables.
22333         ($(objpfx)bench-%.c): Pass only function name to the script.
22334         * benchtests/README: Update documentation.
22335         * benchtests/acos-inputs: Add new directives.
22336         * benchtests/acosh-inputs: Likewise.
22337         * benchtests/asin-inputs: Likewise.
22338         * benchtests/asinh-inputs: Likewise.
22339         * benchtests/atan-inputs: Likewise.
22340         * benchtests/atanh-inputs: Likewise.
22341         * benchtests/cos-inputs: Likewise.
22342         * benchtests/cosh-inputs: Likewise.
22343         * benchtests/exp-inputs: Likewise.
22344         * benchtests/log-inputs: Likewise.
22345         * benchtests/pow-inputs: Likewise.
22346         * benchtests/rint-inputs: Likewise.
22347         * benchtests/sin-inputs: Likewise.
22348         * benchtests/sinh-inputs: Likewise.
22349         * benchtests/tan-inputs: Likewise.
22350         * benchtests/tanh-inputs: Likewise.
22351         * scripts/bench.pl: Add support for new directives.
22353 2013-10-07  Alan Modra  <amodra@gmail.com>
22355         * README: Fix careless merge.
22357 2013-10-05  Alan Modra  <amodra@gmail.com>
22359         * NEWS: Mention powerpc64le support and bugs fixed.
22360         * README: Both big-endian and little-endian powerpc64 supported.
22362 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22364         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22365         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22366         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22367         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22369 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
22371         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22372         match prototype.
22374 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
22376         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22377         Move -mhard-float appending from
22378         ports/sysdeps/powerpc/powerpc32/Makefile.
22379         [$(with-fp) = yes] (ASFLAGS): Likewise.
22380         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22381         * sysdeps/powerpc/nofpu: Move directory from
22382         ports/sysdeps/powerpc/nofpu.
22383         * sysdeps/powerpc/soft-fp: Move directory from
22384         ports/sysdeps/powerpc/soft-fp.
22385         * sysdeps/powerpc/powerpc32/405: Move directory from
22386         ports/sysdeps/powerpc/powerpc32/405.
22387         * sysdeps/powerpc/powerpc32/440: Move directory from
22388         ports/sysdeps/powerpc/powerpc32/440.
22389         * sysdeps/powerpc/powerpc32/464: Move directory from
22390         ports/sysdeps/powerpc/powerpc32/464.
22391         * sysdeps/powerpc/powerpc32/476: Move directory from
22392         ports/sysdeps/powerpc/powerpc32/476.
22393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22394         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22396         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22398         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22400         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22402         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22403         * README: Update for powerpc-*-linux-gnu software floating point
22404         support in libc.
22406         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22407         case to powerpc/powerpc32*.
22408         * sysdeps/unix/sysv/linux/configure: Regenerated.
22410         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22411         (_FPU_MASK_OM): Define as 0x04.
22412         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22413         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22414         0x00c10080.
22415         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22416         0x0000003c.
22417         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22420         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22421         getcontext_e500.
22422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22423         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22424         setcontext_e500.
22425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22426         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22427         and setcontext_e500.
22429 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
22431         * locale/iso-3166.def: Update iso-1366.def and related occurrences
22433 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22435         * manual/threads.texi (Default Thread Attributes): Fix typo.
22437 2013-10-04  Will Newton  <will.newton@linaro.org>
22439         * malloc/Makefile: Add tst-memalign.
22440         * malloc/tst-memalign.c: New file.
22442         * malloc/tst-posix_memalign.c: Add comments.
22443         (do_test): Add comments and call free on all potentially
22444         allocated pointers. Add space after cast.
22446         * malloc/tst-pvalloc.c: Add comments.
22447         (do_test): Add comments and call free on all potentially
22448         allocated pointers. Remove duplicate check for NULL pointer.
22449         Add space after cast.
22451         * malloc/tst-valloc.c: Add comments.
22452         (do_test): Add comments and call free on all potentially
22453         allocated pointers. Remove duplicate check for NULL pointer.
22454         Add space after cast.
22456 2013-10-04  Alan Modra  <amodra@gmail.com>
22458         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22459         Use stdint types in rather than __attribute__((mode())).
22460         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22462 2013-10-04  Alan Modra  <amodra@gmail.com>
22464         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22465         Correct handling of unaligned relocs for little-endian.
22466         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22468 2013-10-04  Alan Modra  <amodra@gmail.com>
22470         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22471         * configure: Regenerate.
22472         * nptl/shlib-versions: Powerpc*le starts at 2.18.
22473         * shlib-versions: Likewise.
22475 2013-10-04  Alan Modra  <amodra@gmail.com>
22477         * string/tester.c (test_memrchr): Increment reported test cycle.
22479 2013-10-04  Alan Modra  <amodra@gmail.com>
22481         * string/test-memcpy.c (do_one_test): When reporting errors, print
22482         string address and don't overrun end of string.
22484 2013-10-04  Alan Modra  <amodra@gmail.com>
22486         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22487         insrdi.  Make better use of reg selection to speed exit slightly.
22488         Schedule entry path a little better.  Remove useless "are we done"
22489         checks on entry to main loop.  Handle wrapping around zero address.
22490         Correct main loop count.  Handle single left-over word from main
22491         loop inline rather than by using loop_small.  Remove extra word
22492         case in loop_small caused by wrong loop count.  Add little-endian
22493         support.
22494         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22495         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
22496         cache hint.
22497         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22498         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22499         support.  Avoid rlwimi.
22500         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22502 2013-10-04  Alan Modra  <amodra@gmail.com>
22504         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22505         insrdi.  Formatting.
22506         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22507         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22508         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22509         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22510         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22511         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22513 2013-10-04  Alan Modra  <amodra@gmail.com>
22515         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22516         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22517         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22518         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22519         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22520         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22521         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22522         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22523         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
22524         use of regs.  Use power7 mtocrf.  Tidy function tails.
22526 2013-10-04  Alan Modra  <amodra@gmail.com>
22528         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22529         Formatting.  Consistently use rXXX register defines or rN defines.
22530         Use early exit labels that avoid restoring unused non-volatile regs.
22531         Make cr field use more consistent with rWORDn compares.  Rename
22532         regs used as shift registers for unaligned loop, using rN defines
22533         for short lifetime/multiple use regs.
22534         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22535         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
22536         addi 1,1,64 to pop stack frame.  Simplify return value code.
22537         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22539 2013-10-04  Alan Modra  <amodra@gmail.com>
22541         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22542         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
22543         rather than rlwimi.
22544         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22545         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22546         little-endian support.  Correct typos.
22547         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
22548         rather than rlwimi.
22549         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
22550         in loop and entry code to keep "and." results.
22551         (strchr): Add little-endian support.  Comment.  Move cntlzd
22552         earlier in tail.
22553         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22555 2013-10-04  Alan Modra  <amodra@gmail.com>
22557         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22558         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22559         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22560         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22562 2013-10-04  Alan Modra  <amodra@gmail.com>
22564         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22565         (rTMP): Define as r11.
22566         (strcmp): Add little-endian support.  Optimise tail.
22567         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22568         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22569         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22570         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22571         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22572         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22573         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22575 2013-10-04  Alan Modra  <amodra@gmail.com>
22577         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22578         little-endian support.  Remove unnecessary "are we done" tests.
22579         Handle "s" wrapping around zero and extremely large "size".
22580         Correct main loop count.  Handle single left-over word from main
22581         loop inline rather than by using small_loop.  Correct comments.
22582         Delete "zero" tail, use "end_max" instead.
22583         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22585 2013-10-04  Alan Modra  <amodra@gmail.com>
22587         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22588         support.  Don't branch over align.
22589         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22590         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22591         support.  Rearrange tmp reg use to suit.  Comment.
22592         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22594 2013-10-04  Alan Modra  <amodra@gmail.com>
22596         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22598 2013-10-04  Alan Modra  <amodra@gmail.com>
22600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22601         conditional form of branch and link when obtaining pc.
22602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22604 2013-10-04  Alan Modra  <amodra@gmail.com>
22606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22607         HIWORD/LOWORD.
22608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22611 2013-10-04  Alan Modra  <amodra@gmail.com>
22613         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22614         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22615         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22616         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22617         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22618         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22619         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22620         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22621         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22622         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22624 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22625             Alistair Popple <alistair@ozlabs.au.ibm.com>
22626             Alan Modra <amodra@gmail.com>
22628         [BZ #15723]
22629         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22630         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22631         _dl_hwcap access for little-endian.
22632         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
22633         destroy vmx regs when saving unaligned.
22634         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22635         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
22636         destroy vmx regs when saving unaligned.
22638 2013-10-04  Alan Modra  <amodra@gmail.com>
22640         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22641         Don't use a union to pack hi/low value.
22643 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22645         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22646         for little-endian.
22647         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22648         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22649         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22650         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22651         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22653 2013-10-04  Alan Modra  <amodra@gmail.com>
22655         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22656         constants to usual value for .cst8 section, and remove redundant
22657         high address load.
22658         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22659         constant for 0x1p52.  Load little-endian words of double from
22660         correct stack offsets.
22662 2013-10-04  Alan Modra  <amodra@gmail.com>
22664         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22665         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22666         words of double from correct stack offsets.
22667         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22668         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22669         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22670         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22671         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22672         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22673         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22674         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22675         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22676         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22677         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22678         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22679         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22680         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22681         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22682         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22683         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22685 2013-10-04  Alan Modra  <amodra@gmail.com>
22687         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22688         64-bit int/double union.
22689         (_FPU_SETCW): Likewise.
22690         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22691         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22693 2013-10-04  Alan Modra  <amodra@gmail.com>
22695         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22696         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22698 2013-10-04  Alan Modra  <amodra@gmail.com>
22700         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22701         use vector int constants.
22702         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22704 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22706         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22707         array with long long.
22708         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22709         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22710         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22711         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22712         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22713         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22714         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22715         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22716         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22717         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22718         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22719         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22720         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22722 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22724         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22725         (__signbit): Likewise.  Correct for little-endian.
22726         (__signbitl): Call __signbit.
22727         (lrint): Correct for little-endian.
22728         (lrintf): Call lrint.
22730 2013-10-04  Alan Modra  <amodra@gmail.com>
22732         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22733         union 32-bit int array member with 64-bit int array.
22734         (t515, tm256): Double rather than long double.
22735         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22737 2013-10-04  Alan Modra  <amodra@gmail.com>
22739         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22740         Delete.
22741         (IEEE854_LONG_DOUBLE_BIAS): Delete.
22742         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22743         version of math_ldbl.h.
22745 2013-10-04  Alan Modra  <amodra@gmail.com>
22747         [BZ #15734], [BZ #15735]
22748         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22749         all uses of ieee875 long double macros and unions.  Simplify test
22750         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
22751         ldbl_extract_mantissa value for ix,iy exponents.  Properly
22752         normalize after ldbl_extract_mantissa, and don't add hidden bit
22753         already handled.  Don't treat low word of ieee854 mantissa like
22754         low word of IBM long double and mask off bit when testing for
22755         zero.
22756         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22757         all uses of ieee875 long double macros and unions.  Simplify tests
22758         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
22759         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
22760         two1022, instead use their values.  Recognise that tests for large
22761         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
22762         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22763         Rewrite all uses of ieee875 long double macros and unions.  Simplify
22764         test for 0.0L and nan.  Correct negation.
22765         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22766         ieee875 long double macros and unions.  Correct output for large
22767         magnitude x.  Correct absolute value calculation.
22768         (__erfcl): Likewise.
22769         * math/libm-test.inc: Add tests for errors discovered in IBM long
22770         double versions of fmodl, remainderl, erfl and erfcl.
22772 2013-10-04  Alan Modra  <amodra@gmail.com>
22774         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22775         all uses of ieee854 long double macros and unions.  Simplify tests
22776         for long doubles that are fully specified by the high double.
22777         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22778         Likewise.
22779         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22780         Remove dead code too.
22781         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22782         (__ieee754_ynl): Likewise.
22783         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22784         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22785         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22786         Remove dead code too.
22787         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22788         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22789         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22790         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22791         Simplify.
22792         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22793         Simplify.
22794         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22795         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22796         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22797         Comment on variable precision.
22798         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22799         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22800         Likewise.
22801         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22802         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22803         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22804         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22805         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22807 2013-10-04  Alan Modra  <amodra@gmail.com>
22809         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22810         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22811         all uses of ieee854 long double macros and unions.
22812         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22813         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22814         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22815         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22816         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22817         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22818         Likewise.
22819         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22820         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22821         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22822         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22823         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22824         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22825         Simplify sign and nan test too.
22826         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22827         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22828         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22829         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22830         Likewise.
22831         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22832         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22833         Likewise.
22834         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22835         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22836         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22837         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22838         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22839         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22841 2013-10-04  Alan Modra  <amodra@gmail.com>
22843         * stdio-common/printf_size.c (__printf_size): Don't use
22844         union ieee854_long_double in fpnum union.
22845         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
22846         signbit macro to retrieve sign from long double.
22847         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22848         retrieve sign from long double.
22849         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22850         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22851         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22852         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22853         * math/test-misc.c (main): Don't use union ieee854_long_double.
22855 2013-10-04  Alan Modra  <amodra@gmail.com>
22857         [BZ #15680]
22858         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22859         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22860         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22861         calculation.  Remove unnecessary test for denormal exponent.
22862         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22863         Correct handling of denormals.  Avoid undefined shift behaviour.
22864         Correct normalisation of low mantissa when low double is denormal.
22865         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22866         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
22867         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22868         Correct normalisation of low mantissa.  Test for overflow of high
22869         mantissa and normalise.
22870         (ldbl_nearbyint): Use more readable constant for two52.
22871         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22872         (__mpn_construct_long_double): Fix test for overflow of high
22873         mantissa and correct normalisation.  Avoid undefined shift.
22875 2013-10-04  Alan Modra  <amodra@gmail.com>
22877         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22878         (union ibm_extended_long_double): Define as an array of ieee754_double.
22879         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22880         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22881         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22882         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22883         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22884         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22885         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22886         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22887         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22888         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22889         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22891 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
22893         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22894         page size instead of calling getpagesize.
22896         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22897         (LOCFILE_ALIGN_MASK): Likewise.
22898         (LOCFILE_ALIGN_UP): Likewise.
22899         (LOCFILE_ALIGNED_P): Likewise.
22900         * locale/programs/ld-collate.c (collate_output): Use the new
22901         macros instead of __alignof__ (int32_t).
22902         * locale/weight.h (findidx): Likewise.
22904 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
22906         [BZ #431]
22907         * manual/string.texi: Fix strncat and wcsncat.
22909 2013-10-03  Brooks Moses  <bmoses@google.com>
22911         [BZ #15915]
22912         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22913         * Makerules: ...here, and adjust associated comments.
22915 2013-10-02  Will Newton  <will.newton@linaro.org>
22917         * malloc/Makefile: Add tst-pvalloc.
22918         * malloc/tst-pvalloc.c: New file.
22920 2013-10-02  Will Newton  <will.newton@linaro.org>
22922         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22923         improve test coverage.
22925 2013-10-02  Will Newton  <will.newton@linaro.org>
22927         * malloc/Makefile: Add tst-posix_memalign.
22928         * malloc/tst-posix_memalign.c: New file.
22930 2013-10-01  Eric Blake  <eblake@redhat.com>
22932         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22933         Use __THROWNL rather than __THROW on static functions.
22935 2013-09-30  Petr Machata  <pmachata@redhat.com>
22937         * elf/elf.h (R_AARCH64_ABS16): New macro.
22938         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22939         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22940         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22941         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22942         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22943         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22944         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22945         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22946         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22947         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22948         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22949         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22950         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22951         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22952         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22953         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22954         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22955         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22956         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22957         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22958         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22959         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22960         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22961         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22962         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22963         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22964         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22965         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22966         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22967         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22968         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22969         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22970         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22971         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22972         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22973         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22974         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22975         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22976         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22977         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22978         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22979         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22980         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22981         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22982         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22983         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22984         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22985         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22986         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22987         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22988         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22989         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22990         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22991         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22992         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22993         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22994         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22995         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22996         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22997         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22998         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22999         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23000         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23001         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23002         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23003         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23004         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23005         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23006         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23007         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23008         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23009         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23010         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23011         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23012         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23013         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23014         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23015         (R_AARCH64_TLSDESC_LDR): Likewise.
23016         (R_AARCH64_TLSDESC_ADD): Likewise.
23017         (R_AARCH64_TLSDESC_CALL): Likewise.
23019 2013-09-30  Andreas Schwab  <schwab@suse.de>
23021         [BZ #15048]
23022         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23023         the nss database lookup.
23024         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23025         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23027 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
23029         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23031 2013-09-28  P. J. McDermott  <pj@pehjota.net>
23033         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23034         ${Bash-specific parameter/pattern/string} parameter expansion.
23035         * sysdeps/unix/make-syscalls.sh: Likewise.
23037 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23039         * sysdeps/sh/stackguard-macros.h: New file.
23041 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
23043         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23044         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23045         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23046         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23047         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23048         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23050 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23052         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23053         Fix thread ID register.
23055 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
23057         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23058         [POSIX || UNIX98]: Require rather than permitting all symbols from
23059         <time.h>.
23060         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23061         element of struct sched_param.
23062         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23063         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23064         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23065         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23066         constant.
23068 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
23070         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23071         argument calculation.
23073 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23075         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23076         Expect macro.
23077         [POSIX] (pthread_attr_t): Do not require type.
23078         [POSIX] (pthread_cond_t): Likewise.
23079         [POSIX] (pthread_condattr_t): Likewise.
23080         [POSIX] (pthread_key_t): Likewise.
23081         [POSIX] (pthread_mutex_t): Likewise.
23082         [POSIX] (pthread_mutexattr_t): Likewise.
23083         [POSIX] (pthread_once_t): Likewise.
23084         [POSIX] (pthread_t): Likewise.
23085         [POSIX-based standards] (pthread_atfork): Expect function.
23087 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23088             Richard Sandiford  <richard@codesourcery.com>
23090         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23091         (swap_endianness_p): New extern variable.
23092         (set_big_endian): New inline function.
23093         (maybe_swap_uint32): Likewise.
23094         (maybe_swap_uint32_array): Likewise.
23095         (maybe_swap_uint32_obstack): Likewise.
23096         * locale/programs/locfile.c: Include <stdbool.h>.
23097         (swap_endianness_p): New variable.
23098         (add_locale_uint32): Call maybe_swap_uint32.
23099         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23100         (write_locale_data): Call maybe_swap_uint32_array.
23101         * locale/programs/ld-collate.c (obstack_int32_grow): Call
23102         maybe_swap_uint32.
23103         (obstack_int32_grow_fast): Likewise.
23104         (output_weightwc): Call maybe_swap_uint32_obstack.
23105         (collate_output): Likewise.
23106         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23107         (OPT_LITTLE_ENDIAN): Likewise.
23108         (options): Add --little-endian and --big-endian options.
23109         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23110         * locale/programs/locarchive.c: Include "locfile.h".
23111         (GET): New macro.
23112         (SET): Likewise.
23113         (INC): Likewise.
23114         (create_archive): Use the new macros to access fields of
23115         structures directly mapped from or written to locale archives.
23116         (oldlocrecentcmp): Likewise.
23117         (enlarge_archive): Likewise.
23118         (insert_name): Likewise.
23119         (add_alias): Likewise.
23120         (add_locale): Likewise.
23121         (delete_locales_from_archive): Likewise.
23122         (show_archive_content): Likewise.
23123         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
23124         locale data.
23126 2013-09-24  Roland McGrath  <roland@hack.frob.com>
23128         * manual/freemanuals.texi: Updated from (newly) canonical copy at
23129         http://www.gnu.org/doc/freemanuals.texi.
23130         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23132 2013-09-24  Will Newton  <will.newton@linaro.org>
23134         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23135         macro.
23137 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
23139         * locale/hashval.h (compute_hashval): Interpret bytes of key as
23140         unsigned char.
23142 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
23144         * manual/threads.texi (POSIX Threads): Fix a typo.
23146 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23148         [BZ #14547]
23149         * string/tst-strcoll-overflow.c: New test case.
23150         * string/Makefile (xtests): Add tst-strcoll-overflow.
23151         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23152         cache if string sizes may cause integer overflow.
23154         [BZ #14547]
23155         * string/strcoll_l.c (coll_seq): New members rule, idx,
23156         save_idx and back_us.
23157         (get_next_seq_nocache): New function.
23158         (do_compare_nocache): New function.
23159         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23160         when malloc fails.
23162 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
23164         [BZ #15754]
23165         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23166         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23167         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23169         [BZ #15754]
23170         * elf/Makefile (tests): Add tst-ptrguard1.
23171         (tests-static): Add tst-ptrguard1-static.
23172         (tst-ptrguard1-ARGS): Define.
23173         (tst-ptrguard1-static-ARGS): Define.
23174         * elf/tst-ptrguard1.c: New file.
23175         * elf/tst-ptrguard1-static.c: New file.
23176         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23177         * sysdeps/i386/stackguard-macros.h: Likewise.
23178         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23179         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23180         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23181         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23182         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23183         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23185 2013-09-23  Hector Marco  <hecmargi@upv.es>
23186             Ismael Ripoll  <iripoll@disca.upv.es>
23187             Carlos O'Donell  <carlos@redhat.com>
23189         [BZ #15754]
23190         * sysdeps/generic/stackguard-macros.h: Define
23191         __pointer_chk_guard_local and POINTER_CHK_GUARD.
23192         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23193         Define __pointer_chk_guard_local.
23194         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23195         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23197 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
23199         [BZ #15859]
23200         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23202 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
23204         * include/string.h (__ffs): Declare as hidden.
23205         * string/ffs.c (__ffs): Define as hidden.
23206         * sysdeps/i386/ffs.c (__ffs): Likewise.
23207         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23208         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23209         * sysdeps/s390/ffs.c (__ffs): Likewise.
23210         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23212 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
23214         * NEWS: Mention malloc probes.
23216         * malloc/arena.c (new_heap): New memory_heap_new probe.
23217         (grow_heap): New memory_heap_more probe.
23218         (shrink_heap): New memory_heap_less probe.
23219         (heap_trim): New memory_heap_free probe.
23220         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23221         (systrim): New memory_sbrk_less probe.
23222         * manual/probes.texi: Document them.
23224         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23225         * manual/probes.texi: Document it.
23227         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23228         (__libc_realloc): Add memory_realloc_retry probe.
23229         (__libc_memalign): Add memory_memalign_retry probe.
23230         (__libc_valloc): Add memory_valloc_retry probe.
23231         (__libc_pvalloc): Add memory_pvalloc_retry probe.
23232         (__libc_calloc): Add memory_calloc_retry probe.
23233         * manual/probes.texi: Document them.
23235         * malloc/arena.c (get_free_list): Add probe
23236         memory_arena_reuse_free_list.
23237         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23238         and memory_arena_reuse.
23239         (arena_get2) [!PER_THREAD]: Likewise.
23240         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23241         memory_arena_reuse_realloc.
23242         * manual/probes.texi: Document them.
23244         * malloc/malloc.c (__libc_free): Add
23245         memory_mallopt_free_dyn_thresholds probe.
23246         (__libc_mallopt): Add multiple memory_mallopt probes.
23247         * manual/probes.texi: Document them.
23249         * malloc/malloc.c: Include stap-probe.h.
23250         (__libc_mallopt): Add memory_mallopt probe.
23251         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23252         * manual/probes.texi: New.
23253         * manual/Makefile (chapters): Add probes.
23254         * manual/threads.texi: Set next node.
23256 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
23258         [BZ #15963, #13985]
23259         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23260         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23261         Add `Chinese' to `nan' entry name.
23263 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23265         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23266         (POLYNOMIAL): Likewise.
23267         (TAYLOR_SINCOS): Likewise.
23268         (TAYLOR_SLOW): Likewise.
23269         (__sin): Use TAYLOR_SINCOS.
23270         (__cos): Likewise.
23271         (slow): Use TAYLOR_SLOW.
23272         (sloww): Likewise.
23273         (bsloww): Likewise.
23274         (csloww): Likewise.
23276 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23278         * stdlib/strtod_l.c: Fix buffer overrun.
23280 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23282         * benchtests/Makefile (bench): Add sincos.
23283         * benchtests/bench-sincos.c: New file.
23285         * math/libm-test.inc (cos_test_data): New test inputs.
23286         (sin_test_data): Likewise.
23288         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23289         macro.
23290         (__sin): Use it.
23291         (__cos): Likewise.
23292         (slow1): Likewise.
23293         (slow2): Likewise.
23294         (sloww1): Likewise.
23295         (sloww2): Likewise.
23296         (bsloww1): Likewise.
23297         (bsloww2): Likewise.
23298         (cslow2): Likewise.
23299         (csloww1): Likewise.
23300         (csloww2): Likewise.
23302         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23303         function.
23304         (__sin): Use it.
23305         (__cos): Likewise.
23307         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23308         gotos.
23309         (__cos): Likewise.
23311 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
23313         * config.h.in (HAVE_MIPS_NAN2008): New macro.
23314         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23315         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23316         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23317         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23318         * elf/cache.c (print_entry): Handle the new cache flags.
23320 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23321             Aldy Hernandez  <aldyh@redhat.com>
23323         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23324         Change condition to [_SOFT_FLOAT].
23325         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23326         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23327         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23328         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23329         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23330         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23331         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23332         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23333         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23334         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23335         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23336         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23337         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23338         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23339         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23340         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23341         declaration.
23343 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23345         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23346         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23347         (__longjmp): Use LOAD_GP to load saved GPRs.
23348         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23349         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23350         (__sigsetjmp): Use SAVE_GP to save GPRs.
23352         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23353         Do not append -msoft-float.
23354         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23356 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23358         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23360 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
23362         [BZ #15966]
23363         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23364         (_FPU_GETCW): Use initial "__" on variable and field names but not
23365         on macro parameter name.
23366         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
23367         parentheses around reference to macro parameter.
23369 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
23371         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23372         prototype.
23373         (ctype_startup): Use uint32_t in cast and sizeof for
23374         ctype->charnames.
23376 2013-09-11  Jia Liu  <proljc@gmail.com>
23378         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23379         __daddr_t_defined.
23380         [__FreeBSD__]: Likewise.
23382 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
23384         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23385         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23386         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23387         (strchr): Remove __strchr_sse42 ifunc selection.
23388         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23389         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23391 2013-09-11  Will Newton  <will.newton@linaro.org>
23393         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23394         parameter to RES. Remove hardcoded 1000 value.
23395         * benchtests/bench-skeleton.c (main): Pass RES parameter
23396         to TIMING_INIT and multiply result by 1000.
23398 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23402 2013-09-11  Andreas Schwab  <schwab@suse.de>
23404         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23405         if not defined.
23406         (O_TMPFILE) [__USE_GNU]: Define.
23407         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23408         Define.
23410 2013-09-11  Will Newton  <will.newton@linaro.org>
23412         [BZ #15857]
23413         * malloc/malloc.c (__libc_memalign): Check the value of bytes
23414         does not overflow.
23416 2013-09-11  Will Newton  <will.newton@linaro.org>
23418         [BZ #15856]
23419         * malloc/malloc.c (__libc_valloc): Check the value of bytes
23420         does not overflow.
23422 2013-09-11  Will Newton  <will.newton@linaro.org>
23424         [BZ #15855]
23425         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23426         does not overflow.
23428 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
23430         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23431         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23432         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23433         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23434         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23436 2013-09-10  Allan McRae  <allan@archlinux.org>
23438         [BZ #15748]
23439         * manual/arith.texi (Parsing of Floats): Clarify
23440         cross-reference.
23442         [BZ #15849]
23443         * manual/install.texi (Running make install): Mention
23444         --enable-pt-chown.
23445         * INSTALL: Regenerated.
23447 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
23449         * csu/init-first.c (_init): Remove the !SHARED condition around
23450         FPU control word initialization.
23451         * elf/dl-support.c (_dl_fpu_control): New variable.
23452         (_dl_aux_init) <AT_FPUCW>: Initialize it.
23453         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23454         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23455         * math/test-fpucw-static.c: New file.
23456         * math/test-fpucw-ieee.c: New file.
23457         * math/test-fpucw-ieee-static.c: New file.
23458         * math/Makefile (tests): Add `test-fpucw-ieee' and
23459         `$(tests-static)'.
23460         (tests-static): New variable.
23461         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23462         dependency to...
23463         [($(build-shared),yes)]
23464         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23465         ... this.
23466         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23467         New dependency.
23469 2013-09-09  Allan McRae  <allan@archlinux.org>
23471         [BZ #15939]
23472         * manual/string.texi (Collation Functions): Fix typo in
23473         strcoll example.
23474         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23476         [BZ #15893]
23477         * stdlib/isomac.c (get_null_defines): Fix memory leak.
23479         [BZ #15892]
23480         * libio/memstream.c (open_memstream): Fix memory leak.
23481         * libio/wmemstream.c (open_wmemstream): Likewise.
23483         [BZ #15895]
23484         * nscd/netgroupcache.c: Fix nesting of ifdefs.
23486 2013-09-09  Will Newton  <will.newton@linaro.org>
23488         * malloc/Makefile: Add tst-realloc to tests.
23489         * malloc/tst-realloc.c: New file.
23491 2013-09-09  Allan McRae  <allan@archlinux.org>
23493         [BZ #15844]
23494         * COPYING: Update from GNU website to fix FSF address.
23495         * COPYING.LIB: Likewise.
23497 2013-09-06  David S. Miller  <davem@davemloft.net>
23499         * po/zh_TW.po: Update Chinese (traditional) translation from
23500         translation project.
23502 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
23503             Joseph Myers  <joseph@codesourcery.com>
23505         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23506         "localeinfo.h".
23507         (obstack_chunk_alloc): New macro.
23508         (obstack_chunk_free): Likewise.
23509         (record_offset): New function.
23510         (init_locale_data): Likewise.
23511         (align_locale_data): Likewise.
23512         (add_locale_empty): Likewise.
23513         (add_locale_raw_data): Likewise.
23514         (add_locale_raw_obstack): Likewise.
23515         (add_locale_string): Likewise.
23516         (add_locale_wstring): Likewise.
23517         (add_locale_uint32): Likewise.
23518         (add_locale_uint32_array): Likewise.
23519         (add_locale_char): Likewise.
23520         (start_locale_structure): Likewise.
23521         (end_locale_structure): Likewise.
23522         (start_locale_prelude): Likewise.
23523         (end_locale_prelude): Likewise.
23524         (write_locale_data): Take locale_file structure rather than an
23525         iovec.
23526         * locale/programs/locfile.h: Include "obstack.h".
23527         (struct locale_file): Change to store locale file contents instead
23528         of header.
23529         (init_locale_data): New prototype.
23530         (align_locale_data): Likewise.
23531         (add_locale_empty): Likewise.
23532         (add_locale_raw_data): Likewise.
23533         (add_locale_raw_obstack): Likewise.
23534         (add_locale_string): Likewise.
23535         (add_locale_wstring): Likewise.
23536         (add_locale_uint32): Likewise.
23537         (add_locale_uint32_array): Likewise.
23538         (add_locale_char): Likewise.
23539         (start_locale_structure): Likewise.
23540         (end_locale_structure): Likewise.
23541         (start_locale_prelude): Likewise.
23542         (end_locale_prelude): Likewise.
23543         (write_locale_data): Update prototype.
23544         * locale/programs/3level.h (struct TABLE): Remove result field.
23545         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23546         Use new locale_file interface.
23547         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23548         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23549         * locale/programs/ld-address.c (address_output): Use new
23550         locale_file interface.
23551         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23552         NO_ADD_LOCALE.
23553         (collate_finish): Don't call collseq_table_finalize.
23554         (collate_output): Use new locale_file interface.
23555         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23556         in file.
23557         (NO_FINALIZE): Change to NO_ADD_LOCALE.
23558         (TABLE): Move defines earlier in file.
23559         (ELEMENT): Likewise.
23560         (DEFAULT): Likewise.
23561         (wctrans_table_add): Move macro and inline function earlier in
23562         file.
23563         (struct wctype_table): Move type earlier in file.
23564         (add_locale_wctype_table): New static prototype.
23565         (struct locale_ctype_t): Use logical types instead of struct iovec
23566         pointers for members.
23567         (ctype_output): Use new locale_file interface.
23568         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
23569         new locale_file interface.
23570         (allocate_arrays): Update for use of new locale_file interface.
23571         * locale/programs/ld-identification.c (identification_output): Use
23572         new locale_file interface.
23573         * locale/programs/ld-measurement.c (measurement_output): Likewise.
23574         * locale/programs/ld-messages.c (messages_output): Likewise.
23575         * locale/programs/ld-monetary.c (monetary_output): Likewise.
23576         * locale/programs/ld-name.c (name_output): Likewise.
23577         * locale/programs/ld-numeric.c (numeric_output): Likewise.
23578         * locale/programs/ld-paper.c (paper_output): Likewise.
23579         * locale/programs/ld-telephone.c (telephone_output): Likewise.
23580         * locale/programs/ld-time.c (time_output): Likewise.
23582 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23584         * benchtests/Makefile: Add memrchr benchmark.
23585         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23586         benchmark as memrchr.
23587         * benchtests/bench-memrchr-ifunc.c: New file.
23588         * benchtests/bench-memrchr.c: New file.
23590 2013-09-06   Will Newton  <will.newton@linaro.org>
23592         * benchtests/Makefile (string-bench): Add memcpy.
23594 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
23595             Cong Wang  <amwang@redhat.com>
23597         [BZ #15850]
23598         * sysdeps/unix/sysv/linux/bits/in.h
23599         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23600         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23601         before __USE_KERNEL_IPV6_DEFS uses.
23602         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23603         IPPROTO_BEETPH.
23604         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23605         sockaddr_in6, or ipv6_mreq.
23607 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23609         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23610         memory access for final bytes in some large inputs.
23611         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23613 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23615         * string/test-memrchr.c: New file.
23616         * string/test-memrchr-ifunc.c: New file.
23617         * string/Makefile: Add new memrchr testcase.
23619 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
23621         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23622         fanotify_init returns EPERM.
23624 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23626         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23627         errors.
23628         (top level): Treat second token from macro or constant entries for
23629         allowed headers as allowed.
23630         * include/complex.h: Condition internal declarations on
23631         [!_ISOMAC].
23632         * include/fenv.h: Condition include of <stdbool.h> and internal
23633         declarations on [!_ISOMAC].
23635 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
23637         [BZ #15923]
23638         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23640 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23642         * configure.in (--enable-versioning): Remove configure option.
23643         (libc_cv_asm_symver_directive): Remove configure test.
23644         (libc_cv_ld_version_script_option): Likewise.
23645         (VERSIONING): Remove variable and AC_SUBST.
23646         (DO_VERSIONING): Remove AC_DEFINE.
23647         * configure: Regenerated.
23648         * config.h.in (DO_VERSIONING): Remove macro.
23649         * Makerules [$(versioning) = yes]: Change conditionals to
23650         [$(build-shared) = yes].
23651         * config.make.in (versioning): Remove variable.
23652         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23653         [$(build-shared) = yes].
23654         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23655         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23656         * elf/Makefile [$(versioning) = yes]: Change conditionals to
23657         [$(build-shared) = yes].
23658         * extra-lib.mk [$(versioning) = yes]: Likewise.
23659         * hurd/Makefile [$(versioning) = yes]: Likewise.
23660         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23661         [SHARED].
23662         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23663         [SHARED].
23664         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23665         [SHARED && !NO_HIDDEN].
23666         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23667         [SHARED].
23668         [SHARED && DO_VERSIONING]: Likewise..
23669         * libio/Makefile [$(versioning) = yes]: Change conditionals to
23670         [$(build-shared) = yes].
23671         * manual/install.texi (--disable-versioning): Remove
23672         documentation.
23673         * INSTALL: Regenerated.
23674         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23675         to [SHARED].
23676         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23677         [$(build-shared) = yes].
23678         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23679         * sysdeps/i386/i686/multiarch/strstr-c.c
23680         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23681         [SHARED && !NO_HIDDEN].
23682         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23683         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23684         * sysdeps/powerpc/powerpc32/dl-machine.c
23685         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23686         * sysdeps/powerpc/powerpc32/sysdep.h
23687         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23688         to [SHARED && PIC && !NO_HIDDEN].
23689         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23690         conditional to [SHARED].
23692 2013-09-04   Will Newton  <will.newton@linaro.org>
23694         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23695         * benchtests/bench-string.h: Include bench-timing.h instead
23696         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23697         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23698         call to HP_TIMING_DIFF_INIT.
23699         * benchtests/bench-memccpy.c: Use bench-timing.h macros
23700         instead of hp-timing.h macros.
23701         * benchtests/bench-memchr.c: Likewise.
23702         * benchtests/bench-memcmp.c: Likewise.
23703         * benchtests/bench-memcpy.c: Likewise.
23704         * benchtests/bench-memmem.c: Likewise.
23705         * benchtests/bench-memmove.c: Likewise.
23706         * benchtests/bench-memset.c: Likewise.
23707         * benchtests/bench-rawmemchr.c: Likewise.
23708         * benchtests/bench-strcasecmp.c: Likewise.
23709         * benchtests/bench-strcasestr.c: Likewise.
23710         * benchtests/bench-strcat.c: Likewise.
23711         * benchtests/bench-strchr.c: Likewise.
23712         * benchtests/bench-strcmp.c: Likewise.
23713         * benchtests/bench-strcpy.c: Likewise.
23714         * benchtests/bench-strcpy_chk.c: Likewise.
23715         * benchtests/bench-strlen.c: Likewise.
23716         * benchtests/bench-strncasecmp.c: Likewise.
23717         * benchtests/bench-strncat.c: Likewise.
23718         * benchtests/bench-strncmp.c: Likewise.
23719         * benchtests/bench-strncpy.c: Likewise.
23720         * benchtests/bench-strnlen.c: Likewise.
23721         * benchtests/bench-strpbrk.c: Likewise.
23722         * benchtests/bench-strrchr.c: Likewise.
23723         * benchtests/bench-strspn.c: Likewise.
23724         * benchtests/bench-strstr.c: Likewise.
23726 2013-09-04  Will Newton  <will.newton@linaro.org>
23728         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23730 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
23732         [BZ #15427]
23733         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23734         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23735         * math/libm-test.inc (lgamma_test_data): Add more tests.
23736         * sysdeps/i386/fpu/libm-test-ulps: Update.
23737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23739 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
23741         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23742         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23743         Add ifunc.
23744         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23745         Add strcmp-sse2-unaligned
23746         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23748 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23750         * Versions.def (libc): Add GLIBC_2.19.
23752 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23754         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23755         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23757 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
23759         [BZ #14155]
23760         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23761         intermediate calculations in recurrence.
23762         (__ieee754_ynf): Likewise.
23763         * math/libm-test.inc (jn_test_data): Do not allow spurious
23764         underflow exception.  Add more tests.
23765         (yn_test_data): Add more tests.
23766         * sysdeps/i386/fpu/libm-test-ulps: Update.
23767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23769 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
23771         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23773 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23775         * csu/init-first.c: Fix then/than typos.
23776         * locale/programs/ld-collate.c: Likewise.
23777         * locale/programs/linereader.h: Likewise.
23778         * manual/charset.texi: Likewise.
23779         * manual/filesys.texi: Likewise.
23780         * manual/stdio.texi: Likewise.
23781         * manual/string.texi: Likewise.
23782         * stdlib/fmtmsg.c: Likewise.
23783         * sysdeps/i386/stpncpy.S: Likewise.
23784         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23785         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23786         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23787         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23789 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23791         * elf/dl-open.c: Fix typos.
23792         * iconvdata/gbbig5.c: Likewise.
23793         * iconvdata/iso-2022-jp.c: Likewise.
23794         * iconv/gconv_int.h: Likewise.
23795         * iconv/loop.c: Likewise.
23796         * nis/rpcsvc/nis.h: Likewise.
23797         * resolv/ns_name.c: Likewise.
23798         * stdio-common/vfscanf.c: Likewise.
23799         * streams/stropts.h: Likewise.
23800         * sunrpc/rpc_thread.c: Likewise.
23801         * sysdeps/i386/strpbrk.S: Likewise.
23802         * sysdeps/ieee754/k_standard.c: Likewise.
23803         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23804         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23805         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23806         * sysdeps/mach/hurd/profil.c: Likewise.
23807         * sysdeps/s390/dl-procinfo.h: Likewise.
23808         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23809         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23810         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23811         * sysdeps/x86_64/dl-trampoline.S: Likewise.
23812         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23814 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
23816         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23817         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23819 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
23821         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23822         aix specific files.
23823         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23824         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23825         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23826         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23827         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23828         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23829         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23830         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23832 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23833             Roland McGrath  <roland@hack.frob.com>
23835         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23836         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23838 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23840         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23841         __executable_start symbol instead of _start.
23843 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23845         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23846         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23847         Move macros to...
23848         * sysdeps/gnu/ldsodefs.h: ... this new file.
23850         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23851         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23852         instead of ELFOSABI_LINUX.
23854         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23855         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23856         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23857         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23858         Likewise.
23859         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23860         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23861         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23862         Likewise.
23863         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23864         (ibm_extended_long_double): Add ieee_nan member.
23865         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23866         (do_test): New function.
23868         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23869         TEST_TRUNC.
23870         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23871         functions, renamed from truncdfsf_test, trunctfsf_test,
23872         trunctfdf_test.
23873         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23874         functions.
23875         (do_test): Run all these.
23877 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
23879         * argp/argp-help.c: Fix typos.
23880         * argp/argp-parse.c: Likewise.
23881         * debug/backtracesyms.c: Likewise.
23882         * elf/elf.h: Likewise.
23883         * malloc/malloc.c: Likewise.
23884         * nis/nis_print.c: Likewise.
23885         * resolv/res_comp.c: Likewise.
23886         * stdlib/stdlib.h: Likewise.
23887         * sunrpc/clnt_tcp.c: Likewise.
23888         * sunrpc/clnt_udp.c: Likewise.
23889         * sunrpc/clnt_unix.c: Likewise.
23890         * sysdeps/unix/bsd/ptsname.c: Likewise.
23891         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23892         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23894         Likewise.
23895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23896         Likewise.
23897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23898         Likewise.
23899         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23901 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23903         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23904         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23906 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
23908         [BZ #15897]
23909         * dlfcn/Makefile (tests): Add bug-dl-leaf.
23910         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23911         ($(objpfx)bug-dl-leaf): New rule.
23912         ($(objpfx)bug-dl-leaf.so): Likewise.
23913         ($(objpfx)bug-dl-leaf.out): Likewise.
23914         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23915         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23916         * dlfcn/bug-dl-leaf.c: New test.
23917         * dlfcn/bug-dl-leaf-lib.c: Likewise.
23918         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23919         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23920         (dlclose): Likewise.
23921         (dlmopen): Likewise.
23923 2013-08-27  Roland McGrath  <roland@hack.frob.com>
23925         * include/netdb.h [!_ISOMAC]:
23926         Don't include <tls.h>.
23927         (h_errno, __libc_h_errno): Move declaration and macros out of
23928         [_LIBC_REENTRANT].
23930         * include/resolv.h [_RESOLV_H_]:
23931         Don't include <tls.h>.
23932         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23933         * resolv/res_libc.c: Don't include <tls.h>.
23934         (_res): Use __attribute__ ((nocommon)) in place of
23935         __attribute__ ((section (".bss"))).
23937         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23938         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23940         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23942         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23943         only under [SIOCGIFCONF && SIOCGIFNETMASK].
23945         * resolv/res_mkquery.c: Include <sys/time.h>.
23947         * inet/ifreq.c: Moved to ...
23948         * sysdeps/unix/ifreq.c: ... here.
23949         * inet/ifreq.c: New file, true stub version.
23951         * socket/sa_len.c: New file.
23952         * socket/Makefile (aux): Add it.
23953         * sysdeps/unix/sysv/linux/Makefile
23954         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23955         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23956         and #include <socket/sa_len.c>.
23957         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23958         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23960         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23961         * bits/socket.h: ... here.
23963         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23964         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23965         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23967 2013-08-27  Andreas Schwab  <schwab@suse.de>
23969         [BZ #15736]
23970         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23971         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23972         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23973         * string/test-strcasecmp.c (test_main): Run tests in several
23974         locales.
23975         * string/test-strncasecmp.c (test_main): Likewise.
23977         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23978         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23979         to __strcasecmp_nonascii and __strncasecmp_nonascii.
23980         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23981         (__strncasecmp_ssse3) [PIC]: Likewise.
23983 2013-08-26  Roland McGrath  <roland@hack.frob.com>
23985         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23987         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23988         instead of explicitly declaring xdecrypt.
23989         * nis/nss_nis/nis-publickey.c: Likewise.
23991 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23993         [BZ #15890]
23994         * nscd/aicache.c: Include res_hconf.h.
23995         (addhstaiX): Initialize res_hconf.
23997 2013-08-26  Andreas Schwab  <schwab@suse.de>
23999         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24000         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24002 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24004         * nscd/aicache.c (addhstaiX): Fix indentation.
24006 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
24008         * configure.ac: Quote $build_pt_chown test.
24009         * configure: Regenerated.
24011 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
24013         [BZ #15532]
24014         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24015         * math/s_cexpf.c (__cexpf): Likewise.
24016         * math/s_cexpl.c (__cexpl): Likewise.
24017         * math/libm-test.inc (cexp_test_data): Correct expected return
24018         value for NaN + i0.  Add another test.
24020 2013-08-22  David S. Miller  <davem@davemloft.net>
24022         * po/ca.po: Update Catalan translation from translation project.
24023         * po/uk.po: Add Ukrainian translations from translation project.
24025 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
24027         [BZ #15797]
24028         * math/s_fdim.c (__fdim): Check for infinite arguments if result
24029         is infinite, not alongside NaN test.
24030         * math/s_fdimf.c (__fdimf): Likewise.
24031         * math/s_fdiml.c (__fdiml): Likewise.
24032         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
24033         errno is unchanged.
24035 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
24037         * argp/argp-help.c: Fix typos.
24038         * crypt/speeds.c: Likewise.
24039         * csu/check_fds.c: Likewise.
24040         * elf/dl-load.c: Likewise.
24041         * elf/dl-open.c: Likewise.
24042         * elf/reldep3.c: Likewise.
24043         * elf/reldep.c: Likewise.
24044         * elf/sprof.c: Likewise.
24045         * iconv/iconv_charmap.c: Likewise.
24046         * iconv/skeleton.c: Likewise.
24047         * iconv/strtab.c: Likewise.
24048         * io/lockf64.c: Likewise.
24049         * libio/libioP.h: Likewise.
24050         * resolv/gai_notify.c: Likewise.
24051         * resolv/ns_name.c: Likewise.
24052         * resolv/ns_samedomain.c: Likewise.
24053         * resolv/res_send.c: Likewise.
24054         * stdlib/random.c: Likewise.
24055         * sunrpc/rpc/xdr.h: Likewise.
24056         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24057         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24058         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24059         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24060         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24061         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24062         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24063         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24064         * sysdeps/mach/hurd/check_fds.c: Likewise.
24065         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24066         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24067         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24068         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24069         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24070         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24071         * sysdeps/pthread/aio_notify.c: Likewise.
24072         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24073         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24074         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24075         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24076         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24078 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24080         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24081         version if bit_Slow_SSE4_2 is set.
24082         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24083         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24085 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24087         [BZ #15867]
24088         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24089         trampoline stack frame information.
24090         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24091         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24092         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24093         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24094         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24095         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24096         (_libc_vdso_platform_setup): Initialize the signal trampolines.
24097         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24098         sa_flags value.
24099         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24100         interrupting a syscall and set with option SA_SIGINFO.
24102 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24104         [BZ #15531]
24105         * math/s_cproj.c (__cproj): Only return an infinity if one part of
24106         argument is infinite.
24107         * math/s_cprojf.c (__cprojf): Likewise.
24108         * math/s_cprojl.c (__cprojl): Likewise.
24109         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24110         * math/libm-test.inc (cproj_test_data): Add more tests.
24112         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24114         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24115         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24116         size.  Use __ffs to determine corresponding shift.
24118 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24119             Roland McGrath  <roland@hack.frob.com>
24121         * Makefile (INSTALL): Remove trailing blank lines from output of
24122         makeinfo.
24124 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24126         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24127         Align 32 bit compat elf_greg to 8 bytes.
24129 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
24131         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24133 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24135         * string/strcoll_l.c (coll_seq): New structure.
24136         (get_next_seq_cached): New function.
24137         (get_next_seq): New function.
24138         (do_compare): New function.
24139         (STRCOLL): Use GNU style definition.  Simplify implementation
24140         by using get_next_seq, get_next_seq_cached and do_compare.
24142 2013-08-16  Florian Weimer  <fweimer@redhat.com>
24144         [BZ #14699]
24145         CVE-2013-4237
24146         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24147         member.
24148         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24149         member.
24150         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24151         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24152         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
24153         conditional.
24154         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24155         GETDENTS_64BIT_ALIGNED.
24156         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24157         * manual/filesys.texi (Reading/Closing Directory): Document
24158         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
24159         strongly.
24160         * manual/conf.texi (Limits for Files): Add portability note to
24161         NAME_MAX, PATH_MAX.
24162         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24164 2013-08-13  Andreas Schwab  <schwab@suse.de>
24166         [BZ #15749]
24167         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24168         of fabs.
24169         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24170         LDBL_MAX_EXP >= 16384]: Add tests for it.
24172 2013-08-12  David S. Miller  <davem@davemloft.net>
24174         * version.h (RELEASE): Set to "development".
24175         (VERSION): Set to "2.18.90".
24176         * NEWS: Add 2.19 section.
24178 2013-08-03  David S. Miller  <davem@davemloft.net>
24180         * po/ko.po: Update Korean translation from translation project.
24182 2013-08-01  David S. Miller  <davem@davemloft.net>
24184         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
24185         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24186         Bilka.
24188 2013-07-30  David S. Miller  <davem@davemloft.net>
24190         * po/fr.po: Update French translation from translation project.
24192 2013-07-28  David S. Miller  <davem@davemloft.net>
24194         * po/cs.po: Update Czech translation from translation project.
24196         * po/sv.po: Update Swedish translation from translation project.
24198 2013-07-27  David S. Miller  <davem@davemloft.net>
24200         * po/eo.po: Update Esperanto translation from translation project.
24202         * po/vi.po: Update Vietnamese translation from translation project.
24204         * po/de.po: Update German translation from translation project.
24206 2013-07-26  David S. Miller  <davem@davemloft.net>
24208         * po/bg.po: Update Bulgarian translation from translation project.
24210         * po/nl.po: Update Dutch translation from translation project.
24211         * po/pl.po: Update Polish translation from translation project.
24212         * po/ru.po: Update Russian translation from translation project.
24214 2013-07-24  David S. Miller  <davem@davemloft.net>
24216         * po/libc.pot: Update.
24218 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24220         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24221         variable page size.
24222         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24223         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24224         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24226 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24228         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24230 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24231             Andreas Schwab  <schwab@suse.de>
24232             Roland McGrath  <roland@hack.frob.com>
24233             Joseph Myers  <joseph@codesourcery.com>
24234             Carlos O'Donell  <carlos@redhat.com>
24236         [BZ #15755]
24237         * config.h.in: Define HAVE_PT_CHOWN.
24238         * config.make.in (build-pt-chown): New variable.
24239         * configure.in (--enable-pt_chown): New configure option.
24240         * configure: Regenerate.
24241         * login/Makefile: Include Makeconfig.  Build pt_chown only if
24242         build-pt-chown is enabled.
24243         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24244         pt_chown to fix pty ownership.
24245         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24246         CLOSE_ALL_FDS.
24247         * manual/install.texi (Configuring and compiling): Mention
24248         --enable-pt_chown. Add @findex for grantpt.
24249         * INSTALL: Regenerate.
24251 2013-07-20  David S. Miller  <davem@davemloft.net>
24253         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24254         difference between 32-bit and 64-bit.
24256 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
24258         [BZ #15711]
24259         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24260         Avoid system header dependency with -ffreestanding.
24261         ($(objpfx)bits/syscall%d): Likewise.
24263 2013-07-13  David S. Miller  <davem@davemloft.net>
24265         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24266         underflows from atanl/atan2l due to bug 15319.
24267         (casinh_test_data): Likewise.
24269 2013-07-07  David S. Miller  <davem@davemloft.net>
24271         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24273 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
24275         * sysdeps/i386/fpu/libm-test-ulps: Update.
24276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24278 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24280         * configure.in (--enable-lock-elision): Fix message text.
24281         * INSTALL: Regenerate.
24282         * configure: Regenerate.
24284 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24288 2013-07-03  Andreas Jaeger  <aj@suse.de>
24290         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24291         define.
24292         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24293         (ptrace_peeksiginfo_args): Add.
24294         (__ptrace_peeksiginfo_flags): Add.
24295         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24296         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24297         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24299 2013-07-03  Allan McRae  <allan@archlinux.org>
24301         * sysdeps/i386/fpu/libm-test-ulps: Update.
24303 2013-07-02  David S. Miller  <davem@davemloft.net>
24305         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24307 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
24309         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24311 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24313         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24316 2013-07-02  Andi Kleen <ak@linux.intel.com>
24318         * config.h.in (ENABLE_LOCK_ELISION): Add.
24319         * configure.in (--enable-lock-elision): Add option.
24320         * manual/install.texi: Document --enable lock elision.
24321         * configure: Regenerate
24322         * INSTALL: Regenerate.
24324 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
24326         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24327         SSE4.2 strcasecmp for libc.a.
24328         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24330 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24332         [BZ #13304]
24333         * soft-fp/op-common.h (_FP_FMA): New macro.
24334         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24335         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
24336         (_FP_MUL_MEAT_1_imm): ... here.
24337         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
24338         (_FP_MUL_MEAT_1_wide): ... here.
24339         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
24340         (_FP_MUL_MEAT_1_hard): ... here.
24341         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24342         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
24343         (_FP_MUL_MEAT_2_wide): ... here.
24344         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
24345         (_FP_MUL_MEAT_2_wide_3mul): ... here.
24346         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
24347         (_FP_MUL_MEAT_2_gmp): ... here.
24348         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24349         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
24350         (_FP_MUL_MEAT_4_wide): ... here.
24351         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
24352         (_FP_MUL_MEAT_4_gmp): ... here.
24353         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24354         (_FP_WFRACBITS_DW_S): Likewise.
24355         (_FP_WFRACXBITS_DW_S): Likewise.
24356         (_FP_HIGHBIT_DW_S): Likewise.
24357         (FP_FMA_S): Likewise.
24358         (_FP_FRAC_HIGH_DW_S): Likewise.
24359         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24360         (_FP_WFRACBITS_DW_D): Likewise.
24361         (_FP_WFRACXBITS_DW_D): Likewise.
24362         (_FP_HIGHBIT_DW_D): Likewise.
24363         (FP_FMA_D): Likewise.
24364         (_FP_FRAC_HIGH_DW_D): Likewise.
24365         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24366         (_FP_WFRACBITS_DW_E): Likewise.
24367         (_FP_WFRACXBITS_DW_E): Likewise.
24368         (_FP_HIGHBIT_DW_E): Likewise.
24369         (FP_FMA_E): Likewise.
24370         (_FP_FRAC_HIGH_DW_E): Likewise.
24371         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24372         (_FP_WFRACBITS_DW_Q): Likewise.
24373         (_FP_WFRACXBITS_DW_Q): Likewise.
24374         (_FP_HIGHBIT_DW_Q): Likewise.
24375         (FP_FMA_Q): Likewise.
24376         (_FP_FRAC_HIGH_DW_Q): Likewise.
24377         * soft-fp/fmasf4.c: New file.
24378         * soft-fp/fmadf4.c: Likewise.
24379         * soft-fp/fmatf4.c: Likewise.
24381 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24384         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24385         Silvermont.
24386         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24387         macro.
24388         (index_Slow_SSE4_2): Likewise.
24389         (index_Prefer_PMINUB_for_stringop): Likewise.
24390         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24391         bit_Slow_SSE4_2 is set.
24392         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24393         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24395 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24397         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24398         rtld_global._dl_hwcap2.
24399         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24400         POWER8.
24401         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24402         POWER8 feature descriptions defined in _dl_hwcap2.
24403         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24404         string handling for POWER8 feature bits.
24405         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24406         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24407         _dl_powerpc_cap_flags.
24408         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24409         * sysdeps/powerpc/rtld-global-offsets.sym
24410         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24411         _dl_hwcap2 in the rtld_global_ro structure.
24413 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24415         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24416         hardware capabilities in support of AT_HWCAP2.
24417         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24418         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24419         GLRO(dl_hwcap2).
24420         (_dl_show_auxv): Add support for calling _dl_procinfo to display
24421         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
24422         explicitly the unknown a_type display mechanism is used.
24423         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24424         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24425         struct member.
24426         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24427         to macro prototype for AT_HWCAP2 support.
24428         * sysdeps/i386/dl-procinfo.h: Likewise.
24429         * sysdeps/s390/dl-procinfo.h: Likewise.
24430         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24431         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
24432         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
24433         return -1 for unknown a_type display fallback.
24434         * sysdeps/sparc/dl-procinfo.h: Likewise.
24435         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24436         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24438 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
24440         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24441         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24443 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
24445         [BZ #12492]
24446         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24447         mprotect making __stack_prot writable.
24449 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
24450             Joseph Myers  <joseph@codesourcery.com>
24452         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24453         as being properly aligned.
24455 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
24457         * dlfcn/modstatic5.c: New file.
24458         * dlfcn/tststatic5.c: New file.
24459         * dlfcn/Makefile (tests): Add tststatic5.
24460         (tests-static): Likewise.
24461         (modules-names): Add modstatic5.
24462         (tststatic5-ENV): New variable.
24463         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24465         [BZ #15022]
24466         * elf/dl-support.c (_dl_main_map): New variable.
24467         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24468         (_dl_nns, _dl_load_adds): Set to 1.
24469         (_dl_initial_searchlist): Refer to _dl_main_map.
24470         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24471         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24472         call to _dl_get_origin.
24473         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24474         around call_map.
24475         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24476         * dlfcn/modstatic3.c: New file.
24477         * dlfcn/tststatic3.c: New file.
24478         * dlfcn/tststatic4.c: New file.
24479         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24480         (tests-static): Likewise.
24481         (modules-names): Add modstatic3.
24482         (tststatic3-ENV, tststatic4-ENV): New variables.
24483         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24484         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24486 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
24488         * configure.in (CC): Require GCC version 4.4 or later.
24489         * configure: Regenerated.
24490         * manual/install.texi (Tools for Compilation): Update GCC version
24491         requirement.
24492         * INSTALL: Regenerated.
24494 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24496         [BZ #15674]
24497         * string/test-memcmp.c (check2): New.
24498         (main): Call check2.
24500         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24502 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
24504         [BZ #15022]
24505         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24506         over to...
24507         (dl_open_worker) [!SHARED]: ... here.
24509 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24511         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24513 2013-06-25  Richard Henderson  <rth@redhat.com>
24515         * locale/programs/locarchive.c: Include <libc-internal.h>
24517 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
24519         * manual/texinfo.tex: Update to version 2013-06-21.17, with
24520         trailing whitespace removed.
24522 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24524         [BZ #10283]
24525         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24526         * locale/programs/locarchive.c: Include libc-mmap.h.
24527         (prepare_address_space): Take two new outputs (the mmap base and len).
24528         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
24529         values.
24530         (create_archive): Declare new mmap base and len values for
24531         prepare_address_space, and store the result in ah.
24532         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24533         (enlarge_archive): If ah->mmap_base is not NULL, use that and
24534         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24535         Declare new mmap base and len values for
24536         prepare_address_space, and store the result in new_ah.
24537         (open_archive): Declare new mmap base and len values for
24538         prepare_address_space, and store the result in ah.
24539         (close_archive): If ah->mmap_base is not NULL, use that and
24540         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24541         * sysdeps/generic/libc-mmap.h: New file.
24543 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24545         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24546         (ALIGN_UP): Likewise.
24547         (PTR_ALIGN_DOWN): Likewise.
24548         (PTR_ALIGN_UP): Likewise.
24550 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24552         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24553         entry mapped to PPC_PLATFORM_POWER8.
24554         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24555         POWER8.
24556         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24557         (_dl_string_platform): Add case for exporting platform position for
24558         POWER8.
24559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24560         search path to sysdeps/powerpc/powerpc32/power8 directory.
24561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24562         search path to sysdeps/powerpc/powerpc64/power8 directory.
24563         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24564         power7 directories.
24565         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24566         power7 directories.
24568 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24570         * INSTALL: Regenerate.
24572         * nscd/connections.c (nscd_init): Fix comment.
24574 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
24576         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24578         [BZ #15667]
24579         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24580         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24582 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24584         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24585         DL_DST_REQ_STATIC.
24586         (DL_DST_REQ_STATIC): Remove macro.
24588 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
24590         [BZ #7006]
24591         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24592         with a shift of 0 bits.
24594 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24596         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24597         $(tststatic-ENV).
24599 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24601         [BZ #15655]
24602         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24604 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24606         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24607         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24608         accepts -fno-tree-loop-distribute-patterns.
24609         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24610         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24611         recursive call.
24612         * string/memset.c (memset): Likewise.
24613         * string/test-memmove.c (simple_memmove): Disable loop transformation
24614         to library calls.
24615         * string/test-memset.c (simple_memset): Likewise.
24616         * benchtests/bench-memmove.c (simple_memmove): Likewise.
24617         * benchtests/bench-memset.c (simple_memset): Likewise.
24618         * configure: Regenerated.
24620 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
24622         * math/test-misc.c (main): Ignore fesetround failure when failures
24623         of subsequent rounding tests would be ignored.
24625         [BZ #15654]
24626         * math/fedisblxcpt.c (fedisableexcept): Return 0.
24627         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24628         * math/fegetenv.c (__fegetenv): Return 0.
24629         * math/fegetexcept.c (fegetexcept): Return 0.
24630         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24631         FE_TONEAREST.
24632         * math/feholdexcpt.c (feholdexcept): Return 0.
24633         * math/fesetenv.c (__fesetenv): Return 0.
24634         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24635         argument FE_TONEAREST.
24636         * math/feupdateenv.c (__feupdateenv): Return 0.
24637         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24639 2013-06-18  Roland McGrath  <roland@hack.frob.com>
24641         * elf/rtld-Rules (rtld-compile-command.S): New variable.
24642         (rtld-compile-command.s, rtld-compile-command.c): New variables.
24643         ($(objpfx)rtld-%.os rules): Use them.
24645 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24647         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24648         fields.
24650 2013-06-17  Roland McGrath  <roland@hack.frob.com>
24652         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24653         length of target pattern, then descending length of dependency pattern.
24654         * configure.in (AWK): Require gawk 3.1.2 or newer.
24655         * manual/install.texi (Tools for Compilation): Say that we do.
24656         * configure: Regenerated.
24658         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24659         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24660         * scripts/sysd-rules.awk: ... this new script.
24661         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24662         than a glob-style pattern.
24664 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
24666         * math/test-misc.c (main): Do not treat incorrectly rounded
24667         conversions as failure unless ROUNDING_TESTS passes.
24669 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
24671         [BZ #15631]
24672         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24673         restore exception state around main square root computation, then
24674         check for inexactness explicitly.
24676         * math/libm-test.inc (fma_test_data): Add another test.
24678 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24680         * manual/threads.texi (Non-POSIX Extensions): New document
24681         node.  Document pthread_getattr_default_np and
24682         pthread_setattr_default_np.
24684         * Versions.def (libpthread): Add GLIBC_2.18.
24685         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24687         Likewise.
24688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24689         Likewise.
24690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24691         Likewise.
24692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24693         Likewise.
24694         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24695         Likewise.
24696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24697         Likewise.
24698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24699         Likewise.
24700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24701         Likewise.
24702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24703         Likewise.
24705 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24707         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24708         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24710 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24711             H.J. Lu  <hjl.tools@gmail.com>
24713         [BZ #15627]
24714         * sysdeps/x86_64/rtld-memset.c: Remove file.
24715         * sysdeps/x86_64/rtld-memset.S: New file.
24717 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
24719         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24720         (test_in_one_mode): Take arguments for whether the rounding mode
24721         is supported for each floating-point type.
24722         (do_test): Pass new arguments to test_in_one_mode using
24723         ROUNDING_TESTS.
24725 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24727         * posix/tst-waitid.c (do_test): Distinguish different instances of
24728         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
24729         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24730         before entering the kernel for waitpid.
24732 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24734         * NEWS: Fix note on clock function precision.  Text by Roland
24735         McGrath.
24737 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24739         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24740         it into place only when and if the sanity check passes.
24742 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
24744         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24745         output for whether conversion result is exact.  Take argument
24746         indicating whether type is IBM long double.
24747         (round_for_all): Change need_exact field to ibm_ld.
24748         * stdlib/tst-strtod-round.c (struct exactness): New type.
24749         (struct test): Change bool ld_ok field to struct exactness exact.
24750         (TEST): Update all definitions for change to field.
24751         (tests): Regenerate array contents.
24752         (test_in_one_mode): Take pointer to new field instead of old ld_ok
24753         field value.  Check for IBM long double here.
24754         (do_test): Update calls to test_in_one_mode.
24756 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24758         [BZ #12515]
24759         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24760         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24762 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24764         [BZ #15605]
24765         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24766         generated by the compiler on loop optimizations.
24767         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24768         general definitions.
24770 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
24772         * math/bug-nextafter.c: Include <math-tests.h>.
24773         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24774         the relevant type.
24775         * math/bug-nexttoward.c: Include <math-tests.h>.
24776         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24777         the relevant type.
24778         * math/test-misc.c: Include <math-tests.h>.
24779         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24780         the relevant type.
24782 2013-06-12  Andreas Jaeger  <aj@suse.de>
24784         * po/ia.po: Update Interlingua translation from translation
24785         project.
24787 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24789         * include/fenv.h: Include stdbool.h.
24790         (struct rm_ctx): New structure.
24791         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24792         Define macro.
24793         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24794         (SET_RESTORE_ROUNDF): Likewise.
24795         (SET_RESTORE_ROUNDL): Likewise.
24796         (SET_RESTORE_ROUND_NOEX): Likewise.
24797         (SET_RESTORE_ROUND_NOEXF): Likewise.
24798         (SET_RESTORE_ROUND_NOEXL): Likewise.
24799         (SET_RESTORE_ROUND_53BIT): Likewise.
24800         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24801         (libc_feresetround_noexf_ctx): Likewise.
24802         (libc_feresetround_noexl_ctx): Likewise.
24803         (libc_feholdsetround_53bit_ctx): Likewise.
24804         (libc_feresetround_53bit_ctx): Likewise.
24805         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24806         (libc_feholdexcept_setround_sse_ctx): New function.
24807         (libc_fesetenv_sse_ctx): Likewise.
24808         (libc_feupdateenv_sse_ctx): Likewise.
24809         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24810         (libc_feholdexcept_setround_387_ctx): Likewise.
24811         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24812         (libc_feholdsetround_387_prec_ctx): Likewise.
24813         (libc_feholdsetround_387_ctx): Likewise.
24814         (libc_feholdsetround_387_53bit_ctx): Likewise.
24815         (libc_feholdsetround_sse_ctx): Likewise.
24816         (libc_feresetround_sse_ctx): Likewise.
24817         (libc_feresetround_387_ctx): Likewise.
24818         (libc_feupdateenv_387_ctx): Likewise.
24819         (libc_feholdexcept_setroundf_ctx): Define macro.
24820         (libc_fesetenvf_ctx): Likewise.
24821         (libc_feupdateenvf_ctx): Likewise.
24822         (libc_feholdsetroundf_ctx): Likewise.
24823         (libc_feresetroundf_ctx): Likewise.
24824         (libc_feholdexcept_setround_ctx): Likewise.
24825         (libc_fesetenv_ctx): Likewise.
24826         (libc_feupdateenv_ctx): Likewise.
24827         (libc_feholdsetround_ctx): Likewise.
24828         (libc_feresetround_ctx): Likewise.
24829         (libc_feholdexcept_setroundl_ctx): Likewise.
24830         (libc_feupdateenvl_ctx): Likewise.
24831         (libc_feholdsetroundl_ctx): Likewise.
24832         (libc_feresetroundl_ctx): Likewise.
24833         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24834         (libc_feresetround_53bit_ctx): Likewise.
24836 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24838         * locale/iso-639.def: Convert to UTF-8.
24840 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
24842         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24843         (EXCEPTION_TESTS_double): Likewise.
24844         (EXCEPTION_TESTS_long_double): Likewise.
24845         (EXCEPTION_TESTS): Likewise.
24846         * math/libm-test.inc (test_exceptions): Only test exceptions if
24847         EXCEPTION_TESTS (FLOAT).
24849 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24851         * benchtests/Makefile (string-bench): Add strcpy_chk and
24852         stpcpy_chk.
24853         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24854         * benchtests/bench-stpcpy_chk.c: New file.
24855         * benchtests/bench-strcpy_chk-ifunc.c: New file.
24856         * benchtests/bench-strcpy_chk.c: New file.
24857         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24858         code.
24859         (do_test): Likewise.
24861 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24863         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24864         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24865         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24866         with tabs where appropriate.
24867         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24868         dl-procinfo.h.
24869         [PPC_PLATFORM_PPC440]: Likewise.
24870         [PPC_PLATFORM_PPC464]: Likewise.
24871         [PPC_PLATFORM_PPC476]: Likewise.
24872         (_dl_string_platform): Add support for detecting ppc405, ppc440,
24873         ppc464, and ppc476 platform strings merging from ports/
24874         dl-procinfo.h.
24876 2013-06-11  Andreas Schwab  <schwab@suse.de>
24878         [BZ #14991]
24879         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24880         (from_ucs4_idx): Regenerate.
24881         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24882         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24883         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24884         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24885         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24886         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24887         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24888         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24889         from FROM_LOOP and TO_LOOP specific macros.
24890         (BODY): Handle combining characters.
24891         * iconvdata/BIG5HKSCS.irreversible: Update.
24892         * iconvdata/BIG5HKSCS.precomposed: New file.
24893         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24894         characters.
24895         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24897 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24899         * include/sys/time.h: Fix indentation and add copyright header.
24901         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24902         (do_test): Likewise.
24903         * string/test-memchr.c (do_one_test): Likewise.
24904         (do_test): Likewise.
24905         * string/test-memcmp.c (do_one_test): Likewise.
24906         (do_test): Likewise.
24907         * string/test-memcpy.c (do_one_test): Likewise.
24908         (do_test): Likewise.
24909         * string/test-memmem.c (do_one_test): Likewise.
24910         (do_test): Likewise.
24911         (do_random_tests): Likewise.
24912         * string/test-memmove.c (do_one_test): Likewise.
24913         (do_test): Likewise.
24914         * string/test-memset.c (do_one_test): Likewise.
24915         (do_test): Likewise.
24916         * string/test-rawmemchr.c (do_one_test): Likewise.
24917         (do_test): Likewise.
24918         * string/test-strcasecmp.c (do_one_test): Likewise.
24919         (do_test): Likewise.
24920         * string/test-strcasestr.c (do_one_test): Likewise.
24921         (do_test): Likewise.
24922         * string/test-strcat.c (do_one_test): Likewise.
24923         (do_test): Likewise.
24924         * string/test-strchr.c (do_one_test): Likewise.
24925         (do_test): Likewise.
24926         * string/test-strcmp.c (do_one_test): Likewise.
24927         (do_test): Likewise.
24928         * string/test-strcpy.c (do_one_test): Likewise.
24929         (do_test): Likewise.
24930         * string/test-string.h: Likewise.
24931         (test_init): Likewise.
24932         * string/test-strlen.c (do_one_test): Likewise.
24933         (do_test): Likewise.
24934         * string/test-strncasecmp.c (do_one_test): Likewise.
24935         (do_test): Likewise.
24936         * string/test-strncat.c (do_one_test): Likewise.
24937         (do_test): Likewise.
24938         * string/test-strncmp.c (do_one_test): Likewise.
24939         (do_test_limit): Likewise.
24940         (do_test): Likewise.
24941         * string/test-strncpy.c (do_one_test): Likewise.
24942         (do_test): Likewise.
24943         * string/test-strnlen.c (do_one_test): Likewise.
24944         (do_test): Likewise.
24945         * string/test-strpbrk.c (do_one_test): Likewise.
24946         (do_test): Likewise.
24947         * string/test-strrchr.c (do_one_test): Likewise.
24948         (do_test): Likewise.
24949         * string/test-strspn.c (do_one_test): Likewise.
24950         (do_test): Likewise.
24951         * string/test-strstr.c (do_one_test): Likewise.
24952         (do_test): Likewise.
24954         * benchtests/Makefile (string-bench): Add string benchmarks.
24955         * benchtests/bench-bcopy-ifunc.c: New file.
24956         * benchtests/bench-bcopy.c: New file.
24957         * benchtests/bench-bzero-ifunc.c: New file.
24958         * benchtests/bench-bzero.c: New file.
24959         * benchtests/bench-memccpy-ifunc.c: New file.
24960         * benchtests/bench-memccpy.c: New file.
24961         * benchtests/bench-memchr-ifunc.c: New file.
24962         * benchtests/bench-memchr.c: New file.
24963         * benchtests/bench-memcmp-ifunc.c: New file.
24964         * benchtests/bench-memcmp.c: New file.
24965         * benchtests/bench-memmem-ifunc.c: New file.
24966         * benchtests/bench-memmem.c: New file.
24967         * benchtests/bench-memmove-ifunc.c: New file.
24968         * benchtests/bench-memmove.c: New file.
24969         * benchtests/bench-mempcpy-ifunc.c: New file.
24970         * benchtests/bench-mempcpy.c: New file.
24971         * benchtests/bench-memset-ifunc.c: New file.
24972         * benchtests/bench-memset.c: New file.
24973         * benchtests/bench-rawmemchr-ifunc.c: New file.
24974         * benchtests/bench-rawmemchr.c: New file.
24975         * benchtests/bench-stpcpy-ifunc.c: New file.
24976         * benchtests/bench-stpcpy.c: New file.
24977         * benchtests/bench-stpncpy-ifunc.c: New file.
24978         * benchtests/bench-stpncpy.c: New file.
24979         * benchtests/bench-strcasecmp-ifunc.c: New file.
24980         * benchtests/bench-strcasecmp.c: New file.
24981         * benchtests/bench-strcasestr-ifunc.c: New file.
24982         * benchtests/bench-strcasestr.c: New file.
24983         * benchtests/bench-strcat-ifunc.c: New file.
24984         * benchtests/bench-strcat.c: New file.
24985         * benchtests/bench-strchr-ifunc.c: New file.
24986         * benchtests/bench-strchr.c: New file.
24987         * benchtests/bench-strchrnul-ifunc.c: New file.
24988         * benchtests/bench-strchrnul.c: New file.
24989         * benchtests/bench-strcmp-ifunc.c: New file.
24990         * benchtests/bench-strcmp.c: New file.
24991         * benchtests/bench-strcpy-ifunc.c: New file.
24992         * benchtests/bench-strcpy.c: New file.
24993         * benchtests/bench-strcspn-ifunc.c: New file.
24994         * benchtests/bench-strcspn.c: New file.
24995         * benchtests/bench-strlen-ifunc.c: New file.
24996         * benchtests/bench-strlen.c: New file.
24997         * benchtests/bench-strncasecmp-ifunc.c: New file.
24998         * benchtests/bench-strncasecmp.c: New file.
24999         * benchtests/bench-strncat-ifunc.c: New file.
25000         * benchtests/bench-strncat.c: New file.
25001         * benchtests/bench-strncmp-ifunc.c: New file.
25002         * benchtests/bench-strncmp.c: New file.
25003         * benchtests/bench-strncpy-ifunc.c: New file.
25004         * benchtests/bench-strncpy.c: New file.
25005         * benchtests/bench-strnlen-ifunc.c: New file.
25006         * benchtests/bench-strnlen.c: New file.
25007         * benchtests/bench-strpbrk-ifunc.c: New file.
25008         * benchtests/bench-strpbrk.c: New file.
25009         * benchtests/bench-strrchr-ifunc.c: New file.
25010         * benchtests/bench-strrchr.c: New file.
25011         * benchtests/bench-strspn-ifunc.c: New file.
25012         * benchtests/bench-strspn.c: New file.
25013         * benchtests/bench-strstr-ifunc.c: New file.
25014         * benchtests/bench-strstr.c: New file.
25016         * benchtests/Makefile: Disable parallel execution of targets.
25017         (string-bench): Add memcpy.
25018         (benchset): New variable to store a list of benchmark sets.
25019         (bench-func): Renamed from bench.
25020         (bench-set): New target.
25021         (bench): Depend on bench-func and bench-set.
25022         * benchtests/README: Add section on benchmark sets.
25023         * benchtests/bench-memcpy-ifunc.c: New file.
25024         * benchtests/bench-memcpy.c: New file.
25025         * benchtests/bench-string.h: New file.
25027 2013-06-11  Andreas Schwab  <schwab@suse.de>
25029         [BZ #15577]
25030         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25031         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25032         values in the triple.
25033         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25034         terminator in the group key.
25036 2013-06-11  Andreas Jaeger  <aj@suse.de>
25038         * po/zh_TW.po: Update Chinese (traditional) translation from
25039         translation project.
25041 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25043         * include/time.h (__clock_gettime): Add libc_hidden_proto.
25044         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25045         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
25046         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25047         (clock_getcpuclockid): Likewise.
25048         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25049         Add weak_alias and libc_hidden_def.
25050         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25051         * rt/clock_gettime.c (clock_gettime): Rename to
25052         __clock_gettime.  Add weak_alias and libc_hidden_def.
25053         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25054         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25055         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
25056         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25057         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25058         Likewise.
25059         * rt/clock_settime.c (clock_settime): Rename to
25060         __clock_settime.  Add weak_alias and libc_hidden_def.
25061         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25063 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
25065         * mach/err_boot.sub: Remove trailing whitespace.
25066         * mach/err_ipc.sub: Likewise.
25067         * mach/err_mach.sub: Likewise.
25069         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25070         (ROUNDING_TESTS_double): Likewise.
25071         (ROUNDING_TESTS_long_double): Likewise.
25072         (ROUNDING_TESTS): Likewise.
25073         * math/libm-test.inc: Include <math-tests.h>.
25074         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25075         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25076         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25077         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25079 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25081         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25082         of assigning.
25084 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
25086         * sysdeps/gnu/errlist.awk: Do not generate space at end of
25087         otherwise empty TRANS lines.
25088         * sysdeps/gnu/errlist.c: Regenerated.
25090         * catgets/gencat.c (error_print): Use (void) in function
25091         definition.
25092         * crypt/crypt_util.c (__init_des): Likewise.
25093         * crypt/speeds.c (Stop): Likewise.
25094         (main): Likewise.
25095         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25096         * inet/ruserpass.c (token): Likewise.
25097         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25098         * intl/localealias.c (extend_alias_table): Likewise.
25099         * intl/plural-exp.c (init_germanic_plural): Likewise.
25100         * libio/fcloseall.c (__fcloseall): Likewise.
25101         * libio/genops.c (_IO_flush_all): Likewise.
25102         (_IO_flush_all_linebuffered): Likewise.
25103         (_IO_cleanup): Likewise.
25104         (_IO_iter_begin): Likewise.
25105         (_IO_iter_end): Likewise.
25106         (_IO_list_lock): Likewise.
25107         (_IO_list_unlock): Likewise.
25108         (_IO_list_resetlock): Likewise.
25109         * libio/getchar.c (getchar): Likewise.
25110         * libio/getchar_u.c (getchar_unlocked): Likewise.
25111         * libio/getwchar.c (getwchar): Likewise.
25112         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25113         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25114         * login/getpt.c (__getpt): Likewise.
25115         * login/tst-utmp.c (main): Likewise.
25116         * malloc/hooks.c (__malloc_check_init): Likewise.
25117         * malloc/malloc.c (__malloc_stats): Likewise.
25118         * malloc/mtrace.c (tr_break): Likewise.
25119         (mtrace): Likewise.
25120         (muntrace): Likewise.
25121         * misc/fstab.c (endfsent): Likewise.
25122         * misc/getclktck.c (__getclktck): Likewise.
25123         * misc/getdtsz.c (__getdtablesize): Likewise.
25124         * misc/gethostid.c (gethostid): Likewise.
25125         * misc/getpagesize.c (__getpagesize): Likewise.
25126         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25127         (__get_nprocs): Likewise.
25128         (__get_phys_pages): Likewise.
25129         (__get_avphys_pages): Likewise.
25130         * misc/getttyent.c (getttyent): Likewise.
25131         (setttyent): Likewise.
25132         (endttyent): Likewise.
25133         * misc/getusershell.c (getusershell): Likewise.
25134         (endusershell): Likewise.
25135         (setusershell): Likewise.
25136         (initshells): Likewise.
25137         * misc/hsearch.c (__hdestroy): Likewise.
25138         * misc/sync.c (sync): Likewise.
25139         * misc/syslog.c (closelog_internal): Likewise.
25140         (closelog): Likewise.
25141         * misc/ttyslot.c (ttyslot): Likewise.
25142         * misc/vhangup.c (vhangup): Likewise.
25143         * posix/fork.c (__fork): Likewise.
25144         * posix/getegid.c (__getegid): Likewise.
25145         * posix/geteuid.c (__geteuid): Likewise.
25146         * posix/getgid.c (__getgid): Likewise.
25147         * posix/getpid.c (__getpid): Likewise.
25148         * posix/getppid.c (__getppid): Likewise.
25149         * posix/getuid.c (__getuid): Likewise.
25150         * posix/pause.c (pause): Likewise.
25151         * posix/setpgrp.c (setpgrp): Likewise.
25152         * posix/setsid.c (__setsid): Likewise.
25153         * posix/test-vfork.c (noop): Likewise.
25154         * resolv/gethnamaddr.c (_endhtent): Likewise.
25155         (_gethtent): Likewise.
25156         (ht_endhostent): Likewise.
25157         (gethostent): Likewise.
25158         (dns_service): Likewise.
25159         * stdlib/drand48.c (drand48): Likewise.
25160         * stdlib/lrand48.c (lrand48): Likewise.
25161         * stdlib/mrand48.c (mrand48): Likewise.
25162         * stdlib/rand.c (rand): Likewise.
25163         * stdlib/random.c (__random): Likewise.
25164         * stdlib/setenv.c (clearenv): Likewise.
25165         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25166         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25167         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25168         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25169         (__get_nprocs): Likewise.
25170         (__get_phys_pages): Likewise.
25171         (__get_avphys_pages): Likewise.
25172         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25173         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25174         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25175         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25176         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25177         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25178         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25179         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25180         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25181         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25182         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25183         * sysdeps/mach/hurd/sync.c (sync): Likewise.
25184         * sysdeps/posix/clock.c (clock): Likewise.
25185         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25186         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25187         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25188         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25189         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25190         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25191         (__get_nprocs_conf): Likewise.
25192         (__get_phys_pages): Likewise.
25193         (__get_avphys_pages): Likewise.
25194         * time/clock.c (clock): Likewise.
25195         * time/tzset.c (__tzname_max): Likewise.
25197 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
25199         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25200         (__bswap_32): Do not use "register".
25201         * crypt/crypt.c (_ufc_doit_r): Likewise.
25202         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25203         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25204         * gmon/gmon.c (__monstartup): Likewise.
25205         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25206         * hurd/hurdmalloc.c (more_memory): Likewise.
25207         (malloc): Likewise.
25208         (free): Likewise.
25209         (realloc): Likewise.
25210         (malloc_fork_prepare): Likewise.
25211         (malloc_fork_parent): Likewise.
25212         (malloc_fork_child): Likewise.
25213         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25214         (_svcauth_des): Likewise.
25215         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25216         * inet/inet_net.c (inet_network): Likewise.
25217         * inet/inet_netof.c (inet_netof): Likewise.
25218         * inet/rcmd.c (__validuser2_sa): Likewise.
25219         * io/fts.c (fts_open): Likewise.
25220         (fts_load): Likewise.
25221         (fts_close): Likewise.
25222         (fts_read): Likewise.
25223         (fts_children): Likewise.
25224         (fts_build): Likewise.
25225         (fts_stat): Likewise.
25226         (fts_sort): Likewise.
25227         (fts_alloc): Likewise.
25228         (fts_lfree): Likewise.
25229         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25230         (_IO_file_xsgetn): Likewise.
25231         (_IO_file_xsgetn_mmap): Likewise.
25232         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25233         (_IO_cookie_write): Likewise.
25234         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25235         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25236         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25237         * malloc/obstack.c (_obstack_begin): Likewise.
25238         (_obstack_begin_1): Likewise.
25239         (_obstack_newchunk): Likewise.
25240         (_obstack_allocated_p): Likewise.
25241         (obstack_free): Likewise.
25242         (_obstack_memory_used): Likewise.
25243         * misc/getttyent.c (getttynam): Likewise.
25244         (getttyent): Likewise.
25245         (skip): Likewise.
25246         (value): Likewise.
25247         * misc/getusershell.c (initshells): Likewise.
25248         * misc/syslog.c (__vsyslog_chk): Likewise.
25249         * misc/ttyslot.c (ttyslot): Likewise.
25250         * nis/nis_hash.c (__nis_hash): Likewise.
25251         * posix/fnmatch_loop.c (FCT): Likewise.
25252         * posix/getconf.c (print_all): Likewise.
25253         (main): Likewise.
25254         * posix/getopt.c (exchange): Likewise.
25255         * posix/glob.c (globfree): Likewise.
25256         (prefix_array): Likewise.
25257         (__glob_pattern_type): Likewise.
25258         * resolv/arpa/nameser.h (NS_GET16): Likewise.
25259         (NS_GET32): Likewise.
25260         (NS_PUT16): Likewise.
25261         (NS_PUT32): Likewise.
25262         * resolv/gethnamaddr.c (getanswer): Likewise.
25263         (gethostbyname2): Likewise.
25264         (gethostbyaddr): Likewise.
25265         (_gethtent): Likewise.
25266         (_gethtbyname2): Likewise.
25267         (_gethtbyaddr): Likewise.
25268         * resolv/ns_print.c (dst_s_get_int16): Likewise.
25269         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25270         * resolv/res_init.c (__res_vinit): Likewise.
25271         (net_mask): Likewise.
25272         * resolv/res_mkquery.c (outchar): Likewise.
25273         (PRINT): Likewise.
25274         * stdio-common/printf_fp.c (outchar): Likewise.
25275         (PRINT): Likewise.
25276         * stdio-common/printf_fphex.c (outchar): Likewise.
25277         (PRINT): Likewise.
25278         * stdio-common/printf_size.c (outchar): Likewise.
25279         (PRINT): Likewise.
25280         * stdio-common/test_rdwr.c (main): Likewise.
25281         * stdio-common/tfformat.c (matches): Likewise.
25282         * stdio-common/vfprintf.c (outchar): Likewise.
25283         (printf_unknown): Likewise.
25284         (buffered_vfprintf): Likewise.
25285         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25286         * stdio-common/xbug.c (AppendToBuffer): Likewise.
25287         (ReadFile): Likewise.
25288         * stdlib/qsort.c (SWAP): Likewise.
25289         (_quicksort): Likewise.
25290         * stdlib/setenv.c (__add_to_environ): Likewise.
25291         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25292         * stdlib/strtol_l.c (__strtol_l): Likewise.
25293         * stdlib/tst-strtod.c (main): Likewise.
25294         * stdlib/tst-strtol.c (main): Likewise.
25295         * stdlib/tst-strtoll.c (main): Likewise.
25296         * string/bits/string2.h (__strcmp_cc): Likewise.
25297         (__strcmp_cg): Likewise.
25298         (__strcspn_c1): Likewise.
25299         (__strcspn_c2): Likewise.
25300         (__strcspn_c3): Likewise.
25301         (__strspn_c1): Likewise.
25302         (__strspn_c2): Likewise.
25303         (__strspn_c3): Likewise.
25304         (__strsep_1c): Likewise.
25305         (__strsep_2c): Likewise.
25306         (__strsep_3c): Likewise.
25307         * string/memccpy.c (__memccpy): Likewise.
25308         * string/stpcpy.c (__stpcpy): Likewise.
25309         * string/strcmp.c (strcmp): Likewise.
25310         * string/strrchr.c (strrchr): Likewise.
25311         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25312         Likewise.
25313         * sysdeps/mach/hurd/getcwd.c
25314         (_hurd_canonicalize_directory_name_internal): Likewise.
25315         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25316         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25317         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25318         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25319         Likewise, in both definitions.
25320         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25321         definitions.
25322         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25323         64] (__bswap_64): Likewise.
25324         * time/test_time.c (main): Likewise.
25325         * time/tzfile.c (__tzfile_read): Likewise.
25326         (__tzfile_compute): Likewise.
25327         * time/tzset.c (__tzset_parse_tz): Likewise.
25328         (tzset_internal): Likewise.
25329         (compute_change): Likewise.
25330         * wcsmbs/wcscat.c (__wcscat): Likewise.
25331         * wcsmbs/wcschr.c (wcschr): Likewise.
25332         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25333         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25334         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25335         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25336         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25337         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25338         * wcsmbs/wmemchr.c (wmemchr): Likewise.
25339         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25340         * wcsmbs/wmemset.c (wmemset): Likewise.
25342 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
25344         * scripts/config.guess: Update to version 2013-05-16.
25345         * scripts/config.sub: Update to version 2013-04-24.
25346         * scripts/install-sh: Update to version 2011-11-20.07.
25347         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25348         * scripts/move-if-change: Update to version 2012-01-06 07:23.
25350 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
25352         * debug/fgetws_u_chk.c: Fix leading whitespaces.
25353         * elf/sln.c: Likewise.
25354         * hurd/hurd/ioctl.h: Likewise.
25355         * hurd/hurdmalloc.c: Likewise.
25356         * hurd/xattr.c: Likewise.
25357         * include/shlib-compat.h: Likewise.
25358         * inet/ruserpass.c: Likewise.
25359         * libio/iofgets_u.c: Likewise.
25360         * libio/iofgetws_u.c: Likewise.
25361         * locale/programs/ld-identification.c: Likewise.
25362         * locale/programs/ld-time.c: Likewise.
25363         * mach/msg-destroy.c: Likewise.
25364         * nss/nss_files/files-netgrp.c: Likewise.
25365         * resolv/res_data.c: Likewise.
25366         * soft-fp/op-1.h: Likewise.
25367         * soft-fp/op-2.h: Likewise.
25368         * soft-fp/op-4.h: Likewise.
25369         * soft-fp/op-common.h: Likewise.
25370         * stdio-common/printf_fphex.c: Likewise.
25371         * stdlib/strtod_l.c: Likewise.
25372         * sunrpc/rpc/clnt.h: Likewise.
25373         * sysdeps/generic/framestate.c: Likewise.
25374         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25375         * sysdeps/i386/bsd-setjmp.S: Likewise.
25376         * sysdeps/i386/__longjmp.S: Likewise.
25377         * sysdeps/i386/setjmp.S: Likewise.
25378         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25379         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25380         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25381         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25382         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25383         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25384         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25385         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25386         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25387         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25388         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25389         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25390         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25391         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25392         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25393         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25394         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25395         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25396         * sysdeps/ieee754/support.c: Likewise.
25397         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25398         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25399         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25400         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25401         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25402         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25403         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25404         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25405         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25406         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25407         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25408         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25409         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25410         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25411         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25412         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25413         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25416 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
25418         * posix/transbug.c: Remove executable mode.
25420 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
25422         * crypt/speeds.c: Remove trailing whitespace.
25423         * dlfcn/default.c: Likewise.
25424         * elf/ifuncdep2.c: Likewise.
25425         * elf/ifuncmain1.c: Likewise.
25426         * elf/ifuncmain1vis.c: Likewise.
25427         * elf/testobj.h: Likewise.
25428         * elf/tst-stackguard1.c: Likewise.
25429         * gmon/sys/gmon.h: Likewise.
25430         * hurd/hurdmsg.c: Likewise.
25431         * hurd/new-fd.c: Likewise.
25432         * hurd/ports-get.c: Likewise.
25433         * iconvdata/ibm1008_420.c: Likewise.
25434         * inet/tst-getni1.c: Likewise.
25435         * inet/tst-getni2.c: Likewise.
25436         * libio/ioungetc.c: Likewise.
25437         * libio/wfiledoalloc.c: Likewise.
25438         * manual/libm-err-tab.pl: Likewise.
25439         * math/w_dremf.c: Likewise.
25440         * misc/ftruncate.c: Likewise.
25441         * posix/bug-glob2.c: Likewise.
25442         * posix/tst-pcre.c: Likewise.
25443         * posix/wait4.c: Likewise.
25444         * resolv/README: Likewise.
25445         * resolv/res_debug.h: Likewise.
25446         * resolv/tst-inet_ntop.c: Likewise.
25447         * setjmp/bug269-setjmp.c: Likewise.
25448         * soft-fp/extended.h: Likewise.
25449         * soft-fp/op-1.h: Likewise.
25450         * soft-fp/op-2.h: Likewise.
25451         * soft-fp/op-4.h: Likewise.
25452         * soft-fp/op-8.h: Likewise.
25453         * soft-fp/testit.c: Likewise.
25454         * stdio-common/bug16.c: Likewise.
25455         * stdlib/random.c: Likewise.
25456         * sunrpc/rpcsvc/rquota.x: Likewise.
25457         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25458         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25459         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25460         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25461         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25462         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25463         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25464         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25465         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25466         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25467         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25468         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25469         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25470         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25471         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25472         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25473         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25474         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25475         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25476         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25477         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25478         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25479         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25480         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25481         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25482         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25483         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25484         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25485         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25486         * sysdeps/ieee754/s_lib_version.c: Likewise.
25487         * sysdeps/mach/hurd/check_fds.c: Likewise.
25488         * sysdeps/mach/hurd/getsockname.c: Likewise.
25489         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25490         * sysdeps/mach/hurd/recvfrom.c: Likewise.
25491         * sysdeps/powerpc/bits/link.h: Likewise.
25492         * sysdeps/powerpc/dl-procinfo.c: Likewise.
25493         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25494         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25495         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25496         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25497         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25498         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25499         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25500         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25501         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25502         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25503         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25504         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25505         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25506         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25507         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25508         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25509         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25510         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25511         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25512         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25513         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25514         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25515         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25516         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25517         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25518         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25519         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25520         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25521         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25522         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25523         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25524         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25525         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25526         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25527         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25528         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25529         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25530         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25531         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25532         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25533         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25534         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25535         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25536         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25537         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25538         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25539         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25540         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25541         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25542         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25543         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25544         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25545         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25546         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25547         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25548         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25549         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25550         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25551         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25552         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25553         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25554         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25555         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25556         * sysdeps/powerpc/sysdep.h: Likewise.
25557         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25558         * sysdeps/s390/s390-64/sub_n.S: Likewise.
25559         * sysdeps/sh/dl-trampoline.S: Likewise.
25560         * sysdeps/sh/memset.S: Likewise.
25561         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25562         * sysdeps/sh/strlen.S: Likewise.
25563         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25564         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25565         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25566         * sysdeps/sparc/sparc32/rem.S: Likewise.
25567         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25568         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25569         * sysdeps/sparc/sparc32/strchr.S: Likewise.
25570         * sysdeps/sparc/sparc32/udiv.S: Likewise.
25571         * sysdeps/sparc/sparc32/urem.S: Likewise.
25572         * sysdeps/sparc/sparc64/add_n.S: Likewise.
25573         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25574         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25575         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25576         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25577         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25578         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25579         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25580         * sysdeps/unix/bsd/times.c: Likewise.
25581         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25582         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25586         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25587         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25588         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25589         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25590         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25591         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25592         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25593         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25594         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25595         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25596         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25597         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25598         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25599         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25600         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25601         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25602         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25603         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25604         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25605         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25606         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25607         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25608         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25609         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25610         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25611         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25612         * sysdeps/x86_64/strcspn.S: Likewise.
25614 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25616         * locale/C-translit.h: Revert #include <stdint.h> because this is a
25617         generated file.  Regenerate properly from gen-translit.pl.
25618         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
25619         locale/C-translit.h.
25621 2013-06-05  Andreas Schwab  <schwab@suse.de>
25623         [BZ #15100]
25624         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25625         week as 6 instead of -1.
25626         * time/tst-strptime.c (day_tests): Add test case.
25628 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25630         * sysdeps/generic/math_private.h
25631         (libc_feholdexcept_setround_53bit): Replace with
25632         libc_feholdsetround_53bit.
25633         (libc_feupdateenv_53bit): Replace with
25634         libc_feresetround_53bit.
25635         (SET_RESTORE_ROUND_53BIT): Adjust.
25637 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25639         * string/test-strchrnul.c: Add copyright header.
25641         * posix/tst-getaddrinfo4.c: Increase test timeout.
25643 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
25645         [BZ #15536]
25646         * math/libm-test.inc (MAX_EXP): Remove
25647         (MIN_EXP): Define.
25648         (ulp): Use MIN_EXP - MANT_DIG.
25649         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25651 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
25653         * po/be.po: Revert last change.
25654         * po/zh_CN.po: Likewise.
25655         * po/header.pot: Likewise.
25657 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
25659         * Makefile ($(common-objpfx)linkobj/libc.so): Define
25660         link-libc-deps to empty as target-specific variable.
25661         * Makerules (link-libc-args): New variable.
25662         (libc-for-link): Likewise.
25663         (link-libc-deps): Likewise.
25664         (lib%.so): Depend on $(link-libc-deps).  Link with
25665         $(link-libc-args).
25666         (build-module): Link with $(link-libc-args).
25667         (build-module-asneeded): Likewise.
25668         (build-module-helper-objlist): Filter out $(link-libc-deps) from
25669         list of objects.
25670         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25671         target-specific variable.
25672         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25673         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25674         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25675         libc.
25676         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25677         libc and ld.so.
25678         ($(objpfx)libpcprofile.so): Likewise.
25679         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25680         libc_nonshared.a.
25681         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25682         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25683         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25684         $(link-libc-deps).
25685         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25686         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25687         * login/Makefile ($(objpfx)libutil.so): Likewise.
25688         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25689         * math/Makefile ($(objpfx)libm.so): Likewise.
25690         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25691         $(objpfx)libnsl.so): Define libc-for-link as target-specific
25692         variable instead of depending directly on libc.
25693         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25694         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25695         $(link-libc-deps).
25696         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25697         libc.
25698         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25699         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25700         ($(objpfx)libanl.so): Likewise.
25701         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25702         ld.so.
25703         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25704         $(link-libc-deps).
25705         * sysdeps/i386/fpu/Makefile: Remove file.
25706         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25707         ($(objpfx)libm.so): Remove dependency on ld.so.
25709 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
25711         [BZ # 15553]
25712         * nis/yp_xdr.c (XDRMAXNAME): Define.
25713         (XDRMAXRECORD): Define.
25714         (xdr_domainname): Use XDRMAXNAME.
25715         (xdr_mapname): Likewise.
25716         (xdr_peername): Likewise.
25717         (xdr_keydat): Use XDRMAXRECORD.
25718         (xdr_valdat): Likewise.
25720 2013-05-30  Jeff Law  <law@redhat.com>
25722         [BZ #14256]
25723         * manual/errno.texi (ESTALE): Update to account for more than
25724         just NFS file systems.
25725         * sysdeps/gnu/errlist.c: Regenerated.
25727 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25729         [BZ #15465]
25730         * elf/Makefile (tests): Add tst-null-argv.
25731         (modules-names):  Add tst-null-argv-lib.
25732         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25733         (tst-null-argv-ENV): Set environment for tst-null-argv.
25734         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25735         (RTLD_PROGNAME): New macro.
25736         * elf/tst-null-argv.c: New test case.
25737         * elf/tst-null-argv-lib.c: Library for test case.
25738         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25739         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25740         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25741         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25742         * elf/dl-init.c (call_init): Likewise.
25743         (_dl_init): Likewise.
25744         * elf/dl-load.c (print_search_path): Likewise.
25745         (_dl_map_object): Likewise.
25746         * elf/dl-lookup.c (do_lookup_x): Likewise.
25747         (add_dependency): Likewise.
25748         (_dl_lookup_symbol_x): Likewise.
25749         (_dl_debug_bindings): Likewise.
25750         * elf/dl-open.c (_dl_show_scope): Likewise.
25751         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25752         * elf/dl-version.c (match_symbol): Likewise.
25753         (_dl_check_map_versions): Likewise.
25754         * elf/rtld.c (dl_main): Likewise.
25755         (print_unresolved): Use RTLD_PROGNAME.
25756         (print_missing_version): Likewise.
25757         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25758         (elf_machine_rela): Likewise.
25759         * sysdeps/powerpc/powerpc32/dl-machine.c
25760         (__process_machine_rela): Likewise.
25761         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25762         Likewise.
25763         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25764         Likewise.
25765         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25766         Likewise.
25767         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25768         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25769         Likewise.
25770         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25771         Likewise.
25772         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25774 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
25776         * po/be.po: Add descriptive title.
25777         * po/zh_CN.po: Likewise.
25778         * po/header.pot: Likewise.
25780 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
25782         * locale/programs/locarchive.c (create_archive): Inlucde fname in
25783         error message.
25784         (enlarge_archive): Likewise.
25786 2013-05-28  Ben North  <ben@redfrontdoor.org>
25788         * manual/arith.texi (frexp): It is the magnitude of the return
25789         value which lies in [0.5, 1), not the return value itself.
25791 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25795 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
25797         * stdio-common/bug26.c (main): Correct fscanf template.
25799         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25800         declare _dl_skip_args.
25802         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25803         Don't declare.
25805         * manual/platform.texi: Add missing @end deftypefun.
25807 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25809         [BZ #15529]
25810         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25811         bit of mantissa of 2^16382.
25812         * math/libm-test.inc (hypot_test_data): Add more tests.
25814         * math/libm-test.inc: Add drem and pow10 to list of tested
25815         functions.
25816         (pow10_test): New function.
25817         (drem_test): Likewise.
25818         (drem_test_tonearest): Likewise.
25819         (drem_test_towardzero): Likewise.
25820         (drem_test_downward): Likewise.
25821         (drem_test_upward): Likewise.
25822         (main): Call the new functions.
25824         * math/libm-test.inc (finite_test_data): Remove.
25825         (finite_test): Run tests from isfinite_test_data.
25826         (gamma_test_data): Remove.
25827         (gamma_test): Run tests from lgamma_test_data.
25828         * sysdeps/i386/fpu/libm-test-ulps: Update.
25829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25831 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25833         * manual/platform.texi: Add PowerPC PPR function set documentation.
25834         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25835         implementation.
25837 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
25839         * math/libm-test.inc (MAX_EXP): Define.
25840         (ULPDIFF): Define.
25841         (ulp): New function.
25842         (check_float_internal): Use ULPDIFF.
25843         (cpow_test): Disable failing test.
25844         (check_ulp): Test ulp() implemetnation.
25845         (main): Call check_ulp before starting tests.
25847 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25849         * math/gen-libm-test.pl (generate_testfile): Do not handle
25850         START_DATA and END_DATA.
25851         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25852         END_DATA.
25853         (acos_tonearest_test_data): Likewise.
25854         (acos_towardzero_test_data): Likewise.
25855         (acos_downward_test_data): Likewise.
25856         (acos_upward_test_data): Likewise.
25857         (acosh_test_data): Likewise.
25858         (asin_test_data): Likewise.
25859         (asin_tonearest_test_data): Likewise.
25860         (asin_towardzero_test_data): Likewise.
25861         (asin_downward_test_data): Likewise.
25862         (asin_upward_test_data): Likewise.
25863         (asinh_test_data): Likewise.
25864         (atan_test_data): Likewise.
25865         (atanh_test_data): Likewise.
25866         (atan2_test_data): Likewise.
25867         (cabs_test_data): Likewise.
25868         (cacos_test_data): Likewise.
25869         (cacosh_test_data): Likewise.
25870         (carg_test_data): Likewise.
25871         (casin_test_data): Likewise.
25872         (casinh_test_data): Likewise.
25873         (catan_test_data): Likewise.
25874         (catanh_test_data): Likewise.
25875         (cbrt_test_data): Likewise.
25876         (ccos_test_data): Likewise.
25877         (ccosh_test_data): Likewise.
25878         (ceil_test_data): Likewise.
25879         (cexp_test_data): Likewise.
25880         (cimag_test_data): Likewise.
25881         (clog_test_data): Likewise.
25882         (clog10_test_data): Likewise.
25883         (conj_test_data): Likewise.
25884         (copysign_test_data): Likewise.
25885         (cos_test_data): Likewise.
25886         (cos_tonearest_test_data): Likewise.
25887         (cos_towardzero_test_data): Likewise.
25888         (cos_downward_test_data): Likewise.
25889         (cos_upward_test_data): Likewise.
25890         (cosh_test_data): Likewise.
25891         (cosh_tonearest_test_data): Likewise.
25892         (cosh_towardzero_test_data): Likewise.
25893         (cosh_downward_test_data): Likewise.
25894         (cosh_upward_test_data): Likewise.
25895         (cpow_test_data): Likewise.
25896         (cproj_test_data): Likewise.
25897         (creal_test_data): Likewise.
25898         (csin_test_data): Likewise.
25899         (csinh_test_data): Likewise.
25900         (csqrt_test_data): Likewise.
25901         (ctan_test_data): Likewise.
25902         (ctan_tonearest_test_data): Likewise.
25903         (ctan_towardzero_test_data): Likewise.
25904         (ctan_downward_test_data): Likewise.
25905         (ctan_upward_test_data): Likewise.
25906         (ctanh_test_data): Likewise.
25907         (ctanh_tonearest_test_data): Likewise.
25908         (ctanh_towardzero_test_data): Likewise.
25909         (ctanh_downward_test_data): Likewise.
25910         (ctanh_upward_test_data): Likewise.
25911         (erf_test_data): Likewise.
25912         (erfc_test_data): Likewise.
25913         (exp_test_data): Likewise.
25914         (exp_tonearest_test_data): Likewise.
25915         (exp_towardzero_test_data): Likewise.
25916         (exp_downward_test_data): Likewise.
25917         (exp_upward_test_data): Likewise.
25918         (exp10_test_data): Likewise.
25919         (exp2_test_data): Likewise.
25920         (expm1_test_data): Likewise.
25921         (fabs_test_data): Likewise.
25922         (fdim_test_data): Likewise.
25923         (finite_test_data): Likewise.
25924         (floor_test_data): Likewise.
25925         (fma_test_data): Likewise.
25926         (fma_towardzero_test_data): Likewise.
25927         (fma_downward_test_data): Likewise.
25928         (fma_upward_test_data): Likewise.
25929         (fmax_test_data): Likewise.
25930         (fmin_test_data): Likewise.
25931         (fmod_test_data): Likewise.
25932         (fpclassify_test_data): Likewise.
25933         (frexp_test_data): Likewise.
25934         (gamma_test_data): Likewise.
25935         (hypot_test_data): Likewise.
25936         (ilogb_test_data): Likewise.
25937         (isfinite_test_data): Likewise.
25938         (isgreater_test_data): Likewise.
25939         (isgreaterequal_test_data): Likewise.
25940         (isinf_test_data): Likewise.
25941         (isless_test_data): Likewise.
25942         (islessequal_test_data): Likewise.
25943         (islessgreater_test_data): Likewise.
25944         (isnan_test_data): Likewise.
25945         (isnormal_test_data): Likewise.
25946         (issignaling_test_data): Likewise.
25947         (isunordered_test_data): Likewise.
25948         (j0_test_data): Likewise.
25949         (j1_test_data): Likewise.
25950         (jn_test_data): Likewise.
25951         (ldexp_test_data): Likewise.
25952         (lgamma_test_data): Likewise.
25953         (lrint_test_data): Likewise.
25954         (lrint_tonearest_test_data): Likewise.
25955         (lrint_towardzero_test_data): Likewise.
25956         (lrint_downward_test_data): Likewise.
25957         (lrint_upward_test_data): Likewise.
25958         (llrint_test_data): Likewise.
25959         (llrint_tonearest_test_data): Likewise.
25960         (llrint_towardzero_test_data): Likewise.
25961         (llrint_downward_test_data): Likewise.
25962         (llrint_upward_test_data): Likewise.
25963         (log_test_data): Likewise.
25964         (log10_test_data): Likewise.
25965         (log1p_test_data): Likewise.
25966         (log2_test_data): Likewise.
25967         (logb_test_data): Likewise.
25968         (logb_downward_test_data): Likewise.
25969         (lround_test_data): Likewise.
25970         (llround_test_data): Likewise.
25971         (modf_test_data): Likewise.
25972         (nearbyint_test_data): Likewise.
25973         (nextafter_test_data): Likewise.
25974         (nexttoward_test_data): Likewise.
25975         (pow_test_data): Likewise.
25976         (pow_tonearest_test_data): Likewise.
25977         (pow_towardzero_test_data): Likewise.
25978         (pow_downward_test_data): Likewise.
25979         (pow_upward_test_data): Likewise.
25980         (remainder_test_data): Likewise.
25981         (remainder_tonearest_test_data): Likewise.
25982         (remainder_towardzero_test_data): Likewise.
25983         (remainder_downward_test_data): Likewise.
25984         (remainder_upward_test_data): Likewise.
25985         (remquo_test_data): Likewise.
25986         (rint_test_data): Likewise.
25987         (rint_tonearest_test_data): Likewise.
25988         (rint_towardzero_test_data): Likewise.
25989         (rint_downward_test_data): Likewise.
25990         (rint_upward_test_data): Likewise.
25991         (round_test_data): Likewise.
25992         (scalb_test_data): Likewise.
25993         (scalbn_test_data): Likewise.
25994         (scalbln_test_data): Likewise.
25995         (signbit_test_data): Likewise.
25996         (sin_test_data): Likewise.
25997         (sin_tonearest_test_data): Likewise.
25998         (sin_towardzero_test_data): Likewise.
25999         (sin_downward_test_data): Likewise.
26000         (sin_upward_test_data): Likewise.
26001         (sincos_test_data): Likewise.
26002         (sinh_test_data): Likewise.
26003         (sinh_tonearest_test_data): Likewise.
26004         (sinh_towardzero_test_data): Likewise.
26005         (sinh_downward_test_data): Likewise.
26006         (sinh_upward_test_data): Likewise.
26007         (sqrt_test_data): Likewise.
26008         (tan_test_data): Likewise.
26009         (tan_tonearest_test_data): Likewise.
26010         (tan_towardzero_test_data): Likewise.
26011         (tan_downward_test_data): Likewise.
26012         (tan_upward_test_data): Likewise.
26013         (tanh_test_data): Likewise.
26014         (tgamma_test_data): Likewise.
26015         (trunc_test_data): Likewise.
26016         (y0_test_data): Likewise.
26017         (y1_test_data): Likewise.
26018         (yn_test_data): Likewise.
26019         (significand_test_data): Likewise.
26021         * math/gen-libm-test.pl (@functions): Remove variable.
26022         (generate_testfile): Don't handle START and END lines.
26023         * math/libm-test.inc (START): New macro.
26024         (END): Likewise.
26025         (END_COMPLEX): Likewise.
26026         (acos_test): Use END macro without arguments.
26027         (acos_test_tonearest): Likewise.
26028         (acos_test_towardzero): Likewise.
26029         (acos_test_downward): Likewise.
26030         (acos_test_upward): Likewise.
26031         (acosh_test): Likewise.
26032         (asin_test): Likewise.
26033         (asin_test_tonearest): Likewise.
26034         (asin_test_towardzero): Likewise.
26035         (asin_test_downward): Likewise.
26036         (asin_test_upward): Likewise.
26037         (asinh_test): Likewise.
26038         (atan_test): Likewise.
26039         (atanh_test): Likewise.
26040         (atan2_test): Likewise.
26041         (cabs_test): Likewise.
26042         (cacos_test): Use END_COMPLEX macro without arguments.
26043         (cacosh_test): Likewise.
26044         (carg_test): Use END macro without arguments.
26045         (casin_test): Use END_COMPLEX macro without arguments.
26046         (casinh_test): Likewise.
26047         (catan_test): Likewise.
26048         (catanh_test): Likewise.
26049         (cbrt_test): Use END macro without arguments.
26050         (ccos_test): Use END_COMPLEX macro without arguments.
26051         (ccosh_test): Likewise.
26052         (ceil_test): Use END macro without arguments.
26053         (cexp_test): Use END_COMPLEX macro without arguments.
26054         (cimag_test): Use END macro without arguments.
26055         (clog_test): Use END_COMPLEX macro without arguments.
26056         (clog10_test): Likewise.
26057         (conj_test): Likewise.
26058         (copysign_test): Use END macro without arguments.
26059         (cos_test): Likewise.
26060         (cos_test_tonearest): Likewise.
26061         (cos_test_towardzero): Likewise.
26062         (cos_test_downward): Likewise.
26063         (cos_test_upward): Likewise.
26064         (cosh_test): Likewise.
26065         (cosh_test_tonearest): Likewise.
26066         (cosh_test_towardzero): Likewise.
26067         (cosh_test_downward): Likewise.
26068         (cosh_test_upward): Likewise.
26069         (cpow_test): Use END_COMPLEX macro without arguments.
26070         (cproj_test): Likewise.
26071         (creal_test): Use END macro without arguments.
26072         (csin_test): Use END_COMPLEX macro without arguments.
26073         (csinh_test): Likewise.
26074         (csqrt_test): Likewise.
26075         (ctan_test): Likewise.
26076         (ctan_test_tonearest): Likewise.
26077         (ctan_test_towardzero): Likewise.
26078         (ctan_test_downward): Likewise.
26079         (ctan_test_upward): Likewise.
26080         (ctanh_test): Likewise.
26081         (ctanh_test_tonearest): Likewise.
26082         (ctanh_test_towardzero): Likewise.
26083         (ctanh_test_downward): Likewise.
26084         (ctanh_test_upward): Likewise.
26085         (erf_test): Use END macro without arguments.
26086         (erfc_test): Likewise.
26087         (exp_test): Likewise.
26088         (exp_test_tonearest): Likewise.
26089         (exp_test_towardzero): Likewise.
26090         (exp_test_downward): Likewise.
26091         (exp_test_upward): Likewise.
26092         (exp10_test): Likewise.
26093         (exp2_test): Likewise.
26094         (expm1_test): Likewise.
26095         (fabs_test): Likewise.
26096         (fdim_test): Likewise.
26097         (finite_test): Likewise.
26098         (floor_test): Likewise.
26099         (fma_test): Likewise.
26100         (fma_test_towardzero): Likewise.
26101         (fma_test_downward): Likewise.
26102         (fma_test_upward): Likewise.
26103         (fmax_test): Likewise.
26104         (fmin_test): Likewise.
26105         (fmod_test): Likewise.
26106         (fpclassify_test): Likewise.
26107         (frexp_test): Likewise.
26108         (gamma_test): Likewise.
26109         (hypot_test): Likewise.
26110         (ilogb_test): Likewise.
26111         (isfinite_test): Likewise.
26112         (isgreater_test): Likewise.
26113         (isgreaterequal_test): Likewise.
26114         (isinf_test): Likewise.
26115         (isless_test): Likewise.
26116         (islessequal_test): Likewise.
26117         (islessgreater_test): Likewise.
26118         (isnan_test): Likewise.
26119         (isnormal_test): Likewise.
26120         (issignaling_test): Likewise.
26121         (isunordered_test): Likewise.
26122         (j0_test): Likewise.
26123         (j1_test): Likewise.
26124         (jn_test): Likewise.
26125         (ldexp_test): Likewise.
26126         (lgamma_test): Likewise.
26127         (lrint_test): Likewise.
26128         (lrint_test_tonearest): Likewise.
26129         (lrint_test_towardzero): Likewise.
26130         (lrint_test_downward): Likewise.
26131         (lrint_test_upward): Likewise.
26132         (llrint_test): Likewise.
26133         (llrint_test_tonearest): Likewise.
26134         (llrint_test_towardzero): Likewise.
26135         (llrint_test_downward): Likewise.
26136         (llrint_test_upward): Likewise.
26137         (log_test): Likewise.
26138         (log10_test): Likewise.
26139         (log1p_test): Likewise.
26140         (log2_test): Likewise.
26141         (logb_test): Likewise.
26142         (logb_test_downward): Likewise.
26143         (lround_test): Likewise.
26144         (llround_test): Likewise.
26145         (modf_test): Likewise.
26146         (nearbyint_test): Likewise.
26147         (nextafter_test): Likewise.
26148         (nexttoward_test): Likewise.
26149         (pow_test): Likewise.
26150         (pow_test_tonearest): Likewise.
26151         (pow_test_towardzero): Likewise.
26152         (pow_test_downward): Likewise.
26153         (pow_test_upward): Likewise.
26154         (remainder_test): Likewise.
26155         (remainder_test_tonearest): Likewise.
26156         (remainder_test_towardzero): Likewise.
26157         (remainder_test_downward): Likewise.
26158         (remainder_test_upward): Likewise.
26159         (remquo_test): Likewise.
26160         (rint_test): Likewise.
26161         (rint_test_tonearest): Likewise.
26162         (rint_test_towardzero): Likewise.
26163         (rint_test_downward): Likewise.
26164         (rint_test_upward): Likewise.
26165         (round_test): Likewise.
26166         (scalb_test): Likewise.
26167         (scalbn_test): Likewise.
26168         (scalbln_test): Likewise.
26169         (signbit_test): Likewise.
26170         (sin_test): Likewise.
26171         (sin_test_tonearest): Likewise.
26172         (sin_test_towardzero): Likewise.
26173         (sin_test_downward): Likewise.
26174         (sin_test_upward): Likewise.
26175         (sincos_test): Likewise.
26176         (sinh_test): Likewise.
26177         (sinh_test_tonearest): Likewise.
26178         (sinh_test_towardzero): Likewise.
26179         (sinh_test_downward): Likewise.
26180         (sinh_test_upward): Likewise.
26181         (sqrt_test): Likewise.
26182         (tan_test): Likewise.
26183         (tan_test_tonearest): Likewise.
26184         (tan_test_towardzero): Likewise.
26185         (tan_test_downward): Likewise.
26186         (tan_test_upward): Likewise.
26187         (tanh_test): Likewise.
26188         (tgamma_test): Likewise.
26189         (trunc_test): Likewise.
26190         (y0_test): Likewise.
26191         (y1_test): Likewise.
26192         (yn_test): Likewise.
26193         (significand_test): Likewise.
26195 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
26197         [BZ #15381]
26198         * libio/genops.c (_IO_no_init): Initialize wide struct info.
26200 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26202         [BZ #14894]
26203         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26204         __ppc_mdoio and __ppc_mdoom.
26205         * manual/platform.texi: Document new functions __ppc_yield,
26206         __ppc_mdoio and __ppc_mdoom.
26208 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
26210         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26211         (main): Mention "tls" pseudo-hwcap is legacy.
26212         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26214 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26216         * math/gen-libm-test.pl (parse_args): Output only string of
26217         arguments as text for test name, not full call or descriptions of
26218         tests for extra outputs.
26219         (generate_testfile): Do not pass function name to parse_args.
26220         Generate this_func variable from START.
26221         * math/libm-test.inc (struct test_f_f_data): Rename test_name
26222         field to arg_str.
26223         (struct test_ff_f_data): Likewise.
26224         (test_ff_f_data_nexttoward): Likewise.
26225         (struct test_fi_f_data): Likewise.
26226         (struct test_fl_f_data): Likewise.
26227         (struct test_if_f_data): Likewise.
26228         (struct test_fff_f_data): Likewise.
26229         (struct test_c_f_data): Likewise.
26230         (struct test_f_f1_data): Likewise.  Remove field extra_name.
26231         (struct test_fF_f1_data): Likewise.
26232         (struct test_ffI_f1_data): Likewise.
26233         (struct test_c_c_data): Rename test_name field to arg_str.
26234         (struct test_cc_c_data): Likewise.
26235         (struct test_f_i_data): Likewise.
26236         (struct test_ff_i_data): Likewise.
26237         (struct test_f_l_data): Likewise.
26238         (struct test_f_L_data): Likewise.
26239         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
26240         and extra2_name.
26241         (COMMON_TEST_SETUP): New macro.
26242         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26243         (COMMON_TEST_CLEANUP): Likewise.
26244         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26245         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
26246         macros.
26247         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26248         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
26249         macros.
26250         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26251         (RUN_TEST_fff_f): Take argument string.  Call new setup and
26252         cleanup macros.
26253         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26254         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
26255         macros.
26256         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26257         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
26258         macros.
26259         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26260         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
26261         cleanup macros.
26262         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26263         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
26264         cleanup macros.
26265         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26266         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
26267         cleanup macros.
26268         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26269         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
26270         macros.
26271         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26272         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
26273         macros.
26274         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26275         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
26276         macros.
26277         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26278         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
26279         cleanup macros.
26280         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26281         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
26282         cleanup macros.
26283         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26284         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
26285         macros.
26286         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26287         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
26288         cleanup macros.
26289         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26290         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
26291         macros.
26292         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26293         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
26294         macros.
26295         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26296         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
26297         cleanup macros.
26298         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26300 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
26302         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26303         to _sifields.sigfault.
26304         (si_addr_lsb): Define new macro.
26305         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26306         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26307         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26309 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
26311         [BZ #15441]
26312         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26313         returns -1.
26314         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26315         null return -1.
26316         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26317         loading the domain.
26319 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26321         * math/gen-libm-test.pl (parse_args): Do not include expected
26322         result in test name.
26323         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26324         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26325         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26326         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26327         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26330 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26332         * benchtests/Makefile: Sort function entries.
26334         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26335         tanh, asinh, acosh, atanh.
26336         * benchtests/acos-inputs: New file.
26337         * benchtests/acosh-inputs: New file.
26338         * benchtests/asin-inputs: New file.
26339         * benchtests/asinh-inputs: New file.
26340         * benchtests/atanh-inputs: New file.
26341         * benchtests/cosh-inputs: New file.
26342         * benchtests/log-inputs: New file.
26343         * benchtests/sinh-inputs: New file.
26344         * benchtests/tanh-inputs: New file.
26346 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
26348         [BZ #15339]
26349         * posix/tst-getaddrinfo4.c: New test.
26350         * posix/Makefile (tests): Add it.
26352 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26354         [BZ #15339]
26355         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26356         when no services were used.
26357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26358         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26360 2013-05-21  Andreas Schwab  <schwab@suse.de>
26362         [BZ #15014]
26363         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26364         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26365         successful.
26366         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26367         redundant variable declarations and reallocation of buffer when
26368         parsing as IPv6 address.  Always set NSS status when called from
26369         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
26370         buffer too small.  Correct computation of needed size.
26371         * nss/Makefile (tests): Add test-digits-dots.
26372         * nss/test-digits-dots.c: New test.
26374 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26376         * benchtests/Makefile: Remove instructions for adding
26377         benchmark tests.
26378         * benchtests/README: New file to explain how to execute and
26379         enhance the benchmark tests.
26381 2013-05-21  Andreas Schwab  <schwab@suse.de>
26383         [BZ #15493]
26384         * setjmp/Makefile (tests): Add tst-sigsetjmp.
26385         * setjmp/tst-sigsetjmp.c: New test.
26387 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26389         * sysdeps/x86_64/memset.S (memset): New implementation.
26390         (__bzero): Likewise.
26391         (__memset_tail): New function.
26393 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26395         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26396         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26397         __memcpy_sse2_unaligned ifunc selection.
26398         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26399         Add memcpy-sse2-unaligned.S.
26400         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26401         Add: __memcpy_sse2_unaligned.
26403 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
26405         [BZ #15490]
26406         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26407         math_force_eval before restoring floating-point envrionment.
26408         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26409         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26410         Likewise.
26411         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26412         <math_private.h>.
26413         (__nearbyintl): Use math_force_eval before restoring
26414         floating-point environment.
26415         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26417         * math/gen-libm-test.pl (special_functions): Remove.
26418         (parse_args): Don't handle TEST_extra.  Handle functions with no
26419         return value.
26420         * math/libm-test.inc (struct test_sincos_data): Replace with
26421         struct test_fFF_11_data.
26422         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26423         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26424         (sincos_test_data): Change element type to struct
26425         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
26426         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26427         RUN_TEST_LOOP_sincos.
26428         * math/README.libm-test: Don't mention special handling of
26429         individual functions.
26430         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26431         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26432         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26433         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26434         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26437         * math/gen-libm-test.pl (get_variable): Remove function.
26438         (parse_args): Don't show pointer parameters to call in test
26439         names.  Use "extra output N" in test names for extra outputs
26440         rather than naming variables.
26442 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
26444         [BZ #15488]
26445         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26446         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26447         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26448         double tests.
26449         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26450         disable.
26451         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26452         check_long_double.
26454         * math/gen-libm-test.pl (@tests): Remove variable.
26455         ($count): Likewise.
26456         (new_test): Remove function.
26457         (show_exceptions): New function.
26458         (special_functions): Use show_exceptions instead of new_test.
26459         (parse_args): Likewise.
26460         (generate_testfile): Pass only function name in generated call to
26461         print_max_error or print_complex_max_error.
26462         (get_ulps): Do not handle complex tests specially.
26463         (output_test): Rename to ...
26464         (get_all_ulps_for_test): ... this.  Return a string rather than
26465         printing to a file.  Require ulps to be present.
26466         (output_ulps): Generate arrays rather than #defines.
26467         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26468         (struct ulp_data): New type.
26469         (BUILD_COMPLEX_ULP): Remove macro.
26470         (compare_ulp_data): New function.
26471         (find_ulps): Likewise.
26472         (find_test_ulps): Likewise.
26473         (find_function_ulps): Likewise.
26474         (find_complex_function_ulps): Likewise.
26475         (print_max_error): Determine allowed ulps using
26476         find_function_ulps.
26477         (print_complex_max_error): Determine allowed ulps using
26478         find_complex_function_ulps.
26479         (check_float_internal): Determine max ulps using find_test_ulps.
26480         (check_float): Do not take max_ulp parameter.  Update call to
26481         check_float_internal.
26482         (check_complex): Likewise.
26483         (check_int): Do not take max_ulp parameter.
26484         (check_long): Likewise.
26485         (check_bool): Likewise.
26486         (check_longlong): Likewise.
26487         (struct test_f_f_data): Remove max_ulp field.
26488         (struct test_ff_f_data): Likewise.
26489         (struct test_ff_f_data_nexttoward): Likewise.
26490         (struct test_fi_f_data): Likewise.
26491         (struct test_fl_f_data): Likewise.
26492         (struct test_if_f_data): Likewise.
26493         (struct test_fff_f_data): Likewise.
26494         (struct test_c_f_data): Likewise.
26495         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26496         (struct test_fF_f1_data): Likewise.
26497         (struct test_ffI_f1_data): Likewise.
26498         (struct test_c_c_data): Remove max_ulp field.
26499         (struct test_cc_c_data): Likewise.
26500         (struct test_f_i_data): Likewise.
26501         (struct test_ff_i_data): Likewise.
26502         (struct test_f_l_data): Likewise.
26503         (struct test_f_L_data): Likewise.
26504         (struct test_sincos_data): Likewise.
26505         (RUN_TEST_f_f): Do not handle ulps.
26506         (RUN_TEST_LOOP_f_f): Likewise.
26507         (RUN_TEST_2_f): Likewise.
26508         (RUN_TEST_LOOP_2_f): Likewise.
26509         (RUN_TEST_fff_f): Likewise.
26510         (RUN_TEST_LOOP_fff_f): Likewise.
26511         (RUN_TEST_c_f): Likewise.
26512         (RUN_TEST_LOOP_c_f): Likewise.
26513         (RUN_TEST_f_f1): Likewise.
26514         (RUN_TEST_LOOP_f_f1): Likewise.
26515         (RUN_TEST_fF_f1): Likewise.
26516         (RUN_TEST_LOOP_fF_f1): Likewise.
26517         (RUN_TEST_fI_f1): Likewise.
26518         (RUN_TEST_LOOP_fI_f1): Likewise.
26519         (RUN_TEST_ffI_f1): Likewise.
26520         (RUN_TEST_LOOP_ffI_f1): Likewise.
26521         (RUN_TEST_c_c): Likewise.
26522         (RUN_TEST_LOOP_c_c): Likewise.
26523         (RUN_TEST_cc_c): Likewise.
26524         (RUN_TEST_LOOP_cc_c): Likewise.
26525         (RUN_TEST_f_i): Likewise.
26526         (RUN_TEST_LOOP_f_i): Likewise.
26527         (RUN_TEST_f_i_tg): Likewise.
26528         (RUN_TEST_LOOP_f_i_tg): Likewise.
26529         (RUN_TEST_ff_i_tg): Likewise.
26530         (RUN_TEST_LOOP_ff_i_tg): Likewise.
26531         (RUN_TEST_f_b): Likewise.
26532         (RUN_TEST_LOOP_f_b): Likewise.
26533         (RUN_TEST_f_b_tg): Likewise.
26534         (RUN_TEST_LOOP_f_b_tg): Likewise.
26535         (RUN_TEST_f_l): Likewise.
26536         (RUN_TEST_LOOP_f_l): Likewise.
26537         (RUN_TEST_f_L): Likewise.
26538         (RUN_TEST_LOOP_f_L): Likewise.
26539         (RUN_TEST_sincos): Likewise.
26540         (RUN_TEST_LOOP_sincos): Likewise.
26542 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
26544         [BZ #15480]
26545         [BZ #15485]
26546         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26547         main case of finite arguments, set rounding mode to FE_TONEAREST
26548         and discard exceptions.
26549         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26550         exceptions.
26551         (remainder_tonearest_test_data): New variable.
26552         (remainder_test_tonearest): New function.
26553         (remainder_towardzero_test_data): New variable.
26554         (remainder_test_towardzero): New function.
26555         (remainder_downward_test_data): New variable.
26556         (remainder_test_downward): New function.
26557         (remainder_upward_test_data): New variable.
26558         (remainder_test_upward): New function.
26559         (main): Call the new test functions.
26561         * math/libm-test.inc (struct test_f_f1_data): Remove field
26562         extra_init.
26563         (struct test_fF_f1_data): Likewise.
26564         (struct test_ffI_f1_data): Likewise.
26565         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
26566         based on value of EXTRA_EXPECTED.
26567         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26568         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
26569         EXTRA_VAR based on value of EXTRA_EXPECTED.
26570         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26571         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
26572         EXTRA_VAR based on value of EXTRA_EXPECTED.
26573         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26574         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
26575         EXTRA_VAR based on value of EXTRA_EXPECTED.
26576         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26577         * math/gen-libm-test.pl (parse_args): Don't output initializers
26578         for extra output values.
26580         * math/libm-test.inc (check_int): Expect result to be exactly
26581         equal to expected value and do not handle ulps.
26582         (check_long): Likewise.
26583         (check_longlong): Likewise.
26585         * math/libm-test.inc (ceil_test_data): Test for "inexact"
26586         exceptions.
26587         (cimag_test_data): Likewise.
26588         (conj_test_data): Likewise.
26589         (copysign_test_data): Likewise.
26590         (cproj_test_data): Likewise.
26591         (creal_test_data): Likewise.
26592         (fabs_test_data): Likewise.
26593         (fdim_test_data): Likewise.
26594         (finite_test_data): Likewise.
26595         (floor_test_data): Likewise.
26596         (fmax_test_data): Likewise.
26597         (fmin_test_data): Likewise.
26598         (fmod_test_data): Likewise.
26599         (fpclassify_test_data): Likewise.
26600         (frexp_test_data): Likewise.
26601         (ilogb_test_data): Likewise.
26602         (isfinite_test_data): Likewise.
26603         (isgreater_test_data): Likewise.
26604         (isgreaterequal_test_data): Likewise.
26605         (isinf_test_data): Likewise.
26606         (isless_test_data): Likewise.
26607         (islessequal_test_data): Likewise.
26608         (islessgreater_test_data): Likewise.
26609         (isnan_test_data): Likewise.
26610         (isnormal_test_data): Likewise.
26611         (issignaling_test_data): Likewise.
26612         (isunordered_test_data): Likewise.
26613         (ldexp_test_data): Likewise.
26614         (lrint_test_data): Likewise.
26615         (lrint_test_data) [TEST_FLOAT]: Disable one test.
26616         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26617         (lrint_tonearest_test_data): Test for "inexact" exceptions.
26618         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26619         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26620         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26621         test input.
26622         (lrint_towardzero_test_data): Test for "inexact" exceptions.
26623         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26624         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26625         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26626         that test input.
26627         (lrint_downward_test_data): Test for "inexact" exceptions.
26628         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26629         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26630         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26631         test input.
26632         (lrint_upward_test_data): Test for "inexact" exceptions.
26633         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26634         test input.
26635         (llrint_test_data): Test for "inexact" exceptions.
26636         (llrint_test_data) [TEST_FLOAT]: Disable one test.
26637         (llrint_tonearest_test_data): Test for "inexact" exceptions.
26638         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26639         (llrint_towardzero_test_data): Test for "inexact" exceptions.
26640         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26641         (llrint_downward_test_data): Test for "inexact" exceptions.
26642         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26643         (llrint_upward_test_data): Test for "inexact" exceptions.
26644         (logb_test_data): Likewise.
26645         (logb_downward_test_data): Likewise.
26646         (nextafter_test_data): Likewise.
26647         (nexttoward_test_data): Likewise.
26648         (remainder_test_data): Likewise.
26649         (remquo_test_data): Likewise.
26650         (scalbn_test_data): Likewise.
26651         (scalbln_test_data): Likewise.
26652         (signbit_test_data): Likewise.
26653         (sqrt_test_data): Likewise.
26654         (significand_test_data): Likewise.
26656 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26658         [BZ #15424]
26659         * benchtests/bench-modf.c (struct args): Mark arg0 as
26660         volatile.
26661         * scripts/bench.pl: Mark members of struct args as volatile.
26663 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26665         [BZ # 15497]
26666         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26667         negative infinity on POWER6 or lower.
26668         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26670 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26672         [BZ #15442]
26673         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26674         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26675         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26676         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26677         (_FP_SETQNAN): New macro.
26678         (_FP_SETQNAN_SEMIRAW): Likewise.
26679         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26680         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26681         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26682         (FP_EXTEND): Use _FP_FRAC_SNANP.
26683         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26684         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26685         into account.
26686         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26687         New macro.
26688         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26689         Likewise.
26691 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26693         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26694         with DIVIDE_BY_ZERO_EXCEPTION.
26695         (gamma_test_data): Likewise.
26696         (lgamma_test_data): Likewise.
26697         (log_test_data): Likewise.
26698         (log10_test_data): Likewise.
26699         (log2_test_data): Likewise.
26700         (tgamma_test_data): Likewise.
26702         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26703         (acos_test_tonearest): Likewise.
26704         (acos_test_towardzero): Likewise.
26705         (acos_test_downward): Likewise.
26706         (acos_test_upward): Likewise.
26707         (acosh_test): Likewise.
26708         (asin_test): Likewise.
26709         (asin_test_tonearest): Likewise.
26710         (asin_test_towardzero): Likewise.
26711         (asin_test_downward): Likewise.
26712         (asin_test_upward): Likewise.
26713         (asinh_test): Likewise.
26714         (atan_test): Likewise.
26715         (atanh_test): Likewise.
26716         (atan2_test): Likewise.
26717         (cabs_test): Likewise.
26718         (cacos_test): Likewise.
26719         (cacosh_test): Likewise.
26720         (casin_test): Likewise.
26721         (casinh_test): Likewise.
26722         (catan_test): Likewise.
26723         (catanh_test): Likewise.
26724         (cbrt_test): Likewise.
26725         (ccos_test): Likewise.
26726         (ccosh_test): Likewise.
26727         (cexp_test): Likewise.
26728         (clog_test): Likewise.
26729         (clog10_test): Likewise.
26730         (cos_test): Likewise.
26731         (cos_test_tonearest): Likewise.
26732         (cos_test_towardzero): Likewise.
26733         (cos_test_downward): Likewise.
26734         (cos_test_upward): Likewise.
26735         (cosh_test): Likewise.
26736         (cosh_test_tonearest): Likewise.
26737         (cosh_test_towardzero): Likewise.
26738         (cosh_test_downward): Likewise.
26739         (cosh_test_upward): Likewise.
26740         (cpow_test): Likewise.
26741         (csin_test): Likewise.
26742         (csinh_test): Likewise.
26743         (csqrt_test): Likewise.
26744         (ctan_test): Likewise.
26745         (ctan_test_tonearest): Likewise.
26746         (ctan_test_towardzero): Likewise.
26747         (ctan_test_downward): Likewise.
26748         (ctan_test_upward): Likewise.
26749         (ctanh_test): Likewise.
26750         (ctanh_test_tonearest): Likewise.
26751         (ctanh_test_towardzero): Likewise.
26752         (ctanh_test_downward): Likewise.
26753         (ctanh_test_upward): Likewise.
26754         (erf_test): Likewise.
26755         (erfc_test): Likewise.
26756         (exp_test): Likewise.
26757         (exp_test_tonearest): Likewise.
26758         (exp_test_towardzero): Likewise.
26759         (exp_test_downward): Likewise.
26760         (exp_test_upward): Likewise.
26761         (exp10_test): Likewise.
26762         (exp2_test): Likewise.
26763         (expm1_test): Likewise.
26764         (fmod_test): Likewise.
26765         (gamma_test): Likewise.
26766         (hypot_test): Likewise.
26767         (j0_test): Likewise.
26768         (j1_test): Likewise.
26769         (jn_test): Likewise.
26770         (lgamma_test): Likewise.
26771         (log_test): Likewise.
26772         (log10_test): Likewise.
26773         (log1p_test): Likewise.
26774         (log2_test): Likewise.
26775         (logb_test_downward): Likewise.
26776         (pow_test): Likewise.
26777         (pow_test_tonearest): Likewise.
26778         (pow_test_towardzero): Likewise.
26779         (pow_test_downward): Likewise.
26780         (pow_test_upward): Likewise.
26781         (remainder_test): Likewise.
26782         (remquo_test): Likewise.
26783         (sin_test): Likewise.
26784         (sin_test_tonearest): Likewise.
26785         (sin_test_towardzero): Likewise.
26786         (sin_test_downward): Likewise.
26787         (sin_test_upward): Likewise.
26788         (sincos_test): Likewise.
26789         (sinh_test): Likewise.
26790         (sinh_test_tonearest): Likewise.
26791         (sinh_test_towardzero): Likewise.
26792         (sinh_test_downward): Likewise.
26793         (sinh_test_upward): Likewise.
26794         (sqrt_test): Likewise.
26795         (tan_test): Likewise.
26796         (tan_test_tonearest): Likewise.
26797         (tan_test_towardzero): Likewise.
26798         (tan_test_downward): Likewise.
26799         (tan_test_upward): Likewise.
26800         (tanh_test): Likewise.
26801         (tgamma_test): Likewise.
26802         (y0_test): Likewise.
26803         (y1_test): Likewise.
26804         (yn_test): Likewise.
26806         * math/gen-libm-test.pl (adjust_arg): Remove function.
26807         (special_function): Remove argument $in_func.  Only handle
26808         generating output for tables of tests, not inside functions.
26809         (parse_args): Likewise.
26810         (generate_testfile): Remove variable $in_func.  Update call to
26811         parse_args.
26812         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26813         (MINUS_ZERO_INIT): Rename macro to minus_zero.
26814         (PLUS_INFTY_INIT): Rename macro to plus_infty.
26815         (MINUS_INFTY_INIT): Rename macro to minus_infty.
26816         (QNAN_VALUE_INIT): Rename macro to qnan_value.
26817         (MAX_VALUE_INIT): Rename macro to max_value.
26818         (MIN_VALUE_INIT): Rename macro to min_value.
26819         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26820         (plus_zero): Remove variable.
26821         (minus_zero): Likewise.
26822         (plus_infty): Likewise.
26823         (minus_infty): Likewise.
26824         (qnan_value): Likewise.
26825         (max_value): Likewise.
26826         (min_value): Likewise.
26827         (min_subnorm_value): Likewise.
26829 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26831         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26832         uint64_t or uint32_t usage.
26833         * crypt/sha256-block.c: Likewise.
26834         * crypt/sha256-crypt.c: Likewise.
26835         * crypt/sha256.c: Likewise.
26836         * crypt/sha512-block.c: Likewise.
26837         * crypt/sha512-crypt.c: Likewise.
26838         * crypt/sha512.c: Likewise.
26839         * debug/backtrace-tst.c: Likewise.
26840         * debug/pcprofiledump.c: Likewise.
26841         * elf/cache.c: Likewise.
26842         * elf/dl-cache.c: Likewise.
26843         * elf/dl-misc.c: Likewise.
26844         * elf/dl-profile.c: Likewise.
26845         * elf/dl-support.c: Likewise.
26846         * elf/ldconfig.c: Likewise.
26847         * elf/sprof.c: Likewise.
26848         * iconv/dummy-repertoire.c: Likewise.
26849         * iconv/iconv_charmap.c: Likewise.
26850         * iconv/skeleton.c: Likewise.
26851         * iconvdata/8bit-generic.c: Likewise.
26852         * iconvdata/cp737.h: Likewise.
26853         * iconvdata/cp775.h: Likewise.
26854         * iconvdata/ibm1008.h: Likewise.
26855         * iconvdata/ibm1025.h: Likewise.
26856         * iconvdata/ibm1046.h: Likewise.
26857         * iconvdata/ibm1097.h: Likewise.
26858         * iconvdata/ibm1112.h: Likewise.
26859         * iconvdata/ibm1122.h: Likewise.
26860         * iconvdata/ibm1123.h: Likewise.
26861         * iconvdata/ibm1124.h: Likewise.
26862         * iconvdata/ibm1129.h: Likewise.
26863         * iconvdata/ibm1130.h: Likewise.
26864         * iconvdata/ibm1132.h: Likewise.
26865         * iconvdata/ibm1133.h: Likewise.
26866         * iconvdata/ibm1137.h: Likewise.
26867         * iconvdata/ibm1140.h: Likewise.
26868         * iconvdata/ibm1141.h: Likewise.
26869         * iconvdata/ibm1142.h: Likewise.
26870         * iconvdata/ibm1143.h: Likewise.
26871         * iconvdata/ibm1144.h: Likewise.
26872         * iconvdata/ibm1145.h: Likewise.
26873         * iconvdata/ibm1146.h: Likewise.
26874         * iconvdata/ibm1147.h: Likewise.
26875         * iconvdata/ibm1148.h: Likewise.
26876         * iconvdata/ibm1149.h: Likewise.
26877         * iconvdata/ibm1153.h: Likewise.
26878         * iconvdata/ibm1154.h: Likewise.
26879         * iconvdata/ibm1155.h: Likewise.
26880         * iconvdata/ibm1156.h: Likewise.
26881         * iconvdata/ibm1157.h: Likewise.
26882         * iconvdata/ibm1158.h: Likewise.
26883         * iconvdata/ibm1160.h: Likewise.
26884         * iconvdata/ibm1161.h: Likewise.
26885         * iconvdata/ibm1162.h: Likewise.
26886         * iconvdata/ibm1163.h: Likewise.
26887         * iconvdata/ibm1164.h: Likewise.
26888         * iconvdata/ibm1166.h: Likewise.
26889         * iconvdata/ibm1167.h: Likewise.
26890         * iconvdata/ibm12712.h: Likewise.
26891         * iconvdata/ibm1390.h: Likewise.
26892         * iconvdata/ibm1399.h: Likewise.
26893         * iconvdata/ibm16804.h: Likewise.
26894         * iconvdata/ibm4517.h: Likewise.
26895         * iconvdata/ibm4899.h: Likewise.
26896         * iconvdata/ibm4909.h: Likewise.
26897         * iconvdata/ibm4971.h: Likewise.
26898         * iconvdata/ibm5347.h: Likewise.
26899         * iconvdata/ibm803.h: Likewise.
26900         * iconvdata/ibm856.h: Likewise.
26901         * iconvdata/ibm901.h: Likewise.
26902         * iconvdata/ibm902.h: Likewise.
26903         * iconvdata/ibm9030.h: Likewise.
26904         * iconvdata/ibm9066.h: Likewise.
26905         * iconvdata/ibm921.h: Likewise.
26906         * iconvdata/ibm922.h: Likewise.
26907         * iconvdata/ibm9448.h: Likewise.
26908         * iconvdata/isiri-3342.h: Likewise.
26909         * iconvdata/jis0201.h: Likewise.
26910         * include/link.h: Likewise.
26911         * include/netdb.h: Likewise.
26912         * inet/check_native.c: Likewise.
26913         * inet/check_pf.c: Likewise.
26914         * inet/getipv4sourcefilter.c: Likewise.
26915         * inet/getnameinfo.c: Likewise.
26916         * inet/getsourcefilter.c: Likewise.
26917         * inet/htonl.c: Likewise.
26918         * inet/setipv4sourcefilter.c: Likewise.
26919         * inet/setsourcefilter.c: Likewise.
26920         * inet/test-inet6_opt.c: Likewise.
26921         * inet/tst-network.c: Likewise.
26922         * locale/C-collate.c: Likewise.
26923         * locale/C-ctype.c: Likewise.
26924         * locale/C-time.c: Likewise.
26925         * locale/C-translit.h: Likewise.
26926         * locale/loadarchive.c: Likewise.
26927         * locale/programs/3level.h: Likewise.
26928         * locale/programs/charmap.c: Likewise.
26929         * locale/programs/charmap.h: Likewise.
26930         * locale/programs/ld-address.c: Likewise.
26931         * locale/programs/ld-collate.c: Likewise.
26932         * locale/programs/ld-ctype.c: Likewise.
26933         * locale/programs/ld-identification.c: Likewise.
26934         * locale/programs/ld-measurement.c: Likewise.
26935         * locale/programs/ld-messages.c: Likewise.
26936         * locale/programs/ld-monetary.c: Likewise.
26937         * locale/programs/ld-name.c: Likewise.
26938         * locale/programs/ld-numeric.c: Likewise.
26939         * locale/programs/ld-paper.c: Likewise.
26940         * locale/programs/ld-telephone.c: Likewise.
26941         * locale/programs/ld-time.c: Likewise.
26942         * locale/programs/linereader.c: Likewise.
26943         * locale/programs/locale.c: Likewise.
26944         * locale/programs/locarchive.c: Likewise.
26945         * locale/programs/locfile.h: Likewise.
26946         * locale/programs/repertoire.c: Likewise.
26947         * locale/programs/simple-hash.c: Likewise.
26948         * locale/programs/simple-hash.h: Likewise.
26949         * malloc/memusage.c: Likewise.
26950         * malloc/memusagestat.c: Likewise.
26951         * nis/nis_defaults.c: Likewise.
26952         * nis/nis_hash.c: Likewise.
26953         * nis/nis_print.c: Likewise.
26954         * nis/nis_xdr.c: Likewise.
26955         * nscd/connections.c: Likewise.
26956         * nscd/hstcache.c: Likewise.
26957         * nscd/nscd_gethst_r.c: Likewise.
26958         * nscd/nscd_getserv_r.c: Likewise.
26959         * nscd/nscd_helper.c: Likewise.
26960         * nscd/servicescache.c: Likewise.
26961         * nss/makedb.c: Likewise.
26962         * nss/nss_db/db-XXX.c: Likewise.
26963         * nss/nss_db/db-initgroups.c: Likewise.
26964         * nss/nss_db/db-netgrp.c: Likewise.
26965         * nss/nss_files/files-network.c: Likewise.
26966         * nss/nss_files/files-parse.c: Likewise.
26967         * posix/bug-regex5.c: Likewise.
26968         * posix/fnmatch_loop.c: Likewise.
26969         * posix/regcomp.c: Likewise.
26970         * posix/regexec.c: Likewise.
26971         * posix/tst-rfc3484-2.c: Likewise.
26972         * posix/tst-rfc3484-3.c: Likewise.
26973         * posix/tst-rfc3484.c: Likewise.
26974         * resolv/nss_dns/dns-canon.c: Likewise.
26975         * resolv/nss_dns/dns-network.c: Likewise.
26976         * resolv/res_init.c: Likewise.
26977         * resolv/res_mkquery.c: Likewise.
26978         * resolv/tst-aton.c: Likewise.
26979         * stdlib/cxa_atexit.c: Likewise.
26980         * stdlib/cxa_finalize.c: Likewise.
26981         * stdlib/gen-fpioconst.c: Likewise.
26982         * stdlib/strtol_l.c: Likewise.
26983         * string/tst-endian.c: Likewise.
26984         * sunrpc/auth_des.c: Likewise.
26985         * sunrpc/clnt_udp.c: Likewise.
26986         * sunrpc/rtime.c: Likewise.
26987         * sunrpc/svcauth_des.c: Likewise.
26988         * sunrpc/xdr.c: Likewise.
26989         * sunrpc/xdr_intXX_t.c: Likewise.
26990         * sunrpc/xdr_rec.c: Likewise.
26991         * sysdeps/generic/ldconfig.h: Likewise.
26992         * sysdeps/generic/ldsodefs.h: Likewise.
26993         * sysdeps/generic/memusage.h: Likewise.
26994         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26995         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26996         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26997         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26998         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26999         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27000         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27001         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27002         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27003         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27004         * sysdeps/posix/getaddrinfo.c: Likewise.
27005         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27006         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27007         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27008         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27009         * sysdeps/powerpc/test-gettimebase.c: Likewise.
27010         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27011         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27012         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27013         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27014         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27015         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27016         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27017         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27018         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27019         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27020         * sysdeps/x86_64/dl-tls.h: Likewise.
27021         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27022         * time/alt_digit.c: Likewise.
27023         * time/era.c: Likewise.
27024         * wcsmbs/tst-c16c32-1.c: Likewise.
27026 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27028         * math/libm-test.inc (struct test_sincos_data): New type.
27029         (RUN_TEST_LOOP_sincos): New macro.
27030         (sincos_test_data): New variable.
27031         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27033 2013-05-16  Richard Henderson  <rth@redhat.com>
27035         * math/atest-exp2.c (LIMB64): New macro.
27036         (CONSTSZ): New macro.
27037         (mp_exp1, mp_exp_m1, mp_log2): New variables.
27038         (hexdig): Move ...
27039         (print_mpn_fp): ... to function scope.
27040         (read_mpn_hex): Remove.
27041         (get_log2): Remove.
27042         (exp2_mpn): Use mp_log2.
27043         (main): Use mp_exp1.
27045 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27047         * math/libm-test.inc: Remove comment about not testing "inexact"
27048         exceptions.
27049         (INEXACT_EXCEPTION): New macro.
27050         (NO_INEXACT_EXCEPTION): Likewise.
27051         (INVALID_EXCEPTION_OK): Update value.
27052         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27053         (OVERFLOW_EXCEPTION_OK): Likewise.
27054         (UNDERFLOW_EXCEPTION_OK): Likewise.
27055         (IGNORE_ZERO_INF_SIGN): Likewise.
27056         (ERRNO_UNCHANGED): Likewise.
27057         (ERRNO_EDOM): Likewise.
27058         (ERRNO_ERANGE): Likewise.
27059         (test_exceptions): Handle testing "inexact" exceptions.
27060         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27061         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27062         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27063         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27064         INEXACT_EXCEPTION.
27065         (rint_towardzero_test_data): Likewise.
27066         (rint_downward_test_data): Likewise.
27067         (rint_upward_test_data): Likewise.
27069         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27070         with OVERFLOW_EXCEPTION.
27071         (exp10_test_data): Likewise.
27072         (exp2_test_data): Likewise.
27073         (expm1_test_data): Likewise.
27074         (lgamma_test_data): Likewise.
27075         (pow_test_data): Likewise.
27076         (tgamma_test_data): Likewise.
27077         (yn_test_data): Remove duplicate test of overflow.
27079         * math/libm-test.inc (struct test_cc_c_data): New type.
27080         (RUN_TEST_LOOP_cc_c): New macro.
27081         (cpow_test_data): New variable.
27082         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27084         * math/libm-test.inc (struct test_f_L_data): New type.
27085         (RUN_TEST_LOOP_f_L): New macro.
27086         (llrint_test_data): New variable.
27087         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27088         (llrint_tonearest_test_data): New variable.
27089         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27090         (llrint_towardzero_test_data): New variable.
27091         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27092         (llrint_downward_test_data): New variable.
27093         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27094         (llrint_upward_test_data): New variable.
27095         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27096         (llround_test_data): New variable.
27097         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27099 2013-05-13  Peter Collingbourne  <pcc@google.com>
27101         * math/atest-exp2.c (get_log2): Remove const attribute.
27103 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27105         * math/libm-test.inc (struct test_f_l_data): New type.
27106         (RUN_TEST_LOOP_f_l): New macro.
27107         (lrint_test_data): New variable.
27108         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27109         (lrint_tonearest_test_data): New variable.
27110         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27111         (lrint_towardzero_test_data): New variable.
27112         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27113         (lrint_downward_test_data): New variable.
27114         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27115         (lrint_upward_test_data): New variable.
27116         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27117         (lround_test_data): New variable.
27118         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27120 2013-05-15  Peter Collingbourne  <pcc@google.com>
27122         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27123         (EXTRACT_WORDS64) Use where appropriate.
27124         (INSERT_WORDS64) Likewise.
27126         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27127         constraints with x constraints.
27128         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27130         * malloc/obstack.c (_obstack_compat): Add initializer.
27132 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27134         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27135         si_trapno and add si_addr_lsb to _sifields.sigfault.
27136         (si_trapno): Remove macro.
27137         (si_addr_lsb): Define new macro.
27138         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27140 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27142         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27143         instead of TEST_f_l.
27144         (llrint_test_tonearest): Likewise.
27145         (llrint_test_towardzero): Likewise.
27146         (llrint_test_downward): Likewise.
27147         (llrint_test_upward): Likewise.
27148         (llround_test): Likewise.
27150         * math/libm-test.inc (struct test_f_i_data): Add comment.
27151         (RUN_TEST_LOOP_f_b): New macro.
27152         (RUN_TEST_LOOP_f_b_tg): Likewise.
27153         (finite_test_data): New variable.
27154         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27155         (isfinite_test_data): New variable.
27156         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27157         (isinf_test_data): New variable.
27158         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27159         (isnan_test_data): New variable.
27160         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27161         (isnormal_test_data): New variable.
27162         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27163         (issignaling_test_data): New variable.
27164         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27165         (signbit_test_data): New variable.
27166         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27168         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27169         with INVALID_EXCEPTION.
27170         (acosh_test_data): Likewise.
27171         (asin_test_data): Likewise.
27172         (atanh_test_data): Likewise.
27173         (fmod_test_data): Likewise.
27174         (log_test_data): Likewise.
27175         (log10_test_data): Likewise.
27176         (log2_test_data): Likewise.
27177         (pow_test_data): Likewise.
27178         (sqrt_test_data): Likewise.
27179         (y0_test_data): Likewise.
27180         (y1_test_data): Likewise.
27181         (yn_test_data): Likewise.
27183         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27184         function contents.
27186         * math/libm-test.inc (struct test_ff_i_data): New type.
27187         (RUN_TEST_LOOP_ff_i_tg): New macro.
27188         (isgreater_test_data): New variable.
27189         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27190         (isgreaterequal_test_data): New variable.
27191         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27192         (isless_test_data): New variable.
27193         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27194         (islessequal_test_data): New variable.
27195         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27196         (islessgreater_test_data): New variable.
27197         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27198         (isunordered_test_data): New variable.
27199         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27201 2013-05-14  David S. Miller  <davem@davemloft.net>
27203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27205 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
27207         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27209         * math/libm-test.inc (struct test_fF_f1_data): Change type of
27210         extra_test to int.
27211         (struct test_f_i_data): Change type of max_ulp to int.
27213         * math/libm-test.inc (test_ffI_f1_data): New type.
27214         (RUN_TEST_LOOP_ffI_f1): New macro.
27215         (remquo_test_data): New variable.
27216         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27218         * setjmp/tst-setjmp-fp.c: New file.
27219         * setjmp/Makefile (tests): Add tst-setjmp-fp.
27220         (link-libm): New variable.
27221         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27223         * math/libm-test.inc (struct test_f_i_data): New type.
27224         (RUN_TEST_LOOP_f_i): New macro.
27225         (RUN_TEST_LOOP_f_i_tg): Likewise.
27226         (fpclassify_test_data): New variable.
27227         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27228         (ilogb_test_data): New variable.
27229         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27231         * math/libm-test.inc (scalbln_test): Correct function name in END
27232         call.
27234         * math/libm-test.inc (struct test_f_f1_data): Add comment.
27235         (RUN_TEST_LOOP_fI_f1): New macro.
27236         (frexp_test_data): New variable.
27237         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27239         * math/libm-test.inc (struct test_fF_f1_data): New type.
27240         (RUN_TEST_LOOP_fF_f1): New macro.
27241         (modf_test_data): New variable.
27242         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27244         * math/libm-test.inc (struct test_f_f1_data): New type.
27245         (RUN_TEST_LOOP_f_f1): New macro.
27246         (gamma_test_data): New variable.
27247         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27248         (lgamma_test_data): New variable.
27249         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27251 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
27253         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27254         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27255         (main): Comment "tls" pseudo-hwcap.
27257 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
27259         * math/libm-test.inc (struct test_fl_f_data): New type.
27260         (RUN_TEST_LOOP_fl_f): New variable.
27261         (scalbln_test_data): New variable.
27262         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27264         * math/libm-test.inc (struct test_fi_f_data): New type.
27265         (RUN_TEST_LOOP_fi_f): New macro.
27266         (ldexp_test_data): New variable.
27267         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27268         (scalbn_test_data): New variable.
27269         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27271         * math/libm-test.inc (struct test_c_f_data): New type.
27272         (RUN_TEST_LOOP_c_f): New macro.
27273         (cabs_test_data): New variable.
27274         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27275         (carg_test_data): New variable.
27276         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27277         (cimag_test_data): New variable.
27278         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27279         (creal_test_data): New variable.
27280         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27282         * math/libm-test.inc (struct test_if_f_data): New type.
27283         (RUN_TEST_LOOP_if_f): New macro.
27284         (jn_test_data): New variable.
27285         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27286         (yn_test_data): New variable.
27287         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27289         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27291 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27293         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27294         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27296 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27298         * benchtests/Makefile (CPPFLAGS-nonlib): Add
27299         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27300         (bench-deps): Add bench-timing.h.
27301         * benchtests-bench-skeleton.c: Include bench-timing.h.
27302         (main): Use TIMING_* macros instead of clock_gettime.
27303         * benchtests/bench-timing.h: New file.
27305         [BZ #14582]
27306         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27307         Renamed from _LIB_VERSION.
27308         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27310 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
27312         * math/libm-test.inc (struct test_fff_f_data): New type.
27313         (RUN_TEST_LOOP_fff_f): New macro.
27314         (fma_test_data): New variable.
27315         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27316         (fma_towardzero_test_data): New variable.
27317         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27318         (fma_downward_test_data): New variable.
27319         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27320         (fma_upward_test_data): New variable.
27321         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27323         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27324         (struct test_c_c_data): New type.
27325         (RUN_TEST_LOOP_c_c): New macro.
27326         (cacos_test_data): New variable.
27327         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27328         (cacosh_test_data): New variable.
27329         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27330         (casin_test_data): New variable.
27331         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27332         (casinh_test_data): New variable.
27333         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27334         (catan_test_data): New variable.
27335         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27336         (catanh_test_data): New variable.
27337         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27338         (ccos_test_data): New variable.
27339         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27340         (ccosh_test_data): New variable.
27341         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27342         (cexp_test_data): New variable.
27343         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27344         (clog_test_data): New variable.
27345         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27346         (clog10_test_data): New variable.
27347         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27348         (conj_test_data): New variable.
27349         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27350         (cproj_test_data): New variable.
27351         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27352         (csin_test_data): New variable.
27353         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27354         (csinh_test_data): New variable.
27355         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27356         (csqrt_test_data): New variable.
27357         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27358         (ctan_test_data): New variable.
27359         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27360         (ctan_tonearest_test_data): New variable.
27361         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27362         (ctan_towardzero_test_data): New variable.
27363         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27364         (ctan_downward_test_data): New variable.
27365         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27366         (ctan_upward_test_data): New variable.
27367         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27368         (ctanh_test_data): New variable.
27369         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27370         (ctanh_tonearest_test_data): New variable.
27371         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27372         (ctanh_towardzero_test_data): New variable.
27373         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27374         (ctanh_downward_test_data): New variable.
27375         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27376         (ctanh_upward_test_data): New variable.
27377         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27378         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27379         of BUILD_COMPLEX.
27381         * math/libm-test.inc (struct test_ff_f_data): New type.
27382         (struct test_ff_f_data_nexttoward): Likewise.
27383         (RUN_TEST_LOOP_2_f): New macro.
27384         (RUN_TEST_LOOP_ff_f): Likewise.
27385         (atan2_test_data): New variable.
27386         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27387         (copysign_test_data): New variable.
27388         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27389         (fdim_test_data): New variable.
27390         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27391         (fmax_test_data): New variable.
27392         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27393         (fmin_test_data): New variable.
27394         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27395         (fmod_test_data): New variable.
27396         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27397         (hypot_test_data): New variable.
27398         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27399         (nextafter_test_data): New variable.
27400         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27401         (nexttoward_test_data): New variable.
27402         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27403         (pow_test_data): New variable.
27404         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27405         (pow_tonearest_test_data): New variable.
27406         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27407         (pow_towardzero_test_data): New variable.
27408         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27409         (pow_downward_test_data): New variable.
27410         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27411         (pow_upward_test_data): New variable.
27412         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27413         (remainder_test_data): New variable.
27414         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27415         (scalb_test_data): New variable.
27416         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27417         * sysdeps/i386/fpu/libm-test-ulps: Update.
27419 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
27421         * math/libm-test.inc (fma_test): Use max_value instead of local
27422         variable fltmax.
27423         (nextafter_test): Likewise.
27425         * math/libm-test.inc (acos_towardzero_test_data): New variable.
27426         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27427         (acos_downward_test_data): New variable.
27428         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27429         (acos_upward_test_data): New variable.
27430         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27431         (acosh_test_data): New variable.
27432         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27433         (asin_test_data): New variable.
27434         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27435         (asin_tonearest_test_data): New variable.
27436         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27437         (asin_towardzero_test_data): New variable.
27438         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27439         (asin_downward_test_data): New variable.
27440         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27441         (asin_upward_test_data): New variable.
27442         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27443         (asinh_test_data): New variable.
27444         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27445         (atan_test_data): New variable.
27446         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27447         (atanh_test_data): New variable.
27448         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27449         (cbrt_test_data): New variable.
27450         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27451         (ceil_test_data): New variable.
27452         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27453         (cos_test_data): New variable.
27454         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27455         (cos_tonearest_test_data): New variable.
27456         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27457         (cos_towardzero_test_data): New variable.
27458         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27459         (cos_downward_test_data): New variable.
27460         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27461         (cos_upward_test_data): New variable.
27462         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27463         (cosh_test_data): New variable.
27464         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27465         (cosh_tonearest_test_data): New variable.
27466         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27467         (cosh_towardzero_test_data): New variable.
27468         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27469         (cosh_downward_test_data): New variable.
27470         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27471         (cosh_upward_test_data): New variable.
27472         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27473         (erf_test_data): New variable.
27474         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27475         (erfc_test_data): New variable.
27476         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27477         (exp_test_data): New variable.
27478         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27479         (exp_tonearest_test_data): New variable.
27480         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27481         (exp_towardzero_test_data): New variable.
27482         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27483         (exp_downward_test_data): New variable.
27484         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27485         (exp_upward_test_data): New variable.
27486         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27487         (exp10_test_data): New variable.
27488         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27489         (exp2_test_data): New variable.
27490         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27491         (expm1_test_data): New variable.
27492         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27493         (fabs_test_data): New variable.
27494         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27495         (floor_test_data): New variable.
27496         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27497         (j0_test_data): New variable.
27498         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27499         (j1_test_data): New variable.
27500         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27501         (log_test_data): New variable.
27502         (log_test): Run tests with RUN_TEST_LOOP_f_f.
27503         (log10_test_data): New variable.
27504         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27505         (log1p_test_data): New variable.
27506         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27507         (log2_test_data): New variable.
27508         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27509         (logb_test_data): New variable.
27510         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27511         (logb_downward_test_data): New variable.
27512         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27513         (nearbyint_test_data): New variable.
27514         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27515         (rint_test_data): New variable.
27516         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27517         (rint_tonearest_test_data): New variable.
27518         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27519         (rint_towardzero_test_data): New variable.
27520         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27521         (rint_downward_test_data): New variable.
27522         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27523         (rint_upward_test_data): New variable.
27524         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27525         (round_test_data): New variable.
27526         (round_test): Run tests with RUN_TEST_LOOP_f_f.
27527         (sin_test_data): New variable.
27528         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27529         (sin_tonearest_test_data): New variable.
27530         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27531         (sin_towardzero_test_data): New variable.
27532         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27533         (sin_downward_test_data): New variable.
27534         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27535         (sin_upward_test_data): New variable.
27536         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27537         (sinh_test_data): New variable.
27538         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27539         (sinh_tonearest_test_data): New variable.
27540         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27541         (sinh_towardzero_test_data): New variable.
27542         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27543         (sinh_downward_test_data): New variable.
27544         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27545         (sinh_upward_test_data): New variable.
27546         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27547         (sqrt_test_data): New variable.
27548         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27549         (tan_test_data): New variable.
27550         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27551         (tan_tonearest_test_data): New variable.
27552         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27553         (tan_towardzero_test_data): New variable.
27554         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27555         (tan_downward_test_data): New variable.
27556         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27557         (tan_upward_test_data): New variable.
27558         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27559         (tanh_test_data): New variable.
27560         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27561         (tgamma_test_data): New variable.
27562         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27563         (trunc_test_data): New variable.
27564         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27565         (y0_test_data): New variable.
27566         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27567         (y1_test_data): New variable.
27568         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27569         (significand_test_data): New variable.
27570         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27572 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
27574         [BZ #12387]
27575         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27577 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27579         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27581 2013-05-10  Andreas Jaeger  <aj@suse.de>
27583         [BZ #15448]
27584         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27585         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27587 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27589         * math/gen-libm-test.pl (adjust_arg): New function.
27590         (special_functions): Handle generating output in both functions
27591         and arrays.
27592         (parse_args): Likewise.
27593         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
27594         $in_func argument to parse_args.
27595         * math/libm-test.inc (struct test_f_f_data): New type.
27596         (IF_ROUND_INIT_): New macro.
27597         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27598         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27599         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27600         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27601         (ROUND_RESTORE_): Likewise.
27602         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27603         (ROUND_RESTORE_FE_TONEAREST): Likewise.
27604         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27605         (ROUND_RESTORE_FE_UPWARD): Likewise.
27606         (RUN_TEST_LOOP_f_f): New macro.
27607         (acos_test_data): New variable.
27608         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27609         (acos_tonearest_test_data): New variable.
27610         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27612 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27614         * benchtests/bench-skeleton.c (startup): Fix coding style.
27616 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27618         [BZ #6809]
27619         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27620         negative infinity argument.
27621         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27622         negative infinity argument.
27623         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27624         negative infinity argument.
27625         * math/libm-test.inc (tgamma_test): Expect errno to be set for
27626         domain errors.
27628 2013-05-10  Florian Weimer  <fweimer@redhat.com>
27630         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27631         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27632         * iconv/iconv_prog.c (main): Likewise.
27633         * locale/programs/charmap-dir.c (charmap_readdir)
27634         (fopen_uncompressed): Likewise.
27635         * locale/programs/locfile.c (siblings_uncached)
27636         (write_locale_data): Use lstat64 instead of lstat.
27637         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27638         stat.
27640 2013-05-10  Andreas Jaeger  <aj@suse.de>
27642         [BZ #15395]
27643         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27644         localization.
27645         Include <locale.h>.
27647 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
27649         * elf/dl-close.c (_dl_close_worker): Add comments.
27651 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
27653         [BZ #15359]
27654         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27655         high part of pi/2.
27656         (__ieee754_rem_pio2l): Update comments.
27658         [BZ #15429]
27659         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27660         high part of pi/2.
27661         (__ieee754_rem_pio2l): Update comments.
27663         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27664         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27666         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27667         M_PI_4l.
27669         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27670         (M_PI_34_LOG10El): Likewise.
27671         (M_PI2_LOG10El): Likewise.
27672         (M_PI4_LOG10El): Likewise.
27673         (M_PI_LOG10El): Likewise.
27675 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27679 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
27681         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27682         (MINUS_ZERO_INIT): Likewise.
27683         (PLUS_INFTY_INIT): Likewise.
27684         (MINUS_INFTY_INIT): Likewise.
27685         (QNAN_VALUE_INIT): Likewise.
27686         (MAX_VALUE_INIT): Likewise.
27687         (MIN_VALUE_INIT): Likewise.
27688         (MIN_SUBNORM_VALUE_INIT): Likewise.
27689         (plus_zero): Initialize with PLUS_ZERO_INIT.
27690         (minus_zero): Initialize with MINUS_ZERO_INIT.
27691         (plus_infty): Initialize with PLUS_INFTY_INIT.
27692         (minus_infty): Initialize with MINUS_INFTY_INIT.
27693         (qnan_value): Initialize with QNAN_VALUE_INIT.
27694         (max_value): Initialize with MAX_VALUE_INIT.
27695         (min_value): Initialize with MIN_VALUE_INIT.
27696         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27698         * math/libm-test.inc (RUN_TEST_if_f): New macro.
27699         (jn_test): Use TEST_if_f instead of TEST_ff_f.
27700         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27701         (yn_test): Use TEST_if_f instead of TEST_ff_f.
27703         * math/libm-test.inc (RUN_TEST_f_f): New macro.
27704         (RUN_TEST_2_f): Likewise.
27705         (RUN_TEST_ff_f): Likewise.
27706         (RUN_TEST_fi_f): Likewise.
27707         (RUN_TEST_fl_f): Likewise.
27708         (RUN_TEST_fff_f): Likewise.
27709         (RUN_TEST_c_f): Likewise.
27710         (RUN_TEST_f_f1): Likewise.
27711         (RUN_TEST_fF_f1): Likewise.
27712         (RUN_TEST_fI_f1): Likewise.
27713         (RUN_TEST_ffI_f1): Likewise.
27714         (RUN_TEST_c_c): Likewise.
27715         (RUN_TEST_cc_c): Likewise.
27716         (RUN_TEST_f_i): Likewise.
27717         (RUN_TEST_f_i_tg): Likewise.
27718         (RUN_TEST_ff_i_tg): Likewise.
27719         (RUN_TEST_f_b): Likewise.
27720         (RUN_TEST_f_b_tg): Likewise.
27721         (RUN_TEST_f_l): Likewise.
27722         (RUN_TEST_f_L): Likewise.
27723         (RUN_TEST_sincos): Likewise.
27724         * math/gen-libm-test.pl (new_test): Take new argument to indicate
27725         whether to show exceptions.  Do not include ");\n" in return
27726         value.
27727         (special_functions): Output call to RUN_TEST_sincos instead of
27728         check_float calls.  Update calls to new_test.
27729         (parse_args): Output call to single RUN_TEST_* macro instead of
27730         check_* calls and other assignments.  Update calls to new_test.
27732         [BZ #2546]
27733         [BZ #2560]
27734         [BZ #5159]
27735         [BZ #15426]
27736         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27737         input to result for tgamma overflow.
27738         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27739         (gamma_coeff): New variable.
27740         (NCOEFF): New macro.
27741         (gamma_positive): New function.
27742         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27743         underflow here.  Use gamma_positive instead of exp (lgamma) for
27744         other arguments.
27745         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27746         (gamma_coeff): New variable.
27747         (NCOEFF): New macro.
27748         (gammaf_positive): New function.
27749         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27750         underflow here.  Use gamma_positive instead of exp (lgamma) for
27751         other arguments.
27752         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27753         (gamma_coeff): New variable.
27754         (NCOEFF): New macro.
27755         (gammal_positive): New function.
27756         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27757         underflow here.  Use gamma_positive instead of exp (lgamma) for
27758         other arguments.
27759         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27760         (gamma_coeff): New variable.
27761         (NCOEFF): New macro.
27762         (gammal_positive): New function.
27763         (__ieee754_gammal_r): Handle positive infinity, overflow and
27764         underflow here.  Handle NaN the same as positive infinity.  Remove
27765         check x < 0xffffffff for negative integers.  Use gamma_positive
27766         instead of exp (lgamma) for other arguments.
27767         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27768         (gamma_coeff): New variable.
27769         (NCOEFF): New macro.
27770         (gammal_positive): New function.
27771         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27772         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27773         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27774         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27775         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27776         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27777         * sysdeps/generic/math_private.h (__gamma_productf): New
27778         prototype.
27779         (__gamma_product): Likewise.
27780         (__gamma_productl): Likewise.
27781         * math/Makefile (libm-calls): Add gamma_product.
27782         * math/libm-test.inc (tgamma_test): Add more tests.
27783         * sysdeps/i386/fpu/libm-test-ulps: Update.
27784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27786 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
27788         * benchtests/bench-skeleton.c (main): Preheat CPU.
27790 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
27792         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27794 2013-05-07  Roland McGrath  <roland@hack.frob.com>
27796         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27797         and _dl_skip_args_internal.
27799 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
27801         * manual/message.texi (Message Translation): Talk about users.
27802         Message to key mapping impacts design.
27804 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27806         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27808         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27810         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27811         * sysdeps/wordsize-64/glob64.c: ... here.
27813         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27814         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27815         New macros.
27817         * debug/getlogin_r_chk.c: Moved to ...
27818         * login/getlogin_r_chk.c: ... here.
27819         * debug/Makefile (routines): Move getlogin_r_chk to ...
27820         * login/Makefile (routines): ... here.
27821         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27822         * login/Versions (libc: GLIBC_2.4): ... here.
27824         * io/poll.c (__poll): Renamed from poll.
27825         Add libc_hidden_def.
27826         (poll): Define as weak alias.
27828         * debug/ptsname_r_chk.c: Moved to ...
27829         * login/ptsname_r_chk.c: ... here.
27830         * debug/Makefile (routines): Move ptsname_r_chk to ...
27831         * login/Makefile (routines): ... here.
27832         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27833         * login/Versions (libc: GLIBC_2.4): ... here.
27835         * posix/getlogin.c: Moved to ...
27836         * login/getlogin.c: ... here.
27837         * posix/getlogin_r.c: Moved to ...
27838         * login/getlogin_r.c: ... here.
27839         * posix/getlogin_r.c: Moved to ...
27840         * login/getlogin_r.c: ... here.
27841         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27842         * login/Makefile (routines): ... here.
27843         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27844         * login/Versions (libc: GLIBC_2.0): ... here.
27846         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27847         (setrlimit): Define as weak alias.
27849         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27850         Call __ names for open, ftruncate, and close.
27851         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27852         (truncate): Define as weak alias.
27854 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
27856         * math/gen-libm-test.pl (parse_args): Initialize x before each
27857         test of frexp, modf and remquo.
27859         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27860         test signgam value.
27862 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27864         [BZ #15418]
27865         [BZ #15419]
27866         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27867         internal tests.
27868         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27870 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27872         * elf/dl-writev.h: New file.
27873         * elf/dl-misc.c: Include it.
27874         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27875         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27877 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
27879         * math/libm-test.inc (noXFails): Remove variable.
27880         (noXPasses): Likewise.
27881         (BUILD_COMPLEX_INT): Remove macro.
27882         (print_screen): Remove xfail argument.
27883         (print_screen_max_error): Likewise.
27884         (update_stats): Likewise.
27885         (print_max_error): Likewise.  Update calls to other affected
27886         functions.
27887         (print_complex_max_error): Likewise.
27888         (test_single_exception): Update calls to print_screen.
27889         (test_single_errno): Likewise.
27890         (check_float_internal): Remove xfail argument.  Update calls to
27891         other affected functions.
27892         (check_float): Likewise.
27893         (check_complex): Likewise.
27894         (check_int): Likewise.
27895         (check_long): Likewise.
27896         (check_bool): Likewise.
27897         (check_longlong): Likewise.
27898         (main): Don't print noXFails and noXPasses.
27899         * math/gen-libm-test.pl (top level): Don't mention expected
27900         failure handling in comment.
27901         (new_test): Don't handle expected failures.
27902         (parse_args): Don't mention expected failure handling in comment.
27903         (generate_testfile): Don't handle expected failures.
27904         (parse_ulps): Likewise.
27905         (print_ulps_file): Likewise.
27906         (get_failure): Remove function.
27907         (output_test): Don't handle expected failures.
27908         * make/README.libm-test: Don't mention expected failure handling.
27910         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
27911         (minus_zero): Likewise.
27912         (plus_infty): Likewise.
27913         (minus_infty): Likewise.
27914         (qnan_value): Likewise.
27915         (max_value): Likewise.
27916         (min_value): Likewise.
27917         (min_subnorm_value): Likewise.
27918         (initialize): Do not initialize those variables dynamically.
27920 2013-05-03  Roland McGrath  <roland@hack.frob.com>
27922         * io/open.c (__open_2): Moved to ...
27923         * io/open_2.c: ... this new file.
27924         * io/open64.c (__open64_2): Moved to ...
27925         * io/open64_2.c: ... this new file.
27926         * io/openat.c (__openat_2): Moved to ...
27927         * io/openat_2.c: ... this new file.
27928         * io/openat64.c (__openat64_2): Moved to ...
27929         * io/openat64_2.c: ... this new file.
27930         * io/Makefile (routines): Add them.
27931         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27932         * sysdeps/unix/sysv/linux/open_2.c: File removed.
27933         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27934         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27935         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27936         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27937         (__openat64): Add hidden_ver.
27938         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27939         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27941         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27942         Separately conditionalize setting of GLRO(dl_sysinfo) so
27943         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27944         as well, but the actual setting is only under [NEED_DL_SYSINFO].
27946 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27948         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27949         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27950         definition.
27951         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27952         * sysdeps/unix/sysv/linux/powerpc/init-first.c
27953         (_libc_vdso_platform_setup): Add __vdso_time initialization.
27954         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27955         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27957 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
27959         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27960         test signgam value.
27962         * math/libm-test.inc (hypot_test): Do not use
27963         IGNORE_ZERO_INF_SIGN.
27965 2013-05-03  Andreas Jaeger  <aj@suse.de>
27967         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27968         Linux 3.9.
27969         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27970         (PF_MAX): Adjust for VSOCK change.
27972 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27976 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
27978         [BZ #15264]
27979         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27980         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27981         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27983 2013-05-02  David S. Miller  <davem@davemloft.net>
27985         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27987 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
27989         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27991 2013-05-01  Roland McGrath  <roland@hack.frob.com>
27993         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27995 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
27997         [BZ #14952]
27998         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27999         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28000         Use __attribute__ ((__gnu_inline__)).
28001         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28002         Don't use __attribute__ ((__gnu_inline__)).
28004 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
28006         [BZ #15423]
28007         * math/s_catan.c (__catan): Handle small real or imaginary part of
28008         input specially to avoid spurious underflow.
28009         * math/s_catanf.c (__catanf): Likewise.
28010         * math/s_catanh.c (__catanh): Likewise.
28011         * math/s_catanhf.c (__catanhf): Likewise.
28012         * math/s_catanhl.c (__catanhl): Likewise.
28013         * math/s_catanl.c (__catanl): Likewise.
28014         * math/libm-test.inc (catan_test): Add more tests.
28015         (catanh_test): Likewise.
28016         * sysdeps/i386/fpu/libm-test-ulps: Update.
28017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28019 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28023 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
28025         [BZ #15416]
28026         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28027         accurately for denominator in atan2.
28028         * math/s_catanf.c (__catanf): Likewise.
28029         * math/s_catanh.c (__catanh): Likewise.
28030         * math/s_catanhf.c (__catanhf): Likewise.
28031         * math/s_catanhl.c (__catanhl): Likewise.
28032         * math/s_catanl.c (__catanl): Likewise.
28033         * math/libm-test.inc (catan_test): Add more tests.
28034         (catanh_test): Likewise.
28035         * sysdeps/i386/fpu/libm-test-ulps: Update.
28036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28038 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28040         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28042         * benchtests/Makefile (bench): Remove slow benchmarks.
28043         * benchtests/atan-inputs: Add slow benchmark inputs.
28044         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28045         (BENCH_FUNC): Accept variant offset.
28046         (VARIANT): Define.
28047         * benchtests/bench-skeleton.c (main): Run benchmark for each
28048         variant.
28049         * benchtests/cos-inputs: Add slow benchmark inputs.
28050         * benchtests/exp-inputs: Likewise.
28051         * benchtests/pow-inputs: Likewise.
28052         * benchtests/sin-inputs: Likewise.
28053         * benchtests/slowatan-inputs: Remove.
28054         * benchtests/slowatan.c: Remove.
28055         * benchtests/slowcos-inputs: Remove.
28056         * benchtests/slowcos.c: Remove.
28057         * benchtests/slowexp-inputs: Remove.
28058         * benchtests/slowexp.c: Remove.
28059         * benchtests/slowpow-inputs: Remove.
28060         * benchtests/slowpow.c: Remove.
28061         * benchtests/slowsin-inputs: Remove.
28062         * benchtests/slowsin.c: Remove.
28063         * benchtests/slowtan-inputs: Remove.
28064         * benchtests/slowtan.c: Remove.
28065         * benchtests/tan-inputs: Add slow benchmark inputs.
28066         * scripts/bench.pl: Parse comments and directives.
28068         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
28069         in CPPFLAGS.
28070         ($(objpfx)bench-%.c): Remove *-ITER.
28071         * benchtests/bench-modf.c: Remove definition of ITER.
28072         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28073         (main): Loop for DURATION seconds instead of fixed number of
28074         iterations.
28075         * scripts/bench.pl: Don't expect iterations in parameters.
28077 2013-04-29  Roland McGrath  <roland@hack.frob.com>
28079         * io/fchdir.c (__fchdir): Renamed from fchdir.
28080         (fchdir): Define as weak alias.
28082 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28084         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28085         (ERRNO_EDOM): Likewise.
28086         (ERRNO_ERANGE): Likewise.
28087         (noErrnoTests): New variable.
28088         (init_max_error): Set errno to 0.
28089         (test_single_errno): New function.
28090         (test_errno): Likewise.
28091         (check_float_internal): Call test_errno.  Set errno to 0.
28092         (check_complex): Refer to errno tests in comment.
28093         (check_int): Call test_errno.  Set errno to 0.
28094         (check_long): Likewise.
28095         (check_bool): Likewise.
28096         (check_longlong): Likewise.
28097         (cos_test): Use ERRNO_* flags for errno tests instead of
28098         check_int.
28099         (expm1_test): Likewise.
28100         (fmod_test): Likewise.
28101         (ilogb_test): Likewise.
28102         (lgamma_test): Likewise.
28103         (pow_test): Likewise.
28104         (remainder_test): Likewise.
28105         (sin_test): Likewise.
28106         (tan_test): Likewise.
28107         (yn_test): Likewise.
28108         (initialize): Set errno to 0.
28109         (main): Print number of errno tests.
28110         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28112 2013-04-29  Andreas Jaeger  <aj@suse.de>
28114         [BZ #15084]
28115         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28116         and RES_USEVC.
28118         [BZ #15085]
28119         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28120         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28121         unimplemented.
28123         [BZ #15380]
28124         * stdlib/random.c (__initstate): Return NULL if
28125         __initstate fails.
28127         [BZ #15086]
28128         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28129         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28130         RES_SNGLKUPREOP.
28132 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28136 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28138         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28139         of individual tests.
28140         (casin_test): Likewise.
28141         (casinh_test): Likewise.
28143 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
28145         [BZ #15409]
28146         * math/s_catan.c (__catan): Handle arguments with large real or
28147         imaginary part separately without squaring.
28148         * math/s_catanf.c (__catanf): Likewise.
28149         * math/s_catanh.c (__catanh): Likewise.
28150         * math/s_catanhf.c (__catanhf): Likewise.
28151         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28152         and redefine.
28153         (__catanhl): Handle arguments with large real or imaginary part
28154         separately without squaring.
28155         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28156         and redefine.
28157         (__catanl): Handle arguments with large real or imaginary part
28158         separately without squaring.
28159         * math/libm-test.inc (catan_test): Add more tests.
28160         (catanh_test): Likewise.
28161         * sysdeps/i386/fpu/libm-test-ulps: Update.
28162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28164 2013-04-27  Andreas Jaeger  <aj@suse.de>
28166         [BZ #15007]
28167         * stdlib/stdlib.h: Update guards for qecvt.
28168         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28169         <stdlib.h>.
28171 2013-04-27  Allan McRae  <allan@archlinux.org>
28173         * sysdeps/i386/fpu/libm-test-ulps: Update.
28175 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
28177         [BZ #15406]
28178         * math/s_catan.c: Include <float.h>.
28179         (__catan): Ensure underflow exception occurs for underflowed
28180         result.
28181         * math/s_catanf.c: Include <float.h>.
28182         (__catanf): Ensure underflow exception occurs for underflowed
28183         result.
28184         * math/s_catanh.c: Include <float.h>.
28185         (__catanh): Ensure underflow exception occurs for underflowed
28186         result.
28187         * math/s_catanhf.c: Include <float.h>.
28188         (__catanhf): Ensure underflow exception occurs for underflowed
28189         result.
28190         * math/s_catanhl.c: Include <float.h>.
28191         (__catanhl): Ensure underflow exception occurs for underflowed
28192         result.
28193         * math/s_catanl.c: Include <float.h>.
28194         (__catanl): Ensure underflow exception occurs for underflowed
28195         result.
28196         * math/libm-test.inc (catan_test): Add more tests.
28197         (catanh_test): Likewise.
28199         [BZ #15405]
28200         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28201         underflowed result.
28202         * math/s_ccoshf.c (__ccoshf): Likewise.
28203         * math/s_ccoshl.c (__ccoshl): Likewise.
28204         * math/s_csin.c (__csin): Likewise.
28205         * math/s_csinf.c (__csinf): Likewise.
28206         * math/s_csinh.c (__csinh): Likewise.
28207         * math/s_csinhf.c (__csinhf): Likewise.
28208         * math/s_csinhl.c (__csinhl): Likewise.
28209         * math/s_csinl.c (__csinl): Likewise.
28210         * math/libm-test.inc (ccos_test): Add more tests.
28211         (ccosh_test): Likewise.
28212         (csin_test): Likewise.
28213         (csinh_test): Likewise.
28215 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28217         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28218         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28219         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28220         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28221         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28222         powerpc/power5+/fpu folders.
28223         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28226 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28228         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28230 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
28232         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28233         additions to variable.
28234         [$(config-machine) = x86_64] (modules-names): Likewise.
28235         ($(objpfx)tst-audit3): Remove dependency.
28236         ($(objpfx)tst-audit3.out): Likewise.
28237         ($(objpfx)tst-audit4): Likewise.
28238         ($(objpfx)tst-audit4.out): Likewise.
28239         ($(objpfx)tst-audit5): Likewise.
28240         ($(objpfx)tst-audit5.out): Likewise.
28241         ($(objpfx)tst-audit6): Likewise.
28242         ($(objpfx)tst-audit6.out): Likewise.
28243         ($(objpfx)tst-audit7): Likewise.
28244         ($(objpfx)tst-audit7.out): Likewise.
28245         (tst-audit3-ENV): Remove variable.
28246         (tst-audit4-ENV): Likewise.
28247         (tst-audit5-ENV): Likewise.
28248         (tst-audit6-ENV): Likewise.
28249         (tst-audit7-ENV): Likewise.
28250         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28251         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28252         addition to variable.
28253         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28254         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28255         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28256         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28257         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28258         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28259         tst-audit3, tst-audit4 and tst-audit5.
28260         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28261         tst-audit6 and tst-audit7.
28262         [$(subdir) = elf] (modules-names): Add audit modules for those
28263         tests.
28264         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28265         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28266         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28267         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28268         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28269         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28270         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28271         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28272         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28273         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28274         [$(subdir) = elf] (tst-audit3-ENV): New variable.
28275         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28276         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28277         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28278         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28279         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28280         Likewise.
28281         [$(subdir) = elf && $(config-cflags-avx) = yes]
28282         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28283         [$(subdir) = elf && $(config-cflags-avx) = yes]
28284         (CFLAGS-tst-auditmod4a.c): Likewise.
28285         [$(subdir) = elf && $(config-cflags-avx) = yes]
28286         (CFLAGS-tst-auditmod4b.c): Likewise.
28287         [$(subdir) = elf && $(config-cflags-avx) = yes]
28288         (CFLAGS-tst-auditmod6b.c): Likewise.
28289         [$(subdir) = elf && $(config-cflags-avx) = yes]
28290         (CFLAGS-tst-auditmod6c.c): Likewise.
28291         [$(subdir) = elf && $(config-cflags-avx) = yes]
28292         (CFLAGS-tst-auditmod7b.c): Likewise.
28293         * elf/tst-audit3.c: Move to ...
28294         * sysdeps/x86_64/tst-audit3.c: ... here.
28295         * elf/tst-audit4.c: Move to ...
28296         * sysdeps/x86_64/tst-audit4.c: ... here.
28297         * elf/tst-audit5.c: Move to ...
28298         * sysdeps/x86_64/tst-audit5.c: ... here.
28299         * elf/tst-audit6.c: Move to ...
28300         * sysdeps/x86_64/tst-audit6.c: ... here.
28301         * elf/tst-audit7.c: Move to ...
28302         * sysdeps/x86_64/tst-audit7.c: ... here.
28303         * elf/tst-auditmod3a.c: Move to ...
28304         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28305         * elf/tst-auditmod3b.c: Move to ...
28306         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28307         * elf/tst-auditmod4a.c: Move to ...
28308         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28309         * elf/tst-auditmod4b.c: Move to ...
28310         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28311         * elf/tst-auditmod5a.c: Move to ...
28312         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28313         * elf/tst-auditmod5b.c: Move to ...
28314         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28315         * elf/tst-auditmod6a.c: Move to ...
28316         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28317         * elf/tst-auditmod6b.c: Move to ...
28318         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28319         * elf/tst-auditmod6c.c: Move to ...
28320         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28321         * elf/tst-auditmod7a.c: Move to ...
28322         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28323         * elf/tst-auditmod7b.c: Move to ...
28324         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28326 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
28328         [BZ #15366]
28329         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28330         define unconditionally.
28331         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28332         define unconditionally.
28333         (INT8_C, INT16_C, etc.): Likewise.
28335 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
28337         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28338         __ehdr_start with hidden visibility.
28340         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28342 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
28344         * math/libm-test.inc (cos_test): Use accurate hex constants.
28345         (sincost_test): Likewise.
28347 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
28349         * math/libm-test.inc (catan_test): Add more tests.
28350         (catanh_test): Likewise.
28352         * math/s_catanf.c (__catanf): Use suffixed floating-point
28353         constants.
28354         * math/s_catanhf.c (__catanhf): Likewise.
28355         * math/s_catanhl.c (__catanhl): Likewise.
28356         * math/s_catanl.c (__catanl): Likewise.
28358         [BZ #15394]
28359         * math/s_catan.c (__catan): Calculate imaginary part of result
28360         with log1p not log unless computing log of number close to 0.
28361         * math/s_catanf.c (__catanf): Likewise.
28362         * math/s_catanl.c (__catanl): Likewise.
28363         * math/s_catanh.c (__catanh): Calculate real part of result with
28364         log1p not log unless computing log of number close to 0.
28365         * math/s_catanhf.c (__catanhf): Likewise.
28366         * math/s_catanhl.c (__catanhl): Likewise.
28367         * math/libm-test.inc (catan_test): Add more tests.
28368         (catanh_test): Likewise.
28369         * sysdeps/i386/fpu/libm-test-ulps: Update.
28370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28372 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28374         * benchtests/Makefile: Mention files in which fast and slow
28375         paths of math functions are implemented.
28377 2013-04-23  Roland McGrath  <roland@hack.frob.com>
28379         * sysdeps/posix/timespec_get.c: New file.
28381 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28383         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28384         POWER.
28385         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28386         for POWER.
28387         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28388         powerpc/power5/fpu folders.
28389         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28390         * benchtests/Makefile: Add modf testcase.
28391         * benchtests/bench-modf.c: New file: Benchmark test for mo
28393 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28395         [BZ #14888]
28396         * time/Makefile (tests): Add tst-strptime-whitespace.
28397         * time/strptime_l.c (get_number): Use ISSPACE.
28398         (__strptime_internal): Likewise.
28399         * time/tst-strptime-whitespace.c: New test case.
28401 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
28403         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28404         member.
28405         (_nss_files_init): Set it here.
28407 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
28409         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28410         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28411         unsigned.
28413 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
28415         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28417 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28419         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28420         size just once.
28422 2013-04-21  David S. Miller  <davem@davemloft.net>
28424         * po/ru.po: Update Russion translation from translation project.
28426 2013-04-17  Adam Conrad  <adconrad@0c3.net>
28428         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28429         and setfsgid.
28431 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
28433         * configure.in: Remove i386 configure warning. Remove i386 case.
28434         * configure: Regenerate.
28435         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28436         Add example to error message.
28437         * sysdeps/i386/configure: Regenerate.
28439 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28441         * benchtests/Makefile (bench): Add cos, tan, slowcos and
28442         slowtan.
28443         * benchtests/cos-inputs: New file.
28444         * benchtests/slowcos-inputs: New file.
28445         * benchtests/slowcos.c: New file.
28446         * benchtests/slowtan-inputs: New file.
28447         * benchtests/slowtan.c: New file.
28448         * benchtests/tan-inputs: New file.
28450 2013-04-16  Roland McGrath  <roland@hack.frob.com>
28452         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28453         considered kosher.
28455 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28457         * benchtests/Makefile: Include cppflags-iterator.mk to add
28458         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28460         * Makefile.in (bench-clean): New target.
28461         * benchtests/Makefile (bench-clean): Likewise.
28463 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
28465         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28467 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
28469         * stdio-common/tstdiomisc.c: Fix coding-style violation.
28471 2013-04-15  Andreas Schwab  <schwab@suse.de>
28473         * nscd/grpcache.c (cache_addgr): Properly check for short write.
28474         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28475         * nscd/pwdcache.c (cache_addpw): Likewise.
28476         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
28477         more than recsize.
28479 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28481         * benchtests/Makefile (bench): Write all output to
28482         bench-out.tmp together.
28484 2013-04-15  Andreas Schwab  <schwab@suse.de>
28486         * nscd/nscd.c (main): Don't fork again after closing files.
28488 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28490         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28492         * benchtests/Rules (bench-deps): Collect dependencies into a
28493         single variable.  Add Makefile to dependencies.
28494         ($(objpfx)bench-%.c): Depend on bench-deps.
28496 2013-04-12  Roland McGrath  <roland@hack.frob.com>
28497             Xavier Roche  <roche+kml2@exalead.com>
28499         [BZ #15361]
28500         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28501         just that it's a file descriptor.
28502         * manual/llio.texi (Synchronizing AIO Operations): Update description
28503         for EBADF error from aio_fsync.
28505 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28507         * Rules (bench): Move target definition...
28508         * benchtests/Makefile: ... here.
28510 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
28512         * math/libm-test.inc (cos_test): Fix PI/2 test.
28513         (sincos_test): Likewise.
28514         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28515         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28517 2013-04-11  Andreas Schwab  <schwab@suse.de>
28519         [BZ #13988]
28520         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28521         accept exponent character only when digits were seen.
28522         * stdio-common/Makefile (tests): Add bug26.
28523         * stdio-common/bug26.c: New file.
28525         [BZ #14293]
28526         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28527         non-freeable.
28529 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28531         * Makeconfig (rtld-prefix): Define built linker prefix.
28532         * Rules (run-bench): Use it.
28533         * math/Makefile (run-regen-ulps): Likewise.
28535         * Rules (bench): Remove eval.
28537 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28538             Roland McGrath  <roland@hack.frob.com>
28539             Ondrej Bilka  <neleai@seznam.cz>
28541         [BZ #15346]
28542         * time/getdate.c: Include ctype.h and alloca.h.
28543         (__getdate_r): Trim leading and trailing spaces of input.
28544         * time/tst-getdate.c (tests): Add tests with leading and
28545         trailing spaces.
28547 2013-04-08  Roland McGrath  <roland@hack.frob.com>
28549         [BZ #14280]
28550         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28551         when computing value.
28553 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28555         * math/README.libm-test (How can I generate "libm-test-ulps"?):
28556         Use testrun.sh to run libm tests.
28558         [BZ #15309]
28559         * elf/dl-open.c (dl_open_worker): memset all of seen array.
28561 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
28563         [BZ #15264]
28564         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28566 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28568         * Makefile.in (regen-ulps): New target.
28569         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28570         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28571         [ifneq (no,$(PERL)] (regen-ulps): New target.
28572         [ifeq (no,$(PERL)] (regen-ulps): New target.
28573         * math/libm-test.inc (ulps_file_name): Define.
28574         (output_dir): New variable.
28575         (options): Add "output-dir" option.
28576         (parse_opt): Handle 'o' case.
28577         (main): If output_dir is non-NULL use it as a prefix
28578         otherwise use "".
28579         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28581 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28583         [BZ #10060, #10062]
28584         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28585         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28586         fail configure if __sync_val_compare_and_swap is not inlined.
28587         * sysdeps/i386/configure: Regenerate.
28588         * configure.in: Build for i686 when configured for i386.
28589         * configure: Regenerate.
28590         * README: Remove i386 reference.
28592 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28594         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28595         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28597 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28599         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28600         (lmsnanval): New variables.
28601         (F): Add conversion tests.
28602         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28603         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28605         * stdio-common/tstdiomisc.c (F): Properly collect individual
28606         tests' results.
28608         [BZ #14686, #15336]
28609         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28610         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28611         Instead, use input NaN values or generate a qNaN by arithmetic
28612         operation.  Also fix bugs to comply with the standard.
28613         * math/libm-test.inc (remainder_test): Add more tests.
28615         [BZ #15335, #15342]
28616         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28617         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28618         input NaN values or generate a qNaN by arithmetic operation.
28620         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28621         unreachable code.
28623         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28624         definitions.
28626 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
28628         [BZ #14478]
28629         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28630         underflowed result.
28631         * math/s_cexpf.c (__cexpf): Likewise.
28632         * math/s_cexpl.c (__cexpl): Likewise.
28633         * math/libm-test.inc (cexp_test): Add more tests.
28635 2013-04-03  Andreas Schwab  <schwab@suse.de>
28637         [BZ #15330]
28638         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28639         order arrays from heap if bigger than alloca cutoff.
28641 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
28643         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28644         (SNAN_TESTS_double): Refer to GCC PR56831.
28645         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28646         GCC PR56828.
28648 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28650         * Rules (bench): Move bench.out after the run is complete.
28652         * Rules (bench): Echo currently running benchmark.
28654         * benchtests/Makefile (bench): Add atan and slowatan.
28655         * benchtests/atan-inputs: New file.
28656         * benchtests/slowatan-inputs: New file.
28657         * benchtests/slowatan.c: New file.
28659         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28660         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28661         its value.
28663         [BZ #15305]
28664         * sysdeps/unix/sysv/linux/kernel-features.h
28665         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28666         __ASSUME_XFS_RESTRICTED_CHOWN.
28667         * sysdeps/unix/sysv/linux/pathconf.c
28668         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28669         Save and restore errno.
28671 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
28673         [BZ #15327]
28674         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28675         arguments using __kernel_casinh.
28676         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28677         arguments using __kernel_casinhf.
28678         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28679         arguments using __kernel_casinhl.
28680         * math/libm-test.inc (cacosh_test): Add more tests.
28681         * sysdeps/i386/fpu/libm-test-ulps: Update.
28682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28684 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28686         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28687         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28689         * bench/Makefile (bench): Add sin and slowsin.
28690         * benchtests/sin-inputs: New file.
28691         * benchtests/slowsin-inputs: New file.
28692         * benchtests/slowsin.c: New file.
28694         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28695         (bench): Add slowexp and slowpow.
28696         (exp-ITER): Increase iterations.
28697         (pow-ITER): Likewise.
28698         * benchtests/exp-inputs: Change input.
28699         * benchtests/pow-inputs: Likewise.
28700         * benchtests/slowexp-inputs: New file.
28701         * benchtests/slowexp.c: New file.
28702         * benchtests/slowpow-inputs: New file.
28703         * benchtests/slowpow.c: New file.
28705 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28707         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28708         instructions.
28709         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28710         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28711         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28712         * benchtests/Makefile: Add rint benchtest.
28713         * benchtests/rint-inputs: Input for rint benchtest.
28715 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28717         * Versions.def (libm): Add GLIBC_2.18.
28718         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28719         hidden libm prototypes.
28720         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28721         * math/Makefile (libm-calls): Add s_issignaling.
28722         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28723         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
28724         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28725         declaration.
28726         * math/math.h [__USE_GNU] (issignaling): New macro.
28727         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28728         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28729         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28730         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28731         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28732         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28733         * manual/arith.texi (issignaling): New section.
28734         * manual/libm-err-tab.pl (@all_functions): Update comment.
28735         * math/gen-libm-test.pl (parse_args): Apply special handling for
28736         issignaling.
28737         * math/libm-test.inc (print_float, issignaling_test): New
28738         functions.
28739         (check_float_internal): Add issignaling checks.
28740         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28741         default definition.
28742         * sysdeps/powerpc/math-tests.h: New file.
28743         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28744         tests.
28745         * math/test-snan.c (TEST_FUNC): Likewise.
28747 2013-03-30  David S. Miller  <davem@davemloft.net>
28749         * po/de.po: Update from translation team.
28751 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
28753         [BZ #10357]
28754         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28755         imaginary part less than 1.0 and real part less than 0.5
28756         specially.
28757         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28758         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28759         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28760         (cacos_test): Add more tests.
28761         (casin_test): Likewise.
28762         (casinh_test): Likewise.
28763         * sysdeps/i386/fpu/libm-test-ulps: Update.
28764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28766 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28768         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28769         ONE with its value.
28771         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28772         (__pow_mp): Replace ONE and MONE with their values.
28773         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28774         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28775         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28776         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28777         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28778         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28780         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28782         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28783         (__pow_mp): Replace ZERO and MZERO with their values.
28784         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28785         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28786         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28787         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28788         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28789         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28790         (__sqr): Likewise.
28792         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28794         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28796 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28798         * include/stdlib.h [!SHARED] (__call_tls_dtors):
28799         Declare with __attribute__ ((weak)).
28800         * stdlib/exit.c (__libc_atexit) [!SHARED]:
28801         Call __call_tls_dtors only if it's not NULL.
28803 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28805         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28806         didn't do it already, then set _dl_phdr and _dl_phnum based on the
28807         magic __ehdr_start linker symbol if it's defined.
28808         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28809         them up here if it was already done.
28811         * elf/dl-support.c (_dl_phdr): Make pointer to const.
28812         (_dl_aux_init): Use const in cast when setting it.
28813         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28814         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28815         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28817         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28818         Declare them here.
28819         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28820         * csu/libc-tls.c: Nor here.
28821         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28823         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28824         (__libc_message): Never call vsyslog.
28826 2013-03-28  Alan Modra  <amodra@gmail.com>
28828         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28829         Define as empty.
28830         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28831         Likewise.
28833 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28835         [BZ #15214]
28836         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28837         underflow.
28838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28840 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28842         [BZ #15304]
28843         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28844         Don't add gid passed as argument.
28846         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28848 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
28850         [BZ #15307]
28851         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28852         imaginary part between 1.0 and 1.5 and real part less than 0.5
28853         specially.
28854         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28855         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28856         * math/libm-test.inc (cacos_test): Add more tests.
28857         (casin_test): Likewise.
28858         (casinh_test): Likewise.
28859         * sysdeps/i386/fpu/libm-test-ulps: Update.
28860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28862 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28864         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28865         constants.
28866         (norm): Likewise.
28867         (denorm): Likewise.
28868         (__dbl_mp): Likewise.
28869         (add_magnitudes): Likewise.
28870         (sub_magnitudes): Likewise.
28871         (__add): Likewise.
28872         (__sub): Likewise.
28873         (__mul): Likewise.
28874         (__sqr): Likewise.
28875         (__inv): Likewise.
28876         (__dvd): Likewise.
28878         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28879         commented code.
28880         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28881         (__dubcos): Likewise.
28882         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28883         (__ieee754_acos): Likewise.
28884         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28885         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28886         (__exp1): Likewise.
28887         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28888         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28889         (log1): Likewise.
28890         (my_log2): Likewise.
28891         (checkint): Likewise.
28892         * sysdeps/ieee754/dbl-64/e_remainder.c
28893         (__ieee754_remainder): Likewise.
28894         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28895         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28896         (bsloww): Likewise.
28897         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28899         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28900         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28901         MANTISSA_STORE_T to store computations on mantissa.  Use
28902         macros for rounding and division.
28903         (denorm): Likewise.
28904         (__dbl_mp): Likewise.
28905         (add_magnitudes): Likewise.
28906         (sub_magnitudes): Likewise.
28907         (__mul): Likewise.
28908         (__sqr): Likewise.
28909         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28910         powers of two in terms of TWOPOW macro.
28911         (mp_no): Make type of mantissa as MANTISSA_T.
28912         [!RADIXI]: Define RADIXI.
28913         [!TWO52]: Define TWO52.
28914         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28916 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28918         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28919         llroundl symbol when building for PPC32.
28921 2013-03-24  Mark H Weaver  <mhw@netris.org>
28923         * manual/arith.texi (Normalization Functions): Fix prototypes for
28924         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28926 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28928         [BZ #13889]
28929         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28930         high value to check if expl overflow.
28931         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28932         to check for underflow and overflow.
28933         * math/libm-test.inc: Add exp test.
28935 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
28937         [BZ #11120]
28938         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28939         with NOT_IN_libc.
28941 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28943         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28944         symbol.
28946 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28948         * math/gen-libm-test.pl (parse_args, special_functions): Properly
28949         wrap blocks consisting of several statements.
28951         * sysdeps/generic/math-tests.h: New file.
28952         * sysdeps/i386/fpu/math-tests.h: Likewise.
28953         * math/test-snan.c: Include it.
28954         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28956 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
28958         [BZ #15285]
28959         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28960         (__ieee754_j0l): Do not improve calculations using cos of twice
28961         input for inputs above LDBL_MAX / 2.0L.
28962         (__ieee754_y0l): Likewise.
28963         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28964         (__ieee754_j1l): Do not improve calculations using cos of twice
28965         input for inputs above LDBL_MAX / 2.0L.
28966         (__ieee754_y1l): Likewise.
28967         * math/libm-test.inc (j0_test): Add another test.
28968         (j1_test): Likewise.
28969         (y0_test): Likewise.
28970         (y1_test): Likewise.
28971         * sysdeps/i386/fpu/libm-test-ulps: Update.
28973 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28975         * Rules ($(objpfx)bench-%.c): Include code from a C source
28976         file.
28978 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
28980         [BZ #15287]
28981         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28982         imaginary part 1.0 and real part less than 0.5 specially.
28983         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28984         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28985         * math/libm-test.inc (cacos_test): Add more tests.
28986         (casin_test): Likewise.
28987         (casinh_test): Likewise.
28988         * sysdeps/i386/fpu/libm-test-ulps: Update.
28989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28991 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28993         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28994         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28996 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
28998         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28999         * config.make.in (config-cflags-sse4): Remove variable.
29000         (config-cflags-avx): Likewise.
29001         (config-cflags-sse2avx): Likewise.
29002         (config-cflags-novzeroupper): Likewise.
29003         (config-asflags-i686): Likewise.
29004         (have-mfma4): Likewise.
29005         (have-as-vis3): Likewise.
29006         (MIG): Likewise.
29007         * configure.in (MIG): Do not AC_SUBST.
29008         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29009         (libc_cv_cc_sse4): Do not AC_SUBST.
29010         (libc_cv_cc_avx): Likewise.
29011         (libc_cv_cc_sse2avx): Likewise.
29012         (libc_cv_cc_novzeroupper): Likewise.
29013         (libc_cv_cc_fma4): Likewise.
29014         (libc_cv_as_i686): Likewise.
29015         (libc_cv_sparc_as_vis3): Likewise.
29016         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29017         LIBC_CONFIG_VAR.
29018         (config-asflags-i686): Likewise.
29019         (config-cflags-avx): Likewise.
29020         (config-cflags-sse2avx): Likewise.
29021         (have-mfma4): Likewise.
29022         (config-cflags-novzeroupper): Likewise.
29023         * sysdeps/mach/configure.in (MIG): Likewise.
29024         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29025         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29026         LIBC_CONFIG_VAR.
29027         (config-cflags-avx): Likewise.
29028         (config-cflags-sse2avx): Likewise.
29029         (have-mfma4): Likewise.
29030         (config-cflags-novzeroupper): Likewise.
29031         * configure: Regenerated.
29032         * sysdeps/i386/configure: Likewise.
29033         * sysdeps/mach/configure: Likewise.
29034         * sysdeps/sparc/configure: Likewise.
29035         * sysdeps/x86_64/configure: Likewise.
29037 2013-03-20  Roland McGrath  <roland@hack.frob.com>
29039         [BZ #14812]
29040         * locale/programs/localedef.c (options): Put N_ translation marker
29041         on argument names, not just descriptions.
29043 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29045         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29047 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
29049         [BZ #14176]
29050         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29052 2013-03-19  Roland McGrath  <roland@hack.frob.com>
29054         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29055         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29056         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29057         [!BEFORE_ABORT] (before_abort): New function.
29058         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29059         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29060         (writev_for_fatal): New function.
29061         (WRITEV_FOR_FATAL): New macro; call that.
29062         (backtrace_and_maps): New function.
29063         (BEFORE_ABORT): New macro; call that.
29064         (struct str_list): Type removed.
29065         (__libc_message, __libc_fatal): Functions removed.
29066         Include <sysdeps/posix/libc_fatal.c> instead.
29068 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
29070         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29071         constants.
29072         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29073         double constants.
29075 2013-03-19  Andreas Schwab  <schwab@suse.de>
29077         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29078         * sysdeps/gnu/configure: Regenerate.
29080         * configure.in: Substitute libc_cv_rtlddir.
29081         * configure: Regenerate.
29082         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29083         * Makeconfig (rtlddir, inst_rtlddir): New variables.
29084         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29085         * elf/Makefile (install-others, CFLAGS-interp.c)
29086         (ldso_install, common-ldd-rewrite): Likewise.
29087         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29088         $(inst_slibdir)/$(rtld-installed-name).
29089         * scripts/rellns-sh: Add -p option.
29090         * Makerules (make-shlib-link): Use rellns-sh to get relative name
29091         for source.
29093 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29095         * manual/nptl.texi: Renamed to ...
29096         * manual/threads.texi: ... this.
29097         * manual/Makefile (chapters): Update.
29099 2013-03-18  Roland McGrath  <roland@hack.frob.com>
29101         [BZ #14812]
29102         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29103         on argument names, not just descriptions.
29104         * malloc/memusagestat.c (options): Likewise.
29105         * nss/getent.c (options): Likewise.
29107 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
29109         [BZ #14812]
29110         * iconv/iconv_prog.c (options): Put N_ translation marker
29111         on argument names, not just descriptions.
29112         * iconv/iconvconfig.c (options): Likewise.
29114 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
29116         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29117         implementation which is faster on all x86_64 architectures.
29118         Tested on AMD, Intel Nehalem, SNB, IVB.
29119         * sysdeps/x86_64/strnlen.S: Likewise.
29121         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29122         Remove all multiarch strlen and strnlen versions.
29123         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29124         Remove strlen and strnlen related parts.
29126         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29127         Inline strlen part.
29128         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29130         * sysdeps/x86_64/multiarch/strlen.S: Remove.
29131         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29132         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29133         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29134         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29135         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29137 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
29139         * manual/memory.texi (Malloc Tunable Parameters):
29140         Sort parameters alphabetically. Add comments for missing entries.
29142 2013-03-17  David S. Miller  <davem@davemloft.net>
29144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29146 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
29148         [BZ #15283]
29149         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29150         for arguments at most half maximum finite value.
29151         * math/libm-test.inc (j0_test): Add more tests.
29152         (j1_test): Likewise.
29153         (y0_test): Likewise.
29154         (y1_test): Likewise.
29155         * sysdeps/i386/fpu/libm-test-ulps: Update.
29156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29158         [BZ #14155]
29159         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29160         1 / x and functions P and Q for arguments above 0x1p256L.
29161         (__ieee754_y0l): Likewise.
29162         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29163         (__ieee754_y1l): Likewise.
29164         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29165         (j1_test): Likewise.
29166         (y0_test): Likewise.
29167         (y1_test): Likewise.
29169 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
29171         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29172         variable.
29174 2013-03-15  Roland McGrath  <roland@hack.frob.com>
29176         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29177         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29178         zero since it's initialized to EXEC_PAGESIZE.
29180         * sysdeps/unix/sysv/linux/ldsodefs.h
29181         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29182         * sysdeps/generic/ldsodefs.h: ... here.
29184 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
29186         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29188         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29189         math/test-snan.c.
29190         * math/test-snan.c: Renamed from
29191         sysdeps/powerpc/fpu/test-powerpc-snan.c.
29192         * math/Makefile (tests): Add test-snan.
29193         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29194         test-powerpc-snan.
29196         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29197         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
29198         functions.
29199         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
29200         __builtin_nan family of functions.
29201         * math/libm-test.inc (initialize): Initialize qnan_value with
29202         __builtin_nan family of functions.
29203         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29204         Remove variables.
29205         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29206         Remove functions.
29207         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
29208         storage class.  Initialize qNaN_var and sNaN_var with
29209         __builtin_nan and __builtin_nans families of functions,
29210         respectively.
29212         * math/libm-test.inc (acosh_test): Also test with qNaN input.
29213         (sqrt_test): Remove duplicate test with qNaN input.
29214         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29215         (round_test, signbit_test, significand_test): Note missing +/-Inf
29216         as well as qNaN tests.
29218         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29219         qNaN_var.  Fix a few strings, too.
29220         * math/libm-test.inc (nan_value): Rename to qnan_value.
29221         * math/gen-libm-test.pl (%beautify): Adjust to that.
29222         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29223         * math/test-misc.c (main): Likewise.
29224         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29225         to __qnan_bytes, and __qnan_union, respectively.
29226         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29227         Likewise.
29228         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29229         and lqnanval, respectively.
29230         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29231         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29232         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29233         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29235         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29236         * math/test-misc.c (main) [__x86_64__]: Enable test for long
29237         doubles.
29239         * math/test-misc.c (main): Fix copy'n'pastos.
29240         * misc/tst-efgcvt.c (special): Likewise.
29242         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29243         Remove declarations.
29245 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29247         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29248         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29249         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29250         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29252 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29254         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29255         macro to return vdso values correctly in IFUNC implementations.
29256         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29257         Optimization by using IFUNC.
29259 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29260             Richard Henderson  <rth@redhat.com>
29261             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29263         * Makefile.in (bench): New target.
29264         * NEWS: Mention the benchmark framework.
29265         * Rules (bench): Likewise.
29266         (binaries-bench): Generate binaries for functions to
29267         benchmark.
29268         * benchtests/Makefile: New makefile for benchmark tests.
29269         * benchtests/bench-skeleton.c: New skeleton file for benchmark
29270         programs.
29271         * benchtests/exp-inputs: New input file for EXP function.
29272         * benchtests/pow-inputs: New input file for POW function.
29273         * scripts/bench.pl: New script to generate source files for
29274         benchmark programs.
29276 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29278         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29279         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29280         computations on mantissa.  Use macros for rounding and
29281         division.
29282         (denorm): Likewise.
29283         (__dbl_mp): Likewise.
29284         (add_magnitudes): Likewise.
29285         (sub_magnitudes): Likewise.
29286         (__mul): Likewise.
29287         (__sqr): Likewise.
29288         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29289         powers of two in terms of TWOPOW macro.
29290         (mp_no): Make type of mantissa as MANTISSA_T.
29291         [!RADIXI]: Define RADIXI.
29292         [!TWO52]: Define TWO52.
29293         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29295         * manual/nptl.texi (cindex): Modify threads to pthreads.
29297 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
29299         * sysdeps/x86_64/preconfigure: Regenerated.
29301 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
29303         [BZ #14155]
29304         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29305         0x1p28 and above.
29306         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29307         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29308         0x1p28 and above.
29309         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29310         * math/libm-test.inc (j0_test): Do not allow one spurious
29311         underflow exception.
29312         (y1_test): Likewise.
29314 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29316         * manual/Makefile (chapters): Add nptl.
29317         * manual/debug.texi (Debugging Support): Add link to Threads
29318         chapter.
29319         * manual/nptl.texi: New file.
29321         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29323 2013-03-14  Petr Baudis  <pasky@ucw.cz>
29325         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29326         for non-NULL pointer before the memory validity test. Pointed
29327         out by Holger Brunck <holger.brunck@keymile.com>.
29329 2013-03-13  Andreas Schwab  <schwab@suse.de>
29331         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29332         instead of .os.
29334 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
29336         * timezone/zic.c: Update from tzcode 2013b.
29338 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
29340         * manual/install.texi (Configuring and compiling):
29341         Mention i686 and i586.
29342         * INSTALL: Regenerate.
29344 2013-03-12  Roland McGrath  <roland@hack.frob.com>
29346         * sysdeps/init_array/elf-init.c: New file.
29347         * csu/elf-init.c
29348         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29349         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29351         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29352         __gmon_start__ as global, but as static with a .preinit_array pointer.
29353         * sysdeps/init_array/gmon-start.c: New file.  Use that.
29354         * sysdeps/init_array/crti.S: New file, empty except for comments.
29355         * sysdeps/init_array/crtn.S: Likewise.
29357 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
29359         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29360         definining bcopy.
29361         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29362         Remove Prefer_SSE_for_memop.
29363         * sysdeps/x86_64/multiarch/init-arch.h: Remove
29364         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29365         HAS_PREFER_SSE_FOR_MEMOP.
29366         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29367         memset-x86-64.
29368         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29369         Remove bzero, memset ifunc support.
29370         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29371         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29372         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29373         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29375 2013-03-11  Andreas Schwab  <schwab@suse.de>
29377         [BZ #15234]
29378         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29379         by SHLIB_COMPAT.
29380         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29381         (GLIBC_2.16): Remove pthread_atfork.
29383 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29385         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29386         (ptestcases.h): Likewise.
29388 2013-03-08  Roland McGrath  <roland@hack.frob.com>
29390         * Makeconfig ($(common-objpfx)config.status): Depend on
29391         sysdeps/*/preconfigure{,.in} too.
29393 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
29395         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29396         (__free_hook): Use void * instead of __malloc_ptr_t.
29397         (__malloc_hook): Likewise.
29398         (__realloc_hook): Likewise.
29399         (__memalign_hook): Likewise.
29400         (__after_morecore_hook): Likewise.
29401         * malloc/arena.c (save_malloc_hook): Likewise.
29402         (save_free_hook): Likewise.
29403         * malloc/hooks.c (malloc_hook_ini): Likewise.
29404         (realloc_hook_ini): Likewise.
29405         (memalign_hook_ini): Likewise.
29406         * malloc/malloc.c (malloc_hook_ini): Likewise.
29407         (realloc_hook_ini): Likewise.
29408         (memalign_hook_ini): Likewise.
29409         (__free_hook): Likewise.
29410         (__malloc_hook): Likewise.
29411         (__realloc_hook): Likewise.
29412         (__memalign_hook): Likewise.
29413         (__libc_malloc): Likewise.
29414         (__libc_free): Likewise.
29415         (__libc_realloc): Likewise.
29416         (__libc_memalign): Likewise.
29417         (__libc_valloc): Likewise.
29418         (__libc_pvalloc): Likewise.
29419         (__libc_calloc): Likewise.
29420         (__posix_memalign): Likewise.
29421         * malloc/morecore.c (__sbrk): Likewise.
29422         (__default_morecore): Likewise.
29424         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29426         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29427         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29428         __malloc_ptrdiff_t.
29430         * malloc/malloc.h (__malloc_size_t): Remove macro.
29431         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29432         __malloc_size_t.
29433         (old_memalign_hook): Likewise.
29434         (old_realloc_hook): Likewise.
29435         (struct hdr): Likewise.
29436         (flood): Likewise.
29437         (mallochook): Likewise.
29438         (memalignhook): Likewise.
29439         (reallochook): Likewise.
29440         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29441         (tr_old_realloc_hook): Likewise.
29442         (tr_old_memalign_hook): Likewise.
29443         (tr_mallochook): Likewise.
29444         (tr_reallochook): Likewise.
29445         (tr_memalignhook): Likewise.
29447 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29449         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29450         default_ldbl_pack and using as default implementation.
29451         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29452         implementation.
29453         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29454         redundant definition.
29455         (ldbl_insert_mantissa): Likewise.
29456         (ldbl_canonicalize): Likewise.
29457         (ldbl_nearbyint): Likewise.
29458         (ldbl_pack): Rename to ldbl_pack_ppc.
29459         (ldbl_unpack): Rename to ldbl_unpack_ppc.
29460         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29461         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29463 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29466         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29467         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29468         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29469         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29470         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29471         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29472         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29474 2013-03-07  Andreas Jaeger  <aj@suse.de>
29476         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29477         bits/mman-linux.h.
29479 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29481         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29482         Include mpa.h and declare __MPEXP.
29483         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29484         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29485         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29486         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29487         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29488         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29489         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29491         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29492         (__slowpow): Use long double EXPL and LOGL functions to
29493         compute POW.
29494         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29495         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29496         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29497         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29498         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29499         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29501         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29502         intermediate variable to calculate exponent.
29503         (__sqr): Likewise.
29504         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29505         Likewise.
29506         (__sqr): Likewise.
29508         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29509         [!NO__SQR]: Define __sqr.
29510         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29511         and NO__SQR.  Remove all code except __mul and __sqr.  Include
29512         sysdeps/ieee754/dbl-64/mpa.c.
29513         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29515         [BZ #12723]
29516         * posix/Makefile (tests): Add tst-pathconf.
29517         * posix/tst-pathconf.c: New test case.
29518         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29519         _PC_PIPE_BUF.
29520         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29522 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
29524         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29526 2013-03-06  Andreas Jaeger  <aj@suse.de>
29528         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29529         definition via __MAP_ANONYMOUS.
29531         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29532         it's not part of Linux headers.
29534         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29535         (MAP_HUGE_MASK): Define.
29537         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29538         Define.
29539         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29540         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29541         Define.
29542         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29543         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29544         Define.
29545         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29546         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29547         Define.
29548         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29550         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29551         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29552         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29553         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29554         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29555         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29557         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29558         Handle f2fs.
29560         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29561         Handle f2fs and efivarfs.
29563         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29564         f2fs.
29566         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29567         (EFIVARFS_MAGIC): Add.
29568         (F2FS_LINK_MAX): Add.
29570 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29572         * stdio-common/vfprintf.c: Replace __builtin_expect with
29573         __glibc_unlikely.
29575 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
29577         [BZ #13550]
29578         * sysdeps/generic/bp-sym.h: Remove file.
29579         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29580         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29581         <bp-sym.h> and <bp-asm.h>.
29582         (__longjmp): Don't use BP_SYM.
29583         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29584         and <bp-asm.h>.
29585         (memcpy): Don't use BP_SYM.
29586         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29587         <bp-sym.h> and <bp-asm.h>.
29588         (memcpy): Don't use BP_SYM.
29589         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29590         <bp-asm.h>.
29591         (memcpy): Don't use BP_SYM.
29592         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29593         <bp-asm.h>.
29594         (memset): Don't use BP_SYM.
29595         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29596         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29597         (__bzero): Don't use BP_SYM.
29598         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29599         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29600         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29601         <bp-sym.h> and <bp-asm.h>.
29602         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29603         pointers.
29604         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29605         <bp-sym.h> and <bp-asm.h>.
29606         (memcpy): Don't use BP_SYM.
29607         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29608         <bp-sym.h> and <bp-asm.h>.
29609         (memset): Don't use BP_SYM.
29610         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29611         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29612         (__bzero): Don't use BP_SYM.
29613         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29614         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29615         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29616         <bp-sym.h> and <bp-asm.h>.
29617         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29618         pointers.
29619         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29620         <bp-sym.h> and <bp-asm.h>.
29621         (memcpy): Don't use BP_SYM.
29622         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29623         <bp-sym.h> and <bp-asm.h>.
29624         (memset): Don't use BP_SYM.
29625         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29626         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29627         (__bzero): Don't use BP_SYM.
29628         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29629         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29630         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29631         <bp-sym.h> and <bp-asm.h>.
29632         (__memchr): Don't use BP_SYM.
29633         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29634         <bp-sym.h> and <bp-asm.h>.
29635         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29636         pointers.
29637         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29638         <bp-sym.h> and <bp-asm.h>.
29639         (memcpy): Don't use BP_SYM.
29640         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29641         <bp-sym.h> and <bp-asm.h>.
29642         (__mempcpy): Don't use BP_SYM.
29643         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29644         <bp-sym.h> and <bp-asm.h>.
29645         (__memrchr): Don't use BP_SYM.
29646         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29647         <bp-sym.h> and <bp-asm.h>.
29648         (memset): Don't use BP_SYM.
29649         (__bzero): Likewise.
29650         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29651         <bp-sym.h> and <bp-asm.h>.
29652         (__rawmemchr): Don't use BP_SYM.
29653         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29654         <bp-sym.h> and <bp-asm.h>.
29655         (__STRCMP): Don't use BP_SYM.
29656         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29657         <bp-sym.h> and <bp-asm.h>.
29658         (strchr): Don't use BP_SYM.
29659         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29660         <bp-sym.h> and <bp-asm.h>.
29661         (__strchrnul): Don't use BP_SYM.
29662         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29663         <bp-sym.h> and <bp-asm.h>.
29664         (strlen): Don't use BP_SYM.
29665         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29666         <bp-sym.h> and <bp-asm.h>.
29667         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29668         pointers.
29669         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29670         <bp-sym.h> and <bp-asm.h>.
29671         (__strnlen): Don't use BP_SYM.
29672         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29673         <bp-sym.h> and <bp-asm.h>.
29674         (__GI__setjmp): Don't use BP_SYM.
29675         (_setjmp): Likewise.
29676         (__sigsetjmp): Likewise.
29677         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29678         (L(start_addresses)): Don't use BP_SYM.
29679         (_start): Likewise.
29680         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29681         <bp-asm.h>.
29682         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29683         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29684         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29685         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29686         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29687         <bp-asm.h>.
29688         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29689         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
29690         about bounded pointers.
29691         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29692         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29693         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29694         <bp-asm.h>.
29695         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29696         about bounded pointers.  Remove GKM FIXME comments.
29697         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29698         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29699         <bp-asm.h>.
29700         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29701         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
29702         Remove GKM FIXME comments.
29703         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29704         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29705         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29706         <bp-asm.h>.
29707         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29708         about bounded pointers.  Remove GKM FIXME comment.
29709         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29710         and <bp-asm.h>.
29711         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29712         pointers.
29713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29714         <bp-sym.h> and <bp-asm.h>.
29715         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29717         <bp-sym.h> and <bp-asm.h>.
29718         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29719         comment.
29721 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29723         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29724         call free(NULL).
29726 2013-03-05  David S. Miller  <davem@davemloft.net>
29728         * po/es.po: Update from translation team.
29730 2013-03-05  Andreas Jaeger  <aj@suse.de>
29732         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29733         <bits/mman-linux.h>.
29734         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29735         is fine.
29736         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29737         <bits/mman-linux.h> to end of file.
29738         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29739         is fine.
29740         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29741         <bits/mman-linux.h> to end of file.
29742         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29743         is fine.
29744         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29745         <bits/mman-linux.h> to end of file.
29747         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29748         (MCL_CURRENT, MCL_FUTURE): Define here.
29750 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29752         [BZ #15232]
29753         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29754         attribute_hidden.
29755         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29757 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29759         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29760         fourth parameter needed for rt_sigprocmask syscall.
29761         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29762         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29763         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29764         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29765         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29766         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29768 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
29770         [BZ #13550]
29771         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29772         comment about bounded pointers.
29773         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29774         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29776 2013-03-04  Andreas Jaeger  <aj@suse.de>
29778         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29779         common definitions.
29781         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29782         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29783         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29784         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29785         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29786         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29788 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29790         [BZ #15055]
29791         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29792         __ieee754_sqrl instead of __sqrl.
29794 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
29796         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29797         * sysdeps/powerpc/fpu_control.h: ... here.
29798         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29799         * sysdeps/powerpc/bits/fenvinline.h: ... here.
29800         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29801         * sysdeps/powerpc/bits/mathinline.h: ... here.
29803 2013-03-01  Roland McGrath  <roland@hack.frob.com>
29805         * elf/dl-hwcaps.c (_dl_important_hwcaps):
29806         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29807         to just [NEED_DL_SYSINFO_DSO].
29808         * elf/dl-support.c: Likewise.
29809         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29810         * elf/rtld.c (dl_main): Likewise.
29811         * elf/setup-vdso.h (setup_vdso): Likewise.
29812         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29813         * sysdeps/unix/sysv/linux/dl-sysdep.c
29814         (_dl_discover_osversion): Likewise.
29816 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
29818         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29819         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29821 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29823         * NEWS: Mention libm performance improvements and non-x86 PI
29824         futex support.
29826         * csu/libc-start.c (__pthread_initialize_minimal): Change
29827         function arguments.
29828         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29830 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
29832         [BZ #13550]
29833         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29834         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29835         <bp-sym.h> and <bp-asm.h>.
29836         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29837         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29838         and <bp-asm.h>.
29839         (memcpy): Don't use BP_SYM.
29840         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29841         <bp-asm.h>.
29842         (__mpn_add_n): Don't use BP_SYM.
29843         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29844         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29845         and <bp-asm.h>.
29846         (__mpn_addmul_1): Don't use BP_SYM.
29847         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29848         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29849         <bp-sym.h>.
29850         (_setjmp): Don't use BP_SYM.
29851         (__novmx_setjmp): Likewise.
29852         (__GI__setjmp): Likewise.
29853         (__vmx_setjmp): Likewise.
29854         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29855         <bp-sym.h>.
29856         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29857         (__bzero): Don't use BP_SYM.
29858         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29859         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29860         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29861         <bp-sym.h> and <bp-asm.h>.
29862         (memcpy): Don't use BP_SYM.
29863         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29864         <bp-sym.h> and <bp-asm.h>.
29865         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29866         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29867         <bp-sym.h> and <bp-asm.h>.
29868         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29869         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29870         <bp-asm.h>.
29871         (__mpn_lshift): Don't use BP_SYM.
29872         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29873         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29874         <bp-asm.h>.
29875         (memset): Don't use BP_SYM.
29876         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29877         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29878         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29879         <bp-asm.h>.
29880         (__mpn_mul_1): Don't use BP_SYM.
29881         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29882         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29883         <bp-sym.h> and <bp-asm.h>.
29884         (memcmp): Don't use BP_SYM.
29885         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29886         <bp-sym.h> and <bp-asm.h>.
29887         (memcpy): Don't use BP_SYM.
29888         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29889         <bp-sym.h> and <bp-asm.h>.
29890         (memset): Don't use BP_SYM.
29891         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29892         <bp-sym.h> and <bp-asm.h>.
29893         (strncmp): Don't use BP_SYM.
29894         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29895         <bp-sym.h> and <bp-asm.h>.
29896         (memcpy): Don't use BP_SYM.
29897         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29898         <bp-sym.h> and <bp-asm.h>.
29899         (memset): Don't use BP_SYM.
29900         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29901         <bp-sym.h> and <bp-asm.h>.
29902         (__memchr): Don't use BP_SYM.
29903         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29904         <bp-sym.h> and <bp-asm.h>.
29905         (memcmp): Don't use BP_SYM.
29906         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29907         <bp-sym.h> and <bp-asm.h>.
29908         (memcpy): Don't use BP_SYM.
29909         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29910         <bp-sym.h> and <bp-asm.h>.
29911         (__mempcpy): Don't use BP_SYM.
29912         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29913         <bp-sym.h> and <bp-asm.h>.
29914         (__memrchr): Don't use BP_SYM.
29915         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29916         <bp-sym.h> and <bp-asm.h>.
29917         (memset): Don't use BP_SYM.
29918         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29919         <bp-sym.h> and <bp-asm.h>.
29920         (__rawmemchr): Don't use BP_SYM.
29921         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29922         <bp-sym.h> and <bp-asm.h>.
29923         (__STRCMP): Don't use BP_SYM.
29924         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29925         <bp-sym.h> and <bp-asm.h>.
29926         (strchr): Don't use BP_SYM.
29927         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29928         <bp-sym.h> and <bp-asm.h>.
29929         (__strchrnul): Don't use BP_SYM.
29930         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29931         <bp-sym.h> and <bp-asm.h>.
29932         (strlen): Don't use BP_SYM.
29933         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29934         <bp-sym.h> and <bp-asm.h>.
29935         (strncmp): Don't use BP_SYM.
29936         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29937         <bp-sym.h> and <bp-asm.h>.
29938         (__strnlen): Don't use BP_SYM.
29939         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29940         <bp-asm.h>.
29941         (__mpn_rshift): Don't use BP_SYM.
29942         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29943         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29944         <bp-sym.h> and <bp-asm.h>.
29945         (__sigsetjmp): Don't use BP_SYM.
29946         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29947         (L(start_addresses)): Don't use BP_SYM.
29948         (_start): Likewise.
29949         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29950         <bp-asm.h>.
29951         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29952         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29953         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29954         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29955         <bp-asm.h>.
29956         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29957         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29958         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29959         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29960         <bp-asm.h>.
29961         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
29962         comments.
29963         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29964         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29965         <bp-asm.h>.
29966         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
29967         FIXME comments.
29968         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29969         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29970         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29971         <bp-asm.h>.
29972         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
29973         comment.
29974         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29975         and <bp-asm.h>.
29976         (strncmp): Don't use BP_SYM,
29977         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29978         <bp-asm.h>.
29979         (__mpn_sub_n): Don't use BP_SYM.
29980         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29981         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29982         and <bp-asm.h>.
29983         (__mpn_submul_1): Don't use BP_SYM.
29984         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29986         <bp-sym.h> and <bp-asm.h>.
29987         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29989         <bp-sym.h> and <bp-asm.h>.
29990         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29991         comment.
29993 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29995         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29996         Use ZK to minimize writes to Z.
29997         (sub_magnitudes): Simplify code a bit.
29998         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29999         Use ZK to minimize writes to Z.
30000         (sub_magnitudes): Simplify code a bit.
30002 2013-02-27  Roland McGrath  <roland@hack.frob.com>
30004         * csu/gmon-start.c: Add special exception to license text.
30006 2013-02-27  Richard Henderson  <rth@redhat.com>
30008         * scripts/config.guess: Update from config.git.
30009         * scripts/config.sub: Likewise.
30011 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30013         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30015         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30017         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30019         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30021         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30023 2013-02-26  Roland McGrath  <roland@hack.frob.com>
30025         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30026         [$(build-shared = yes].
30028 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30030         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30031         (__mul): Reduce iterations for calculating mantissa.
30033         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30034         MPTWO.
30035         (__mpranred): Likewise.
30037         [BZ #15160]
30038         * malloc/memusagestat.c (main): Draw graphs for heap and stack
30039         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30041 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
30043         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30044         Define __attribute__.
30046 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30048         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30049         unused.
30050         * posix/regex_internal.h (__attribute): Remove.
30051         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30052         (re_string_context_at): Likewise.
30053         (bitset_not): Use __attribute__ and mark function as possibly
30054         unused.
30055         (bitset_merge): Likewise.
30056         (bitset_mask): Likewise.
30057         (re_string_char_size_at): Likewise.
30058         (re_string_wchar_at): Likewise.
30059         (re_string_elem_size_at): Likewise.
30061 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30063         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30064         code.
30065         (cc32): Likewise.
30067         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30068         (__acr): Likewise.
30069         (__cpy): Likewise.
30070         (norm): Likewise.
30071         (denorm): Likewise.
30072         (__dbl_mp): Likewise.
30073         (add_magnitudes): Likewise.
30074         (sub_magnitudes): Likewise.
30075         (__mul): Likewise.
30076         (__inv): Likewise.
30078         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30079         style.
30081         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30082         style.
30084         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30085         code.
30087         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30088         up changes with default code.
30089         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30090         Likewise.
30092 2013-02-24  Allan McRae  <allan@archlinux.org>
30094         * manual/socket.texi (The Internet Namespace): Order menu items
30095         to match that in the file.
30097         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30098         node listing of the info page menu.
30100 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
30102         [BZ #13550]
30103         * sysdeps/i386/bp-asm.h: Remove file.
30104         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30105         (PARMS): Do not use macros from bp-asm.h.
30106         (S1): Likewise.
30107         (S2): Likewise.
30108         (SIZE): Likewise.
30109         (__mpn_add_n): Do not use BP_SYM
30110         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30111         "bp-asm.h".
30112         (PARMS): Do not use macros from bp-asm.h.
30113         (S1): Likewise.
30114         (SIZE): Likewise.
30115         (__mpn_addmul_1): Do not use BP_SYM
30116         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30117         "bp-asm.h".
30118         (PARMS): Do not use macros from bp-asm.h.
30119         (SIGMSK): Likewise.
30120         (_setjmp): Likewise.  Do not use BP_SYM.
30121         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30122         "bp-asm.h".
30123         (PARMS): Do not use macros from bp-asm.h.
30124         (SIGMSK): Likewise.
30125         (setjmp): Likewise.  Do not use BP_SYM.
30126         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30127         "bp-asm.h".
30128         (PARMS): Do not use macros from bp-asm.h.
30129         (__frexp): Do not use BP_SYM.
30130         (frexp): Likewise.
30131         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30132         "bp-asm.h".
30133         (PARMS): Do not use macros from bp-asm.h.
30134         (__frexpf): Do not use BP_SYM.
30135         (frexpf): Likewise.
30136         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30137         "bp-asm.h".
30138         (PARMS): Do not use macros from bp-asm.h.
30139         (__frexpl): Do not use BP_SYM.
30140         (frexpl): Likewise.
30141         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30142         "bp-asm.h".
30143         (PARMS): Do not use macros from bp-asm.h.
30144         (__remquo): Do not use BP_SYM.
30145         (remquo): Likewise.
30146         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30147         "bp-asm.h".
30148         (PARMS): Do not use macros from bp-asm.h.
30149         (__remquof): Do not use BP_SYM.
30150         (remquof): Likewise.
30151         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30152         "bp-asm.h".
30153         (PARMS): Do not use macros from bp-asm.h.
30154         (__remquol): Do not use BP_SYM.
30155         (remquol): Likewise.
30156         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30157         "bp-asm.h".
30158         (PARMS): Do not use macros from bp-asm.h.
30159         (DEST): Likewise.
30160         (SRC): Likewise.
30161         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
30162         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30163         "bp-asm.h".
30164         (PARMS): Do not use macros from bp-asm.h.
30165         (strlen): Do not use BP_SYM.
30166         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30167         "bp-asm.h".
30168         (PARMS): Do not use macros from bp-asm.h.
30169         (S1): Likewise.
30170         (S2): Likewise.
30171         (SIZE): Likewise.
30172         (__mpn_add_n): Do not use BP_SYM.
30173         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30174         "bp-asm.h".
30175         (PARMS): Do not use macros from bp-asm.h.
30176         (S1): Likewise.
30177         (SIZE): Likewise.
30178         (__mpn_addmul_1): Do not use BP_SYM.
30179         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30180         weak_alias.
30181         (bzero): Likewise.
30182         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30183         "bp-asm.h".
30184         (PARMS): Do not use macros from bp-asm.h.
30185         (S): Likewise.
30186         (SIZE): Likewise.
30187         (__mpn_lshift): Do not use BP_SYM.
30188         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30189         "bp-asm.h".
30190         (PARMS): Do not use macros from bp-asm.h.
30191         (DEST): Likewise.
30192         (SRC): Likewise.
30193         (LEN): Likewise.
30194         (memcpy): Likewise.  Do not use BP_SYM.
30195         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30196         libc_hidden_def and weak_alias.
30197         (mempcpy): Do not use BP_SYM in weak_alias.
30198         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30199         "bp-asm.h".
30200         (PARMS): Do not use macros from bp-asm.h.
30201         (DEST): Likewise.
30202         (LEN): Likewise.
30203         [!BZERO_P] (CHR): Likewise.
30204         (memset): Likewise.  Do not use BP_SYM.
30205         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30206         "bp-asm.h".
30207         (PARMS): Do not use macros from bp-asm.h.
30208         (S1): Likewise.
30209         (SIZE): Likewise.
30210         (__mpn_mul_1): Do not use BP_SYM.
30211         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30212         "bp-asm.h".
30213         (PARMS): Do not use macros from bp-asm.h.
30214         (S): Likewise.
30215         (SIZE): Likewise.
30216         (__mpn_rshift): Do not use BP_SYM.
30217         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30218         "bp-asm.h".
30219         (PARMS): Do not use macros from bp-asm.h.
30220         (STR): Likewise.
30221         (CHR): Likewise.
30222         (strchr): Likewise.  Do not use BP_SYM.
30223         (index): Do not use BP_SYM in weak_alias.
30224         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30225         "bp-asm.h".
30226         (PARMS): Do not use macros from bp-asm.h.
30227         (DEST): Likewise.
30228         (SRC): Likewise.
30229         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
30230         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30231         "bp-asm.h".
30232         (PARMS): Do not use macros from bp-asm.h.
30233         (strlen): Do not use BP_SYM.
30234         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30235         "bp-asm.h".
30236         (PARMS): Do not use macros from bp-asm.h.
30237         (S1): Likewise.
30238         (S2): Likewise.
30239         (SIZE): Likewise.
30240         (__mpn_sub_n): Do not use BP_SYM.
30241         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30242         "bp-asm.h".
30243         (PARMS): Do not use macros from bp-asm.h.
30244         (S1): Likewise.
30245         (SIZE): Likewise.
30246         (__mpn_submul_1): Do not use BP_SYM.
30247         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30248         "bp-asm.h".
30249         (PARMS): Do not use macros from bp-asm.h.
30250         (S1): Likewise.
30251         (S2): Likewise.
30252         (SIZE): Likewise.
30253         (__mpn_add_n): Do not use BP_SYM.
30254         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30255         weak_alias.
30256         (bzero): Likewise.
30257         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30258         "bp-asm.h".
30259         (PARMS): Do not use macros from bp-asm.h.
30260         (BLK2): Likewise.
30261         (LEN): Likewise.
30262         (memcmp): Do not use BP_SYM.
30263         (bcmp): Do not use BP_SYM in weak_alias.
30264         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30265         "bp-asm.h".
30266         (PARMS): Do not use macros from bp-asm.h.
30267         (DEST): Likewise.
30268         (SRC): Likewise.
30269         (LEN): Likewise.
30270         (memcpy): Likewise.  Do not use BP_SYM.
30271         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30272         "bp-asm.h".
30273         (PARMS): Do not use macros from bp-asm.h.
30274         (DEST): Likewise.
30275         (SRC): Likewise.
30276         (LEN): Likewise.
30277         (memmove): Likewise.  Do not use BP_SYM.
30278         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30279         "bp-asm.h".
30280         (PARMS): Do not use macros from bp-asm.h.
30281         (DEST): Likewise.
30282         (SRC): Likewise.
30283         (LEN): Likewise.
30284         (__mempcpy): Likewise.  Do not use BP_SYM.
30285         (mempcpy): Do not use BP_SYM in weak_alias.
30286         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30287         "bp-asm.h".
30288         (PARMS): Do not use macros from bp-asm.h.
30289         (DEST): Likewise.
30290         (LEN): Likewise.
30291         [!BZERO_P] (CHR): Likewise.
30292         (memset): Likewise.  Do not use BP_SYM.
30293         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30294         "bp-asm.h".
30295         (PARMS): Do not use macros from bp-asm.h.
30296         (STR2): Likewise.
30297         (strcmp): Do not use BP_SYM.
30298         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30299         "bp-asm.h".
30300         (PARMS): Do not use macros from bp-asm.h.
30301         (STR): Likewise.
30302         (DELIM): Likewise.
30303         [USE_AS_STRTOK_R] (SAVE): Likewise.
30304         (FUNCTION): Likewise.  Do not use BP_SYM.
30305         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30306         aliases.
30307         (strtok_r): Likewise.
30308         (__GI___strtok_r): Likewise.
30309         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30310         (PARMS): Do not use macros from bp-asm.h.
30311         (S): Likewise.
30312         (SIZE): Likewise.
30313         (__mpn_lshift): Do not use BP_SYM.
30314         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30315         (PARMS): Do not use macros from bp-asm.h.
30316         (STR): Likewise.
30317         (CHR): Likewise.
30318         (__memchr): Do not use BP_SYM.
30319         (memchr): Do not use BP_SYM in weak_alias.
30320         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30321         (PARMS): Do not use macros from bp-asm.h.
30322         (BLK2): Likewise.
30323         (LEN): Likewise.
30324         (memcmp): Do not use BP_SYM.
30325         (bcmp): Do not use BP_SYM in weak_alias.
30326         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30327         (PARMS): Do not use macros from bp-asm.h.
30328         (S1): Likewise.
30329         (SIZE): Likewise.
30330         (__mpn_mul_1): Do not use BP_SYM.
30331         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30332         "bp-asm.h".
30333         (PARMS): Do not use macros from bp-asm.h.
30334         (STR): Likewise.
30335         (CHR): Likewise.
30336         (__rawmemchr): Do not use BP_SYM.
30337         (rawmemchr): Do not use BP_SYM in weak_alias.
30338         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30339         (PARMS): Do not use macros from bp-asm.h.
30340         (S): Likewise.
30341         (SIZE): Likewise.
30342         (__mpn_rshift): Do not use BP_SYM.
30343         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30344         (PARMS): Do not use macros from bp-asm.h.
30345         (SIGMSK): Likewise.
30346         (__sigsetjmp): Likewise.  Do not use BP_SYM.
30347         * sysdeps/i386/start.S: Do not include "bp-sym.h".
30348         (_start): Do not use BP_SYM.
30349         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30350         (PARMS): Do not use macros from bp-asm.h.
30351         (DEST): Likewise.
30352         (SRC): Likewise.
30353         (__stpcpy): Likewise.  Do not use BP_SYM.
30354         (stpcpy): Do not use BP_SYM in weak_alias.
30355         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30356         "bp-asm.h".
30357         (PARMS): Do not use macros from bp-asm.h.
30358         (DEST): Likewise.
30359         (SRC): Likewise.
30360         (LEN): Likewise.
30361         (__stpncpy): Likewise.  Do not use BP_SYM.
30362         (stpncpy): Do not use BP_SYM in weak_alias.
30363         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30364         (PARMS): Do not use macros from bp-asm.h.
30365         (STR): Likewise.
30366         (CHR): Likewise.
30367         (strchr): Likewise.  Do not use BP_SYM.
30368         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30369         "bp-asm.h".
30370         (PARMS): Do not use macros from bp-asm.h.
30371         (STR): Likewise.
30372         (CHR): Likewise.
30373         (__strchrnul): Likewise.  Do not use BP_SYM.
30374         (strchrnul): Do not use BP_SYM in weak_alias.
30375         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30376         "bp-asm.h".
30377         (PARMS): Do not use macros from bp-asm.h.
30378         (STOP): Likewise.
30379         (strcspn): Do not use BP_SYM.
30380         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30381         "bp-asm.h".
30382         (PARMS): Do not use macros from bp-asm.h.
30383         (STR): Likewise.
30384         (STOP): Likewise.
30385         (strpbrk): Likewise.  Do not use BP_SYM.
30386         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30387         "bp-asm.h".
30388         (PARMS): Do not use macros from bp-asm.h.
30389         (STR): Likewise.
30390         (CHR): Likewise.
30391         (strrchr): Likewise.  Do not use BP_SYM.
30392         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30393         (PARMS): Do not use macros from bp-asm.h.
30394         (SKIP): Likewise.
30395         (strspn): Do not use BP_SYM.
30396         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30397         (PARMS): Do not use macros from bp-asm.h.
30398         (STR): Likewise.
30399         (DELIM): Likewise.
30400         (SAVE): Likewise.
30401         (FUNCTION): Likewise.  Do not use BP_SYM.
30402         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30403         aliases.
30404         (strtok_r): Likewise.
30405         (__GI___strtok_r): Likewise.
30406         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30407         (PARMS): Do not use macros from bp-asm.h.
30408         (S1): Likewise.
30409         (S2): Likewise.
30410         (SIZE): Likewise.
30411         (__mpn_sub_n): Do not use BP_SYM.
30412         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30413         "bp-asm.h".
30414         (PARMS): Do not use macros from bp-asm.h.
30415         (S1): Likewise.
30416         (SIZE): Likewise.
30417         (__mpn_submul_1): Do not use BP_SYM.
30418         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30419         <bp-sym.h>.
30420         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30421         and <bp-asm.h>.
30422         (PARMS): Do not use macros from bp-asm.h.
30423         (FLAGS): Likewise.
30424         (PTID): Likewise.
30425         (TLS): Likewise.
30426         (CTID): Likewise.
30427         (__clone): Do not use BP_SYM.
30428         (clone): Do not use BP_SYM in weak_alias.
30429         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30430         and <bp-asm.h>.
30431         (PARMS): Do not use macros from bp-asm.h.
30432         (LEN): Likewise.
30433         (__mmap64): Do not use BP_SYM.
30434         (mmap64): Do not use BP_SYM in weak_alias.
30435         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30436         <bp-sym.h> and <bp-asm.h>.
30437         (PARMS): Do not use macros from bp-asm.h.
30438         (__posix_fadvise64_l64): Do not use BP_SYM.
30439         * sysdeps/unix/sysv/linux/i386/semtimedop.S
30440         (PARMS): Do not use macros from bp-asm.h.
30441         (NSOPS): Likewise.
30442         (semtimedop): Do not use BP_SYM.
30443         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30444         and <bp-asm.h>.
30446 2013-02-21  Allan McRae  <allan@archlinux.org>
30448         * manual/message.texi (Charset conversion in gettext):
30449         Move @end statement to beginning of line.
30451 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30453         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30454         static.
30455         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30456         Likewise.
30458         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30459         (denorm): Likewise.
30460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30461         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30463 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30465         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30466         tail-call to the resolved function if pltexit isn't needed.
30468 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30470         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30471         or Y being zero as being unlikely.
30472         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30473         Likewise.
30475 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
30477         * manual/nss.texi (System Databases and Name Service Switch):
30478         Remove frobnicate @pxref.
30480 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30482         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30483         __attribute__ ((unused)) to __attribute__ ((__unused__)).
30485 2013-02-20  Petr Machata  <pmachata@redhat.com>
30487         * elf/elf.h (R_ARM_TARGET1): New macro.
30488         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30489         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30490         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30491         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30492         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30493         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30494         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30495         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30496         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30497         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30498         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30499         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30500         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30501         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30502         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30503         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30504         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30505         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30506         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30507         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30508         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30509         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30510         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30511         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30512         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30513         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30514         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30515         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30516         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30517         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30518         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30519         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30520         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30521         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30522         (R_ARM_THM_GOT_BREL12): Likewise.
30523         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30524         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30525         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30526         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30527         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30528         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30529         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30530         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30531         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30533 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30535         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30536         __attribute_used__ to __attribute__ ((unused)).
30538 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30540         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30541         powerpc mpa.c.
30542         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30543         comment formatting.
30544         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30546 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
30548         [BZ #13550]
30549         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30550         Remove macro.
30551         (ENTER): Remove both macro definitions.
30552         (LEAVE): Likewise.
30553         (CHECK_BOUNDS_LOW): Likewise.
30554         (CHECK_BOUNDS_HIGH): Likewise.
30555         (CHECK_BOUNDS_BOTH): Likewise.
30556         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30557         (RETURN_BOUNDED_POINTER): Likewise.
30558         (RETURN_NULL_BOUNDED_POINTER): Likewise.
30559         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30560         (POP_ERRNO_LOCATION_RETURN): Likewise.
30561         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30562         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30563         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30564         macros.
30565         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30566         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30567         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30568         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30569         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30570         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30571         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30572         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30573         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30574         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30575         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30576         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30577         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30578         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30579         removed macros.
30580         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30581         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30582         macros.
30583         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30584         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30585         * sysdeps/i386/i586/memset.S (memset): Likewise.
30586         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30587         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30588         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30589         macros.
30590         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30591         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30592         Change uses of L(2) to L(out).
30593         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30594         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30595         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30596         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30597         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30598         removed macros.
30599         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30600         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30601         macros.
30602         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30603         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30604         (RETURN): Do not use macro LEAVE.
30605         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30606         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30607         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30608         * sysdeps/i386/i686/memset.S (memset): Likewise.
30609         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30610         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30611         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30612         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30613         Likewise.
30614         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30615         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
30616         L(1_2) and L(1_3) into L(1).
30617         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30618         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30619         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30620         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30621         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30622         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30623         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30624         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30625         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30626         macros.
30627         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30628         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30629         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30630         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30631         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30632         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30633         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30634         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30635         * sysdeps/i386/strcspn.S (strcspn): Likewise.
30636         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30637         * sysdeps/i386/strrchr.S (strrchr): Likewise.
30638         * sysdeps/i386/strspn.S (strspn): Likewise.
30639         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30640         conditional code.
30641         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30642         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30643         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30644         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
30645         L(1_3) into L(1_1).
30646         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30647         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30648         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30649         macros.
30650         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30652 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
30654         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30655         macro.
30657 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30659         * math/atest-exp.c (exp_mpn): Remove ROUND.
30660         * math/atest-exp2.c (exp_mpn): Likewise.
30661         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30663         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30664         * stdlib/tst-tls-atexit-lib.c: Likewise.
30665         * stdlib/tst-tls-atexit.c: Likewise.
30667 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30669         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30670         and __attribute_alloc_size__.
30672 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30674         * include/programs/xmalloc.h: Change __attribute_alloc_size to
30675         __attribute_alloc_size__.
30676         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30677         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30679 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30681         * include/programs/xmalloc.h: New file.
30682         * catgets/gencat.c: Include it.
30683         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30684         * elf/pldd.c: Likewise.
30685         * iconv/iconv_charmap.c: Likewise.
30686         * iconv/iconvconfig.c: Likewise.
30687         * iconv/strtab.c: Likewise.
30688         * locale/programs/locale.c: Likewise.
30689         * locale/programs/localedef.h: Likewise.
30690         * locale/programs/simple-hash.c: Likewise.
30691         * nscd/nscd.h: Likewise.
30692         * nss/makedb.c: Likewise.
30693         * sysdeps/generic/ldconfig.h: Likewise.
30695 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30697         * Versions.def: Add GLIBC_2.18.
30698         * include/link.h (struct link_map): New member l_tls_dtor_count.
30699         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30700         (__call_tls_dtors): Likewise.
30701         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30702         __cxa_thread_atexit_impl.
30703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30704         Likewise.
30705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30706         Likewise.
30707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30708         Likewise.
30709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30710         Likewise.
30711         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30713         Likewise.
30714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30715         Likewise.
30716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30718         Likewise.
30719         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30720         (tests): Add test case tst-tls-atexit.
30721         (modules-names): Add shared library for tst-tls-atexit.
30722         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30723         (GLIBC_PRIVATE): Add __call_tls_dtors.
30724         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30725         for libstdc++.
30726         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30727         * stdlib/tst-tls-atexit.c: New test case.
30728         * stdlib/tst-tls-atexit-lib.c: New test case.
30730         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30732         * elf/Versions (ld): Add _dl_find_dso_for_object.
30733         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30734         * elf/dl-open.c (_dl_find_dso_for_object): New function.
30735         (dl_open_worker): Use _dl_find_dso_for_object.
30736         * elf/dl-sym.c (do_sym): Likewise.
30737         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30739 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30741         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30742         Syntactic changes only.
30743         (_dl_runtime_profile): Do a tail-call to the resolved function.
30745 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
30747         [BZ #13550]
30748         * sysdeps/x86_64/bp-asm.h: Remove file.
30749         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30750         <bp-sym.h> and <bp-asm.h>.
30751         (__clone): Do not use BP_SYM.
30752         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30753         <bp-sym.h> and <bp-asm.h>.
30754         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30755         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30756         "bp-asm.h".
30757         (_setjmp): Do not use BP_SYM.
30758         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30759         "bp-asm.h".
30760         (setjmp): Do not use BP_SYM.
30761         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30762         libc_hidden_def.
30763         (mempcpy): Do not use BP_SYM in weak_alias.
30764         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30765         "bp-asm.h".
30766         (strchr): Do not use BP_SYM.
30767         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30768         "bp-asm.h".
30769         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30770         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30771         (_start): Do not use BP_SYM.
30772         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30773         "bp-asm.h".
30774         (strcat): Do not use BP_SYM.
30775         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30776         "bp-asm.h".
30777         (STRCMP): Do not use BP_SYM.
30778         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30779         "bp-asm.h".
30780         (STRCPY): Do not use BP_SYM.
30781         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30782         "bp-asm.h".
30783         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30784         "bp-asm.h".
30785         (FUNCTION): Do not use BP_SYM.
30786         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30787         weak_alias.
30788         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30790 2013-02-17  Andreas Jaeger  <aj@suse.de>
30792         * time/Versions: Sort entries.
30793         * string/Versions: Likewise.
30794         * resolv/Versions: Likewise.
30795         * posix/Versions: Likewise.
30796         * iconv/Versions: Likewise.
30797         * elf/Versions: Likewise.
30798         * wcsmbs/Versions: Likewise.
30800 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30802         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30803         loop termination condition.
30805         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30806         variable to calculate EZ.
30807         (__sqr): Likewise.
30809         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30810         the lower precision input.
30812 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
30814         [BZ #13550]
30815         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30816         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30817         (run-via-rtld-prefix): Do not handle %-bp tests.
30818         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30819         (all-object-suffixes): Remove .ob.
30820         (bppfx): Remove variable.
30821         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30822         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30823         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30824         [$(build-bounded) = yes] (libtype.ob): Likewise.
30825         * Makerules (elide-routines.ob): Remove variable.
30826         (do-tests-clean): Do not handle *-bp.out.
30827         (common-mostlyclean): Do not handle *-bp and *-bp.out.
30828         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30829         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30830         (tests): Do not include $(tests-bp.out).
30831         (xtests): Do not include $(xtests-bp.out).
30832         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30833         [$(build-bounded) = yes] ($(addprefix
30834         $(objpfx),$(binaries-bounded))): Remove rule.
30835         ($(objpfx)%-bp.out): Remove rule.
30836         * config.make.in (build-bounded): Remove variable.
30837         * crypt/Makefile [$(build-bounded) = yes]
30838         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30839         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30840         append to variable.
30841         [$(build-bounded) = yes] (install-lib): Likewise.
30842         [$(build-bounded) = yes] (generated): Likewise.
30843         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30844         Remove rule.
30845         * intl/Makefile [$(build-bounded) = yes]
30846         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30847         * math/Makefile [$(build-bounded) = yes]
30848         ($(tests:%=$(objpfx)%-bp): Likewise.
30849         * misc/Makefile [$(build-bounded) = yes]
30850         ($(objpfx)tst-tsearch-bp): Likewise.
30851         * nptl/Makeconfig (bounded-thread-library): Remove variable.
30852         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30853         Remove dependency.
30854         * string/Makefile (o-objects.ob): Remove variable.
30855         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30856         (CFLAGS-.ob): Remove variable.
30857         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30858         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30859         both definitions of variable.
30860         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30861         (ASFLAGS-.ob): Remove variable.
30863 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
30865         [BZ #13550]
30866         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30867         Remove __BOUNDED_POINTERS__ from condition.
30868         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30869         * string/bits/string2.h [!__NO_STRING_INLINES &&
30870         !__BOUNDED_POINTERS__]: Likewise.
30871         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30872         Likewise.
30873         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30874         Remove conditional code.
30875         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30876         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30877         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30878         condition.
30880         [BZ #13550]
30881         * csu/libc-start.c: Do not include <bp-sym.h>.
30882         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30883         * elf/dl-open.c: Do not include <bp-sym.h>.
30884         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30885         * math/fegetenv.c: Do not include <bp-sym.h>.
30886         (fegetenv): Do not use BP_SYM in versioned symbols.
30887         * nptl/sysdeps/pthread/bits/libc-lockP.h
30888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30889         <bp-sym.h>.
30890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30891         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30893         (__pthread_mutex_destroy): Likewise.
30894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30895         (__pthread_mutex_lock): Likewise.
30896         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30897         (__pthread_mutex_trylock): Likewise.
30898         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30899         (__pthread_mutex_unlock): Likewise.
30900         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30901         (__pthread_mutexattr_init): Likewise.
30902         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30903         (__pthread_mutexattr_destroy): Likewise.
30904         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30905         (__pthread_mutexattr_settype): Likewise.
30906         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30907         (__pthread_rwlock_init): Likewise.
30908         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30909         (__pthread_rwlock_destroy): Likewise.
30910         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30911         (__pthread_rwlock_rdlock): Likewise.
30912         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30913         (__pthread_rwlock_tryrdlock): Likewise.
30914         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30915         (__pthread_rwlock_wrlock): Likewise.
30916         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30917         (__pthread_rwlock_trywrlock): Likewise.
30918         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30919         (__pthread_rwlock_unlock): Likewise.
30920         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30921         (__pthread_key_create): Likewise.
30922         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30923         (__pthread_setspecific): Likewise.
30924         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30925         (__pthread_getspecific): Likewise.
30926         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30927         Likewise.
30928         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30929         (_pthread_cleanup_push_defer): Likewise.
30930         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30931         (_pthread_cleanup_pop_restore): Likewise.
30932         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30933         (pthread_setcancelstate): Likewise.
30934         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30935         <bp-sym.h>.
30936         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30937         (memchr): Do not use BP_SYM in weak_alias.
30938         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30939         (fegetenv): Do not use BP_SYM in versioned symbols.
30940         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30941         (fesetenv): Do not use BP_SYM in versioned symbols.
30942         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30943         (feupdateenv): Do not use BP_SYM in versioned symbols.
30944         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30945         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30946         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30947         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30948         (open64): Do not use BP_SYM in weak_alias.
30949         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30950         (fegetenv): Do not use BP_SYM in versioned symbols.
30951         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30952         (fesetenv): Do not use BP_SYM in versioned symbols.
30953         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30954         (feupdateenv): Do not use BP_SYM in versioned symbols.
30955         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30956         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30957         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30958         (feraiseexcept): Do not use BP_SYM in versioned symbols.
30959         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30960         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30961         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30962         <bp-sym.h>.
30963         (__libc_start_main): Do not use BP_SYM.
30965 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30967         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30968         redundant return line.
30969         (norm): Likewise.
30970         (denorm): Likewise.
30971         (dbl_mp): Likewise.
30972         (sub_magnitudes): Likewise.
30973         (__add): Likewise.
30974         (__sub): Likewise.
30975         (__mul): Likewise.
30976         (__inv): Likewise.
30977         (__dvd): Likewise.
30978         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30979         (norm): Likewise.
30980         (denorm): Likewise.
30981         (dbl_mp): Likewise.
30982         (sub_magnitudes): Likewise.
30983         (__add): Likewise.
30984         (__sub): Likewise.
30985         (__mul): Likewise.
30986         (__inv): Likewise.
30987         (__dvd): Likewise.
30989         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30990         instead of __mul.
30991         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30992         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30993         (cc32): Likewise.
30995         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30996         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30997         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30998         of __mul for squares.
30999         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31000         function
31001         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31002         Likewise.
31003         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31004         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31006 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
31008         [BZ #13550]
31009         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31010         code.
31011         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31012         prototype or function definition.  Rename ubp_* variables and
31013         parameters.  Remove argv definitions conditional on
31014         [__BOUNDED_POINTERS__].
31015         * debug/backtrace.c (__backtrace): Do not use __unbounded.
31016         * elf/dl-runtime.c (_dl_fixup): Likewise.
31017         * include/set-hooks.h (RUN_HOOK): Likewise.
31018         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31019         definition.
31020         * string/strcpy.c (strcpy): Do not use __unbounded.
31021         * sysdeps/generic/frame.h (struct layout): Likewise.
31022         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31023         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31024         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31025         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31026         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31027         (__backtrace): Likewise.
31028         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31029         use __ptrvalue.
31030         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31031         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31032         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31033         Likewise.
31034         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31035         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31036         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31037         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31038         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31039         Do not use __unbounded.
31040         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31041         Rename __unboundedrlimits parameter to rlimits in prototype.
31042         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31043         Do not use __unbounded.
31044         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31045         not use __ptrvalue.
31046         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31047         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31048         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31049         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31050         __ptrvalue or __unbounded.
31051         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31052         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31053         use __unbounded.
31054         (__new_msgctl): Do not use __ptrvalue.
31055         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31056         __unbounded.
31057         (__libc_msgrcv): Do not use __ptrvalue.
31058         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31059         startup_info): Do not use __unbounded.
31060         (__libc_start_main): Likewise.  Rename ubp_* variables and
31061         parameters.  Remove argv definitions conditional on
31062         [__BOUNDED_POINTERS__].
31063         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31064         __ptrvalue.
31065         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31066         use __unbounded.
31067         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31068         or __ptrvalue.
31069         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31070         use __unbounded.
31071         (__new_shmctl): Do not use __ptrvalue.
31072         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31073         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31074         Likewise.
31075         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31076         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31077         (__libc_sigaction): Likewise.
31078         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31079         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31080         Likewise.
31081         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31083 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
31085         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31087         * string/mempcpy.c: Implement by calling memcpy.
31089 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31091         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31093         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31094         evaluation.
31096         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31097         values in the mantissa.
31099         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31100         minimize writes to Z.
31101         (sub_magnitudes): Simplify code a bit.
31103 2013-02-12  Roland McGrath  <roland@hack.frob.com>
31105         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31106         from the message.  The linker prefixes all warnings with that already.
31108 2013-02-12  Andreas Schwab  <schwab@suse.de>
31110         [BZ #15078]
31111         * posix/regexec.c (extend_buffers): Add parameter min_len.
31112         (check_matching): Pass minimum needed length.
31113         (clean_state_log_if_needed): Likewise.
31114         (get_subexp): Likewise.
31115         * posix/Makefile (tests): Add bug-regex34.
31116         (bug-regex34-ENV): Define.
31117         * posix/bug-regex34.c: New file.
31119         [BZ #11561]
31120         * posix/regcomp.c (parse_bracket_exp): When looking up collating
31121         elements compare against the byte sequence of it, not its name.
31122         * posix/Makefile (tests): Add bug-regex35.
31123         (bug-regex35-ENV): Define.
31124         * posix/bug-regex35.c: New file.
31126 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31128         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
31129         comment.
31130         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31131         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31132         (CHECK_EOL): Add undef.
31134 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
31136         * bits/stdlib-bsearch.h: New file.
31137         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31138         * stdlib/stdlib.h: Likewise.
31140 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31142         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31143         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31144         declaration.
31145         * manual/search.texi (Array Search Function): Add missing const in
31146         lfind prototype.
31147         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31148         declaration to use rlim_t.
31149         (Basic Scheduling Functions): Remove erroneous const from
31150         sched_getparam prototype.  Remove erroneous * from
31151         sched_get_priority_max and sched_get_priority_min prototypes.
31152         (Resource Usage): Fix summary @comment on vtimes to refer to
31153         sys/vtimes.h rather than vtimes.h.
31154         Add missing *s in vtimes prototype.
31155         (Limits on Resources): Fix ulimit prototype to return long int.
31156         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31157         prototypes to use long int rather than double.
31158         (BSD Random): Fix initstate and setstate to use char *, not void *.
31159         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31160         prototype to make second argument 'struct aiocb64 *const[]'.
31161         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31162         (Status of AIO Operations): Remove erroneous const in aio_return and
31163         aio_return64 prototypes.
31164         (Synchronizing I/O): Fix sync prototype to return void.
31165         * manual/startup.texi (Suboptions): Remove an erroneous const in
31166         getsubopt prototype.
31167         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31168         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31169         use size_t rather than int.
31170         (Scanning All Users): Likewise for getpwent_r.
31171         (Setting Groups): Add missing const to setgroups prototype.
31172         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31173         * manual/socket.texi (Host Names): Fix gethostbyaddr and
31174         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31175         'const void *' rather than 'const char *'.
31176         (Host Address Functions): Likewise for inet_ntop.
31177         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31178         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31179         ssize_t for return value.
31180         (Sending Data): Likewise for send, sendto, sendmsg.
31181         (Socket Option Functions): Add a missing const in setsockopt prototype.
31182         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31183         use wchar_t for the argument.
31184         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31185         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31186         take no arguments.
31187         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31188         double/float/long double for second argument.
31189         Fix return types of significand, significandf, significandl.
31190         * manual/filesys.texi (Setting Permissions): Use mode_t for second
31191         argument in fchmod prototype.
31192         (File Owner): Use uid_t and gid_t in fchown prototype.
31193         (File Times): Add const to utimes, futimes, and lutimes prototypes.
31194         (Making Special Files): Use mode_t and dev_t in mknod prototype.
31195         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31196         use 'const struct dirent **' as argument types to CMP function pointer
31197         argument.
31198         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31199         (File Times): Fix summary magic @comment for struct utimbuf and utime
31200         to refer to utime.h, not time.h.
31201         * manual/string.texi (Argz Functions): Add missing const in
31202         argz_extract and argz_next prototypes.
31203         (Finding Tokens in a String): Likewise for basename.
31204         (String/Array Comparison): Fix typo in wcscasecmp prototype.
31205         (Copying and Concatenation): Fix typo in wmemmove prototype.
31206         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31207         (Signal Stack): Remove erroneous const in sigstack prototype.
31208         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31209         prototype.
31210         (Simple Calendar Time): Likewise for stime.
31211         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31212         prototype.
31213         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31214         say sys/sysctl.h instead.
31215         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31216         and vsyslog prototypes.
31218 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31220         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31221         Remove.
31223 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31225         * misc/sys/mman.h: Fix typo in mremap comment.
31227 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31229         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31230         the '\0' terminator.
31232 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31234         [BZ #13550]
31235         * debug/segfault.c: Don't include <bp-checks.h>.
31236         * sysdeps/generic/bp-checks.h: Remove file.
31237         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31238         (__GETDENTS): Don't use CHECK_N.
31239         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31240         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31241         (__getgroups): Don't use CHECK_N.
31242         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31243         (setgroups): Don't use CHECK_N.
31244         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31245         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31246         (__libc_msgrcv): Don't use CHECK_N.
31247         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31248         (__libc_msgsnd): Don't use CHECK_N.
31249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31250         <bp-checks.h>.
31251         (__libc_pread): Don't use CHECK_N.
31252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31253         include <bp-checks.h>.
31254         (__libc_pread64): Don't use CHECK_N.
31255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31256         include <bp-checks.h>.
31257         (__libc_pwrite): Don't use CHECK_N.
31258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31259         include <bp-checks.h>.
31260         (__libc_pwrite64): Don't use CHECK_N.
31261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31262         <bp-checks.h>.
31263         (__libc_pread): Don't use CHECK_N.
31264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31265         include <bp-checks.h>.
31266         (__libc_pread64): Don't use CHECK_N.
31267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31268         include <bp-checks.h>.
31269         (__libc_pwrite): Don't use CHECK_N.
31270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31271         include <bp-checks.h>.
31272         (__libc_pwrite64): Don't use CHECK_N.
31273         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31274         (do_pread): Don't use CHECK_N.
31275         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31276         (do_pread64): Don't use CHECK_N.
31277         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31278         (do_pwrite): Don't use CHECK_N.
31279         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31280         (do_pwrite64): Don't use CHECK_N.
31281         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31282         (__libc_readv): Don't use CHECK_N.
31283         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31284         (semop): Don't use CHECK_N.
31285         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31286         <bp-checks.h>.
31287         (semtimedop): Don't use CHECK_N.
31288         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31289         (__libc_pread): Don't use CHECK_N.
31290         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31291         <bp-checks.h>.
31292         (__libc_pread64): Don't use CHECK_N.
31293         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31294         <bp-checks.h>.
31295         (__libc_pwrite): Don't use CHECK_N.
31296         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31297         <bp-checks.h>.
31298         (__libc_pwrite64): Don't use CHECK_N.
31299         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31300         <bp-checks.h>.
31301         (__libc_msgrcv): Don't use CHECK_N.
31302         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31303         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
31304         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31305         (__libc_writev): Don't use CHECK_N.
31307 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31309         * string/strcpy.c: Removed unused variable.
31311         * Makeconfig (+sysdep-includes): Define with := rather than =.
31312         Use an existing include/ subdir of each sysdeps dir before it.
31314 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31316         * nscd/connection.c (register_traced_file): Comment function.
31317         [HAVE_INOTIFY] (union __inev): Define.
31318         [HAVE_INOTIFY] (inotify_check_files): New function.
31319         [HAVE_INOTIFY] (clear_db_cache): Likewise.
31320         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31321         clear_db_cache.
31322         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31324 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31326         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31327         loaded if not already and that a failure is permanent.
31329 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31331         [BZ #15006]
31332         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31333         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31335 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31337         [BZ #13550]
31338         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31339         (CHECK_1_NULL_OK): Likewise.
31340         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31341         (__fxstat): Do not use CHECK_1.
31342         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31343         <bp-checks.h>.
31344         (___fxstat64): Do not use CHECK_1.
31345         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31346         <bp-checks.h>.
31347         (__fxstatat): Do not use CHECK_1.
31348         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31349         <bp-checks.h>.
31350         (__fxstatat64): Do not use CHECK_1.
31351         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31352         <bp-checks.h>.
31353         (__fxstat): Do not use CHECK_1.
31354         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31355         <bp-checks.h>.
31356         (__fxstatat): Do not use CHECK_1.
31357         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31358         <bp-checks.h>.
31359         (__getresgid): Do not use CHECK_1.
31360         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31361         <bp-checks.h>.
31362         (__getresuid): Do not use CHECK_1.
31363         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31364         <bp-checks.h>.
31365         (__lxstat): Do not use CHECK_1.
31366         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31367         <bp-checks.h>.
31368         (__old_msgctl): Do not use CHECK_1.
31369         (__new_msgctl): Likewise.
31370         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31371         <bp-checks.h>.
31372         (__new_setrlimit): Do not use CHECK_1.
31373         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31374         <bp-checks.h>.
31375         (__old_shmctl): Do not use CHECK_1.
31376         (__new_shmctl): Likewise.
31377         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31378         <bp-checks.h>.
31379         (__xstat): Do not use CHECK_1.
31380         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31381         (__lxstat): Do not use CHECK_1.
31382         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31383         <bp-checks.h>.
31384         (___lxstat64): Do not use CHECK_1.
31385         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31386         (__old_msgctl): Do not use CHECK_1.
31387         (__new_msgctl): Likewise.
31388         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31389         <bp-checks.h>.
31390         (__gettimeofday): Do not use CHECK_1.
31391         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31392         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31393         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31394         <bp-checks.h>.
31395         (__gettimeofday): Do not use CHECK_1.
31396         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31397         (__old_shmctl): Do not use CHECK_1_NULL_OK.
31398         (__new_shmctl): Do not use CHECK_1.
31399         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31400         <bp-checks.h>.
31401         (do_sigtimedwait): Do not use CHECK_1.
31402         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31403         <bp-checks.h>.
31404         (do_sigwaitinfo): Do not use CHECK_1.
31405         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31406         <bp-checks.h>.
31407         (msgctl): Do not use CHECK_1.
31408         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31409         <bp-checks.h>.
31410         (shmctl): Do not use CHECK_1.
31411         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31412         (ustat): Do not use CHECK_1.
31413         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31414         <bp-checks.h>.
31415         (__fxstat): Do not use CHECK_1.
31416         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31417         <bp-checks.h>.
31418         (__fxstatat): Do not use CHECK_1.
31419         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31420         <bp-checks.h>.
31421         (__lxstat): Do not use CHECK_1.
31422         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31423         <bp-checks.h>.
31424         (__xstat): Do not use CHECK_1.
31425         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31426         (__xstat): Do not use CHECK_1.
31427         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31428         (___xstat64): Do not use CHECK_1.
31430         [BZ #13550]
31431         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31432         definitions.
31433         (CHECK_BOUNDS_HIGH): Likewise.
31434         * string/strcpy.c: Do not include <bp-checks.h>.
31435         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31437 2013-02-07  Roland McGrath  <roland@hack.frob.com>
31439         * nscd/nscd-client.h (__nscd_drop_map_ref):
31440         Add __attribute__ ((unused)).
31441         * nis/nss-nisplus.h (niserr2nss): Likewise.
31443         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31444         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31446         * csu/libc-tls.c (init_static_tls, init_slotinfo):
31447         Remove inline keyword.
31448         * include/rounding-mode.h (round_away): Likewise.
31449         * libio/wfileops.c (adjust_wide_data): Likewise.
31450         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31451         (__m128i_strloadu_tolower): Likewise.
31452         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31453         (__m128i_strloadu_tolower): Likewise.
31454         * time/mktime.c (ydhms_diff): Likewise.
31455         * locale/elem-hash.h (elem_hash): Likewise.
31456         * locale/setlocale.c (setdata): Likewise.
31457         * posix/regex_internal.h (re_string_char_size_at): Likewise.
31458         (re_string_wchar_at): Likewise.
31459         (bitset_not, bitset_merge, bitset_mask): Likewise.
31460         [!(__GNUC__ > 3)] (inline): Remove macro.
31461         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31462         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31463         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31464         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31465         * string/memcmp.c (memcmp_bytes): Likewise.
31466         * locale/programs/locarchive.c (compute_hashval): Likewise.
31467         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31468         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31469         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31470         * nss/getent.c (print_rpc, print_protocols): Likewise.
31471         (print_passwd, print_group, print_aliases): Likewise.
31472         * nis/nss-nisplus.h (niserr2nss): Likewise.
31473         * nscd/connections.c (restart_p): Likewise.
31474         Change return type to bool.
31476 2013-02-05  Roland McGrath  <roland@hack.frob.com>
31478         * Makeconfig (all-Depend-files): Add existing
31479         $(sorted-subdirs:=/Depend) files.
31480         (all-subdirs): Remove nss.
31481         * sysdeps/unix/inet/Subdirs: Add it here instead.
31482         * hesiod/Depend: New file.
31484         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31485         instead of calling alloca.
31487         * io/lseek.c (__lseek): Rename to __libc_lseek.
31488         Define __lseek as an alias.
31490         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31492 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
31494         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31495         else clause and remove check for non-standard endianness.
31497 2013-02-04  David S. Miller  <davem@davemloft.net>
31499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31501 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
31503         [BZ #13550]
31504         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31505         (__ubp_memchr): Remove prototype.
31506         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31507         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31508         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31509         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31510         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31511         Remove alias.
31512         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31513         (__ubp_memchr): Likewise.
31514         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31515         (__ubp_memchr): Likewise.
31516         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31517         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31518         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31519         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31520         CHECK_STRING.
31521         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31522         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31523         (__getcwd): Do not use CHECK_STRING.
31524         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31525         <bp-checks.h>.
31526         (__real_chown): Do not use CHECK_STRING.
31527         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31528         <bp-checks.h>.
31529         (fchownat): Do not use CHECK_STRING.
31530         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31531         CHECK_STRING.
31532         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31533         <bp-checks.h>.
31534         (__lchown): Do not use CHECK_STRING.
31535         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31536         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31537         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31538         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31540         include <bp-checks.h>.
31541         (truncate64): Do not use CHECK_STRING.
31542         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31543         <bp-checks.h>.
31544         (__real_chown): Do not use CHECK_STRING.
31545         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31546         <bp-checks.h>.
31547         (__lchown): Do not use CHECK_STRING.
31548         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31549         <bp-checks.h>.
31550         (__chown): Do not use CHECK_STRING.
31551         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31552         <bp-checks.h>.
31553         (truncate64): Do not use CHECK_STRING.
31554         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31555         Likewise.
31556         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31557         (__xmknod): Do not use CHECK_STRING.
31558         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31559         <bp-checks.h>.
31560         (__xmknodat): Do not use CHECK_STRING.
31561         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31562         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31564 2013-02-04  Andreas Schwab  <schwab@suse.de>
31566         [BZ #14142]
31567         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31568         * include/netdb.h: Likewise for h_errno.
31569         * elf/tst-stackguard1.c: Include <tls.h>.
31571 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
31573         * elf/link.h (struct link_map): Extend the l_addr comment.
31574         * include/link.h (struct link_map): Likewise.
31576 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
31578         [BZ #13550]
31579         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31580         (BOUNDED_1): Remove macro.
31581         * debug/backtrace.c: Don't include <bp-checks.h>.
31582         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31583         (__backtrace): Likewise.
31584         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31585         <bp-checks.h>.
31586         (__backtrace): Don't use BOUNDED_1.
31587         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31588         <bp-checks.h>.
31589         (__backtrace): Don't use BOUNDED_1.
31590         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31591         (__backtrace): Don't use BOUNDED_1.
31592         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31593         (shmat): Don't use BOUNDED_N.
31595 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
31597         [BZ #13550]
31598         * sysdeps/generic/bp-start.h: Remove file.
31599         * csu/libc-start.c: Don't include <bp-start.h>.
31600         (LIBC_START_MAIN): Set up __environ directly instead of using
31601         INIT_ARGV_and_ENVIRON.
31602         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31603         <bp-start.h>.
31605         [BZ #13550]
31606         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31607         definitions.
31608         (CHECK_FCNTL): Likewise.
31609         (CHECK_N_PAGES): Likewise.
31611         [BZ #13550]
31612         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31613         definitions.
31614         (CHECK_SIGSET_NULL_OK): Likewise.
31615         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31616         <bp-checks.h>.
31617         (sigpending): Don't use CHECK_SIGSET.
31618         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31619         <bp-checks.h>.
31620         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31621         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31622         <bp-checks.h>.
31623         (do_sigsuspend): Don't use CHECK_SIGSET.
31624         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31625         use CHECK_SIGSET.
31626         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31627         (do_sigwait): Don't use CHECK_SIGSET.
31628         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31629         use CHECK_SIGSET.
31630         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31631         include <bp-checks.h>.
31632         (sigpending): Don't use CHECK_SIGSET.
31633         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31634         include <bp-checks.h>.
31635         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31636         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31637         <bp-checks.h>.
31638         (sigpending): Don't use CHECK_SIGSET.
31639         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31640         <bp-checks.h>.
31641         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31643         [BZ #13550]
31644         * sysdeps/generic/bp-semctl.h: Remove file.
31645         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31646         <bp-checks.h> and <bp-semctl.h>.
31647         (__old_semctl): Don't use CHECK_SEMCTL.
31648         (__new_semctl): Likewise.
31649         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31650         and <bp-semctl.h>.
31651         (__old_semctl): Don't use CHECK_SEMCTL.
31652         (__new_semctl): Likewise.
31653         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31654         <bp-checks.h> and <bp-semctl.h>.
31655         (__old_semctl): Don't use CHECK_SEMCTL.
31656         (__new_semctl): Likewise.
31657         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31658         <bp-checks.h> and <bp-semctl.h>.
31659         (semctl): Don't use CHECK_SEMCTL.
31661         [BZ #13550]
31662         * Makerules (elide-bp-thunks): Remove variable.
31663         (elide-routines.oS): Don't use $(elide-bp-thunks).
31664         (elide-routines.os): Likewise.
31665         (elide-routines.o): Likewise.
31666         (elide-routines.op): Likewise.
31667         (elide-routines.og): Likewise.
31668         (objects): Don't use $(bp-thunks).
31669         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31670         include.
31671         (common-generated): Do not add s-proto-bp.d.
31672         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31673         (int): Likewise.
31674         (typ): Likewise.
31675         Do not generate makefile rules for bounded-pointer thunks.
31676         * sysdeps/generic/bp-thunks.h: Remove file.
31677         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31678         * sysdeps/unix/s-proto-bp.S: Likewise.
31680         [BZ #15062]
31681         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31682         parts of result separately when argument is not close to line from
31683         -i to i and one part of argument is small.
31684         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31685         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31686         * math/libm-test.inc (cacos_test): Add more tests.
31687         (casin_test): Likewise.
31688         (casinh_test): Likewise.
31689         * sysdeps/i386/fpu/libm-test-ulps: Update.
31690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31692 2013-01-31  David S. Miller  <davem@davemloft.net>
31694         * po/de.po: Update from translation team.
31696 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
31698         * time/tzfile.c: Include stdint.h for SIZE_MAX.
31700 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
31702         * configure.in (_AC_PROG_CC_C89): New definition.
31703         * configure: Regenerate.
31705         * configure.in (AC_PROG_CPP): New definition.
31706         * configure: Regenerate.
31708 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31710         * debug/tst-backtrace.h: New file.
31711         * debug/tst-backtrace2.c: Include tst-backtrace.h.
31712         (ret): Remove variable.
31713         (x): Likewise.
31714         (FAIL): Remove macro.
31715         (NO_INLINE): Likewise.
31716         (fn1): Use match function instead of strstr.
31717         * debug/tst-backtrace3.c: Include tst-backtrace.h.
31718         (ret): Remove variable.
31719         (x): Likewise.
31720         (FAIL): Remove macro.
31721         (NO_INLINE): Likewise.
31722         (fn): Use match function instead of strstr.
31723         * debug/tst-backtrace4.c: Include tst-backtrace.h.
31724         (ret): Remove variable.
31725         (x): Likewise.
31726         (FAIL): Remove macro.
31727         (NO_INLINE): Likewise.
31728         (handle_signal): Use match function instead of strstr.
31729         * debug/tst-backtrace5.c: Include tst-backtrace.h.
31730         (ret): Remove variable.
31731         (x): Likewise.
31732         (FAIL): Remove macro.
31733         (NO_INLINE): Likewise.
31734         (handle_signal): Use match function instead of strstr.
31736 2013-01-23  Roland McGrath  <roland@hack.frob.com>
31738         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31740 2013-01-23  David S. Miller  <davem@davemloft.net>
31742         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31743         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31744         argument of CAS if possible.
31745         * sysdeps/sparc/sparc64/bits/atomic.h
31746         (__arch_compare_and_exchange_val_32_acq): Likewise.
31747         (__arch_compare_and_exchange_val_64_acq): Likewise.
31749 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
31751         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31752         * sysdeps/posix/ulimit.c: ... this.
31753         Include <limits.h>.
31754         * sysdeps/unix/bsd/ulimit.c: Remove file.
31756 2013-01-23  Adam Conrad  <adconrad@0c3.net>
31758         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31759         (LDFLAGS-tst-array5): Likewise.
31761 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31763         [BZ #15036]
31764         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31765         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31766         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31767         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31769 2013-01-21  David S. Miller  <davem@davemloft.net>
31771         * sysdeps/sparc/backtrace.c: New file.
31772         * sysdeps/sparc/sparc32/backtrace.h: New file.
31773         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31774         * sysdeps/sparc/sparc64/backtrace.h: New file.
31775         * sysdeps/sparc/sparc64/backtrace.c: Delete.
31776         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31777         -funwind-tables.
31779 2013-01-21  Andreas Schwab  <schwab@suse.de>
31781         [BZ #15020]
31782         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31783         closed its stdout.
31785 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
31787         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31788         "mpa2.h".
31789         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31791 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
31792             Mark Mitchell  <mark@codesourcery.com>
31793             Tom de Vries  <tom@codesourcery.com>
31794             Paul Pluzhnikov  <ppluzhnikov@google.com>
31796         * debug/tst-backtrace2.c: New file.
31797         * debug/tst-backtrace3.c: Likewise.
31798         * debug/tst-backtrace4.c: Likewise.
31799         * debug/tst-backtrace5.c: Likewise.
31800         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31801         (CFLAGS-tst-backtrace3.c): Likewise.
31802         (CFLAGS-tst-backtrace4.c): Likewise.
31803         (CFLAGS-tst-backtrace5.c): Likewise.
31804         (LDFLAGS-tst-backtrace2): Likewise.
31805         (LDFLAGS-tst-backtrace3): Likewise.
31806         (LDFLAGS-tst-backtrace4): Likewise.
31807         (LDFLAGS-tst-backtrace5): Likewise.
31808         (tests): Add new tests tst-backtrace2, tst-backtrace3,
31809         tst-backtrace4 and tst-backtrace5.
31811 2013-01-18  Anton Blanchard  <anton@samba.org>
31812             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31814         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31815         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31816         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31817         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31819         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31820         "+r" and remove output regs list as redundant.  Add explicit inline
31821         asm to specify register of return val to work around compiler codegen
31822         bug.  Remove (int) cast on return value.  Add return type parameter to
31823         use in macro so that this macro does not truncate return value for
31824         64-bit values.
31825         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31826         pass to INTERNAL_VSYSCALL_NCS.
31827         (INLINE_VSYSCALL): Add 'long int' as return type to
31828         INTERNAL_VSYSCALL_NCS macro invocation.
31829         (INTERNAL_VSYSCALL): Add 'long int' as return type to
31830         INTERNAL_VSYSCALL_NCS macro invocation.
31831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31833 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31835         [BZ #14496]
31836         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31837         Fix application of SIMD FP exception mask.
31839         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31840         mp_no from a power of two.
31841         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31842         __mpexp_twomm1.  Use __pow_mp.
31844         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31845         multiplication.
31847 2013-01-17  David S. Miller  <davem@davemloft.net>
31849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31851 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
31853         [BZ #15023]
31854         * include/complex.h: Condition contents on [!_COMPLEX_H].
31855         (__kernel_casinhf): New prototype.
31856         (__kernel_casinh): Likewise.
31857         (__kernel_casinhl): Likewise.
31858         * math/Makefile (libm_calls): Add k_casinh.
31859         * math/k_casinh.c: New file.
31860         * math/k_casinhf.c: Likewise.
31861         * math/k_casinhl.c: Likewise.
31862         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31863         finite nonzero arguments.
31864         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31865         finite nonzero arguments.
31866         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31867         finite nonzero arguments.
31868         * math/s_casinh.c: Do not include <float.h>.
31869         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31870         * math/s_casinhf.c: Do not include <float.h>.
31871         (__casinhf): Move code for finite nonzero arguments to
31872         k_casinhf.c.
31873         * math/s_casinhl.c: Do not include <float.h>.
31874         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31875         redefine.
31876         (__casinhl): Move code for finite nonzero arguments to
31877         k_casinhl.c.
31878         * math/libm-test.inc (cacos_test): Add more tests.
31879         * sysdeps/i386/fpu/libm-test-ulps: Update.
31880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31882 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
31884         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31885         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31886         [!HAVE_MREMAP]: Remove [defined linux] case.
31887         * malloc/arena.c: Do not include <malloc-sysdep.h>.
31889 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31891         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31893 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
31895         * elf/elf.h (R_386_SIZE32): New relocation.
31896         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31897         R_386_SIZE32.
31898         (elf_machine_rela): Likewise.
31899         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31900         R_X86_64_SIZE64 and R_X86_64_SIZE32.
31902 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
31904         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31905         (FP_FAST_FMA): Do not define.
31906         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31907         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31908         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31909         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31910         !_SOFT_FLOAT]: Likewise.
31911         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31912         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31913         value.
31914         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31915         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31916         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31917         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31918         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31919         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31920         file.
31922 2013-01-16  Andreas Schwab  <schwab@suse.de>
31924         [BZ #14327]
31925         * include/stdlib.h (__mktemp): Add declaration.
31926         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31927         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31929 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31931         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31932         definitions.
31933         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31934         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31935         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31936         definitions here.
31937         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31938         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31939         definitions.
31940         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31941         and ONE.
31942         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31943         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31944         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31945         definitions.
31946         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31947         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31948         definitions.
31949         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31951         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31953 2013-01-15  David S. Miller  <davem@davemloft.net>
31955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31956         trunc{,f} to libm-sysdep_routes.
31957         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31959         file.
31960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31962         file.
31963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31964         file.
31965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31967         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31968         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31969         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31970         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31971         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31972         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31975         nearbyint{,f} to libm-sysdep_routes.
31976         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31978         New file.
31979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31980         file.
31981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31982         New file.
31983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31984         file.
31985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31987         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31988         file.
31989         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31990         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31991         file.
31992         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31993         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31994         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31996         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31997         libc_feholdexcept and libc_fesetenv.
31999 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
32001         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32003 2013-01-14  David S. Miller  <davem@davemloft.net>
32005         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32006         (SPARC_ASM_VIS2_IFUNC): Likewise.
32007         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32009         use of 'siam' instruction.
32010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32011         Likewise.
32012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32013         Likewise.
32014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32015         Likewise.
32016         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32017         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32018         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32019         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32021         file.
32022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32023         file.
32024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32025         file.
32026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32027         file.
32028         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32029         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32030         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32031         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32033         new VIS2 routines.
32034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32037         Likewise.
32038         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32039         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32040         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32041         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32043         routines to libm-sysdep_routines.
32044         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32047         fdim/fdimf to libm-sysdep_routines.
32048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32049         file.
32050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32052         file.
32053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32056         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32057         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32058         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32059         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32061 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32063         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32064         to optimize copies.
32066         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32068         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32070         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32071         local variable MPTWO.
32072         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32073         Likewise.
32075 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32077         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32078         GLOB_NOESCAPE.
32080 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32082         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32084 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32086         * manual/pattern.texi (glob_t): Document gl_flags.
32087         (glob64_t): Likewise.
32089 2013-01-11  David S. Miller  <davem@davemloft.net>
32091         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32092         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32093         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
32094         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32095         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32096         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32097         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32098         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32099         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32100         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32101         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32102         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32103         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32105         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32106         sparc V9 rather than using V8 code.
32107         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32108         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32110         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32111         Move to...
32112         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32113         Here.
32115 2013-01-11  Roland McGrath  <roland@hack.frob.com>
32117         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32118         not in the main loop.
32119         * configure: Regenerated.
32121 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
32123         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32124         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32125         to just #else.
32126         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
32127         [!__GLIBC_HAVE_LONG_LONG] case.
32128         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32129         condition to just #else.
32130         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32131         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32132         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32133         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32134         unconditional.
32135         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32136         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32137         #elif condition to just #else.
32138         * sysdeps/unix/sysv/linux/sys/sysmacros.h
32139         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32140         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32141         #elif condition to just #else.
32143 2013-01-11  Steve Ellcey  <sellcey@mips.com>
32145         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32146         (EF_MIPS_ARCH_64): Fix value.
32147         (EF_MIPS_ARCH_32R2): New.
32148         (EF_MIPS_ARCH_64R2): New.
32150 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
32152         * Makeconfig (+link-pie-before-libc): New.
32153         (+link-pie-after-libc): Likewise.
32154         (+link-pie-tests): Likewise.
32155         (+link-pie): Rewritten.
32156         (link-before-libc): Remove $(config-LDFLAGS).
32157         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32158         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32159         (config-LDFLAGS): Renamed to ...
32160         (rtld-LDFLAGS): This.
32161         (rtld-tests-LDFLAGS): New macro.
32162         (link-libc-rpath-link): Likewise.
32163         (link-libc-tests-rpath-link): Likewise.
32164         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32165         (link-libc): Prepand $(link-libc-rpath-link).
32166         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32167         (test-program-prefix): New macro.
32168         (test-via-rtld-prefix): Likewise.
32169         (test-program-cmd): Likewise.
32170         (host-test-program-cmd): Likewise.
32171         * Makefile ($(common-objpfx)testrun.sh): Replace
32172         $(run-program-prefix) with $(test-program-prefix).
32173         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32174         $(rtld-LDFLAGS).
32175         ($(common-objpfx)shlib.lds): Likewise.
32176         (build-module-helper): Likewise.
32177         ($(common-objpfx)format.lds): Likewise.
32178         * Rules (binaries-pie-tests): New.
32179         (binaries-pie-notests): Likewise.
32180         (binaries-pie): Rewritten.
32181         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32182         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32183         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32184         (make-test-out): Replace $(host-built-program-cmd) with
32185         $(host-test-program-cmd).
32186         * config.make.in (build-hardcoded-path-in-tests): New variable.
32187         * configure.in (--enable-hardcoded-path-in-tests): New configure
32188         option.
32189         (hardcoded_path_in_tests): New AC_SUBST.
32190         * configure: Regenerated.
32191         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32192         $(built-program-cmd) with $(test-program-cmd).
32193         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32194         (test_program_cmd): This.
32195         * elf/Makefile ($(objpfx)order.out): Run test with
32196         $(test-program-prefix).
32197         ($(objpfx)order2.out): Likewise.
32198         ($(objpfx)tst-initorder.out): Likewise.
32199         ($(objpfx)tst-initorder2.out): Likewise.
32200         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32201         $(test-program-cmd).
32202         ($(objpfx)tst-array1-static.out): Likewise.
32203         ($(objpfx)tst-array2.out): Likewise.
32204         ($(objpfx)tst-array3.out): Likewise.
32205         ($(objpfx)tst-array4.out): Likewise.
32206         ($(objpfx)tst-array5.out): Likewise.
32207         ($(objpfx)tst-array5-static.out): Likewise.
32208         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32209         $(test-program-cmd).
32210         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32211         $(run-program-prefix) with $(test-program-prefix).
32212         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32213         (test_program_prefix): This.
32214         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32215         $(run-program-prefix) with $(test-program-prefix).
32216         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32217         (test_program_prefix): This.
32218         * iconvdata/tst-tables.sh: Likewise.
32219         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32220         $(run-program-prefix) with $(test-program-prefix).
32221         ($(objpfx)tst-translit.out): Likewise.
32222         ($(objpfx)tst-gettext2.out): Likewise.
32223         ($(objpfx)tst-gettext4.out): Likewise.
32224         ($(objpfx)tst-gettext6.out): Likewise.
32225         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32226         (test_program_prefix): This.
32227         * intl/tst-gettext2.sh: Likewise.
32228         * intl/tst-gettext4.sh  Likewise.
32229         * intl/tst-gettext6.sh: Likewise.
32230         * intl/tst-translit.sh: Likewise.
32231         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32232         with $(test-program-cmd).
32233         * libio/Makefile ($(objpfx)test-freopen.out): Replace
32234         $(run-program-prefix) with $(test-program-prefix).
32235         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32236         (test_program_prefix): This.
32237         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32238         $(run-program-prefix) with $(test-program-prefix).
32239         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32240         (test_program_prefix): This.
32241         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32242         * posix/Makefile ($(objpfx)globtest.out): Replace
32243         $(run-via-rtld-prefix) and $(test-wrapper) with
32244         $(test-program-prefix) and $(test-via-rtld-prefix).
32245         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32246         $(test-program-prefix).
32247         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32248         $(host-test-program-cmd).
32249         (tst-spawn-ARGS): Likewise.
32250         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32251         $(test-program-prefix).
32252         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32253         (test_via_rtld_prefix): This.
32254         (test_wrapper): Renamed to ...
32255         (test_program_prefix): This.
32256         (run_program_prefix): Replaced by test_program_prefix.
32257         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32258         (test_program_prefix): This.
32259         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32260         with $(host-test-program-cmd).
32261         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32262         $(run-program-prefix) with $(test-program-prefix).
32263         ($(objpfx)tst-printf.out): Likewise.
32264         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32265         $(test-program-cmd).
32266         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32267         (test_program_prefix): This.
32268         * stdio-common/tst-unbputc.sh: Likewise.
32269         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32270         $(run-program-prefix) with $(test-program-prefix).
32271         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32272         (test_program_prefix): This.
32273         * string/Makefile ($(objpfx)tst-svc.out):  Replace
32274         $(built-program-cmd) with $(test-program-cmd).
32276 2013-01-11  Andreas Jaeger  <aj@suse.de>
32278         [BZ #15003]
32279         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32280         value. Sync with Linux 3.7.
32282 2013-01-10  David S. Miller  <davem@davemloft.net>
32284         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32285         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32286         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32288 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32290         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32291         never set.
32292         * configure: Regenerated.
32294 2013-01-10  David S. Miller  <davem@davemloft.net>
32296         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32297         sparc V9 rather than using V8 code.
32298         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32299         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32301 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32303         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32304         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32305         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32306         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32307         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32308         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32309         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32310         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32311         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32312         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32313         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32314         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32315         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32316         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32317         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32318         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32319         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32320         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32321         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32322         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32323         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32324         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32325         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32326         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32327         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32328         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32329         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32331 2013-01-10  David S. Miller  <davem@davemloft.net>
32333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32335 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32337         * posix/Makefile (tests-static): New variable.
32338         (tests): Add $(tests-static).
32339         (tst-exec-static-ARGS): New variable.
32340         (tst-spawn-static-ARGS): Likewise.
32341         * posix/tst-exec-static.c: New file.
32342         * posix/tst-spawn-static.c: Likewise.
32343         * posix/tst-exec.c: Support run directly.
32344         * posix/tst-spawn.c: Likewise.
32346 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
32348         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32349         long.
32350         * math/bits/mathcalls.h (llrint): Likewise.
32351         (llround): Likewise.
32352         * stdlib/stdlib.h (struct drand48_data): Likewise.
32353         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32354         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32355         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32356         Likewise.
32357         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32358         Likewise.
32359         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32360         (elf_greg_t): Likewise.
32361         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32362         (__jmp_buf): Likewise.
32363         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32364         definitions.
32365         (llrint): Likewise, for all definitions.
32366         (llrintl): Likewise.
32368         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32369         Remove [__GNUC__] condition.
32370         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32371         condition to just [__USE_ISOC99].
32372         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32374 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32376         [BZ #14200]
32377         * sysdeps/unix/sysv/linux/x86/bits/environments.h
32378         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32379         defined.
32380         (_POSIX_V6_ILP32_OFF32): Likewise.
32381         (_XBS5_ILP32_OFF32): Likewise.
32382         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32383         (__ILP32_OFFBIG_LDFLAGS): Likewise.
32385 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32387         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32389         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32390         doubles __mpexp_twomm1.  Adjust usage.
32391         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32392         Remove.
32394 2013-01-10  Andreas Schwab  <schwab@suse.de>
32396         [BZ #14964]
32397         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32398         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32400 2013-01-09  David S. Miller  <davem@davemloft.net>
32402         [BZ #15003]
32403         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32404         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32405         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32406         (TCP_FASTOPEN): Define.
32407         (tcp_repair_opt): New structure.
32408         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32409         enum values.
32410         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32411         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32412         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32413         (tcp_cookie_transactions): New structure.
32415 2013-01-09  Anton Blanchard  <anton@samba.org>
32417         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32418         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32419         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32420         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32422 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
32424         * include/features.h (__USE_ANSI): Remove.
32426 2013-01-09  Roland McGrath  <roland@hack.frob.com>
32428         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32430         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32432 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32434         * sysdeps/s390/fpu/libm-test-ulps: Update.
32436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32438         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32439         (__acr): Likewise.
32440         (__cpy): Likewise.
32441         (norm): Likewise.
32442         (denorm): Likewise.
32443         (__mp_dbl): Likewise.
32444         (__dbl_mp): Likewise.
32445         (add_magnitudes): Likewise.
32446         (sub_magnitudes): Likewise.
32447         (__add): Likewise.
32448         (__sub): Likewise.
32449         (__mul): Likewise.
32450         (__inv): Likewise.
32451         (__dvd): Likewise.
32452         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32453         (__acr): Likewise.
32454         (__cpy): Likewise.
32455         (norm): Likewise.
32456         (denorm): Likewise.
32457         (__mp_dbl): Likewise.
32458         (__dbl_mp): Likewise.
32459         (add_magnitudes): Likewise.
32460         (sub_magnitudes): Likewise.
32461         (__add): Likewise.
32462         (__sub): Likewise.
32463         (__mul): Likewise.
32464         (__inv): Likewise.
32465         (__dvd): Likewise.
32466         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32467         (__acr): Likewise.
32468         (__cpy): Likewise.
32469         (norm): Likewise.
32470         (denorm): Likewise.
32471         (__mp_dbl): Likewise.
32472         (__dbl_mp): Likewise.
32473         (add_magnitudes): Likewise.
32474         (sub_magnitudes): Likewise.
32475         (__add): Likewise.
32476         (__sub): Likewise.
32477         (__mul): Likewise.
32478         (__inv): Likewise.
32479         (__dvd): Likewise.
32481 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
32483         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32484         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32485         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32486         2 && __USE_EXTERN_INLINES]: Likewise.
32488 2013-01-08  Andreas Jaeger  <aj@suse.de>
32490         [BZ# 14985]
32491         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32492         Remove.
32493         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32494         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32496 2013-01-07  Anton Blanchard  <anton@samba.org>
32498         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32499         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32500         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32501         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32502         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32503         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32504         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32505         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32506         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32507         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32508         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32509         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32510         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32511         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32512         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32513         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32514         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32515         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32516         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32517         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32518         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32519         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32520         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32521         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32522         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32523         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32524         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32525         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32526         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32527         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32528         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32529         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32530         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32531         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32532         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32533         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32534         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32535         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32536         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32537         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32538         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32539         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32540         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32542 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
32544         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32545         (__MALLOC_PMT): Likewise.
32546         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32547         [__GNUC__], only on [_LIBC].
32548         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32549         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32550         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32551         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32552         forward declaration.
32553         (realloc_hook_ini): Likewise.
32554         (memalign_hook_ini): Likewise.
32555         (__libc_memalign): Do not use __MALLOC_PMT in variable
32556         declaration.
32557         (__libc_valloc): Likewise.
32558         (__libc_pvalloc): Likewise.
32559         (__libc_calloc): Likewise.
32560         (__posix_memalign): Likewise.
32562         [BZ #14996]
32563         * math/s_casinh.c: Include <float.h>.
32564         (__casinh): Do not do computation with squaring and square root
32565         for large arguments.
32566         * math/s_casinhf.c: Include <float.h>.
32567         (__casinhf): Do not do computation with squaring and square root
32568         for large arguments.
32569         * math/s_casinhl.c: Include <float.h>.
32570         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32571         (__casinhl): Do not do computation with squaring and square root
32572         for large arguments.
32573         * math/libm-test.inc (casin_test): Add more tests.
32574         (casinh_test): Likewise.
32575         * sysdeps/i386/fpu/libm-test-ulps: Update.
32576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32578 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
32580         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32581         (__x86_64_raw_data_cache_size): Likewise.
32582         (__x86_64_data_cache_size_half): Likewise.
32583         (__x86_64_raw_data_cache_size_half): Likewise.
32584         (__x86_64_shared_cache_size): Likewise.
32585         (__x86_64_raw_shared_cache_size): Likewise.
32586         (__x86_64_shared_cache_size_half): Likewise.
32587         (__x86_64_raw_shared_cache_size_half): Likewise.
32588         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32589         to ...
32590         (__x86_data_cache_size): This.
32591         (__x86_64_raw_data_cache_size): Renamed to ...
32592         (__x86_raw_data_cache_size): This.
32593         (__x86_64_data_cache_size_half): Renamed to ...
32594         (__x86_data_cache_size_half): This.
32595         (__x86_64_raw_data_cache_size_half): Renamed to ...
32596         (__x86_raw_data_cache_size_half): This.
32597         (__x86_64_shared_cache_size): Renamed to ...
32598         (__x86_shared_cache_size): This.
32599         (__x86_64_raw_shared_cache_size): Renamed to ...
32600         (__x86_raw_shared_cache_size): This.
32601         (__x86_64_shared_cache_size_half): Renamed to ...
32602         (__x86_shared_cache_size_half): This.
32603         (__x86_64_raw_shared_cache_size_half): Renamed to ...
32604         (__x86_raw_shared_cache_size_half): This.
32605         * sysdeps/x86_64/memcpy.S: Updated.
32606         * sysdeps/x86_64/memset.S: Likewise.
32607         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32608         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32609         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32611 2013-01-04  David S. Miller  <davem@davemloft.net>
32613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32615 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
32617         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32618         1 to avoid redefinition warning.
32619         (__USE_GNU): Don't define.
32620         (init_signaling_nan): Protoize.
32622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32624 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32626         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32627         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32628         (__cpymn): Likewise.
32629         (norm): Remove commented code.
32630         (denorm): Likewise.
32631         (__mp_dbl): Likewise.
32632         (__inv): Likewise.
32633         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32634         (__cpymn): Likewise.
32635         (norm): Remove commented code.
32636         (denorm): Likewise.
32637         (__mp_dbl): Likewise.
32638         (__inv): Likewise.
32640         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32641         mp_no value for 1.0 and 2.0.
32642         (norm): Use RADIXI instead of radixi.d.
32643         (denorm): Likewise.
32644         (__mul): Use 0.0 instead of zero.d.
32645         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32646         mp_no value for 1.0 and 2.0.
32647         (norm): Use RADIXI instead of radixi.d.
32648         (denorm): Likewise.
32649         (__mul): Use 0.0 instead of zero.d.
32651 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
32653         [BZ #14994]
32654         * math/s_casinh.c (__casinh): Reduce finite argument to first
32655         quadrant then set signs of results at the end.
32656         * math/s_casinhf.c (__casinhf): Likewise.
32657         * math/s_casinhl.c (__casinhl): Likewise.
32658         * math/libm-test.inc (casin_test): Add more tests.
32659         (casinh_test): Likewise.
32660         * sysdeps/i386/fpu/libm-test-ulps: Update.
32661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32663 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32665         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32667         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32669         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32670         declarations.
32671         (denorm): Likewise.
32672         (__mp_dbl): Likewise.
32673         (__inv): Likewise.
32675         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32676         and adjust the header comment.
32678         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32679         variable name from declaration.
32681 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
32683         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32684         Initialize COMMON_CPUID_INDEX_7 element.
32685         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32686         (CPUID_RTM): Likewise.
32687         (HAS_RTM): Likewise.
32688         (COMMON_CPUID_INDEX_7): New enum.
32690 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
32692         [BZ #14981]
32693         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32694         size is zero, record memory as freed.
32696 2013-01-03  Andreas Jaeger  <aj@suse.de>
32698         * po/ia.po: Add new Interlingua translation.
32700 2012-01-03  Allan McRae  <allan@archlinux.org>
32702         * locale/programs/localedef.c: Fix description of '--posix' flag.
32704 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
32706         * NEWS: Update dates in second copyright notice.
32707         * README: Update copyright dates in example.
32708         * manual/libc.texinfo: Update copyright dates.
32709         * scripts/test-installation.pl: Update copyright date in --version
32710         output.
32712         * hurd/ctty-input.c: Fix copyright notice formatting.
32713         * hurd/ctty-output.c: Likewise.
32714         * hurd/dtable.c: Likewise.
32715         * hurd/hurd-raise.c: Likewise.
32716         * hurd/hurdprio.c: Likewise.
32717         * hurd/msgportdemux.c: Likewise.
32718         * misc/sys/file.h: Likewise.
32719         * misc/sys/ioctl.h: Likewise.
32720         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32721         * sysdeps/mach/hurd/chdir.c: Likewise.
32722         * sysdeps/mach/hurd/fchdir.c: Likewise.
32723         * sysdeps/mach/hurd/rename.c: Likewise.
32724         * sysdeps/mach/hurd/rmdir.c: Likewise.
32725         * sysdeps/mach/hurd/seekdir.c: Likewise.
32726         * sysdeps/mach/hurd/setsid.c: Likewise.
32727         * sysdeps/posix/wait3.c: Likewise.
32729         * All files with FSF copyright notices: Update copyright dates
32730         using scripts/update-copyrights.
32731         * intl/plural.c: Regenerated.
32732         * locale/programs/charmap-kw.h: Likewise.
32733         * locale/programs/locfile-kw.h: Likewise.
32735 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32737         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32738         four values.
32740         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32741         calculation loop and add branch prediction.
32743         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32744         check access beyond bounds of m1np.
32746         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32747         MPTWO.
32748         (__inv): Remove local variable MPTWO to use the global
32749         constant.
32750         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32751         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32752         variable MPTWO.
32753         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32754         MP3HALFS static const.
32756 2013-01-01  David S. Miller  <davem@davemloft.net>
32758         * po/ca.po: Update from translation team.
32760 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
32762         * scripts/update-copyrights: New file.
32763         * Makeconfig: Reformat copyright notice.
32764         * ctype/ctype.h: Likewise.
32765         * debug/swprintf_chk.c: Likewise.
32766         * elf/dl-cache.c: Likewise.
32767         * elf/dl-debug.c: Likewise.
32768         * elf/dl-object.c: Likewise.
32769         * grp/initgroups.c: Likewise.
32770         * hurd/Makefile: Likewise.
32771         * hurd/hurd/signal.h: Likewise.
32772         * hurd/hurdfault.c: Likewise.
32773         * hurd/hurdioctl.c: Likewise.
32774         * hurd/hurdlookup.c: Likewise.
32775         * hurd/intr-msg.c: Likewise.
32776         * iconv/gconv_open.c: Likewise.
32777         * libio/swprintf.c: Likewise.
32778         * locale/lc-ctype.c: Likewise.
32779         * locale/nl_langinfo.c: Likewise.
32780         * mach/Machrules: Likewise.
32781         * mach/Makefile: Likewise.
32782         * malloc/obstack.h: Likewise.
32783         * manual/Makefile: Likewise.
32784         * manual/tsort.awk: Likewise.
32785         * misc/bits/stab.def: Likewise.
32786         * nis/nis_print_group_entry.c: Likewise.
32787         * nis/nis_table.c: Likewise.
32788         * nis/nss_compat/compat-pwd.c: Likewise.
32789         * nis/nss_compat/compat-spwd.c: Likewise.
32790         * po/Makefile: Likewise.
32791         * posix/fnmatch.c: Likewise.
32792         * posix/regex.h: Likewise.
32793         * resolv/Makefile: Likewise.
32794         * resolv/nss_dns/dns-network.c: Likewise.
32795         * resolv/res_hconf.c: Likewise.
32796         * scripts/gen-sorted.awk: Likewise.
32797         * soft-fp/soft-fp.h: Likewise.
32798         * stdio-common/printf.h: Likewise.
32799         * stdlib/monetary.h: Likewise.
32800         * stdlib/random.c: Likewise.
32801         * stdlib/random_r.c: Likewise.
32802         * sysdeps/generic/Makefile: Likewise.
32803         * sysdeps/gnu/Makefile: Likewise.
32804         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32805         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32806         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32807         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32808         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32809         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32810         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32811         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32812         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32813         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32814         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32815         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32816         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32817         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32818         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32819         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32820         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32821         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32822         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32823         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32824         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32825         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32826         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32827         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32828         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32829         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32830         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32831         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32832         * sysdeps/mach/hurd/errnos.awk: Likewise.
32833         * sysdeps/mach/hurd/fork.c: Likewise.
32834         * sysdeps/mach/hurd/getcwd.c: Likewise.
32835         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32836         * sysdeps/mach/hurd/mmap.c: Likewise.
32837         * sysdeps/mach/hurd/utimes.c: Likewise.
32838         * sysdeps/mach/hurd/xmknod.c: Likewise.
32839         * sysdeps/posix/profil.c: Likewise.
32840         * sysdeps/posix/readdir_r.c: Likewise.
32841         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32842         * sysdeps/powerpc/bits/setjmp.h: Likewise.
32843         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32844         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32845         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32846         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32847         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32848         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32849         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32850         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32851         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32852         * sysdeps/pthread/lio_listio.c: Likewise.
32853         * sysdeps/sparc/dl-procinfo.h: Likewise.
32854         * sysdeps/unix/i386/sysdep.S: Likewise.
32855         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32856         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32857         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32858         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32860         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32861         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32862         * sysdeps/unix/sysv/linux/speed.c: Likewise.
32863         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32864         * sysdeps/wordsize-32/divdi3.c: Likewise.
32865         * time/sys/time.h: Likewise.
32866         * wcsmbs/Makefile: Likewise.
32868 2013-01-01  David S. Miller  <davem@davemloft.net>
32870         * po/fr.po: Update from translation team.
32872         * catgets/gencat.c: Update copyright year.
32873         * csu/version.c: Likewise.
32874         * debug/catchsegv.sh: Likewise.
32875         * debug/pcprofiledump.c: Likewise.
32876         * debug/xtrace.sh: Likewise.
32877         * elf/ldconfig.c: Likewise.
32878         * elf/ldd.bash.in: Likewise.
32879         * elf/pldd.c: Likewise.
32880         * elf/sotruss.ksh: Likewise.
32881         * elf/sprof.c: Likewise.
32882         * iconv/iconv_prog.c: Likewise.
32883         * iconv/iconvconfig.c: Likewise.
32884         * locale/programs/locale.c: Likewise.
32885         * locale/programs/localedef.c: Likewise.
32886         * login/programs/pt_chown.c: Likewise.
32887         * malloc/memusage.sh: Likewise.
32888         * malloc/memusagestat.c: Likewise.
32889         * malloc/mtrace.pl: Likewise.
32890         * nscd/nscd.c: Likewise.
32891         * nss/getent.c: Likewise.
32892         * nss/makedb.c: Likewise.
32893         * posix/getconf.c: Likewise.
32895 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32897         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32898         numbers.
32900 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
32902         * math/bits/mathcalls.h (modf): Use __nonnull.
32904 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32906         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32907         (split): Use macro CN instead of the bare value.
32908         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32909         could be used.
32910         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32911         instead of the bare value.
32912         (power1): Likewise.
32914 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32916         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32917         __ATAN_TWOM.
32918         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32920         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32921         their values.
32922         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32923         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32924         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32925         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32927 2012-12-28  Andreas Jaeger  <aj@suse.de>
32929         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
32930         values are from Linux 3.7.
32932         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32933         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
32935 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32937         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32938         TRUE case.
32940         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32941         (norm): Likewise.
32942         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32943         variables with preprocessor constants.
32944         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32945         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32946         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32948 2012-12-27  Bruno Haible  <bruno@clisp.org>
32950         [BZ #14317]
32951         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32952         only if needed.
32954 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32956         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32957         and use variable directly.
32958         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32960         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32961         MPONE.
32962         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32963         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32964         variable MPONE.
32965         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32966         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32967         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32968         include directive.  Remove local variable MPONE.
32969         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32970         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32971         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32973 2012-12-25  David S. Miller  <davem@davemloft.net>
32975         * version.h (RELEASE): Set to "development".
32976         (VERSION): Set to "2.17.90".
32977         * NEWS: Add 2.18 section.
32979 2012-12-21  David S. Miller  <davem@davemloft.net>
32981         * po/hr.po: Update from translation team.
32983 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32985         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32987 2012-12-19  Steve Ellcey  <sellcey@mips.com>
32989         * NEWS:  Mention new memcpy for MIPS.
32991 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32993         * manual/contrib.texi (Contributors): Spelling correction.
32995 2012-12-15  David S. Miller  <davem@davemloft.net>
32997         * po/ru.po: Update from translation team.
32999 2012-12-13  David S. Miller  <davem@davemloft.net>
33001         * NEWS: Mention IFUNC testsuite enhancements.
33003         * po/pl.po: Update from translation team.
33004         * po/bg.po: Likewise.
33006         * manual/contrib.texi (Contributors): Update entries for Hongjiu
33007         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
33009 2012-12-11  David S. Miller  <davem@davemloft.net>
33011         * po/sv.po: Update from translation team.
33013         * po/vi.po: Update from translation team.
33015         * po/cs.po: Update from translation team.
33017         * po/de.po: Update from translation team.
33018         * po/eo.po: Likewise.
33019         * po/nl.po: Likewise.
33021 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33023         [BZ #14246]
33024         * manual/argp.texi (Argp Helper Functions): Move node to follow
33025         Argp Parsing State.
33027         [BZ #14872]
33028         * manual/conf.texi (Limits on File System Capacity): Mention if
33029         terminating null is included in the max size.
33031 2012-12-10  Andreas Jaeger  <aj@suse.de>
33033         * po/cs.po: Update from translation team.
33035 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33037         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33038         void pointer and cast to uintptr_t.
33039         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33040         path.
33041         * sysdeps/s390/s390-64/memcpy.S: Likewise.
33042         * sysdeps/s390/s390-64/memset.S: Likewise.
33044 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
33046         [BZ #14833]
33047         * menual/message.texi (Message Translation): Fix typos.
33048         (Helper programs for gettext): Likewise.
33050 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
33052         [BZ #14898]
33053         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33054         Change to -1.
33056 2012-12-07  David S. Miller  <davem@davemloft.net>
33058         * po/libc.pot: Update.
33060 2012-12-07  Richard Henderson  <rth@redhat.com>
33062         [BZ #10114]
33063         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33064         normal/normal case to before the switch.
33065         (_FP_DIV): Likewise.
33067 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
33068             Mike Frysinger  <vapier@gentoo.org>
33070         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33071         check for __NR_fadvise64_64.
33073 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
33075         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33076         0, not just to plain "0" as a statement.
33077         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33078         with cw.
33080 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
33082         * NEWS: Use sourceware.org in Bugzilla URL.
33084 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33087         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33089         * stdio-common/tst-put-error.c (do_test): Add newline to the
33090         padded test to ensure flush.
33092 2012-12-05  Jeff Law  <law@redhat.com>
33094         * sunrpc/etc.rpc (fedfs_admin): Add entry.
33096 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
33098         * README: Don't refer to ports add-on as distributed separately.
33099         Mention AArch64 in list of systems supported in the ports add-on.
33101         * LICENSES: Add more non-FSF copyright and license notices.
33103         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33104         ((unused)).
33106         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33108         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33109         10000 as width of padded output.
33111 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33113         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33115         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33116         variable LX with __attribute__ ((unused)).
33117         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33118         Likewise.
33119         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33120         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33121         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33122         with __attribute__ ((unused)).
33124 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
33126         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33128 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33130         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33131         (CFLAGS-nldbl-acos.c): New variable.
33132         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33133         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33134         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33135         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33136         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33137         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33138         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33139         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33140         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33141         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33142         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33143         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33144         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33145         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33146         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33147         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33148         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33149         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33150         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33151         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33152         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33153         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33154         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33155         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33156         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33157         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33158         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33159         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33160         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33161         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33162         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33163         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33164         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33165         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33166         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33167         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33168         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33169         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33170         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33171         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33172         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33173         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33174         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33175         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33176         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33177         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33178         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33179         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33180         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33181         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33182         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33183         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33184         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33185         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33186         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33187         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33188         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33189         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33190         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33191         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33192         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33193         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33194         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33195         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33196         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33197         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33198         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33199         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33200         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33201         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33202         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33203         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33204         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33205         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33206         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33207         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33208         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33209         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33210         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33211         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33212         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33213         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33214         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33215         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33216         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33217         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33218         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33219         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33220         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33221         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33222         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33223         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33224         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33225         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33226         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33227         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33228         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33231         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33233         [BZ #14914]
33234         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33235         whole low double instead of just low 47 bits when splitting values
33236         into two parts.
33238 2012-12-03  Allan McRae  <allan@archlinux.org>
33240         * manual/stdio.texi (Predefined Printf Handlers): Remove
33241         @hsep and @vsep usage.
33243 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
33245         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33246         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33248 2012-12-03  Jeff Law  <law@redhat.com>
33250         * time/sys/time.h (settimeofday): Do not mark TV argument
33251         as __nonnull.
33253 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
33255         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33256         when currently writing and seek to current position when not.
33257         * libio/Makefile (tests): Remove bug-fclose1.
33258         * libio/bug-fclose1.c: Delete.
33260 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
33262         * manual/arith.texi (feenableexcept): Fix typo.
33263         (fedisableexcept): Likewise.
33265 2012-11-30  Roland McGrath  <roland@hack.frob.com>
33267         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33268         second, differently-typed declaration, rather than a cast.
33270 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33272         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33273         * include/rpc/svc.h: ... here.
33275 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
33277         [BZ #13013]
33278         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33279         depending n and resplen2 to catch cases where answer
33280         equals answerp2.
33282 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
33284         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33285         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33287 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
33289         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33291 2012-11-29  Roland McGrath  <roland@hack.frob.com>
33293         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33295 2012-11-28  Jeff Law  <law@redhat.com>
33297         [BZ #13761]
33298         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33299         dataset_temporary.  Track alloca usage into alloca_used.
33300         If dataset is large allocate and release it via malloc/free.
33302 2012-06-04  Florian Weimer  <fweimer@redhat.com>
33304         [BZ #14197]
33305         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33307 2012-11-28  David S. Miller  <davem@davemloft.net>
33309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33311 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33313         [BZ #14803]
33314         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33315         of pi/2 rounded to nearest to 64 bits.
33316         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33317         nearest to 64 bits.
33318         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33319         bits.
33321 2012-11-28  Jeff Law <law@redhat.com>
33322             Martin Osvald <mosvald@redhat.com>
33324         [BZ #14889]
33325         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33326         * sunrpc/svc.c: Include time.h.
33327         (__svc_accept_failed): New function.
33328         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33329         any reason other than EINTR, call __svc_accept_failed.
33330         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33331         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33333 2012-11-28  Andreas Schwab  <schwab@suse.de>
33335         * scripts/abilist.awk: Also handle indirect functions in .opd
33336         section.
33338 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33340         [BZ #13881]
33341         * sysdeps/x86/fpu/powl_helper.c: New file.
33342         * sysdeps/x86/fpu/Makefile: Likewise.
33343         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33344         (p3): New object.
33345         (__ieee754_powl): Use __powl_helper for finite arguments except
33346         integer exponents below 8.
33347         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33348         (p3): New object.
33349         (__ieee754_powl): Use __powl_helper for finite arguments except
33350         integer exponents below 8.
33351         * math/libm-test.inc (pow_test): Add more tests and enable some
33352         previously disabled tests.
33353         * sysdeps/i386/fpu/libm-test-ulps: Update.
33354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33356 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33357             Carlos O'Donell  <carlos_odonell@mentor.com>
33359         * nss/makedb.c (is_prime): Assert that input is odd and greater
33360         than 4.  Note that fact in a comment too.
33361         (next_prime): Add 4 to input.
33363 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33365         [BZ #11741]
33366         * libio/Makefile (tests): Add test case tst-fwrite-error.
33367         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33368         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33369         * libio/tst-fwrite-error.c: New test case.
33371 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
33373         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33374         before casting to void *.
33375         * include/libc-internal.h (__pointer_type): New macro.
33376         (__integer_if_pointer_type_sub): Likewise.
33377         (__integer_if_pointer_type): Likewise.
33378         (cast_to_integer): Likewise.
33379         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33380         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33381         before casting to atomic64_t.
33382         (atomic_exchange_acq): Likewise.
33383         (__arch_exchange_and_add_body): Likewise.
33384         (__arch_add_body): Likewise.
33385         (atomic_add_negative): Likewise.
33386         (atomic_add_zero): Likewise.
33388 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
33390         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33391         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33392         (add_fdes): Likewise.
33393         (linear_search_fdes): Likewise.
33394         (binary_search_unencoded_fdes): Likewise.
33396 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
33398         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33400 2012-11-24  Adam Conrad  <adconrad@0c3.net>
33402         * configure.in: Autodetect C++ header directories.
33403         * configure: Regenerated.
33405 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
33407         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33409 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
33411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33413 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
33415         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33416         LDBL_MANT_DIG == 106]: Disable some tests.
33417         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33418         Likewise.
33419         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33420         Likewise.
33422         [BZ #14871]
33423         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33424         input for small inputs.  Return +/- pi/2 for large inputs.
33425         * math/libm-test.inc (atan_test): Add more tests.
33427         * sysdeps/generic/unwind-dw2-fde-glibc.c
33428         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33429         __attribute__ ((unused)).
33431         [BZ #14645]
33432         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33433         x * y if x and y are nonzero and z is zero.
33435         [BZ #14811]
33436         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33437         nonzero exponents with absolute value below 0x1p-117 to +/-
33438         0x1p-117.
33440         [BZ #14869]
33441         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33442         up arguments below 2**-450, not just those below 2**-500.
33443         * math/libm-test.inc (hypot_test): Add another test.
33445         [BZ #14868]
33446         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33447         Return a+b for ratio over 2**120, not 2**60.
33448         * math/libm-test.inc (hypot_test): Add another test.
33450         * math/libm-test.inc (clog_test): Use
33451         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33452         (clog10_test): Likewise.
33454         [BZ #6778]
33455         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33457 2012-11-22  Andreas Schwab  <schwab@suse.de>
33459         * sysdeps/i386/fpu/libm-test-ulps: Update.
33461 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
33463         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33464         printf output with newline.
33466 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
33468         [BZ #14865]
33469         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33470         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33471         -z nodlopen, -z initfirst and -z execstack support.
33472         * configure: Regenerated.
33474         * elf/elf.h (DF_1_NODIRECT): New macro.
33475         (DF_1_IGNMULDEF): Likewise.
33476         (DF_1_NOKSYMS): Likewise.
33477         (DF_1_NOHDR): Likewise.
33478         (DF_1_EDITED): Likewise.
33479         (DF_1_NORELOC): Likewise.
33480         (DF_1_SYMINTPOSE): Likewise.
33481         (DF_1_GLOBAUDIT): Likewise.
33482         (DF_1_SINGLETON): Likewise.
33483         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33484         DT_1_SUPPORTED_MASK bits.
33485         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33487 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
33489         * sysdeps/unix/make-syscalls.sh: Document prefixes.
33491 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
33493         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33494         macro.
33496         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33497         (sendmmsg): Move declarations...
33498         * socket/sys/socket.h: ... here.
33499         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33500         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33501         include it from...
33502         * socket/recvmmsg.c: ... this new file.
33503         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33504         (sendmmsg): Rename to __sendmmsg, create weak alias and make
33505         definition of __sendmmsg hidden.
33506         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33507         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33508         Move ENOSYS stub into and include it from...
33509         * socket/sendmmsg.c: ... this new file.
33510         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33511         (sysdep_routines): Move recvmmsg and sendmmsg...
33512         * socket/Makefile (routines): ... here.
33513         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33514         (GLIBC_PRIVATE): Add __sendmmsg.
33515         * include/sys/socket.h (__sendmmsg): Add declarations.
33516         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33517         sendmmsg.
33519 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
33521         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33522         variable I1 with __attribute__ ((unused)).
33523         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33525 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33527         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33528         DUMMY variables with __attribute__ ((unused)).
33530         * bits/byteswap.h: Include <bits/types.h>.
33531         (__bswap_64): Use __uint64_t instead of unsigned long long int.
33533 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33535         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33536         string_t.  Do not manually set errno.
33537         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33538         length with __strnlen.  Make sure to both set errno and return it on
33539         failure.
33541 2012-11-19  David S. Miller  <davem@davemloft.net>
33543         With help from Joseph Myers.
33544         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33545         very large arguments properly.
33546         * math/libm-test.inc (atan_test): New tests.
33547         (atan2_test): New tests.
33548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33549         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33551 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33553         [BZ #14856]
33554         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33555         Define to 3.
33557         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33558         [POSIX] (EADDRNOTAVAIL): Likewise.
33559         [POSIX] (EAFNOSUPPORT): Likewise.
33560         [POSIX] (EALREADY): Likewise.
33561         [POSIX] (ECONNABORTED): Likewise.
33562         [POSIX] (ECONNREFUSED): Likewise.
33563         [POSIX] (ECONNRESET): Likewise.
33564         [POSIX] (EDESTADDRREQ): Likewise.
33565         [POSIX] (EDQUOT): Likewise.
33566         [POSIX] (EHOSTUNREACH): Likewise.
33567         [POSIX] (EIDRM): Likewise.
33568         [POSIX] (EISCONN): Likewise.
33569         [POSIX] (ELOOP): Likewise.
33570         [POSIX] (EMULTIHOP): Likewise.
33571         [POSIX] (ENETDOWN): Likewise.
33572         [POSIX] (ENETUNREACH): Likewise.
33573         [POSIX] (ENOBUFS): Likewise.
33574         [POSIX] (ENODATA): Likewise.
33575         [POSIX] (ENOLINK): Likewise.
33576         [POSIX] (ENOMSG): Likewise.
33577         [POSIX] (ENOPROTOOPT): Likewise.
33578         [POSIX] (ENOSR): Likewise.
33579         [POSIX] (ENOSTR): Likewise.
33580         [POSIX] (ENOTCONN): Likewise.
33581         [POSIX] (ENOTSOCK): Likewise.
33582         [POSIX] (EOPNOTSUPP): Likewise.
33583         [POSIX] (EOVERFLOW): Likewise.
33584         [POSIX] (EPROTO): Likewise.
33585         [POSIX] (EPROTONOSUPPORT): Likewise.
33586         [POSIX] (EPROTOTYPE): Likewise.
33587         [POSIX] (ESTALE): Likewise.
33588         [POSIX] (ETIME): Likewise.
33589         [POSIX] (ETXTBSY): Likewise.
33590         [POSIX] (EWOULDBLOCK): Likewise.
33591         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33592         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33593         [POSIX] (SEEK_CUR): Likewise.
33594         [POSIX] (SEEK_END): Likewise.
33595         [POSIX || UNIX98] (mode_t): Do not require.
33596         [POSIX] (off_t): Likewise.
33597         [POSIX] (pid_t): Likewise.
33598         [POSIX] (sys/stat.h): Do not allow header.
33599         [POSIX] (unistd.h): Likewise.
33600         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33601         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33602         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33603         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33604         require.
33605         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33606         sigevent): Specify elements.
33607         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33608         entry.
33609         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33610         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33612         * conform/data/cpio.h-data [POSIX]: Disable whole file.
33613         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33614         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33615         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33616         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33617         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33618         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33619         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33620         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33621         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33622         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33623         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33624         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33625         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33626         Likewise.
33627         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33628         Likewise.
33629         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33630         Likewise.
33631         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33632         Likewise.
33633         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33634         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33635         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33636         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33637         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33638         Specify lower bound on value.
33639         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33640         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33641         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33642         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33643         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33644         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33645         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33646         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33647         value.
33648         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33649         as optional.
33650         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33651         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33652         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33653         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33654         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33655         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33656         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33657         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33658         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33659         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33660         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33661         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33662         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33663         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33664         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33665         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33666         entry.
33667         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33668         optional.
33669         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33670         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33671         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33672         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33673         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33674         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33675         Likewise.
33676         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33677         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33678         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33679         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33680         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
33681         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33682         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33683         as optional.
33684         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33685         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33686         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33687         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33688         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33689         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33690         specify as optional.
33691         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33692         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33693         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33694         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33695         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33696         [XPG3] (NL_LANGMAX): Likewise.
33697         [POSIX || XPG3] (NL_MSGMAX): Likewise.
33698         [POSIX || XPG3] (NL_NMAX): Likewise.
33699         [POSIX || XPG3] (NL_SETMAX): Likewise.
33700         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33701         [XPG3] (NZERO): Likewise.
33702         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33703         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33704         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33705         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33706         (REG_ERANGE): Expect.
33707         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33708         optional-constant.
33709         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33710         Use (void) in prototype.
33711         [POSIX] (*_t): Allow.
33712         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33713         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33714         (WRDE_BADVAL): Expect.
33716         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33717         expect.
33718         [XPG3 || XPG4] (O_RSYNC): Likewise.
33719         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33720         Likewise.
33721         [XPG3 || XPG4] (pthread_sigmask): Likewise.
33722         [XPG3 || XPG4] (sigqueue): Likewise.
33723         [XPG3 || XPG4] (sigtimedwait): Likewise.
33724         [XPG3 || XPG4] (sigwaitinfo): Likewise.
33725         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33726         [XPG3 || XPG4] (vsnprintf): Likewise.
33727         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33728         Likewise.
33729         [XPG3 || XPG4] (blksize_t): Likewise.
33730         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33731         Likewise.
33732         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33733         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33734         [XPG3 || XPG4] (struct itimerspec): Likewise.
33735         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33736         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33737         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33738         [XPG3 || XPG4] (clockid_t): Likewise.
33739         [XPG3 || XPG4] (timer_t): Likewise.
33740         [XPG3 || XPG4] (clock_getres): Likewise.
33741         [XPG3 || XPG4] (clock_gettime): Likewise.
33742         [XPG3 || XPG4] (clock_settime): Likewise.
33743         [XPG3 || XPG4] (nanosleep): Likewise.
33744         [XPG3 || XPG4] (timer_create): Likewise.
33745         [XPG3 || XPG4] (timer_delete): Likewise.
33746         [XPG3 || XPG4] (timer_gettime): Likewise.
33747         [XPG3 || XPG4] (timer_getoverrun): Likewise.
33748         [XPG3 || XPG4] (timer_settime): Likewise.
33749         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33750         [XPG3 || XPG4] (getlogin_r): Likewise.
33751         [XPG3 || XPG4] (pread): Likewise.
33752         [XPG3 || XPG4] (pthread_atfork): Likewise.
33753         [XPG3 || XPG4] (pwrite): Likewise.
33755         [BZ #14835]
33756         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33757         <bits/siginfo.h>.
33759 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33761         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33762         finalizing MALLSTREAM.
33764         * sysdeps/mach/hurd/syncfs.c: New file.
33766 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33768         [BZ #14719]
33769         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33770         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33771         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33772         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33773         (_nss_dns_gethostbyname4_r): Likewise.
33774         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33775         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33777 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
33779         [BZ #13763]
33780         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33782 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
33784         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33785         * elf/cache.c (print_entry): Print ",AArch64" for
33786         FLAG_AARCH64_LIB64
33788         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33789         * elf/cache.c (print_entry): Print ",hard-float" for
33790         FLAG_ARM_LIBHF.
33792 2012-11-18  David S. Miller  <davem@davemloft.net>
33794         With help from Joseph Myers.
33795         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33796         cutoff to 2**-13.
33797         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33798         cutoff to 2**-25.
33799         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33800         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33801         small.
33802         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33803         * math/libm-test.inc (y0_test): New tests.
33804         (y1_test): New tests.
33805         * sysdeps/i386/fpu/libm-test-ulps: Update.
33806         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33809 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
33811         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33812         64-bit targets.
33813         * configure: Regenerated.
33815 2012-11-17  David S. Miller  <davem@davemloft.net>
33817         [BZ #14811]
33818         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33819         nonzero exponents with absolute value below 0x1p-128 to +/-
33820         0x1p-128.
33822 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
33824         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33826         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33828         * posix/getconf-speclist.c: New file.
33829         * posix/posix-envs.def: Likewise.
33830         * posix/confstr.c (START_ENV_GROUP): New macro.
33831         (END_ENV_GROUP): Likewise.
33832         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33833         (KNOWN_PRESENT_ENV_STRING): Likewise.
33834         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33835         (UNKNOWN_ENVIRONMENT): Likewise.
33836         (confstr): Include posix-envs.def instead of handling
33837         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33838         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33839         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33840         (END_ENV_GROUP): Likewise.
33841         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33842         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33843         (UNKNOWN_ENVIRONMENT): Likewise.
33844         (__sysconf): Include posix-envs.def instead of handling associated
33845         cases directly here.
33846         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33847         preprocessing getconf-speclist.c rather than running getconf or
33848         generating empty file.
33850 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
33852         * scripts/check-local-headers.sh: Ignore 'mach' headers.
33854 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
33856         [BZ #14672]
33857         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33859 2012-11-16  David S. Miller  <davem@davemloft.net>
33861         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33862         smaller than LDBL_EPSILON/2.0L, just return xm1.
33864 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
33866         * elf/tst-array1.c (init): Set constructor priority to 1000.
33867         (fini): Set destructor priority to 1000.
33868         * elf/tst-array2dep.c: Likewise.
33870 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33872         [BZ #11741]
33873         * libio/fileops.c (_IO_new_file_write): Correctly return error.
33874         (_IO_new_file_xsputn): Also return EOF if none of the input
33875         data was written when overflow failed.
33876         * libio/iopadn.c (_IO_padn): Likewise.
33877         * libio/iowpadn.c (_IO_wpadn): Likewise.
33878         * stdio-common/tst-put-error.c: Add copyright notice.
33879         (do_test): Add case for printing padded string.
33880         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33881         _IO_padn returned error.
33882         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33883         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33884         return EOF.
33886 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33888         * libio/libioP.h: Add comment note that the references to C++
33889         bits are now obsolete.
33891 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33893         * math/libm-test.inc (check_complex): Use asprintf.
33895 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
33897         * debug/pcprofiledump.c (print_version): Update copyright year.
33898         * malloc/memusagestat.c (print_version): Likewise.
33900 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
33902         [BZ #14831]
33903         * elf/Makefile (tests): Add tst-audit8.
33904         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33905         ($(objpfx)tst-audit8.out): New target.
33906         (tst-audit8-ENV): New variable.
33907         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33908         audit if l_reloc_result is NULL.
33909         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33910         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33911         * elf/tst-audit8.c: New file.
33913 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33915         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33916         * misc/Makefile (CFLAGS-select.c): Define.
33917         * posix/Makefile (CFLAGS-pause.c): Define.
33919 2012-11-13  David S. Miller  <davem@davemloft.net>
33921         * crypt/Makefile: Move test targets after toplevel Rules
33922         inclusion.  Grab any necessary sysdep routines when linking.
33923         * crypt/md5.c (md5_process_block): Remove define, we will always
33924         name it __md5_process_block.
33925         (md5_finish_ctx): Update md5_process_block call.
33926         (md5_stream): Likewise.
33927         (md5_process_bytes): Likewise.
33928         (md5_process_block): Rename to __md5_process_block and move to ...
33929         * crypt/md5-block.c: ... here.
33930         * crypt/sha256.c (sha256_process_block): Move to ...
33931         * crypt/sha256-block.c: ... here.
33932         * crypt/sha512.c (sha512_process_block): Move to ...
33933         * crypt/sha512-block.c: ... here.
33934         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33935         path.
33936         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33937         * sysdeps/sparc/sparc64/multiarch/Makefile
33938         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33939         crypt subdir.
33940         (localedef-aux): Add md5 crypto assembler when in locale subdir.
33941         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33942         multiarch changes.
33943         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33944         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33945         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33946         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33947         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33948         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33949         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33950         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33951         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33952         file.
33953         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33954         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33955         file.
33956         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33958 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
33960         * timezone/tzselect.ksh: Update from tzcode git revision
33961         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33962         * timezone/zdump.c: Likewise.
33963         * timezone/zic.c: Likewise.
33964         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33965         in TZVERSION setting, not $(PKGVERSION).
33966         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
33967         REPORT_BUGS_TO settings.
33969         [BZ #14838]
33970         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33971         macro.
33973 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33975         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33976         detection to immediately after _FP_ROUND().
33977         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33978         bits are 0.
33980 2012-11-11  David S. Miller  <davem@davemloft.net>
33982         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33983         inttypes.h
33984         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33985         __close rather than their public counterparts.
33987 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
33989         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33990         file.
33991         [UNIX98] (sem_timedwait): Do not expect.
33992         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33993         [XPG4 || UNIX98] (sockatmark): Do not expect.
33994         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33995         (clock_getcpuclockid): Do not expect.
33996         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33997         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33998         Do not expect.
33999         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34000         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34001         [UNIX98] (vwscanf): Likewise.
34002         [UNIX98] (vswscanf): Likewise.
34004 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
34006         * timezone/version.h: Remove file.
34007         * timezone/README: Do not refer to version.h.
34008         * timezone/Makefile ($(objpfx)zic.o): New dependency on
34009         $(objpfx)version.h.
34010         ($(objpfx)zdump.o): Likewise.
34011         ($(objpfx)version.h): New target.
34013         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34014         2012i.
34015         * timezone/README: Don't mention modification to tzselect.ksh.
34016         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34017         work on unmodified tzselect.ksh.  Substitute version numbers in
34018         tzselect.ksh.
34020         * Makefile (format-me): Remove.
34021         (INSTALL): Adjust indentation.  Use commands directly instead of
34022         using $(format-me).
34024         * aclocal.m4 (ACX_PKGVERSION): New macro.
34025         (ACX_BUGURL): Likewise.
34026         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34027         (PKGVERSION): New AC_DEFINE_UNQUOTED.
34028         (REPORT_BUGS_TO): Likewise.
34029         * configure: Regenerated.
34030         * config.h.in (PKGVERSION): New macro.
34031         (REPORT_BUGS_TO): Likewise.
34032         * config.make.in (PKGVERSION): New variable.
34033         (PKGVERSION_TEXI): Likewise.
34034         (REPORT_BUGS_TO): Likewise.
34035         (REPORT_BUGS_TEXI): Likewise.
34036         * Makefile (format-me): Use -I$(common-objpfx)manual.
34037         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34038         ($(common-objpfx)manual/%): New target.
34039         (manual/%): Remove target.
34040         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34041         (print_version): Use PKGVERSION.
34042         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34043         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34044         and REPORT_BUGS_TO.
34045         ($(objpfx)xtrace): Likewise.
34046         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34047         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34048         (print_version): Use PKGVERSION.
34049         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34050         (do_version): Use PKGVERSION.
34051         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34052         REPORT_BUGS_TO.
34053         (common-ldd-rewrite): Likewise.
34054         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34055         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34056         (print_version): Use PKGVERSION.
34057         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34058         * elf/pldd.c (argp_program_bug_address): Remove variable.
34059         (more_help): New function.
34060         (argp): Use more_help.
34061         (print_version): Use PKGVERSION.
34062         * elf/sln.c (main): Use PKGVERSION.
34063         (usage): Use REPORT_BUGS_TO.
34064         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34065         (top level): Use PKGVERSION.
34066         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34067         (print_version): Use PKGVERSION.
34068         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34069         (print_version): Use PKGVERSION.
34070         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34071         (print_version): Use PKGVERSION.
34072         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34073         (print_version): Use PKGVERSION.
34074         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34075         (print_version): Use PKGVERSION.
34076         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34077         (print_version): Use PKGVERSION.
34078         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34079         and BUGURL.
34080         ($(objpfx)memusage): Likewise.
34081         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34082         (do_version): Use PKGVERSION.
34083         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34084         (print_version): Use PKGVERSION.
34085         * malloc/mtrace.pl ($PACKAGE): Remove variable.
34086         ($PKGVERSION): New variable.
34087         ($REPORT_BUGS_TO): Likewise.
34088         (usage): Use $REPORT_BUGS_TO.
34089         (top level): Use $PKGVERSION.
34090         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34091         ($(objpfx)pkgvers.texi): New rule.
34092         ($(objpfx)stamp-pkgvers): Likewise.
34093         * manual/install.texi: Include pkgvers.texi.
34094         (--with-pkgversion): Document new configure option.
34095         (--with-bugurl): Likewise.
34096         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34097         than necessarily for this particular distribution.  Use
34098         REPORT_BUGS_TO for where to report bugs.
34099         * INSTALL: Regenerated.
34100         * manual/libc.texinfo: Include pkgvers.texi.
34101         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34102         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34103         (print_version): Use PKGVERSION.
34104         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34105         (print_version): Use PKGVERSION.
34106         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34107         (print_version): Use PKGVERSION.
34108         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34109         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34110         macro.
34111         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34112         (print_version): Use PKGVERSION.
34113         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34114         (print_version): Use PKGVERSION.
34115         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34116         and PKGVERSION.
34118         * timezone/checktab.awk: Update from tzcode 2012i.
34119         * timezone/ialloc.c: Likewise.
34120         * timezone/private.h: Likewise.
34121         * timezone/scheck.c: Likewise.
34122         * timezone/tzfile.h: Likewise.
34123         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34124         (TZVERSION): Hardcode tzcode version number.
34125         * timezone/zdump.c: Update from tzcode 2012i.
34126         * timezone/zic.c: Likewise.
34127         * timezone/version.h: New file.
34128         * timezone/README: Describe version.h.  Update upstream location.
34130         [BZ #14824]
34131         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34132         (mktemp): Enable declaration.
34133         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34134         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34135         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34136         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34137         Likewise.
34138         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34139         Likewise.
34140         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34141         Likewise.
34142         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34143         Likewise.
34144         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34145         Likewise.
34146         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34147         Likewise.
34149         [BZ #14821]
34150         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34151         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
34152         for copies of such integer values.
34153         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34154         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34156 2012-11-09  Andreas Jaeger  <aj@suse.de>
34158         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34159         definitions and declarations that are provided by
34160         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34162 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34164         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34165         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34166         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34167         definition.
34169 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34171         * elf/elf.h: Update comment before AArch64 relocations.
34173 2012-11-07  David S. Miller  <davem@davemloft.net>
34175         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34176         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34177         (__start_context): Declare.
34178         (__makecontext_ret): Delete.
34179         (__makecontext): Hook up __start_context instead of
34180         __makecontext_ret.
34181         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34182         (sysdep_routines): Add __start_context when in stdlib.
34184 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34186         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34187         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34188         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
34189         hardcoded "nm".
34190         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
34191         (READELF): New variable.  Use it instead of hardcoded "readelf".
34193 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34195         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34196         * sysdeps/x86/Makefile: Here.
34197         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34198         * sysdeps/x86/tst-xmmymm.sh: This.
34200 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34202         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34203         expectations.
34204         [UNIX98] (pthread_barrier_t): Do not expect.
34205         [UNIX98] (pthread_barrierattr_t): Likewise.
34206         [UNIX98] (pthread_spinlock_t): Likewise.
34207         [UNIX98] (pthread_barrier_destroy): Likewise.
34208         [UNIX98] (pthread_barrier_init): Likewise.
34209         [UNIX98] (pthread_barrier_wait): Likewise.
34210         [UNIX98] (pthread_barrierattr_destroy): Likewise.
34211         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34212         [UNIX98] (pthread_barrierattr_init): Likewise.
34213         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34214         [UNIX98] (pthread_getcpuclockid): Likewise.
34215         [UNIX98] (pthread_mutex_timedlock): Likewise.
34216         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34217         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34218         [UNIX98] (pthread_sigmask): Likewise.
34219         [UNIX98] (pthread_spin_destroy): Likewise.
34220         [UNIX98] (pthread_spin_init): Likewise.
34221         [UNIX98] (pthread_spin_lock): Likewise.
34222         [UNIX98] (pthread_spin_trylock): Likewise.
34223         [UNIX98] (pthread_spin_unlock): Likewise.
34224         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34225         Do not expect.
34226         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34227         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34228         [XPG3 || XPG4] (pthread_cond_t): Likewise.
34229         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34230         [XPG3 || XPG4] (pthread_key_t): Likewise.
34231         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34232         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34233         [XPG3 || XPG4] (pthread_once_t): Likewise.
34234         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34235         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34236         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34237         [XPG3 || XPG4] (pthread_t): Likewise.
34239         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34240         not expect.
34241         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34243         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34244         Change function return type to int.
34246         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34247         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34248         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34249         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34250         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34251         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34252         [!POSIX] (posix_madvise): Likewise.
34253         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34254         && !UNIX98].
34255         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34256         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34257         (mode_t): Likewise.
34258         (posix_mem_offset): Likewise.
34259         (posix_typed_mem_get_info): Likewise.
34260         (posix_typed_mem_open): Likewise.
34262         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34263         Change condition to [XOPEN2K8].
34265         * conform/conformtest.pl: Preprocess allow-header data with -x c
34266         instead of from stdin.
34267         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34268         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34269         [C99-based standards] (cerfc): Likewise.
34270         [C99-based standards] (cexp2): Likewise.
34271         [C99-based standards] (cexpm1): Likewise.
34272         [C99-based standards] (clog10): Likewise.
34273         [C99-based standards] (clog1p): Likewise.
34274         [C99-based standards] (clog2): Likewise.
34275         [C99-based standards] (clgamma): Likewise.
34276         [C99-based standards] (ctgamma): Likewise.
34277         [C99-based standards] (cerff): Likewise.
34278         [C99-based standards] (cerfcf): Likewise.
34279         [C99-based standards] (cexp2f): Likewise.
34280         [C99-based standards] (cexpm1f): Likewise.
34281         [C99-based standards] (clog10f): Likewise.
34282         [C99-based standards] (clog1pf): Likewise.
34283         [C99-based standards] (clog2f): Likewise.
34284         [C99-based standards] (clgammaf): Likewise.
34285         [C99-based standards] (ctgammaf): Likewise.
34286         [C99-based standards] (cerfl): Likewise.
34287         [C99-based standards] (cerfcl): Likewise.
34288         [C99-based standards] (cexp2l): Likewise.
34289         [C99-based standards] (cexpm1l): Likewise.
34290         [C99-based standards] (clog10l): Likewise.
34291         [C99-based standards] (clog1pl): Likewise.
34292         [C99-based standards] (clog2l): Likewise.
34293         [C99-based standards] (clgammal): Likewise.
34294         [C99-based standards] (ctgammal): Likewise.
34295         * conform/data/inttypes.h-data [C99-based standards]: Include
34296         stdint.h-data.  Remove all expectations for stdint.h contents.
34297         [C99-based standards] (PRI*): Do not allow.
34298         [C99-based standards] (SCN*): Likewise.
34299         [C99-based standards] (*_t): Likewise.
34300         [C99-based-standards] (PRId8): Expect macro.
34301         [C99-based-standards] (PRIi8): Likewise.
34302         [C99-based-standards] (PRIo8): Likewise.
34303         [C99-based-standards] (PRIu8): Likewise.
34304         [C99-based-standards] (PRIx8): Likewise.
34305         [C99-based-standards] (PRIX8): Likewise.
34306         [C99-based-standards] (SCNd8): Likewise.
34307         [C99-based-standards] (SCNi8): Likewise.
34308         [C99-based-standards] (SCNo8): Likewise.
34309         [C99-based-standards] (SCNu8): Likewise.
34310         [C99-based-standards] (SCNx8): Likewise.
34311         [C99-based-standards] (PRIdLEAST8): Likewise.
34312         [C99-based-standards] (PRIiLEAST8): Likewise.
34313         [C99-based-standards] (PRIoLEAST8): Likewise.
34314         [C99-based-standards] (PRIuLEAST8): Likewise.
34315         [C99-based-standards] (PRIxLEAST8): Likewise.
34316         [C99-based-standards] (PRIXLEAST8): Likewise.
34317         [C99-based-standards] (SCNdLEAST8): Likewise.
34318         [C99-based-standards] (SCNiLEAST8): Likewise.
34319         [C99-based-standards] (SCNoLEAST8): Likewise.
34320         [C99-based-standards] (SCNuLEAST8): Likewise.
34321         [C99-based-standards] (SCNxLEAST8): Likewise.
34322         [C99-based-standards] (PRIdFAST8): Likewise.
34323         [C99-based-standards] (PRIiFAST8): Likewise.
34324         [C99-based-standards] (PRIoFAST8): Likewise.
34325         [C99-based-standards] (PRIuFAST8): Likewise.
34326         [C99-based-standards] (PRIxFAST8): Likewise.
34327         [C99-based-standards] (PRIXFAST8): Likewise.
34328         [C99-based-standards] (SCNdFAST8): Likewise.
34329         [C99-based-standards] (SCNiFAST8): Likewise.
34330         [C99-based-standards] (SCNoFAST8): Likewise.
34331         [C99-based-standards] (SCNuFAST8): Likewise.
34332         [C99-based-standards] (SCNxFAST8): Likewise.
34333         [C99-based-standards] (PRId16): Likewise.
34334         [C99-based-standards] (PRIi16): Likewise.
34335         [C99-based-standards] (PRIo16): Likewise.
34336         [C99-based-standards] (PRIu16): Likewise.
34337         [C99-based-standards] (PRIx16): Likewise.
34338         [C99-based-standards] (PRIX16): Likewise.
34339         [C99-based-standards] (SCNd16): Likewise.
34340         [C99-based-standards] (SCNi16): Likewise.
34341         [C99-based-standards] (SCNo16): Likewise.
34342         [C99-based-standards] (SCNu16): Likewise.
34343         [C99-based-standards] (SCNx16): Likewise.
34344         [C99-based-standards] (PRIdLEAST16): Likewise.
34345         [C99-based-standards] (PRIiLEAST16): Likewise.
34346         [C99-based-standards] (PRIoLEAST16): Likewise.
34347         [C99-based-standards] (PRIuLEAST16): Likewise.
34348         [C99-based-standards] (PRIxLEAST16): Likewise.
34349         [C99-based-standards] (PRIXLEAST16): Likewise.
34350         [C99-based-standards] (SCNdLEAST16): Likewise.
34351         [C99-based-standards] (SCNiLEAST16): Likewise.
34352         [C99-based-standards] (SCNoLEAST16): Likewise.
34353         [C99-based-standards] (SCNuLEAST16): Likewise.
34354         [C99-based-standards] (SCNxLEAST16): Likewise.
34355         [C99-based-standards] (PRIdFAST16): Likewise.
34356         [C99-based-standards] (PRIiFAST16): Likewise.
34357         [C99-based-standards] (PRIoFAST16): Likewise.
34358         [C99-based-standards] (PRIuFAST16): Likewise.
34359         [C99-based-standards] (PRIxFAST16): Likewise.
34360         [C99-based-standards] (PRIXFAST16): Likewise.
34361         [C99-based-standards] (SCNdFAST16): Likewise.
34362         [C99-based-standards] (SCNiFAST16): Likewise.
34363         [C99-based-standards] (SCNoFAST16): Likewise.
34364         [C99-based-standards] (SCNuFAST16): Likewise.
34365         [C99-based-standards] (SCNxFAST16): Likewise.
34366         [C99-based-standards] (PRId32): Likewise.
34367         [C99-based-standards] (PRIi32): Likewise.
34368         [C99-based-standards] (PRIo32): Likewise.
34369         [C99-based-standards] (PRIu32): Likewise.
34370         [C99-based-standards] (PRIx32): Likewise.
34371         [C99-based-standards] (PRIX32): Likewise.
34372         [C99-based-standards] (SCNd32): Likewise.
34373         [C99-based-standards] (SCNi32): Likewise.
34374         [C99-based-standards] (SCNo32): Likewise.
34375         [C99-based-standards] (SCNu32): Likewise.
34376         [C99-based-standards] (SCNx32): Likewise.
34377         [C99-based-standards] (PRIdLEAST32): Likewise.
34378         [C99-based-standards] (PRIiLEAST32): Likewise.
34379         [C99-based-standards] (PRIoLEAST32): Likewise.
34380         [C99-based-standards] (PRIuLEAST32): Likewise.
34381         [C99-based-standards] (PRIxLEAST32): Likewise.
34382         [C99-based-standards] (PRIXLEAST32): Likewise.
34383         [C99-based-standards] (SCNdLEAST32): Likewise.
34384         [C99-based-standards] (SCNiLEAST32): Likewise.
34385         [C99-based-standards] (SCNoLEAST32): Likewise.
34386         [C99-based-standards] (SCNuLEAST32): Likewise.
34387         [C99-based-standards] (SCNxLEAST32): Likewise.
34388         [C99-based-standards] (PRIdFAST32): Likewise.
34389         [C99-based-standards] (PRIiFAST32): Likewise.
34390         [C99-based-standards] (PRIoFAST32): Likewise.
34391         [C99-based-standards] (PRIuFAST32): Likewise.
34392         [C99-based-standards] (PRIxFAST32): Likewise.
34393         [C99-based-standards] (PRIXFAST32): Likewise.
34394         [C99-based-standards] (SCNdFAST32): Likewise.
34395         [C99-based-standards] (SCNiFAST32): Likewise.
34396         [C99-based-standards] (SCNoFAST32): Likewise.
34397         [C99-based-standards] (SCNuFAST32): Likewise.
34398         [C99-based-standards] (SCNxFAST32): Likewise.
34399         [C99-based-standards] (PRId64): Likewise.
34400         [C99-based-standards] (PRIi64): Likewise.
34401         [C99-based-standards] (PRIo64): Likewise.
34402         [C99-based-standards] (PRIu64): Likewise.
34403         [C99-based-standards] (PRIx64): Likewise.
34404         [C99-based-standards] (PRIX64): Likewise.
34405         [C99-based-standards] (SCNd64): Likewise.
34406         [C99-based-standards] (SCNi64): Likewise.
34407         [C99-based-standards] (SCNo64): Likewise.
34408         [C99-based-standards] (SCNu64): Likewise.
34409         [C99-based-standards] (SCNx64): Likewise.
34410         [C99-based-standards] (PRIdLEAST64): Likewise.
34411         [C99-based-standards] (PRIiLEAST64): Likewise.
34412         [C99-based-standards] (PRIoLEAST64): Likewise.
34413         [C99-based-standards] (PRIuLEAST64): Likewise.
34414         [C99-based-standards] (PRIxLEAST64): Likewise.
34415         [C99-based-standards] (PRIXLEAST64): Likewise.
34416         [C99-based-standards] (SCNdLEAST64): Likewise.
34417         [C99-based-standards] (SCNiLEAST64): Likewise.
34418         [C99-based-standards] (SCNoLEAST64): Likewise.
34419         [C99-based-standards] (SCNuLEAST64): Likewise.
34420         [C99-based-standards] (SCNxLEAST64): Likewise.
34421         [C99-based-standards] (PRIdFAST64): Likewise.
34422         [C99-based-standards] (PRIiFAST64): Likewise.
34423         [C99-based-standards] (PRIoFAST64): Likewise.
34424         [C99-based-standards] (PRIuFAST64): Likewise.
34425         [C99-based-standards] (PRIxFAST64): Likewise.
34426         [C99-based-standards] (PRIXFAST64): Likewise.
34427         [C99-based-standards] (SCNdFAST64): Likewise.
34428         [C99-based-standards] (SCNiFAST64): Likewise.
34429         [C99-based-standards] (SCNoFAST64): Likewise.
34430         [C99-based-standards] (SCNuFAST64): Likewise.
34431         [C99-based-standards] (SCNxFAST64): Likewise.
34432         [C99-based-standards] (PRIdMAX): Likewise.
34433         [C99-based-standards] (PRIiMAX): Likewise.
34434         [C99-based-standards] (PRIoMAX): Likewise.
34435         [C99-based-standards] (PRIuMAX): Likewise.
34436         [C99-based-standards] (PRIxMAX): Likewise.
34437         [C99-based-standards] (PRIXMAX): Likewise.
34438         [C99-based-standards] (SCNdMAX): Likewise.
34439         [C99-based-standards] (SCNiMAX): Likewise.
34440         [C99-based-standards] (SCNoMAX): Likewise.
34441         [C99-based-standards] (SCNuMAX): Likewise.
34442         [C99-based-standards] (SCNxMAX): Likewise.
34443         [C99-based-standards] (PRIdPTR): Likewise.
34444         [C99-based-standards] (PRIiPTR): Likewise.
34445         [C99-based-standards] (PRIoPTR): Likewise.
34446         [C99-based-standards] (PRIuPTR): Likewise.
34447         [C99-based-standards] (PRIxPTR): Likewise.
34448         [C99-based-standards] (PRIXPTR): Likewise.
34449         [C99-based-standards] (SCNdPTR): Likewise.
34450         [C99-based-standards] (SCNiPTR): Likewise.
34451         [C99-based-standards] (SCNoPTR): Likewise.
34452         [C99-based-standards] (SCNuPTR): Likewise.
34453         [C99-based-standards] (SCNxPTR): Likewise.
34454         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34455         allow.
34456         * conform/data/stdint.h-data: Update comments to clarify
34457         requirements.
34458         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
34459         type.
34460         [C99-based standards] (INT8_MAX): Likewise.
34461         [C99-based standards] (INT16_MIN): Likewise.
34462         [C99-based standards] (INT16_MAX): Likewise.
34463         [C99-based standards] (INT32_MIN): Likewise.
34464         [C99-based standards] (INT32_MAX): Likewise.
34465         [C99-based standards] (INT64_MIN): Likewise.
34466         [C99-based standards] (INT64_MAX): Likewise.
34467         [C99-based standards] (UINT8_MAX): Likewise.
34468         [C99-based standards] (UINT16_MAX): Likewise.
34469         [C99-based standards] (UINT32_MAX): Likewise.
34470         [C99-based standards] (UINT64_MAX): Likewise.
34471         [C99-based standards] (INT_LEAST8_MIN): Likewise.
34472         [C99-based standards] (INT_LEAST8_MAX): Likewise.
34473         [C99-based standards] (INT_LEAST16_MIN): Likewise.
34474         [C99-based standards] (INT_LEAST16_MAX): Likewise.
34475         [C99-based standards] (INT_LEAST32_MIN): Likewise.
34476         [C99-based standards] (INT_LEAST32_MAX): Likewise.
34477         [C99-based standards] (INT_LEAST64_MIN): Likewise.
34478         [C99-based standards] (INT_LEAST64_MAX): Likewise.
34479         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34480         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34481         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34482         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34483         [C99-based standards] (INT_FAST8_MIN): Likewise.
34484         [C99-based standards] (INT_FAST8_MAX): Likewise.
34485         [C99-based standards] (INT_FAST16_MIN): Likewise.
34486         [C99-based standards] (INT_FAST16_MAX): Likewise.
34487         [C99-based standards] (INT_FAST32_MIN): Likewise.
34488         [C99-based standards] (INT_FAST32_MAX): Likewise.
34489         [C99-based standards] (INT_FAST64_MIN): Likewise.
34490         [C99-based standards] (INT_FAST64_MAX): Likewise.
34491         [C99-based standards] (UINT_FAST8_MAX): Likewise.
34492         [C99-based standards] (UINT_FAST16_MAX): Likewise.
34493         [C99-based standards] (UINT_FAST32_MAX): Likewise.
34494         [C99-based standards] (UINT_FAST64_MAX): Likewise.
34495         [C99-based standards] (INTPTR_MIN): Likewise.
34496         [C99-based standards] (INTPTR_MAX): Likewise.
34497         [C99-based standards] (UINTPTR_MAX): Likewise.
34498         [C99-based standards] (INTMAX_MIN): Likewise.
34499         [C99-based standards] (INTMAX_MAX): Likewise.
34500         [C99-based standards] (UINTMAX_MAX): Likewise.
34501         [C99-based standards] (PTRDIFF_MIN): Likewise.
34502         [C99-based standards] (PTRDIFF_MAX): Likewise.
34503         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34504         [C99-based standards] (SIZE_MAX): Likewise.
34505         [C99-based standards] (WCHAR_MAX): Likewise.
34506         [C99-based standards] (WINT_MAX): Likewise.
34507         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
34508         constraint on value.
34509         [C99-based standards] (WCHAR_MIN): Likewise.
34510         [C99-based standards] (WINT_MIN): Likewise.
34511         [C99-based standards] (*_t): Allow.
34512         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34513         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34514         Include math.h-data and complex.h-data.  Remove all expectations
34515         of math.h and complex.h contents.
34516         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34517         at end of line.
34518         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34519         (struct tm): Expect tag.
34520         [C99-based-standards] (wcstof): Expect function.
34521         [C99-based-standards] (wcstold): Likewise.
34522         [C99-based-standards] (wcstoll): Likewise.
34523         [C99-based-standards] (wcstoull): Likewise.
34524         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34525         macro-int-constant.  Specify type.
34526         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
34527         constraint on value.
34528         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34529         Specify type.
34530         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34531         Specify value.
34532         [ISO C standards]: Do not allow headers.
34533         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34534         wcs[abcdefghijklmnopqrstuvwxyz]*.
34535         [ISO C standards] (*_t): Do not allow.
34536         * conform/data/wctype.h-data [C99-based standards] (iswblank):
34537         Expect function.
34538         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34539         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34540         Specify type.
34541         [ISO C standards]: Do not allow headers.
34542         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34543         is[abcdefghijklmnopqrstuvwxyz]*.
34544         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34545         to[abcdefghijklmnopqrstuvwxyz]*.
34546         [ISO C standards] (*_t): Do not allow.
34547         * conform/data/stdalign.h-data: New file.
34548         * conform/data/stdbool.h-data: Likewise.
34549         * conform/data/stdnoreturn.h-data: Likewise.
34551 2012-11-07  Roland McGrath  <roland@hack.frob.com>
34553         [BZ #14815]
34554         * manual/filesys.texi (Directory Entries): Typo fix.
34555         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34557 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34559         * elf/elf.h (EM_AARCH64): New macro.
34560         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34561         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34562         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34563         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34564         (R_AARCH64_TLSDESC): Likewise.
34565         (NT_ARM_TLS): Likewise.
34566         (NT_ARM_HW_BREAK): Likewise.
34567         (NT_ARM_HW_WATCH): Likewise.
34569 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34571         [BZ #14811]
34572         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34573         (__ieee754_powl): Saturate nonzero exponents with absolute value
34574         below 0x1p-79 to +/- 0x1p-79.
34575         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34576         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34577         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34578         nonzero exponents with absolute value below 0x1p-32 to +/-
34579         0x1p-32.
34580         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34581         (__ieee754_powl): Saturate nonzero exponents with absolute value
34582         below 0x1p-79 to +/- 0x1p-79.
34583         * math/libm-test.inc (pow_test): Add more tests.
34585 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34587         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34588         _dl_s390_cap_flags with kernel. Increase string length.
34589         (_dl_s390_platforms): Add z196 and zEC12.
34591 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34593         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34594         Change XOPEN21K to XOPEN2K.
34596 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
34598         * string/memmove.c: Use memcpy when possible.
34600 2012-11-06  Andreas Jaeger  <aj@suse.de>
34602         * po/eo.po: Update from translation team.
34604 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
34606         [BZ #14793]
34607         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34608         exponent and small x and y exponents, scale x or y up.  Increase
34609         by 2 the exponent used in scaling up.
34610         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34611         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34612         * math/libm-test.inc (fma_test): Add more tests.
34613         (fma_test_towardzero): Likewise.
34614         (fma_test_downward): Likewise.
34615         (fma_test_upward): Likewise.
34617 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
34619         [BZ #14805]
34620         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34621         fenv_t *.
34623         [BZ #14801]
34624         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34625         namespace for names of struct fields.
34626         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34627         fenv_t fields.
34628         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34629         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34631 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34633         [BZ #3665]
34634         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34636 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34638         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34639         PTR_DEMANGLE.
34641         [BZ #5246]
34642         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34643         PTR_DEMANGLE.
34645 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
34647         [BZ #14797]
34648         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34649         definitely overflow as x * y not x * y + z.
34650         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34651         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34652         * math/libm-test.inc (fma_test): Add more tests.
34653         (fma_test_towardzero): Likewise.
34654         (fma_test_downward): Likewise.
34655         (fma_test_upward): Likewise.
34657 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34659         [BZ #157]
34661         * include/stub-tag.h: Remove file.
34662         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34663         '#include' of it.
34664         * manual/maint.texi (Porting): Don't reference it.
34665         * Makerules ($(objpfx)stubs): Likewise.
34666         * dirent/closedir.c: Don't include <stub-tag.h>.
34667         * dirent/dirfd.c: Likewise.
34668         * dirent/fdopendir.c: Likewise.
34669         * dirent/getdents.c: Likewise.
34670         * dirent/getdents64.c: Likewise.
34671         * dirent/opendir.c: Likewise.
34672         * dirent/readdir.c: Likewise.
34673         * dirent/readdir64.c: Likewise.
34674         * dirent/readdir64_r.c: Likewise.
34675         * dirent/readdir_r.c: Likewise.
34676         * dirent/rewinddir.c: Likewise.
34677         * dirent/seekdir.c: Likewise.
34678         * dirent/telldir.c: Likewise.
34679         * gmon/profil.c: Likewise.
34680         * grp/setgroups.c: Likewise.
34681         * inet/if_index.c: Likewise.
34682         * io/access.c: Likewise.
34683         * io/chdir.c: Likewise.
34684         * io/chmod.c: Likewise.
34685         * io/chown.c: Likewise.
34686         * io/close.c: Likewise.
34687         * io/dup.c: Likewise.
34688         * io/dup2.c: Likewise.
34689         * io/dup3.c: Likewise.
34690         * io/euidaccess.c: Likewise.
34691         * io/faccessat.c: Likewise.
34692         * io/fchdir.c: Likewise.
34693         * io/fchmod.c: Likewise.
34694         * io/fchmodat.c: Likewise.
34695         * io/fchown.c: Likewise.
34696         * io/fchownat.c: Likewise.
34697         * io/fcntl.c: Likewise.
34698         * io/flock.c: Likewise.
34699         * io/fstatfs.c: Likewise.
34700         * io/fstatfs64.c: Likewise.
34701         * io/fstatvfs.c: Likewise.
34702         * io/fstatvfs64.c: Likewise.
34703         * io/futimens.c: Likewise.
34704         * io/fxstat.c: Likewise.
34705         * io/fxstat64.c: Likewise.
34706         * io/fxstatat.c: Likewise.
34707         * io/fxstatat64.c: Likewise.
34708         * io/getcwd.c: Likewise.
34709         * io/isatty.c: Likewise.
34710         * io/lchmod.c: Likewise.
34711         * io/lchown.c: Likewise.
34712         * io/link.c: Likewise.
34713         * io/linkat.c: Likewise.
34714         * io/lseek.c: Likewise.
34715         * io/lseek64.c: Likewise.
34716         * io/lxstat64.c: Likewise.
34717         * io/mkdir.c: Likewise.
34718         * io/mkdirat.c: Likewise.
34719         * io/mkfifo.c: Likewise.
34720         * io/mkfifoat.c: Likewise.
34721         * io/open.c: Likewise.
34722         * io/open64.c: Likewise.
34723         * io/openat.c: Likewise.
34724         * io/openat64.c: Likewise.
34725         * io/pipe.c: Likewise.
34726         * io/pipe2.c: Likewise.
34727         * io/poll.c: Likewise.
34728         * io/posix_fadvise.c: Likewise.
34729         * io/posix_fadvise64.c: Likewise.
34730         * io/posix_fallocate.c: Likewise.
34731         * io/posix_fallocate64.c: Likewise.
34732         * io/read.c: Likewise.
34733         * io/readlink.c: Likewise.
34734         * io/readlinkat.c: Likewise.
34735         * io/rmdir.c: Likewise.
34736         * io/sendfile.c: Likewise.
34737         * io/sendfile64.c: Likewise.
34738         * io/statfs.c: Likewise.
34739         * io/statfs64.c: Likewise.
34740         * io/statvfs.c: Likewise.
34741         * io/statvfs64.c: Likewise.
34742         * io/symlink.c: Likewise.
34743         * io/symlinkat.c: Likewise.
34744         * io/ttyname.c: Likewise.
34745         * io/ttyname_r.c: Likewise.
34746         * io/umask.c: Likewise.
34747         * io/unlink.c: Likewise.
34748         * io/unlinkat.c: Likewise.
34749         * io/utime.c: Likewise.
34750         * io/utimensat.c: Likewise.
34751         * io/write.c: Likewise.
34752         * io/xmknod.c: Likewise.
34753         * io/xmknodat.c: Likewise.
34754         * io/xstat.c: Likewise.
34755         * io/xstat64.c: Likewise.
34756         * login/getpt.c: Likewise.
34757         * login/grantpt.c: Likewise.
34758         * login/unlockpt.c: Likewise.
34759         * math/e_acoshl.c: Likewise.
34760         * math/e_acosl.c: Likewise.
34761         * math/e_asinl.c: Likewise.
34762         * math/e_atan2l.c: Likewise.
34763         * math/e_atanhl.c: Likewise.
34764         * math/e_coshl.c: Likewise.
34765         * math/e_expl.c: Likewise.
34766         * math/e_fmodl.c: Likewise.
34767         * math/e_gammal_r.c: Likewise.
34768         * math/e_hypotl.c: Likewise.
34769         * math/e_j0l.c: Likewise.
34770         * math/e_j1l.c: Likewise.
34771         * math/e_jnl.c: Likewise.
34772         * math/e_lgammal_r.c: Likewise.
34773         * math/e_log10l.c: Likewise.
34774         * math/e_log2l.c: Likewise.
34775         * math/e_logl.c: Likewise.
34776         * math/e_powl.c: Likewise.
34777         * math/e_rem_pio2l.c: Likewise.
34778         * math/e_sinhl.c: Likewise.
34779         * math/e_sqrtl.c: Likewise.
34780         * math/fclrexcpt.c: Likewise.
34781         * math/fedisblxcpt.c: Likewise.
34782         * math/feenablxcpt.c: Likewise.
34783         * math/fegetenv.c: Likewise.
34784         * math/fegetexcept.c: Likewise.
34785         * math/fegetround.c: Likewise.
34786         * math/feholdexcpt.c: Likewise.
34787         * math/fesetenv.c: Likewise.
34788         * math/fesetround.c: Likewise.
34789         * math/feupdateenv.c: Likewise.
34790         * math/fgetexcptflg.c: Likewise.
34791         * math/fraiseexcpt.c: Likewise.
34792         * math/fsetexcptflg.c: Likewise.
34793         * math/ftestexcept.c: Likewise.
34794         * math/k_cosl.c: Likewise.
34795         * math/k_rem_pio2l.c: Likewise.
34796         * math/k_sinl.c: Likewise.
34797         * math/k_tanl.c: Likewise.
34798         * math/s_asinhl.c: Likewise.
34799         * math/s_atanl.c: Likewise.
34800         * math/s_cbrtl.c: Likewise.
34801         * math/s_erfl.c: Likewise.
34802         * math/s_expm1l.c: Likewise.
34803         * math/s_log1pl.c: Likewise.
34804         * math/s_tanhl.c: Likewise.
34805         * misc/acct.c: Likewise.
34806         * misc/brk.c: Likewise.
34807         * misc/chflags.c: Likewise.
34808         * misc/chroot.c: Likewise.
34809         * misc/fchflags.c: Likewise.
34810         * misc/fgetxattr.c: Likewise.
34811         * misc/flistxattr.c: Likewise.
34812         * misc/fremovexattr.c: Likewise.
34813         * misc/fsetxattr.c: Likewise.
34814         * misc/fsync.c: Likewise.
34815         * misc/ftruncate.c: Likewise.
34816         * misc/futimes.c: Likewise.
34817         * misc/futimesat.c: Likewise.
34818         * misc/getdomain.c: Likewise.
34819         * misc/getdtsz.c: Likewise.
34820         * misc/gethostid.c: Likewise.
34821         * misc/gethostname.c: Likewise.
34822         * misc/getloadavg.c: Likewise.
34823         * misc/getpagesize.c: Likewise.
34824         * misc/getsysstats.c: Likewise.
34825         * misc/getxattr.c: Likewise.
34826         * misc/gtty.c: Likewise.
34827         * misc/ioctl.c: Likewise.
34828         * misc/lgetxattr.c: Likewise.
34829         * misc/listxattr.c: Likewise.
34830         * misc/llistxattr.c: Likewise.
34831         * misc/lremovexattr.c: Likewise.
34832         * misc/lsetxattr.c: Likewise.
34833         * misc/lutimes.c: Likewise.
34834         * misc/madvise.c: Likewise.
34835         * misc/mincore.c: Likewise.
34836         * misc/mlock.c: Likewise.
34837         * misc/mlockall.c: Likewise.
34838         * misc/mmap.c: Likewise.
34839         * misc/mprotect.c: Likewise.
34840         * misc/msync.c: Likewise.
34841         * misc/munlock.c: Likewise.
34842         * misc/munlockall.c: Likewise.
34843         * misc/munmap.c: Likewise.
34844         * misc/preadv.c: Likewise.
34845         * misc/preadv64.c: Likewise.
34846         * misc/ptrace.c: Likewise.
34847         * misc/pwritev.c: Likewise.
34848         * misc/pwritev64.c: Likewise.
34849         * misc/readv.c: Likewise.
34850         * misc/reboot.c: Likewise.
34851         * misc/remap_file_pages.c: Likewise.
34852         * misc/removexattr.c: Likewise.
34853         * misc/revoke.c: Likewise.
34854         * misc/select.c: Likewise.
34855         * misc/setdomain.c: Likewise.
34856         * misc/setegid.c: Likewise.
34857         * misc/seteuid.c: Likewise.
34858         * misc/sethostid.c: Likewise.
34859         * misc/sethostname.c: Likewise.
34860         * misc/setregid.c: Likewise.
34861         * misc/setreuid.c: Likewise.
34862         * misc/setxattr.c: Likewise.
34863         * misc/sstk.c: Likewise.
34864         * misc/stty.c: Likewise.
34865         * misc/swapoff.c: Likewise.
34866         * misc/swapon.c: Likewise.
34867         * misc/sync.c: Likewise.
34868         * misc/syncfs.c: Likewise.
34869         * misc/syscall.c: Likewise.
34870         * misc/truncate.c: Likewise.
34871         * misc/ualarm.c: Likewise.
34872         * misc/usleep.c: Likewise.
34873         * misc/ustat.c: Likewise.
34874         * misc/utimes.c: Likewise.
34875         * misc/vhangup.c: Likewise.
34876         * misc/writev.c: Likewise.
34877         * posix/_exit.c: Likewise.
34878         * posix/alarm.c: Likewise.
34879         * posix/execve.c: Likewise.
34880         * posix/fexecve.c: Likewise.
34881         * posix/fork.c: Likewise.
34882         * posix/fpathconf.c: Likewise.
34883         * posix/getaddrinfo.c: Likewise.
34884         * posix/getegid.c: Likewise.
34885         * posix/geteuid.c: Likewise.
34886         * posix/getgid.c: Likewise.
34887         * posix/getgroups.c: Likewise.
34888         * posix/getlogin.c: Likewise.
34889         * posix/getlogin_r.c: Likewise.
34890         * posix/getpgid.c: Likewise.
34891         * posix/getpid.c: Likewise.
34892         * posix/getppid.c: Likewise.
34893         * posix/getresgid.c: Likewise.
34894         * posix/getresuid.c: Likewise.
34895         * posix/getsid.c: Likewise.
34896         * posix/getuid.c: Likewise.
34897         * posix/glob64.c: Likewise.
34898         * posix/nanosleep.c: Likewise.
34899         * posix/pathconf.c: Likewise.
34900         * posix/pause.c: Likewise.
34901         * posix/posix_madvise.c: Likewise.
34902         * posix/pread.c: Likewise.
34903         * posix/pread64.c: Likewise.
34904         * posix/pwrite.c: Likewise.
34905         * posix/pwrite64.c: Likewise.
34906         * posix/sched_getaffinity.c: Likewise.
34907         * posix/sched_getp.c: Likewise.
34908         * posix/sched_gets.c: Likewise.
34909         * posix/sched_primax.c: Likewise.
34910         * posix/sched_primin.c: Likewise.
34911         * posix/sched_rr_gi.c: Likewise.
34912         * posix/sched_setaffinity.c: Likewise.
34913         * posix/sched_setp.c: Likewise.
34914         * posix/sched_sets.c: Likewise.
34915         * posix/sched_yield.c: Likewise.
34916         * posix/setgid.c: Likewise.
34917         * posix/setlogin.c: Likewise.
34918         * posix/setpgid.c: Likewise.
34919         * posix/setresgid.c: Likewise.
34920         * posix/setresuid.c: Likewise.
34921         * posix/setsid.c: Likewise.
34922         * posix/setuid.c: Likewise.
34923         * posix/sleep.c: Likewise.
34924         * posix/spawni.c: Likewise.
34925         * posix/sysconf.c: Likewise.
34926         * posix/times.c: Likewise.
34927         * posix/wait.c: Likewise.
34928         * posix/wait3.c: Likewise.
34929         * posix/wait4.c: Likewise.
34930         * posix/waitpid.c: Likewise.
34931         * resolv/gai_sigqueue.c: Likewise.
34932         * resource/getpriority.c: Likewise.
34933         * resource/getrlimit.c: Likewise.
34934         * resource/getrusage.c: Likewise.
34935         * resource/nice.c: Likewise.
34936         * resource/setpriority.c: Likewise.
34937         * resource/setrlimit.c: Likewise.
34938         * resource/ulimit.c: Likewise.
34939         * rt/aio_cancel.c: Likewise.
34940         * rt/aio_fsync.c: Likewise.
34941         * rt/aio_read.c: Likewise.
34942         * rt/aio_sigqueue.c: Likewise.
34943         * rt/aio_suspend.c: Likewise.
34944         * rt/aio_write.c: Likewise.
34945         * rt/clock_getres.c: Likewise.
34946         * rt/clock_gettime.c: Likewise.
34947         * rt/clock_nanosleep.c: Likewise.
34948         * rt/clock_settime.c: Likewise.
34949         * rt/lio_listio.c: Likewise.
34950         * rt/mq_close.c: Likewise.
34951         * rt/mq_getattr.c: Likewise.
34952         * rt/mq_notify.c: Likewise.
34953         * rt/mq_open.c: Likewise.
34954         * rt/mq_receive.c: Likewise.
34955         * rt/mq_send.c: Likewise.
34956         * rt/mq_setattr.c: Likewise.
34957         * rt/mq_timedreceive.c: Likewise.
34958         * rt/mq_timedsend.c: Likewise.
34959         * rt/mq_unlink.c: Likewise.
34960         * rt/shm_open.c: Likewise.
34961         * rt/shm_unlink.c: Likewise.
34962         * rt/timer_create.c: Likewise.
34963         * rt/timer_delete.c: Likewise.
34964         * rt/timer_getoverr.c: Likewise.
34965         * rt/timer_gettime.c: Likewise.
34966         * rt/timer_settime.c: Likewise.
34967         * setjmp/__longjmp.c: Likewise.
34968         * setjmp/setjmp.c: Likewise.
34969         * signal/kill.c: Likewise.
34970         * signal/killpg.c: Likewise.
34971         * signal/raise.c: Likewise.
34972         * signal/sigaction.c: Likewise.
34973         * signal/sigaltstack.c: Likewise.
34974         * signal/sigblock.c: Likewise.
34975         * signal/sigignore.c: Likewise.
34976         * signal/sigintr.c: Likewise.
34977         * signal/signal.c: Likewise.
34978         * signal/sigpause.c: Likewise.
34979         * signal/sigpending.c: Likewise.
34980         * signal/sigqueue.c: Likewise.
34981         * signal/sigreturn.c: Likewise.
34982         * signal/sigset.c: Likewise.
34983         * signal/sigsetmask.c: Likewise.
34984         * signal/sigstack.c: Likewise.
34985         * signal/sigsuspend.c: Likewise.
34986         * signal/sigtimedwait.c: Likewise.
34987         * signal/sigvec.c: Likewise.
34988         * signal/sigwait.c: Likewise.
34989         * signal/sigwaitinfo.c: Likewise.
34990         * signal/sysv_signal.c: Likewise.
34991         * socket/accept.c: Likewise.
34992         * socket/accept4.c: Likewise.
34993         * socket/bind.c: Likewise.
34994         * socket/connect.c: Likewise.
34995         * socket/getpeername.c: Likewise.
34996         * socket/getsockname.c: Likewise.
34997         * socket/getsockopt.c: Likewise.
34998         * socket/isfdtype.c: Likewise.
34999         * socket/listen.c: Likewise.
35000         * socket/recv.c: Likewise.
35001         * socket/recvfrom.c: Likewise.
35002         * socket/recvmsg.c: Likewise.
35003         * socket/send.c: Likewise.
35004         * socket/sendmsg.c: Likewise.
35005         * socket/sendto.c: Likewise.
35006         * socket/setsockopt.c: Likewise.
35007         * socket/shutdown.c: Likewise.
35008         * socket/sockatmark.c: Likewise.
35009         * socket/socket.c: Likewise.
35010         * socket/socketpair.c: Likewise.
35011         * stdio-common/ctermid.c: Likewise.
35012         * stdio-common/cuserid.c: Likewise.
35013         * stdio-common/remove.c: Likewise.
35014         * stdio-common/rename.c: Likewise.
35015         * stdio-common/renameat.c: Likewise.
35016         * stdio-common/tempname.c: Likewise.
35017         * stdlib/getcontext.c: Likewise.
35018         * stdlib/makecontext.c: Likewise.
35019         * stdlib/setcontext.c: Likewise.
35020         * stdlib/swapcontext.c: Likewise.
35021         * stdlib/system.c: Likewise.
35022         * streams/fattach.c: Likewise.
35023         * streams/fdetach.c: Likewise.
35024         * streams/getmsg.c: Likewise.
35025         * streams/getpmsg.c: Likewise.
35026         * streams/putmsg.c: Likewise.
35027         * streams/putpmsg.c: Likewise.
35028         * sysdeps/unix/bsd/getpt.c: Likewise.
35029         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35030         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35031         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35033         Likewise.
35034         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35035         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35036         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35037         * sysvipc/msgctl.c: Likewise.
35038         * sysvipc/msgget.c: Likewise.
35039         * sysvipc/msgrcv.c: Likewise.
35040         * sysvipc/msgsnd.c: Likewise.
35041         * sysvipc/semctl.c: Likewise.
35042         * sysvipc/semget.c: Likewise.
35043         * sysvipc/semop.c: Likewise.
35044         * sysvipc/semtimedop.c: Likewise.
35045         * sysvipc/shmat.c: Likewise.
35046         * sysvipc/shmctl.c: Likewise.
35047         * sysvipc/shmdt.c: Likewise.
35048         * sysvipc/shmget.c: Likewise.
35049         * termios/tcdrain.c: Likewise.
35050         * termios/tcflow.c: Likewise.
35051         * termios/tcflush.c: Likewise.
35052         * termios/tcgetattr.c: Likewise.
35053         * termios/tcgetpgrp.c: Likewise.
35054         * termios/tcsendbrk.c: Likewise.
35055         * termios/tcsetattr.c: Likewise.
35056         * termios/tcsetpgrp.c: Likewise.
35057         * time/adjtime.c: Likewise.
35058         * time/clock.c: Likewise.
35059         * time/getitimer.c: Likewise.
35060         * time/gettimeofday.c: Likewise.
35061         * time/setitimer.c: Likewise.
35062         * time/settimeofday.c: Likewise.
35063         * time/stime.c: Likewise.
35064         * time/time.c: Likewise.
35066 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
35068         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35069         /usr/old/bin.
35071         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35072         instead of spaces.
35073         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35075 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
35077         [BZ #14796]
35078         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35079         FE_TONEAREST before applying Dekker multiplication and Knuth
35080         addition.  Clear inexact exceptions and check for exact zero
35081         results afterwards.
35082         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35083         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35084         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35085         * math/libm-test.inc (fma_test): Add more tests.
35086         (fma_test_towardzero): Likewise.
35087         (fma_test_downward): Likewise.
35088         (fma_test_upward): Likewise.
35089         * sysdeps/generic/math_private.h (default_libc_fesetround): New
35090         function.
35091         (libc_fesetround): New macro.
35092         (libc_fesetroundf): Likewise.
35093         (libc_fesetroundl): Likewise.
35094         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35095         function.
35096         (libc_fesetround_387): Likewise.
35097         (libc_fesetroundf): New macro.
35098         (libc_fesetround): Likewise.
35099         (libc_fesetroundl): Likewise.
35100         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35101         function.
35102         (libc_fesetroundf): New macro.
35103         (libc_fesetround): Likewise.
35104         (libc_fesetroundl): Likewise.
35105         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35106         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35107         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35108         libm_hidden_ver.
35109         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35110         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35111         libm_hidden_def.
35112         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35113         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35114         libm_hidden_ver.
35115         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35116         libm_hidden_def.
35118         [BZ #3439]
35119         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35120         integer constant usable in #if and use that to give value to enum
35121         constant.
35122         (FE_DIVBYZERO): Likewise.
35123         (FE_UNDERFLOW): Likewise.
35124         (FE_OVERFLOW): Likewise.
35125         (FE_INVALID): Likewise.
35126         (FE_INVALID_SNAN): Likewise.
35127         (FE_INVALID_ISI): Likewise.
35128         (FE_INVALID_IDI): Likewise.
35129         (FE_INVALID_ZDZ): Likewise.
35130         (FE_INVALID_IMZ): Likewise.
35131         (FE_INVALID_COMPARE): Likewise.
35132         (FE_INVALID_SOFTWARE): Likewise.
35133         (FE_INVALID_SQRT): Likewise.
35134         (FE_INVALID_INTEGER_CONVERSION): Likewise.
35135         (FE_TONEAREST): Likewise.
35136         (FE_TOWARDZERO): Likewise.
35137         (FE_UPWARD): Likewise.
35138         (FE_DOWNWARD): Likewise.
35139         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35140         (FE_DIVBYZERO): Likewise.
35141         (FE_OVERFLOW): Likewise.
35142         (FE_UNDERFLOW): Likewise.
35143         (FE_INEXACT): Likewise.
35144         (FE_TONEAREST): Likewise.
35145         (FE_DOWNWARD): Likewise.
35146         (FE_UPWARD): Likewise.
35147         (FE_TOWARDZERO): Likewise.
35148         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35149         (FE_UNDERFLOW): Likewise.
35150         (FE_OVERFLOW): Likewise.
35151         (FE_DIVBYZERO): Likewise.
35152         (FE_INVALID): Likewise.
35153         (FE_TONEAREST): Likewise.
35154         (FE_TOWARDZERO): Likewise.
35155         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35156         (FE_OVERFLOW): Likewise.
35157         (FE_UNDERFLOW): Likewise.
35158         (FE_DIVBYZERO): Likewise.
35159         (FE_INEXACT): Likewise.
35160         (FE_TONEAREST): Likewise.
35161         (FE_TOWARDZERO): Likewise.
35162         (FE_UPWARD): Likewise.
35163         (FE_DOWNWARD): Likewise.
35164         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35165         (FE_DIVBYZERO): Likewise.
35166         (FE_OVERFLOW): Likewise.
35167         (FE_UNDERFLOW): Likewise.
35168         (FE_INEXACT): Likewise.
35169         (FE_TONEAREST): Likewise.
35170         (FE_DOWNWARD): Likewise.
35171         (FE_UPWARD): Likewise.
35172         (FE_TOWARDZERO): Likewise.
35174 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
35176         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35178 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
35180         * scripts/cross-test-ssh.sh (command): Use newlines to separate
35181         commands.  Quote $PWD.
35182         (blacklist_exports): Don't use remove_newlines.  Replace "declare
35183         -x" by "export".
35184         (remove_newlines): Remove.
35186 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
35188         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35189         * stdlib/stdlib.h (atof): Moved to ...
35190         * include/bits/stdlib-float.h: Here.  New file.
35191         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35192         * stdlib/bits/stdlib-float.h: New file.
35193         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35194         -mno-sse -mno-mmx.
35195         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35196         <xmmintrin.h>.
35198 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35200         * conform/conformtest.pl (@headers): Add fenv.h.
35201         * conform/data/fenv.h-data: New file.
35202         * include/fenv.h [_ISOMAC]: Disable all contents of file except
35203         include of <math/fenv.h>.
35205         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35206         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35207         && !UNIX98].  Enables tests for XOPEN2K8.
35208         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35209         POSIX2008]: Likewise.
35211         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35212         (struct rusage): Do not expect type or its members.
35214         [BZ #3439]
35215         * math/math.h (FP_NAN): Define macro to integer constant usable in
35216         #if and use that to give value to enum constant.
35217         (FP_INFINITE): Likewise.
35218         (FP_ZERO): Likewise.
35219         (FP_SUBNORMAL): Likewise.
35220         (FP_NORMAL): Likewise.
35222 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
35224         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35225         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35226         arguments.
35228 2012-11-02  Roland McGrath  <roland@hack.frob.com>
35230         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35231         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35232         autoconf-time if not.
35233         * configure.in: Remove AC_PREREQ.
35235 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35237         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35238         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35239         of the internal implementation.
35241 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35243         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35244         except include of <misc/sys/syslog.h>.
35246 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35249         function returns with a NULL context exit with zero.
35251 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35253         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35255 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
35257         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35258         (run_program_cmd): This.
35259         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35260         (tst_langinfo): New variable.  Use it.
35262 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
35264         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35265         floating point opcodes.
35267 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35269         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35270         variable.
35272         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35274         * sysdeps/mach/hurd/powerpc: Remove directory.
35275         * sysdeps/mach/powerpc: Likewise.
35277 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35279         * scripts/check-local-headers.sh: Ignore c++ headers.
35281 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35283         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35284         __libc_cleanup_region_start argument.
35286 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
35288         [BZ #14784]
35289         [BZ #14785]
35290         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35291         x * y using scaling, not as x * y + z.
35292         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35293         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35294         * math/libm-test.inc (fma_test): Add more tests.
35295         (fma_test_towardzero): Likewise.
35296         (fma_test_downward): Likewise.
35297         (fma_test_upward): Likewise.
35299 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35301         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35303 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35305         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35306         New variable.
35308 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
35310         * rt/tst-shm.c (worker): Correct checking for mmap failure.
35312 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35315         Fix sort order.
35316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35317         Likewise.
35319 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35322         Fix the order of the list for glibc 2.17.
35323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35324         Likewise.
35326 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35330 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35332         [BZ #14610]
35333         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35334         for low part of x being zero before using __atanl (y).
35335         * math/libm-test.inc (atan2_test): Add another test.
35337         * manual/install.texi (Configuring and compiling): Document
35338         general use of test-wrapper and test-wrapper-env.
35339         * INSTALL: Regenerated.
35341         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35342         (__fma): Do not extract and scale down low bits on after-rounding
35343         systems when result rounded to normal precision would have normal
35344         exponent.
35345         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35346         (__fmal): Do not extract and scale down low bits on after-rounding
35347         systems when result rounded to normal precision would have normal
35348         exponent.
35349         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35350         (__fmal): Do not extract and scale down low bits on after-rounding
35351         systems when result rounded to normal precision would have normal
35352         exponent.
35353         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35354         macro.
35355         (fma_test): Add more tests.
35356         (fma_test_towardzero): Likewise.
35357         (fma_test_downward): Likewise.
35358         (fma_test_upward): Likewise.
35360 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
35362         * sysdeps/i386/tininess.h: Renamed to ...
35363         * sysdeps/x86/tininess.h: This.
35364         * sysdeps/x86_64/tininess.h: Removed.
35366 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35368         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35369         input.  Use $(build-program-cmd).
35370         ($(objpfx)tst-array1-static.out): Likewise.
35371         ($(objpfx)tst-array2.out): Likewise.
35372         ($(objpfx)tst-array3.out): Likewise.
35373         ($(objpfx)tst-array4.out): Likewise.
35374         ($(objpfx)tst-array5.out): Likewise.
35375         ($(objpfx)tst-array5-static.out): Likewise.
35377 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
35379         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35380         if defined.
35382         * nss/nsswitch.h (nss_interface_function): Provide new
35383         macro for use with NSS functions.
35384         * grp/initgroups.c: Use new macro.
35385         * nss/getXXbyYY.c: Likewise.
35386         * nss/getXXbyYY_r.c: Likewise.
35387         * nss/getXXent.c: Likewise.
35388         * nss/getXXent_r.c: Likewise.
35389         * sysdeps/posix/getaddrinfo.c: Likewise.
35391 2012-10-30  Andreas Jaeger  <aj@suse.de>
35393         * po/ru.po: Update Russion translation from translation project.
35395 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35397         [BZ #14152]
35398         [BZ #14783]
35399         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35400         result and shift together with sticky bit instead of replicating
35401         round-to-nearest rounding.
35402         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35403         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35404         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
35405         missing underflow exceptions.
35406         (fma_test_towardzero): Add more tests.
35407         (fma_test_downward): Likewise.
35408         (fma_test_upward): Likewise.
35410         [BZ #14047]
35411         * sysdeps/generic/tininess.h: New file.
35412         * sysdeps/i386/tininess.h: Likewise.
35413         * sysdeps/sh/tininess.h: Likewise.
35414         * sysdeps/x86_64/tininess.h: Likewise.
35415         * stdlib/tst-strtod-underflow.c: Likewise.
35416         * stdlib/tst-tininess.c: Likewise.
35417         * stdlib/strtod_l.c: Include <tininess.h>.
35418         (round_and_return): Do not set errno for exact underflow cases.
35419         Force an underflow exception when setting errno for underflow.
35420         Determine underflow based on rounding to normal precision if
35421         TININESS_AFTER_ROUNDING.
35422         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35423         ERANGE for exact underflow cases.
35424         * stdlib/Makefile (tests): Add tst-tininess and
35425         tst-strtod-underflow.
35426         ($(objpfx)tst-tininess): Use $(link-libm).
35427         ($(objpfx)tst-strtod-underflow): Likewise.
35429 2012-10-30  Andreas Jaeger  <aj@suse.de>
35431         [BZ#14767]
35432         * elf/Makefile (tests): Remove conditional for have-initfini-array
35433         since this is now always required and the variable does not exist
35434         anymore.
35435         (tests-static): Likewise.
35436         (modules-names): Likewise.
35438         * po/eo.po: Add Esperanto translation from translation project.
35440         * elf/tst-array1.c (fini_array): Make writeable so that it can be
35441         merged with constructor/destructor.
35442         (init_array): Likewise.
35443         * elf/tst-array2dep.c (fini_array): Likewise.
35444         (init_array): Likewise.
35446 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
35448         * manual/message.texi: Delete @cartouche tags.
35450 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
35452         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35453         EOPNOTSUPP.
35454         * sysdeps/mach/hurd/fsync.c: Likewise.
35456         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35457         [_POSIX_REALTIME_SIGNALS]: Change condition to
35458         [_POSIX_REALTIME_SIGNALS > 0].
35460 2012-10-27  Andreas Jaeger  <aj@suse.de>
35462         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35463         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35464         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35465         [__WORDSIZE != 64]: Likewise.
35467 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
35469         *  iconvdata/tst-table.sh: Remove ${SHELL}.
35470         *  iconvdata/tst-tables.sh: Likewise.
35472 2012-10-25  David S. Miller  <davem@davemloft.net>
35474         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35475         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35476         of strtoull.
35478         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35479         ifunc-impl-list.c
35480         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35481         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35482         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35483         file.
35485 2012-10-25  Roland McGrath  <roland@hack.frob.com>
35487         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35488         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35489         __getdirentries.
35491 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35492             Jim Blandy  <jimb@codesourcery.com>
35494         * scripts/cross-test-ssh.sh: New file.
35495         * manual/install.texi (Configuring and compiling): Document use of
35496         cross-test-ssh.sh.
35497         * INSTALL: Regenerated.
35499 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
35501         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35502         EOPNOTSUPP.
35504 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35506         * Makeconfig (run-program-prefix): Fix comment.
35508 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35509             Jim Blandy  <jimb@codesourcery.com>
35511         * Makeconfig (test-wrapper): New variable,
35512         (test-wrapper-env): Likewise.
35513         [$(cross-compiling) = yes && $(test-wrapper) != ""]
35514         (run-built-tests): Define to yes.
35515         (run-program-prefix): Use $(test-wrapper).
35516         (built-program-cmd): Likewise.
35517         * Rules (make-test-out): Use $(test-wrapper-env) and
35518         $(host-built-program-cmd).
35519         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35520         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35521         tst-pathopt.sh.
35522         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35523         $(test-wrapper-env) to tst-rtld-load-self.sh.
35524         ($(objpfx)order2.out): Use $(test-wrapper).
35525         ($(objpfx)tst-initorder.out): Likewise.
35526         ($(objpfx)tst-initorder2.out): Likewise.
35527         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35528         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35529         (test_wrapper_env): New variable.  Use it to run ld.so.
35530         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35531         Use it to run ld.so.
35532         (test_wrapper_env): Likewise.
35533         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35534         $(test-wrapper) to run-iconv-test.sh.
35535         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35536         (ICONV): Use $test_wrapper.
35537         * posix/Makefile ($(objpfx)globtest.out): Pass
35538         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35539         globtest.sh, not $(run-program-prefix).
35540         * posix/globtest.sh (run_via_rtld_prefix): New variable.
35541         (test_wrapper): Likewise.
35542         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
35543         set together with run_via_rtld_prefix.
35544         (run_program_prefix): Define in terms of test_wrapper and
35545         run_via_rtld_prefix.
35547 2012-10-24  Roland McGrath  <roland@hack.frob.com>
35549         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35550         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35551         Targets removed.
35553         [BZ #14743]
35554         * include/time.h: Remove librt_hidden_proto (clock_gettime).
35555         Declare __clock_getres, __clock_gettime, __clock_settime,
35556         __clock_nanosleep, and __clock_getcpuclockid.
35557         * rt/clock_gettime.c: Define __clock_gettime as an alias.
35558         Remove librt_hidden_def (clock_gettime).
35559         * sysdeps/unix/clock_gettime.c: Likewise.
35560         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35561         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35562         * rt/clock_getres.c: Define __clock_getres as an alias.
35563         * sysdeps/posix/clock_getres.c: Likewise.
35564         * rt/clock_settime.c: Define __clock_settime as an alias.
35565         * sysdeps/unix/clock_settime.c: Likewise.
35566         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35567         * sysdeps/unix/clock_nanosleep.c: Likewise.
35568         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35569         * rt/clock-compat.c: New file.
35570         * rt/Makefile (librt-routines): Add clock-compat and move
35571         $(clock-routines) to ...
35572         (routines): ... here, new variable.
35573         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35574         Don't add get_clockfreq here.
35575         * rt/Versions (libc: GLIBC_2.17): New version set.
35576         Add clock_* symbols here.
35577         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
35578         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35579         (GLIBC_2.17): Add clock_* symbols.
35580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35582         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35584         Likewise.
35585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35586         Likewise.
35587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35591         * NEWS: Mention the move.
35593         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35594         Use __open, __read, __close rather than their public counterparts.
35595         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35596         (__get_clockfreq_via_cpuinfo): Likewise.
35597         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35598         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35600         * config.h.in (HAVE_IFUNC): New #undef.
35601         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35602         was successful.
35603         * configure: Regenerated.
35605 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35607         * configure.in: Move READELF check to start of file.
35608         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35609         libc_cv_asm_gnu_indirect_function in the process.
35610         * configure: Regenerated.
35612 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35614         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35615         send the output to /dev/null.
35616         (libc_cv_cc_with_libunwind): Likewise.
35617         (libc_cv_as_noexecstack): Likewise.
35618         * configure: Regenerate.
35620 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35622         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35624         * posix/globtest.sh (TMPDIR): Do not set.
35625         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35626         (testout): Likewise.
35628 2012-10-24  Andreas Jaeger  <aj@suse.de>
35630         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35631         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35632         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35633         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35634         posix_fadvise64, posix_fallocate64.
35636         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35637         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35638         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35639         Likewise.
35640         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35641         Likewise.
35642         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35644         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35645         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35646         <bits/fcntl-linux.h>.
35647         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35649         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35650         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35651         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35652         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35653         [__WORDSIZE != 64]: Likewise.
35655 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35657         * Makeconfig (run-built-tests): New variable.
35658         * Rules [$(cross-compiling) = yes]: Change condition to
35659         [$(run-built-tests) = no].
35660         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35661         to [$(run-built-tests) = yes].
35662         * elf/Makefile [$(cross-compiling) = no]: Likewise
35663         * grp/Makefile [$(cross-compiling) = no]: Likewise.
35664         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35665         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35666         * intl/Makefile [$(cross-compiling) = no]: Likewise.
35667         * io/Makefile [$(cross-compiling) = no]: Likewise.
35668         * libio/Makefile [$(cross-compiling) = no]: Likewise.
35669         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35670         * misc/Makefile [$(cross-compiling) = no]: Likewise.
35671         * posix/Makefile [$(cross-compiling) = no]: Likewise.
35672         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35673         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35674         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35675         * string/Makefile [$(cross-compiling) = no]: Likewise.
35677         * posix/Makefile ($(objpfx)globtest.out): Pass
35678         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35679         $(rtld-installed-name).
35680         * posix/globtest.sh (elf_objpfx): Remove variable.
35681         (rtld_installed_name): Likewise.
35682         (library_path): Likewise.
35683         (run_program_prefix): New variable.  Use for running globtest
35684         binary.
35686 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
35687             Joseph Myers  <joseph@codesourcery.com>
35689         * Makeconfig (host-built-program-cmd): New variable.
35690         * elf/Makefile (tst-stackguard1-ARGS): Use
35691         $(host-built-program-cmd).
35692         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35693         (tst-spawn-ARGS): Likewise.
35694         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35696 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35697             Jim Blandy  <jimb@codesourcery.com>
35699         * Makeconfig (run-via-rtld-prefix): New variable.
35700         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35701         (built-program-cmd): Likewise.
35703 2012-10-22  Andreas Jaeger  <aj@suse.de>
35705         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35706         __O_RSYNC if it exists, otherwise to O_SYNC.
35708 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
35709             Joseph Myers  <joseph@codesourcery.com>
35711         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35712         /dev/null.
35713         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35714         from /dev/null
35715         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35716         /dev/null.
35718 2012-10-22  Andreas Jaeger  <aj@suse.de>
35720         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35721         Define always.
35722         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35724         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35725         bits/fcntl-linux.h.
35727         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35728         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35730         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35731         to __O_LARGEFILE.
35732         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35733         to __O_LARGEFILE.
35735 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
35736             Joseph Myers  <joseph@codesourcery.com>
35738         * config.make.in (NM): New variable.
35740 2012-10-21  Andreas Jaeger  <aj@suse.de>
35742         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35743         definitions and declarations that are provided by
35744         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35746 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35748         [BZ #14683]
35749         * elf/Makefile (tests-static): Add tst-leaks1-static.
35750         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35751         ($(objpfx)tst-leaks1-static): New rule.
35752         ($(objpfx)tst-leaks1-static-mem): Likewise.
35753         (tst-leaks1-static-ENV): New macro.
35754         * elf/dl-open.c (dl_open_worker): Check the main application
35755         only if SHARED is defined.
35756         * elf/tst-leaks1-static.c: New file.
35758 2012-10-20  Andreas Jaeger  <aj@suse.de>
35760         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35761         generic values for Linux.
35762         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35763         and declarations that are provided by <bits/fcntl-linux.h> and
35764         include <bits/fcntl-linux.h>.
35765         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35766         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35768 2012-10-20  Roland McGrath  <roland@hack.frob.com>
35770         * io/fcntl.h: Move include of <bits/types.h> to the top and
35771         include it unconditionally.
35773 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35775         * wcsmbs/Makefile (tests-ifunc): New variable.
35776         (tests): Add $(tests-ifunc).
35777         * wcsmbs/test-wcschr-ifunc.c: New file.
35778         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35779         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35780         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35781         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35782         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35784         * string/Makefile (tests-ifunc): New variable.
35785         (tests): Add $(tests-ifunc).
35786         * string/test-memccpy.c (TEST_NAME): New macro.
35787         * string/test-memchr.c (TEST_NAME): Likewise.
35788         * string/test-memcmp.c (TEST_NAME): Likewise.
35789         * string/test-memcpy.c (TEST_NAME): Likewise.
35790         * string/test-memmem.c (TEST_NAME): Likewise.
35791         * string/test-memmove.c (TEST_NAME): Likewise.
35792         * string/test-memset.c (TEST_NAME): Likewise.
35793         * string/test-rawmemchr.c (TEST_NAME): Likewise.
35794         * string/test-stpcpy.c (TEST_NAME): Likewise.
35795         * string/test-stpncpy.c (TEST_NAME): Likewise.
35796         * string/test-strcasecmp.c (TEST_NAME): Likewise.
35797         * string/test-strcasestr.c (TEST_NAME): Likewise.
35798         * string/test-strcat.c (TEST_NAME): Likewise.
35799         * string/test-strchr.c (TEST_NAME): Likewise.
35800         * string/test-strcmp.c(TEST_NAME): Likewise.
35801         * string/test-strcpy.c (TEST_NAME): Likewise.
35802         * string/test-strcspn.c (TEST_NAME): Likewise.
35803         * string/test-strlen.c (TEST_NAME): Likewise.
35804         * string/test-strncasecmp.c (TEST_NAME): Likewise.
35805         * string/test-strncmp.c (TEST_NAME): Likewise.
35806         * string/test-strncpy.c (TEST_NAME): Likewise.
35807         * string/test-strnlen.c (TEST_NAME): Likewise.
35808         * string/test-strpbrk.c (TEST_NAME): Likewise.
35809         * string/test-strrchr.c (TEST_NAME): Likewise.
35810         * string/test-strspn.c (TEST_NAME): Likewise.
35811         * string/test-strstr.c (TEST_NAME): Likewise.
35812         * string/test-bcopy-ifunc.c: New file.
35813         * string/test-bzero-ifunc.c: Likewise.
35814         * string/test-memccpy-ifunc.c: Likewise.
35815         * string/test-memchr-ifunc.c: Likewise.
35816         * string/test-memcmp-ifunc.c: Likewise.
35817         * string/test-memcpy-ifunc.c: Likewise.
35818         * string/test-memmem-ifunc.c: Likewise.
35819         * string/test-memmove-ifunc.c: Likewise.
35820         * string/test-mempcpy-ifunc.c: Likewise.
35821         * string/test-memset-ifunc.c: Likewise.
35822         * string/test-rawmemchr-ifunc.c: Likewise.
35823         * string/test-stpcpy-ifunc.c: Likewise.
35824         * string/test-stpncpy-ifunc.c: Likewise.
35825         * string/test-strcasecmp-ifunc.c: Likewise.
35826         * string/test-strcasestr-ifunc.c: Likewise.
35827         * string/test-strcat-ifunc.c: Likewise.
35828         * string/test-strchr-ifunc.c: Likewise.
35829         * string/test-strchrnul-ifunc.c: Likewise.
35830         * string/test-strcmp-ifunc.c: Likewise.
35831         * string/test-strcpy-ifunc.c: Likewise.
35832         * string/test-strcspn-ifunc.c: Likewise.
35833         * string/test-strlen-ifunc.c: Likewise.
35834         * string/test-strncasecmp-ifunc.c: Likewise.
35835         * string/test-strncat-ifunc.c: Likewise.
35836         * string/test-strncmp-ifunc.c: Likewise.
35837         * string/test-strncpy-ifunc.c: Likewise.
35838         * string/test-strnlen-ifunc.c: Likewise.
35839         * string/test-strpbrk-ifunc.c: Likewise.
35840         * string/test-strrchr-ifunc.c: Likewise.
35841         * string/test-strspn-ifunc.c: Likewise.
35842         * string/test-strstr-ifunc.c: Likewise.
35844         * debug/Makefile (tests-ifunc): New variable.
35845         (tests): Add $(tests-ifunc).
35846         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35847         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35848         * debug/test-stpcpy_chk-ifunc.c: New file.
35849         * debug/test-strcpy_chk-ifunc.c: Likewise.
35851 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35853         [BZ #13601]
35854         * elf/dl-load.c (open_verify): Retry read if the entire ELF
35855         header is not read in.
35857 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
35859         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
35860         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
35861         directly.  Pass built executable to script as
35862         $(built-program-cmd).
35863         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
35864         $testprogram without using LD_LIBRARY_PATH and $ldso.
35866         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35867         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35868         $(rtld-installed-name).
35869         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35870         (rtld_installed_name): Likewise.
35871         (library_path): Likewise.
35872         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
35873         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35874         $(run-program-prefix) to tst-tables.sh.
35875         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
35876         it to run tst-table-from and tst-table-to.
35877         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35878         Pass it to tst-table.sh.
35879         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35880         $(run-program-prefix) to tst-gettext.sh.
35881         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35882         tst-translit.sh.
35883         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35884         tst-gettext2.sh.
35885         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
35886         to run tst-gettext.
35887         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
35888         to run tst-gettext2.
35889         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
35890         to run tst-translit.
35891         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35892         $(run-program-prefix) to tst-mtrace.sh.
35893         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
35894         to run tst-mtrace.
35895         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35896         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35897         $(rtld-installed-name).
35898         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35899         (rtld_installed_name): Likewise.
35900         (run_program_prefix): New variable.  Use it to run wordexp-test.
35902         * Makeconfig (ARCH): Remove all definitions.
35903         (machine): Likewise.
35904         [ARCH]: Remove conditional code.
35905         [!objdir]: Give error.
35906         [!objdir] (objpfx): Remove.
35907         [!objdir] (common-objpfx): Likewise.
35908         [!objdir] (common-objdir): Likewise.
35909         * configure.in (config_makefile): Remove.  Hardcode Makefile in
35910         AC_CONFIG_FILES call.
35911         * configure: Regenerated.
35913         [BZ #13888]
35914         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35915         or TMPDIR.
35916         (testout): Likewise.
35918         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35919         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35920         $(rtld-installed-name).
35921         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35922         (rtld_installed_name): Likwise.
35923         (runit): Remove function.
35924         (run_getconf): New variable,  Use it for running getconf binary.
35926 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
35928         [BZ #14716]
35929         * string/test-memmem.c (check_result): New function.
35930         (do_one_test): Use it.
35931         (check1): New function.
35932         (test_main): Use it.
35934 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
35936         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35938 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
35940         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35941         (_G_LSEEK64): Likewise.
35942         (_G_MMAP64): Likewise.
35943         (_G_FSTAT64): Likewise.
35944         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35945         (_G_LSEEK64): Likewise.
35946         (_G_MMAP64): Likewise.
35947         (_G_FSTAT64): Likewise.
35948         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35949         unconditional.  Call __mmap64 directly.
35950         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35951         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
35952         __lseek64 directly.
35953         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35954         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
35955         __mmap64 directly.
35956         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35957         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
35958         __lseek64 directly.
35959         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35960         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
35961         __lseek64 directly.
35962         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35963         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
35964         __lseek64 directly.
35965         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35966         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
35967         __fxstat64 directly.
35968         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35969         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35970         unconditional.
35971         (freopen64) [!_G_OPEN64]: Remove conditional code.
35972         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35973         unconditional.
35974         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35975         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35976         unconditional.
35977         (ftello64) [!_G_LSEEK64]: Remove conditional code.
35978         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35979         unconditional.
35980         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35981         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35982         unconditional.
35983         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35984         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35985         unconditional.
35986         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35987         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35988         unconditional.
35989         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35990         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35991         unconditional.
35992         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35994 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35996         [BZ #12140]
35997         * manual/memory.texi (Malloc Tunable Parameters): Add note
35998         about free list pointers overwriting some perturb bytes.
35999         Wording suggested by Roland McGrath.
36001 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
36003         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36004         (lgamma_test): Likewise.
36005         (tgamma_test): Likewise.
36007 2012-10-16  Florian Weimer  <fweimer@redhat.com>
36009         [BZ #14700]
36010         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36011         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36013 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
36015         * NEWS: Mention BZ #14716.
36016         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36017         when removing AVAILABLE1_USES_J macro.
36019 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
36021         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36022         (__bswap_64): __uint64_t for unsigned 64-bit int.
36024 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
36026         * include/string.h (memmem): Declare libc hidden alias.
36027         * string/memmem.c (memmem): Define libc hidden alias.
36028         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36029         __read, __close instead of open, read, close.
36031 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
36033         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36034         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36035         global and hidden.
36036         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36037         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36038         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36039         Likewise.
36040         (__rawmemchr_sse2): Likewise.
36041         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36042         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36043         (__strchr_sse2): Likewise.
36044         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36045         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36046         (__strcasecmp_sse2): Likewise.
36047         (__strncasecmp_sse2): Likewise.
36048         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36049         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36050         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36051         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36052         (__strrchr_sse2): Likewise.
36053         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36054         ifunc-impl-list.c.
36055         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36056         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36057         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36058         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36059         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36060         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36061         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36062         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36063         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36064         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36065         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36066         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36067         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36068         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36069         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36070         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36071         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36072         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36073         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36074         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36075         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36076         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36077         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36078         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36079         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36080         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36081         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36082         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36083         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36084         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36086         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36087         global and hidden.
36088         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36089         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36090         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36091         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36092         Likewise.
36093         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36094         Likewise.
36095         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36096         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36097         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36098         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36099         ifunc-impl-list.c.
36100         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36101         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36102         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36103         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36104         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36105         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36106         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36107         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36108         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36109         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36110         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36111         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36112         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36113         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36114         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36115         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36116         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36117         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36118         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36119         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36120         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36121         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36122         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36123         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36124         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36125         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36126         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36127         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36128         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36129         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36130         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36131         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36132         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36133         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36134         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36135         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36136         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36137         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36138         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36139         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36140         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36142         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36143         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36144         * include/ifunc-impl-list.h: New file.
36145         * misc/ifunc-impl-list.c: Likewise.
36146         * misc/Makefile (routines): Add ifunc-impl-list.
36147         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36148         * string/test-string.h: Include <ifunc-impl-list.h>.
36149         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36150         TEST_NAME]: New variables.
36151         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36152         are defined.
36153         (test_init): Call __libc_ifunc_impl_list to initialize
36154         func_list if TEST_IFUNC and TEST_NAME are defined.
36156         * string/Makefile (strop-tests): Add bcopy and bzero.
36157         * string/test-bcopy.c: New file.
36158         * string/test-bzero.c: Likewise.
36159         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36160         defined.
36161         * string/test-memset.c: Support bzero test if TEST_BZERO is
36162         defined.
36163         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36164         __libc_memmove.
36165         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36166         __libc_memset.
36167         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36168         of memset.
36170 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
36172         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36173         * configure: Regenerated.
36175         * Makeconfig (+link-static-before-libc): Don't include
36176         $(link-static-libc).
36178         * libio/libio.h (_IO_pos_t): Remove.
36180 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36182         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
36183         McGrath.
36185 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36187         * crypt/crypt-entry.c: Include fips-private.h.
36188         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36189         * crypt/md5c-test.c (main): Tolerate disabled MD5.
36190         * sysdeps/unix/sysv/linux/fips-private.h: New file.
36191         * sysdeps/generic/fips-private.h: New file, dummy fallback.
36193 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36195         * crypt/crypt-private.h: Include stdbool.h.
36196         (_ufc_setup_salt_r): Return bool.
36197         * crypt/crypt-entry.c: Include errno.h.
36198         (__crypt_r): Return NULL with EINVAL for bad salt.
36199         * crypt/crypt_util.c (bad_for_salt): New.
36200         (_ufc_setup_salt_r): Check that salt is long enough and within
36201         the specified alphabet.
36202         * crypt/badsalttest.c: New file.
36203         * crypt/Makefile (tests): Add it.
36204         ($(objpfx)badsalttest): New.
36206 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
36208         * NEWS: Add entry for BZ #14602.
36210 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36212         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36213         type-generic.
36214         * math/libm-test.inc: Update comment listing what functions and
36215         macros are tested.
36216         (isgreater_test): New function.
36217         (isgreaterequal_test): Likewise.
36218         (isless_test): Likewise.
36219         (islessequal_test): Likewise.
36220         (islessgreater_test): Likewise.
36221         (isunordered_test): Likewise.
36222         (main): Call the new functions.
36224 2012-10-09  Roland McGrath  <roland@hack.frob.com>
36226         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36227         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36228         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36229         * sysdeps/i386/configure: Regenerated.
36230         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36231         * sysdeps/mach/configure: Regenerated.
36232         * sysdeps/mach/hurd/configure: Regenerated.
36233         * sysdeps/powerpc/configure: Regenerated.
36234         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36235         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36236         * sysdeps/s390/s390-32/configure: Regenerated.
36237         * sysdeps/s390/s390-64/configure: Regenerated.
36238         * sysdeps/sh/configure: Regenerated.
36239         * sysdeps/sparc/configure: Regenerated.
36240         * sysdeps/unix/sysv/linux/configure: Regenerated.
36241         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36242         * sysdeps/x86_64/configure: Regenerated.
36244         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36245         defined.  Don't check if MAP is NULL.
36247 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36249         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36250         (_G_stat64): Likewise.
36251         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36252         (_G_stat64): Likewise.
36253         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36254         instead of struct _G_stat64.
36255         * libio/fileops.c (mmap_remap_check): Likewise.
36256         (decide_maybe_mmap): Likewise.
36257         (_IO_new_file_seekoff): Likewise.
36258         (_IO_file_stat): Likewise.
36259         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36260         _G_off64_t.
36261         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36262         instead of struct _G_stat64.
36263         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36265 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
36267         [BZ #14602]
36268         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36269         Replace with ...
36270         (CHECK_EOL): New macro.
36271         (two_way_short_needle): Check beginning of haystack for EOL.  Use
36272         CHECK_EOL.
36273         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36274         Replace with CHECK_EOL.
36275         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36276         Replace with CHECK_EOL.
36278 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
36280         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36281         type-generic.
36282         * math/libm-test.inc: Update comment listing what functions and
36283         macros are tested.
36284         (finite_test): New function.
36285         (isinf_test): Likewise.
36286         (isnan_test): Likewise.
36287         (fpclassify_test): Test subnormal input.
36288         (isfinite_test): Likewise.
36289         (isnormal_test): Likewise.
36290         (main): Call the new functions.
36292 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
36294         [BZ #14660]
36295         * Makerules (%.dynsym): Force C locale when running
36296         $(OBJDUMP) --dynamic-syms.
36298 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
36300         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36301         <stdint.h>.
36303 2012-10-06  David S. Miller  <davem@davemloft.net>
36305         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36306         upper 32-bits of the length value in %o2 since we use branch-on-register
36307         tests which consider the entire 64-bit register.
36309 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
36311         * string/test-strstr.c (check2): Add a test for page boundary.
36313 2012-10-05  David S. Miller  <davem@davemloft.net>
36315         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36316         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36317         file.
36318         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36319         sysdep_routines.
36320         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36321         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36322         and bzero when HWCAP_SPARC_CRYPTO is present.
36324 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
36326         [BZ #14602]
36327         * string/test-strstr.c (check2): New function.
36328         (test_main): Call check2.
36330         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36331         and bug-strchr1.
36332         * string/bug-strcasestr1.c (do_test): Moved to ...
36333         * string/test-strcasestr.c (check1): Here.  New function.
36334         (do_one_test): Break out result checking code into ...
36335         (check_result): This.  New function.
36336         (do_one_test): Call check_result.
36337         (test_main): Call check1.
36338         * string/bug-strchr1.c (do_test): Moved to ...
36339         * string/test-strchr.c (check1): Here.  New function.
36340         (do_one_test): Break out result checking code into ...
36341         (check_result): This.  New function.
36342         (do_one_test): Call check_result.
36343         (test_main): Call check1.
36344         * string/bug-strstr1.c (main): Moved to ...
36345         * string/test-strstr.c (check1): Here.  New function.
36346         (do_one_test): Break out result checking code into ...
36347         (check_result): This.  New function.
36348         (do_one_test): Call check_result.
36349         (test_main): Call check1.
36350         * string/bug-strcasestr1.c: Removed.
36351         * string/bug-strchr1.c: Likewise.
36352         * string/bug-strstr1.c: Likewise.
36354         * elf/Makefile (dl-routines): Add hwcaps.
36355         * elf/dl-support.c (_dl_important_hwcaps): Removed.
36356         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36357         (_dl_important_hwcaps): Moved to ...
36358         * elf/dl-hwcaps.c: Here.  New file.
36359         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36361         [BZ #14557]
36362         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36363         if IS_IN_rtld isn't defined.
36365         * elf/dl-support.c (_dl_sysinfo_map): New.
36366         Include "get-dynamic-info.h" and "setup-vdso.h".
36367         (_dl_non_dynamic_init): Call setup_vdso.
36368         * elf/dynamic-link.h: Don't include <assert.h>.
36369         (elf_get_dynamic_info): Moved to ...
36370         * elf/get-dynamic-info.h: Here.  New file.
36371         * elf/dynamic-link.h: Include "get-dynamic-info.h".
36372         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36373         * elf/setup-vdso.h: Here.  New file.
36374         * elf/rtld.c: Include "setup-vdso.h".
36375         (dl_main): Call setup_vdso.
36377 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
36379         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36380         creal in comment listing functions tested.  List finite, isinf,
36381         isnan, isless, islessequal, isgreater, isgreaterequal,
36382         islessgreater, isunordered, lgamma_r and pow10 as functions and
36383         macros not tested.  Mention which functions not tested are aliases
36384         for other functions.  Fix typo.  Note that signs of NaNs are not
36385         tested.
36387         * scripts/config.guess: Update from config.git.
36388         * scripts/config.sub: Likewise.
36390 2012-10-04  Roland McGrath  <roland@hack.frob.com>
36392         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36393         * misc/madvise.c (madvise): Renamed to __madvise.
36394         Make madvise a weak alias.
36395         * include/sys/mman.h: Declare __madvise.
36396         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36397         * sysdeps/unix/syscalls.list
36398         (madvise): Make __madvise the strong name, and madvise a weak alias.
36399         * sysdeps/unix/sysv/linux/syscalls.list
36400         (madvise, mmap): Remove redundant entries.
36401         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36402         * malloc/malloc.c (mtrim): Likewise.
36403         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36405 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36407         * sysdeps/mach/hurd/dl-cache.c: File removed.
36408         * config.h.in (USE_LDCONFIG): New #undef.
36409         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36410         * configure: Regenerated.
36411         * elf/Makefile (dl-routines): Add dl-cache only under
36412         [$(use-ldconfig) = yes].
36413         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36414         cache on [USE_LDCONFIG].
36415         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36416         [USE_LDCONFIG].
36417         * elf/rtld.c (dl_main): Likewise.
36419 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
36421         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36422         _SC_LEVEL4_CACHE_LINESIZE.
36424 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36426         * sysdeps/unix/bsd/confstr.h: File removed.
36428 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
36430         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36431         sys/sdt-config.h.
36433 2012-10-02  Roland McGrath  <roland@hack.frob.com>
36435         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36436         Make 'mapoff' field ElfW(Off) rather than off_t.
36438 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
36440         * nscd/Makefile: Remove nscd-cflags and all its users.
36441         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36442         (CFLAGS-nonlib): Add compiler flags for nscd modules.
36444         [BZ #10631]
36445         * malloc.c (malloc_printerr): Clarify error message.
36447 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
36449         [BZ #14648]
36450         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36451         Set bit_FMA_Usable if FMA is supported.
36452         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36453         macro.
36454         (bit_FMA4_Usable): Updated.
36455         (index_FMA_Usable): New macro.
36456         (CPUID_FMA): Likewise
36457         (HAS_FMA): Defined with bit_FMA_Usable.
36459 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36461         * bits/types.h (__swblk_t): Type removed.
36462         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36463         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36464         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36465         (__SWBLK_T_TYPE): Likewise.
36466         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36467         (__SWBLK_T_TYPE): Likewise.
36468         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36469         (__SWBLK_T_TYPE): Likewise.
36470         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36471         (__SWBLK_T_TYPE): Likewise.
36473 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
36474             Honza Horak <hhorak@redhat.com>
36476         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36477         (xdr_mapname): Use YPMAXMAP as maxsize.
36478         (xdr_peername): Use YPMAXPEER as maxsize.
36479         (xdr_keydat): Use YPAXRECORD as maxsize.
36480         (xdr_valdat): Use YPMAXRECORD as maxsize.
36482 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36484         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36486         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36487         * csu/init-first.c: ... here.
36488         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36489         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36490         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36491         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36492         * sysdeps/i386/init-first.c: File removed.
36493         * sysdeps/sh/init-first.c: File removed.
36495 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
36497         [BZ #14645]
36498         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36499         if x * y might underflow to zero and z is zero.
36500         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36501         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36502         * math/libm-test.inc (min_subnorm_value): New variable.
36503         (fma_test): Add more tests.
36504         (fma_test_towardzero): Likewise.
36505         (fma_test_downward): Likewise
36506         (fma_test_upward): Likewise.
36507         (initialize): Set min_subnorm_value.
36509 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
36511         [BZ #14638]
36512         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36513         0 + 0.
36514         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36515         mode for addition resulting in exact zero.
36516         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36517         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36518         exact 0 + 0.
36519         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36520         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36521         * math/libm-test.inc (fma_test): Add more tests.
36522         (fma_test_towardzero): New function.
36523         (fma_test_downward): Likewise.
36524         (fma_test_upward): Likewise.
36525         (main): Call the new functions.
36527 2012-09-28  David S. Miller  <davem@davemloft.net>
36529         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36531 2012-09-28  Roland McGrath  <roland@hack.frob.com>
36533         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36534         instead of SIGALRM.
36536         * sysdeps/gnu/_G_config.h: Moved to ...
36537         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36538         * sysdeps/mach/hurd/_G_config.h: Moved to ...
36539         * sysdeps/generic/_G_config.h: ... here.
36541         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
36543         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36545         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36546         Conditionalize target on [libnss_test1.so-version].
36548         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36550         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36551         (elfobjdir): Move out of conditionals.
36553         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36554         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36555         (__nss_lookup_function): Conditionalize label remove_from_tree on
36556         [!DO_STATIC_NSS || SHARED], matching its only use.
36558 2012-09-28  David S. Miller  <davem@davemloft.net>
36560         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36561         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36562         file.
36563         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36564         sysdep_routines.
36565         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36566         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36567         when HWCAP_SPARC_CRYPTO is present.
36569 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36571         * io/tst-mknodat.c: Create a FIFO instead of a socket.
36573 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
36575         [BZ #6530]
36576         * stdio-common/vfprintf.c (process_string_arg): Revert
36577         2000-07-22 change.
36579 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
36581         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36582         for testcase.
36583         * stdio-common/tst-sprintf.c: Include <locale.h>
36584         (main): Test sprintf's handling of incomplete multibyte
36585         characters.
36587 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
36589         * elf/dl-runtime.c (VERSYMIDX): Removed.
36590         * elf/dl-version.c (VERSYMIDX): Likewise.
36591         * elf/do-rel.h (VERSYMIDX): Likewise.
36592         (VALIDX): Likewise.
36593         * elf/dynamic-link.h (VERSYMIDX): Likewise.
36594         * elf/rtld.c (VALIDX): Likewise.
36595         (ADDRIDX): Likewise.
36596         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36597         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36598         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36599         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36600         (VALIDX): Likewise.
36601         (ADDRIDX): Likewise.
36603 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36605         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36607 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
36609         [BZ #11438]
36610         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36611         to global scope.
36612         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36613         addresses are in the same scope as 192.0.2/24.
36614         * posix/gai.conf: Document new scope table defaults.
36616 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36618         [BZ #5298]
36619         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36620         for ftell.  Compute offsets from write pointers instead.
36621         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36623 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36625         [BZ #14543]
36626         * libio/Makefile (tests): New test case tst-fseek.
36627         * libio/tst-fseek.c: New test case to verify that fseek/ftell
36628         combination works in wide mode.
36629         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36630         state when the external buffer state changes.
36632 2012-09-27  David S. Miller  <davem@davemloft.net>
36634         [BZ #14376]
36635         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36636         pass reloc->r_addend in as the 'high' argument to
36637         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36641 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36643         * rt/tst-aio2.c: Include <pthread.h>.
36644         * rt/tst-aio3.c: Likewise.
36646 2012-09-27  Steve Ellcey  <sellcey@mips.com>
36648         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36650 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
36652         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36653         contents on [SHARED].
36655 2012-09-26  Marek Polacek  <polacek@redhat.com>
36657         [BZ #14530]
36658         [BZ #13741]
36659         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36660         for C++ and GCC <4.3 as well as for non GCC compilers.
36662 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36664         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36666 2012-09-25  Roland McGrath  <roland@hack.frob.com>
36668         * Makefile.in (all, install): Declare with .PHONY.
36669         Reported by Michael Hope <michael.hope@linaro.org>.
36671 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36673         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36674         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36675         system header.
36676         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36677         Likewise.
36678         (sydep_routines): Add the new and the internal functions.
36679         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36680         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36682         (GLIBC_2.17): Add the new function.
36683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36684         (GLIBC_2.17): Likewise.
36685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36686         (GLIBC_2.17): Likewise.
36687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36688         (GLIBC_2.17): Likewise.
36689         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36691 2012-09-25  Alan Modra  <amodra@gmail.com>
36693         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36694         Add release barrier before setting once_control to say
36695         initialisation is done.  Add hints on lwarx.  Use macro in
36696         place of isync.
36697         (clear_once_control): Add release barrier.
36699 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36701         [BZ #13629]
36702         * math/s_clog.c (__clog): Handle more values close to |z| = 1
36703         specially.
36704         * math/s_clog10.c (__clog10): Likewise.
36705         * math/s_clog10f.c (__clog10f): Likewise.
36706         * math/s_clog10l.c (__clog10l): Likewise.
36707         * math/s_clogf.c (__clogf): Likewise.
36708         * math/s_clogl.c (__clogl): Likewise.
36709         * math/Makefile (libm-calls): Add x2y2m1.
36710         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36711         (__x2y2m1): Likewise.
36712         (__x2y2m1l): Likewise.
36713         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36714         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36715         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36716         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36717         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36718         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36719         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36720         * sysdeps/i386/fpu/libm-test-ulps: Update.
36721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36723         [BZ #14621]
36724         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36725         int as type of variable DEPTH.
36726         (glob): Use size_t instead of int as type of variables NEWCOUNT
36727         and OLD_PATHC.
36729 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36731         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36732         Add s_sincosf-sse2.
36733         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36734         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36735         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36736         macros for using routine as __sincosf_ia32.
36737         Use macro for function declaration and weak_alias.
36738         * sysdeps/i386/fpu/libm-test-ulps: Update.
36740         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36741         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36743         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36744         subnormal argument.
36745         * math/s_cexpf.c (__cexpf): Likewise.
36746         * math/s_csinf.c (__csinf): Likewise.
36747         * math/s_csinhf.c (__csinhf): Likewise.
36748         * math/s_ctanf.c (__ctanf): Likewise.
36749         * math/s_ctanhf.c (__ctanhf): Likewise.
36750         * math/s_ccosh.c (__ccoshf): Likewise.
36751         * math/s_cexp.c (__cexpl): Likewise.
36752         * math/s_csin.c (__csin): Likewise.
36753         * math/s_csinh.c (__csinh): Likewise.
36754         * math/s_ctan.c (__ctan): Likewise.
36755         * math/s_ctanh.c (ctanh): Likewise.
36756         * math/s_ccoshl.c (__ccoshl): Likewise.
36757         * math/s_cexpl.c (__cexpl): Likewise.
36758         * math/s_csinl.c (__csinl): Likewise.
36759         * math/s_csinhl.c (__csinhl): Likewise.
36760         * math/s_ctanl.c (__ctanl): Likewise.
36761         * math/s_ctanhl.c (__ctanhl): Likewise.
36763 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36765         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36766         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36767         (_IO_off_t): Define to __off_t, not _G_off_t.
36768         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36769         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36770         (_IO_wint_t): Define to wint_t, not _G_wint_t.
36771         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36772         type of __dummy and __dummy2 fields.
36773         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36774         (_G_ssize_t): Likewise.
36775         (_G_off_t): Likewise.
36776         (_G_pid_t): Likewise.
36777         (_G_uid_t): Likewise.
36778         (_G_wchar_t): Likewise.
36779         (_G_wint_t): Likewise.
36780         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36781         (_G_ssize_t): Likewise.
36782         (_G_off_t): Likewise.
36783         (_G_pid_t): Likewise.
36784         (_G_uid_t): Likewise.
36785         (_G_wchar_t): Likewise.
36786         (_G_wint_t): Likewise.
36787         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36788         (_G_ssize_t): Likewise.
36789         (_G_off_t): Likewise.
36790         (_G_pid_t): Likewise.
36791         (_G_uid_t): Likewise.
36792         (_G_wchar_t): Likewise.
36793         (_G_wint_t): Likewise.
36795 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36797         * malloc/arena.c: Include malloc-sysdep.h.
36798         (shrink_heap): Use check_may_shrink_heap to decide if madvise
36799         is sufficient to shrink the heap or an unmap is needed.
36800         * sysdeps/generic/malloc-sysdep.h: New file.  Define
36801         new function check_may_shrink_heap.
36802         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
36803         new function check_may_shrink_heap.
36805 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36807         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36808         comments.
36810 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
36812         * catgets/test-gencat.sh: Add "set -e".
36813         * elf/tst-pathopt.sh: Likewise.
36814         * grp/tst_fgetgrent.sh: Likewise.
36815         * iconvdata/run-iconv-test.sh: Likewise.
36816         * intl/tst-gettext.sh: Likewise.
36817         * intl/tst-gettext2.sh: Likewise.
36818         * intl/tst-gettext4.sh: Likewise.
36819         * intl/tst-gettext6.sh: Likewise.
36820         * intl/tst-translit.sh: Likewise.
36821         * io/ftwtest-sh: Likewise.
36822         * libio/test-freopen.sh: Likewise.
36823         * malloc/tst-mtrace.sh: Likewise.
36824         * posix/globtest.sh: Likewise.
36825         * posix/tst-getconf.sh: Likewise.
36826         * posix/wordexp-tst.sh: Likewise.
36827         * stdio-common/tst-printf.sh: Likewise.
36828         * stdio-common/tst-unbputc.sh: Likewise.
36829         * stdlib/tst-fmtmsg.sh: Likewise.
36830         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36831         * catgets/Makefile: Do not specify -e option when running
36832         testsuite shell scripts.
36833         * elf/Makefile: Likewise.
36834         * grp/Makefile: Likewise.
36835         * iconvdata/Makefile: Likewise.
36836         * intl/Makefile: Likewise.
36837         * io/Makefile: Likewise.
36838         * libio/Makefile: Likewise.
36839         * malloc/Makefile: Likewise.
36840         * posix/Makefile: Likewise.
36841         * stdio-common/Makefile: Likewise.
36842         * stdlib/Makefile: Likewise.
36843         * sysdeps/x86_64/Makefile: Likewise.
36845         * io/ftwtest-sh: Add copyright header.
36846         * posix/globtest.sh: Likewise.
36847         * posix/tst-getconf.sh: Likewise.
36848         * posix/wordexp-tst.sh: Likewise.
36849         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36851 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
36853         [BZ #13679]
36854         * Makeconfig (+link): Defined as $(+link-static) if
36855         $(build-shared) isn't yes.
36856         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36857         isn't yes.
36858         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36860         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36862         [BZ #14562]
36863         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36864         new chunk size with MALLOC_ALIGN_MASK.
36866 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
36868         [BZ #5044]
36869         * stdio-common/printf_fphex.c: Include <stdbool.h> and
36870         <rounding-mode.h>.
36871         (__printf_fphex): Determine rounding using get_rounding_mode and
36872         round_away.
36873         * stdio-common/tst-printf-round.c (struct hex_test): New
36874         structure.
36875         (hex_tests): New variable.
36876         (test_hex_in_one_mode): New function.
36877         (do_test): Also run tests for hex float output.
36879 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
36881         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36882         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36883         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36884         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36885         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36886         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36887         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36888         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36890 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
36892         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36893         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36894         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36895         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36897 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
36899         [BZ #14579]
36900         * elf/rtld.c (dl_main): Limit the check for self loading to normal
36901         mode only.
36902         * elf/tst-rtld-load-self.sh: New test.
36903         * elf/Makefile: Run it.
36905 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
36907         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36908         (tst-writev-ENV): Remove.
36909         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36911 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
36913         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36915 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
36917         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36918         unconditional.
36919         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36920         Likewise.
36921         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36922         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36923         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36924         Likewise.
36926 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
36928         [BZ #14587]
36929         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36930         * config.make.in (have-cpp-asm-debuginfo): Removed.
36931         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36932         * configure: Regenerated.
36934 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
36936         [BZ #5044]
36937         * stdio-common/printf_fp.c: Include <stdbool.h> and
36938         <rounding-mode.h>.
36939         (___printf_fp): Determine rounding using get_rounding_mode and
36940         round_away.
36941         * stdio-common/tst-printf-round.c: New file.
36942         * stdio-common/Makefile (tests): Add tst-printf-round.
36943         (link-libm): New variable.
36944         ($(objpfx)tst-printf-round): Depend in $(link-libm).
36946 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
36948         [BZ #14576]
36949         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36950         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36951         Likewise.
36952         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36953         Likewise.
36955 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
36957         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36958         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36959         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36960         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36962 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
36964         [BZ #14518]
36965         * include/rounding-mode.h: New file.
36966         * sysdeps/generic/get-rounding-mode.h: Likewise.
36967         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36968         * stdlib/strtod_l.c: Include <rounding-mode.h>.
36969         (MAX_VALUE): New macro.
36970         (MIN_VALUE): Likewise.
36971         (overflow_value): New function.
36972         (underflow_value): Likewise.
36973         (round_and_return): Use overflow_value and underflow_value to
36974         determine return values in overflow and underflow cases.  Use
36975         round_away to determine rounding depending on rounding mode.
36976         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36977         determine return values in overflow and underflow cases.
36978         * stdlib/tst-strtod-round.c: Include <fenv.h>.
36979         (struct test_results): New structure.
36980         (struct test): Use struct test_results to store expected results
36981         for all rounding modes.
36982         (TEST): Include expected results for all rounding modes.
36983         (test_in_one_mode): New function.
36984         (do_test): Use test_in_one_mode to compute and check results.
36985         Check results for all rounding modes.
36986         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36987         $(link-libm).
36989 2012-12-09  Allan McRae  <allan@archlinux.org>
36991         * sysdeps/i386/fpu/libm-test-ulps: Update
36993 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
36995         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36996         (_G_int32_t): Likewise.
36997         (_G_uint16_t): Likewise.
36998         (_G_uint32_t): Likewise.
36999         (_G_HAVE_BOOL): Likewise.
37000         (_G_HAVE_ATEXIT): Likewise.
37001         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37002         (_G_HAVE_IO_FILE_OPEN): Likewise.
37003         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37004         (_G_int32_t): Likewise.
37005         (_G_uint16_t): Likewise.
37006         (_G_uint32_t): Likewise.
37007         (_G_HAVE_BOOL): Likewise.
37008         (_G_HAVE_ATEXIT): Likewise.
37009         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37010         (_G_HAVE_IO_FILE_OPEN): Likewise.
37011         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37012         (_G_int32_t): Likewise.
37013         (_G_uint16_t): Likewise.
37014         (_G_uint32_t): Likewise.
37015         (_G_HAVE_BOOL): Likewise.
37016         (_G_HAVE_ATEXIT): Likewise.
37017         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37018         (_G_HAVE_IO_FILE_OPEN): Likewise.
37020 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
37022         * csu/libc-tls.c: Update copyright years.
37024 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
37026         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37027         [!_G_USING_THUNKS]: Remove conditional code.
37028         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37029         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37031         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37032         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37033         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37034         (_G_VTABLE_LABEL_PREFIX): Likewise.
37035         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37036         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37037         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37038         (_G_VTABLE_LABEL_PREFIX): Likewise.
37039         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37040         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37041         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37042         (_G_VTABLE_LABEL_PREFIX): Likewise.
37043         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37045 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
37047         * libio/Makefile: Include ../Makeconfig before tests.
37048         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37049         only if $(build-shared) is yes.
37051         * iconv/gconv_db.c: Update copyright years.
37053 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37055         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37056         unwind info if defined PIC. Fix special cases description.
37057         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37059         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37060         DP_HI_MASK entry.
37061         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37063 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
37065         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37067         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37068         is NULL.
37070         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37071         (LDLIBS-tst-chk4): This.
37072         (LDFLAGS-tst-chk5): Renamed to ...
37073         (LDLIBS-tst-chk5): This.
37074         (LDFLAGS-tst-chk6): Renamed to ...
37075         (LDLIBS-tst-chk6): This.
37076         (LDFLAGS-tst-lfschk4): Renamed to ...
37077         (LDLIBS-tst-lfschk4): This.
37078         (LDFLAGS-tst-lfschk5): Renamed to ...
37079         (LDLIBS-tst-lfschk5): This.
37080         (LDFLAGS-tst-lfschk6): Renamed to ...
37081         (LDLIBS-tst-lfschk6): This.
37083         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37084         on $(common-objpfx)soversions.mk.
37086 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
37088         [BZ #10014]
37089         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37090         example host name.
37092 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37094         * malloc/arena.c (arena_get_retry): New function that gets
37095         another arena for the caller to try its request on.
37096         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37097         current arena cannot fulfill the request.
37098         (__libc_memalign): Likewise.
37099         (__libc_memalign): Likewise.
37100         (__libc_pvalloc): Likewise.
37101         (__libc_calloc): Likewise.
37103 2012-09-05  John Tobey  <john.tobey@gmail.com>
37105         [BZ #13542]
37106         * manual/arith.texi (Operations on Complex): Fix description
37107         of carg branch cut.
37109 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37111         [BZ #10014]
37112         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37113         host name.
37115         [BZ #10038]
37116         * manual/memory.texi (Memory): Make order of menu items match
37117         order of sections.
37119 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37121         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37122         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
37123         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37125 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37127         * csu/libc-tls.c (static_dtv): Renamed to ...
37128         (_dl_static_dtv): This.  Make it global.
37129         (_dl_initial_dtv): Removed.
37130         (__libc_setup_tls): Updated.
37131         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37132         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37133         DL_INITIAL_DTV.
37135 2012-09-06  Petr Machata  <pmachata@redhat.com>
37137         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37138         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37139         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37140         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37142 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37144         [BZ #14545]
37145         * csu/libc-tls.c (_dl_initial_dtv): New variable.
37146         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37147         freeing dtv[-1].
37149 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37151         [BZ #14544]
37152         * Makeconfig (link-static-before-libc): Replace $(+prector)
37153         with $(+prectorT).
37154         (link-static-after-libc): Replace $(+postctor) with
37155         $(+postctorT).
37156         (link-bounded): Replace $(+prector)/$(+postctor) with
37157         $(+prectorT)/$(+postctorT).
37158         (+prectorT): New macro.
37159         (+postctorT): Likewise.
37161 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37163         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37164         (round_str): Handle values above the maximum for IBM long double
37165         as inexact.
37166         * stdlib/tst-strtod-round.c (tests): Regenerated.
37168 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37170         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37171         assembler flag.
37172         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37173         zarch_nohighgprs around the zarch optimized routines.
37174         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37175         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37176         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37177         for zarch.
37179 2012-09-05  David S. Miller  <davem@davemloft.net>
37181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37183         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37184         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37185         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37186         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37187         entries.
37189 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37191         * malloc/arena.c: Fold copyright years.
37192         * malloc/mcheck.c, malloc/memusage.c: Likewise.
37194 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37196         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37198 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37200         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
37202 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37204         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37205         change internal state upon failure.
37207 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37209         * malloc/mcheck.c (mcheck_check_all): Fix typo.
37210         * malloc/memusage.c (mmap): Likewise.
37211         (mmap64, mremap): Likewise.  Adjust name in comment.
37213 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37215         * libio/fileops.c: Fix typos in comments.
37216         * libio/oldfileops.c: Likewise.
37217         * libio/wfileops.c: Likewise.
37219 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37221         [BZ #1349]
37222         * malloc/Makefile (tests): Add tst-malloc-usable test case.
37223         (tst-malloc-usable-ENV): Set environment for test case.
37224         * malloc/hooks.c (malloc_check_get_size): New function to get
37225         requested size.
37226         * malloc/malloc.c (musable): Use malloc_check_get_size.
37227         * malloc/tst-malloc-usable.c: New test case.
37229 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37231         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37233 2012-09-05  Allan McRae  <allan@archlinux.org>
37235         [BZ #13966]
37236         * configure.in (CXX_SYSINCLUDES): Use compiler output to
37237         determine header location.
37238         * configure: Regenerated.
37240 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37242         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37243         float format.
37244         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37245         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37246         format.
37247         (test): Regenerate.
37249 2012-09-04  David S. Miller  <davem@davemloft.net>
37251         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37252         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37253         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37255 2012-09-04  Florian Weimer  <fweimer@redhat.com>
37257         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37258         failures.
37260         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37262 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
37264         [BZ #9914]
37265         * libio/iogetdelim.c: Include <limits.h>.
37266         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37267         + len + 1 would overflow.
37269 2012-09-03  Andreas Jaeger  <aj@suse.de>
37271         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37272         * sysdeps/i386/fpu/libm-test-ulps: Update.
37274 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37276         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37277         Add s_sinf-sse2, s_conf-sse2.
37279         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37280         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37281         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37282         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37284         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37285         for using routine as __sinf_ia32.
37286         Use macro for function declaration and weak_alias.
37287         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37288         for using routine as __cosf_ia32.
37289         Use macro for function declaration and weak_alias.
37291         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37292         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37294         * sysdeps/x86_64/fpu/s_sinf.S: New file.
37295         * sysdeps/x86_64/fpu/s_cosf.S: New file.
37296         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37298         * math/libm-test.inc (cos_test): Add more test cases.
37299         (sin_test): Likewise.
37300         (sincos_test): Likewise.
37302 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37304         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37305         (IFUNC_RESOLVE): Make pointers to the specialized implementations
37306         hidden.
37307         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37309 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
37311         [BZ #14538]
37312         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37313         first element of the GOT.
37314         (elf_machine_load_address): Return the difference between
37315         the runtime address of _DYNAMIC and elf_machine_dynamic ().
37317 2012-09-01  Allan McRae  <allan@archlinux.org>
37319         [BZ #13412]
37320         * configure.in (AWK): Require gawk version 3.0 or later.
37321         * configure: Regenerated.
37323 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
37325         * sysdeps/unix/sysv/linux/kernel-features.h
37326         (__ASSUME_POSIX_CPU_TIMERS): Remove.
37327         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37328         [__NR_clock_getres]: Make code unconditional.
37329         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37330         (clock_getcpuclockid): Remove code left unreachable by removal of
37331         conditionals.
37332         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37333         code unconditional.
37334         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37335         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37336         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37337         Make code unconditional.
37338         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37339         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37340         * sysdeps/unix/sysv/linux/clock_settime.c
37341         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37342         conditional code.
37343         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37344         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37346 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
37348         [BZ #14476]
37349         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37350         scripts/test-installation.pl.
37352         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37353         and $ld_so_version if it is set.
37355 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37357         [BZ #14516]
37358         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37359         failure if reading from procfs failed.
37360         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37362 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37364         * sysdeps/unix/sysv/linux/kernel-features.h
37365         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37366         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37367         Remove conditional code.
37368         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37369         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37370         Remove conditional code.
37371         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37372         * sysdeps/unix/sysv/linux/i386/fxstat.c
37373         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37374         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37375         * sysdeps/unix/sysv/linux/i386/fxstatat.c
37376         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37377         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37378         * sysdeps/unix/sysv/linux/i386/lxstat.c
37379         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37380         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37381         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37382         Remove conditional code.
37383         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37384         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37385         Remove conditional code.
37386         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37387         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37388         <kernel-features.h>.
37389         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37390         Remove.
37391         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37392         Remove conditional code.
37393         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37394         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37395         Remove conditional.
37397 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
37399         [BZ #5400]
37400         * NEWS: Add fixed bug number.
37402 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37404         [BZ #14519]
37405         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37406         underflowing exponent in case of negative sign.
37407         * stdlib/tst-strtod-round-data: Add more tests.
37408         * stdlib/tst-strtod-round.c (tests): Regenerated.
37410         [BZ #3479]
37411         * stdlib/strtod_l.c (NDIG): Remove.
37412         (HEXNDIG): Likewise.
37413         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37414         smallest representable value.
37415         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37416         lie within an exact representation of 1/2 ulp of the result.
37417         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37418         unconditionally.
37419         (TENS_P9_IDX): Define unconditionally.
37420         (TENS_P9_SIZE): Likewise.
37421         (TENS_P10_IDX): Likewise.
37422         (TENS_P10_SIZE): Likewise.
37423         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37424         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37425         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37426         entries for 10^2^13 and 10^2^14.
37427         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37428         (TENS_P13_IDX): Define.
37429         (TENS_P13_SIZE): Likewise.
37430         (TENS_P14_IDX): Likewise.
37431         (TENS_P14_SIZE): Likewise.
37432         (_fpioconst_pow10): Change array size to
37433         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
37434         unconditional.
37435         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37436         1024]: Add entries for 10^2^13 and 10^2^14.
37437         [LAST_POW10 > _LAST_POW10]: Remove #error.
37438         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37439         (_fpioconst_pow10): Change array size to
37440         FPIOCONST_POW10_ARRAY_SIZE.
37441         * stdlib/gen-fpioconst.c: New file.
37442         * stdlib/gen-tst-strtod-round.c: Likewise.
37443         * stdlib/tst-strtod-round-data: Likewise.
37444         * stdlib/tst-strtod-round.c: Likewise.
37445         * stdlib/Makefile (tests): Add tst-strtod-round.
37447         [BZ #14459]
37448         * stdlib/strtod_l.c: Include <stdint.h>.
37449         (NDEBUG): Do not define.
37450         (round_and_return): Change EXPONENT parameter to type intmax_t.
37451         Rearrange calculations to avoid internal overflow possibilities.
37452         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37453         Rearrange calculations to avoid internal overflow possibilities.
37454         Assert that number fits inside MPNSIZE limbs.
37455         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37456         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
37457         calculations and add assertions to avoid internal overflow
37458         possibilities.  Add casts to avoid signed/unsigned operations.
37459         * stdlib/tst-strtod-overflow.c: New file.
37460         * stdlib/Makefile (tests): Add tst-strtod-overflow.
37462 2012-08-25  Marek Polacek  <polacek@redhat.com>
37464         * time/time.h: Fix some typos in comments.
37466 2012-08-23  Roland McGrath  <roland@hack.frob.com>
37468         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37469         * posix/tst-rfc3484-2.c: Likewise.
37470         * posix/tst-rfc3484-3.c: Likewise.
37472 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
37474         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37475         (EF_ARM_ABI_FLOAT_HARD): Likewise.
37477 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
37479         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37480         #include of fxstatat64.c.
37482 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37484         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37485         * shadow/getspent_r.c: Likewise.
37486         * shadow/getspnam.c: Likewise.
37487         * shadow/getspnam_r.c: Likewise.
37488         * gshadow/getsgent.c: Likewise.
37489         * gshadow/getsgent_r.c: Likewise.
37490         * gshadow/getsgnam.c: Likewise.
37491         * gshadow/getsgnam_r.c: Likewise.
37492         * inet/getnetbyad.c: Likewise.
37493         * inet/getnetbyad_r.c: Likewise.
37494         * inet/getnetbynm.c: Likewise.
37495         * inet/getnetbynm_r.c: Likewise.
37496         * inet/getnetent.c: Likewise.
37497         * inet/getnetent_r.c: Likewise.
37498         * inet/getproto.c: Likewise.
37499         * inet/getproto_r.c: Likewise.
37500         * inet/getprtent.c: Likewise.
37501         * inet/getprtent_r.c: Likewise.
37502         * inet/getprtname.c: Likewise.
37503         * inet/getprtname_r.c: Likewise.
37504         * inet/getrpcbyname.c: Likewise.
37505         * inet/getrpcbyname_r.c: Likewise.
37506         * inet/getrpcbynumber.c: Likewise.
37507         * inet/getrpcbynumber_r.c: Likewise.
37508         * inet/getrpcent.c: Likewise.
37509         * inet/getrpcent_r.c: Likewise.
37510         * inet/getaliasent.c: Likewise.
37511         * inet/getaliasent_r.c: Likewise.
37512         * inet/getaliasname.c: Likewise.
37513         * inet/getaliasname_r.c: Likewise.
37514         * nscd/getgrgid_r.c: Likewise.
37515         * nscd/getgrnam_r.c: Likewise.
37516         * nscd/gethstbyad_r.c: Likewise.
37517         * nscd/gethstbynm3_r.c: Likewise.
37518         * nscd/getpwnam_r.c: Likewise.
37519         * nscd/getpwuid_r.c: Likewise.
37520         * nscd/getsrvbynm_r.c: Likewise.
37521         * nscd/getsrvbypt_r.c: Likewise.
37522         * nscd/gai.c: Likewise.
37524         * configure.in (build_nscd): New substituted variable, set
37525         by --disable-build-nscd and defaults to $use_nscd.
37526         * configure: Regenerated.
37527         * config.make.in (build-nscd): New substituted variable.
37528         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37529         Change conditional to require [$(build-nscd) = yes] as well.
37530         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37532         [BZ# 13696]
37533         * configure.in (use_nscd): New substituted variable, set by
37534         --disable-nscd.  If enabled, define USE_NSCD.
37535         * configure: Regenerated.
37536         * config.h.in: Add USE_NSCD.
37537         * config.make.in (use-nscd): New substituted variable.
37538         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37539         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37540         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37541         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37542         (CFLAGS-getgrnam_r.c): Likewise.
37543         (CFLAGS-initgroups.c): Likewise.
37544         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37545         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37546         Variables removed.
37547         * inet/getnetgrent_r.c
37548         (nscd_setnetgrent): New function, broken out of ...
37549         (setnetgrent): ... here.  Call it.
37550         (innetgr): Conditionalize nscd bits on [USE_NSCD].
37551         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37552         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37553         * nscd/Makefile (routines, aux): Move definitions after include of
37554         Makeconfig.  Conditionalize on [$(use-nscd) != no].
37555         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37556         Conditionalize on [USE_NSCD].
37557         (is_nscd, nscd_init_cb): Likewise.
37558         (nss_load_library): Conditionalize init callback on [USE_NSCD].
37559         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37560         * nss/nss_db/db-init.c: Likewise.
37561         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37562         [USE_NSCD].
37563         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37564         (make_request): Use it.
37565         (cache_valid_p): New function.
37566         (__check_pf): Use it.
37567         * NEWS: Add item for --disable-nscd.
37569 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
37571         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37572         to support sed >= 4.2.1-20-ga9bf076.
37573         * configure: Regenerated.
37575 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37577         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37578         Conditionalize whole body on [IREL].
37580 2012-08-22  Jeff Law <law@redhat.com>
37582         [BZ #14505]
37583         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37584         if the family is PF_UNSPEC.
37586 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
37588         * Makerules (lib-version): Rename from V.
37589         (install-lib-nosubdir): Change V to lib-version.
37591 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
37593         [BZ #14252]
37594         * powerpc32/power6/wcschr.c: New file.
37595         * powerpc32/power6/wcscpy.c: New file.
37596         * powerpc32/power6/wcsrchr.c: New file.
37597         * powerpc64/power6/wcschr.c: New file.
37598         * powerpc64/power6/wcscpy.c: New file.
37599         * powerpc64/power6/wcsrchr.c: New file.
37601 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37603         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37604         (two_way_short_needle): Use it.
37605         * string/strstr.c (AVAILABLE1_USES_J): Define.
37606         * string/strcasestr.c: Likewise.
37608         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37609         array references.
37610         * string/strcasestr.c (TOLOWER): Make side-effect safe.
37612         [BZ #11607]
37613         * NEWS: Add an entry.
37614         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37615         define their defaults.
37616         (two_way_short_needle): Detect end-of-string on-the-fly.
37617         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37618         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37619         * string/bug-strcasestr1.c: New test.
37620         * string/Makefile: Run it.
37622 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37624         [BZ #11607]
37625         * string/str-two-way.h (two_way_short_needle): Optimize matching of
37626         the first character.
37628 2012-08-21  Roland McGrath  <roland@hack.frob.com>
37630         * csu/elf-init.c (__libc_csu_irel): Function removed.
37631         * csu/libc-start.c (apply_irel): New function.
37632         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37634 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
37636         * sysdeps/unix/sysv/linux/kernel-features.h
37637         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37638         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37639         <kernel-features.h>.
37640         [__NR_fadvise64_64]: Make code unconditional.
37641         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37642         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37643         !__NR_fadvise64_64)]: Likewise.
37644         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37645         !__NR_fadvise64_64))]: Likewise.
37646         [__NR_fadvise64]: Make code unconditional.
37647         [!__NR_fadvise64]: Remove conditional code.
37648         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37649         <kernel-features.h>.
37650         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37651         unconditional.
37652         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37653         conditional code.
37654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37655         not include <kernel-features.h>.
37656         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37657         unconditional.
37658         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37659         conditional code.
37660         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37661         include <kernel-features.h>.
37662         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37663         unconditional.
37664         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37665         conditional code.
37667 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
37669         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37670         slight instruction rearrangements per scrollpipe analysis.
37671         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37673 2012-08-20  Roland McGrath  <roland@hack.frob.com>
37675         * manual/syslog.texi (syslog; vsyslog, closelog):
37676         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37677         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37679         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37680         DSOCAPS to match condition on defining it.
37682 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
37684         * sysdeps/unix/sysv/linux/kernel-features.h
37685         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37687         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37688         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37690         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37691         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37693         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37694         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37696         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37697         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37699         * sysdeps/unix/sysv/linux/kernel-features.h
37700         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37701         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37702         unconditional.
37703         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37704         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37705         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37706         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37707         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37708         Make code unconditional.
37709         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37710         (__mmap64) [!__NR_mmap2]: Likewise.
37711         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37712         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37713         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37714         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37715         [__NR_mmap2]: Make code unconditional.
37716         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37717         (__mmap64) [!__NR_mmap2]: Likewise.
37719 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37721         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37723 2012-08-18  Andreas Jaeger  <aj@suse.de>
37725         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37727 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37729         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37730         * include/unistd.h (__have_sock_cloexec): Likewise.
37731         (__have_pipe2): Likewise.
37732         (__have_dup3): Likewise.
37734 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37736         [BZ #9685]
37737         * include/unistd.h (__have_pipe2): Change define into an extern int.
37738         (__have_dup3): Likewise.
37739         * socket/have_sock_cloexec.c: Include fcntl.h.
37740         (__have_pipe2): New variable.
37741         (__have_dup3): Likewise.
37743 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
37745         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37747 2012-08-17  Marek Polacek  <polacek@redhat.com>
37749         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37750         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37752 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37754         * configure.in: Add AC_SUBST for sysheaders.
37755         * configure: Regenerated.
37756         * config.make.in (sysheaders): New substituted variable.
37758         * sysdeps/unix/mkfifo.c: Moved ...
37759         * sysdeps/posix/mkfifo.c: ... here.
37760         * sysdeps/unix/mkfifoat.c: Moved ...
37761         * sysdeps/posix/mkfifoat.c: ... here.
37763         * sysdeps/unix/utime.c: Moved ...
37764         * sysdeps/posix/utime.c: ... here.
37766         * sysdeps/unix/time.c: Moved ...
37767         * sysdeps/posix/time.c: ... here.
37768         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37769         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37771         * sysdeps/unix/nice.c: Moved ...
37772         * sysdeps/posix/nice.c: ... here.
37774         * sysdeps/unix/alarm.c: Moved ...
37775         * sysdeps/posix/alarm.c: ... here.
37777         * intl/Makefile ($(codeset_mo)): Depend on the input file.
37779 2012-08-17  Jeff Law <law@redhat.com>
37781         * intl/Makefile (codeset_mo): New variable.
37782         ($(codeset_mo)): New target.
37783         (tst-codeset.out): Depend on that.  Remove explicit rule.
37784         (tst-gettext3.out, tst-gettext5.out): Likewise.
37785         (LOCPATH-ENV, tst-codeset-ENV): New variables.
37786         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37787         * intl/tst-codeset.sh: Remove.
37788         * intl/tst-gettext3.sh: Likewise.
37789         * intl/tst-gettext5.sh: Likewise.
37791 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37793         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
37794         * sysdeps/unix/syscalls.list: ... here.
37796         * sysdeps/posix/getaddrinfo.c
37797         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37798         (gaiconf_init, gaiconf_reload): Use them.
37799         [!_STATBUF_ST_NSEC]
37800         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37801         Define using time_t rather than struct timespec.
37803         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37804         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37805         Macros removed.
37806         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37807         [!NO_THREADS].
37808         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37809         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37810         Likewise.
37812         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37813         __libc_cleanup_push argument.
37815         * bits/param.h: New file.
37816         * misc/sys/param.h: New file.
37817         * include/sys/param.h: New file.
37818         * misc/Makefile (headers): Add bits/param.h.
37819         * sysdeps/generic/sys/param.h: File removed.
37820         * sysdeps/unix/sysv/linux/bits/param.h: New file.
37821         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37822         * sysdeps/mach/hurd/bits/param.h: New file.
37823         * sysdeps/mach/hurd/sys/param.h: File removed.
37825         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37826         last change.
37828         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37829         [_IO_MTSAFE_IO].
37830         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37831         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37832         New macros.
37834         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37835         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37836         rather than -D_IO_MTSAFE_IO conditionally.
37837         * stdio-common/Makefile (CPPFLAGS): Likewise.
37838         * wcsmbs/Makefile (CPPFLAGS): Likewise.
37839         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37840         Use $(libio-mtsafe).
37841         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37842         of -D_IO_MTSAFE_IO.
37843         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37844         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37845         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37846         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37847         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37848         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37849         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37850         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37851         (CFLAGS-fread_u_chk.c): Likewise.
37852         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37853         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37854         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37855         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37856         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37857         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37858         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37859         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37860         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37862         * libio/Makefile: Test [$(libc-reentrant) = yes]
37863         instead of [$(filter %REENTRANT, $(defines)) nonempty].
37865         * Makeconfig
37866         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37867         * sysdeps/pthread/configure: File removed.
37868         * sysdeps/pthread/Makeconfig: New file.
37869         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37870         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37872 2012-08-16  Gary Benson  <gbenson@redhat.com>
37874         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37875         unmapping the first object in a namespace.
37877 2012-08-16  Roland McGrath  <roland@hack.frob.com>
37879         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37880         (__internal_setnetgrent): ... this.  Add internal_function to
37881         definition.  Add libc_hidden_def.
37882         (setnetgrent): Update caller.
37883         (internal_endnetgrent): Renamed to ...
37884         (__internal_endnetgrent): ... this.  Add internal_function to
37885         definition.  Add libc_hidden_def.
37886         (endnetgrent): Update caller.
37887         (internal_getnetgrent_r): Renamed to ...
37888         (__internal_getnetgrent_r): ... this.  Add internal_function to
37889         definition.  Add libc_hidden_def.
37890         (__getnetgrent_r): Update caller.
37891         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
37893 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
37895         * stdlib/longlong.h: Update from GCC.
37897 2012-08-16  Roland McGrath  <roland@hack.frob.com>
37899         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37900         on _QL, which is set by umul_ppmm but never used.
37901         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37902         variables, which are set by GMP macros but never used.
37903         * stdio-common/_itowa.c (_itowa): Likewise.
37904         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37905         * stdlib/mod_1.c (mpn_mod_1): Likewise.
37907 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
37909         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37910         struct La_sh_regs is not constant.
37911         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37912         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37913         and struct La_sparc64_regs are not constant.
37915 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
37917         * sysdeps/unix/sysv/linux/kernel-features.h
37918         (__ASSUME_POSIX_TIMERS): Remove.
37919         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37920         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37921         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37922         Make code unconditional.
37923         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37924         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37925         Make code unconditional.
37926         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37927         * sysdeps/unix/sysv/linux/clock_nanosleep.c
37928         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37929         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37930         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37931         Make code unconditional.
37932         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37933         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37934         (__libc_missing_posix_timers): Remove.
37936 2012-08-15  Roland McGrath  <roland@hack.frob.com>
37938         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37939         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37941         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37943         * elf/dl-sym.c: Include <stdlib.h>.
37945         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37946         constants, which avoids warnings in 32-bit builds.
37948         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37949         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37951         * misc/lseek.c: File moved to ...
37952         * io/lseek.c: ... here.
37954         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37956         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37957         shifting LEN more than 31 bits at once.
37959 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37961         [BZ #14195]
37962         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37963         segmentation fault for a case of two empty input strings.
37964         * string/test-strncasecmp.c (check1): Renamed to...
37965         (bz12205): ...this.
37966         (bz14195): Add new testcase for two empty input strings and N > 0.
37967         (test_main): Call new testcase, adapt for renamed function.
37969 2012-08-15  Andreas Jaeger  <aj@suse.de>
37971         [BZ #14090]
37972         * crypt/md5test2.c: New test, based on test supplied by Serge
37973         Belyshev <belyshev@depni.sinp.msu.ru>.
37974         * crypt/Makefile (xtests): Add md5test-giant..
37975         * crypt/Makefile ($(objpfx)md5test-giant): Add.
37977 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
37979         [BZ #14090]
37980         * crypt/md5.c (md5_process_block): Don't assume the buffer
37981         length is less than 2**32.
37982         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37983         length is less than 2**64.
37985 2012-08-15  Roland McGrath  <roland@hack.frob.com>
37987         * string/str-two-way.h: Include <sys/param.h>.
37988         (MAX): Macro removed.
37990         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37991         Move #define and #undef of memmove to just before and after
37992         including <string.h>.
37994         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37995         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37996         and after including <string.h>.  Move declarations of
37997         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37998         to before #include "string/memmove.c".
38000         * include/dirent.h: Declare __getdirentries.
38002         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38003         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38005 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
38007         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38008         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38009         * sysdeps/i386/configure: Regenerated.
38010         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38011         STABS_CURRENT_FILE, and STABS_FUN.
38012         (END): Remove call to STABS_FUN_END.
38013         (STABS_CURRENT_FILE1): Delete.
38014         (STABS_CURRENT_FILE): Likewise.
38015         (STABS_FUN): Likewise.
38016         (STABS_FUN_END): Likewise.
38017         (STABS_FUN2): Likewise.
38018         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38019         * sysdeps/x86_64/configure: Regenerated.
38021 2012-08-14  Roland McGrath  <roland@hack.frob.com>
38023         * elf/dl-open.c: Include <atomic.h>.
38024         * elf/dl-lookup.c: Likewise.
38026 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
38028         * sysdeps/unix/sysv/linux/kernel-features.h
38029         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38030         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38031         unconditionally.
38032         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38033         unconditionally.
38034         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38035         condition on __ASSUME_CLONE_THREAD_FLAGS.
38037 2012-08-14  Andreas Jaeger  <aj@suse.de>
38039         * sysdeps/i386/fpu/libm-test-ulps: Update.
38041 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
38043         * include/atomic.h (atomic_exchange_and_add): Split into ...
38044         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38045         New atomic macros.
38047 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
38049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38051 2012-08-13  Jeff Law <law@redhat.com>
38053         * manual/stdio.texi (snprintf): Clarify handling of the trailing
38054         null byte in the output string.
38056 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
38058         * sysdeps/unix/sysv/linux/kernel-features.h
38059         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38060         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38061         (__ASSUME_ARG_MAX_STACK_BASED): Define.
38062         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38063         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38064         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
38065         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38067 2012-08-09  Jeff Law <law@redhat.com>
38069         [BZ #13939]
38070         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38071         When avoid_arena is set, don't retry in the that arena.  Pick the
38072         next one, whatever it might be.
38073         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38074         (arena_lock): Pass in new parameter to arena_get2.
38075         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38076         arena_get2.
38077         (__libc_malloc): Unify retrying after main arena failure with
38078         __libc_memalign version.
38079         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38081 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
38083         [BZ #14166]
38084         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38085         to __redirect_strstr.
38086         (__strstr_sse42): Use typeof __redirect_strstr.
38087         (__strstr_ia32): Likewise.
38088         (__libc_strstr): New prototype.
38089         (strstr): Renamed to ...
38090         (__libc_strstr): This.
38091         (strstr): New strong alias of __libc_strstr.
38092         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38093         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38094         __redirect_time.
38095         Include <time.h>.
38096         (__libc_time): New prototype.
38097         (time_ifunc): Replace time with __libc_time.
38098         (time): New strong alias and hidden definition of __libc_time.
38099         (__GI_time): Remove strong alias.
38100         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38101         Include <stddef.h>.
38102         (memmove): Redefined to __redirect_memmove.
38103         (__memmove_sse2): Use typeof __redirect_memmove.
38104         (__memmove_ssse3): Likewise.
38105         (__memmove_ssse3_back): Likewise.
38106         (__libc_memmove): New prototype.
38107         (memmove): Renamed to ...
38108         (__libc_memmove): This.
38109         (memmove): New strong alias of __libc_memmove.
38111 2012-08-08  Mark Salter  <msalter@redhat.com>
38113         * elf/elf.h
38114         (R_MN10300_TLS_GD): Define.
38115         (R_MN10300_TLS_LD): Likewise.
38116         (R_MN10300_TLS_LDO): Likewise.
38117         (R_MN10300_TLS_GOTIE): Likewise.
38118         (R_MN10300_TLS_IE): Likewise.
38119         (R_MN10300_TLS_LE): Likewise.
38120         (R_MN10300_TLS_DTPMOD): Likewise.
38121         (R_MN10300_TLS_DTPOFF): Likewise.
38122         (R_MN10300_TLS_TPOFF): Likewise.
38123         (R_MN10300_SYM_DIFF): Likewise.
38124         (R_MN10300_ALIGN): Likewise.
38125         (R_MN10300_NUM): Update.
38127 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
38129         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38130         Remove.
38132 2012-08-08  Roland McGrath  <roland@hack.frob.com>
38134         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38136         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38137         sysdeps/unix -> sysdeps/posix move.
38138         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38140 2012-08-07      Allan McRae     <allan@archlinux.org>
38142         [BZ #14303]
38143         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38144         (SUNOS_CPP): Likewise.
38145         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38146         not found.
38147         (open_input): Call CPP using execvp.
38149 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38151         * sysdeps/unix/sysv/linux/kernel-features.h
38152         (__ASSUME_PROT_GROWSUPDOWN): Remove.
38153         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38154         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38155         (__ASSUME_WAITID_SYSCALL): Likewise.
38156         * sysdeps/unix/sysv/linux/dl-execstack.c
38157         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38158         code unconditional.
38159         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38160         conditional code.
38161         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38162         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38163         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38164         code.
38165         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38166         unconditional.
38167         [__ASSUME_WAITID_SYSCALL]: Likewise.
38168         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38170 2012-08-07  Roland McGrath  <roland@hack.frob.com>
38172         * sysdeps/unix/closedir.c: Renamed to ...
38173         * sysdeps/posix/closedir.c: ... here.
38174         * sysdeps/unix/dirfd.c: Renamed to ...
38175         * sysdeps/posix/dirfd.c: ... here.
38176         * sysdeps/unix/dirstream.h: Renamed to ...
38177         * sysdeps/posix/dirstream.h: ... here.
38178         * sysdeps/unix/fdopendir.c: Renamed to ...
38179         * sysdeps/posix/fdopendir.c: ... here.
38180         * sysdeps/unix/opendir.c: Renamed to ...
38181         * sysdeps/posix/opendir.c: ... here.
38182         * sysdeps/unix/readdir.c: Renamed to ...
38183         * sysdeps/posix/readdir.c: ... here.
38184         * sysdeps/unix/readdir_r.c: Renamed to ...
38185         * sysdeps/posix/readdir_r.c: ... here.
38186         * sysdeps/unix/rewinddir.c: Renamed to ...
38187         * sysdeps/posix/rewinddir.c: ... here.
38188         * sysdeps/unix/seekdir.c: Renamed to ...
38189         * sysdeps/posix/seekdir.c: ... here.
38190         * sysdeps/unix/telldir.c: Renamed to ...
38191         * sysdeps/posix/telldir.c: ... here.
38192         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38193         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38194         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38195         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38197         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38198         * bits/fcntl.h: ... here.
38200         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38201         not 0.
38202         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38203         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38204         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38205         (struct flock): Move l_start, l_len to the beginning.
38206         Use __pid_t for l_pid.
38207         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38208         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38209         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38210         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38211         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38212         [__USE_LARGEFILE64] (struct flock64): New type.
38213         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38215         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38216         * bits/dirent.h: ... here.
38218         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38219         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38221 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38223         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38224         Change from 2.6.0 to 2.6.16.
38225         * sysdeps/unix/sysv/linux/configure: Regenerated.
38226         * sysdeps/unix/sysv/linux/kernel-features.h
38227         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38228         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38229         version.
38230         (__ASSUME_UTIMES): Likewise.
38231         (__ASSUME_CLONE_STOPPED): Remove.
38232         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38233         architectures, not kernel version.
38234         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38235         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38236         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38237         (__ASSUME_WAITID_SYSCALL): Likewise.
38238         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38239         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38240         * README: State 2.6.16 as minimum Linux kernel version.  Do not
38241         refer to older versions.
38243 2012-08-06  Roland McGrath  <roland@hack.frob.com>
38245         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38246         Define alphasort64 as an alias.
38247         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38248         Define versionsort64 as an alias.
38249         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38250         Define scandir64 as an alias.
38251         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38252         Define scandirat64 as an alias.
38253         * dirent/alphasort64.c (alphasort64):
38254         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38255         * dirent/versionsort64.c: Likewise.
38256         * dirent/scandir64.c: Likewise.
38257         * dirent/scandirat64.c: Likewise.
38258         * sysdeps/wordsize-64/alphasort.c: File removed.
38259         * sysdeps/wordsize-64/alphasort64.c: File removed.
38260         * sysdeps/wordsize-64/scandir.c: File removed.
38261         * sysdeps/wordsize-64/scandir64.c: File removed.
38262         * sysdeps/wordsize-64/scandirat.c: File removed.
38263         * sysdeps/wordsize-64/scandirat64.c: File removed.
38264         * sysdeps/wordsize-64/versionsort.c: File removed.
38265         * sysdeps/wordsize-64/versionsort64.c: File removed.
38266         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38267         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38268         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38269         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38270         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38271         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38272         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38273         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38275         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38276         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38277         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38278         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38279         [defined __arch64__ || defined __sparcv9]
38280         (__INO_T_MATCHES_INO64_T): New macro.
38281         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38282         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38283         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38284         * sysdeps/unix/sysv/linux/bits/dirent.h
38285         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38286         (_DIRENT_MATCHES_DIRENT64): New macro.
38288         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38289         Define lockf64 as an alias.
38290         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38291         Define fseeko64 as an alias.
38292         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38293         Define ftello64 as an alias.
38294         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38295         Define _IO_fgetpos64 and fgetpos64 as aliases.
38296         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38297         Define _IO_fsetpos64 and fsetpos64 as aliases.
38298         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38299         Conditionalize body on this.
38300         * libio/fseeko64.c: Likewise.
38301         * libio/ftello64.c: Likewise.
38302         * libio/iofgetpos64.c: Likewise.
38303         * libio/iofsetpos64.c: Likewise.
38304         * sysdeps/wordsize-64/lockf.c: File removed.
38305         * sysdeps/wordsize-64/lockf64.c: File removed.
38306         * sysdeps/wordsize-64/fseeko.c: File removed.
38307         * sysdeps/wordsize-64/fseeko64.c: File removed.
38308         * sysdeps/wordsize-64/ftello.c: File removed.
38309         * sysdeps/wordsize-64/ftello64.c: File removed.
38310         * sysdeps/wordsize-64/iofgetpos.c: File removed.
38311         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38312         * sysdeps/wordsize-64/iofsetpos.c: File removed.
38313         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38314         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38315         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38316         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38317         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38318         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38319         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38320         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38321         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38322         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38323         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38325         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38326         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38327         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38328         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38329         [defined __arch64__ || defined __sparcv9]
38330         (__OFF_T_MATCHES_OFF64_T): New macro.
38331         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38332         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38333         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38334         (__OFF_T_MATCHES_OFF64_T): New macro.
38336 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38338         * stdlib/secure-getenv.c (__secure_getenv): Replace
38339         GLIBC_2_16 with GLIBC_2_17.
38341 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38343         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38344         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38346 2012-08-03  David S. Miller  <davem@davemloft.net>
38348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38350 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38352         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38353         Remove.
38354         (__ASSUME_CORRECT_SI_PID): Likewise.
38355         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38356         (__ASSUME_TMPFS_NAME): Likewise.
38357         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38358         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38359         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38360         (HAVE_AUX_SECURE): Make definition unconditional.
38361         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38362         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38364 2012-08-03  Roland McGrath  <roland@hack.frob.com>
38366         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38367         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38368         * sysdeps/mach/hurd/eloop-threshold.h: New file.
38369         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38370         __eloop_threshold instead of SYMLOOP_MAX.
38372         * sysdeps/generic/eloop-threshold.h: New file.
38373         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38374         of MAXSYMLINKS.
38375         * elf/chroot_canon.c (chroot_canon): Likewise.
38377 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38379         [BZ #13717]
38380         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38381         Change to 2.6.0 everywhere.
38382         * sysdeps/unix/sysv/linux/configure: Regenerated.
38383         * sysdeps/unix/sysv/linux/kernel-features.h
38384         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38385         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38386         kernel versions.
38387         (__ASSUME_POSIX_TIMERS): Define unconditionally.
38388         (__ASSUME_FUTEX_REQUEUE): Remove.
38389         (__ASSUME_STATFS64): Define unconditionally.
38390         (__ASSUME_AT_SECURE): Likewise.
38391         (__ASSUME_CORRECT_SI_PID): Likewise.
38392         (__ASSUME_TGKILL): Define without depending on kernel version for
38393         i386.
38394         (__ASSUME_UTIMES): Likewise.
38395         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38396         kernel version.
38397         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38398         (__ASSUME_TMPFS_NAME): Likewise.
38399         * README: Update reference to Linux kernel versions.
38401 2012-08-02  Marek Polacek  <polacek@redhat.com>
38403         [BZ# 14150]
38404         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
38405         libc_cv_asm_type_prefix with %.
38406         * configure: Regenerated.
38407         * include/libc-symbols.h: Remove comment about
38408         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38409         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38410         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38411         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38412         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38413         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38414         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38415         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38416         * elf/tst-unique2mod1.c: Likewise.
38417         * elf/tst-unique1mod2.c: Likewise.
38418         * elf/tst-unique1mod1.c: Likewise.
38419         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38420         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38421         Replace ASM_TYPE_DIRECTIVE with .type.
38422         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38423         * sysdeps/i386/sysdep.h: Likewise.
38424         * sysdeps/x86_64/sysdep.h: Likewise.
38425         * sysdeps/sh/sysdep.h: Likewise.
38426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38427         Do not define ASM_TYPE_DIRECTIVE.
38428         * sysdeps/powerpc/sysdep.h: Likewise.
38429         * sysdeps/powerpc/powerpc32/sysdep.h:
38430         Replace ASM_TYPE_DIRECTIVE with .type.
38431         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38432         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38433         * sysdeps/i386/fpu/e_powf.S: Likewise.
38434         * sysdeps/i386/fpu/e_expl.S: Likewise.
38435         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38436         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38437         * sysdeps/i386/fpu/e_pow.S: Likewise.
38438         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38439         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38440         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38441         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38442         * sysdeps/i386/fpu/e_log2.S: Likewise.
38443         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38444         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38445         * sysdeps/i386/fpu/e_powl.S: Likewise.
38446         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38447         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38448         * sysdeps/i386/fpu/e_logl.S: Likewise.
38449         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38450         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38451         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38452         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38453         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38454         * sysdeps/i386/fpu/e_log.S: Likewise.
38455         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38456         * sysdeps/i386/fpu/e_logf.S: Likewise.
38457         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38458         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38459         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38460         * sysdeps/i386/fpu/e_log10.S: Likewise.
38461         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38462         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38463         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38464         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38465         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38466         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38467         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38468         * sysdeps/i386/i686/strtok.S: Likewise.
38469         * sysdeps/i386/i386-mcount.S: Likewise.
38470         * sysdeps/i386/strtok.S: Likewise.
38471         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38472         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38473         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38474         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38475         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38476         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38477         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38478         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38479         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38480         * sysdeps/x86_64/_mcount.S: Likewise.
38481         * sysdeps/x86_64/strtok.S: Likewise.
38482         * sysdeps/sh/_mcount.S: Likewise.
38484 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38486         * libio/iofopen.c: Include <fcntl.h>.
38487         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38488         (_IO_fopen64, fopen64): Define as aliases.
38489         * libio/iofopen64.c: Include <fcntl.h>.
38490         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38491         Conditionalize body on this.
38492         * sysdeps/wordsize-64/iofopen.c: File removed.
38493         * sysdeps/wordsize-64/iofopen64.c: File removed.
38495 2012-08-01  Marek Polacek  <polacek@redhat.com>
38497         * libc/Makeconfig: Use elf in place of binfmt-subdir.
38498         Use dlfcn directly instead of a variable.
38499         (binfmt-subdir): Do not define.
38500         (dlfcn): Likewise.
38502 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
38504         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38505         Remove all definitions.
38506         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38507         <kernel-features.h>.
38508         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38509         (miss_F_GETOWN_EX): Remove all definitions.
38510         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38511         macro definition.
38512         [!__ASSUME_FCNTL64]: Remove conditional code.
38513         [__ASSUME_FCNTL64]: Make code unconditional.
38514         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38515         <kernel-features.h>.
38516         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38517         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38518         (lockf64) [__NR_fcntl64]: Make code unconditional.
38519         (lockf64) [__ASSUME_FCNTL64]: Likewise.
38521         * sysdeps/unix/sysv/linux/kernel-features.h
38522         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38523         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38524         Make code unconditional.
38525         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38526         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38528         [__NR_vfork]: Make code unconditional.
38529         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38530         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38532         [__NR_vfork]: Make code unconditional.
38533         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38534         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38536 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38538         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38539         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38541         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38542         Define mkstemp64 as an alias.
38543         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38544         Define mkstemps64 as an alias.
38545         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38546         Define mkostemp64 as an alias.
38547         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38548         Define mkostemps64 as an alias.
38549         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38550         Conditionalize body on this.
38551         * misc/mkostemp64.c: Likewise.
38552         * misc/mkostemps64.c: Likewise.
38553         * misc/mkstemps64.c: Likewise.
38554         * sysdeps/wordsize-64/mkstemp64.c: File removed.
38555         * sysdeps/wordsize-64/mkostemp64.c: File removed.
38556         * sysdeps/wordsize-64/mkostemp.c: File removed.
38557         * sysdeps/wordsize-64/mkstemp.c: File removed.
38558         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38559         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38560         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38561         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38563         [BZ #14138]
38564         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38565         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38566         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38567         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38569         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38570         compat_symbol macros from <shlib-compat.h> rather than the underlying
38571         default_symbol_version and symbol_version macros, so that DEFAULT
38572         lines in shlib-versions are respected.
38573         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38575 2012-08-01  Florian Weimer  <fweimer@redhat.com>
38577         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38578         Declare with warn_unused_result.
38579         (setgid, setregid, setegid, setresgid): Likewise.
38580         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38581         Likewise.
38582         * WUR-REPORT: Remove set*id functions.
38584 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
38586         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38588 2012-07-31  Roland McGrath  <roland@hack.frob.com>
38590         [BZ #10191]
38591         * include/sys/socket.h (__libc_accept, __libc_accept4):
38592         Add attribute_hidden.
38593         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38595         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38596         use of PTR_MANGLE.
38597         * inet/getnetgrent_r.c (setup): Likewise.
38599         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38601 2012-07-31  David S. Miller  <davem@davemloft.net>
38603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38605 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
38607         [BZ #13629]
38608         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38609         value between 1.0 and 2.0 and smaller part has absolute value less
38610         than 1.0.
38611         * math/s_clog10.c (__clog10): Likewise.
38612         * math/s_clog10f.c (__clog10f): Likewise.
38613         * math/s_clog10l.c (__clog10l): Likewise.
38614         * math/s_clogf.c (__clogf): Likewise.
38615         * math/s_clogl.c (__clogl): Likewise.
38616         * math/libm-test.inc (clog_test): Add more tests.
38617         (clog10_test): Likewise.
38618         * sysdeps/i386/fpu/libm-test-ulps: Update.
38619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38621 2012-07-31  Florian Weimer  <fweimer@redhat.com>
38623         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38624         Exit with zero in case no suitable GID is found, and write a
38625         message to standard error.
38627 2012-07-30  Roland McGrath  <roland@hack.frob.com>
38629         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38630         rather than to 1.
38631         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38632         (MAXPATHLEN): Removed.
38633         (NOGROUP, NODEV): New macros.
38634         (setbit, clrbit, isset, isclr): New macros.
38635         (howmany, roundup, powerof2): New macros.
38636         (DEV_BSIZE): New macro.
38638         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38639         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38641         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38642         definition on [!__NO_LONG_DOUBLE_MATH].
38644         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38645         PTR_MANGLE and PTR_DEMANGLE.
38647         * socket/accept4.c (accept4): Rename to __libc_accept4.
38648         Define accept4 as a weak alias.
38650         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38651         on [_DIRENT_HAVE_D_TYPE].
38652         * io/ftw.c (ftw_dir): Likewise.
38654         * io/xmknod.c (__xmknod): Don't check PATH for being null.
38656         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38658         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38659         Use the BSD numbers rather than the arbitrary ones we had.
38660         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38661         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38662         (SIGXCPU, SIGXFSZ): New macros.
38663         (_NSIG): Now 32.
38665         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38666         initializer on [_LIBC_REENTRANT].
38668         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38669         definitions inside [_POSIX_MAPPED_FILES].
38671         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38673         * dirent/opendir.c: Include <fcntl.h>.
38675         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38676         (__libc_getspecific): Likewise.
38677         (__libc_key_create): Likewise.
38679         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38680         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38681         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38682         (tmpfile64): Define as alias.
38683         * sysdeps/wordsize-64/tmpfile.c: File removed.
38684         * sysdeps/wordsize-64/tmpfile64.c: File removed.
38685         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38686         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38688         * stdio-common/vfscanf.c: Include <stdbool.h>.
38689         * nss/makedb.c: Likewise.
38690         * stdio-common/_i18n_number.h: Likewise.
38691         * argp/argp-help.c: Likewise.
38692         * posix/wordexp.c: Likewise.
38693         * sysdeps/posix/spawni.c: Likewise.
38694         * nss/nss_files/files-initgroups.c: Likewise.
38695         * stdio-common/reg-modifier.c: Include <stdlib.h>.
38696         * nss/nss_files/files-initgroups.c: Likewise.
38697         * nss/nss_db/db-netgrp.c: Likewise.
38698         * nss/nss_db/db-initgroups.c: Likewise.
38699         * io/fchmodat.c: Include <sys/stat.h>.
38701         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38702         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38704         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38705         [HAVE_MMAP].
38707         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38708         Add multiple inclusion protection.
38710 2012-07-27  David S. Miller  <davem@davemloft.net>
38712         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38714 2012-07-27  Gary Benson  <gbenson@redhat.com>
38716         [BZ #14298]
38717         * elf/rtld.c: Include <stap-probe.h>.
38718         (dl_main): Added static probes "init_start" and "init_complete".
38719         * elf/dl-load.c: Include <stap-probe.h>.
38720         (lose): Take new parameter "nsid".
38721         Added static probe "map_failed".
38722         (_dl_map_object_from_fd): Pass namespace id to lose.
38723         Added static probe "map_start".
38724         (open_verify): Pass namespace id to lose.
38725         * elf/dl-open.c: Include <stap-probe.h>.
38726         (dl_open_worker) Added static probes "map_complete", "reloc_start"
38727         and "reloc_complete".
38728         * elf/dl-close.c: Include <stap-probe.h>.
38729         (_dl_close_worker): Added static probes "unmap_start" and
38730         "unmap_complete".
38731         * elf/rtld-debugger-interface.txt: New file documenting the above.
38733 2012-07-26  Roland McGrath  <roland@hack.frob.com>
38735         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38736         rather than a string variable.
38737         * sunrpc/rpc_main.c (h_output): Likewise.
38738         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38740 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
38742         * inet/check_native.c: New file.
38744 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
38746         [BZ #13629]
38747         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38748         if larger part has absolute value 1.0.
38749         * math/s_clog10.c (__clog10): Likewise.
38750         * math/s_clog10f.c (__clog10f): Likewise.
38751         * math/s_clog10l.c (__clog10l): Likewise.
38752         * math/s_clogf.c (__clogf): Likewise.
38753         * math/s_clogl.c (__clogl): Likewise.
38754         * math/libm-test.inc (clog_test): Add more tests.
38755         (clog10_test): Likewise.
38756         * sysdeps/i386/fpu/libm-test-ulps: Update.
38757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38759         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38760         (pltexit): Likewise.
38761         (La_regs): Likewise.
38762         (La_retval): Likewise.
38763         (int_retval): Likewise.
38764         Update #error for removed macros to refer only to definitions in
38765         tst-audit.h.
38766         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38767         macro.
38768         (pltexit): Likewise.
38769         (La_regs): Likewise.
38770         (La_retval): Likewise.
38771         (int_retval): Likewise.
38772         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38773         macro.
38774         (pltexit): Likewise.
38775         (La_regs): Likewise.
38776         (La_retval): Likewise.
38777         (int_retval): Likewise.
38778         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38779         macro.
38780         (pltexit): Likewise.
38781         (La_regs): Likewise.
38782         (La_retval): Likewise.
38783         (int_retval): Likewise.
38784         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38785         macro.
38786         (pltexit): Likewise.
38787         (La_regs): Likewise.
38788         (La_retval): Likewise.
38789         (int_retval): Likewise.
38790         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38791         macro.
38792         (pltexit): Likewise.
38793         (La_regs): Likewise.
38794         (La_retval): Likewise.
38795         (int_retval): Likewise.
38796         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38797         macro.
38798         (pltexit): Likewise.
38799         (La_regs): Likewise.
38800         (La_retval): Likewise.
38801         (int_retval): Likewise.
38802         * sysdeps/generic/tst-audit.h: Update comment to refer only to
38803         macro definitions in tst-audit.h.
38804         * sysdeps/i386/tst-audit.h: New file.
38805         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38806         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38807         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38808         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38809         * sysdeps/sh/tst-audit.h: Likewise.
38810         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38811         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38812         * sysdeps/x86_64/tst-audit.h: Likewise.
38814 2012-07-26  Andreas Jaeger  <aj@suse.de>
38816         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38817         ptrace.
38819         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38820         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38821         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38822         PTRACE_O_MASK.
38823         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38824         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38825         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38827         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38828         value.
38830         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38831         _sigsys.
38832         (si_call_addr, si_syscall, si_arch): Define new macro.
38833         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38834         _sigsys.
38835         (si_call_addr, si_syscall, si_arch): Define new marcro.
38836         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38837         _sigsys.
38838         (si_call_addr, si_syscall, si_arch): Define new macro.
38839         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38840         _sigsys.
38841         (si_call_addr, si_syscall, si_arch): Define new macro.
38843 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
38845         [BZ #13717]
38846         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38847         Change to 2.4.21 where previously 2.4.1.
38848         * sysdeps/unix/sysv/linux/configure: Regenerated.
38849         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38850         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38851         Linux kernel version.
38852         (__ASSUME_STD_AUXV): Remove.
38853         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38854         kernel version.
38855         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38856         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38857         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38858         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38859         (__ASSUME_NETLINK_SUPPORT): Likewise.
38860         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38861         (__no_netlink_support): Remove conditional definition.
38862         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38863         Remove.
38864         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38865         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38866         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38867         (if_nameindex_ioctl): Remove.
38868         (if_nameindex_netlink): Do not handle __no_netlink_support.
38869         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38870         code.
38871         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38872         Remove conditional code.
38873         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38874         code.
38875         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38876         unconditional.
38877         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38878         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38879         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38880         Remove.
38881         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38882         [!__ASSUME_STD_AUXV]: Remove conditional code.
38883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38884         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38885         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38887         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38888         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38889         code.
38890         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38892         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38893         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38894         conditional code.
38895         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38897         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38898         code.
38899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38900         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38901         conditional code.
38902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38903         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38904         code unconditional.
38905         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38906         conditional code.
38907         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38908         unconditional.
38909         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38910         conditional code.
38911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38912         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38913         unconditional.
38914         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38915         conditional code.
38916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38917         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38918         code unconditional.
38919         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38920         conditional code.
38921         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38922         unconditional.
38923         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38924         conditional code.
38925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38926         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38927         code unconditional.
38928         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38929         conditional code.
38930         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38931         unconditional.
38932         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38933         conditional code.
38935 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
38937         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38938         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38939         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38940         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38941         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38942         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38943         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38944         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38945         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38946         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38947         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38948         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38949         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38950         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38951         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38952         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38953         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38954         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38955         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38956         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38957         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38958         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38959         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38961 2012-07-25  Florian Weimer  <fweimer@redhat.com>
38963         * Versions.def: Add GLIBC_2.17.
38964         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38965         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38966         Introduce __libc_secure_getenv.
38967         * stdlib/Versions (2.17): Add secure_getenv
38968         (GLIBC_PRIVATE): Add __libc_secure_getenv.
38969         * stdlib/secure-getenv.c: Rename __secure_getenv to
38970         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
38971         symbol __secure_getenv for GLIBC_2.0.
38972         * stdlib/tst-secure-getenv.c: New.
38973         * stdlib/Makefile (tests): Add testcase.
38974         * manual/startup.texi (Environment Access): Document
38975         secure_getenv.
38976         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38977         __libc_secure_getenv.
38978         * inet/ruserpass.c (ruserpass): Likewise.
38979         * malloc/mtrace.c (mtrace): Likewise.
38980         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38981         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38982         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38983         * sysdeps/posix/tempname.c: Likewise.  Evaluate
38984         HAVE_SECURE_GETENV.
38985         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38986         __secure_getenv to __libc_secure_getenv.
38987         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38989         Likewise.
38990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38991         Likewise.
38992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38994         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39000 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39002         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39003         (struct La_i86_retval): Likewise.
39004         (struct La_x86_64_regs): Likewise.
39005         (struct La_x86_64_retval): Likewise.
39006         (struct La_x32_regs): Likewise.
39007         (struct La_x32_retval): Likewise.
39008         (struct La_ppc32_regs): Likewise.
39009         (struct La_ppc32_retval): Likewise.
39010         (struct La_ppc64_regs): Likewise.
39011         (struct La_ppc64_retval): Likewise.
39012         (struct La_sh_regs): Likewise.
39013         (struct La_sh_retval): Likewise.
39014         (struct La_s390_32_regs): Likewise.
39015         (struct La_s390_32_retval): Likewise.
39016         (struct La_s390_64_regs): Likewise.
39017         (struct La_s390_64_retval): Likewise.
39018         (struct La_sparc32_regs): Likewise.
39019         (struct La_sparc32_retval): Likewise.
39020         (struct La_sparc64_regs): Likewise.
39021         (struct La_sparc64_retval): Likewise.
39022         (struct audit_ifaces): Remove architecture-specific pltenter and
39023         pltexit members.
39024         * sysdeps/i386/ldsodefs.h: New file.
39025         * sysdeps/powerpc/ldsodefs.h: Likewise.
39026         * sysdeps/s390/ldsodefs.h: Likewise.
39027         * sysdeps/sh/ldsodefs.h: Likewise.
39028         * sysdeps/sparc/ldsodefs.h: Likewise.
39029         * sysdeps/x86_64/ldsodefs.h: Likewise.
39031 2012-07-25  Marek Polacek  <polacek@redhat.com>
39033         [BZ #6808]
39034         * math/libm-test.inc (yn_test): Add another test.
39035         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39036         to ERANGE when the result is +-Inf.
39037         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39038         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39039         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39040         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39042 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
39044         * conform/data/time.h-data (NULL): Use macro-constant.  Require
39045         equal to 0.
39046         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
39047         clock_t.
39048         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
39050 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
39052         * configure.in <sysdeps resolving>: Correct printing
39053         Implies_before.
39054         * configure: Regenerate.
39056 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
39058         * math/w_ilogb.c: Include <limits.h>.
39059         * math/w_ilogbl.c: Likewise.
39061 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39063         * manual/lang.texi (__va_copy): Document primarily as ISO C99
39064         va_copy.  Document allowing for unavailable va_copy only as
39065         pre-C99 compatibility.
39066         * manual/string.texi (Copying and Concatenation): Use va_copy
39067         instead of __va_copy in concat example.
39069 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
39071         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39072         (__sendto): Use create_address_port.  Initialize APORT and deallocate
39073         it if not null.
39075         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39076         with O_NOLINK passed to __file_name_lookup.
39078         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39079         with O_NOLINK passed to __file_name_lookup.
39081         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39082         negative N or less than NGIDS.
39084         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39085         type to string_t.  Set ERANGE as errno and return it if NAME is not big
39086         enough.  Use memcpy instead of strncpy.
39088 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39090         * elf/Makefile (check-data): Remove.
39091         (localplt.data): New vpath directive.
39092         ($(objpfx)check-localplt.out): Use localplt.data from vpath
39093         instead of $(check-data).
39094         * scripts/data/localplt-generic.data: Move to ...
39095         * sysdeps/generic/localplt.data: ... here.
39096         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39097         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39098         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39100         ... here.
39101         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39103         ... here.
39104         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39106         ... here.
39107         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39109         ... here.
39110         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39112         ... here.
39113         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39115         ... here.
39117 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39119         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39120         PPC32 and PPC64 files.
39121         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39122         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39124 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39126         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39127         __makecontext_ret to ...
39128         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39129         ... here and call exit if uc_link is NULL.  New file.
39130         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39131         __makecontext_ret.S.
39132         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39133         __makecontext_ret to ...
39134         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39135         ... here and call exit if uc_link is NULL.  New file.
39136         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39137         __makecontext_ret.S.
39139 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39141         * elf/elf.h (R_390_IRELATIVE): New definition.
39142         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39143         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
39144         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39145         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39146         (elf_machine_lazy_rel): Likewise.
39147         * sysdeps/s390/dl-irel.h: New file.
39148         * sysdeps/s390/s390-64/memcpy.S: New asm code.
39149         * sysdeps/s390/s390-64/memset.S: New asm code.
39150         * sysdeps/s390/s390-64/memcmp.S: New asm code.
39151         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39152         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39153         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39154         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39155         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39156         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39157         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39158         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39159         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39160         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39161         * sysdeps/s390/s390-32/memcpy.S: New asm code.
39162         * sysdeps/s390/s390-32/memset.S: New asm code.
39163         * sysdeps/s390/s390-32/memcmp.S: New asm code.
39165 2012-07-17  Marek Polacek  <polacek@redhat.com>
39167         [BZ #14349]
39168         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39169         * sysdeps/s390/s390-64/configure.in: Likewise.
39170         * sysdeps/sparc/configure.in: Likewise.
39171         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39172         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39173         * sysdeps/i386/configure.in: Likewise.
39174         * sysdeps/x86_64/configure.in: Likewise.
39175         * sysdeps/sh/configure.in: Likewise.
39176         * sysdeps/s390/s390-32/configure: Regenerated.
39177         * sysdeps/s390/s390-64/configure: Likewise.
39178         * sysdeps/x86_64/configure: Likewise.
39179         * sysdeps/sh/configure: Likewise.
39180         * sysdeps/powerpc/powerpc64/configure: Likewise.
39181         * sysdeps/powerpc/powerpc32/configure: Likewise.
39182         * sysdeps/sparc/configure: Likwise.
39183         * sysdeps/i386/configure: Likewise.
39185         * elf/dl-open.c: Comment fixes.
39187 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
39189         * Makefile [CXX] (check-data): Remove.
39190         [CXX] (c++-types.data): New vpath directive.
39191         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39192         vpath.  Do not allow for C++ type data being missing.
39193         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39194         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39195         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39196         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39197         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39198         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39199         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39201         ... here.
39202         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39204         ... here.
39205         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39207         ... here.
39208         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39210         ... here.
39211         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39213         ... here.
39214         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39216         ... here.
39217         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39218         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39219         ... here.
39220         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39223         * elf/tls-macros.h (TLS_LE): Move architecture-specific
39224         definitions to architecture-specific files.
39225         (TLS_IE): Likewise.
39226         (TLS_LD): Likewise.
39227         (TLS_GD): Likewise.
39228         * sysdeps/i386/tls-macros.h: New file.
39229         * sysdeps/powerpc/tls-macros.h: Likewise.
39230         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39231         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39232         * sysdeps/sh/tls-macros.h: Likewise.
39233         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39234         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39235         * sysdeps/x86_64/tls-macros.h: Likewise.
39237 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39239         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39240         zero value for regular exit case.
39242         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39243         (__start_context): Preserve zero value for regular exit case.
39245 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39246             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39248         * manual/setjmp.texi (setcontext): Clarify normal process
39249         termination when uc_link is the null pointer.
39250         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39251         exit call.
39253 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
39255         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39256         preprocessor.  Test for each exception mask separately.
39258 2012-07-16  Andreas Jaeger  <aj@suse.de>
39260         * po/ru.po: Update from translation team.
39262 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
39264         * conform/data/string.h-data (NULL): Use macro-constant.  Require
39265         equal to 0.
39266         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39267         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39268         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39269         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39270         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39272 2012-07-13  Andreas Jaeger  <aj@suse.de>
39274         * po/fr.po: Update from translation team.
39276 2012-07-12  Marek Polacek  <polacek@redhat.com>
39278         [BZ #14173]
39279         * math/libm-test.inc (yn_test): Add test for BZ #14173.
39280         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39281         loop condition.
39283 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
39285         [BZ #13717]
39286         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39287         Change to 2.4.1 where previously 2.4.0.
39288         * sysdeps/unix/sysv/linux/configure: Regenerated.
39289         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39290         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39291         version.
39292         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39293         (__ASSUME_AT_CLKTCK): Remove.
39294         (__ASSUME_AT_PAGESIZE): Likewise.
39295         (__ASSUME_AT_XID): Likewise.
39296         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39297         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39298         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39299         unconditionally.
39300         (HAVE_AUX_PAGESIZE): Likewise.
39301         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39302         [__ASSUME_AT_CLKTCK]: Make code unconditional.
39303         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39305 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
39307         [BZ #14307]
39308         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39309         the temporary buffer used to invoke __gethostbyname2_r,
39310         __gethostbyaddr_r and gethostbyname4_r to make room for struct
39311         host_data / struct gaih_addrtuple.
39312         * resolv/nss_dns/dns-host.c (global scope): Move definition of
39313         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39314         header file nss/nsswitch.h.
39315         * nss/nsswitch.h (global scope): Add definition of implementation
39316         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39317         resolv/nss_dns/dns-host.c).
39319 2012-07-11  Andreas Jaeger  <aj@suse.de>
39321         * po/fr.po: Update from translation team.
39323         * po/sv.po: Update from translation team
39324         * po/fr.po: Another update from translation team.
39326 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39328         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39329         for subnormals or multiply small sinh result by itself.
39330         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39333 2012-07-11  David S. Miller  <davem@davemloft.net>
39335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39337 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
39339         [BZ #14347]
39340         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39341         (INTERNAL_MARK): Shift it here.
39343 2012-07-10  Marek Polacek  <polacek@redhat.com>
39345         [BZ #14151]
39346         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
39347         libc_cv_asm_global_directive with .globl.
39348         * configure: Regenerated.
39349         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39350         with .globl.
39351         * sysdeps/i386/configure: Regenerated.
39352         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39353         with .globl.
39354         * sysdeps/x86_64/configure: Regenerated.
39355         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39356         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39357         * elf/tst-unique2mod2.c: Likewise.
39358         * elf/tst-unique2mod1.c: Likewise.
39359         * elf/tst-unique1mod2.c: Likewise.
39360         * elf/tst-unique1mod1.c: Likewise.
39361         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39362         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39363         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39364         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39365         * sysdeps/mach/sysdep.h: Likewise.
39366         * sysdeps/i386/sysdep.h: Likewise.
39367         * sysdeps/i386/i386-mcount.S: Likewise.
39368         * sysdeps/x86_64/_mcount.S: Likewise.
39369         * sysdeps/x86_64/sysdep.h: Likewise.
39370         * sysdeps/sh/_mcount.S: Likewise.
39371         * sysdeps/sh/sysdep.h: Likewise.
39372         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39373         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39374         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39375         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39376         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39377         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39378         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39379         * locale/localeinfo.h: Likewise.
39380         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39381         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39383 2012-07-09  Roland McGrath  <roland@hack.frob.com>
39385         [BZ #14336]
39386         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39387         system".
39388         * manual/message.texi (The Uniforum approach): Likewise.
39389         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39390         (glibc iconv Implementation): Likewise.
39392 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
39394         [BZ #14337]
39395         * math/s_clog.c (__clog): Avoid scaling a value down where that
39396         could result in underflow.
39397         * math/s_clog10.c (__clog10): Likewise.
39398         * math/s_clog10f.c (__clog10f): Likewise.
39399         * math/s_clog10l.c (__clog10l): Likewise.
39400         * math/s_clogf.c (__clogf): Likewise.
39401         * math/s_clogl.c (__clogl): Likewise.
39402         * math/libm-test.inc (clog_test): Add more tests.
39403         (clog10_test): Likewise.
39404         * sysdeps/i386/fpu/libm-test-ulps: Update.
39405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39407 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
39409         [BZ #14283]
39410         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39411         by 7 not 8 to examine high bit of fractional part.
39413         [BZ #14042]
39414         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39415         for call to __mcount_internal.
39416         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39417         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39418         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39420 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
39422         [BZ #14154]
39423         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39424         approximation for values within 0x1p-13f of an odd multiple of
39425         pi/4.
39426         * math/libm-test.inc (tan_test): Do not allow spurious underflow
39427         exception.  Add more tests.
39428         * sysdeps/i386/fpu/libm-test-ulps: Update.
39430         [BZ #6778]
39431         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39432         inputs and return -1 for them.  Do not check for +Inf in case not
39433         reachable for +Inf.
39434         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39435         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39436         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39437         and return -1 for them.  Do not check for +Inf in case not
39438         reachable for +Inf.
39439         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39440         define.
39441         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39442         and return -1 for them.  Do not check for +Inf in case not
39443         reachable for +Inf.
39444         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
39445         spurious underflow.
39446         * sysdeps/i386/fpu/libm-test-ulps: Update.
39447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39449 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
39451         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39453 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
39455         [BZ #14157]
39456         [BZ #14331]
39457         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39458         could result in spurious underflow.  Scale down values above
39459         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39460         * math/s_csqrtf.c (__csqrtf): Likewise.
39461         * math/s_csqrtl.c (__csqrtl): Likewise.
39462         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
39463         spurious underflow.
39464         * sysdeps/i386/fpu/libm-test-ulps: Update.
39465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39467 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
39469         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39470         xopen-msg.sed.
39471         * catgets/xopen-msg.awk: New file.
39472         * catgets/xopen-msg.sed: Removed.
39474         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39475         po2text.sed.
39476         * intl/po2test.awk: New file.
39477         * intl/po2test.sed: Removed.
39479 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
39481         [BZ #14328]
39482         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39483         or multiply small sinh result by itself.
39484         * math/s_ctanf.c (__ctanf): Likewise.
39485         * math/s_ctanh.c (__ctanh): Likewise.
39486         * math/s_ctanhf.c (__ctanhf): Likewise.
39487         * math/s_ctanhl.c (__ctanhl): Likewise.
39488         * math/s_ctanl.c (__ctanl): Likewise.
39489         * math/libm-test.inc (ctan_test_tonearest): New function.
39490         (ctan_test_towardzero): Likewise.
39491         (ctan_test_downward): Likewise.
39492         (ctan_test_upward): Likewise.
39493         (ctanh_test_tonearest): Likewise.
39494         (ctanh_test_towardzero): Likewise.
39495         (ctanh_test_downward): Likewise.
39496         (ctanh_test_upward): Likewise.
39497         (main): Call these new functions.
39498         * sysdeps/i386/fpu/libm-test-ulps: Update.
39499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39501 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
39503         * .gitignore: Delete /ports entry.
39505 2012-07-03  Andreas Jaeger  <aj@suse.de>
39507         * po/bg.po: Update from translation team.
39508         * po/cs.po: Likewise.
39509         * po/de.po: Likewise.
39510         * po/hr.po: Likewise.
39511         * po/nl.pl: Likewise.
39512         * po/pl.po: Likewise.
39513         * po/vi.po: Likewise.
39515 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
39517         * Makeconfig [!+link] (+link-before-libc): New variable.
39518         [!+link] (+link-after-libc): Likewise.
39519         [!+link] (+link-tests): Likewise.
39520         [!+link] (+link): Define in terms of $(+link-before-libc) and
39521         $(+link-after-libc).
39522         [!+link-static] (+link-static-before-libc): New variable.
39523         [!+link-static] (+link-static-after-libc): Likewise.
39524         [!+link-static] (+link-static-tests): Likewise.
39525         [!+link-static] (+link-static): Define in terms of
39526         $(+link-static-before-libc) and $(+link-static-after-libc).
39527         [build-shared] (link-libc-before-gnulib): New variable.
39528         [build-shared] (link-libc-tests): Likewise.
39529         [build-shared] (link-libc): Define in terms of
39530         $(link-libc-before-gnulib).
39531         [!build-shared] (link-libc-tests): New variable.
39532         (link-libc-static-tests): New variable.
39533         [!gnulib] (gnulib-arch): New variable.
39534         [!gnulib] (gnulib-tests): Likewise.
39535         [!gnulib] (static-gnulib-arch): Likewise.
39536         [!gnulib] (static-gnulib-tests): Likewise.
39537         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
39538         Define with "=" instead of ":=".
39539         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
39540         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
39541         * Rules (binaries-all-notests): New variable.
39542         (binaries-all-tests): Likewise.
39543         (binaries-static-notests): Likewise.
39544         (binaries-static-tests): Likewise.
39545         (binaries-all): Define using $(binaries-all-notests) and
39546         $(binaries-all-tests).
39547         (binaries-static): Define using $(binaries-static-notests) and
39548         $(binaries-static-tests).
39549         (binaries-shared-tests): New variable.
39550         (binaries-shared-notests): Likewise.
39551         (binaries-shared): Remove variable.
39552         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39553         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39554         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39555         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39556         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39557         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39558         * elf/Makefile (sln-modules): New variable.
39559         (extra-objs): Add $(sln-modules:=.o).
39560         (ldconfig-modules): Add static-stubs.
39561         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39562         * elf/static-stubs.c: New file.
39564         [BZ #14283]
39565         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39566         by 7 not 8 to examine high bit of fractional part.  Use volatile
39567         variables when splitting into final array of floats if
39568         __FLT_EVAL_METHOD__ != 0.
39569         * math/libm-test.inc (cos_test): Add another test.
39570         (sin_test): Likewise.
39571         * sysdeps/i386/fpu/libm-test-ulps: Update.
39573         [BZ #14273]
39574         * math/libm-test.inc (cosh_test): Add more tests.
39576         * version.h (RELEASE): Set to "development".
39577         (VERSION): Set to "2.16.90".
39579 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
39581         * NEWS: Update copyright. Remove last-updated date.
39582         Mention math library bug fixes and timezone data changes.
39583         * README: Mention GNU/Hurd, x32, and HPPA support status.
39585 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
39587         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39589 2012-06-27  Andreas Jaeger  <aj@suse.de>
39591         * manual/contrib.texi (Contributors): Add Samuel Thibault.
39593 2012-06-25  Andreas Jaeger  <aj@suse.de>
39595         * sysdeps/s390/fpu/libm-test-ulps: Update.
39597 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
39598             Thomas Schwinge  <thomas@codesourcery.com>
39600         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39601         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39602         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39603         fanotify_mark.
39605 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
39607         * sysdeps/mach/start.c: Remove file.
39608         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39609         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39610         * sysdeps/sh/init-first.c: Likewise.
39612         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39613         registers for frame unwinding purposes, add CFI directives.
39614         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39615         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39616         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39617         Likewise.
39619         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39620         __fortify_fail returning.
39621         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39623         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39624         sysdeps/sh/____longjmp_chk.S.
39625         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39626         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39627         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39628         (gen-as-const-headers): Append sigaltstack-offsets.sym.
39630         * sysdeps/sh/abort-instr.h: New file.
39631         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39632         process in case exit returns.
39634         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39635         initialize the GOT register before use.
39637         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39638         calculation of ARGC > 4.
39640         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39641         meaningful names to some local labels.
39643 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39644             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39646         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39647         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39648         (__arch_compare_and_exchange_val_16_acq): Likewise.
39649         (__arch_compare_and_exchange_val_32_acq): Likewise.
39650         (atomic_exchange_and_add): Fix gUSA sequence.
39651         (atomic_add): Likewise.
39652         (atomic_add_negative): Likewise.
39653         (atomic_add_zero): Likewise.
39654         (atomic_bit_test_set): Likewise.
39656 2012-06-22  Andreas Schwab  <schwab@redhat.com>
39658         [BZ #13579]
39659         * include/link.h (struct link_map): Add l_free_initfini.
39660         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39661         l_initfini.
39662         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39663         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39664         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39665         set.
39667 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
39669         * configure.in: Use AC_LANG_SOURCE.
39670         * configure: Regenerate.
39672 2012-06-22  Roland McGrath  <roland@hack.frob.com>
39674         * configure.in (libc_cv_localstatedir): New substituted variable.
39675         * configure: Regenerated.
39676         * config.make.in (localstatedir): New variable, substituted from
39677         libc_cv_localstatedir.
39678         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39679         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39680         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39681         * sysdeps/gnu/configure: Regenerated.
39683 2012-06-21  Jeff Law  <law@redhat.com>
39685         [BZ #14277]
39686         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39687         free.  Simplify list management for _LIBC case.
39689 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
39691         [BZ #14273]
39692         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39693         Clear sign bit of 64-bit integer value before comparing against
39694         overflow value.
39696         * sysdeps/mach/configure: Regenerated.
39698 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
39700         [BZ #14278]
39701         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39703 2012-06-21  Jeff Law  <law@redhat.com>
39705         [BZ #13882]
39706         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
39707         uint16_t for elements in the "seen" array to avoid char overflows.
39708         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39709         * elf/dl-open.c (dl_open_worker): Likewise.
39711 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
39713         * scripts/list-sources.sh: Scan PORTS for translations.
39714         * po/libc.pot: Regenerated.
39716 2012-06-21  Andreas Jaeger  <aj@suse.de>
39718         [BZ #12194]
39719         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39720         warning.
39721         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39722         * bits/byteswap-16.h (__bswap_16): Likewise.
39723         * bits/byteswap.h (__bswap_constant_16): Likewise.
39725 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
39727         [BZ #14117]
39728         * sysdeps/i386/fpu_control.h: Removed.
39729         * sysdeps/x86_64/fpu_control.h: Moved to ...
39730         * sysdeps/x86/fpu_control.h: Here.
39732         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39733         (_FPU_SETCW): Likewise.
39735 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
39737         [BZ #14117]
39738         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39739         * sysdeps/x86/fpu/bits/mathinline.h: This.
39740         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39742         [BZ #14050]
39743         [BZ #14117]
39744         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39745         functions if __x86_64__ is defined.
39747 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
39749         * string/endian.h: Add !__ASSEMBLER__ condition for including
39750         conversion interfaces.
39752 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
39754         [BZ #14241]
39755         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39756         of ABS(x) in calculating zero to negative powers other than odd
39757         integers.
39758         * math/libm-test.inc (pow_test): Add more tests.
39760 2012-06-15  Andreas Jaeger  <aj@suse.de>
39762         * manual/contrib.texi (Contributors): Update entry of Liubov
39763         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39764         Machado Filho.
39766 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
39768         * string/string.h: Add __wur to GNU version of strerror_r.
39770 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
39772         [BZ #14229]
39773         * string/Makefile (tests): Add tst-strtok_r.
39774         * string/tst-strtok_r.c: New file.
39775         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39776         RAX_LP/RDX_LP on SAVE_PTR.
39778 2012-06-14  Roland McGrath  <roland@hack.frob.com>
39780         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39782 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
39784         * libm_test.inc (csqrt_test): Allow more spurious underflow
39785         exceptions.
39786         (j0_test): Likewise.
39787         (j1_test): Likewise.
39788         (y0_test): Likewise.
39789         (y1_test): Likewise.
39791 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
39793         * po/Makefile (libc.pot): Use UTF-8 charset.
39795 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
39797         [BZ #14210]
39798         Suppress sign-conversion warning from FD_SET.
39799         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39800         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39801         not unsigned long int.
39802         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39804 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
39806         [BZ #14050]
39807         [BZ #14117]
39808         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39809         __extern_always_inline instead of __extern_inline.
39810         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39811         (__signbit): Likewise.
39812         (__signbitl): Support C++ namespace.
39813         (lrintf): New inline function.
39814         (lrint): Likewise.
39815         (llrintf): Likewise.
39816         (llrint): Likewise.
39817         (fmaxf): Likewise.
39818         (fmax): Likewise.
39819         (fminf): Likewise.
39820         (fmin): Likewise.
39821         (rint): Likewise.
39822         (rintf): Likewise.
39823         (ceil): Likewise.
39824         (ceilf): Likewise.
39825         (floor): Likewise.
39826         (floorf): Likewise.
39827         (nearbyint): Likewise.
39828         (nearbyintf): Likewise.
39830 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
39832         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39833         non-default versions.
39835 2012-06-11  Roland McGrath  <roland@hack.frob.com>
39837         [BZ #14218]
39838         * manual/argp.texi (Argp): Reword argp_parse description slightly.
39840 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
39842         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39843         (FE_UPWARD, FE_DOWNWARD): Don't define.
39844         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39845         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39847         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39848         reading it.
39849         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39850         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39852 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39854         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39855         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39856         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39857         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39859 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
39861         [BZ #14117]
39862         * sysdeps/i386/fpu/bits/fenv.h: Removed.
39863         * sysdeps/i386/fpu/Implies: New file.
39864         * sysdeps/x86_64/fpu/Implies: Likewise.
39865         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39866         * sysdeps/x86/fpu/bits/fenv.h: This.
39868         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39869         __SSE_MATH__.
39871 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39873         [BZ #14134]
39874         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39875         character 0xffff that matches the last element of the
39876         conversion table.
39878 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39880         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39881         fmodl commit.
39883 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39885         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39886         values higher than 25.6283.
39888 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39890         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39891         subnormal exponent extraction and add some __builtin_expect.
39892         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39893         Fix for subnormal mantissa calculation.
39895 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
39897         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39898         cpu2 is -1 and errno is not ENOSYS.
39900 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
39902         [BZ #14117]
39903         * sysdeps/i386/i486/bits/string.h: Renamed to ...
39904         * sysdeps/x86/bits/string.h: This.
39905         * sysdeps/x86_64/bits/string.h: Removed.
39907         * sysdeps/i386/i486/bits/string.h: Define inline functions only
39908         if not compiling for x86-64, but compiling for >= i486.
39910         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39911         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39913         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39914         New macro from Linux kernel 3.4.0.
39915         (FP_XSTATE_MAGIC2): Likewise.
39916         (FP_XSTATE_MAGIC2_SIZE): Likewise.
39917         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39918         (struct _fpx_sw_bytes): New struct.
39919         (struct _xsave_hdr): Likewise.
39920         (struct _ymmh_state): Likewise.
39921         (struct _xstate): Likewise.
39923         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39924         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39925         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39926         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39927         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39928         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39930         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39931         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39932         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39933         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39934         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39935         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39937 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39939         [BZ #13743]
39940         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39941         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39942         (sysdep_headers): Include sys/platform/ppc.h.
39943         * sysdeps/powerpc/test-gettimebase.c: Test for
39944         __ppc_get_timebase() to catch future ISA opcode/insn changes.
39945         * manual/Makefile (appendices): Include platform.texi.
39946         * manual/contrib.texi (Contributors): Update @node pointers.
39947         * manual/maint.texi (Maintenance): Likewise.
39948         (Platform): New node.
39949         * manual/platform.texi: New file.  Document the new features.
39951 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39952             Jakub Jelinek  <jakub@redhat.com>
39954         [BZ #14188]
39955         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39956         where __builtin_expect is unavailable.
39958 2012-06-03  David S. Miller  <davem@davemloft.net>
39960         * stdlib/longlong.h: Updated from GCC.
39962 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
39964         [BZ #14042]
39965         * sysdeps/powerpc/powerpc32/mcount.c: New file.
39966         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39967         __mcount_internal.
39968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39969         (GLIBC_2.16): Likewise.
39971 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39973         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39975 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
39977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39978         (default-abi): New variable.
39979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39980         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39981         variable.
39982         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39983         Likewise.
39984         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39985         Likewise.
39986         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39987         Likewise.
39989         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39990         definition.  Document in comment.
39992 2012-06-01  David S. Miller  <davem@davemloft.net>
39994         * stdlib/longlong.h: Updated from GCC.
39996 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39998         [BZ #14117]
39999         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40000         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40001         sys/debugreg.h sys/io.h here.
40002         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40003         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40004         sys/io.h.
40005         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40006         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40007         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40008         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40009         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40010         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40012         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40013         Define only if __x86_64__ is defined.
40015 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40017         [BZ #14048]
40018         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40019         Use int64_t for variable i.
40020         * math/libm-test.inc (fmod_test): Add more tests.
40022         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40023         z computation is not scheduled after fetestexcept.
40024         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40025         Use math_force_eval instead of asm to ensure calculation scheduled
40026         before exception test.
40027         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40028         Ensure a1 + u.d computation is not scheduled after fetestexcept.
40030 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
40032         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40033         computation is not scheduled after fetestexcept.
40035 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40037         [BZ #14117]
40038         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40039         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40041 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40043         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40044         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40046 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40048         [BZ #14117]
40049         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40050         <bits/wordsize.h>.
40051         (__WCHAR_MIN): Support __WORDSIZE == 64.
40052         (__WCHAR_MAX): Likewise.
40054         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40055         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40057         [BZ #14183]
40058         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40059         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40061         [BZ #14117]
40062         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40063         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40065         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40066         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40068         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40069         Defined to 1 if __x86_64__ isn't defined.
40070         (_STAT_VER_LINUX_OLD): New.
40071         (st_atime): Remove duplicate.
40072         (st_mtime): Likewise.
40073         (st_ctime): Likewise.
40075 2012-05-31  David S. Miller  <davem@davemloft.net>
40077         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40078         entries.
40080 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
40082         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40083         gen-libm-test.pl.
40085         [BZ #14132]
40086         * elf/dl-reloc.c: Include <_itoa.h>.
40087         (_dl_reloc_bad_type): Remove use of INTUSE.
40088         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40089         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40090         * stdio-common/psiginfo.c (psiginfo): Likewise.
40091         * stdio-common/psignal.c (psignal): Likewise.
40092         * string/strsignal.c (strsignal): Likewise.
40093         * include/signal.h (_sys_siglist): Declare hidden proto.
40094         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
40095         INTVARDEF with libc_hidden_data_def.
40096         * stdio-common/itoa-udigits.c: Likewise.
40097         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40098         (_itoa_lower_digits_internal): Remove declaration.
40099         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40100         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40101         (_sys_sigabbrev_internal): Remove aliases.
40102         (_sys_siglist): Define hidden alias.
40104 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
40106         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40107         bits/sysctl.h.
40109 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40111         [BZ #14117]
40112         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40113         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40115         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40116         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40117         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40118         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40119         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40120         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40122         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40123         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40124         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40126         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40127         with __addr.
40128         (insw): Likewise.
40129         (insl): Likewise.
40130         (outsb): Likewise.
40131         (outsw): Likewise.
40132         (outsl): Likewise.
40134         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40135         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40136         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40138         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40139         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40140         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40141         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40142         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40143         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40145         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40146         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40148         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40149         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40151         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40152         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40153         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40155         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40156         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40157         to ...
40158         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40160         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40161         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40162         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40164         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40165         for x86-64.
40166         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40168 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
40170         * math/math.h (M_El): Use two more decimal places.
40171         (M_LOG2El): Likewise.
40172         (M_LOG10El): Likewise.
40173         (M_LN2l): Likewise.
40174         (M_LN10l): Likewise.
40175         (M_PIl): Likewise.
40176         (M_PI_2l): Likewise.
40177         (M_PI_4l): Likewise.
40178         (M_1_PIl): Likewise.
40179         (M_2_PIl): Likewise.
40180         (M_2_SQRTPIl): Likewise.
40181         (M_SQRT2l): Likewise.
40182         (M_SQRT1_2l): Likewise.
40184 2012-05-31  David S. Miller  <davem@davemloft.net>
40186         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40187         values between float registers.
40188         * sysdeps/sparc/sparc64/memset.S: Likewise.
40189         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40191 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
40193         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40194         -D_FORTIFY_SOURCE=1.
40195         (CPPFLAGS-tst-longjmp_chk.c): Define.
40196         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40197         (CPPFLAGS-tst-longjmp_chk2.c): Define.
40198         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40199         CFLAGS-tst-wchar-h.c.
40201 2012-05-31  Marek Polacek  <polacek@redhat.com>
40203         [BZ #14132]
40204         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40205         __endmntent_internal): Remove declaration.
40206         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40207         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40208         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40210 2012-05-30  David S. Miller  <davem@davemloft.net>
40212         * sysdeps/sparc/sparc32/soft-fp/q_util.c
40213         (___Q_simulate_exceptions): Use real FP ops rather than writing
40214         into the %fsr.
40215         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40216         Likewise.
40218 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40220         [BZ #14117]
40221         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40222         * sysdeps/x86/bits/xtitypes.h: This.
40224         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40225         * sysdeps/x86/bits/wordsize.h: This.
40227         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40228         * sysdeps/x86/bits/huge_vall.h: This.
40230         * sysdeps/i386/bits/select.h: Removed.
40231         * sysdeps/x86_64/bits/select.h: Renamed to ...
40232         * sysdeps/x86/bits/select.h: This.
40234         * sysdeps/i386/bits/setjmp.h: Removed.
40235         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40236         * sysdeps/x86/bits/setjmp.h: This.
40238         * sysdeps/i386/bits/mathdef.h: Removed.
40239         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40240         * sysdeps/x86/bits/mathdef.h: This.
40242 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
40244         [BZ #14132]
40245         * include/sys/socket.h (__connect_internal)
40246         (__libc_sa_len_internal): Remove declaration.
40247         (__connect, __libc_sa_len): Declare hidden_proto.
40248         (SA_LEN): Remove use of INTUSE.
40249         * socket/connect.c: Add libc_hidden_def.
40250         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40251         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40252         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40253         alias.
40254         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40255         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40256         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40257         of adding _internal alias.
40259 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40261         [BZ #14117]
40262         * sysdeps/i386/bits/link.h: Removed.
40263         * sysdeps/i386/bits/linkmap.h: Likewise.
40264         * sysdeps/x86_64/bits/link.h: Renamed to ...
40265         * sysdeps/x86/bits/link.h: This.
40266         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40267         * sysdeps/x86/bits/linkmap.h: This.
40269         * sysdeps/i386/bits/endian.h: Removed.
40270         * sysdeps/x86_64/bits/endian.h: Renamed to ...
40271         * sysdeps/x86/bits/endian.h: This.
40273         * sysdeps/i386/bits/byteswap.h: Removed.
40274         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40275         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40276         * sysdeps/x86/bits/byteswap.h: This.
40277         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40278         * sysdeps/x86/bits/byteswap-16.h: This.
40279         * sysdeps/i386/Implies: Add x86.
40280         * sysdeps/x86_64/Implies: Likewise.
40282 2012-05-30  David S. Miller  <davem@davemloft.net>
40284         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40285         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40286         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40287         (FP_TRAPPING_EXCEPTIONS): Define.
40288         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40289         (FP_TRAPPING_EXCEPTIONS): Define.
40290         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40291         subnormals only when inexact has been signalled or underflow
40292         exceptions are enabled.
40293         (_FP_PACK_CANONICAL): Likewise.
40295 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40297         [BZ #14183]
40298         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40299         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40301 2012-05-30  Richard Henderson  <rth@twiddle.net>
40303         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40304         with #ifndef NOT_IN_libc.
40306         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
40307         marked to avoid plt entry.
40309 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40311         [BZ #14112]
40312         * Makeconfig (default-abi): New macro.
40313         (abi-includes): Likewise.
40314         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
40315         $(abi-$(default-abi)-lib-soname) for soname if defined.
40316         ($(common-objpfx)gnu/lib-names.stmp): Generate from
40317         abi-variants.
40318         * Makefile (installed-stubs): Likewise.
40319         * include/stubs-biarch.h: Removed.
40320         * scripts/lib-names.awk: Only handle one library at a time.
40321         * scripts/soversions.awk: Remove WORDSIZE support.
40322         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40323         entries.
40324         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40325         Removed.
40326         (syscall-list-default-condition): Likewise.
40327         (syscall-list-default-condition): Likewise.
40328         (syscall-list-includes): Likewise.
40329         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40330         syscall-list-* with abi-*.  Handle undefined abi-variants.
40331         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40332         * sysdeps/unix/sysv/linux/i386/Implies: New file.
40333         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40334         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40335         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40336         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40337         Removed.
40338         (syscall-list-32-options): Likewise.
40339         (syscall-list-32-condition): Likewise.
40340         (syscall-list-64-options): Likewise.
40341         (syscall-list-64-condition): Likewise.
40342         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40343         macro.
40344         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40345         Renamed to ...
40346         (abi-*): This.
40347         (abi-64-ld-soname): New macro.
40348         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40349         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40350         Renamed to ...
40351         (abi-*): This.
40352         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40353         * sysdeps/x86_64/x32/shlib-versions: Likewise.
40355 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
40357         * sysdeps/unix/sysv/linux/kernel-features.h
40358         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40359         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40360         include <kernel-features.h>.
40361         [!__NR_ftruncate64]: Remove conditional code.
40362         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40363         [__NR_ftruncate64]: Make code unconditional.
40364         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40365         * sysdeps/unix/sysv/linux/truncate64.c: Do not
40366         include <kernel-features.h>.
40367         [!__NR_ftruncate64]: Remove conditional code.
40368         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40369         [__NR_ftruncate64]: Make code unconditional.
40370         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40372         include <kernel-features.h>.
40373         [!__NR_ftruncate64]: Remove conditional code.
40374         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40375         [__NR_ftruncate64]: Make code unconditional.
40376         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40378         include <kernel-features.h>.
40379         [!__NR_ftruncate64]: Remove conditional code.
40380         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40381         [__NR_ftruncate64]: Make code unconditional.
40382         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40384         * configure.in (libc_cv_fpie): Weaken to a compile test using
40385         LIBC_TRY_CC_OPTION.
40386         * configure: Regenerated.
40388 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40394         Refreshed.
40395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40401         Refreshed.
40403 2012-05-27  David S. Miller  <davem@davemloft.net>
40405         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40406         (___Q_zero): New.
40407         (__Q_simulate_exceptions): Return void.  Change to simulate
40408         exceptions by writing into the %fsr.
40409         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40410         (__Qp_handle_exceptions): Likewise.
40411         (numbers): Delete.
40412         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40413         __Qp_handle_exceptions.
40414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40415         __Qp_handle_exceptions.
40416         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40417         as unused and give dummy FP_RND_NEAREST initializer.
40418         (FP_INHIBIT_RESULTS): Define.
40419         (___Q_simulate_exceptions): Update declaration.
40420         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40421         formatting.
40422         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40423         as unused and give dummy FP_RND_NEAREST initializer.
40424         (__Qp_handle_exceptions): Update declaration.
40425         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40426         formatting.
40428 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
40430         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40431         the temporary FPU control word.
40432         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40433         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40434         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40435         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40436         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40437         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40438         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40439         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40440         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40441         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40442         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40444 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40446         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40447         fields.
40449 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
40451         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40452         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40453         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40454         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40455         Likewise.
40456         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40457         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40458         Likewise.
40460 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
40462         * po/h.po: Update from translation team.
40464 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
40466         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40468         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40469         handling of denormals.
40470         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40471         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40472         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40473         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40474         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40475         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40476         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40477         Likewise.
40479 2012-05-26  Marek Polacek  <polacek@redhat.com>
40481         [BZ #14152]
40482         * math/libm-test.inc (fma_test): Don't always expect underflow
40483         exception.
40485 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40487         [BZ #12416]
40488         * elf/tst-execstack.c: Include stackinfo.h.
40489         (do_test): Adjust test case to ensure that pthread_getattr_np
40490         behaviour remains the same after marking stack executable.
40492 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40494         * sysdeps/unix/sysv/linux/kernel-features.h
40495         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40496         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40497         kernel-features.h.
40498         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40499         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40500         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40501         kernel-features.h.
40502         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40503         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40505 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
40507         * configure.in: Define the default includes to being none.
40508         * configure: Regenerated.
40510 2012-05-25  Roland McGrath  <roland@hack.frob.com>
40512         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40513         * sysdeps/x86_64/setjmp.S: Likewise.
40514         * sysdeps/i386/bsd-setjmp.S: Likewise.
40515         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40516         * sysdeps/i386/setjmp.S: Likewise.
40517         * sysdeps/i386/__longjmp.S: Likewise.
40518         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40519         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40521         * include/stap-probe.h: New file.
40522         * configure.in: Handle --enable-systemtap.
40523         * configure: Regenerated.
40524         * config.h.in (USE_STAP_PROBE): New #undef.
40525         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40526         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40527         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40529 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40531         [BZ #13717]
40532         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40533         to 2.4.0 where earlier.
40534         * sysdeps/unix/sysv/linux/configure: Regenerated.
40535         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40536         <kernel-features.h>.
40537         [__ASSUME_32BITUIDS]: Make code unconditional.
40538         [!__ASSUME_32BITUIDS]: Remove conditional code.
40539         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40540         <kernel-features.h>.
40541         [__ASSUME_32BITUIDS]: Make code unconditional.
40542         [!__ASSUME_32BITUIDS]: Remove conditional code.
40543         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40544         [__ASSUME_32BITUIDS]: Make code unconditional.
40545         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40546         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40547         <kernel-features.h>.
40548         [__ASSUME_32BITUIDS]: Make code unconditional.
40549         [!__ASSUME_32BITUIDS]: Remove conditional code.
40550         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40551         <kernel-features.h>.
40552         [__ASSUME_32BITUIDS]: Make code unconditional.
40553         [!__ASSUME_32BITUIDS]: Remove conditional code.
40554         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40555         <kernel-features.h>.
40556         [__ASSUME_32BITUIDS]: Make code unconditional.
40557         [!__ASSUME_32BITUIDS]: Remove conditional code.
40558         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40559         <kernel-features.h>.
40560         [__ASSUME_32BITUIDS]: Make code unconditional.
40561         [!__ASSUME_32BITUIDS]: Remove conditional code.
40562         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40563         <kernel-features.h>.
40564         [__ASSUME_32BITUIDS]: Make code unconditional.
40565         [!__ASSUME_32BITUIDS]: Remove conditional code.
40566         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40567         <kernel-features.h>.
40568         [__ASSUME_32BITUIDS]: Make code unconditional.
40569         [!__ASSUME_32BITUIDS]: Remove conditional code.
40570         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40571         <kernel-features.h>.
40572         [__ASSUME_32BITUIDS]: Make code unconditional.
40573         [!__ASSUME_32BITUIDS]: Remove conditional code.
40574         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40575         <kernel-features.h>.
40576         [__ASSUME_32BITUIDS]: Make code unconditional.
40577         [!__ASSUME_32BITUIDS]: Remove conditional code.
40578         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40579         <kernel-features.h>.
40580         [__ASSUME_32BITUIDS]: Make code unconditional.
40581         [!__ASSUME_32BITUIDS]: Remove conditional code.
40582         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40583         <kernel-features.h>.
40584         [__ASSUME_32BITUIDS]: Make code unconditional.
40585         [!__ASSUME_32BITUIDS]: Remove conditional code.
40586         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40587         <kernel-features.h>.
40588         [__NR_setresgid] (__setresgid): Do not declare.
40589         [__ASSUME_32BITUIDS]: Make code unconditional.
40590         [!__ASSUME_32BITUIDS]: Remove conditional code.
40591         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40592         <kernel-features.h>.
40593         [__NR_setresuid] (__setresuid): Do not declare.
40594         [__ASSUME_32BITUIDS]: Make code unconditional.
40595         [!__ASSUME_32BITUIDS]: Remove conditional code.
40596         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40597         <kernel-features.h>.
40598         [__ASSUME_32BITUIDS]: Make code unconditional.
40599         [!__ASSUME_32BITUIDS]: Remove conditional code.
40600         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40601         <kernel-features.h>.
40602         [__ASSUME_32BITUIDS]: Make code unconditional.
40603         [!__ASSUME_32BITUIDS]: Remove conditional code.
40604         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40605         <kernel-features.h>.
40606         [__ASSUME_32BITUIDS]: Make code unconditional.
40607         [!__ASSUME_32BITUIDS]: Remove conditional code.
40608         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40609         <kernel-features.h>.
40610         [__ASSUME_32BITUIDS]: Make code unconditional.
40611         [!__ASSUME_32BITUIDS]: Remove conditional code.
40612         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40613         <kernel-features.h>.
40614         [__ASSUME_32BITUIDS]: Make code unconditional.
40615         [!__ASSUME_32BITUIDS]: Remove conditional code.
40616         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40617         <kernel-features.h>.
40618         [__ASSUME_32BITUIDS]: Make code unconditional.
40619         [!__ASSUME_32BITUIDS]: Remove conditional code.
40620         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40621         <kernel-features.h>.
40622         [__ASSUME_32BITUIDS]: Make code unconditional.
40623         [!__ASSUME_32BITUIDS]: Remove conditional code.
40624         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40625         <kernel-features.h>.
40626         [__ASSUME_32BITUIDS]: Make code unconditional.
40627         [!__ASSUME_32BITUIDS]: Remove conditional code.
40628         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40629         <kernel-features.h>.
40630         [__ASSUME_32BITUIDS]: Make code unconditional.
40631         [!__ASSUME_32BITUIDS]: Remove conditional code.
40632         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40633         <kernel-features.h>.
40634         [__ASSUME_32BITUIDS]: Make code unconditional.
40635         [!__ASSUME_32BITUIDS]: Remove conditional code.
40636         * sysdeps/unix/sysv/linux/kernel-features.h
40637         (__ASSUME_SETRESUID_SYSCALL): Remove.
40638         (__ASSUME_SETRESGID_SYSCALL): Likewise.
40639         (__ASSUME_32BITUIDS): Likewise.
40640         (__ASSUME_LDT_WORKS): Likewise.
40641         (__ASSUME_O_DIRECTORY): Likewise.
40642         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40643         architecture but not kernel version.
40644         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40645         (__ASSUME_MMAP2_SYSCALL): Likewise.
40646         (__ASSUME_STAT64_SYSCALL): Likewise.
40647         (__ASSUME_IPC64): Likewise.
40648         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40649         <kernel-features.h>.
40650         [__ASSUME_32BITUIDS]: Make code unconditional.
40651         [!__ASSUME_32BITUIDS]: Remove conditional code.
40652         * sysdeps/unix/sysv/linux/opendir.c: Do not include
40653         <kernel-features.h>.
40654         [__ASSUME_O_DIRECTORY]: Make code unconditional.
40655         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40656         132096]: Remove conditional code.
40657         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40658         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40659         <kernel-features.h>.
40660         [__ASSUME_32BITUIDS]: Make code unconditional.
40661         [!__ASSUME_32BITUIDS]: Remove conditional code.
40662         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40663         <kernel-features.h>.
40664         [__ASSUME_32BITUIDS]: Make code unconditional.
40665         [!__ASSUME_32BITUIDS]: Remove conditional code.
40666         * sysdeps/unix/sysv/linux/setegid.c: Do not include
40667         <kernel-features.h>.
40668         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40669         unconditional.
40670         (__setresgid): Do not declare.
40671         [__ASSUME_32BITUIDS]: Make code unconditional.
40672         [!__ASSUME_32BITUIDS]: Remove conditional code.
40673         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40674         <kernel-features.h>.
40675         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40676         unconditional.
40677         (__setresuid): Do not declare.
40678         [__ASSUME_32BITUIDS]: Make code unconditional.
40679         [!__ASSUME_32BITUIDS]: Remove conditional code.
40680         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40681         <kernel-features.h>.
40682         [__ASSUME_32BITUIDS]: Make code unconditional.
40683         [!__ASSUME_32BITUIDS]: Remove conditional code.
40684         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40685         <kernel-features.h>.
40686         [__ASSUME_32BITUIDS]: Make code unconditional.
40687         [!__ASSUME_32BITUIDS]: Remove conditional code.
40689 2012-05-25  Richard Henderson  <rth@twiddle.net>
40691         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40692         dl_hwcap to ifunc resolver.
40693         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40694         elf_ifunc_invoke.
40695         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40696         dl_hwcap to ifunc resolver.
40697         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40699 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40701         [BZ #14153]
40702         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40703         for |x| <= 2**-26, not 2**-57.
40704         * math/libm-test.inc (acos_test): Do not allow spurious underflow
40705         exception.
40707 2012-05-24  Jeff Law  <law@redhat.com>
40709         * stdio-common/Makefile (tests): Add bug25.
40710         * stdio-common/bug25.c: New test.
40712 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40714         [BZ #13576]
40715         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40716         multiple of MALLOC_ALIGNMENT in size.
40717         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40719 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40721         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40722         Require >= 256.
40723         (FILENAME_MAX): Use macro-int-constant.
40724         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
40725         (_IOFBF): Use macro-int-constant.
40726         (_IOLBF): Likewise.
40727         (_IONBF): Likewise.
40728         (SEEK_CUR): Likewise.
40729         (SEEK_END): Likewise.
40730         (SEEK_SET): Likewise.
40731         (TMP_MAX): Likewise.
40732         (EOF): Use macro-int-constant.  Require < 0.
40733         (NULL): Use macro-constant.  Require == 0.
40734         (stdin): Require type to be FILE *.
40735         (stdout): Likewise.
40736         (stderr): Likewise.
40737         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40738         macro-int-constant.
40739         (EXIT_SUCCESS): Likewise.
40740         (NULL): Use macro-constant.  Require == 0.
40741         (RAND_MAX): Use macro-int-constant.
40742         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40743         [C99-based standards] (strtof): Require function.
40744         [C99-based standards] (strtold): Likewise.
40745         [C99-based standards] (strtoll): Likewise.
40746         [C99-based standards] (strtoull): Likewise.
40747         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40748         [ISO || ISO99 || ISO11] (limits.h): Likewise.
40749         [ISO || ISO99 || ISO11] (math.h): Likewise.
40750         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40751         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40752         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40754 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
40756         [BZ #14132]
40757         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40758         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40759         * intl/dgettext.c (DCGETTEXT): Likewise.
40760         * intl/gettext.c (DCGETTEXT): Likewise.
40761         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40762         * posix/regex_internal.h (gettext): Likewise.
40763         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40764         Remove declaration.
40765         * include/argz.h (__argz_count_internal)
40766         (__argz_stringify_internal): Remove declaration.
40767         (__argz_count, __argz_stringify): Declare hidden proto.
40768         * intl/dcgettext.c: Remove use of INTDEF.
40769         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40770         * string/argz-stringify.c: Likewise.
40771         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40772         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40773         Declare hidden proto.
40774         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40775         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40776         Declare hidden proto.
40777         * include/stdio.h (__asprintf_internal): Don't declare.
40778         (__asprintf): Don't define as macro.  Declare hidden proto.
40779         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40780         (__fsetlocking): Declare hidden proto.
40781         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40782         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40783         hidden proto.
40784         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40785         (_IO_setlinebuf): Remove use of INTUSE.
40786         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40787         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40788         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40789         Remove declaration.
40790         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40791         (_IO_do_flush): Remove use of INTUSE.
40792         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40793         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40794         (_IO_adjust_column, _IO_least_wmarker)
40795         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40796         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40797         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40798         (_IO_default_doallocate, _IO_wdefault_doallocate)
40799         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40800         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40801         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40802         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40803         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40804         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40805         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40806         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40807         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40808         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40809         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40810         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40811         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40812         proto.
40813         (_IO_flush_all_internal, _IO_adjust_column_internal)
40814         (_IO_default_uflow_internal, _IO_default_finish_internal)
40815         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40816         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40817         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40818         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40819         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40820         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40821         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40822         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40823         (_IO_file_close_internal, _IO_file_close_it_internal)
40824         (_IO_file_underflow_internal, _IO_file_overflow_internal)
40825         (_IO_file_init_internal, _IO_file_attach_internal)
40826         (_IO_file_fopen_internal, _IO_file_read_internal)
40827         (_IO_file_sync_internal, _IO_file_seek_internal)
40828         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40829         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40830         (_IO_str_underflow_internal, _IO_str_overflow_internal)
40831         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40832         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40833         (_IO_list_all_internal, _IO_link_in_internal)
40834         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40835         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40836         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40837         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40838         (_IO_do_write_internal, _IO_padn_internal)
40839         (_IO_getline_info_internal, _IO_getline_internal)
40840         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40841         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40842         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40843         (_IO_vfscanf_internal, _IO_vfprintf_internal)
40844         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40845         (_IO_init_internal, _IO_un_link_internal): Don't declare.
40846         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40847         with libc_hidden_ver, remove use of INTUSE.
40848         * libio/genops.c: Likewise.
40849         * libio/freopen.c: Likewise.
40850         * libio/freopen64.c: Likewise.
40851         * libio/iofclose.c: Likewise.
40852         * libio/iofdopen.c: Likewise.
40853         * libio/iofflush.c: Likewise.
40854         * libio/iofflush_u.c: Likewise.
40855         * libio/iofgets.c: Likewise.
40856         * libio/iofgets_u.c: Likewise.
40857         * libio/iofopen.c: Likewise.
40858         * libio/iofopncook.c: Likewise.
40859         * libio/iofread.c: Likewise.
40860         * libio/iofread_u.c: Likewise.
40861         * libio/ioftell.c: Likewise.
40862         * libio/iofwrite.c: Likewise.
40863         * libio/iogetline.c: Likewise.
40864         * libio/iogets.c: Likewise.
40865         * libio/iogetwline.c: Likewise.
40866         * libio/iopadn.c: Likewise.
40867         * libio/iopopen.c: Likewise.
40868         * libio/ioseekoff.c: Likewise.
40869         * libio/ioseekpos.c: Likewise.
40870         * libio/iosetbuffer.c: Likewise.
40871         * libio/iosetvbuf.c: Likewise.
40872         * libio/ioungetc.c: Likewise.
40873         * libio/ioungetwc.c: Likewise.
40874         * libio/iovdprintf.c: Likewise.
40875         * libio/iovsprintf.c: Likewise.
40876         * libio/iovsscanf.c: Likewise.
40877         * libio/memstream.c: Likewise.
40878         * libio/obprintf.c: Likewise.
40879         * libio/oldfileops.c: Likewise.
40880         * libio/oldiofclose.c: Likewise.
40881         * libio/oldiofdopen.c: Likewise.
40882         * libio/oldiofopen.c: Likewise.
40883         * libio/oldiopopen.c: Likewise.
40884         * libio/oldstdfiles.c: Likewise.
40885         * libio/putc.c: Likewise.
40886         * libio/setbuf.c: Likewise.
40887         * libio/setlinebuf.c: Likewise.
40888         * libio/stdfiles.c: Likewise.
40889         * libio/strops.c: Likewise.
40890         * libio/vasprintf.c: Likewise.
40891         * libio/vscanf.c: Likewise.
40892         * libio/vsnprintf.c: Likewise.
40893         * libio/vswprintf.c: Likewise.
40894         * libio/wfiledoalloc.c: Likewise.
40895         * libio/wfileops.c: Likewise.
40896         * libio/wgenops.c: Likewise.
40897         * libio/wmemstream.c: Likewise.
40898         * libio/wstrops.c: Likewise.
40899         * libio/__fpurge.c: Likewise.
40900         * libio/__fsetlocking.c: Likewise.
40901         * assert/assert.c: Likewise.
40902         * debug/fgets_chk.c: Likewise.
40903         * debug/fgets_u_chk.c: Likewise.
40904         * debug/fread_chk.c: Likewise.
40905         * debug/fread_u_chk.c: Likewise.
40906         * debug/gets_chk.c: Likewise.
40907         * debug/obprintf_chk.c: Likewise.
40908         * debug/vasprintf_chk.c: Likewise.
40909         * debug/vdprintf_chk.c: Likewise.
40910         * debug/vsnprintf_chk.c: Likewise.
40911         * debug/vsprintf_chk.c: Likewise.
40912         * malloc/mtrace.c: Likewise.
40913         * misc/error.c: Likewise.
40914         * misc/syslog.c: Likewise.
40915         * stdio-common/asprintf.c: Likewise.
40916         * stdio-common/fxprintf.c: Likewise.
40917         * stdio-common/getw.c: Likewise.
40918         * stdio-common/isoc99_fscanf.c: Likewise.
40919         * stdio-common/isoc99_scanf.c: Likewise.
40920         * stdio-common/isoc99_vfscanf.c: Likewise.
40921         * stdio-common/isoc99_vscanf.c: Likewise.
40922         * stdio-common/isoc99_vsscanf.c: Likewise.
40923         * stdio-common/printf-prs.c: Likewise.
40924         * stdio-common/printf_fp.c: Likewise.
40925         * stdio-common/printf_fphex.c: Likewise.
40926         * stdio-common/printf_size.c: Likewise.
40927         * stdio-common/putw.c: Likewise.
40928         * stdio-common/scanf.c: Likewise.
40929         * stdio-common/sprintf.c: Likewise.
40930         * stdio-common/tmpfile.c: Likewise.
40931         * stdio-common/vfprintf.c: Likewise.
40932         * stdio-common/vfscanf.c: Likewise.
40933         * stdlib/strfmon_l.c: Likewise.
40934         * sunrpc/openchild.c: Likewise.
40935         * sunrpc/xdr_stdio.c: Likewise.
40936         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40937         * sysdeps/mach/hurd/tmpfile.c: Likewise.
40939 2012-05-24  Roland McGrath  <roland@hack.frob.com>
40941         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40943         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40944         in the third column, to generate for the shared library an IFUNC
40945         that uses _dl_vdso_vsym.
40946         * Makerules (COMPILE.c, compile-stdin.c): New variables.
40947         * Makeconfig (object-suffixes-noshared): New variable.
40949         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40950         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40951         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40952         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40954         [BZ #14132]
40955         * include/sys/time.h (__gettimeofday): Remove macro.
40956         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40957         * time/gettimeofday.c (__gettimeofday): Remove #undef.
40958         Remove INTDEF.
40959         (__gettimeofday): Add libc_hidden_def.
40960         (gettimeofday): Add libc_hidden_weak.
40961         * sysdeps/mach/gettimeofday.c: Likewise.
40962         * sysdeps/posix/gettimeofday.c: Likewise.
40963         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40964         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40965         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40966         (__gettimeofday_internal): Remove strong_alias.
40967         (__gettimeofday): Add libc_hidden_def.
40968         (gettimeofday): Add libc_hidden_weak.
40969         * sysdeps/unix/syscalls.list (gettimeofday):
40970         Remove __gettimeofday_internal alias.
40972 2012-05-24  Daniel Jacobowitz  <drow@false.org>
40973             H.J. Lu  <hongjiu.lu@intel.com>
40975         [BZ #12495]
40976         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40977         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40978         (largebin_index_32_big): New.
40979         (largebin_index): Use it for 16-byte alignment.
40980         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
40981         correction with front_misalign.
40983 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40987         Likewise.
40988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40989         Likewise.
40990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40991         Likewise.
40992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40993         Likewise.
40994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40995         Likewise.
40996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40997         Likewise.
40998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40999         Likewise.
41000         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41001         Likewise.
41002         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41003         Likewise.
41004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41005         Likewise.
41006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41007         Likewise.
41008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41009         Likewise.
41011         * scripts/data/c++-types-x32-linux-gnu.data: New file.
41012         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41014 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41016         [BZ #10846]
41017         [BZ #14036]
41018         * math/libm-test.inc (exp_test): Add test from bug 14036.
41019         (pow_test): Add test from bug 10846.
41021         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41022         and other flags.
41023         (special_function): Do not include flags in test name.
41024         (parse_args): Likewise.
41025         * sysdeps/i386/fpu/libm-test-ulps: Update.
41026         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41027         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41028         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41031         * math/gen-libm-test.pl (%beautify): Add entries for underflow
41032         exceptions.
41033         * math/libm-test.inc ("Philosophy"): Update comment about
41034         exception testing.
41035         (UNDERFLOW_EXCEPTION): New macro.
41036         (UNDERFLOW_EXCEPTION_OK): Likewise.
41037         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41038         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41039         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41040         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41041         (INVALID_EXCEPTION_OK): Update value.
41042         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41043         (OVERFLOW_EXCEPTION_OK): Likewise.
41044         (IGNORE_ZERO_INF_SIGN): Likewise.
41045         (test_exceptions): Handle underflow exceptions.
41046         (acos_test): Update for underflow exception expectations.
41047         (cexp_test): Likewise.
41048         (clog_test): Likewise.
41049         (clog10_test): Likewise.
41050         (csqrt_test): Likewise.
41051         (ctan_test): Likewise.
41052         (ctanh_test): Likewise.
41053         (exp_test): Likewise.
41054         (exp10_test): Likewise.
41055         (exp2_test): Likewise.
41056         (expm1_test): Likewise.
41057         (fma_test): Likewise.
41058         (j0_test): Likewise.
41059         (jn_test): Likewise.
41060         (nexttoward_test): Likewise.
41061         (pow_test): Likewise.
41062         (scalbn_test): Likewise.
41063         (scalbln_test): Likewise.
41064         (tan_test): Likewise.
41065         (y1_test): Likewise.
41066         * sysdeps/i386/fpu/libm-test-ulps: Update.
41067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41069 2012-05-23  David S. Miller  <davem@davemloft.net>
41071         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41072         (__libc_sigaction): Remove unused local variables.
41074 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41076         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41078 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
41080         mktime: avoid signed integer overflow
41081         * time/mktime.c (__mktime_internal): Do not mishandle the case
41082         where diff == INT_MIN.
41084         mktime: simplify computation of average
41085         * time/mktime.c (ranged_convert): Use new time_t_avg function
41086         instead of rolling our own (probably-slower) code.
41088         mktime: do not assume signed right shift propagates sign bit
41089         * time/mktime.c (isdst_differ): New static function.
41090         (__mktime_internal): No need to normalize tm_isdst now.
41091         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41092         tm_isdst values.
41094         mktime: merge another wrapv change from gnulib
41095         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41096         from some compilers.
41098         mktime: remove incorrect attempt at unusual arithmetics
41099         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41100         The code didn't really work on such machines anyway.
41101         (TYPE_MINIMUM): Assume two's complement.
41102         (twos_complement_arithmetic): Verify that long_int and time_t
41103         are two's complement (or unsigned, in the latter case).
41105         mktime: check signed shifts on long_int and time_t, too
41106         * time/mktime.c (SHR): Check that shifts work as desired
41107         on the types long_int and time_t too, as SHR is used on
41108         such types.
41110         mktime: do not assume 'long' is wide enough
41111         * time/mktime.c (verify): Move decl up.
41112         (long_int): New type.
41113         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41114         to remove assumption in the code that 'long' is wide enough to
41115         store year values.  This assumption is not true on x32 and on
41116         some non-glibc platforms.
41118         mktime: merge wrapv change from gnulib
41119         * time/mktime.c (WRAPV): New macro.
41120         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41121         (guess_time_tm, __mktime_internal): Do not assume that signed
41122         integer overflow wraps around; modern compilers generate code
41123         where this assumption is no longer valid.
41125 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41127         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41128         Replace "jmp L(pseudo_end)" with "ret".
41129         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41130         Likewise.
41132 2012-05-23  Andreas Jaeger  <aj@suse.de>
41134         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41135         * sysdeps/unix/sysv/linux/poll.c: Remove file.
41137 2012-05-23  Andreas Jaeger  <aj@suse.de>
41138             Maximilian Attems  <max@stro.at>
41140         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41141         New macros.
41143 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41145         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41146         code so that pseudo_end is just ret and the stack pointer is
41147         correct also for static library in error case.
41149 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
41151         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41152         move to syscalls.list.
41153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41158         * manual/install.texi (Running make install): Do not mention Linux
41159         kernel version for which pt_chown is not needed.
41160         (Linux): Do not mention problems with nscd with 2.0 kernels.
41161         * INSTALL: Regenerated.
41163 2012-05-23  Andreas Jaeger  <aj@suse.de>
41165         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41166         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41167         macro.
41168         * sysdeps/unix/sysv/linux/s390/bits/mman.h
41169         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41170         * sysdeps/unix/sysv/linux/sh/bits/mman.h
41171         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41172         * sysdeps/unix/sysv/linux/i386/bits/mman.h
41173         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41174         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41175         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41176         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41177         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41178         * sysdeps/unix/sysv/linux/bits/in.h
41179         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41181 2012-05-22  Roland McGrath  <roland@hack.frob.com>
41183         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41184         (PREPARE_VERSION): Just use assert instead, it will be elided
41185         under [NDEBUG] anyway.
41187 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41189         * sysdeps/unix/sysv/linux/Makefile: Include
41190         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41191         (sysdep_routines): Remove sysctl.
41192         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41193         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41194         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41195         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41196         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41198 2012-05-22  Andreas Jaeger  <aj@suse.de>
41200         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41201         that pseudo_end is just ret and the stack pointer is correct also
41202         for static library in error case.
41204 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
41206         [BZ #14122]
41207         * nss/nsswitch.c (defconfig_entries): New variable.
41208         (__nss_database_lookup): Don't leak defconfig entries.
41209         (nss_parse_service_list): Don't leak on error paths.
41210         (free_database_entries): New function.
41211         (free_defconfig): New function.
41212         (free_mem): Move common code to free_database_entries.
41214 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41216         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41217         Add arch_prctl.
41218         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41220         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41221         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41222         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41223         New macro.
41224         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41225         (INTERNAL_SYSCALL_TYPES): Likewise.
41226         (LOAD_ARGS_TYPES_[1-6]): Likewise.
41227         (LOAD_REGS_TYPES_[1-6]): Likewise.
41228         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41229         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41231 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41233         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41234         copysignl for GLIBC_2_0.
41235         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41236         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41237         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41238         logbl for GLIBC_2_0.
41239         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41240         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41242 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41244         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41245         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41247         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41248         Use "neg %eax".
41250         * time/mktime.c: Update copyright years.
41252 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
41254         mktime: merge comment-quoting-style change from gnulib
41255         * time/mktime.c: Quote 'like this' in comments.
41256         The GNU coding standards suggest that we no longer quote `like this',
41257         as "`" and "'" are typically rendered asymmetrically nowadays.
41258         The typical gnulib style is to quote 'like this' when quoting
41259         code, and "like this" when quoting English.
41261         * time/mktime.c (compile-command): Add "-I.".
41263         mktime: merge mktime-internal.h change from gnulib
41264         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41266         mktime: merge time_r change from gnulib
41267         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41269         mktime: merge DEBUG change from gnulib
41270         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41271         case system <time.h> has a #define.
41273         mktime: merge <sys/types.h> change from gnulib
41274         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41275         since <time.t> is now guaranteed to define time_t.
41277         mktime: merge HAVE_CONFIG_H change from gnulib
41278         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41280 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41282         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41283         Use "neg %eax".
41285         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41286         __rlim_t cast.
41287         (struct rusage): Use anonymous union to pad each field to
41288         __syscall_slong_t.
41290 2012-05-21  David S. Miller  <davem@davemloft.net>
41292         * Makefules (o-iterator): Remove .s cases.
41293         (compile-command.s): Delete.
41294         (COMPILE.s): Delete.
41295         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41297 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
41299         * configure.in (libc_cv_predef_stack_protector): Only consider
41300         "foobar" and "__stack_chk_fail" lines in libc_undefs.
41301         * configure: Regenerated.
41303 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41305         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41306         New macro.  Use R*LP on int and pointer.
41307         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41308         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41309         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41310         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41312         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41313         [__WORDSIZE_TIME64_COMPAT32] instead of
41314         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41315         (struct utmp): Likewise.
41316         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41317         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41318         Renamed to ...
41319         (__WORDSIZE_TIME64_COMPAT32): This.
41320         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41321         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41322         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41323         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41324         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41325         (__WORDSIZE_TIME64_COMPAT32): New macro.
41327 2012-05-21  Andreas Jaeger  <aj@suse.de>
41329         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41330         only if [SHARED]. Add prototype for __wcschr_ia32.
41332 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41334         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41335         of %rbp unmolested in the jmp_buf while mangling the low bits.
41336         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41337         unmolested high bits of %rbp while demangling the low bits.
41338         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41340 2012-05-21  Andreas Jaeger  <aj@suse.de>
41342         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41343         * sunrpc/svc_simple.c: Use it for registerrpc.
41344         * sunrpc/xcrypt.c: Use it for passwd2des.
41346         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41348 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41350         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41351         Don't define if [__SYSCALL_WORDSIZE != 32].
41352         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41353         New macro.
41355 2012-05-21  Bruno Haible  <bruno@clisp.org>
41356             Andreas Jaeger  <aj@suse.de>
41358         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41359         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41360         inptr and inend for must_buffer_ch.
41361         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41362         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41363         * stdio-common/Makefile (tests): Remove bug15.
41364         (bug15-ENV): Remove macro.
41365         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41366         anymore.
41368 2012-05-19  Andreas Jaeger  <aj@suse.de>
41369             Roland McGrath  <roland@hack.frob.com>
41371         * manual/contrib.texi: Completely rewritten. It contains now an
41372         alphabetical list of contributors and their contributions.
41374 2012-05-21  Richard Henderson  <rth@twiddle.net>
41376         * misc/getauxval.c (__getauxval): Use unsigned long int.
41377         * misc/sys/auxv.h: Include <sys/cdefs.h>.
41378         (getauxval): Use unsigned long int.
41380 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41382         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41384 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41386         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41387         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41388         __alignof__ (long double).
41390 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41394 2012-05-20  Richard Henderson  <rth@twiddle.net>
41396         * misc/getauxval.c: New file.
41397         * misc/sys/auxv.h: New file.
41398         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41399         (routines): Add getauxval.
41400         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41401         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41402         * elf/dl-sysdep.c (_dl_auxv): Remove.
41403         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41404         * elf/dl-support.c (_dl_auxv): New variable.
41405         (_dl_aux_init): Initialize it.
41406         * manual/startup.texi (Auxiliary Vector): New node.
41407         * sysdeps/generic/bits/hwcap.h: New file.
41408         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41409         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
41410         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41411         * sysdeps/sparc/sysdep.h: ... here.  Include it.
41412         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41413         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41415         Update.
41416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41419         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41425 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41429 2012-05-19  David S. Miller  <davem@davemloft.net>
41431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41433 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41435         [BZ #14123]
41436         * math/s_ccosh.c: Include <float.h>
41437         (__ccosh): Avoid internal overflow calculating sinh and cosh
41438         values before multiplying by sin and cos values.
41439         * math/s_ccoshf.c: Likewise.
41440         * math/s_ccoshl.c: Likewise.
41441         * math/s_csin.c: Likewise.
41442         * math/s_csinf.c: Likewise.
41443         * math/s_csinl.c: Likewise.
41444         * math/s_csinh.c: Likewise.
41445         * math/s_csinhf.c: Likewise.
41446         * math/s_csinhl.c: Likewise.
41447         * math/libm-test.inc (ccos_test): Add more tests.
41448         (ccosh_test): Likewise.
41449         (csin_test): Likewise.
41450         (csinh_test): Likewise.
41451         * sysdeps/i386/fpu/libm-test-ulps: Update.
41452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41454 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
41456         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41457         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41459         * sysdeps/x86_64/x32/_itoa.h: Add comment.
41461 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41463         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41464         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41465         * sysdeps/powerpc/soft-fp/Versions: Likewise.
41466         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41467         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41468         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41469         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41470         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41471         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41472         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41473         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41474         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41475         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41476         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41477         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41478         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41479         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41480         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41481         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41482         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41483         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41484         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41485         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41486         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41487         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41488         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41489         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41490         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41491         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41492         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41493         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41495 2012-05-18  Andreas Jaeger  <aj@suse.de>
41497         * csu/.gitignore: Delete.
41499 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41501         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41502         (timex): Use __syscall_slong_t.
41504 2012-05-18  Andreas Jaeger  <aj@suse.de>
41505             Carlos O'Donell  <carlos_odonell@mentor.com>
41507         * manual/install.texi (Configuring and compiling): Update
41508         description about files modified in the source directory.
41509         * INSTALL: Regenerated.
41511 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41513         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41514         value.  Use "or" to set return value to -1.
41515         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41516         negate return value.
41518 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41520         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41521         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41522         failure if the compiler has Graphite support disabled.
41523         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41524         Likewise.
41525         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41526         (CFLAGS-memmove.c): Likewise.
41527         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41528         Likewise.
41530 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41532         * sysdeps/x86_64/x32/_itoa.h: New file.
41534         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41535         getdents system call only if kernel and user dirents have the
41536         same d_ino and d_off.
41538         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41539         LLONG_MAX != LONG_MAX.
41540         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41541         (_fitoa_word): Likewise.
41543         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41544         years.
41545         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41546         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41547         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41549         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41550         include <bits/wordsize.h>.  Check __x86_64__ instead of
41551         __WORDSIZE.
41552         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41553         if __x86_64__ is defined.  Use anonymous union on fpstate.
41555         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41556         anonymous union.
41558 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
41560         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41561         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41562         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41563         Refer to _rtld_local_ro instead of _rtld_global_ro.
41564         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41565         Likewise.
41566         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41567         Likewise.
41568         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41569         Likewise.
41570         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41571         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41572         of _rtld_global, and rtld_progname instead of _dl_argv[0].
41574         * sysdeps/powerpc/powerpc32/dl-machine.c
41575         (__elf_machine_runtime_setup) [PROF]: Don't reference
41576         _dl_prof_resolve.
41578 2012-05-18  Andreas Jaeger  <aj@suse.de>
41580         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41581         function only available for GCCs before 3.4 since GCC 3.4
41582         introduced a builtin.
41583         (lrint): Likewise.
41584         (llrintf): Likewise.
41585         (llrint): Likewise.
41586         (fmaxf): Likewise.
41587         (fmax): Likewise.
41588         (fminf): Likewise.
41589         (fmin): Likewise.
41590         (rint): Likewise.
41591         (rintf): Likewise.
41592         (nearbyint): Likewise.
41593         (nearbyintf): Likewise.
41594         (ceil): Likewise.
41595         (ceilf): Likewise.
41596         (floor): Likewise.
41597         (floorf): Likewise.
41599 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41601         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41602         on both fields and cast pointer to __syscall_ulong_t.
41604         * bits/types.h (__fsword_t): New type.
41605         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41606         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41607         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41608         (__FSWORD_T_TYPE): Likewise.
41609         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41610         (__FSWORD_T_TYPE): Likewise.
41611         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41612         (__FSWORD_T_TYPE): Likewise.
41613         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41614         (__FSWORD_T_TYPE): Likewise.
41615         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41616         __SWORD_TYPE with __fsword_t.
41617         (statfs64): Likewise.
41619 2012-05-17  David S. Miller  <davem@davemloft.net>
41621         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41623 2012-05-17  Andreas Jaeger  <aj@suse.de>
41625         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41626         warning.
41628 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41630         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41632 2012-05-17  Andreas Jaeger  <aj@suse.de>
41634         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41635         when it is used.
41637 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41639         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41641 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41643         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41644         * sysdeps/x86_64/tst-mallocalign1.c: New file.
41646 2012-05-17  Andreas Jaeger  <aj@suse.de>
41647             Carlos O'Donell  <carlos_odonell@mentor.com>
41649         [BZ #14059]
41650         * sysdeps/x86_64/multiarch/init-arch.h
41651         (bit_YMM_Usable): Rename to...
41652         (bit_AVX_Usable): ... this.
41653         (bit_FMA4_Usable): New macro.
41654         (bit_XMM_state): New macro.
41655         (bit_YMM_state): New macro.
41656         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41657         [__ASSEMBLER__] (index_AVX_Usable): ... this.
41658         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41659         (CPUID_OSXSAVE): New macro.
41660         (CPUID_AVX): New macro.
41661         (CPUID_FMA4): New macro.
41662         (index_YMM_Usable): Rename to...
41663         (index_AVX_Usable): ... this.
41664         (HAS_AVX): Use HAS_ARCH_FEATURE.
41665         (HAS_FMA4): Likewise.
41666         (HAS_YMM_USABLE): Remove.
41667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41668         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41669         are present.
41670         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41671         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41672         * sysdeps/x86_64/multiarch/Makefile: Likewise.
41673         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41674         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41676 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41678         * math/libm-test.c: Support platforms without multiple rounding modes.
41679         * math/bug-nextafter.c: Support platforms without FP exceptions.
41680         * math/bug-nexttoward.c: Likewise.
41681         * math/test-fenv.c: Likewise.
41682         * math/test-misc.c: Likewise.
41683         * stdlib/bug-getcontext.c: Likewise.
41685 2012-05-17  Andreas Jaeger  <aj@suse.de>
41687         * manual/examples/search.c (critter_cmp): Change signature to
41688         avoid warnings.
41689         * manual/string.texi (Collation Functions): Likewise.
41691 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41693         * bits/types.h: Fold copyright years.
41694         * bits/typesizes.h: Likewise.
41695         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41696         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41697         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41698         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41699         * time/time.h: Likewise.
41701 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
41703         [BZ #208]
41704         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41705         in instead of returning them.  Return void.
41706         (__libc_mallinfo): Accumulate over all arenas.
41707         (__malloc_stats): Adjust for change in int_mallinfo interface.
41709 2012-05-16  Roland McGrath  <roland@hack.frob.com>
41711         [BZ #10375]
41712         * configure.in (NM): Add AC_CHECK_TOOL for it.
41713         (libc_extra_cflags): New substituted variable.
41714         Check for -fstack-protector being used implicitly.
41715         * configure: Regenerated.
41716         * config.make.in (config-extra-cflags): New variable,
41717         gets @libc_extra_cflags@.
41718         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41720         [BZ #10375]
41721         * configure.in: Check for _FORTIFY_SOURCE being predefined.
41722         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41723         * configure: Regenerated.
41724         * config.make.in (CPPUNDEFS): New substituted variable.
41725         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41726         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41727         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41729 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41731         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41732         (mq_attr): Use __syscall_slong_t.
41734 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41736         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41737         Check __x86_64__ instead of __WORDSIZE.
41738         (_STAT_VER_LINUX): Likewise.
41739         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
41740         __syscall_ulong_t and __syscall_slong_t.
41741         (stat64): Likewise.
41743 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41745         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41747 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41749         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41751 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41753         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41754         __syscall_ulong_t.
41756         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41757         include <bits/wordsize.h>.  Check __x86_64__ instead of
41758         __WORDSIZE.
41759         (greg_t): Use "__extension__ long long int" if __x86_64__ is
41760         defined.
41761         (mcontext_t): Replace "unsigned long" with "unsigned long long".
41763         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41764         include <bits/wordsize.h>.  Check __x86_64__ instead of
41765         __WORDSIZE.
41766         (user_regs_struct): Use "__extension__ unsigned long long"
41767         instead of "unsigned long" if __x86_64__ is defined.
41768         (user): Likewise.  Pad after pointer field if __ILP32__ is
41769         defined.
41771 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
41773         * configure.in (makeinfo): Require version 4.5 or later.  Allow
41774         versions 5 to 9.
41775         * configure: Regenerated.
41776         * manual/install.texi (texinfo): Increase version requirement to
41777         4.5 or later.
41778         * INSTALL: Regenerated.
41780         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41782 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41784         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41786         * sysdeps/x86_64/x32/ffs.c: New file.
41788         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41789         __syscall_ulong_t.
41790         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41791         defined.  Use __syscall_ulong_t.
41792         (shminfo): Use __syscall_ulong_t.
41793         (shm_info): Likewise.
41795         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41796         __syscall_ulong_t.
41798         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41799         <bits/wordsize.h>.
41800         (msgqnum_t): Use __syscall_ulong_t.
41801         (msglen_t): Likewise.
41802         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
41803         __syscall_ulong_t.
41805         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41806         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41808         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41810         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41811         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41813         * sysvipc/sys/msg.h (msgbuf): Replace long int with
41814         __syscall_slong_t.
41816         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41817         include <bits/wordsize.h>.  Check __x86_64__ instead of
41818         __WORDSIZE.
41820         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41821         "unsigned long long int" if __x86_64__ is defined.
41822         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41824         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41825         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41826         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41828         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41829         <stdint.h>.
41830         (GET_PC): Cast to uintptr_t first.
41831         (GET_FRAME): Likewise.
41832         (GET_STACK): Likewise.
41834         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41835         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41836         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41837         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41838         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41839         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41840         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41841         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41842         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41843         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41844         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41845         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41846         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41847         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41848         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41849         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41850         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41851         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41852         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41853         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41854         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41855         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41856         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41857         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41858         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41859         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41860         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41861         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41862         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41864 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
41866         * Makerules (+depfiles): Also collect depfiles from .oS in
41867         $(extra-objs).
41868         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41869         .oS, $(libnldbl-routines)).
41871         * Makerules (native-compile-mkdep-flags): Define.
41872         * sunrpc/Makefile (extra-objs): Add $(addprefix
41873         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41874         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41875         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
41876         calling $(make-target-directory).
41878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41880         * bits/types.h (__snseconds_t): Removed.
41881         * time/time.h (struct timespec): Replace __snseconds_t with
41882         __syscall_slong_t.
41883         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41884         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41885         Likewise.
41886         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41887         (__SNSECONDS_T_TYPE): Likewise.
41888         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41889         (__SNSECONDS_T_TYPE): Likewise.
41890         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41891         (__SNSECONDS_T_TYPE): Likewise.
41893 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41895         * sysdeps/mach/hurd/bits/typesizes.h
41896         (__SYSCALL_SLONG_TYPE): New macro.
41897         (__SYSCALL_ULONG_TYPE): Likewise.
41899 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41901         * bits/types.h (__syscall_slong_t): New type.
41902         (__syscall_ulong_t): Likewise.
41904         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41905         (__SYSCALL_ULONG_TYPE): Likewise.
41906         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41907         (__SYSCALL_SLONG_TYPE): Likewise.
41908         (__SYSCALL_ULONG_TYPE): Likewise.
41909         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41910         (__SYSCALL_SLONG_TYPE): Likewise.
41911         (__SYSCALL_ULONG_TYPE): Likewise.
41912         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41913         (__SYSCALL_SLONG_TYPE): Likewise.
41914         (__SYSCALL_ULONG_TYPE): Likewise.
41916 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41918         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41919         Add sigaltstack-offsets.sym.
41920         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41921         <sigaltstack-offsets.h>.
41922         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
41923         longjmp_msg pointer.
41924         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
41925         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41926         signal stack.
41927         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41929 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41931         * elf/stackguard-macros.h: Remove file.
41932         * sysdeps/generic/stackguard-macros.h: New file.
41933         * sysdeps/i386/stackguard-macros.h: Likewise.
41934         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41935         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41936         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41937         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41938         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41939         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41940         * sysdeps/x86_64/stackguard-macros.h: Likewise.
41941         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41942         <elf/stackguard-macros.h>.
41944         [BZ #14109]
41945         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41946         __aligned__ in attribute.
41947         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41948         (gregset_t): Likewise.
41950 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41952         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41953         * sysdeps/x86_64/64/Implies-after: Here.  New file.
41954         * sysdeps/x86_64/x32/Implies-after: New file.
41956 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41958         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41959         and access return value for _dl_profile_fixup.  Use R10_LP to
41960         load frame size.
41962 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41964         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41966 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41968         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41969         * sysdeps/x86_64/x32/sysdep.h: New file.
41971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41973         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41974         * sysdeps/x86_64/setjmp.S: Likewise.
41976 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41978         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41979         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41980         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41981         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41982         remove unused global constant.
41984 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
41986         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41987         include of <not-cancel.h>.
41989 2012-05-15  Roland McGrath  <roland@hack.frob.com>
41991         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41993 2012-05-15  Jeff Law  <law@redhat.com>
41994             Andreas Jaeger  <aj@suse.de>
41996         [BZ #13594]
41997         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41998         out from...
41999         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42000         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42001         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42002         code changing __hst_map_handle.map.
42004 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42006         * configure.in (sysnames): Look for Implies-before and Implies-after
42007         files.
42008         * configure: Regenerated.
42010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42012         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42013         8-byte data alignment with LP_SIZE alignment.
42015 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42017         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42018         into R10_LP.
42020 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42022         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42024 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42026         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42027         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42028         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42029         Likewise.
42030         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42034         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42035         (stackinfo_sub_sp): Likewise.
42037 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42039         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42040         RAX_LP.
42042 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42044         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42045         into R*_LP.
42047 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42049         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42050         sizes into R*_LP.
42052 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42054         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42056 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42058         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42059         into R11_LP and load __x86_64_shared_cache_size_half into
42060         R8_LP.
42062 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42064         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42065         R8_LP.
42067 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42069         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42070         logb for POWER7.
42071         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42072         logbf for POWER7.
42073         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42074         logbl for POWER7.
42075         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42076         powerpc32/power7/fpu/s_logb.c via #include.
42077         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42078         powerpc32/power7/fpu/s_logbf.c via #include.
42079         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42080         powerpc32/power7/fpu/s_logbl.c via #include.
42082 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42084         * README.libm: Remove file.
42086 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42088         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42089         count for x32.  Use R*_LP and omit operand-size suffix.
42091 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42093         * shlib-versions: Move x86_64-.*-linux.* entries to ...
42094         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
42095         * sysdeps/x86_64/x32/shlib-versions: New file.
42097 2012-05-14  Roland McGrath  <roland@hack.frob.com>
42099         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42100         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42101         Use _dl_fatal_printf instead.
42103 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42105         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42106         set if not set by the user.  Do not allow for being unset.
42107         * sysdeps/unix/sysv/linux/configure: Regenerated.
42109 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42111         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42112         the `q' suffix from lea and replace .quad with ASM_ADDR.
42114 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42116         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42117         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
42118         instead of $17.
42119         (PTR_DEMANGLE): Likewise.
42121 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42123         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42124         (LP_OP): Likewise.
42125         (ASM_ADDR): Likewise.
42126         (RAX_LP): Likewise.
42127         (RBP_LP): Likewise.
42128         (RBX_LP): Likewise.
42129         (RCX_LP): Likewise.
42130         (RDI_LP): Likewise.
42131         (RSI_LP): Likewise.
42132         (RSP_LP): Likewise.
42133         (R8_LP): Likewise.
42134         (R9_LP): Likewise.
42135         (R10_LP): Likewise.
42136         (R10_LP): Likewise.
42137         (R11_LP): Likewise.
42138         (R12_LP): Likewise.
42139         (R13_LP): Likewise.
42140         (R14_LP): Likewise.
42141         (R15_LP): Likewise.
42143 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42145         * sysdeps/x86_64/x32/dl-machine.h: New file.
42147 2012-05-14  Andreas Jaeger  <aj@suse.de>
42149         * manual/Makefile (subdir): Remove export of subdir.
42150         (all): Remove target.
42151         (.PHONY): Remove all from list.
42152         (mkinstalldirs): Remove.
42153         (.PHONY): Remove installdirs from list.
42154         ($(inst_infodir)/libc.info): Use make-target-directory.
42155         (installdirs): Remove.
42156         (subdir_%): Remove.
42157         (glibc-targets): Remove.
42158         (lib): Remove.
42159         (stubs): Remove.
42160         ($(objpfx)stubs ../po/manual.pot): Remove.
42161         ($(objpfx)stamp%): Remove.
42162         (make-target-directory): Remove.
42163         (subdir_install): Remove.
42164         (routines): Remove.
42165         (aux): Remove.
42166         (sources): Remove.
42167         (objects): Remove.
42168         (headers): Remove.
42170         [BZ #13750]
42171         * manual/.gitignore: Remove, it's not needed anymore.
42172         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42173         all files in it.
42174         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42175         directory.
42176         (texis): Renamed to $(objpfx)texis.
42177         (texis-path): New, contains path to generated files.
42178         (chapters.%): Use texis-path for complete path, add extra argument
42179         libc-texinfo.sh.
42180         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42181         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42182         (summary,texi, stamp-summary): Use complete path of
42183         files. Generate files in build dir.
42184         (dir-add.texi): Build in build dir.
42185         (libm-err.texi,stamp-libm-err): Likewise.
42186         (version.texi, stamp-version): Likewise.
42187         (.%c.texi): Likewise.
42188         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42189         (mostlyclean): Remove target.
42190         (realclean): Remove target.
42191         (generated): Add new variable with contents from mostlyclean and
42192         realclean, remove entries duplicated in common-mostlyclean, add
42193         stamp-libm-err and stamp-version.
42194         (generated-dirs): Add libc directory.
42195         ($(inst_infodir)/libc.info): Install files from build dir.
42197         * manual/install.texi (Configuring and compiling): Adjust since
42198         the info files are not part of the tar ball anymore.
42200 2012-05-14  Andreas Jaeger  <aj@suse.de>
42202         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42203         variable.
42205 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42207         [BZ #13717]
42208         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42209         to 2.2.0 where earlier.
42210         * sysdeps/unix/sysv/linux/configure: Regenerated.
42211         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42212         Remove conditional code.
42213         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42214         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42215         Remove conditional code.
42216         [!__NR_lchown]: Likewise.
42217         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42218         [__NR_lchown]: Likewise.
42219         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42220         comment referencing __ASSUME_LCHOWN_SYSCALL.
42221         * sysdeps/unix/sysv/linux/i386/sigaction.c
42222         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42223         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42224         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42225         Remove conditional code.
42226         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42227         (__protocol_available): Remove #if 0 code.
42228         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42229         conditional code.
42230         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42231         * sysdeps/unix/sysv/linux/kernel-features.h
42232         (__ASSUME_GETCWD_SYSCALL): Don't define.
42233         (__ASSUME_REALTIME_SIGNALS): Likewise.
42234         (__ASSUME_PREAD_SYSCALL): Likewise.
42235         (__ASSUME_PWRITE_SYSCALL): Likewise.
42236         (__ASSUME_POLL_SYSCALL): Likewise.
42237         (__ASSUME_LCHOWN_SYSCALL): Likewise.
42238         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42239         non-SPARC.
42240         (__ASSUME_SIOCGIFNAME): Don't define.
42241         (__ASSUME_MSG_NOSIGNAL): Likewise.
42242         (__ASSUME_SENDFILE): Define unconditionally.
42243         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42244         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42245         conditional code.
42246         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42247         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42248         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42249         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42250         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42251         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42252         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42254         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42255         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42257         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42258         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42260         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42261         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42263         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42264         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42266         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42267         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42269         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42270         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42272         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42273         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42275         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42276         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42277         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42278         Remove conditional code.
42279         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42280         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42281         Remove conditional code.
42282         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42283         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42284         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42285         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42286         Remove conditional code.
42287         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42288         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42289         Remove conditional code.
42290         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42291         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42292         Remove conditional code.
42293         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42294         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42295         Remove conditional code.
42296         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42297         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42298         Remove conditional code.
42299         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42300         * sysdeps/unix/sysv/linux/sh/pwrite64.c
42301         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42302         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42303         * sysdeps/unix/sysv/linux/sigaction.c
42304         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42305         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42306         * sysdeps/unix/sysv/linux/sigpending.c
42307         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42308         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42309         * sysdeps/unix/sysv/linux/sigprocmask.c
42310         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42311         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42312         * sysdeps/unix/sysv/linux/sigsuspend.c
42313         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42314         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42315         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42316         (__libc_missing_rt_sigs): Remove.
42317         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42318         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42319         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42320         Remove conditional code.
42321         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42322         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42323         return 1.
42324         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42325         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42326         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42327         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42329 2012-05-14  Andreas Jaeger  <aj@suse.de>
42331         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42332         it's not used in glibc.
42333         (__coshm1): Likewise.
42334         (__acosh1p): Likewise.
42335         (__sgn): Likewise.
42337         * manual/string.texi (Copying and Concatenation): Add missing
42338         variable in concat example.
42339         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42341 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42343         [BZ #14103]
42344         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42345         __builtin_clzl with __builtin_clzll.
42347 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42349         [BZ #14104]
42350         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42351         libc_freeres_ptr.
42353 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42355         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42356         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42357         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42358         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42360 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
42362         * NEWS: Update ia64 info.
42364 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
42366         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42367         used as bcopy.
42369 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
42371         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42372         * sysdeps/unix/syscalls.list (dup3): Likewise.
42373         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42374         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42376 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42378         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42379         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42381 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42383         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42384         thread pointer.
42385         (TLS_IE): Use mov/add instead of movq/addq to load thread
42386         pointer.
42387         (TLS_GD_PREFIX): New.
42388         (TLS_GD): Use it.
42390 2012-05-11  David S. Miller  <davem@davemloft.net>
42392         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42393         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42394         (_FPU_SETCW): Likewise.
42396 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42398         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42399         is 32-byte aligned.
42401 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
42403         [BZ #11837]
42404         * iconvdata/gb18030.c: Update tables.
42405         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
42406         characters specially.
42407         (BODY for TO_LOOP): Add encoding of missing ranges.
42409 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
42411         [BZ #13673]
42412         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42413         * sysdeps/mach/hurd/dup3.c: Likewise.
42414         * sysdeps/mach/hurd/readlinkat.c: Likewise.
42415         * sysdeps/powerpc/memmove.c:: Likewise.
42417 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42419         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42420         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42422 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42424         * elf/elf.h (R_X86_64_RELATIVE64): New.
42425         (R_X86_64_NUM): Updated.
42426         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42427         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
42428         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42429         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42430         tst-quad1pie tst-quad2pie
42431         (modules-names): Add tst-quadmod1 tst-quadmod2.
42432         ($(objpfx)tst-quad1): New dependency.
42433         ($(objpfx)tst-quad2): Likewise.
42434         ($(objpfx)tst-quad1pie): Likewise.
42435         ($(objpfx)tst-quad2pie): Likewise.
42436         * sysdeps/x86_64/tst-quad1.c: New file.
42437         * sysdeps/x86_64/tst-quad1pie.c: New file.
42438         * sysdeps/x86_64/tst-quad2.c: Likewise.
42439         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42440         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42441         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42442         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42443         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42445 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42447         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42448         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42449         * streams/stropts.h (t_scalar_t): Define type.
42451         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42452         (_PATH_PRESERVE): Set to "/var/lib".
42453         (_PATH_RWHODIR): Set to "/var/spool/rwho".
42455         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42456         instead of int.
42458         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42459         if __dir_mkfile succeeded.
42461         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42462         checking for _hurd_dtablesize.  Unlock it right after having
42463         finished _hurd_dtable allocation.
42465 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42467         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42468         * sysdeps/mach/hurd/configure: Regenerated.
42469         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42470         special-casing to...
42471         * sysdeps/gnu/configure.in: ... this new file.
42472         * sysdeps/unix/sysv/linux/configure: Regenerated.
42473         * sysdeps/gnu/configure: New generated file.
42475         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42476         for Linux: use nsec instead of usec, as well as:
42477         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42478         members of type struct timespec.
42479         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42480         New macros.
42481         (struct stat64): Likewise.
42482         (_STATBUF_ST_NSEC): New macro.
42483         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42485         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42486         __strtoul_internal rather than strtoul.
42488 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42490         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42491         and reject them.
42493 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42495         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42496         which preserves existing values.
42497         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42499 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42501         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42502         TIMEOUT values.  Return EINVAL for NFDS values either negative or
42503         greater than FD_SETSIZE.
42505 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42507         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42508         allocated, call __vm_protect to finish enabling the existing space, and
42509         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42510         allocate the remainder.
42512 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42514         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42515         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
42517 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42519         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42520         sysdeps/mach/hurd/readlink.c.
42522         * posix/tst-sysconf.c (posix_options): Only use
42523         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42524         _POSIX_SYNCHRONIZED_IO when they are defined
42525         * sysdeps/mach/hurd/bits/posix_opt.h:
42526         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42527         (_XOPEN_REALTIME): Undefine macro.
42528         (_XOPEN_REALTIME_THREADS): Undefine macro.
42529         (_XOPEN_SHM): Undefine macro.
42530         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42531         macro to -1.
42532         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42533         macro to -1.
42534         (_POSIX_ASYNC_IO): Undefine macro.
42535         (_POSIX_PRIORITIZED_IO): Undefine macro.
42536         (_POSIX_SPIN_LOCKS): Define macro to -1.
42538         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42539         SA_NODEFER, SA_RESETHAND.
42540         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42541         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42542         F_DUPFD_CLOEXEC.
42544 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42546         * elf/Makefile (pldd-modules): Define unconditionally.
42548 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42550         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42552 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42554         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42555         Return ENOENT when name is empty.
42556         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42558 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42560         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42562         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42564 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42566         Fix mlock in all cases except non-readable pages.
42567         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42568         instead of VM_PROT_ALL as parameter to __vm_wire function.
42570         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42571         (__mkdir): When path is `/', just fail with EEXIST.
42572         * sysdeps/mach/hurd/mkdirat.c: Likewise.
42574 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42576         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42577         <sys/uio.h> (for writev).
42578         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42579         and <sys/param.h> (for MIN).
42581 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42583         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42584         REQUESTED_TIME.  Properly set the remaining time and return EINTR
42585         if interrupted.
42587 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42589         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42590         Depend on against $(link-rpcuserlibs).
42592 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42594         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42595         (__libc_stack_end): Do not use attribute_relro.
42596         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42597         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42598         to libthread-provided value.
42599         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42600         attribute_relro.
42602 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42604         [BZ #3748]
42605         * bits/libc-lock.h (__libc_once_get): New macro.
42606         * sysdeps/mach/bits/libc-lock.h: Likewise.
42607         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42608         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42609         instead of using implementation details.
42611         * libio/fileops.c: Unconditionally include <kernel-features.h>.
42612         * libio/freopen.c: Likewise.
42613         * libio/freopen64.c: Likewise.
42614         * misc/syslog.c: Likewise.
42615         * nscd/connections.c: Likewise.
42616         * nscd/netgroupcache.c: Likewise.
42617         * sysdeps/posix/getcwd.c: Likewise.
42619 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42621         * math/w_ilogbf.c: Add #include <limits.h>.
42623 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42625         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42626         path instead of returning without unlocking.
42628         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42629         immediate-write ioctls.
42630         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42632 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42634         * sysdeps/mach/hurd/i386/init-first.c (init): Use
42635         __builtin_frame_address instead of making assumptions about the
42636         location of the return address relative to DATA.  Force early load of
42637         the return address.
42638         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42639         __builtin_frame_address.
42641         dup3 for GNU Hurd.
42642         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42643         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
42644         implement dup3 and do some further code clean-ups.
42645         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42646         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42648 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42650         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42652         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42653         HURD_CRITICAL_END around holding _hurd_dtable_lock.
42654         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42655         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42656         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42657         d->port.lock.
42659         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42660         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
42661         when handler == SIG_ERR, not when handler != SIG_ERR.
42663 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42665         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42666         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42667         definitions.
42669         accept4 for GNU Hurd.
42670         * include/sys/socket.h (__libc_accept4): New prototype.
42671         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
42672         to implement __libc_accept4.
42673         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42674         __libc_accept4.
42675         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42677         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42678         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42679         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42680         signal-defines.sym.
42682 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42684         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42686 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42688         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42689         assertion on O_CLOEXEC flag.
42690         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42691         * hurd/intern-fd.c: Likewise.
42692         * hurd/port2fd.c: Likewise.
42694 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42696         [BZ #3906]
42697         * bits/in.h (IPV6_PKTINFO): Define new macro.
42698         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42700 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42702         [BZ #13954]
42703         [BZ #13955]
42704         [BZ #13956]
42705         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42706         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42707         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42708         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42709         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42710         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42711         * math/libm-test.inc (logb_test) : Additional logb tests.
42713 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
42714             Andreas Jaeger  <aj@suse.de>
42716         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42717         * configure: Regenerated.
42718         * config.h.in (LINK_OBSOLETE_RPC): New macro.
42719         * config.make.in (link-obsolete-rpc): New substituted variable.
42720         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42721         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42722         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42723         (shared-only-routines): Don't set it under [link-obsolete-rpc],
42724         so that libc.a contains the symbols.
42725         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42726         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42727         * sunrpc/auth_none.c: Likewise.
42728         * sunrpc/auth_unix.c: Likewise.
42729         * sunrpc/authdes_prot.c: Likewise.
42730         * sunrpc/authuxprot.c: Likewise.
42731         * sunrpc/clnt_gen.c: Likewise.
42732         * sunrpc/clnt_perr.c: Likewise.
42733         * sunrpc/clnt_raw.c: Likewise.
42734         * sunrpc/clnt_simp.c: Likewise.
42735         * sunrpc/clnt_tcp.c: Likewise.
42736         * sunrpc/clnt_udp.c: Likewise.
42737         * sunrpc/clnt_unix.c: Likewise.
42738         * sunrpc/des_crypt.c: Likewise.
42739         * sunrpc/des_soft.c: Likewise.
42740         * sunrpc/get_myaddr.c: Likewise.
42741         * sunrpc/key_call.c: Likewise.
42742         * sunrpc/key_prot.c: Likewise.
42743         * sunrpc/netname.c: Likewise.
42744         * sunrpc/pm_getmaps.c: Likewise.
42745         * sunrpc/pm_getport.c: Likewise.
42746         * sunrpc/pmap_clnt.c: Likewise.
42747         * sunrpc/pmap_prot.c: Likewise.
42748         * sunrpc/pmap_prot2.c: Likewise.
42749         * sunrpc/pmap_rmt.c: Likewise.
42750         * sunrpc/publickey.c: Likewise.
42751         * sunrpc/rpc_cmsg.c: Likewise.
42752         * sunrpc/rpc_common.c: Likewise.
42753         * sunrpc/rpc_dtable.c: Likewise.
42754         * sunrpc/rpc_prot.c: Likewise.
42755         * sunrpc/rpc_thread.c: Likewise.
42756         * sunrpc/rtime.c: Likewise.
42757         * sunrpc/svc.c: Likewise.
42758         * sunrpc/svc_auth.c: Likewise.
42759         * sunrpc/svc_raw.c: Likewise.
42760         * sunrpc/svc_run.c: Likewise.
42761         * sunrpc/svc_tcp.c: Likewise.
42762         * sunrpc/svc_udp.c: Likewise.
42763         * sunrpc/svc_unix.c: Likewise.
42764         * sunrpc/svcauth_des.c: Likewise.
42765         * sunrpc/xcrypt.c: Likewise.
42766         * sunrpc/xdr.c: Likewise.
42767         * sunrpc/xdr_array.c: Likewise.
42768         * sunrpc/xdr_float.c: Likewise.
42769         * sunrpc/xdr_intXX_t.c: Likewise.
42770         * sunrpc/xdr_mem.c: Likewise.
42771         * sunrpc/xdr_rec.c: Likewise.
42772         * sunrpc/xdr_ref.c: Likewise.
42773         * sunrpc/xdr_sizeof.c: Likewise.
42774         * sunrpc/xdr_stdio.c: Likewise.
42776 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42778         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42779         change.  Update copyright years.
42781 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42783         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42785 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
42786             Joseph Myers  <joseph@codesourcery.com>
42787             Paul Pluzhnikov  <ppluzhnikov@google.com>
42789         [BZ #14012]
42790         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42791         requiring rpcgen.
42792         [cross-compiling] (extra-libs): Likewise.
42793         [cross-compiling] (extra-libs-others): Likewise.
42794         [cross-compiling] (librpcsvc-routines): Likewise.
42795         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42796         [cross-compiling] (omit-deps): Likewise.
42797         (sunrpc-CPPFLAGS): New variable.
42798         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42799         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42800         (cross-rpcgen-objs): New variable.
42801         (extra-objs): Append $(cross-rpcgen-objs).
42802         ($(cross-rpcgen-objs)): New rule.
42803         ($(objpfx)cross-rpcgen): Likewise.
42804         (rpcgen-cmd): Define to use $(built-program-file).  Expand
42805         comment.
42806         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42807         ($(objpfx)x%.stmp): Likewise.
42808         * sunrpc/proto.h [IS_IN_build] (_): Define.
42809         [IS_IN_build] (_libc_intl_domainname): Likewise.
42811 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42813         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42814         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42815         and R_X86_64_TPOFF64.
42817 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42819         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42820         sysdeps/unix/sysv/syscalls.list.
42821         (stime): Likewise.
42822         (utime): Likewise.
42823         * sysdeps/unix/sysv/syscalls.list: Remove file.
42825 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
42827         [BZ #3440]
42828         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42829         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42830         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42831         (__LC_IDENTIFICATION): Make these macros useful in #if
42832         expressions, as required by C99.
42834 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
42836         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42837         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
42838         after this.
42840 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
42842         * stdlib/longlong.h: Updated from GCC.
42844 2012-05-09  Andreas Jaeger  <aj@suse.de>
42846         * nscd/nscd.c (run_modes): Make named enum, reorder so that
42847         default is first entry.
42848         (run_mode): Set type.
42849         (main): Remove informal message about syslog.
42850         (options): Fix typo.
42852         [BZ #14053]
42853         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42854         to asm.
42855         (lrint): Likewise.
42856         (llrintf): Likewise.
42857         (llrint): Likewise.
42858         (rint): Likewise.
42859         (rintf): Likewise.
42860         (nearbyint): Likewise.
42861         (nearbyintf): Likewise.
42863 2012-05-09  Andreas Jaeger  <aj@suse.de>
42864             Pedro Alves  <palves@redhat.com>
42866         * nscd/nscd.c (run_mode): Use enum.
42867         (main): Cleanup coding style issue.
42869 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
42870             Andreas Jaeger  <aj@suse.de>
42872         * nscd/nscd.c (go_background): Replaced with...
42873         (run_mode): ... this.
42874         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42875         (options): Add -F --foreground.
42876         (main): Implement it.
42877         (parse_opt): Parse it.
42879 2012-05-09  Andreas Jaeger  <aj@suse.de>
42881         [BZ #14083]
42882         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42883         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42884         -Wconversion warning.
42885         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42886         Likewise.
42888 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
42890         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
42891         == 0.
42892         (LC_ALL): Use macro-int-constant.
42893         (LC_COLLATE): Likewise.
42894         (LC_CTYPE): Likewise.
42895         (LC_MESSAGES): Likewise.
42896         (LC_MONETARY): Likewise.
42897         (LC_NUMERIC): Likewise.
42898         (LC_TIME): Likewise.
42899         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42900         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42901         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42902         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42903         Specify type.
42904         [C99-based standards] (float_t): Expect type.
42905         [C99-based standards] (double_t): Expect type.
42906         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
42907         type.
42908         [C99-based standards] (HUGE_VALL): Likewise.
42909         [C99-based standards] (INFINITY): Likewise.
42910         [C99-based standards] (NAN): Likewise.
42911         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42912         [C99-based standards] (FP_NAN): Likewise.
42913         [C99-based standards] (FP_NORMAL): Likewise.
42914         [C99-based standards] (FP_SUBNORMAL): Likewise.
42915         [C99-based standards] (FP_ZERO): Likewise.
42916         [C99-based standards] (FP_FAST_FMA): Use
42917         optional-macro-int-constant.  Specify type.  Require == 1.
42918         [C99-based standards] (FP_FAST_FMAF): Likewise.
42919         [C99-based standards] (FP_FAST_FMAL): Likewise.
42920         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42921         [C99-based standards] (FP_ILOGBNAN): Likewise.
42922         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42923         Specify type.
42924         [C99-based standards] (MATH_ERREXCEPT): Likewise.
42925         [C99-based standards] (math_errhandling): Specify type.
42926         [ISO99 || ISO11] (signgam): Do not allow.
42927         [non-C99-based standards] (copysignf): Do not allow.
42928         [non-C99-based standards] (exp2f): Likewise.
42929         [non-C99-based standards] (log2f): Likewise.
42930         [non-C99-based standards] (modff): Allow.
42931         [non-C99-based standards] (erff): Do not allow.
42932         [non-C99-based standards] (erfcf): Likewise.
42933         [non-C99-based standards] (gammaf): Likewise.
42934         [non-C99-based standards] (hypotf): Likewise.
42935         [non-C99-based standards] (j0f): Likewise.
42936         [non-C99-based standards] (j1f): Likewise.
42937         [non-C99-based standards] (jnf): Likewise.
42938         [non-C99-based standards] (lgammaf): Likewise.
42939         [non-C99-based standards] (tgammaf): Likewise.
42940         [non-C99-based standards] (y0f): Likewise.
42941         [non-C99-based standards] (y1f): Likewise.
42942         [non-C99-based standards] (ynf): Likewise.
42943         [non-C99-based standards] (isnanf): Likewise.
42944         [non-C99-based standards] (acoshf): Likewise.
42945         [non-C99-based standards] (asinhf): Likewise.
42946         [non-C99-based standards] (atanhf): Likewise.
42947         [non-C99-based standards] (cbrtf): Likewise.
42948         [non-C99-based standards] (expm1f): Likewise.
42949         [non-C99-based standards] (ilogbf): Likewise.
42950         [non-C99-based standards] (log1pf): Likewise.
42951         [non-C99-based standards] (logbf): Likewise.
42952         [non-C99-based standards] (nextafterf): Likewise.
42953         [non-C99-based standards] (remainderf): Likewise.
42954         [non-C99-based standards] (rintf): Likewise.
42955         [non-C99-based standards] (scalbf): Likewise.
42956         [non-C99-based standards] (copysignl): Likewise.
42957         [non-C99-based standards] (exp2l): Likewise.
42958         [non-C99-based standards] (log2l): Likewise.
42959         [non-C99-based standards] (modfl): Allow.
42960         [non-C99-based standards] (erfl): Do not allow.
42961         [non-C99-based standards] (erfcl): Likewise.
42962         [non-C99-based standards] (gammal): Likewise.
42963         [non-C99-based standards] (hypotl): Likewise.
42964         [non-C99-based standards] (j0l): Likewise.
42965         [non-C99-based standards] (j1l): Likewise.
42966         [non-C99-based standards] (jnl): Likewise.
42967         [non-C99-based standards] (lgammal): Likewise.
42968         [non-C99-based standards] (tgammal): Likewise.
42969         [non-C99-based standards] (y0l): Likewise.
42970         [non-C99-based standards] (y1l): Likewise.
42971         [non-C99-based standards] (ynl): Likewise.
42972         [non-C99-based standards] (isnanl): Likewise.
42973         [non-C99-based standards] (acoshl): Likewise.
42974         [non-C99-based standards] (asinhl): Likewise.
42975         [non-C99-based standards] (atanhl): Likewise.
42976         [non-C99-based standards] (cbrtl): Likewise.
42977         [non-C99-based standards] (expm1l): Likewise.
42978         [non-C99-based standards] (ilogbl): Likewise.
42979         [non-C99-based standards] (log1pl): Likewise.
42980         [non-C99-based standards] (logbl): Likewise.
42981         [non-C99-based standards] (nextafterl): Likewise.
42982         [non-C99-based standards] (remainderl): Likewise.
42983         [non-C99-based standards] (rintl): Likewise.
42984         [non-C99-based standards] (scalbl): Likewise.
42985         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42986         [non-C99-based standards] (FP_*): Do not allow.
42987         [C99-based standards] (FP_*): Change to
42988         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42989         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42990         allow.
42991         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42992         (SIG_ERR): Likewise.
42993         [X/Open-based standards] (SIG_HOLD): Likewise.
42994         (SIG_IGN): Likewise.
42995         (SIGABRT): Use macro-int-constant.  Specify type.  Require
42996         positive value.
42997         (SIGFPE): Likewise.
42998         (SIGILL): Likewise.
42999         (SIGINT): Likewise.
43000         (SIGSEGV): Likewise.
43001         (SIGTER): Likewise.
43002         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43003         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43004         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43005         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43006         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43007         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43008         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43009         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43010         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43011         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43012         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43013         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43014         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43015         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43016         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43017         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43018         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43019         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43020         [X/Open-based standards] (SIGTRAP): Likewise.
43021         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43022         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43023         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43024         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43025         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43026         allow.
43028 2012-05-08  Ian Wienand  <ianw@vmware.com>
43030         [BZ #14080]
43031         * time/tzset.c (__tzset_parse_tz): Update default rules for
43032         daylight time changes in the Energy Policy Act of 2005.
43034 2012-05-09  Andreas Jaeger  <aj@suse.de>
43036         [BZ #13983]
43037         * elf/ldconfig.c (parse_conf): Change string to make clear that
43038         ldconfig only issued a warning if ld.so.conf does not exist.
43040 2012-05-08  David S. Miller  <davem@davemloft.net>
43042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43043         movxtod instead of popping the value on the stack.
43045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43047 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
43049         * config.h.in: Add HAVE_ARM_PCS_VFP.
43051 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
43053         [BZ #13979]
43054         * include/features.h: Warn if user requests __FORTIFY_SOURCE
43055         checking but the checks are disabled for any reason.
43057 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
43059         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43060         and ELF64_R_TYPE with ELFW(R_TYPE).
43062 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
43064         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43065         (ulimit): Likewise.
43067         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43068         (settimeofday): Likewise.
43070 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
43072         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
43073         a struct th_u2 inside the union, and move tu_block/tu_code into
43074         a new th_u3 union of tu_block/tu_code inside of that.  Move
43075         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
43076         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
43077         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43078         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43079         (th_stuff): Change to th_u1.tu_stuff.
43080         (th_data): Define.
43081         (th_msg): Change to th_u1.th_u2.tu_data.
43083 2012-05-07  David S. Miller  <davem@davemloft.net>
43085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43087         [BZ #14074]
43088         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43089         (SETUP_PIC_REG): Use it.
43090         (SETUP_PIC_REG_LEAF): Use it.
43092 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
43094         [BZ #13885]
43095         [BZ #13923]
43096         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43097         USE_AS_EXPM1L.
43098         (EXPL_FINITE): Likewise.
43099         (FLDLOG): Likewise.
43100         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43101         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43102         e_expl.S.
43103         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43104         USE_AS_EXPM1L.
43105         (EXPL_FINITE): Likewise.
43106         (FLDLOG): Likewise.
43107         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43108         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43109         e_expl.S.
43110         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
43111         test of -max_value argument for long double.
43112         * sysdeps/i386/fpu/libm-test-ulps: Update.
43113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43115 2012-05-06  David S. Miller  <davem@davemloft.net>
43117         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43118         quad soft-float symbols whose references which are compiler
43119         generated.
43120         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43122 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
43124         [BZ #13884]
43125         [BZ #13914]
43126         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43127         USE_AS_EXP10L.
43128         (EXPL_FINITE): Likewise.
43129         (FLDLOG): Likewise.
43130         (c0): Likewise.
43131         (c1): Likewise.
43132         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43133         Adjust comments for base varying.
43134         (__expl_finite): Change alias to EXPL_FINITE.
43135         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43136         e_expl.S.
43137         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43138         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43139         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43140         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43141         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43142         USE_AS_EXP10L.
43143         (EXPL_FINITE): Likewise.
43144         (FLDLOG): Likewise.
43145         (c0): Likewise.
43146         (c1): Likewise.
43147         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43148         Adjust comments for base varying.
43149         (__expl_finite): Change alias to EXPL_FINITE.
43150         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
43151         tests for bugs.
43152         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43154         [BZ #14064]
43155         * math/libm-test.inc (check_float_internal): Correct ulp
43156         calculation for subnormal expected results.
43158 2012-05-06  Andreas Jaeger  <aj@suse.de>
43160         * Makeconfig (+math-flags): New, set to -frounding-math.
43161         (+cflags): Add +math-flags so that all of glibc gets compiled with
43162         it.
43164         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43166 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
43168         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43169         Disable one test.
43171         [BZ #13787]
43172         [BZ #13922]
43173         [BZ #14036]
43174         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43175         (__ieee754_expl): Allow for and saturate large arguments.
43176         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43177         (u_threshold): Likewise.
43178         (__exp): Call __ieee754_exp before checking for overflow and
43179         underflow.
43180         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43181         (u_threshold): Likewise.
43182         (__expf): Call __ieee754_expf before checking for overflow and
43183         underflow.
43184         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43185         (u_threshold): Likewise.
43186         (__expl): Call __ieee754_expl before checking for overflow and
43187         underflow.
43188         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43189         (__ieee754_expl): Allow for and saturate large arguments.
43190         * math/libm-test.inc (exp_test): Add another test.  Do not allow
43191         missing overflow exception on overflow.
43192         (expm1_test): Do not allow missing overflow exception on overflow.
43194         * sysdeps/i386/fpu/e_expl.c: Move to ...
43195         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
43196         rather than using inline asm.
43197         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43198         * sysdeps/x86_64/fpu/e_expl.S: Copy from
43199         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43201         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43202         (nice): Likewise.
43203         (poll): Likewise.
43204         (signal): Likewise.
43205         (time): Likewise.
43206         (times): Likewise.
43208 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43210         * sysdeps/unix/syscalls.list (adjtime): Add entry from
43211         sysdeps/unix/common/syscalls.list.
43212         (fchmod): Likewise.
43213         (fchown): Likewise.
43214         (ftruncate): Likewise.
43215         (getrusage): Likewise.
43216         (gettimeofday): Likewise.
43217         (setpgid): Likewise.
43218         (setregid): Likewise.
43219         (setreuid): Likewise.
43220         (sigaction): Likewise.
43221         (truncate): Likewise.
43222         (vhangup): Likewise.
43223         * sysdeps/unix/common/syscalls.list: Remove file.
43224         * sysdeps/unix/bsd/Implies: Don't include unix/common.
43225         * sysdeps/unix/sysv/linux/Implies: Likewise.
43227 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
43229         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43231         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43232         Moved to ...
43233         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43234         Here.
43235         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43236         to ...
43237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43238         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43239         to ...
43240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43241         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43242         to ...
43243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43244         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43245         to ...
43246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43247         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43248         to ...
43249         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43250         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43251         to ...
43252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43253         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43254         to ...
43255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43256         Here.
43257         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43258         to ...
43259         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43260         Here.
43261         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43262         to ...
43263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43264         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43265         Moved to ...
43266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43267         Here.
43268         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43269         to ...
43270         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43272 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43274         * sysdeps/unix/common/bits/dirent.h: Remove file.
43275         * sysdeps/unix/common/bits/fcntl.h: Likewise.
43277         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43278         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43279         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43280         * sysdeps/unix/bsd/isatty.c: Likewise.
43281         * sysdeps/unix/bsd/tcdrain.c: Likewise.
43282         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43283         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43285 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43287         [BZ #13563]
43288         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43289         long double comparison inaccuracies.
43290         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43293 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
43295         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43296         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43298 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43300         [BZ #14049]
43301         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43302         nonzero digits before rounding a hex value.
43303         * stdlib/tst-strtod.c (tests): Add another test.
43305 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43307         * sysdeps/s390/fpu/libm-test-ulps: Update.
43309 2012-05-03  Andreas Jaeger  <aj@suse.de>
43311         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43312         does not get optimized out.
43313         (malloc_opt_barrier): New.
43315 2012-05-03  Andreas Jaeger  <aj@suse.de>
43316             Roland McGrath  <roland@hack.frob.com>
43318         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43319         intermediate file deletion.
43320         (generated): Add .symlist files.
43322 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
43324         [BZ #13775]
43325         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43326         Redirect under this condition.
43327         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43328         [__USE_GNU] (__dprintf_chk): Not under this condition.
43329         [__USE_GNU] (__vdprintf_chk): Likewise.
43330         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43331         under this condition.
43332         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43333         [__USE_XOPEN2K8] (dprintf): Define under this condition.
43334         [__USE_XOPEN2K8] (vdprintf): Likewise.
43335         [__USE_GNU] (__dprintf_chk): Not under this condition.
43336         [__USE_GNU] (__vdprintf_chk): Likewise.
43337         [__USE_GNU] (dprintf): Likewise.
43338         [__USE_GNU] (vdprintf): Likewise.
43340 2012-05-03  Roland McGrath  <roland@hack.frob.com>
43342         * elf/Makefile (common-generated): Set this instead of generated for
43343         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
43344         $(all-built-dso)-derived lists.
43346 2012-05-03  Andreas Jaeger  <aj@suse.de>
43348         * sysdeps/i386/fpu/libm-test-ulps: Update.
43350         * FAQ: Removed.
43351         * FAQ.in: Likewise.
43352         * scripts/gen-FAQ.pl: Likewise.
43353         * manual/install.texi (Installation): Point to online location of
43354         FAQ.
43355         * Makefile (files-for-dist): Remove FAQ.
43356         (FAQ): Remove.
43358 2012-05-02  Allan McRae  <allan@archlinux.org>
43360         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43361         (LDFLAGS-reldepmod5.so): Likewise.
43362         (LDFLAGS-reldep6mod1.so): Likewise.
43363         (LDFLAGS-reldep6mod4.so): Likewise.
43364         (LDFLAGS-reldep8mod3.so): Likewise.
43365         (LDFLAGS-unload4mod1.so): Likewise.
43366         (LDFLAGS-unload4mod2.so): Likewise.
43367         (LDFLAGS-tst-initorder): Likewise.
43368         (LDFLAGS-tst-initordera2.so): Likewise.
43369         (LDFLAGS-tst-initordera3.so): Likewise.
43370         (LDFLAGS-tst-initordera4.so): Likewise.
43371         (LDFLAGS-tst-initorderb2.so): Likewise.
43372         (LDFLAGS-noload): Likewise.
43373         (LDFLAGS-next): Likewise.
43374         (LDFLAGS-order2mod1.so): Likewise.
43375         (LDFLAGS-order2mod2.so): Likewise.
43376         (LDFLAGS-tst-initorder2): Likewise.
43377         (LDFLAGS-tst-initorder2a.so): Likewise.
43378         (LDFLAGS-tst-initorder2b.so): Likewise.
43379         (LDFLAGS-tst-initorder2c.so): Likewise.
43380         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43382 2012-05-02  David S. Miller  <davem@davemloft.net>
43384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43386 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
43388         [BZ #14055]
43389         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43391 2012-05-02  Andreas Jaeger  <aj@suse.de>
43393         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43394         since we manipulate rounding mode.
43395         (CPPFLAGS-test-idouble.c): Likewise.
43396         (CPPFLAGS-test-ifloat.c): Likewise.
43397         (CFLAGS-test-ldouble.c): Likewise.
43398         (CFLAGS-test-double.c): Likewise.
43399         (CFLAGS-test-float.c): Likewise.
43400         (CFLAGS-test-misc.c): Likewise.
43401         (CFLAGS-test-test-fenv.c): Likewise.
43403 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43405         [BZ #2550]
43406         [BZ #2570]
43407         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43408         comparisons to determine direction to adjust input.
43410 2012-05-01  Roland McGrath  <roland@hack.frob.com>
43412         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43413         output to the target.
43415         * scripts/localplt.awk: New file.
43416         * elf/Makefile ($(objpfx)check-localplt): Target removed.
43417         (check-localplt-CFLAGS): Variable removed.
43418         ($(all-built-dso:=.jmprel)): New static pattern rule.
43419         (generated): Add those targets.
43420         (localplt-built-dso): New variable.
43421         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43423         * elf/check-localplt.c: File removed.
43425         * scripts/check-execstack.awk: New file.
43426         * elf/Makefile ($(objpfx)check-execstack): Target removed.
43427         (check-execstack-CFLAGS): Variable removed.
43428         ($(objpfx)check-execstack.h): Target removed.
43429         ($(objpfx)execstack-default): New target.
43430         (generated): Add that instead of check-execstack.h.
43431         ($(all-built-dso:=.phdr)): New static pattern rule.
43432         (generated): Add those targets.
43433         * elf/check-execstack.c: File removed.
43435         * scripts/check-textrel.awk: New file.
43436         * elf/Makefile ($(objpfx)check-textrel): Target removed.
43437         (check-textrel-CFLAGS): Variable removed.
43438         (all-built-dso): Use := to define.o
43439         ($(all-built-dso:=.dyn)): New static pattern rule.
43440         (generated): Add those targets.
43441         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43442         * config.make.in (READELF): New substituted variable.
43443         * elf/check-textrel.c: File removed.
43445 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43447         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43448         allow.
43449         * conform/data/ctype.h-data [C99-based standards] (isblank):
43450         Expect function.
43451         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43452         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43453         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43454         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43455         Specify type.  Require positive value.
43456         (EILSEQ): Likewise.
43457         (ERANGE): Likewise.
43458         [ISO || POSIX] (EILSEQ): Do not expect.
43459         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43460         Specify type.  Require positive value.
43461         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43462         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43463         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43464         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43465         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43466         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43467         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43468         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43469         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43470         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43471         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43472         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43473         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43474         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43475         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43476         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43477         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43478         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43479         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43480         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43481         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43482         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43483         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43484         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43485         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43486         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43487         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43488         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43489         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43490         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43491         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43492         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43493         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43494         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43495         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43496         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43497         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43498         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43499         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43500         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43501         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43502         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43503         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43504         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43505         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43506         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43507         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43508         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43509         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43510         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43511         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43512         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43513         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43514         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43515         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43516         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43517         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43518         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43519         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43520         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43521         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43522         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43523         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43524         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43525         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43526         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43527         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43528         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43529         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43530         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43531         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43532         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43533         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43534         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43535         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43536         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43537         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43538         Require >= 2.
43539         (FLT_ROUNDS): Expect as macro, not constant.
43540         (FLT_MANT_DIG): Use macro-int-constant.
43541         (DBL_MANT_DIG): Likewise.
43542         (LDBL_MANT_DIG): Likewise.
43543         (FLT_DIG): Likewise.
43544         (DBL_DIG): Likewise.
43545         (LDBL_DIG): Likewise.
43546         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
43547         (DBL_MIN_EXP): Likewise.
43548         (LDBL_MIN_EXP): Likewise.
43549         (FLT_MAX_EXP): Use macro-int-constant.
43550         (DBL_MAX_EXP): Likewise.
43551         (LDBL_MAX_EXP): Likewise.
43552         (FLT_MAX_10_EXP): Likewise.
43553         (DBL_MAX_10_EXP): Likewise.
43554         (LDBL_MAX_10_EXP): Likewise.
43555         (FLT_MAX): Use macro-constant.
43556         (DBL_MAX): Likewise.
43557         (LDBL_MAX): Likewise.
43558         (FLT_EPSILON): Use macro-constant.  Give upper bound.
43559         (DBL_EPSILON): Likewise.
43560         (LDBL_EPSILON): Likewise.
43561         (FLT_MIN): Likewise.
43562         (DBL_MIN): Likewise.
43563         (LDBL_MIN): Likewise.
43564         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43565         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43566         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43567         [ISO11] (FLT_HAS_SUBNORM): Likewise.
43568         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43569         [ISO11] (DBL_DECIMAL_DIG): Likewise.
43570         [ISO11] (FLT_DECIMAL_DIG): Likewise.
43571         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43572         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43573         [ISO11] (FLT_TRUE_MIN): Likewise.
43574         [ISO11] (LDBL_TRUE_MIN): Likewise.
43575         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43576         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43577         (SCHAR_MIN): Use macro-int-constant.  Specify type.
43578         (SCHAR_MAX): Likewise.
43579         (UCHAR_MAX): Likewise.
43580         (CHAR_MIN): Likewise.
43581         (CHAR_MAX): Likewise.
43582         (MB_LEN_MAX): Use macro-int-constant.
43583         (SHRT_MIN): Use macro-int-constant.  Specify type.
43584         (SHRT_MAX): Likewise.
43585         (USHRT_MAX): Likewise.
43586         (INT_MAX): Likewise.
43587         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
43588         bound negative.
43589         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43590         bound with "U".
43591         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43592         bound with "L".
43593         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
43594         bound negative.  Suffix upper bound with "L".
43595         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43596         bound with "UL".
43597         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43598         Specify type.
43599         [C99-based standards] (LLONG_MAX): Likewise.
43600         [C99-based standards] (ULLONG_MAX): Likewise.
43601         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
43602         == 0.
43603         [ISO11] (max_align_t): Require type.
43604         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43606         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43607         from $CFLAGS, without defining away __attribute__ calls.
43608         (checknamespace): Use $CFLAGS_namespace.
43610         * conform/conformtest.pl (@keywords): Only include C99 keywords
43611         for standards based on C99 or C11.
43613         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43614         Disable tests.
43615         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43616         UNIX98]: Likewise.
43618         * conform/conformtest.pl: Handle "macro-int-constant" and test for
43619         usability of symbols in #if.
43621         * conform/conformtest.pl: If macro or constant types start
43622         "promoted:", expect the symbol to be of the following type
43623         promoted by the integer promotions.
43625         * conform/conformtest.pl: Parse all "constant" and "macro" lines
43626         in one place.  Also handle "macro-constant".
43628         * conform/conformtest.pl: Only accept expected macro values with
43629         "==".  Parse all "macro" lines in one place.
43630         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43632         * conform/conformtest.pl: Handle braced types on "constant" lines
43633         instead of handling "typed-constant".
43634         * conform/data/signal.h-data: Use "constant" instead of
43635         "typed-constant".
43637         * conform/conformtest.pl: Handle "optional-" at start of lines in
43638         one place rather than duplicating several cases.  Handle each
43639         format of "macro" line with initial "optional-".
43641         * conform/conformtest.pl: Only accept expected constant or
43642         optional-constant values with "==".  Parse all "constant" lines in
43643         one place.  Parse all "optional-constant" lines in one place.
43644         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43645         * conform/data/fmtmsg.h-data: Likewise.
43646         * conform/data/netinet/in.h-data: Likewise.
43647         * conform/data/tar.h-data: Likewise.
43648         * conform/data/limits.h-data: Use "==" form on "constant" and
43649         "optional-constant" lines.
43651         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43652         Use -std=c99 for XOPEN2K.
43653         (@knownproblems): Remove.
43654         (newtoken): Don't check %isknown.
43656         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43657         Do not expect macro.
43658         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43659         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43660         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43661         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43662         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43663         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43664         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43665         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43666         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43667         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43668         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43669         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43670         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43671         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43672         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43673         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43674         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43675         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43676         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43677         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43678         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43679         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43680         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43681         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43682         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43683         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43684         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43685         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43686         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43687         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43688         [XPG3] (acosh): Likewise.
43689         [XPG3] (asinh): Likewise.
43690         [XPG3] (atanh): Likewise.
43691         [XPG3] (cbrt): Likewise.
43692         [XPG3] (expm1): Likewise.
43693         [XPG3] (ilogb): Likewise.
43694         [XPG3] (log1p): Likewise.
43695         [XPG3] (logb): Likewise.
43696         [XPG3] (nextafter): Likewise.
43697         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43698         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43699         [XPG3] (remainder): Likewise.
43700         [XPG3] (rint): Likewise.
43701         [XPG3 || XPG4 || UNIX98] (round): Likewise.
43702         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43703         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43704         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43705         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43706         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43707         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43708         [UNIX98 || XOPEN2K] (scalb): Expect.
43709         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43710         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43711         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43712         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43713         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43714         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43715         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43716         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43717         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43718         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43719         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43720         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43721         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43722         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43723         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43724         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43725         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43726         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43727         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43728         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43729         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43730         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43731         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43732         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43733         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43734         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43735         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43736         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43737         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43738         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43739         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43740         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43741         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43742         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43743         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43744         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43745         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43746         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43747         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43748         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43749         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43750         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43751         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43752         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43753         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43754         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43755         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43756         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43757         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43758         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43759         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43760         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43761         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43762         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43763         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43764         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43765         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43766         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43767         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43768         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43769         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43770         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43771         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43772         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43773         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43774         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43775         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43776         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43777         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43778         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43779         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43780         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43781         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43782         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43783         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43784         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43785         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43786         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43787         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43788         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43789         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43790         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43791         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43792         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43793         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43794         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43795         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43796         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43797         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43798         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43799         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43800         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43801         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43802         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43803         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43804         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43805         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43806         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43807         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43808         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43809         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43810         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43811         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43812         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43813         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43814         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43815         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43816         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43817         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43818         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43819         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43820         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43821         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43822         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43823         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43824         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43825         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43826         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43827         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43828         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43829         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43830         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43831         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43832         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43833         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43834         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43835         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43836         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43837         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43838         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43839         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43840         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43841         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43842         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43843         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43844         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43845         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43847         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43848         _XOPEN_SOURCE_EXTENDED for XPG4.
43850         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43852         * Makeconfig (localtime): Remove variable.
43853         (inst_localtime-file): Likewise.
43855 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43858         Update.
43859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43860         Update.
43861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43862         Update.
43863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43864         Update.
43865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43866         Update.
43867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43868         Update.
43869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43870         Update.
43871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43872         Update.
43873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43874         Update.
43876 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43878         [BZ #2550]
43879         [BZ #2570]
43880         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43881         comparisons to determine direction to adjust input.
43882         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43883         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43884         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43885         Likewise.
43886         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43887         Likewise.
43888         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43889         Likewise.
43890         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43891         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43892         Likewise.
43893         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43894         Likewise.
43895         * math/libm-test.inc (nexttoward_test): Add more tests.
43897 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43899         [BZ #14040]
43900         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43901         in version GLIBC_2.1, not GLIBC_2.0.
43902         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43903         Likewise.
43905 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
43907         [BZ #13942]
43908         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43909         (1 - x) * (1 + x).
43910         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43911         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43912         * math/libm-test.inc (acos_test): Add more tests.
43913         (asin_test): Likewise.
43914         * sysdeps/i386/fpu/libm-test-ulps: Update.
43915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43917         [BZ #14034]
43918         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43919         of square root.
43920         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43921         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43922         * math/libm-test.inc (acos_test_tonearest): New function.
43923         (acos_test_towardzero): Likewise.
43924         (acos_test_downward): Likewise.
43925         (acos_test_upward): Likewise.
43926         (asin_test_tonearest): Likewise.
43927         (asin_test_towardzero): Likewise.
43928         (asin_test_downward): Likewise.
43929         (asin_test_upward): Likewise.
43930         (main): Call the new functions.
43931         * sysdeps/i386/fpu/libm-test-ulps: Update.
43932         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43934         [BZ #13884]
43935         [BZ #13924]
43936         * math/e_exp10.c: Include <float.h>.
43937         (__ieee754_exp10): Handle underflow here rather than multiplying
43938         large negative argument by M_LN10.
43939         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43940         of __ieee754_expf.
43941         * math/e_exp10l.c: Include <float.h>.
43942         (__ieee754_exp10l): Handle underflow here rather than multiplying
43943         large negative argument by M_LN10l.
43944         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
43945         spurious overflow exception on underflow.
43947 2012-04-29  Marek Polacek  <polacek@redhat.com>
43949         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43950         (__fortify_function): New macro.
43951         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43952         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43953         __extern_always_inline.
43954         * libio/bits/stdio2.h: Likewise.
43955         * libio/bits/stdio.h: Likewise.
43956         * string/string.h: Likewise.
43957         * string/bits/string3.h: Likewise.
43958         * include/stdio.h: Likewise.
43959         * stdlib/bits/stdlib.h: Likewise.
43960         * stdlib/stdlib.h: Likewise.
43961         * rt/bits/mqueue2.h: Likewise.
43962         * rt/mqueue.h: Likewise.
43963         * posix/bits/unistd.h: Likewise.
43964         * posix/unistd.h: Likewise.
43965         * io/bits/poll2.h: Likewise.
43966         * io/bits/fcntl2.h: Likewise.
43967         * io/fcntl.h: Likewise.
43968         * io/sys/poll.h: Likewise.
43969         * misc/bits/syslog.h: Likewise.
43970         * misc/bits/syslog-ldbl.h: Likewise.
43971         * misc/sys/syslog.h: Likewise.
43972         * socket/bits/socket2.h: Likewise.
43973         * socket/sys/socket.h: Likewise.
43974         * debug/tst-chk1.c: Likewise.
43975         * wcsmbs/bits/wchar2.h: Likewise.
43976         * wcsmbs/bits/wchar-ldbl.h: Likewise.
43977         * wcsmbs/wchar.h: Likewise.
43979 2012-04-29  Andreas Jaeger  <aj@suse.de>
43981         * Makerules (tests): Remove enable-check-abi protection.
43982         (check-abi-warn): Remove.
43983         (check-abi-%): Remove check-abi-warn usage.
43985         * configure.in: Remove check-abi configure option.
43986         * configure: Regenerated.
43987         * config.make.in (enable-check-abi): Remove.
43989 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
43991         [BZ #14033]
43992         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43993         double functions to double *_finite functions.
43995         [BZ #13941]
43996         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43997         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43998         LDBL_MIN_EXP.
43999         * stdio-common/Makefile (tests): Add tst-sprintf3.
44000         * stdio-common/tst-sprintf3.c: New file.
44002         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44003         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44005 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44007         * conform/conformtest.pl: Remove duplicate typed-constant
44008         handling.
44010 2012-04-28  David S. Miller  <davem@davemloft.net>
44012         * Makerules (%.abilist): Add vpath on sysdep_dirs.
44013         (check-abi-%): Remove AWK script prerequisite and explicit
44014         abilist directory.
44015         (check-abi): Rewrite to just diff the symlist with the abilist.
44016         (config-tls, config-abi-config): Delete, no longer used.
44017         (update-abi-%): Remove AWK script and explicit abilist directory.
44018         (update-abi): Rewrite to simply compare and conditionally copy the
44019         symlist and the sysdep abilist file.  Remove update-abi-config
44020         checks.
44021         * abilist/ld.abilist: Remove.
44022         * abilist/libBrokenLocale.abilist: Remove.
44023         * abilist/libanl.abilist: Remove.
44024         * abilist/libcrypt.abilist: Remove.
44025         * abilist/libdl.abilist: Remove.
44026         * abilist/librt.abilist: Remove.
44027         * abilist/libthread_db.abilist: Remove.
44028         * abilist/libutil.abilist: Remove.
44029         * scripts/extract-abilist.awk: Remove.
44030         * scripts/merge-abilist.awk: Remove.
44031         * sysdeps/generic/libcidn.abilist: New file.
44032         * sysdeps/generic/libnss_compat.abilist: New file.
44033         * sysdeps/generic/libnss_db.abilist: New file.
44034         * sysdeps/generic/libnss_dns.abilist: New file.
44035         * sysdeps/generic/libnss_files.abilist: New file.
44036         * sysdeps/generic/libnss_hesiod.abilist: New file.
44037         * sysdeps/generic/libnss_nis.abilist: New file.
44038         * sysdeps/generic/libnss_nisplus.abilist: New file.
44039         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44040         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44041         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44042         file.
44043         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44044         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44045         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44046         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44047         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44048         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44049         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44050         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44051         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44052         file.
44053         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44054         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44055         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44056         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44057         file.
44058         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44059         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44060         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44061         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44062         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44063         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44064         file.
44065         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44066         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44067         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44068         file.
44069         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44070         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44071         New file.
44072         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44073         New file.
44074         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44075         New file.
44076         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44077         New file.
44078         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44079         New file.
44080         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44081         New file.
44082         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44083         New file.
44084         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44085         New file.
44086         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44087         New file.
44088         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44089         New file.
44090         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44091         New file.
44092         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44093         New file.
44094         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44095         New file.
44096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44097         file.
44098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44099         New file.
44100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44101         New file.
44102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44103         file.
44104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44105         New file.
44106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44107         New file.
44108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44109         file.
44110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44111         New file.
44112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44113         New file.
44114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44115         New file.
44116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44117         New file.
44118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44119         New file.
44120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44121         New file.
44122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44124         file.
44125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44126         New file.
44127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44128         file.
44129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44130         file.
44131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44132         file.
44133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44134         file.
44135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44136         file.
44137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44138         New file.
44139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44140         file.
44141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44142         file.
44143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44144         New file.
44145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44146         file.
44147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44149         file.
44150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44151         New file.
44152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44153         file.
44154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44155         file.
44156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44157         file.
44158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44159         file.
44160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44161         file.
44162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44163         New file.
44164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44165         file.
44166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44167         file.
44168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44169         New file.
44170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44171         file.
44172         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44173         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44174         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44175         file.
44176         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44177         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44178         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44179         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44180         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44181         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44182         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44183         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44184         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44185         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44188         file.
44189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44190         New file.
44191         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44192         file.
44193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44194         file.
44195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44196         file.
44197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44198         file.
44199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44200         file.
44201         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44202         New file.
44203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44204         New file.
44205         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44206         file.
44207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44208         New file.
44209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44210         file.
44211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44213         file.
44214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44215         New file.
44216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44217         file.
44218         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44219         file.
44220         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44221         file.
44222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44223         file.
44224         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44225         file.
44226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44227         New file.
44228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44229         New file.
44230         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44231         file.
44232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44233         New file.
44234         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44235         file.
44237 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44239         * conform/conformtest.pl: Fix typo in handling typed-constant from
44240         allow-header.
44242 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44244         * README: Cut down references to pre-2.6 Linux kernels and
44245         Linuxthreads.  Update lists of configurations in libc and ports
44246         and sort alphabetically.  Say "or newer" with Linux kernel version
44247         requirements.
44249         * config.h.in [IS_IN_build]: Allow compiling without optimization.
44251 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44253         [BZ #887]
44254         * math/libm-test.inc (logb_test_downward): New test to expose
44255         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44256         rounding mode.
44258 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44260         [BZ #14027]
44261         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44262         to be done.
44263         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44264         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44266 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
44268         * sysdeps/unix/i386/brk.S: Remove file.
44269         * sysdeps/unix/i386/dl-brk.S: Likewise.
44270         * sysdeps/unix/i386/pipe.S: Likewise.
44271         * sysdeps/unix/i386/sigreturn.S: Likewise.
44272         * sysdeps/unix/i386/syscall.S: Likewise.
44273         * sysdeps/unix/i386/vfork.S: Likewise.
44274         * sysdeps/unix/i386/wait.S: Likewise.
44276         * sysdeps/unix/common/tcsendbrk.c: Move to ...
44277         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44279         * configure.in (arm*-none*): Do not allow without
44280         --enable-hacker-mode.
44281         (netbsd*): Remove case setting base_os.
44282         (386bsd*): Likewise.
44283         (freebsd*): Likewise.
44284         (bsdi*): Likewise.
44285         (osf*): Likewise.
44286         (sunos*): Likewise.
44287         (ultrix*): Likewise.
44288         (newsos*): Likewise.
44289         (dynix*): Likewise.
44290         (*bsd*): Likewise.
44291         (sysv*): Likewise.
44292         (isc*): Likewise.
44293         (esix*): Likewise.
44294         (sco*): Likewise.
44295         (minix*): Likewise.
44296         (irix4*): Likewise.
44297         (irix6*): Likewise.
44298         (solaris[2-9]*): Likewise.
44299         (none): Likewise.
44300         * configure: Regenerated.
44302 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44304         [BZ #11521]
44305         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44306         overflow or cancellation in calculating denominator.
44307         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44308         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44309         down expression to avoid unexpected rounding in newer GCCs.
44310         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44312 2012-04-26  David S. Miller  <davem@davemloft.net>
44314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44315         long-double compat symbols.
44316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44330 2012-04-25  David S. Miller  <davem@davemloft.net>
44332         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44333         HWCAP_* values only after the memory barriers have been defined.
44334         (atomic_full_barrier): Define.
44335         (atomic_read_barrier): Define.
44336         (atomic_write_barrier): Define.
44338 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44340         * shlib-versions: Add libgcc_s version information.
44341         * sysdeps/generic/libgcc_s.h: Remove.
44342         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44343         libgcc_s.h.
44344         * sysdeps/gnu/unwind-resume.c: Likewise.
44345         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44347 2012-04-25  David S. Miller  <davem@davemloft.net>
44349         * sysdeps/unix/sparc/brk.S: Delete.
44350         * sysdeps/unix/sparc/dl-brk.S: Delete.
44351         * sysdeps/unix/sparc/pipe.S: Delete.
44352         * sysdeps/unix/sparc/sysdep.S: Delete.
44353         * sysdeps/unix/sparc/sysdep.h: Delete.
44354         * sysdeps/unix/sparc/vfork.S: Delete.
44355         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44356         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44357         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44358         (ret_ERRVAL, r0, r1, MOVE): Define.
44359         (JUMPTARGET): Remove.
44360         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44361         sysdeps/unix/sparc/sysdep.h
44362         (ENTRY, END): Remove.
44363         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44365 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
44367         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44368         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44369         -DIS_IN_build.
44371         * timezone/README: Update upstream location and email address for
44372         tzcode and tzdata.
44373         * timezone/zdump.c: Update from tzcode 2012b.
44374         * timezone/zic.c: Likewise.
44376         * configure.in (libc_cv_as_needed): Remove test.
44377         * configure: Regenerated.
44378         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44379         conditional definition.
44380         [$(have-as-needed) != yes] (no-as-needed): Likewise.
44381         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44382         * config.make.in (have-as-needed): Remove variable.
44384 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44385             Paul Pluzhnikov  <ppluzhnikov@google.com>
44387         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44388         strings correctly.
44390 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
44392         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44393         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44394         * sysdeps/sh/strlen.S: Likewise.
44396 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44398         * sysdeps/unix/fork.S: Remove file.
44399         * sysdeps/unix/i386/fork.S: Likewise.
44400         * sysdeps/unix/sparc/fork.S: Likewise.
44402         * sysdeps/unix/system.c: Remove file.
44403         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44405         * sysdeps/unix/getegid.S: Remove file.
44406         * sysdeps/unix/geteuid.S: Likewise.
44408 2012-04-24  Roland McGrath  <roland@hack.frob.com>
44410         * scripts/check-localplt.awk: New file.
44411         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44412         of diff.
44413         * scripts/data/localplt-generic.data: Add a comment.
44415         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44416         NODE when __dir_mkfile failed.
44417         * sysdeps/mach/hurd/symlinkat.c: Likewise.
44418         Reported by Ludovic Courtès <ludo@gnu.org>.
44420 2012-04-24  Andreas Jaeger  <aj@suse.de>
44422         * Makerules (common-clean): Also remove gen-as-const-headers
44423         files.
44425 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44427         * Makerules (native-compile): Do not change working directory for
44428         build.  Use $(OUTPUT_OPTION) in command.
44429         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44431 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44433         [BZ #13886]
44434         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44435         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44436         * math/libm-test.inc (floor_test): Add more tests.
44437         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44439 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44441         * sysdeps/unix/getdents.c: Remove file.
44442         * sysdeps/unix/sysv/getdents.c: Likewise.
44443         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44445         * sysdeps/unix/syscalls.list (madvise): Add syscall from
44446         sysdeps/unix/mman/syscalls.list.
44447         (mmap): Likewise.
44448         (mprotect): Likewise.
44449         (msync): Likewise.
44450         (munmap): Likewise.
44451         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44452         * sysdeps/unix/mman/syscalls.list: Remove.
44453         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44455         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44456         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44457         * configure: Regenerated.
44458         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44459         $(libgcc_s_suffix).
44460         * config.make.in (libgcc_s_suffix): Remove variable.
44462 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
44464         * sysdeps/unix/sysv/gethostname.c: Move to ...
44465         * sysdeps/posix/gethostname.c: ... here.
44467         * sysdeps/unix/execve.S: Remove file.
44469         * sysdeps/unix/_exit.S: Remove file.
44471 2012-04-23  Andreas Jaeger  <aj@suse.de>
44473         [BZ #13739]
44474         * manual/Makefile: Remove make dist support, there's no
44475         need for a stand-alone documentation tar ball.
44476         (TEXI2DVI): Define always, it's not in Makeconfig.
44477         (dist): Removed.
44478         (tar-it): Removed.
44479         (edition): Removed.
44480         (glibc-doc-$(edition).tar): Removed
44481         (%.Z): Removed.
44482         (%.gz): Removed.
44483         (%.uu): Removed.
44484         (ETAGS): Remove, it's in Makeconfig.
44485         (move-if-change): Remove, it's in Makeconfig.
44487 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
44489         [BZ #13970]
44490         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44491         (strtod, strtof, strtold, strtol, strtoul, strtoq)
44492         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44493         (strtod_l, strtof_l, strtold_l): Remove __wur.
44494         It is not necessarily an error to ignore strtol's return value.
44495         One can reliably look at the stored endptr to decide whether
44496         the number had valid syntax.
44498 2012-04-21  Andreas Jaeger  <aj@suse.de>
44500         [BZ #13739]
44501         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44503 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
44505         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44506         * sysdeps/unix/sysv/Versions: Remove file.
44508 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
44510         [BZ #13927]
44511         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44513 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
44515         [BZ #7064]
44516         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44517         version from __vm86.
44519 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
44521         * sysdeps/unix/common/lxstat.c: Remove file.
44522         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44524         * sysdeps/unix/sysv/Makefile: Remove file.
44526         * sysdeps/unix/sysv/direct.h: Remove file.
44528         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44529         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44530         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44531         * sysdeps/unix/sysv/bits/signum.h: Likewise.
44532         * sysdeps/unix/sysv/bits/stat.h: Likewise.
44533         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44534         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44536         * sysdeps/unix/sysv/setrlimit.c: Remove file.
44538         * sysdeps/unix/xmknod.c: Remove file.
44539         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44541         * sysdeps/unix/sysv/settimeofday.c: Remove file.
44543         * sysdeps/unix/sysv/i386/time.S: Remove file.
44545         * sysdeps/unix/fxstat.c: Remove file.
44546         * sysdeps/unix/xstat.c: Likewise.
44547         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44549         * sysdeps/unix/sysv/sigaction.c: Remove file.
44551         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44552         (sysdep_headers): Remove variable.
44553         [termio.h not in sysdep_headers] (generated): Likewise.
44554         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44555         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44556         * sysdeps/unix/sysv/tcdrain.c: Likewise.
44557         * sysdeps/unix/sysv/tcflow.c: Likewise.
44558         * sysdeps/unix/sysv/tcflush.c: Likewise.
44559         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44560         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44561         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44562         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44563         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44565         * sysdeps/unix/siglist.c: Remove file.
44567         * sysdeps/unix/getppid.S: Remove file.
44569         * sysdeps/unix/mkdir.c: Remove file.
44570         * sysdeps/unix/rmdir.c: Likewise.
44572 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
44574         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44575         ERR_MAX value.
44576         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44577         errlist-compat value.
44579 2012-04-18  David S. Miller  <davem@davemloft.net>
44581         * sysdeps/generic/memcopy.h (reg_char): Delete.
44582         * debug/strcat_chk.c: Use char, not reg_char.
44583         * debug/strcpy_chk.c: Likewise.
44584         * debug/strncat_chk.c: Likewise.
44585         * debug/strncpy_chk.c: Likewise.
44586         * string/memchr.c: Likewise.
44587         * string/memrchr.c: Likewise.
44588         * string/rawmemchr.c: Likewise.
44589         * string/strcat.c: Likewise.
44590         * string/strchr.c: Likewise.
44591         * string/strchrnul.c: Likewise.
44592         * string/strcmp.c: Likewise.
44593         * string/strcpy.c: Likewise.
44594         * string/strncat.c: Likewise.
44595         * string/strncmp.c: Likewise.
44596         * string/strncpy.c: Likewise.
44598 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44600         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44601         __builtin_memcopy is called when src and dest ranges are known to not
44602         overlap.
44604 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44606         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44607         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44608         fwd_align_merge macro call.
44609         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44610         bwd_align_merge macro call.
44611         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44613 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44615         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44616         bwd_align_merge macros.
44617         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44618         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44619         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44621 2012-04-18  David S. Miller  <davem@davemloft.net>
44623         * sysdeps/sparc/sparc64/memcopy.h: Delete.
44625 2012-04-18  Andreas Jaeger  <aj@suse.de>
44627         [BZ# 6794]
44628         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44629         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44630         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44632         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44633         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44634         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44636         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44637         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44638         Adjust for changed ldbl-128 files.
44640         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44641         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44642         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44644 2012-04-17  David S. Miller  <davem@davemloft.net>
44646         * sysdeps/sparc/sparc32/memcopy.h: Delete.
44648 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
44650         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44651         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44652         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44653         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44654         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44655         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44657 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44659         [BZ #6794]
44660         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44661         * math/libm-test.inc: Add ilogb errno and exception tests.
44662         * math/w_ilogb.c: New file: ilogb wrapper.
44663         * math/w_ilogbf.c: New file: ilogbf wrapper.
44664         * math/w_ilogbl.c: New file: ilogbl wrapper.
44665         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44666         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44667         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44668         exception being thrown with 0.0 as argument.
44669         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44670         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44671         exception being thrown with 0.0 as argument.
44672         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44673         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44674         exception being thrown with 0.0 as argument.
44675         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44676         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44677         exception being thrown with 0.0 as argument.
44678         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44679         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44680         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44681         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44682         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44683         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44684         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44685         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44686         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44688 2012-04-17  Petr Baudis  <pasky@ucw.cz>
44690         * include/sys/uio.h: Change __vector to __iovec to avoid clash
44691         with altivec.
44693 2012-04-16  Marek Polacek  <polacek@redhat.com>
44695         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44697 2012-04-16  Marek Polacek  <polacek@redhat.com>
44699         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44700         operands of fdivp instruction.
44702 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44704         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44705         * elf/tst-auditmod3b.c: Likewise.
44706         * elf/tst-auditmod4b.c: Likewise.
44707         * elf/tst-auditmod5b.c: Likewise.
44708         * elf/tst-auditmod6b.c: Likewise.
44709         * elf/tst-auditmod6c.c: Likewise.
44710         * elf/tst-auditmod7b.c: Likewise.
44711         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44712         * sysdeps/x86_64/preconfigure.in: Likewise.
44713         * sysdeps/x86_64/preconfigure: Regenerated.
44715 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44717         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44718         __ILP32__.
44720 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
44722         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44723         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44725 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
44727         [BZ #13973]
44728         * locale/iso-639.def: Fix gl language name. Spotted by
44729         Yaron Shahrabani.
44731 2012-04-12  Roland McGrath  <roland@hack.frob.com>
44733         [BZ #2074]
44734         * libio/libio.h (__io_write_fn): Update comment.
44736 2012-04-12  Petr Baudis  <pasky@ucw.cz>
44738         [BZ #2074]
44739         * stdio.texi (Hook Functions): The user provided writer function
44740         is not allowed to return -1.
44742 2012-04-11  David S. Miller  <davem@davemloft.net>
44744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44746 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
44748         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44749         Add a leading slash to rtkaio.
44751 2012-04-11  Jim Meyering  <meyering@redhat.com>
44753         [BZ #11959]
44754         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44755         It is not necessarily an error to ignore fwrite's return
44756         value.  One can reliably use ferror to test for errors after
44757         the fact.
44759 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44761         * bits/types.h (__snseconds_t): New type.
44762         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44764         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44765         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44766         (__SNSECONDS_T_TYPE): Likewise.
44767         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44768         (__SNSECONDS_T_TYPE): Likewise.
44769         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44770         (__SNSECONDS_T_TYPE): Likewise.
44772 2012-04-10  Andreas Jaeger  <aj@suse.de>
44774         [BZ #2636]
44775         * manual/time.texi (Processor Time): Return type of times is
44776         elapsed real time since an arbitrary point in the past.
44777         (CPU Time): Move CLK_TCK from here...
44778         (Processor Time): ...to here.  Correct description.
44779         * manual/conf.texi (Constants for Sysconf): Correct description of
44780         _SC_CLK_TCK.
44782 2012-04-10  David S. Miller  <davem@davemloft.net>
44784         [BZ #13967]
44785         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44786         where the is a gap between DT_REL(A) and DT_JMPREL.
44788 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44790         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44791         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44792         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44794 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44796         * elf/dl-support.c (_dl_inhibit_cache): New variable.
44797         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44798         (dl_main): Handle --inhibit-cache.
44799         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44800         _dl_inhibit_cache.
44801         * elf/dl-load.c (_dl_map_object): Use it.
44802         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44804 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44806         [BZ #13872]
44807         * sysdeps/i386/fpu/e_powl.S (p78): New object.
44808         (__ieee754_powl): Saturate large exponents rather than testing for
44809         overflow of y*log2(x).
44810         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44811         * math/libm-test.inc (pow_test): Do not permit spurious overflow
44812         exceptions.
44814         [BZ #11521]
44815         * math/s_ctan.c: Include <float.h>.
44816         (__ctan): Avoid internal overflow or cancellation in calculating
44817         denominator.
44818         * math/s_ctanf.c: Likewise.
44819         * math/s_ctanl.c: Likewise.
44820         * math/s_ctanh.c: Likewise.
44821         * math/s_ctanhf.c: Likewise.
44822         * math/s_ctanhl.c: Likewise.
44823         * math/libm-test.inc (ctan_test): Add more tests.
44824         (ctanh_test): Likewise.
44825         * sysdeps/i386/fpu/libm-test-ulps: Update.
44826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44828 2012-04-09  Andreas Jaeger  <aj@suse.de>
44830         [BZ #6894]
44831         * manual/filesys.texi (Directory Entries): Mention that d_namlen
44832         is an optional BSD extension.
44834         [BZ #10254]
44835         * manual/stdio.texi (Opening Streams): Document additional fopen
44836         parameters.
44838 2012-04-09  Roland McGrath  <roland@hack.frob.com>
44840         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44841         %eax without telling the compiler.
44843 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
44845         [BZ # 13963]
44846         * manual/install.texi: Use sourceware.org.
44848 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44850         [BZ #13873]
44851         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44852         (__ieee754_pow): Generate overflow and underflow using huge*huge
44853         and tiny*tiny rather than just returning constant infinity or zero
44854         for large exponents.
44855         * math/libm-test.inc (pow_test): Require overflow exceptions for
44856         applicable cases of large exponents.
44858         [BZ #706]
44859         * sysdeps/i386/fpu/e_pow.S (p10): New object.
44860         (__ieee754_pow): Use iterative multiplication algorithm only for
44861         integer exponents with absolute value below 1024.  Check for odd
44862         integer exponents when using algorithm for real exponents.
44863         * math/libm-test.inc (pow_test): Add more tests.
44864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44866 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
44868         [BZ #13705]
44869         * math/libm-test.inc (exp_test): Do not allow overflow exception
44870         on underflow test.
44872 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
44874         [BZ #13705]
44875         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44876         instead of __kernel_standard_f.
44878 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
44880         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44881         * sysdeps/x86_64/memset_chk.S: Likewise.
44883 2012-04-08  Andreas Jaeger  <aj@suse.de>
44885         [BZ #10153]
44886         * manual/startup.texi (Environment Access): Describe return value
44887         for putenv and setenv.
44889         [BZ #6895]
44890         * manual/filesys.texi (Directory Entries): Add description for
44891         DT_LNK.
44893         [BZ #6890]
44894         * manual/filesys.texi (Directory Entries): Clarify that it's file
44895         system not operating system in the description of DT_UNKNOWN.
44897         [BZ #6578]
44898         * manual/syslog.texi (closelog): Fix reference, it's openlog.
44900 2012-04-08  Stephen Compall  <s11@member.fsf.org>
44902         [BZ #6649]
44903         * manual/llio.texi (Opening and Closing Files): Add cross
44904         reference to explain mode argument.
44906 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
44908         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44909         * sysdeps/x86_64/memset_chk.S: Likewise.
44911 2012-04-07  David S. Miller  <davem@davemloft.net>
44913         * elf/elf.h (R_SPARC_WDISP10): Define.
44914         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44915         R_SPARC_SIZE32.
44916         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44917         R_SPARC_SIZE64 and R_SPARC_H34.
44919 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
44921         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44922         conditions and remove no longer applicable assertion.
44924 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
44926         * bits/byteswap.h: Include <features.h>.
44927         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44928         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44930 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
44932         * bits/byteswap.h (__bswap_16): Removed.
44933         Include <bits/byteswap-16.h> to get __bswap_16.
44934         * sysdeps/i386/bits/byteswap.h: Likewise.
44935         * sysdeps/s390/bits/byteswap.h: Likewise.
44936         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44937         * bits/byteswap-16.h: New file.
44938         * sysdeps/i386/bits/byteswap-16.h: Likewise.
44939         * sysdeps/s390/bits/byteswap-16.h: Likewise.
44940         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44941         * string/Makefile (headers): Add bits/byteswap-16.h.
44943 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44945         [BZ #13895]
44946         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44947         extra indirection.
44948         * nss/Makefile (tests-static, tests): Add tst-nss-static.
44949         * nss/tst-nss-static.c: New.
44951 2012-04-06  Robert Millan  <rmh@gnu.org>
44953         [BZ #6486]
44954         * manual/llio.texi (File Position Primitive): lseek
44955         refers to WHENCE when it really means OFFSET.
44957 2012-04-06  Andreas Jaeger  <aj@suse.de>
44959         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44960         strncmp declarations.
44962         * abilist/libc.abilist: Add __poll and __ppoll.
44964 2012-04-05  David S. Miller  <davem@davemloft.net>
44966         * scripts/check-local-headers.sh: Accept a host triplet in the
44967         path matched by the exclude regexp.
44969         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44970         definition.
44971         * sysdeps/powerpc/powerpc32/dl-machine.h
44972         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44973         * sysdeps/s390/s390-32/dl-machine.h
44974         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44975         * sysdeps/sparc/sparc32/dl-machine.h
44976         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44977         * sysdeps/sparc/sparc64/dl-machine.h
44978         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44980         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44981         lazy binding.
44982         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44983         undefined symbol errors.
44985         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44986         DT_NEEDED entries.
44988 2012-04-05  Michael Matz  <matz@suse.de>
44990         [BZ #13592]
44991         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44993 2012-04-05  Andreas Jaeger  <aj@suse.de>
44995         [BZ #13908]
44996         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44997         comment.
44999 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45001         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45002         which ROUND is no valid rounding mode.
45004 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45006         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45007         read again.
45008         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45010 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45012         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45013         an exception using FPU order intentionally.
45015 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45017         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45018         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45019         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45020         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45022 2012-04-05  Simon Josefsson  <simon@josefsson.org>
45024         [BZ #12340]
45025         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45026         EINVAL when BUFLEN is too smal.
45028 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45030         [BZ #13553]
45031         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45032         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45034 2012-04-03  Andreas Jaeger  <aj@suse.de>
45036         [BZ #13938]
45037         * manual/setjmp.texi (System V contexts): Fix sentence.
45039         [BZ #13926]
45040         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45041         New macro for this case.
45042         [!__GNUC__] (__bswap_64): New inline function for this case.
45043         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45044         * bits/byteswap.h: Likewise.
45045         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45046         ull, guard with __GLIBC_HAVE_LONG_LONG.
45048         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45049         __GLIBC_HAVE_LONG_LONG.
45051         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45052         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45054 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45056         [BZ #13691]
45057         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45058         inptr and inend, rather than using last_ch.
45060 2012-04-02  David S. Miller  <davem@davemloft.net>
45062         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45063         * stdio-common/printf-parse.h (read_int): Change return type to
45064         'int', return -1 on INT_MAX overflow.
45065         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45066         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
45067         overflows INT_MAX.  Check for overflow of in-format-string precision
45068         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
45069         SIZE_MAX not INT_MAX for integer overflow test.
45070         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45071         skip the construct in the format string but do not record anything.
45072         * stdio-common/bug22.c: Adjust to test both width/prevision
45073         INT_MAX overflow as well as total length INT_MAX overflow.  Check
45074         explicitly for proper errno values.
45076 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45078         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45079         CHAR_MAX.
45080         * string/test-strcmp.c [! WIDE]: Likewise.
45081         * time/tst-mktime2.c: Likewise for INT_MAX.
45082         * string/test-string.h: #include <sys/param.h> for MIN.
45084         * csu/init-first.c (__libc_init_first): Call __ctype_init.
45085         * sysdeps/i386/init-first.c (init): Likewise.
45086         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45087         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45088         * sysdeps/sh/init-first.c (init): Likewise.
45090 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
45092         * po/ru.po: Update from translation team.
45093         * po/vi.po: Likewise.
45095 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45097         * resolv/nss_dns/dns-host.c: Merge copyright years.
45099 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45101         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45102         Optimize memcpy with prefetch if
45103         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
45104         src, dst pointers have unequal 16 byte alignments.
45106 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45108         [BZ #13928]
45109         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45110         from a CNAME entry and return the minimum ttl for the query.
45111         (gaih_getanswer_slice): Likewise.
45113 2012-03-30  Jeff Law  <law@redhat.com>
45115         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45116         due to long keys.
45117         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45118         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45120         * resolv/nss_dns/dns-host.c: Update copyright year.
45122 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
45124         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45125         requests to save a system call.  Fix check that all bytes are sent.
45127         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45128         comments for sendmmsg.
45130 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45132         [BZ #13691]
45133         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45134         with only 1 character between 0x0041 and 0x01b0.
45135         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45136         * wcsmbs/tst-mbsnrtowcs.c: New file.
45138 2012-03-29  David S. Miller  <davem@davemloft.net>
45140         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45141         small copies by hand.
45143 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45145         [BZ #13761]
45146         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45147         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45148         group memberships.
45150 2012-03-28  David S. Miller  <davem@davemloft.net>
45152         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45153         that branches into memcpy.
45154         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45155         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45156         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45157         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45158         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45159         bits.
45160         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45161         implementation too.
45162         * sysdeps/sparc/mempcpy.S: New file.
45164         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45165         the IFUNC routine in the libc case.
45166         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45168         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45169         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45170         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45171         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45172         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45173         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45174         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45175         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45177         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45178         loop to 256 bytes instead of 64 bytes and fix test signedness.
45180         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45181         * sysdeps/sparc/sparc32/Makefile: rather than here...
45182         * sysdeps/sparc/sparc64/Makefile: and here.
45184 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
45186         * malloc/mallocbug.c: Avoid warnings about unused variables.
45188 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45190         [BZ #13760]
45191         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45192         in the right place. Discard and retry query if response is
45193         larger than input buffer size.
45195 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
45197         [BZ #369]
45198         [BZ #2678]
45199         [BZ #3866]
45200         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45201         x for large integer exponent.
45202         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45203         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
45204         sign of result as needed afterwards.
45205         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45206         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45207         result for underflowing pow the same as for overflow.
45208         (__kernel_standard_l): Handle powl overflow and underflow here
45209         rather than calling __kernel_standard.
45210         * math/libm-test.inc (pow_test): Add more tests.
45212         [BZ #3868]
45213         [BZ #13879]
45214         [BZ #13910]
45215         [BZ #13911]
45216         [BZ #13912]
45217         [BZ #13913]
45218         [BZ #13915]
45219         [BZ #13916]
45220         [BZ #13917]
45221         [BZ #13918]
45222         [BZ #13919]
45223         [BZ #13920]
45224         [BZ #13921]
45225         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45226         * sysdeps/ieee754/k_standard.c: Include <float.h>.
45227         (__kernel_standard_l): New function.
45228         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45229         __kernel_standard.
45230         * math/w_acosl.c (__acosl): Likewise.
45231         * math/w_asinl.c (__asinl): Likewise.
45232         * math/w_atan2l.c (__atan2l): Likewise.
45233         * math/w_atanhl.c (__atanhl): Likewise.
45234         * math/w_coshl.c (__coshl): Likewise.
45235         * math/w_exp10l.c (__exp10l): Likewise.
45236         * math/w_exp2l.c (__exp2l): Likewise.
45237         * math/w_fmodl.c (__fmodl): Likewise.
45238         * math/w_hypotl.c (__hypotl): Likewise.
45239         * math/w_j0l.c (__j0l, __y0l): Likewise.
45240         * math/w_j1l.c (__j1l, __y1l): Likewise.
45241         * math/w_jnl.c (__jnl, __ynl): Likewise.
45242         * math/w_lgammal.c (__lgammal): Likewise.
45243         * math/w_log10l.c (__log10l): Likewise.
45244         * math/w_log2l.c (__log2l): Likewise.
45245         * math/w_logl.c (__logl): Likewise.
45246         * math/w_powl.c (__powl): Likewise.
45247         * math/w_remainderl.c (__remainderl): Likewise.
45248         * math/w_scalbl.c (sysv_scalbl): Likewise.
45249         * math/w_sinhl.c (__sinhl): Likewise.
45250         * math/w_sqrtl.c (__sqrtl): Likewise.
45251         * math/w_tgammal.c (__tgammal): Likewise.
45252         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45253         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45254         * math/libm-test.inc (acos_test): Add more tests.
45255         (acosh_test): Likewise.
45256         (asin_test): Likewise.
45257         (atanh_test): Likewise.
45258         (exp_test): Likewise.
45259         (exp10_test): Likewise.
45260         (exp2_test): Likewise.
45261         (expm1_test): Likewise.
45262         (lgamma_test): Likewise.
45263         (log_test): Likewise.
45264         (log10_test): Likewise.
45265         (log1p_test): Likewise.
45266         (log2_test): Likewise.
45267         (pow_test): Do not allow some spurious overflow exceptions.
45268         (sqrt_test): Add more tests.
45269         (tgamma_test): Likewise.
45270         (y0_test): Likewise.
45271         (y1_test): Likewise.
45272         (yn_test): Likewise.
45274 2012-03-27  Anton Blanchard  <anton@samba.org>
45276         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45277         MAP_HUGETLB.
45278         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45279         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45280         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45282 2012-03-27  David S. Miller  <davem@davemloft.net>
45284         * conform/Makefile: Run run-conformtest.sh using $(BASH).
45286         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45287         have-as-vis3 check.
45289 2012-03-27  Andreas Jaeger  <aj@suse.de>
45291         * sysdeps/x86_64/elf/configure.in: Moved to ...
45292         * sysdeps/x86_64/configure.in: ... here.
45293         * sysdeps/x86_64/elf/start.S: Moved to ...
45294         * sysdeps/x86_64/start.S: ... here.
45295         * sysdeps/x86_64/elf/configure: Delete.
45297         * sysdeps/x86_64/configure.in: Merge contents from
45298         sysdeps/i386/configure.in (without i686 check).
45300         * sysdeps/i386/elf/Versions: Merge into ...
45301         * sysdeps/i386/Versions: ... this.
45302         * sysdeps/i386/elf/Versions: Delete file.
45303         * sysdeps/i386/elf/start.S: Moved to ...
45304         * sysdeps/i386/start.S: ...here.
45305         * sysdeps/i386/elf/configure.in: Merge into...
45306         * sysdeps/i386/configure.in: ...here.
45307         * sysdeps/i386/elf/configure.in: Delete file.
45308         * sysdeps/i386/elf/configure: Delete file.
45310         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45311         * debug/backtracesyms.c: ... here.
45312         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45313         * debug/backtracesymsfd.c: ... here.
45314         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45315         * sysdeps/generic/ifunc-sel.h: ... here.
45317         * sysdeps/unix/i386/start.c: Delete file.
45318         * sysdeps/unix/sparc/start.c: Delete file.
45319         * sysdeps/unix/start.c: Delete file.
45321         * sysdeps/sh/elf/configure.in: Moved to ...
45322         * sysdeps/sh/configure.in: ... here.
45323         * sysdeps/sh/elf/start.S: Moved to ...
45324         * sysdeps/sh/start.S: ... here.
45325         * sysdeps/sh/elf/configure: Delete file.
45327         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45328         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45329         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45330         * sysdeps/powerpc/powerpc64/entry.h: ... here.
45331         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45332         * sysdeps/powerpc/powerpc64/start.S: here.
45333         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45334         * sysdeps/powerpc/powerpc64/Makefile: ... this.
45335         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45336         * sysdeps/powerpc/powerpc64/configure.in: ... this.
45337         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45339         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45340         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45341         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45342         * sysdeps/powerpc/powerpc32/start.S: ... here.
45343         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45344         * sysdeps/powerpc/powerpc32/configure.in: ... this.
45345         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45347         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45348         * sysdeps/powerpc/ifunc-sel.h: ... here.
45349         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45350         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45352         * sysdeps/sparc/elf/configure.in: Moved to ...
45353         * sysdeps/sparc/configure.in: ... here.
45354         * sysdeps/sparc/elf/configure: Delete file.
45355         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45356         * sysdeps/sparc/sparc32/start.S: ... here.
45357         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45358         * sysdeps/sparc/sparc64/start.S: ... here.
45359         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45360         * sysdeps/sparc/sparc32/Makefile: ... this.
45361         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45362         * sysdeps/sparc/sparc64/Makefile: ... this.
45364         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45365         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45366         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45367         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45368         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45369         * sysdeps/s390/s390-32/setjmp.S: ... here.
45370         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45371         * sysdeps/s390/s390-32/configure.in: ... here.
45372         * sysdeps/s390/s390-32/elf/configure: Delete file.
45373         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45374         * sysdeps/s390/s390-32/start.S: ... here.
45376         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45377         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45378         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45379         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45380         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45381         * sysdeps/s390/s390-64/setjmp.S: ... here.
45382         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45383         * sysdeps/s390/s390-64/configure.in: ... here
45384         * sysdeps/s390/s390-64/elf/configure: Delete file.
45385         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45386         * sysdeps/s390/s390-64/start.S: ... here.
45387         * sysdeps/s390/s390-64/elf/configure: Delete.
45389         * configure.in: Remove support for elf directories in sysdeps.
45391         * configure: Regenerated.
45392         * sysdeps/i386/configure: Regenerated.
45393         * sysdeps/powerpc/powerpc32/configure: Regenerated.
45394         * sysdeps/powerpc/powerpc64/configure: Regenerated.
45395         * sysdeps/s390/s390-32/configure: Regenerated.
45396         * sysdeps/s390/s390-64/configure: Regenerated.
45397         * sysdeps/sh/configure: Regenerated.
45398         * sysdeps/sparc/configure: Regenerated.
45399         * sysdeps/x86_64/configure: Regenerated.
45401 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
45403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45405         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45406         denormal result into account.
45408 2012-03-25  Roland McGrath  <roland@hack.frob.com>
45410         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45411         Reported by Allan McRae <allan@archlinux.org>.
45413 2012-03-23  Jeff Law  <law@redhat.com>
45415         * nss/getnssent.c (__nss_getent): Fix typo.
45417 2012-03-23  David S. Miller  <davem@davemloft.net>
45419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45421 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
45423         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45424         to pad to uint64_t for each field.
45425         (dl_tls_index): Replace unsigned long with uint64_t.
45427 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
45428         Paul Pluzhnikov  <ppluzhnikov@google.com>
45430         [BZ #6528]
45431         * grp/Makefile (otherlibs): Don't set it.
45432         * inet/Makefile (otherlibs): Likewise.
45433         * login/Makefile (otherlibs): Likewise.
45434         * nscd/Makefile (otherlibs): Likewise.
45435         * posix/Makefile (otherlibs): Likewise.
45436         * pwd/Makefile (otherlibs): Likewise.
45437         * rt/Makefile (otherlibs): Likewise.
45438         * sunrpc/Makefile (otherlibs): Likewise.
45439         * nss/Makefile (otherlibs): Likewise.
45440         Add libnss_files to routines and static-only-routines.
45441         ($(objpfx)getent): Remove rule.
45442         * resolv/Makefile: Add libnss_dns and libresolv to routines and
45443         static-only-routines.
45445 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45447         [BZ #13892]
45448         * math/s_cexp.c: Include <float.h>.
45449         (__cexp): Handle exp result overflowing not necessarily
45450         overflowing both real and imaginary parts of result.
45451         * math/s_cexpf.c: Likewise.
45452         * math/s_cexpl.c: Likewise.
45453         * math/libm-test.inc (cexp_test): Add more tests.
45454         * sysdeps/i386/fpu/libm-test-ulps: Update.
45455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45457 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45459         * include/link.h (ELFW): New macro.
45460         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45461         Replace ELF64_R_TYPE with ELFW(R_TYPE).
45463 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45465         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45466         with uint64_t.
45468 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45470         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45471         declaration.
45472         (struct La_x32_retval): Likewise.
45474 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45476         * sysdeps/x86_64/preconfigure.in: New file.
45477         * sysdeps/x86_64/preconfigure: New generated file.
45479 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45481         [BZ #13824]
45482         * math/e_exp2l.c: Include <float.h>.
45483         (__ieee754_exp2l): Handle overflow and underflow cases
45484         separately.  Only pass fractional part of argument to
45485         __ieee754_expl.
45486         * math/libm-test.inc (exp2_test): Add more tests.
45488         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45489         negating x to take absolute value.
45490         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45491         Likewise.
45492         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45493         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45494         Likewise.
45495         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45496         computing low part if x was negated.
45497         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45499 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45501         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45502         la_x32_gnu_pltexit.
45503         (pltexit): Cast int_retval to ptrdiff_t.
45504         * elf/tst-auditmod3b.c: Likewise.
45505         * elf/tst-auditmod4b.c: Likewise.
45506         * elf/tst-auditmod5b.c: Likewise.
45507         * elf/tst-auditmod6b.c: Likewise.
45508         * elf/tst-auditmod6c.c: Likewise.
45509         * elf/tst-auditmod7b.c: Likewise.
45511         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45512         and x32_gnu_pltexit.
45514         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45515         __ELF_NATIVE_CLASS.
45516         (La_x32_regs): New macro.
45517         (La_x32_retval): Likewise.
45518         (la_x32_gnu_pltenter): New function prototype.
45519         (la_x32_gnu_pltexit): Likewise.
45521 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
45523         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45524         exponent.
45526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45528         * configure.in (libc_cv_cc_nofma): Check for option to disable
45529         generation of FMA instructions.
45530         * configure: Regenerate.
45531         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45532         * sysdeps/ieee754/dbl-64/Makefile: New file.
45533         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45534         Remove brandred-fma4.
45535         (CFLAGS-brandred-fma4.c): Remove.
45536         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45537         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45538         define.
45539         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45540         define.
45542 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45544         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45545         LLONG_MAX != LONG_MAX.
45546         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45547         (_fitoa_word): Likewise.
45548         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45549         LLONG_MAX != LONG_MAX.
45550         * stdio-common/_itowa.h: Include <_itoa.h>.
45551         (_itowa_word): Use _ITOA_WORD_TYPE on value.
45552         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
45553         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
45554         only if not defined.
45555         (_ITOA_WORD_TYPE): Likewise.
45556         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45557         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45559 2012-03-21  David S. Miller  <davem@davemloft.net>
45561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45563 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45565         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45566         of x86_64 when setting libc_cv_slibdir, libdir and
45567         libc_cv_localedir.
45568         * sysdeps/unix/sysv/linux/configure: Regenerated.
45570 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45572         * manual/lang.texi (Old Varargs): Remove section.
45573         (How Variadic): Update menu.
45574         (va_start): Do not mention varargs.h.
45576 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45577             Joseph Myers  <joseph@codesourcery.com>
45579         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45580         link test.
45581         * configure: Regenerated.
45583 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45585         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45586         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45587         conformtest.pl
45589 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45591         * NOTES: Remove.
45592         * Makefile (files-for-dist): Remove NOTES.
45593         (NOTES): Remove rule.
45594         * README: Don't refer to NOTES.
45595         * manual/creature.texi: Don't include macros.texi.
45596         * manual/intro.texi (creature.texi): Remove comment referring to
45597         NOTES.
45599         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45600         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45601         * configure: Regenerated.
45602         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45603         LIBC_TRY_CC_OPTION.
45604         (libc_cv_as_i686): Likewise.
45605         (libc_cv_cc_avx): Likewise.
45606         (libc_cv_cc_sse2avx): Likewise.
45607         (libc_cv_cc_fma4): Likewise.
45608         (libc_cv_cc_novzeroupper): Likewise.
45609         * sysdeps/i386/configure: Regenerated.
45611         [BZ #13883]
45612         * sysdeps/i386/fpu/s_cexp.S: Remove.
45613         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45614         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45615         * math/libm-test.inc (cexp_test): Add more tests.
45616         * sysdeps/i386/fpu/libm-test-ulps: Update.
45617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45619 2012-03-21  Allan McRae  <allan@archlinux.org>
45621         * timezone/Makefile: Do not install iso3166.tab and zone.tab
45623 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45625         [BZ #13871]
45626         * math/w_exp2.c: Do not include <float.h>.
45627         (o_threshold, u_threshold): Remove.
45628         (__exp2): Calculate result before checking finiteness and calling
45629         __kernel_standard.
45630         * math/w_exp2f.c: Likewise.
45631         * math/w_exp2l.c: Likewise.
45632         * math/libm-test.inc (exp2_test): Require overflow exception for
45633         1e6 input.
45635         [BZ #3866]
45636         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45637         range of signed 64-bit integers before using fistpll.  Remove
45638         checks for whether integers fit in mantissa bits.
45639         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45640         the range of signed 32-bit integers before using fistpl.  Remove
45641         checks for whether integers fit in mantissa bits.
45642         * sysdeps/i386/fpu/e_powl.S (p64): New object.
45643         (__ieee754_powl): Test for y outside the range of signed 64-bit
45644         integers before using fistpll.  Reduce 64-bit values to 63-bit
45645         ones as needed.
45646         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45647         divide-by-zero is raised for zero to large negative powers.
45648         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45649         (__ieee754_powl): Test for y outside the range of signed 64-bit
45650         integers before using fistpll.  Reduce 64-bit values to 63-bit
45651         ones as needed.
45652         * math/libm-test.inc (pow_test): Add more tests.
45654 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45656         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45657         <stdio-common/_itoa.h>.
45658         * debug/segfault.c: Likewise.
45659         * elf/dl-cache.c: Likewise.
45660         * elf/dl-minimal.c: Likewise.
45661         * elf/dl-misc.c: Likewise.
45662         * elf/dl-sysdep.c: Likewise.
45663         * elf/dl-version.c: Likewise.
45664         * elf/rtld.c: Likewise.
45665         * hurd/hurdsock.c: Likewise.
45666         * hurd/lookup-retry.c: Likewise.
45667         * malloc/malloc.c: Likewise.
45668         * malloc/mtrace.c: Likewise.
45669         * nscd/nscd_getgr_r.c: Likewise.
45670         * nscd/nscd_getpw_r.c: Likewise.
45671         * nscd/nscd_getserv_r.c: Likewise.
45672         * posix/getopt_init.c: Likewise.
45673         * posix/wordexp.c: Likewise.
45674         * stdio-common/_itoa.c: Likewise.
45675         * stdio-common/printf_fphex.c: Likewise.
45676         * stdio-common/vfprintf.c: Likewise.
45677         * string/_strerror.c: Likewise.
45678         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45679         * sysdeps/i386/i686/hp-timing.h: Likewise.
45680         * sysdeps/mach/_strerror.c: Likewise.
45681         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45682         * sysdeps/mach/hurd/sethostid.c: Likewise.
45683         * sysdeps/mach/hurd/xmknodat.c: Likewise.
45684         * sysdeps/mach/xpg-strerror.c: Likewise.
45685         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45686         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45687         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45688         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45689         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45690         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45691         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45692         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45693         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45694         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45695         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45696         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45697         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45698         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45699         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45700         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45701         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45702         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45703         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45704         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45705         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45707         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45709         * stdio-common/_itoa.h: Moved to ...
45710         * sysdeps/generic/_itoa.h: Here.
45712         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45714         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45715         instead of "_itoa.h" and "_itowa.h".
45716         * stdio-common/vfprintf.: Likewise.
45718 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45720         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45721         <bits/wordsize.h>.
45722         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45723         (__signbit): Likwise.
45724         (llrintf): Likwise.
45725         (llrint): Likwise.
45727 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45729         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45730         __WORDSIZE != 64.
45732 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
45734         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45735         OVERFLOW_EXCEPTION_OK.
45736         * math/libm-test.inc ("Philosophy"): Update comment about
45737         exception testing.
45738         (OVERFLOW_EXCEPTION): Define.
45739         (OVERFLOW_EXCEPTION_OK): Likewise.
45740         (INVALID_EXCEPTION_OK): Renumber.
45741         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45742         (IGNORE_ZERO_INF_SIGN): Likewise.
45743         (test_exceptions): Handle FE_OVERFLOW.
45744         (exp10_test): Expect overflow exceptions.
45745         (exp2_test): Likewise.
45746         (expm1_test): Likewise.
45747         (nextafter_test): Likewise.
45748         (pow_test): Likewise.
45749         (scalbn_test): Likewise.
45750         (scalbln_test): Likewise.
45752 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45754         * sysdeps/x86_64/bits/atomic.h
45755         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45756         64bit integer.
45757         (atomic_exchange_acq): Likewise.
45758         (__arch_exchange_and_add_body): Likewise.
45759         (__arch_add_body): Likewise.
45760         (atomic_add_negative): Likewise.
45761         (atomic_add_zero): Likewise.
45763 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45765         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45766         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45768 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45770         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45771         Check __x86_64__ instead of __WORDSIZE.
45773 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45775         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45777 2012-03-19  David S. Miller  <davem@davemloft.net>
45779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45781         * sysdeps/sparc/fpu/fenv_private.h: New file.
45782         * sysdeps/sparc/fpu/math_private.h: Use it.
45783         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45784         Remove.
45785         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45786         (libc_feholdexcept_setroundl): Remove.
45787         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45788         Remove.
45789         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45790         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45792 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45794         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45795         int64_t instead of long int.
45796         (INSERT_WORDS64): Likwise.
45798 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45800         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45801         _Unwind_GetCFA return to _Unwind_Ptr first.
45803 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
45805         [BZ #13629]
45806         * math/s_clog.c: Include <float.h>.
45807         (__clog): Scale large or subnormal inputs.
45808         * math/s_clogf.c: Likewise.
45809         * math/s_clogl.c: Likewise.
45810         * math/s_clog10.c: Include <float.h>.
45811         (M_LOG10_2): Define.
45812         (__clog10): Scale large or subnormal inputs.
45813         * math/s_clog10f.c: Likewise.
45814         * math/s_clog10l.c: Likewise.
45815         * math/libm-test.inc (clog_test): Add more tests.
45816         (clog10_test): Likewise.
45817         * sysdeps/i386/fpu/libm-test-ulps: Update.
45818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45820         [BZ #11451]
45821         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45822         x and y.
45823         * math/libm-test.inc (atan2_test): Add another test.
45825         * Makerules (common-objdir-compile): Remove.
45826         * sysdeps/unix/Makefile (config-generated): Do not add
45827         $(unix-generated) to variable.
45828         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45829         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45830         Remove rule.
45831         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45832         Likewise.
45833         [generic bits/local_lim.h] (before-compile): Do not append to
45834         variable.
45835         [generic bits/local_lim.h] (common-generated): Likewise.
45836         [generic sys/param.h] (before-compile): Do not append to variable.
45837         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45838         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45839         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45840         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45841         include.
45842         [generic sys/param.h] (sys/param.h-includes): Remove variable.
45843         [generic sys/param.h] (sys/param.h-includes): Remove rule.
45844         [generic sys/param.h] ($(addprefix
45845         $(common-objpfx),$(sys/param.h-includes))): Likewise.
45846         [generic sys/param.h] (common-generated): Do not append to
45847         variable.
45848         [generic sys/param.h] (sysdep_headers): Likewise.
45849         [generic bits/errno.h] (before-compile): Do not append to
45850         variable.
45851         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45852         rule.
45853         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45854         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45855         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45856         [generic bits/errno.h] (common-generated): Do not append to
45857         variable.
45858         [generic bits/ioctls.h] (before-compile): Do not append to
45859         variable.
45860         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45861         rule.
45862         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45863         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45864         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45865         rule.
45866         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45867         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45868         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45869         [generic bits/ioctls.h] (common-generated): Do not append to
45870         variable.
45871         [generic sys/syscall.h] (syscall.h): Remove variable.
45872         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45873         rule.
45874         [generic sys/syscall.h] (before-compile): Do not append to
45875         variable.
45876         [generic sys/syscall.h] (common-generated): Likewise.
45877         * sysdeps/unix/errnos-tmpl.c: Remove file.
45878         * sysdeps/unix/errnos.awk: Likewise.
45879         * sysdeps/unix/ioctls-tmpl.c: Likewise.
45880         * sysdeps/unix/ioctls.awk: Likewise.
45881         * sysdeps/unix/mk-local_lim.c: Likewise.
45882         * sysdeps/unix/snarf-ioctls: Likewise.
45884 2012-03-19  Richard Henderson  <rth@twiddle.net>
45886         * sysdeps/i386/fpu/fenv_private.h: New file.
45887         * sysdeps/i386/fpu/math_private.h: Use it.
45888         (math_opt_barrier, math_force_eval): Remove.
45889         (libc_feholdexcept_setround_53bit): Remove.
45890         (libc_feupdateenv_53bit): Remove.
45891         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45892         (math_opt_barrier, math_force_eval): Remove.
45893         (libc_feholdexcept): Remove.
45894         (libc_feholdexcept_setround): Remove.
45895         (libc_fetestexcept, libc_fesetenv): Remove.
45896         (libc_feupdateenv_test): Remove.
45897         (libc_feupdateenv, libc_feholdsetround): Remove.
45898         (libc_feresetround): Remove.
45900         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45901         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45903         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45904         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45905         (libc_feupdateenv_testl): New.
45906         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45907         (libc_feupdateenv_testf): New.
45908         (libc_feupdateenv): Use libc_feupdateenv_test.
45909         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45910         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45912         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45913         (libc_feholdsetroundf, libc_feholdsetroundl): New.
45914         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45915         (libc_feresetround_noex): New.
45916         (libc_feresetround_noexf): New.
45917         (libc_feresetround_noexl): New.
45918         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45919         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45920         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45921         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45922         SET_RESTORE_ROUND.
45923         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45924         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45925         (__cos): Likewise.
45926         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45927         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45928         SET_RESTORE_ROUND_NOEX.
45929         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45930         SET_RESTORE_ROUND_NOEXF.
45931         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45932         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45933         (libc_feholdsetroundf): New.
45934         (libc_feresetround, libc_feresetroundf): New.
45936         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45937         (libc_feholdexcept_setround_53bit): Convert from macro to function.
45938         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
45940         * sysdeps/generic/math_private.h: Include <fenv.h>.
45941         (default_libc_feholdexcept): New.
45942         (default_libc_feholdexcept_setround): New.
45943         (default_libc_fesetenv, default_libc_feupdateenv): New.
45944         (libc_feholdexcept): Only define if undefined.
45945         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45946         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45947         (libc_feholdexcept_setroundl): Likewise.
45948         (libc_feholdexcept_setround_53bit): Likewise.
45949         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45950         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45951         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45952         (libc_feupdateenv_53bit): Likewise.
45953         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45954         (libc_feholdexcept): Convert from macro to inline function.
45955         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45956         (libc_fesetenv, libc_feupdateenv): Likewise.
45958         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45959         not previously defined.
45960         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45961         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45962         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45963         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45964         * sysdeps/ieee754/flt-32/math_private.h: New file.
45965         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45966         math_private.h below SET_FLOAT_WORD.
45967         (__isnan, __isinf_ns, __finite): Remove.
45968         (__isnanf, __isinf_nsf, __finitef): Remove.
45970 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
45972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45974 2012-03-17  David S. Miller  <davem@davemloft.net>
45976         [BZ #6471]
45977         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45978         for 2.16.
45980 2012-03-16  David S. Miller  <davem@davemloft.net>
45982         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45983         warnings.
45985         [BZ #6471]
45986         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45987         properly.
45988         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45989         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45990         sysdep_routines when subdir is sysvipc.
45991         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45992         __getshmlba helper.
45994         * sysdeps/sparc/fpu/libm-test/ulps: Update.
45996 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45998         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45999         [__LP64__].
46001 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46003         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46004         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46005         (__lround): Renamed to ...
46006         (__llround): This.  Replace long int with long long int.
46007         Define lround functions as aliases of llround functions.
46008         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46010 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46012         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46013         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
46014         adresses to uintptr_t.  Replace "long int" and "unsigned long
46015         int" with "greg_t" on va_arg.
46017 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46019         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46020         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46022         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46023         Move e_machine check before EI_CLASS check.  Handle x32
46024         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46025         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46026         SKIP_EM_IA_64 and include
46027         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46029         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46030         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46031         (add_system_dir): New macro.
46033         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46034         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46036 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46038         [BZ #2551]
46039         [BZ #2552]
46040         [BZ #2553]
46041         [BZ #2554]
46042         [BZ #2562]
46043         [BZ #2563]
46044         [BZ #2565]
46045         [BZ #2566]
46046         [BZ #2576]
46047         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46048         (y0): Likewise.
46049         * math/w_j0f.c (j0f): Likewise.
46050         (y0f): Likewise.
46051         * math/w_j0l.c (__j0l): Likewise.
46052         (__y0l): Likewise.
46053         * math/w_j1.c (j1): Likewise.
46054         (y1): Likewise.
46055         * math/w_j1f.c (j1f): Likewise.
46056         (y1f): Likewise.
46057         * math/w_j1l.c (__j1l): Likewise.
46058         (__y1l): Likewise.
46059         * math/w_jn.c (jn): Likewise.
46060         (yn): Likewise.
46061         * math/w_jnf.c (jnf): Likewise.
46062         (ynf): Likewise.
46063         * math/w_jnl.c (__jnl): Likewise.
46064         (__ynl): Likewise.
46065         * math/libm-test.inc (j0_test): Add more tests.
46066         (j1_test): Likewise.
46067         (jn_test): Likewise.  Add trailing semicolon to existing test.
46068         (y0_test): Likewise.
46069         (y1_test): Likewise.
46070         * sysdeps/i386/fpu/libm-test-ulps: Update.
46071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46073         [BZ #13851]
46074         [BZ #13854]
46075         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46076         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46077         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46078         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46079         (__tanl): Set errno for infinite argument.
46080         * sysdeps/i386/fpu/mptan.c: Remove.
46081         * sysdeps/i386/fpu/s_tan.S: Likewise.
46082         * sysdeps/i386/fpu/s_tanl.S: Likewise.
46083         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46084         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46085         * math/libm-test.inc (tan_test): Add more tests and enable more
46086         tests for double and long double.
46087         * sysdeps/i386/fpu/libm-test-ulps: Update.
46088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46090 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
46092         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46093         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46095 2012-03-16  Roland McGrath  <roland@hack.frob.com>
46097         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46098         * configure.in: Use it for both main tree and add-ons.
46099         * configure: Regenerated.
46101 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46103         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46105 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46107         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46108         in comment.
46110         [BZ #13851]
46111         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46112         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46113         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46114         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46115         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46116         infinite argument.
46117         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46118         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46119         != 0 for prec == 2.
46120         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46121         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46122         * sysdeps/i386/fpu/s_cosl.S: Likewise.
46123         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46124         * sysdeps/i386/fpu/s_sinl.S: Likewise.
46125         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46126         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46127         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46128         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46129         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46130         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46131         * math/libm-test.inc (cos_test): Add more tests and enable more
46132         tests for long double.
46133         (sin_test): Likewise.
46134         (sincos_test): Likewise.
46135         * sysdeps/i386/fpu/libm-test-ulps: Update.
46136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46138 2012-03-16  David S. Miller  <davem@davemloft.net>
46140         * sysdeps/sparc/fpu/math_private.h: New file.
46142 2012-03-15  David S. Miller  <davem@davemloft.net>
46144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46145         file.
46146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46148         file.
46149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46151         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46152         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46153         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46154         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46155         sysdep routines.
46156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46158         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46159         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46161         * sysdeps/sparc/sparc-ifunc.h: New file.
46162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46163         sparc-ifunc.h
46164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46166         Likewise.
46167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46168         Likewise.
46169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46173         Likewise.
46174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46179         Likewise.
46180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46181         Likewise.
46182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46186         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46187         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46188         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46189         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46190         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46191         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46192         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46193         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46194         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46195         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46196         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46197         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46198         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46199         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46200         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46201         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46202         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46203         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46204         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46205         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46207 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46209         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46210         scaling.
46211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46213 2012-03-15  Andreas Jaeger  <aj@suse.de>
46215         [BZ #13852]
46216         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46217         ieee754/flt-32 implementation for sin, cos and sincos.
46218         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46219         * sysdeps/i386/fpu/s_cosf.S: Likewise.
46220         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46221         * sysdeps/i386/fpu/s_sinf.S: Likewise.
46222         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46223         ieee754/flt-32 implementation for tan.
46225         * math/libm-test.inc (cos_test): Enable some large input tests for
46226         float as well
46227         (sin_test): Likewise.
46228         (sincos_test): Likewise.
46229         (tan_test): Add tests for large input.
46231         * sysdeps/i386/fpu/libm-test-ulps: Update.
46233 2012-03-15  Andreas Jaeger  <aj@suse.de>
46235         [BZ #13658]
46236         * math/libm-test.inc (cos_test): Add more test cases.
46237         (sin_test): Likewise.
46238         (sincos_test): Likewise.
46240 2012-03-15  Andreas Jaeger  <aj@suse.de>
46242         [BZ #13837]
46243         * math/libm-test.inc (cos_test): Add a test case for large input
46244         value.
46245         (sin_test): Likewise.
46246         (sincos_test): Likewise.
46248 2012-03-15  Andreas Jaeger  <aj@suse.de>
46249             Joseph Myers  <joseph@codesourcery.com>
46251         [BZ #13658]
46252         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46253         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46254         * sysdeps/i386/fpu/branred.c: Likewise.
46255         * sysdeps/i386/fpu/dosincos.c: Likewise.
46256         * sysdeps/i386/fpu/mpa.c: Likewise.
46257         * sysdeps/i386/fpu/s_cos.S: Likewise.
46258         * sysdeps/i386/fpu/s_sin.S: Likewise.
46259         * sysdeps/i386/fpu/s_sincos.S: Likewise.
46260         * sysdeps/i386/fpu/sincos32.c: Likewise.
46262         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46263         Define.
46264         (libc_feupdateenv_53bit): Define.
46265         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46266         Define.
46267         (libc_feupdateenv_53bit): Define.
46269         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46270         53 bit (without extend i386 double precision).
46272         * math/libm-test.inc (sincos_test): Add tests for large input.
46273         (sin): Likewise.
46274         (cos): Likewise.
46276         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46278 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46282 2012-03-15  David S. Miller  <davem@davemloft.net>
46284         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46285         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46286         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46287         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46294         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46295         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46296         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46297         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46298         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46300         file.
46301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46303         file.
46304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46306         file.
46307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46309         file.
46310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46311         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46312         fmin/fmax sysdep routines.
46313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46315 2012-03-14  David S. Miller  <davem@davemloft.net>
46317         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46318         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46319         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46320         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46321         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46322         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46323         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46324         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46325         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46326         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46327         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46328         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46329         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46330         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46331         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46332         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46333         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46334         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46335         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46336         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46337         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46338         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46339         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46340         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46341         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46342         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46343         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46344         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46345         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46346         routines.
46347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46348         file.
46349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46351         file.
46352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46354         file.
46355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46357         file.
46358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46360         file.
46361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46363         file.
46364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46365         file.
46366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46367         file.
46368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46369         file.
46370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46371         New file.
46372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46373         file.
46374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46375         file.
46376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46378         file.
46379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46381         file.
46382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46384         file.
46385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46387         VIS3 routines.
46389         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46390         New file.
46392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46394         * sysdeps/sparc/configure.in: New file.
46395         * sysdeps/sparc/configure: Generate.
46396         * configure.in (libc_cv_sparc_as_vis3): Substitute.
46397         * configure: Regenerate.
46398         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46399         * config.make.in (have-as-vis3): New.
46400         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46401         available use -Av9d instead of -Av9a.
46402         * sysdeps/sparc/sparc64/Makefile: Likewise.
46403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46405         New file.
46406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46407         file.
46408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46409         New file.
46410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46411         file.
46412         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46413         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46414         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46415         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46416         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46418         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46419         fzeros/fnegs to load 0x80000000 into a float register instead of
46420         using the stack.
46421         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46423 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46425         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46426         bits/syscall.h.
46427         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46428         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46429         ($(inst_includedir)/bits/syscall.h): Remove rule.
46430         ($(objpfx)bits/syscall.d): Include instead of
46431         $(objpfx)syscall-list.d.
46432         (generated): Change syscall-list.h and syscall-list.d to
46433         bits/syscall.h and bits/syscall.d.
46435 2012-03-14  Roland McGrath  <roland@hack.frob.com>
46437         [BZ #13846]
46438         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46440 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46442         [BZ #13841]
46443         * math/s_csqrt.c: Include <float.h>.
46444         (__csqrt): Scale large or subnormal inputs.
46445         * math/s_csqrtf.c: Likewise.
46446         * math/s_csqrtl.c: Likewise.
46447         * math/libm-test.inc (csqrt_test): Add more tests.
46448         * sysdeps/i386/fpu/libm-test-ulps: Update.
46449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46451         [BZ #13840]
46452         * math/libm-test.inc (hypot_test): Add more tests.
46454 2012-03-13  David S. Miller  <davem@davemloft.net>
46456         [BZ #13840]
46457         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46458         double-precision for the calculation instead of scaling.
46460 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
46462         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46463         manipulate bits before adding and subtracting TWO52[sx].
46464         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46465         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46466         Likewise.
46467         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46469 2012-03-13  David S. Miller  <davem@davemloft.net>
46471         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46472         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46473         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46474         rtld-global-offsets.h
46475         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46477         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46478         large parameters.
46480         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46482         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46483         'err' in the ifdef scope in which it is actually used.
46485         * nss/nss_db/db-init.c: Include string.h
46487 2012-03-12  David S. Miller  <davem@davemloft.net>
46489         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46490         masking out of the most significant byte of random value used.
46491         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46492         Fix coding style in previous change.
46494         * sysdeps/unix/sysv/linux/kernel-features.h
46495         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46496         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46497         expression.
46498         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46499         later.
46501 2012-03-11  David S. Miller  <davem@davemloft.net>
46503         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46504         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46505         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46506         for 'resultvar' otherwise things get truncated on 64-bit.
46508         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46509         Fix masking out of the most significant byte of random value used.
46511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46513 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
46515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46517 2012-03-09  David S. Miller  <davem@davemloft.net>
46519         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46520         variables with appropriate CPP guards.
46521         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46522         from the frame pointer, not the stack pointer.  Correct layout
46523         comments.  Fix test on resulting framesize and the management of
46524         the outregs buffer for pltexit.  Preserve floating point return
46525         values across _dl_call_pltexit call.
46526         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46527         framesize and the management of the outregs buffer for pltexit.
46528         Preserve floating point return values across _dl_call_pltexit
46529         call.
46530         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46531         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46532         (la_sparc64_gnu_pltexit): New functions.
46533         (print_exit): Fix format string for return register value.
46535 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
46537         * sunrpc/Makefile (others): Add rpcgen.
46538         ($(objpfx)rpcgen): Remove special build rule and dependency on
46539         libc.
46540         * sunrpc/rpcgen.c: New file.
46542 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
46544         [BZ #13673]
46545         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46546         * stdio-common/bug-vfprintf-nargs.c: Likewise.
46547         * sysdeps/i386/crti.S: Likewise.
46548         * sysdeps/i386/crtn.S: Likewise.
46549         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46550         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46551         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46552         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46553         * sysdeps/sh/crti.S: Likewise.
46554         * sysdeps/sh/crtn.S: Likewise.
46555         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46557         [BZ #13673]
46558         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46559         with URL.
46560         * locale/programs/locfile-kw.gperf: Likewise.
46561         * locale/programs/charmap-kw.h: Regenerated.
46562         * locale/programs/locfile-kw.h: Likewise.
46564         [BZ #13673]
46565         * intl/plural.y: Replace FSF snail mail address with URL.
46566         * intl/plural.c: Regenerated.
46568 2012-03-09  Richard Henderson  <rth@twiddle.net>
46570         * include/math_private.h: Remove file.
46571         * math/math_private.h: Move file ...
46572         * sysdeps/generic/math_private.h: ... here.
46574         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46575         * sysdeps/powerpc/fpu/math_private.h: Likewise.
46576         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46578         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46579         and <math_private.h>.
46580         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46581         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46582         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46583         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46584         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46585         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46586         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46587         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46588         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46589         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46590         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46591         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46592         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46593         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46594         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46595         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46596         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46597         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46598         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46599         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46600         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46601         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46602         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46603         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46604         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46605         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46606         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46607         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46608         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46609         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46610         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46611         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46612         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46613         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46614         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46615         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46616         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46617         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46618         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46619         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46620         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46621         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46622         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46623         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46624         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46625         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46626         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46627         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46628         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46629         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46630         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46631         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46632         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46633         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46634         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46635         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46636         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46637         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46638         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46639         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46640         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46641         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46642         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46643         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46644         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46645         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46646         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46647         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46648         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46649         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46650         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46651         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46652         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46653         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46654         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46655         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46656         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46657         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46658         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46659         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46660         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46661         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46662         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46663         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46664         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46665         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46666         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46667         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46668         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46669         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46670         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46671         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46672         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46673         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46674         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46675         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46676         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46677         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46678         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46679         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46680         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46681         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46682         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46683         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46684         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46685         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46686         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46687         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46688         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46689         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46690         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46691         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46692         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46693         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46694         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46695         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46696         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46697         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46698         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46699         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46700         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46701         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46702         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46703         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46704         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46705         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46706         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46707         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46708         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46709         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46710         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46711         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46712         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46713         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46714         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46715         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46716         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46717         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46718         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46719         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46720         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46721         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46722         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46723         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46724         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46725         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46726         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46727         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46728         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46729         * sysdeps/ieee754/k_standard.c: Likewise.
46730         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46731         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46732         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46733         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46734         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46735         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46736         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46737         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46738         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46739         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46740         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46741         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46742         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46743         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46744         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46745         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46746         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46747         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46748         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46749         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46750         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46751         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46752         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46753         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46754         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46755         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46756         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46757         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46758         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46759         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46760         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46761         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46762         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46763         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46764         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46765         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46766         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46767         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46768         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46769         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46770         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46771         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46772         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46773         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46774         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46775         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46776         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46777         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46778         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46779         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46780         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46781         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46782         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46783         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46784         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46785         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46786         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46787         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46788         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46789         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46790         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46791         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46792         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46793         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46794         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46795         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46796         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46797         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46798         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46799         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46800         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46801         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46802         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46803         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46804         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46805         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46806         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46807         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46808         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46809         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46810         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46811         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46812         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46813         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46814         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46815         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46816         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46817         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46818         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46819         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46820         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46821         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46822         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46823         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46824         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46825         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46826         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46827         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46828         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46829         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46830         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46831         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46832         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46833         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46834         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46835         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46836         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46837         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46838         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46839         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46840         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46841         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46842         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46843         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46844         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46845         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46846         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46847         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46848         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46849         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46850         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46851         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46852         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46853         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46854         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46855         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46856         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46857         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46858         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46859         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46860         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46861         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46862         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46863         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46864         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46865         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46866         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46867         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46868         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46869         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46870         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46871         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46872         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46873         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46874         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46875         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46876         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46877         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46878         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46879         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46880         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46881         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46882         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46883         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46884         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46885         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46886         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46887         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46888         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46889         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46890         * sysdeps/ieee754/s_lib_version.c: Likewise.
46891         * sysdeps/ieee754/s_matherr.c: Likewise.
46892         * sysdeps/ieee754/s_signgam.c: Likewise.
46893         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46894         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46895         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46896         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46897         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46898         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46899         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46900         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46901         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46902         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46903         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46904         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46905         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46906         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46907         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46908         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46909         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46910         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46911         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46912         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46913         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46915 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
46917         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46918         * sunrpc/rpc_main.c: Likewise.
46919         * sunrpc/rpc_svcout.c: Likewise.
46921 2012-03-09  David S. Miller  <davem@davemloft.net>
46923         * include/math_private.h: New file.
46925 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
46927         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46928         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46929         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46930         from <bits/socket_type.h>.
46931         (enum __socket_type): Don't define here.
46932         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46933         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46934         bits/socket_type.h.
46936         [BZ #13566]
46937         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46938         checking __USE_GNU.
46940         * Makerules ($(inst_includedir)/%.h): New rule.
46941         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46942         (install-others): Remove variable setting.
46943         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46945 2012-03-08  Richard Henderson  <rth@twiddle.net>
46947         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46948         from macro to inline function; merge with the
46949         !__LIBC_INTERNAL_MATH_INLINES version.
46950         (__ieee754_sqrtf): Likewise.
46952         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46953         to inline function.
46954         (__rintf, __floor, __floorf): Likewise.
46956         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46957         macro to inline function.
46958         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46960         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46961         not <math/math_private.h>.
46963 2012-03-08  David S. Miller  <davem@davemloft.net>
46965         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46966         copyright year.
46967         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46969 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
46971         * resolv/gai_misc.c (handle_requests): Fix struct timespec
46972         normalization.
46973         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46974         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46976 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
46978         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
46979         be defined individually, they must be defined as a block.  Define
46980         S for printing a string instead of hidint the different by using a
46981         macro for adding the 'l'.
46982         * stdio-common/tst-fphex-wide.c: Adjust.
46984 2012-03-07  Marek Polacek  <polacek@redhat.com>
46986         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46988 2012-03-08  Marek Polacek  <polacek@redhat.com>
46990         [BZ #13806]
46991         * stdio-common/Makefile (tests): Add tst-fphex-wide.
46992         * stdio-common/tst-fphex.c: Define a few macros to make the
46993         test reusable.  Use them.
46994         * stdio-common/tst-fphex-wide.c: New file.
46996 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
46998         [BZ #6911]
46999         * manual/macros.texi (gnusystems): New macro.
47000         (nongnusystems): Likewise.
47001         (gnulinuxhurdsystems): Likewise.
47002         (gnuhurdsystems): Likewise..
47003         (gnulinuxsystems): Likewise.
47004         * manual/charset.texi: Use new macros or @theglibc{} to refer to
47005         variants of the GNU system, not "GNU system".
47006         * manual/conf.texi: Likewise.
47007         * manual/errno.texi: Likewise.  Update example of errno macro
47008         expansion.
47009         * manual/filesys.texi: Likewise.
47010         (getumask): Document as specific to GNU/Hurd.
47011         * manual/install.texi: Likewise.  Reword some references to
47012         GNU/Linux.
47013         * manual/intro.texi: Likewise.
47014         * manual/io.texi: Likewise.
47015         (File Name Portability): Detail which constraints are inapplicable
47016         to all GNU systems and which are only inapplicable to GNU/Hurd.
47017         * manual/job.texi: Likewise.
47018         * manual/llio.texi: Likewise.
47019         (O_NOCTTY): Document as present on GNU/Linux.
47020         * manual/maint.texi: Likewise.
47021         * manual/memory.texi: Likewise.
47022         * manual/pattern.texi: Likewise.
47023         * manual/pipe.texi: Likewise.
47024         * manual/process.texi: Likewise.
47025         * manual/resource.texi: Likewise.
47026         (RUSAGE_CHILDREN): Remove statement about specifying a particular
47027         child on GNU/Hurd.
47028         * manual/setjmp.texi: Likewise.
47029         * manual/signal.texi: Likewise.
47030         * manual/startup.texi: Likewise.
47031         * manual/stdio.texi: Likewise.
47032         * manual/terminal.texi: Likewise.
47033         (ONLCR): Document as POSIX.
47034         (OXTABS): Document availability on GNU/Linux as XTABS.
47035         (ONOEOT): Document availability separately from other bits.
47036         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47037         * manual/time.texi: Likewise.
47038         * manual/users.texi: Likewise.
47039         * INSTALL: Regenerated.
47040         * sysdeps/gnu/errlist.c: Regenerated.
47042         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47043         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47044         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
47045         puts.
47046         * configure: Regenerated.
47048 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
47050         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47051         default includes instead of AC_HEADER_CHECK.
47052         * sysdeps/i386/configure: Regenerated.
47054         [BZ #10716]
47055         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47056         * math/s_cacoshf.c (__cacoshf): Likewise.
47057         * math/s_cacoshl.c (__cacoshl): Likewise.
47058         * math/s_casinh.c (__casinh): Set signs of result from argument.
47059         * math/s_casinhf.c (__casinhf): Likewise.
47060         * math/s_casinhl.c (__casinhl): Likewise.
47061         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47062         (casinh_test): Add more tests.
47063         * sysdeps/i386/fpu/libm-test-ulps: Update.
47064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47066 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
47068         * po/zh_TW.po: Update from translation team.
47070         * login/Makefile (distribute): Remove variable.
47071         * catgets/Makefile: Likewise.
47072         * mach/Makefile: Likewise.
47073         * malloc/Makefile: Likewise.
47074         * misc/Makefile: Likewise.
47075         * iconv/Makefile: Likewise.
47076         * nscd/Makefile: Likewise.
47077         * hurd/Makefile: Likewise.
47078         * manual/Makefile: Likewise.
47079         * locale/Makefile: Likewise.
47080         * intl/Makefile: Likewise.
47081         * conform/Makefile: Likewise.
47082         * nss/Makefile: Likewise.
47083         * time/Makefile: Likewise.
47084         * soft-fp/Makefile: Likewise.
47085         * dirent/Makefile: Likewise.
47086         * gmon/Makefile: Likewise.
47087         * po/Makefile: Likewise.
47088         * rt/Makefile: Likewise.
47089         * socket/Makefile: Likewise.
47090         * math/Makefile: Likewise.
47091         * signal/Makefile: Likewise.
47092         * debug/Makefile: Likewise.
47093         * elf/Makefile: Likewise.
47094         * timezone/Makefile: Likewise.
47095         * stdlib/Makefile: Likewise.
47096         * iconvdata/Makefile: Likewise.
47097         * sunrpc/Makefile: Likewise.
47098         * io/Makefile: Likewise.
47099         * argp/Makefile: Likewise.
47100         * inet/Makefile: Likewise.
47101         * hesiod/Makefile: Likewise.
47102         * grp/Makefile: Likewise.
47103         * csu/Makefile: Likewise.
47104         * wctype/Makefile: Likewise.
47105         * crypt/Makefile: Likewise.
47106         * libio/Makefile: Likewise.
47107         * string/Makefile: Likewise.
47108         * nis/Makefile: Likewise.
47109         * resolv/Makefile: Likewise.
47110         * stdio-common/Makefile: Likewise.
47111         * wcsmbs/Makefile: Likewise.
47112         * dlfcn/Makefile: Likewise.
47113         * posix/Makefile: Likewise.
47115         [BZ #6959]
47116         * timezone/Makefile: Don't install timezone files, just the programs
47117         and scripts.
47119 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
47121         * nss/databases.def: Add missing gshadow entry.
47123         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
47125 2012-03-06  Marek Polacek  <polacek@redhat.com>
47127         [BZ #13726]
47128         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47129         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47130         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47131         * stdio-common/tst-long-dbl-fphex.c: New file.
47133 2012-03-06  David S. Miller  <davem@davemloft.net>
47135         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47136         (set_obp_int): New function.
47137         (get_obp_int): New function.
47138         (__get_clockfreq_via_dev_openprom): Likewise.
47139         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47140         Avoid unused variable warnings on 'val' and use builtin_expect.
47141         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47142         __builtin_expect.
47143         (INLINE_CLONE_SYSCALL): Likewise.
47145 2012-03-05  David S. Miller  <davem@davemloft.net>
47147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47149 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
47151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47153         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47154         only for |x| >= 40.
47155         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47157 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
47159         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47160         Replace gettimeofday with __vdso_gettimeofday.
47162         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47163         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47164         __vdso_clock_gettime and __vdso_getcpu.
47166         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47167         time with __vdso_time.
47169 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47171         * manual/lang.texi (size_t): Note types to which size_t may be
47172         equivalent with the GNU C Library, but do not describe when
47173         differences between them are significant.
47175 2012-03-05  Andreas Jaeger  <aj@suse.de>
47177         * sysdeps/i386/fpu/libm-test-ulps: Update.
47179 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47181         [BZ #3976]
47182         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47183         (__ieee754_pow): Save and restore rounding mode and use
47184         round-to-nearest for main computations.
47185         * math/libm-test.inc (pow_test_tonearest): New function.
47186         (pow_test_towardzero): Likewise.
47187         (pow_test_downward): Likewise.
47188         (pow_test_upward): Likewise.
47189         (main): Call the new functions.
47190         * sysdeps/i386/fpu/libm-test-ulps: Update.
47191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47193         [BZ #3976]
47194         * math/libm-test.inc (cosh_test_tonearest): New function.
47195         (cosh_test_towardzero): Likewise.
47196         (cosh_test_downward): Likewise.
47197         (cosh_test_upward): Likewise.
47198         (sinh_test_tonearest): Likewise.
47199         (sinh_test_towardzero): Likewise.
47200         (sinh_test_downward): Likewise.
47201         (sinh_test_upward): Likewise.
47202         (main): Call the new functions.
47203         * sysdeps/i386/fpu/libm-test-ulps: Update.
47204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47206 2012-03-05  Tom de Vries  <tom@codesourcery.com>
47208         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47209         default stack guard is set in last bytes.
47210         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47212 2012-03-05  Kees Cook  <keescook@chromium.org>
47214         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47216         [BZ #13656]
47217         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47218         possibly allocate from heap instead of stack.
47219         * stdio-common/bug-vfprintf-nargs.c: New file.
47220         * stdio-common/Makefile (tests): Add nargs overflow test.
47222 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
47224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47226 2012-03-03  Marek Polacek  <polacek@redhat.com>
47228         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47229         * math/math_private.h: Likewise.
47230         * stdlib/tst-strtod.c: Likewise.
47231         * sysdeps/i386/i486/bits/atomic.h: Likewise.
47232         * sysdeps/x86_64/bits/atomic.h: Likewise.
47234 2012-03-02  David S. Miller  <davem@davemloft.net>
47236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47240         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47241         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47242         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47243         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47245 2012-03-02  Roland McGrath  <roland@hack.frob.com>
47247         [BZ #13792]
47248         * manual/examples/README: New file, says the example source files
47249         can be used under GPL>=2.
47250         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47251         line containing just "*/".
47252         * manual/examples/add.c: Add copyright header (GPL>=2).
47253         * manual/examples/argp-ex1.c: Likewise.
47254         * manual/examples/argp-ex2.c: Likewise.
47255         * manual/examples/argp-ex3.c: Likewise.
47256         * manual/examples/argp-ex4.c: Likewise.
47257         * manual/examples/atexit.c: Likewise.
47258         * manual/examples/db.c: Likewise.
47259         * manual/examples/dir.c: Likewise.
47260         * manual/examples/dir2.c: Likewise.
47261         * manual/examples/execinfo.c: Likewise.
47262         * manual/examples/filecli.c: Likewise.
47263         * manual/examples/filesrv.c: Likewise.
47264         * manual/examples/fmtmsgexpl.c: Likewise.
47265         * manual/examples/genpass.c: Likewise.
47266         * manual/examples/inetcli.c: Likewise.
47267         * manual/examples/inetsrv.c: Likewise.
47268         * manual/examples/isockad.c: Likewise.
47269         * manual/examples/longopt.c: Likewise.
47270         * manual/examples/memopen.c: Likewise.
47271         * manual/examples/memstrm.c: Likewise.
47272         * manual/examples/mkfsock.c: Likewise.
47273         * manual/examples/mkisock.c: Likewise.
47274         * manual/examples/mygetpass.c: Likewise.
47275         * manual/examples/pipe.c: Likewise.
47276         * manual/examples/popen.c: Likewise.
47277         * manual/examples/rprintf.c: Likewise.
47278         * manual/examples/search.c: Likewise.
47279         * manual/examples/select.c: Likewise.
47280         * manual/examples/setjmp.c: Likewise.
47281         * manual/examples/sigh1.c: Likewise.
47282         * manual/examples/sigusr.c: Likewise.
47283         * manual/examples/stpcpy.c: Likewise.
47284         * manual/examples/strdupa.c: Likewise.
47285         * manual/examples/strftim.c: Likewise.
47286         * manual/examples/strncat.c: Likewise.
47287         * manual/examples/subopt.c: Likewise.
47288         * manual/examples/swapcontext.c: Likewise.
47289         * manual/examples/termios.c: Likewise.
47290         * manual/examples/testopt.c: Likewise.
47291         * manual/examples/testpass.c: Likewise.
47292         * manual/examples/timeval_subtract.c: Likewise.
47294         [BZ #13792]
47295         * manual/time.texi (Elapsed Time): Move timeval_subtract example
47296         function to ...
47297         * manual/timeval_subtract.c.texi: ... here, new file.
47299 2012-03-02  David S. Miller  <davem@davemloft.net>
47301         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47303 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
47305         [BZ #3976]
47306         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47307         (__sin): Save and restore rounding mode and use round-to-nearest
47308         for all computations.
47309         (__cos): Save and restore rounding mode and use round-to-nearest
47310         for all computations.
47311         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47312         <fenv.h>.
47313         (tan): Save and restore rounding mode and use round-to-nearest for
47314         all computations.
47315         * math/libm-test.inc (cos_test_tonearest): New function.
47316         (cos_test_towardzero): Likewise.
47317         (cos_test_downward): Likewise.
47318         (cos_test_upward): Likewise.
47319         (sin_test_tonearest): Likewise.
47320         (sin_test_towardzero): Likewise.
47321         (sin_test_downward): Likewise.
47322         (sin_test_upward): Likewise.
47323         (tan_test_tonearest): Likewise.
47324         (tan_test_towardzero): Likewise.
47325         (tan_test_downward): Likewise.
47326         (tan_test_upward): Likewise.
47327         (main): Call the new functions.
47328         * sysdeps/i386/fpu/libm-test-ulps: Update.
47329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47331         [BZ #10135]
47332         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47333         small n, then large n, before computing and testing k+n.
47334         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47335         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47336         Likewise.
47337         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47338         Likewise.
47339         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47340         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47341         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47342         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47343         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47344         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47345         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47346         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47347         * math/libm-test.inc (scalbn_test): Add more tests.
47348         (scalbln_test): Likewise.
47350         * manual/filesys.texi (mode_t): Describe constraints on size and
47351         signedness, not exact equivalence to a particular type.
47352         (ino_t): Likewise.
47353         (ino64_t): Likewise.
47354         (dev_t): Likewise.
47355         (nlink_t): Likewise.
47356         (blkcnt_t): Likewise.
47357         (blkcnt64_t): Likewise.
47358         * manual/llio.texi (off_t): Likewise.
47360         [BZ #3976]
47361         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47362         (__ieee754_exp): Save and restore rounding mode and use
47363         round-to-nearest for all computations.
47364         * math/libm-test.inc (exp_test_tonearest): New function.
47365         (exp_test_towardzero): Likewise.
47366         (exp_test_downward): Likewise.
47367         (exp_test_upward): Likewise.
47368         (main): Call the new functions.
47369         * sysdeps/i386/fpu/libm-test-ulps: Update.
47370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47372 2012-03-01  Chris Demetriou  <cgd@google.com>
47374         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47375         have predictable order.
47377 2012-03-01  David S. Miller  <davem@davemloft.net>
47379         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47381         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47382         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47383         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47384         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47386         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47387         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47388         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47390         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47391         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47392         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47393         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47394         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47398         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47399         * sysdeps/sparc/fpu/libm-test-ulps: to here.
47400         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47402         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47403         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47404         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47405         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47406         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47407         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47408         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47409         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47410         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47411         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47412         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47413         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47414         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47415         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47416         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47417         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47418         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47419         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47420         * sysdeps/sparc/elf/configure: Regenerated.
47422 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
47424         * configure.in (AS, LD): Require binutils 2.20 or later.
47425         * configure: Regenerated.
47426         * manual/install.texi (Tools for Compilation): Give binutils 2.20
47427         as required minimum version.
47428         * INSTALL: Regenerated.
47430         [BZ #2541]
47431         [BZ #4108]
47432         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47433         before squaring exponent.
47434         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47435         bottom long double and 27 bits of top long double before squaring
47436         exponent.
47437         * math/libm-test.inc (erfc_test): Add more tests.
47438         * sysdeps/i386/fpu/libm-test-ulps: Update.
47439         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47442 2012-03-01  Kai Tietz  <ktietz@redhat.com>
47444         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47445         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47446         containing bit-fields.
47447         * soft-fp/extended.h (_FP_UNION_E): Likewise.
47448         * soft-fp/single.h (_FP_UNION_S): Likewise.
47449         * soft-fp/double.h (_FP_UNION_D): Likewise.
47451 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47453         [BZ #13786]
47454         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47455         not include ../strcmp.S.
47456         [USE_AS_STRNCASECMP_L]: Likewise.
47457         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47458         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47459         * sysdeps/i386/i686/multiarch/strncase_l-c.c
47460         (__strncasecmp_l_ia32): Define as alias to
47461         __strncasecmp_l_nonascii.
47463         [BZ #5794]
47464         * math/libm-test.inc (expm1_test): Add test for bug 5794.
47465         * sysdeps/i386/fpu/libm-test-ulps: Update.
47466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47468         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47471 2012-02-29  Jeff Law  <law@redhat.com>
47473         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47474         out of bounds read.
47476 2012-02-29  Marek Polacek  <polacek@redhat.com>
47478         [BZ #13706]
47479         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47480         * elf/Makefile: Add rules to run tst-unused-dep.out.
47482 2012-02-28  David S. Miller  <davem@davemloft.net>
47484         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47485         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47486         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47487         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47488         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47489         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47491 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47493         * math/libm-test.inc (llround_test): Move one test from
47494         lround_test.  Use TEST_f_L in moved test.
47495         (lround_test): Move misplaced test to llround_test.  Add testcase
47496         from bug 2561.
47498 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
47500         * sysdeps/x86_64/fpu/e_expf.S: New file.
47501         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47503 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
47505         [BZ #13637]
47506         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47507         of remain_len that may cause incomplete multi-byte character and
47508         false match.
47509         * posix/bug-regex33.c: New file.
47510         * posix/Makefile (tests): Add bug-regex33.
47512 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
47514         * manual/macros.texi: New file.
47515         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47516         * manual/libc.texinfo: Include macros.texi.
47517         * manual/creatute.texi: Likewise.
47518         * manual/install.texi: Likewise.
47519         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47520         @glibcadj{} in references to the GNU C Library.
47521         * manual/charset.texi: Likewise.
47522         * manual/conf.texi: Likewise.
47523         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
47524         when not using those macros.
47525         * manual/creature.texi: Likewise.
47526         * manual/crypt.texi: Likewise.
47527         * manual/errno.texi: Likewise.
47528         * manual/filesys.texi: Likewise.
47529         * manual/header.texi: Likewise.
47530         * manual/install.texi: Likewise.
47531         * manual/intro.texi: Likewise.
47532         * manual/io.texi: Likewise.
47533         * manual/job.texi: Likewise.
47534         * manual/lang.texi: Likewise.
47535         * manual/libc.texiinfo: Likewise.
47536         * manual/llio.texi: Likewise.
47537         * manual/locale.texi: Likewise.
47538         * manual/maint.texi: Likewise.
47539         * manual/math.texi: Likewise.
47540         * manual/memory.texi: Likewise.
47541         * manual/message.texi: Likewise.
47542         * manual/nss.texi: Likewise.
47543         * manual/pattern.texi: Likewise.
47544         * manual/process.texi: Likewise.
47545         * manual/resource.texi: Likewise.
47546         * manual/search.texi: Likewise.
47547         * manual/setjmp.texi: Likewise.
47548         * manual/signal.texi: Likewise.
47549         * manual/socket.texi: Likewise.
47550         * manual/startup.texi: Likewise.
47551         * manual/stdio.texi: Likewise.
47552         * manual/string.texi: Likewise.
47553         * manual/sysinfo.texi: Likewise.
47554         * manual/syslog.texi: Likewise.
47555         * manual/terminal.texi: Likewise.
47556         * manual/time.texi: Likewise.
47557         * manual/users.texi: Likewise.
47558         * INSTALL: Regenerated.
47559         * NOTES: Regenerated.
47560         * sysdeps/gnu/errlist.c: Regenerated.
47562 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
47564         * include/dirent.h: Include <dirstream.h> before
47565         <dirent/dirent.h>.
47567 2012-02-28  David S. Miller  <davem@davemloft.net>
47569         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47570         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47571         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47572         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47574 2012-02-27  David S. Miller  <davem@davemloft.net>
47576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47578         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47579         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47582         frame pointer instead of stack pointer relative arg slot.
47583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47584         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47585         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47587 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
47589         [BZ #3992]
47590         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47592 2012-02-27  David S. Miller  <davem@davemloft.net>
47594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47598         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47599         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47600         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47601         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47603 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47605         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47606         later.  Allow versions 5-9.
47607         * configure: Regenerated.
47608         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47609         required minimum version and 4.6 as recommended version.  Do not
47610         mention bugs in GCC 2.7 and 2.8.
47611         * INSTALL: Regenerated.
47613 2012-02-27  David S. Miller  <davem@davemloft.net>
47615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47619         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47620         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47621         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47622         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47624         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47625         manipulate bits before adding and subtracting TWO112[sx].
47626         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47628 2012-02-27  Roland McGrath  <roland@hack.frob.com>
47630         [BZ #13775]
47631         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47632         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47633         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47634         being in POSIX, because they are in 1003.1-2008.
47636         * rt/tst-aio.c: Include <fcntl.h>.
47637         * rt/tst-aio7.c: Likewise.
47638         * rt/tst-aio64.c: Likewise.
47640         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47642 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47644         * manual/install.texi (--with-headers): Describe headers as
47645         interface headers, not private headers.
47646         (Specific advice for GNU/Linux systems): Describe use of headers
47647         from "make headers_install", not private headers from older
47648         kernels.
47649         * INSTALL: Regenerated.
47650         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47651         Change to 2.6.19.
47652         * sysdeps/unix/sysv/linux/configure: Regenerated.
47654         * manual/llio.texi (fclean): Remove documentation.
47656         * manual/Makefile (libc-texi-generated): New variable.  Include
47657         version.texi.
47658         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47659         $(libc-texi-generated), not duplicated list of files.
47660         (version.texi, stamp-version): New rules.
47661         (realclean): Remove $(libc-texi-generated), not individual files
47662         from that list.  Do not remove dir-add.texinfo.
47663         * manual/libc.texinfo: Comment out uses of edition numbers and
47664         references to printed manual.  Remove last-updated dates.
47665         (EDITION): Comment out.
47666         (ISBN): Likewise.
47667         (VERSION, UPDATED): Remove.
47668         (version.texi): Include.
47670 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
47672         * sysdeps/posix/spawni.c: Include <signal.h>.
47673         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47674         * sysdeps/pthread/aio_fsync.c: Likewise.
47676 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
47678         * conform/Makefile (tests): Run only when not cross-compiling and
47679         when fast-check is not defined.
47681         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47682         * conform/data/limits.h-data: Fixes for POSIX2008.
47683         * conform/run-conformtest.sh: Run all tests.
47684         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47685         headers.
47686         * include/bits/dlfcn.h: Likewise.
47687         * include/langinfo.h: Likewise.
47688         * include/monetary.h: Likewise.
47689         * include/sys/poll.h: Likewise.
47691         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47692         for __USE_GNU.
47693         * posix/spawn.h: Define __need_sigset_t.
47694         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47695         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47696         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
47697         to get sigevent_t only.
47698         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47699         only for __USE_GNU.
47700         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47701         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47702         process_vm_writev only for __USE_GNU.
47703         * termios/termios.h: Declare tcgetsid also for POSIX2008.
47705         * conform/Makefile: For now ignore errors from run-conformtest.
47706         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
47707         POSIX to avoid namespace pollution.  Don't prepend headers.
47708         * conform/data/aio.h-data: Fixes for POSIX testing.
47709         * conform/data/fcntl.h-data: Likewise.
47710         * conform/data/glob.h-data: Likewise.
47711         * conform/data/grp.h-data: Likewise.
47712         * conform/data/pthread.h-data: Likewise.
47713         * conform/data/pwd.h-data: Likewise.
47714         * conform/data/signal.h-data: Likewise.
47715         * conform/data/spawn.h-data: Likewise.
47716         * conform/data/stdio.h-data: Likewise.
47717         * conform/data/stdlib.h-data: Likewise.
47718         * conform/data/stropts.h-data: Likewise.
47719         * conform/data/sys/mman.h-data: Likewise.
47720         * conform/data/sys/stat.h-data: Likewise.
47721         * conform/data/sys/types.h-data: Likewise.
47722         * conform/data/sys/wait.h-data: Likewise.
47723         * conform/data/time.h-data: Likewise.
47724         * conform/data/unistd.h-data: Likewise.
47725         * conform/data/utime.h-data: Likewise.
47727         * io/sys/stat.h: fchmod was always in POSIX.
47728         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47729         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47730         * rt/aio.h: Define __need_timespec before including <time.h>.
47731         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47732         struct.  Add forward declaration of pthread_attr_t and use it in
47733         sigevent.
47734         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47735         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47736         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47737         always remove CLK_TCK definition.
47739 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
47741         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47743 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
47745         * conform/run-conformtest.sh: New file.
47746         * conform/Makefile: Run run-conformtest for tests.
47747         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
47748         support.
47750         * conform/data/uchar.h-data: New file.
47751         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47752         * conform/data/arpa/inet.h-data: Likewise.
47753         * conform/data/assert.h-data: Likewise.
47754         * conform/data/complex.h-data: Likewise.
47755         * conform/data/cpio.h-data: Likewise.
47756         * conform/data/ctype.h-data: Likewise.
47757         * conform/data/dirent.h-data: Likewise.
47758         * conform/data/dlfcn.h-data: Likewise.
47759         * conform/data/errno.h-data: Likewise.
47760         * conform/data/fcntl.h-data: Likewise.
47761         * conform/data/float.h-data: Likewise.
47762         * conform/data/fmtmsg.h-data: Likewise.
47763         * conform/data/fnmatch.h-data: Likewise.
47764         * conform/data/ftw.h-data: Likewise.
47765         * conform/data/glob.h-data: Likewise.
47766         * conform/data/grp.h-data: Likewise.
47767         * conform/data/iconv.h-data: Likewise.
47768         * conform/data/inttypes.h-data: Likewise.
47769         * conform/data/langinfo.h-data: Likewise.
47770         * conform/data/libgen.h-data: Likewise.
47771         * conform/data/limits.h-data: Likewise.
47772         * conform/data/locale.h-data: Likewise.
47773         * conform/data/math.h-data: Likewise.
47774         * conform/data/monetary.h-data: Likewise.
47775         * conform/data/mqueue.h-data: Likewise.
47776         * conform/data/ndbm.h-data: Likewise.
47777         * conform/data/net/if.h-data: Likewise.
47778         * conform/data/netdb.h-data: Likewise.
47779         * conform/data/netinet/in.h-data: Likewise.
47780         * conform/data/nl_types.h-data: Likewise.
47781         * conform/data/poll.h-data: Likewise.
47782         * conform/data/pthread.h-data: Likewise.
47783         * conform/data/pwd.h-data: Likewise.
47784         * conform/data/regex.h-data: Likewise.
47785         * conform/data/sched.h-data: Likewise.
47786         * conform/data/search.h-data: Likewise.
47787         * conform/data/semaphore.h-data: Likewise.
47788         * conform/data/setjmp.h-data: Likewise.
47789         * conform/data/signal.h-data: Likewise.
47790         * conform/data/spawn.h-data: Likewise.
47791         * conform/data/stdarg.h-data: Likewise.
47792         * conform/data/stdio.h-data: Likewise.
47793         * conform/data/stdlib.h-data: Likewise.
47794         * conform/data/string.h-data: Likewise.
47795         * conform/data/strings.h-data: Likewise.
47796         * conform/data/stropts.h-data: Likewise.
47797         * conform/data/sys/ipc.h-data: Likewise.
47798         * conform/data/sys/mman.h-data: Likewise.
47799         * conform/data/sys/msg.h-data: Likewise.
47800         * conform/data/sys/resource.h-data: Likewise.
47801         * conform/data/sys/select.h-data: Likewise.
47802         * conform/data/sys/sem.h-data: Likewise.
47803         * conform/data/sys/shm.h-data: Likewise.
47804         * conform/data/sys/socket.h-data: Likewise.
47805         * conform/data/sys/stat.h-data: Likewise.
47806         * conform/data/sys/statvfs.h-data: Likewise.
47807         * conform/data/sys/time.h-data: Likewise.
47808         * conform/data/sys/timeb.h-data: Likewise.
47809         * conform/data/sys/times.h-data: Likewise.
47810         * conform/data/sys/types.h-data: Likewise.
47811         * conform/data/sys/uio.h-data: Likewise.
47812         * conform/data/sys/un.h-data: Likewise.
47813         * conform/data/sys/utsname.h-data: Likewise.
47814         * conform/data/sys/wait.h-data: Likewise.
47815         * conform/data/syslog.h-data: Likewise.
47816         * conform/data/tar.h-data: Likewise.
47817         * conform/data/termios.h-data: Likewise.
47818         * conform/data/utime.h-data: Likewise.
47819         * conform/data/utmpx.h-data: Likewise.
47820         * conform/data/varargs.h-data: Likewise.
47821         * conform/data/wchar.h-data: Likewise.
47822         * conform/data/wctype.h-data: Likewise.
47823         * conform/data/wordexp.h-data: Likewise.
47825         * include/stropts.h: New file.
47826         * include/uchar.h: New file.
47827         * include/aio.h: Changes to allow conformtest.pl to use the headers.
47828         * include/assert.h: Likewise.
47829         * include/ctype.h: Likewise.
47830         * include/dirent.h: Likewise.
47831         * include/dlfcn.h: Likewise.
47832         * include/fcntl.h: Likewise.
47833         * include/fnmatch.h: Likewise.
47834         * include/glob.h: Likewise.
47835         * include/grp.h: Likewise.
47836         * include/libio.h: Likewise.
47837         * include/locale.h: Likewise.
47838         * include/math.h: Likewise.
47839         * include/net/if.h: Likewise.
47840         * include/netdb.h: Likewise.
47841         * include/netinet/in.h: Likewise.
47842         * include/pthread.h: Likewise.
47843         * include/pwd.h: Likewise.
47844         * include/regex.h: Likewise.
47845         * include/sched.h: Likewise.
47846         * include/search.h: Likewise.
47847         * include/setjmp.h: Likewise.
47848         * include/signal.h: Likewise.
47849         * include/stdio.h: Likewise.
47850         * include/stdlib.h: Likewise.
47851         * include/string.h: Likewise.
47852         * include/sys/cdefs.h: Likewise.
47853         * include/sys/mman.h: Likewise.
47854         * include/sys/msg.h: Likewise.
47855         * include/sys/resource.h: Likewise.
47856         * include/sys/select.h: Likewise.
47857         * include/sys/socket.h: Likewise.
47858         * include/sys/stat.h: Likewise.
47859         * include/sys/statvfs.h: Likewise.
47860         * include/sys/time.h: Likewise.
47861         * include/sys/times.h: Likewise.
47862         * include/sys/uio.h: Likewise.
47863         * include/sys/utsname.h: Likewise.
47864         * include/sys/wait.h: Likewise.
47865         * include/termios.h: Likewise.
47866         * include/time.h: Likewise.
47867         * include/ulimit.h: Likewise.
47868         * include/unistd.h: Likewise.
47869         * include/utime.h: Likewise.
47870         * include/wchar.h: Likewise.
47871         * include/wctype.h: Likewise.
47872         * include/wordexp.h: Likewise.
47874         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47876         * time/time.h: TIME_UTC must be a macro.
47877         Make timespec_get available for ISO C11 only as well.
47879 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
47881         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47882         Reported by Peng Haitao <penght@cn.fujitsu.com>.
47884 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47886         * configure.in: Use -o not -a in test for unsupported multi-arch.
47888 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47890         * manual/texinfo.tex: Update to version 2012-01-19.16.
47892 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47894         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47896 2012-02-24  Roland McGrath  <roland@hack.frob.com>
47898         [BZ #13738]
47899         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47900         * manual/fdl-1.3.texi: New file.
47901         * manual/fdl-1.1.texi: File removed.
47903         [BZ #13738]
47904         * manual/libc.texinfo (FDL_VERSION): New @set.
47905         Use it for mention of FDL in cover text.
47906         (Documentation License): Use it in @include file name.
47908 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47909             Roland McGrath  <roland@hack.frob.com>
47911         [BZ #5461]
47912         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47913         (not LONG_LONG_MAX and LONG_LONG_MIN.
47914         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47915         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
47916         name.
47917         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47919 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47921         [BZ #2547]
47922         [BZ #11365]
47923         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47924         manipulate bits before adding and subtracting TWO23[sx].
47925         * math/libm-test.inc (nearbyint_test): Add more tests.
47927 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47929         [BZ #2548]
47930         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47931         bits before adding and subtracting TWO23[sx].
47932         * math/libm-test.inc (rint_test): Add more tests.
47933         (rint_test_tonearest): Likewise.
47934         (rint_test_towardzero): Likewise.
47935         (rint_test_downward): Likewise.
47936         (rint_test_upward: Likewise.
47938 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47940         [BZ #10110]
47941         * include/stdc-predef.h: New file.  Extracted from features.h.
47942         * include/features.h: Include stdc-predef.h.
47943         * Makefile (headers): Add stdc-predef.h.
47944         * CONFORMANCE (Compiler limitations): Update.
47946 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47948         * manual/libc.texinfo (VERSION, UPDATED): Revert.
47950 2012-02-21  David S. Miller  <davem@davemloft.net>
47952         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47953         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47955 2012-02-20  David S. Miller  <davem@davemloft.net>
47957         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47958         using a normal save/restore sequence, rather than allocating a
47959         dummy stack frame just to store a frame pointer and restore.
47960         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47962 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47964         * manual/install.texi: Fix stray word in line-wrapped comment.
47966 2012-02-20  David S. Miller  <davem@davemloft.net>
47968         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47969         both binutils and gcc support GOTDATA.
47971         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47972         "rd %pc" in the PIC register setup sequences.
47974         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47975         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47976         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47977         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47978         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47979         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47980         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47981         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47982         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47983         (SYSCALL_ERROR_HANDLER): Likewise.
47984         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47985         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47986         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47987         (SYSCALL_ERROR_HANDLER): Likewise.
47989         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47990         (HAVE_GCC_GOTDATA): New.
47991         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47992         relocation support in both binutils and gcc.
47993         * sysdeps/sparc/elf/configure: Regenerate.
47995         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47996         * sysdeps/sparc/sparc32/elf/configure: Delete.
47997         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47998         * sysdeps/sparc/sparc64/elf/configure: Delete.
47999         * sysdeps/sparc/elf/configure.in: New file.
48000         * sysdeps/sparc/elf/configure: Generate.
48002         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48003         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48004         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48005         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48006         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48008 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48010         * manual/install.texi: Do not mention specific glibc version
48011         numbers.
48012         * manual/libc.texinfo (VERSION, UPDATED): Update.
48013         (@copying): Use @copyright{} and range of years.
48015 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48017         [BZ #13695]
48018         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48019         [crti.S not in sysdirs] (generated): Do not append.
48020         [crti.S not in sysdirs] (omit-deps): Likewise.
48021         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48022         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48023         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48024         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48025         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48026         Likewise.
48027         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48028         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48029         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48030         * csu/defs.awk: Remove file.
48031         * sysdeps/generic/initfini.c: Likewise.
48032         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48033         variable.
48034         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48035         Likewise.
48037 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48039         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48040         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48041         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48042         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48043         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48044         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48045         <bits/epoll.h>.
48046         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48047         (__EPOLL_PACKED): Define to empty if not defined by
48048         <bits/epoll.h>.
48049         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48050         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48051         bits/epoll.h.
48053 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48055         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48056         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48057         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48058         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48059         <bits/timerfd.h>.
48060         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48061         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48062         bits/timerfd.h.
48064 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48066         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48067         in C locale.
48068         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48069         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48070         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48073 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
48075         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48076         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48078 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
48080         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48081         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48082         defined.
48083         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48084         Likewise.
48085         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48086         entry for 2.16.
48088 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
48090         * math/w_acos.c: Use non-signaling floating-point comparisons.
48091         * math/w_acosf.c: Likewise.
48092         * math/w_acosh.c: Likewise.
48093         * math/w_acoshf.c: Likewise.
48094         * math/w_acoshl.c: Likewise.
48095         * math/w_acosl.c: Likewise.
48096         * math/w_asin.c: Likewise.
48097         * math/w_asinf.c: Likewise.
48098         * math/w_asinl.c: Likewise.
48099         * math/w_atanh.c: Likewise.
48100         * math/w_atanhf.c: Likewise.
48101         * math/w_atanhl.c: Likewise.
48102         * math/w_exp2.c: Likewise.
48103         * math/w_exp2f.c: Likewise.
48104         * math/w_exp2l.c: Likewise.
48105         * math/w_j0.c: Likewise.
48106         * math/w_j0f.c: Likewise.
48107         * math/w_j0l.c: Likewise.
48108         * math/w_j1.c: Likewise.
48109         * math/w_j1f.c: Likewise.
48110         * math/w_j1l.c: Likewise.
48111         * math/w_jn.c: Likewise.
48112         * math/w_jnf.c: Likewise.
48113         * math/w_log.c: Likewise.
48114         * math/w_log10.c: Likewise.
48115         * math/w_log10f.c: Likewise.
48116         * math/w_log10l.c: Likewise.
48117         * math/w_log2.c: Likewise.
48118         * math/w_log2f.c: Likewise.
48119         * math/w_log2l.c: Likewise.
48120         * math/w_logf.c: Likewise.
48121         * math/w_logl.c: Likewise.
48122         * math/w_sqrt.c: Likewise.
48123         * math/w_sqrtf.c: Likewise.
48124         * math/w_sqrtl.c: Likewise.
48125         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48126         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48127         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48128         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48129         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48131 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48133         [BZ #9739]
48134         * manual/string.texi (strnlen): Use correct parameter name in
48135         equivalent expression.
48137 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48139         [BZ #11174]
48140         * manual/users.texi (seteuid): Consistently use neweuid for
48141         argument name.
48143 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48145         [BZ #13704]
48146         * manual/nss.texi (Services in the NSS configuration): Correct
48147         list of services in example configuration file.
48149 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
48151         [BZ #11322]
48152         * manual/arith.texi: Remove statements about negative zero
48153         behaving identically to zero.
48155 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48157         [BZ #5993]
48158         * manual/install.texi: Do not document upgrading from libc5.
48160 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48162         [BZ #4596]
48163         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48165 2012-02-18  David S. Miller  <davem@davemloft.net>
48167         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48168         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48169         %o7 across the call.
48170         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48171         instead.
48172         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48173         SETUP_PIC_REG_LEAF.
48174         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48175         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48176         * sysdeps/sparc/crtn.S: Likewise.
48178 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
48180         * aout/Makefile: Remove.
48182 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
48184         [BZ #13058]
48185         * manual/examples/argp-ex1.c (main): Format definition in GNU
48186         style.
48187         * manual/examples/argp-ex2.c (main): Likewise.
48188         * manual/examples/argp-ex3.c (main): Likewise.
48189         * manual/examples/argp-ex4.c (main): Likewise.
48190         * manual/examples/longopt.c (main): Use new-style prototype
48191         definition.
48192         * manual/examples/strncat.c (main): Specify return type and use
48193         (void) for arguments.
48194         * manual/examples/subopt.c (main): Use char **argv argument.
48196 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48198         [BZ #5077]
48199         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48200         rounding modes.
48202 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
48204         [BZ #6907]
48205         * manual/string.texi (strchr): Change when strchrnul is
48206         recommended.
48208 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
48210         [BZ #174]
48211         * manual/locale.texi (setlocale): Document LOCPATH.
48213 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48215         [BZ #10210]
48216         * manual/process.texi (execle): Move @dots{} before last argument.
48218 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
48220         [BZ #12047]
48221         * manual/charset.texi (Generic Charset Conversion): Fix typo
48222         (LC_TYPE -> LC_CTYPE).
48224 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
48226         [BZ #5805]
48227         * manual/arith.texi (scalbn): Use @var{} on parameter names.
48228         (scalbnf): Likewise.
48229         (scalbnl): Likewise.
48230         (scalbln): Likewise.
48231         (scalblnf): Likewise.
48232         (scalblnl): Likewise.
48233         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48234         (vwarnx): Likewise.
48235         (verr): Likewise.
48236         (verrx): Likewise.
48237         * manual/filesys.texi (telldir): Use braces around return type.
48238         * manual/llio.texi (mmap): Add space after comma.
48239         (mmap64): Likewise.
48240         * manual/math.texi (jn): Use @var{} on parameter names.
48241         (jnf): Likewise.
48242         (jnl): Likewise.
48243         (yn): Likewise.
48244         (ynf): Likewise.
48245         (ynl): Likewise.
48246         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48247         line.
48248         * manual/resource.texi (ulimit): Use @dots{} instead of literal
48249         "...".
48250         (sched_get_priority_min): Remove semicolon on @deftypefun line.
48251         (sched_get_priority_max): Likewise.
48252         * manual/signal.texi (sigvec): Add space after comma.
48253         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48254         names.
48255         (if_indextoname): Likewise.
48256         (if_freenameindex): Likewise.
48257         (sendto): Use ',' instead of '.' in prototype.
48258         * manual/startup.texi (syscall): Use @dots{} instead of literal
48259         "...".
48260         * manual/stdio.texi (__fpending): Separate initial words of
48261         paragraph from @deftypefun line.
48262         * manual/syslog.texi (syslog): Use @dots{} instead of literal
48263         "...".
48264         (vsyslog): Use @var{} on parameter names.
48265         * manual/terminal.texi (stty): Use @var{} on parameter names.
48266         * manual/users.texi (getutmp): Use @var{} on parameter names.
48267         (getutmpx): Likewise.
48269 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48271         [BZ #6884]
48272         * manual/stdio.texi (fopen): Fix typos in description of
48273         ",ccs=STRING".
48275 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
48277         [BZ #4026]
48278         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48279         get clock_id definition.
48281 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
48283         [BZ #4822]
48284         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48285         (madvise): Cast every argument to void on its own.
48287 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48289         [BZ #9902]
48290         * manual/startup.texi (Exit Status): Fix typo.
48292 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48294         [BZ #10140]
48295         * manual/examples/argp-ex1.c: Include <stdlib.h>.
48296         * manual/examples/argp-ex2.c: Likewise.
48297         * manual/examples/argp-ex3.c: Likewise.
48299 2012-02-16  Richard Henderson  <rth@redhat.com>
48301         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48302         * sysdeps/s390/s390-32/initfini.c: Remove.
48303         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48304         * sysdeps/s390/s390-64/initfini.c: Remove.
48306 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48308         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48309         compiler output for sysdeps/generic/initfini.c.
48310         * sysdeps/sh/elf/initfini.c: Remove file.
48312 2012-02-16  David S. Miller  <davem@davemloft.net>
48314         [BZ #11494]
48315         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48317         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48318         * sysdeps/sparc/crti.S: New file.
48319         * sysdeps/sparc/crtn.S: New file.
48320         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48321         * sysdeps/sparc/sparc64/Makefile: Likewise.
48323 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
48325         [BZ #3335]
48326         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48328 2012-02-15  Roland McGrath  <roland@hack.frob.com>
48330         [BZ #4822]
48331         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48333         * mach/devstream.c (cookie_io_functions_t): Macro removed.
48334         (write, read, close): Likewise.
48335         Patch by Aurelien Jarno <aurelien@aurel32.net>.
48337 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
48339         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48340         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48341         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48342         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48343         <bits/signalfd.h>.
48344         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48345         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48346         bits/signalfd.h.
48348 2012-02-14  Marek Polacek  <polacek@redhat.com>
48350         * sysdeps/x86_64/crti.S: New file.
48351         * sysdeps/x86_64/crtn.S: New file.
48352         * sysdeps/x86_64/elf/initfini.c: Remove file.
48354 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48356         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48357         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48358         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48359         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48360         <bits/inotify.h>.
48361         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48362         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48363         bits/inotify.h.
48365 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48367         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48368         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48369         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48370         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48371         <bits/eventfd.h>.
48372         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48373         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48374         bits/eventfd.h.
48376 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
48378         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48379         __feraiseexcept instead of feraiseexcept.
48381         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48382         nanosleep invocations.
48383         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48384         strings, and add error checking for a nanosleep invocations.
48386 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
48388         Replace FSF snail mail address with URLs, as per GNU coding standards.
48389         Most of the snail mail addresses were wrong anyway, and omitting
48390         them makes the source code easier to maintain.  Almost all of the
48391         changes are to license notices and to locale LC_IDENTIFICATION
48392         addresses, except for this one:
48393         * manual/libc.texinfo: In "Published by", give the FSF's URL,
48394         not its snail mail address.
48396 2012-02-09  Richard Henderson  <rth@twiddle.net>
48398         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48399         of kernel-features.h.
48401         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48403 2012-02-08  Marek Polacek  <polacek@redhat.com>
48405         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48406         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48407         * sysdeps/gnu/_G_config.h: Likewise.
48408         * sysdeps/generic/_G_config.h: Likewise.
48410 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
48412         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48413         tests.
48414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48416         * sysdeps/powerpc/powerpc32/crti.S: New file.
48417         * sysdeps/powerpc/powerpc32/crtn.S: New file.
48418         * sysdeps/powerpc/powerpc64/crti.S: New file.
48419         * sysdeps/powerpc/powerpc64/crtn.S: New file.
48421         * Makeconfig (have-initfini): Don't set.
48422         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48423         * configure.in (nopic_initfini): Don't substitute.
48424         * config.h.in (HAVE_INITFINI): Don't #undef.
48425         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48426         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48428 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
48430         Support crti.S and crtn.S provided directly by architectures.
48431         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48432         [crti.S in sysdirs] (omit-deps): Likewise.
48433         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48434         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48435         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48436         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48437         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48438         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48439         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48440         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48441         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48442         compiler output for sysdeps/generic/initfini.c.
48443         * sysdeps/i386/elf/Makefile: Remove file.
48444         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48446 2012-02-07  Marek Polacek  <polacek@redhat.com>
48448         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48449         * sysdeps/gnu/_G_config.h: Likewise.
48450         * sysdeps/mach/hurd/_G_config.h: Likewise.
48452 2012-02-07  Marek Polacek  <polacek@redhat.com>
48454         * math/Makefile (tests): Add tst-CMPLX2.
48455         * math/tst-CMPLX2.c: New file.
48457 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
48459         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48461         * math/libm-test.inc (jn_test): Add missing L suffix.
48463 2012-02-06  Marek Polacek  <polacek@redhat.com>
48465         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48466         * sysdeps/i386/fpu/e_powf.S: Likewise.
48467         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48468         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48469         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48470         * sysdeps/i386/fpu/e_pow.S: Likewise.
48471         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48472         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48473         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48474         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48475         * sysdeps/i386/fpu/e_log2.S: Likewise.
48476         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48477         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48478         * sysdeps/i386/fpu/e_powl.S: Likewise.
48479         * sysdeps/i386/fpu/s_log1p.S: Likewise.
48480         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48481         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48482         * sysdeps/i386/fpu/e_logl.S: Likewise.
48483         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48484         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48485         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48486         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48487         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48488         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48489         * sysdeps/i386/fpu/e_log.S: Likewise.
48490         * sysdeps/i386/fpu/s_cexp.S: Likewise.
48491         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48492         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48493         * sysdeps/i386/fpu/e_logf.S: Likewise.
48494         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48495         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48496         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48497         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48498         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48499         * sysdeps/i386/fpu/e_log10.S: Likewise.
48500         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48501         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48502         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48503         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48504         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48505         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48506         * sysdeps/i386/asm-syntax.h: Likewise.
48507         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48508         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48509         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48510         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48511         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48512         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48513         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48514         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48515         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48516         * sysdeps/powerpc/sysdep.h: Likewise.
48517         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48518         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48520 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48522         [BZ #411]
48523         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48525 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48527         * sysdeps/i386/sysdep.h: Include <features.h>.
48528         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48529         version.
48531 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
48533         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48534         Define.
48535         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48536         LOAD_PIC_REG_STR.
48538 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48540         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48541         (SETUP_PIC_REG): Use GET_PC_THUNK.
48542         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48543         macro.
48545 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48547         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48548         for non-PIC compilation.
48549         (SETUP_PIC_REG): Add .p2align directive.
48550         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48551         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48552         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48553         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48554         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48555         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48556         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48557         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48558         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48559         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48560         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48561         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48562         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48563         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48564         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48565         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48566         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48567         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48568         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48569         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48570         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48571         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48572         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48573         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48574         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48575         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48576         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48577         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48578         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48579         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48580         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48581         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48582         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48583         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48584         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48585         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48586         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48587         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48588         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48589         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48590         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48592 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48594         * math/tst-CMPLX.c: Include <stdio.h>.
48596 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
48598         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48599         float.
48600         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48601         * sysdeps/sparc/bits/mathdef.h: Likewise.
48603 2012-01-31  Marek Polacek  <polacek@redhat.com>
48605         * libio/libio.h: Don't define _PARAMS.
48606         * locale/programs/config.h: Don't define PARAMS.
48607         * stdlib/strtol_l.c: Likewise.
48608         (__strtol_l): Remove PARAMS from the prototype.
48610 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
48612         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
48613         names.  Just use the correct names.  Remove unnecessary wrapper
48614         functions.
48615         * malloc/arena.c: Likewise.
48616         * malloc/hooks.c: Likewise.
48618         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48619         ARENA_TEST says not to.  Simplify test for creation of a new arena.
48620         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48622 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
48624         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48625         into tail calls.
48626         (update_get_addr): New function.
48627         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48628         GET_ADDR_MODULE parameter.
48630 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48632         * crypt/cert.c: Remove __STDC__ conditionals.
48633         * crypt/crypt-entry.c: Likewise.
48634         * crypt/crypt_util.c: Likewise.
48635         * libio/filedoalloc.c: Likewise.
48636         * libio/fileops.c: Likewise.
48637         * libio/genops.c: Likewise.
48638         * libio/iofclose.c: Likewise.
48639         * libio/iofdopen.c: Likewise.
48640         * libio/iofopen.c: Likewise.
48641         * libio/iofopen64.c: Likewise.
48642         * libio/iogetdelim.c: Likewise.
48643         * libio/iopopen.c: Likewise.
48644         * libio/obprintf.c: Likewise.
48645         * libio/oldfileops.c: Likewise.
48646         * libio/oldiofclose.c: Likewise.
48647         * libio/oldiofdopen.c: Likewise.
48648         * libio/oldiofopen.c: Likewise.
48649         * libio/oldiopopen.c: Likewise.
48650         * libio/wfiledoalloc.c: Likewise.
48651         * libio/wgenops.c: Likewise.
48652         * locale/programs/xmalloc.c: Likewise.
48653         * misc/syslog.c: Likewise.
48654         * stdio-common/xbug.c: Likewise.
48655         * string/memchr.c: Likewise.
48656         * string/memcmp.c: Likewise.
48657         * string/memrchr.c: Likewise.
48658         * string/rawmemchr.c: Likewise.
48659         * sysdeps/posix/getcwd.c: Likewise.
48660         * time/strftime_l.c: Likewise.
48662 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48664         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48665         * config.make.in (config-cflags-sse2avx): Define.
48666         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48667         Fix typo.
48669 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
48671         * scripts/config.guess: Update from upstream config git repository.
48672         * scripts/config.sub: Likewise.
48674 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
48676         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48677         (EM_NUM): Update.
48678         (R_TILEPRO_*, R_TILEGX_*): New macros.
48680         * scripts/firstversions.awk: Fix bug in version range handling.
48682         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48684         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48686         * include/sys/epoll.h: New file.
48687         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48688         libc_hidden_def.
48690 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
48692         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48693         Avoid unnecessary __WORDSIZE == 64 test.
48694         (fmaxf): Use VEX format if possible.
48695         (fmax): Likewise.
48696         (fminf): Likewise.
48697         (fmin): Likewise.
48699         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48700         * math/math_private.h: Remove libc_fegetround* and
48701         libc_fesetround*.
48702         * sysdeps/i386/configure.in: Check for -msse2avx.
48703         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48704         also if SSE2AVX is defined.
48705         Remove libc_fegetround* and libc_fesetround*.
48706         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48707         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
48708         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48709         of HAS_YMM_USABLE.
48710         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48711         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48712         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48713         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48714         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48716         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48718 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48720         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48721         size is not set.
48722         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48724 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
48726         [BZ #13618]
48727         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48728         relocation.
48729         * Makeconfig (libm): Define.
48730         * elf/Makefile: Add rules to build and run tst-relsort1.
48731         * elf/tst-relsort1.c: New file.
48732         * elf/tst-relsort1mod1.c: New file.
48733         * elf/tst-relsort1mod2.c: New file.
48735 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
48737         * math/s_ldexp.c: Remove __STDC__ conditionals.
48738         * math/s_ldexpf.c: Likewise.
48739         * math/s_ldexpl.c: Likewise.
48740         * math/s_nextafter.c: Likewise.
48741         * math/s_nexttowardf.c: Likewise.
48742         * math/s_significand.c: Likewise.
48743         * math/s_significandf.c: Likewise.
48744         * math/s_significandl.c: Likewise.
48745         * math/w_jnl.c: Likewise.
48746         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48747         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48748         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48749         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48750         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48751         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48752         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48753         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48754         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48755         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48756         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48757         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48758         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48759         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48760         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48761         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48762         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48763         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48764         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48765         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48766         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48767         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48768         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48769         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48770         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48771         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48772         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48773         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48774         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48775         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48776         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48777         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48778         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48779         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48780         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48781         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48782         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48783         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48784         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48785         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48786         * sysdeps/ieee754/k_standard.c: Likewise.
48787         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48788         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48789         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48790         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48791         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48792         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48793         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48794         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48795         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48796         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48797         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48798         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48799         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48800         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48801         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48802         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48803         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48804         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48805         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48806         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48807         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48808         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48809         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48810         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48811         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48812         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48813         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48814         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48815         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48816         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48817         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48818         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48819         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48820         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48821         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48822         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48823         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48824         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48825         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48826         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48827         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48828         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48829         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48830         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48831         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48832         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48833         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48834         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48835         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48836         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48837         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48838         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48839         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48840         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48841         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48842         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48843         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48844         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48845         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48846         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48847         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48848         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48849         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48850         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48851         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48852         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48853         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48854         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48855         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48856         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48857         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48858         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48859         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48860         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48861         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48862         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48863         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48864         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48865         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48866         * sysdeps/ieee754/s_matherr.c: Likewise.
48867         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48868         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48869         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48870         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48872 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
48874         * crypt/md5.h: Remove __STDC__ conditionals.
48875         * libio/libioP.h: Likewise.
48876         * locale/programs/config.h: Likewise.
48877         * sysdeps/generic/sysdep.h: Likewise.
48878         * sysdeps/i386/asm-syntax.h: Likewise.
48879         * sysdeps/s390/asm-syntax.h: Likewise.
48880         * sysdeps/unix/sysdep.h: Likewise.
48881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48884 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
48886         * libio/libio.h: Remove __STDC__ conditionals.
48887         * malloc/obstack.h: Likewise.
48888         * math/complex.h: Likewise.
48889         * math/math.h: Likewise.
48890         * sysdeps/generic/_G_config.h: Likewise.
48891         * sysdeps/gnu/_G_config.h: Likewise.
48892         * sysdeps/mach/hurd/_G_config.h: Likewise.
48893         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48894         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48895         * sysdeps/sparc/bits/mathdef.h: Likewise.
48897 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
48899         [BZ #13583]
48900         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48901         Clean up HAS_* macros.
48902         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48903         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48904         possible.
48905         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48906         HAS_AVX.
48907         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48908         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48909         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48910         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48911         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48913 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
48915         * elf/tst-unique3.cc (gets): Remove declaration.
48916         * elf/tst-unique3lib.cc (gets): Likewise.
48917         * elf/tst-unique3lib2.cc (gets): Likewise.
48918         * elf/tst-unique4.cc (gets): Likewise.
48920 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
48922         * include/stdio.h: Add C++ protection.  Add gets declarations and
48923         definitions.
48924         * debug/tst-chk1.c: Don't declare gets here.
48925         * stdio-common/tst-gets.c: Likewise.
48927 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
48929         * posix/glob: Remove directory.
48931 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
48933         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48935 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
48937         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48938         of the non-standard EPFNOSUPPORT.
48940 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48942         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48943         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48944         ANYWHERE set to 1 only on KERN_NO_SPACE error.
48946 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
48948         * wcsmbs/uchar.h: Test __STDC_VERSION__.
48950 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
48952         * nscd/aicache.c (addhstaiX): Do not cache negative results of
48953         transient errors.
48954         * nscd/grpcache.c (cache_addgr): Likewise.
48955         * nscd/hstcache.c (cache_addhst): Likewise.
48956         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48957         * nscd/pwdcache.c (cache_addpw): Likewise.
48958         * nscd/servicescache.c (cache_addserv): Likewise.
48960 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
48962         * malloc/malloc.c: Various cleanups.
48963         * malloc/hooks.c: Likewise.
48965         * stdlib/Makefile (tests): Add bug-fmtmsg1.
48966         * stdlib/bug-fmtmsg1.c: New file.
48968         * stdlib/fmtmsg.c (init): Add missing unlock.
48969         Patch by Peng Haitao <penght@cn.fujitsu.com>.
48971 2012-01-12  Marek Polacek  <polacek@redhat.com>
48973         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48974         and _GNU_SOURCE.
48976 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
48978         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48979         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48980         macro to ensure uniqueness of label name.
48981         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48982         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48984 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
48986         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48988         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48989         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48990         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48991         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48993 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
48995         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48997         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48998         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48999         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49001         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49003         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49004         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49005         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49006         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49008         * math/bits/math-finite.h: Add ldexp support.
49010 2012-01-10  Marek Polacek  <polacek@redhat.com>
49012         * locale/programs/localedef.h (show_archive_content): Add noreturn
49013         attribute.
49015 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
49017         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49019 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49021         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49023         * io/Makefile (headers): Add bits/poll2.h.
49025 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
49027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49028         typo #include statement.
49030 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49032         * include/sys/cdefs.h: Define __attribute_alloc_size.
49033         * catgets/gencat.c: Add alloc_size attribute and apply consistently
49034         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49035         * elf/pldd.c: Likewise.
49036         * iconv/iconv_charmap.c: Likewise.
49037         * iconv/iconvconfig.c: Likewise.
49038         * iconv/strtab.c: Likewise.
49039         * locale/programs/locale.c: Likewise.
49040         * locale/programs/localedef.h: Likewise.
49041         * locale/programs/simple-hash.c: Likewise.
49042         * nscd/nscd.h: Likewise.
49043         * nss/makedb.c: Likewise.
49044         * sysdeps/generic/ldconfig.h: Likewise.
49045         * locale/programs/localedef.c: Remove xmalloc prototype.
49046         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49048 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49050         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49051         appropriate.
49053 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49055         * math/Makefile (tests): Add tst-CMPLX.
49056         * math/tst-CMPLX.c: New file.
49058         * math/complex.h (CMPLXL): Fix typo.
49060         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49061         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49062         GLIBC_2.16.
49063         * debug/tst-chk1.c: Add poll and ppoll tests.
49064         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49065         * include/sys/poll.h: Add hidden proto for ppoll.
49066         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49067         * sysdeps/mach/hurd/ppoll.c: Likewise.
49068         * io/ppoll.c: Likewise.
49069         * debug/poll_chk.c: New file.
49070         * debug/ppoll_chk.c: New file.
49071         * include/bits/poll2.h: New file.
49072         * io/bits/poll2.h: New file.
49074         [BZ #1350]
49075         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49077         * configure.in: static is always set to yes.  Remove.
49078         * config.make.in: Don't set build-static.
49079         * Makeconfig: Remove use of build-static.
49080         * dlfcn/Makefile: Likewise.
49081         * elf/Makefile: Likewise.
49082         * math/Makefile: Likewise.
49083         * misc/Makefile: Likewise.
49084         * nptl/Makefile: Likewise.
49085         * sysdeps/mach/hurd/Makefile: Likewise.
49087         * configure.in: PWD_P is not used anymore.
49088         * config.make.in: Remove PWD_P entry.
49090         * configure.in: Remove last remnants of RANLIB.
49091         No need to check for signed size_t anymore.
49092         Don't set libc_commonpagesize and libc_relro_required here for Alpha
49093         and IA-64.
49094         Remove __builtin_expect test because we require at least gcc 3.4.
49095         * aclocal.m4: Likewise.
49097         * wcsmbs/mbrtoc16.c: Implement using towc function.
49098         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49099         * wcsmbs/wcsmbsload.c: Likewise.
49100         * iconv/gconv_simple.c: Likewise.
49101         * iconv/gconv_int.h: Likewise.
49102         * iconv/gconv_builtin.h: Likewise.
49103         * iconv/iconv_prog.c: Remove CHAR16 handling.
49105         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49107         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49109         * configure.in: Remove --with-elf and --enable-bounded options.
49110         Dont set base_machine for ia64.  More non-ELF conditions removed.
49111         Remove testing and setting of leading underscore information.
49112         * config.make.in (build-bounded): Set to no.
49113         * config.h.in: Remove NO_UNDERSCORES entry.
49114         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
49115         them.
49116         * csu/start.c: Remove !NO_UNDERSCORE code.
49117         * locale/localeinfo.h: Likewise.
49118         * sysdeps/generic/machine-gmon.h: Likewise.
49119         * sysdeps/generic/sysdep.h: Likewise.
49120         * sysdeps/i386/sysdep.h: Likewise.
49121         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49122         * sysdeps/mach/sysdep.h: Likewise.
49123         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49124         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49125         * sysdeps/sh/sysdep.h: Likewise.
49126         * sysdeps/sparc/sparc32/alloca.S: Likewise.
49127         * sysdeps/unix/i386/sysdep.S: Likewise.
49128         * sysdeps/unix/sparc/start.c: Likewise.
49129         * sysdeps/unix/sparc/sysdep.S: Likewise.
49130         * sysdeps/unix/sparc/sysdep.h: Likewise.
49131         * sysdeps/unix/start.c: Likewise.
49132         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49133         * sysdeps/x86_64/sysdep.h: Likewise.
49135 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
49137         [BZ #13553]
49138         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49139         for non-gcc.
49140         * argp/argp-fmtstream.h: Use const instead __const.
49141         * argp/argp.h: Likewise.
49142         * assert/assert.h: Likewise.
49143         * bits/fenv.h: Likewise.
49144         * bits/sched.h: Likewise.
49145         * bits/sigset.h: Likewise.
49146         * bits/sigthread.h: Likewise.
49147         * catgets/nl_types.h: Likewise.
49148         * conform/data/pthread.h-data: Likewise.
49149         * crypt/crypt-private.h: Likewise.
49150         * crypt/crypt.h: Likewise.
49151         * crypt/crypt_util.c: Likewise.
49152         * ctype/ctype.h: Likewise.
49153         * debug/execinfo.h: Likewise.
49154         * debug/mbsnrtowcs_chk.c: Likewise.
49155         * debug/mbsrtowcs_chk.c: Likewise.
49156         * debug/wcsnrtombs_chk.c: Likewise.
49157         * debug/wcsrtombs_chk.c: Likewise.
49158         * debug/wcstombs_chk.c: Likewise.
49159         * dirent/dirent.h: Likewise.
49160         * dlfcn/dlfcn.h: Likewise.
49161         * elf/neededtest4.c: Likewise.
49162         * grp/grp.h: Likewise.
49163         * gshadow/gshadow.h: Likewise.
49164         * iconv/gconv.h: Likewise.
49165         * iconv/gconv_int.h: Likewise.
49166         * iconv/gconv_simple.c: Likewise.
49167         * iconv/iconv.h: Likewise.
49168         * iconv/loop.c: Likewise.
49169         * iconv/skeleton.c: Likewise.
49170         * include/aio.h: Likewise.
49171         * include/aliases.h: Likewise.
49172         * include/argz.h: Likewise.
49173         * include/arpa/inet.h: Likewise.
49174         * include/assert.h: Likewise.
49175         * include/dirent.h: Likewise.
49176         * include/dlfcn.h: Likewise.
49177         * include/execinfo.h: Likewise.
49178         * include/fcntl.h: Likewise.
49179         * include/fenv.h: Likewise.
49180         * include/glob.h: Likewise.
49181         * include/grp.h: Likewise.
49182         * include/libintl.h: Likewise.
49183         * include/mntent.h: Likewise.
49184         * include/netdb.h: Likewise.
49185         * include/pwd.h: Likewise.
49186         * include/rpc/netdb.h: Likewise.
49187         * include/sched.h: Likewise.
49188         * include/search.h: Likewise.
49189         * include/shadow.h: Likewise.
49190         * include/signal.h: Likewise.
49191         * include/stdio.h: Likewise.
49192         * include/stdlib.h: Likewise.
49193         * include/string.h: Likewise.
49194         * include/sys/socket.h: Likewise.
49195         * include/sys/stat.h: Likewise.
49196         * include/sys/statfs.h: Likewise.
49197         * include/sys/statvfs.h: Likewise.
49198         * include/sys/syslog.h: Likewise.
49199         * include/sys/time.h: Likewise.
49200         * include/sys/uio.h: Likewise.
49201         * include/time.h: Likewise.
49202         * include/unistd.h: Likewise.
49203         * include/utmp.h: Likewise.
49204         * include/wchar.h: Likewise.
49205         * include/wctype.h: Likewise.
49206         * inet/aliases.h: Likewise.
49207         * inet/arpa/inet.h: Likewise.
49208         * inet/netinet/ether.h: Likewise.
49209         * inet/netinet/in.h: Likewise.
49210         * intl/libintl.h: Likewise.
49211         * io/bits/fcntl2.h: Likewise.
49212         * io/fcntl.h: Likewise.
49213         * io/ftw.h: Likewise.
49214         * io/sys/poll.h: Likewise.
49215         * io/sys/stat.h: Likewise.
49216         * io/sys/statfs.h: Likewise.
49217         * io/sys/statvfs.h: Likewise.
49218         * io/utime.h: Likewise.
49219         * libio/bits/stdio.h: Likewise.
49220         * libio/bits/stdio2.h: Likewise.
49221         * libio/libio.h: Likewise.
49222         * libio/libioP.h: Likewise.
49223         * libio/stdio.h: Likewise.
49224         * locale/lc-ctype.c: Likewise.
49225         * locale/locale.h: Likewise.
49226         * login/utmp.h: Likewise.
49227         * malloc/arena.c: Likewise.
49228         * malloc/malloc.c: Likewise.
49229         * malloc/malloc.h: Likewise.
49230         * malloc/mcheck.c: Likewise.
49231         * malloc/mtrace.c: Likewise.
49232         * math/bits/mathcalls.h: Likewise.
49233         * math/fenv.h: Likewise.
49234         * math/math_private.h: Likewise.
49235         * misc/bits/error.h: Likewise.
49236         * misc/bits/syslog.h: Likewise.
49237         * misc/err.h: Likewise.
49238         * misc/error.h: Likewise.
49239         * misc/fstab.h: Likewise.
49240         * misc/mntent.h: Likewise.
49241         * misc/regexp.h: Likewise.
49242         * misc/search.h: Likewise.
49243         * misc/sgtty.h: Likewise.
49244         * misc/sys/mman.h: Likewise.
49245         * misc/sys/syslog.h: Likewise.
49246         * misc/sys/uio.h: Likewise.
49247         * misc/sys/xattr.h: Likewise.
49248         * misc/ttyent.h: Likewise.
49249         * nis/rpcsvc/ypclnt.h: Likewise.
49250         * nss/nss.h: Likewise.
49251         * posix/bits/unistd.h: Likewise.
49252         * posix/fnmatch.h: Likewise.
49253         * posix/glob.h: Likewise.
49254         * posix/sched.h: Likewise.
49255         * posix/spawn.h: Likewise.
49256         * posix/sys/wait.h: Likewise.
49257         * posix/unistd.h: Likewise.
49258         * posix/wordexp.h: Likewise.
49259         * pwd/pwd.h: Likewise.
49260         * resolv/netdb.h: Likewise.
49261         * resource/sys/resource.h: Likewise.
49262         * rt/aio.h: Likewise.
49263         * rt/bits/mqueue2.h: Likewise.
49264         * rt/mqueue.h: Likewise.
49265         * shadow/shadow.h: Likewise.
49266         * signal/signal.h: Likewise.
49267         * socket/send.c: Likewise.
49268         * socket/sendto.c: Likewise.
49269         * socket/sys/socket.h: Likewise.
49270         * stdio-common/printf.h: Likewise.
49271         * stdlib/bits/stdlib.h: Likewise.
49272         * stdlib/fmtmsg.h: Likewise.
49273         * stdlib/monetary.h: Likewise.
49274         * stdlib/stdlib.h: Likewise.
49275         * stdlib/ucontext.h: Likewise.
49276         * streams/stropts.h: Likewise.
49277         * string/argz.h: Likewise.
49278         * string/bits/string2.h: Likewise.
49279         * string/string.h: Likewise.
49280         * string/strings.h: Likewise.
49281         * sunrpc/rpc/auth.h: Likewise.
49282         * sunrpc/rpc/auth_des.h: Likewise.
49283         * sunrpc/rpc/clnt.h: Likewise.
49284         * sunrpc/rpc/netdb.h: Likewise.
49285         * sunrpc/rpc/pmap_clnt.h: Likewise.
49286         * sunrpc/rpc/xdr.h: Likewise.
49287         * sysdeps/generic/inttypes.h: Likewise.
49288         * sysdeps/generic/net/if.h: Likewise.
49289         * sysdeps/generic/sys/swap.h: Likewise.
49290         * sysdeps/gnu/net/if.h: Likewise.
49291         * sysdeps/gnu/utmpx.h: Likewise.
49292         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49293         * sysdeps/i386/i486/bits/string.h: Likewise.
49294         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49295         * sysdeps/s390/bits/string.h: Likewise.
49296         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49297         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49298         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49299         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49300         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49301         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49302         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49303         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49304         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49305         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49306         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49307         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49308         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49309         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49310         * sysdeps/unix/sysv/linux/readv.c: Likewise.
49311         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49312         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49313         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49314         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49315         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49316         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49317         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49318         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49319         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49320         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49321         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49322         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49323         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49324         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49325         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49326         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49327         * sysvipc/sys/ipc.h: Likewise.
49328         * sysvipc/sys/msg.h: Likewise.
49329         * sysvipc/sys/sem.h: Likewise.
49330         * sysvipc/sys/shm.h: Likewise.
49331         * termios/termios.h: Likewise.
49332         * time/sys/time.h: Likewise.
49333         * time/time.h: Likewise.
49334         * wcsmbs/bits/wchar2.h: Likewise.
49335         * wcsmbs/uchar.h: Likewise.
49336         * wcsmbs/wchar.h: Likewise.
49337         * wctype/wctype.h: Likewise.
49339         [BZ #13551]
49340         * Makeconfig: Remove all but ELF support including AIX support.
49341         * Makerules: Likewise.
49342         * config.h.in: Likewise.
49343         * config.make.in: Likewise.
49344         * configure: Likewise.
49345         * configure.in: Likewise.
49346         * csu/Makefile: Likewise.
49347         * csu/version.c: Likewise.
49348         * debug/Makefile: Likewise.
49349         * dlfcn/Makefile: Likewise.
49350         * elf/Makefile: Likewise.
49351         * extra-lib.mk: Likewise.
49352         * iconv/Makefile: Likewise.
49353         * include/libc-symbols.h: Likewise.
49354         * include/shlib-compat.h: Likewise.
49355         * resolv/Makefile: Likewise.
49356         * resolv/res_libc.c: Likewise.
49357         * rt/Makefile: Likewise.
49358         * sysdeps/i386/asm-syntax.h: Likewise.
49359         * sysdeps/i386/sysdep.h: Likewise.
49360         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49361         * sysdeps/mach/sysdep.h: Likewise.
49362         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49363         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49364         * sysdeps/s390/asm-syntax.h: Likewise.
49365         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49366         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49367         * sysdeps/sh/sysdep.h: Likewise.
49368         * sysdeps/unix/sparc/sysdep.h: Likewise.
49369         * sysdeps/wordsize-32/divdi3.c: Likewise.
49370         * sysdeps/x86_64/sysdep.h: Likewise.
49372         * argp/Versions: Remove _argp_unlock_xxx.
49374         [BZ #13559]
49375         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
49376         * abilist/libBrokenLocale.abilist: Likewise.
49377         * abilist/libanl.abilist: Likewise.
49378         * abilist/libc.abilist: Likewise.
49379         * abilist/libcrypt.abilist: Likewise.
49380         * abilist/libdl.abilist: Likewise.
49381         * abilist/libm.abilist: Likewise.
49382         * abilist/libnsl.abilist: Likewise.
49383         * abilist/libpthread.abilist: Likewise.
49384         * abilist/libresolv.abilist: Likewise.
49385         * abilist/librt.abilist: Likewise.
49386         * abilist/libthread_db.abilist: Likewise.
49387         * abilist/libutil.abilist: Likewise.
49388         * abilist/libnss_db.abilist: New file.
49390         * scripts/abilist.awk: Add support for indirect functions.
49392         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49394         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49396         * shlib-versions: Remove entries for ports architectures.
49398         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
49399         files in ports.
49400         * elf/stackguard-macros.h: Remove support for IA-64.
49401         * elf/tst-auditmod1.c: Likewise.
49402         * sysdeps/generic/ldsodefs.h: Likewise.
49404         * sysdeps/unix/sysv/linux/configure.in: Ports should define
49405         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49406         configure files.
49408         [BZ #13552]
49409         * configure.in: Remove --enable-omitfp support.
49410         * FAQ.in: Adjust.
49411         * config.make.in: Likewise.
49412         * Makeconfig: Likewise.
49413         * manual/install.texi: Likewise.
49415         In case anyone cares, the IA-64 architecture could move to ports.
49416         * sysdeps/ia64/*: Removed.
49417         * sysdeps/unix/sysv/linux/ia64/*: Removed.
49418         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49420         [BZ #13555]
49421         * configure.in: Remove entries for unsupported architectures.
49423         [BZ #13533]
49424         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49425         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
49426         routines.
49427         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49428         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49429         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
49430         fall back to using wcrtomb.
49431         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49432         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
49433         renaming.
49434         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49435         * wcsmbs/tst-c16c32-1.c: New file.
49437         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49438         local variable.
49440         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49442         * elf/tst-unique3.cc: Add explicit declaration of gets.
49443         * elf/tst-unique3lib.cc: Likewise.
49444         * elf/tst-unique3lib2.cc: Likewise.
49445         * elf/tst-unique4.cc: Likewise.
49447         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49449 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
49451         [BZ #13566]
49452         * assert/assert.h (static_assert): Don't define for C++.
49453         * libio/stdio.h (gets): Do declare for C++ <= C++11.
49454         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49456 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
49458         * iconv/loop.c (single loop): Fix assertion in storing of
49459         remaining bytes.
49461         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49463 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
49465         * posix/getconf.c: Update copyright year.
49466         * nss/getent.c: Likewise.
49467         * nss/makedb.c: Likewise.
49468         * iconv/iconvconfig.c: Likewise.
49469         * iconv/iconv_prog.c: Likewise.
49470         * elf/ldconfig.c: Likewise.
49471         * elf/pldd.c: Likewise.
49472         * elf/sotruss.ksh: Likewise.
49473         * catgets/gencat.c: Likewise.
49474         * csu/version.c: Likewise.
49475         * elf/ldd.bash.in: Likewise.
49476         * elf/sprof.c (print_version): Likewise.
49477         * locale/programs/locale.c: Likewise.
49478         * locale/programs/localedef.c: Likewise.
49479         * login/programs/pt_chown.c: Likewise.
49480         * nscd/nscd.c (print_version): Likewise.
49481         * debug/xtrace.sh: Likewise.
49482         * malloc/memusage.sh: Likewise.
49483         * malloc/mtrace.pl: Likewise.
49484         * debug/catchsegv.sh: Likewise.
49486 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
49488         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49489         pure attribute.
49491 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
49493         [BZ #13533]
49494         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49495         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49496         transformations.
49497         * iconv/gconv_int.h: Likewise.
49498         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49499         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49500         from libc for GLIBC_2.16.
49501         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49502         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49503         * wcsmbs/uchar.h: Really define mbstate_t.
49504         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49505         * wcsmbs/c16rtomb.c: New file.
49506         * wcsmbs/mbrtoc16.c: New file.
49507         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49508         for C/POSIX locale.
49509         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49510         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49512         * wcsmbs/wchar.h: Add missing __restrict.
49514 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49516         [BZ #13532]
49517         * time/Makefile (routines): Add timespec_get.
49518         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49519         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
49520         timespec for ISO C11.
49521         * time/timespec_get.c: New file.
49522         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49523         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49525         [BZ #13531]
49526         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49527         * stdlib/stdlib.h: Declare aligned_alloc.
49528         * Versions.def: Add GLIBC_2.16 for libc.
49529         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49531         [BZ 13527]
49532         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49533         ISO C11.
49535         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49536         code.
49538         [BZ #13528]
49539         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49541         [BZ #13529]
49542         * assert/assert.h (static_assert): Define.
49544         * version.h: Update for 2.16 development version.
49546         [BZ #13526]
49547         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49548         _ISOC11_SOURCE.
49550         * version.h (RELEASE): Bump for 2.15 release.
49551         * include/features.h (__GLIBC_MINOR__): Bump to 15.
49553         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49554         Patch by Marek Polacek <mpolacek@redhat.com>.
49556         * bits/byteswap.h: Protect long long constants with __extension__.
49557         * sysdeps/i386/bits/byteswap.h: Likewise.
49558         * sysdeps/ia64/bits/byteswap.h: Likewise.
49559         * sysdeps/s390/bits/byteswap.h: Likewise.
49560         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49562 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49564         [BZ #13540]
49565         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49566         destination buffer.
49567         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49569 2011-12-23  Marek Polacek  <polacek@redhat.com>
49571         * elf/dl-addr.c (determine_info): Add inline keyword.
49572         * elf/tst-auditmod4b.c (check_avx): Likewise.
49573         * elf/tst-auditmod6b.c (check_avx): Likewise.
49574         * elf/tst-auditmod6c.c (check_avx): Likewise.
49575         * elf/tst-auditmod7b.c (check_avx): Likewise.
49577 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49579         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49580         !__SSE_MATH__.
49582 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49584         [BZ #13540]
49585         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49586         processing for last bytes.
49588 2011-08-06  Bruno Haible  <bruno@clisp.org>
49590         [BZ #13061]
49591         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49592         U+0385, not to U+1FEE.
49594         [BZ #13062]
49595         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49596         entry for U+00A5 U+0301.
49598 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49600         [BZ #13166]
49601         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49602         buffer for the output is too small.
49604         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49605         optimization.
49607         [BZ #13185]
49608         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49609         SSE flags if possible.
49611 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49613         [BZ #13540]
49614         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49615         processing for last bytes.
49617 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
49619         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49620         (syscall-list-default-options, syscall-list-default-condition)
49621         (syscall-list-includes): Define.
49622         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49623         list of ABIs and options and #if conditions for each ABI.  Do not
49624         handle common syscalls between ABIs specially.
49625         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49626         Remove.
49627         (syscall-list-variants, syscall-list-32bit-options)
49628         (syscall-list-32bit-condition, syscall-list-64bit-options)
49629         (syscall-list-64bit-condition): Define.
49630         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49631         (syscall-list-variants, syscall-list-32bit-options)
49632         (syscall-list-32bit-condition, syscall-list-64bit-options)
49633         (syscall-list-64bit-condition): Define.
49634         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49635         Remove.
49636         (syscall-list-variants, syscall-list-32bit-options)
49637         (syscall-list-32bit-condition, syscall-list-64bit-options)
49638         (syscall-list-64bit-condition): Define.
49639         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49640         Remove.
49641         (syscall-list-variants, syscall-list-32bit-options)
49642         (syscall-list-32bit-condition, syscall-list-64bit-options)
49643         (syscall-list-64bit-condition): Define.
49645 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49647         * locale/iso-639.def: Add brx entry.
49649         [BZ #13328]
49650         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49651         Proposed by Mariusz_Cukr <marcukr@op.pl>.
49653         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49654         __feraiseexcept_renamed.
49656 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49658         [BZ #13538]
49659         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49660         EPOLLET with unsigned values.
49661         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49662         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49664         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49665         to large cancellation.
49666         * math/s_cacoshf.c: Likewise.
49667         * math/s_cacoshl.c: Likewise.
49669 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
49671         [BZ #13305]
49672         [BZ #12786]
49673         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49674         * math/s_cacoshf.c: Likewise.
49675         * math/s_cacoshl.c: Likewise.
49677 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49679         [BZ #13439]
49680         * iconv/gconv.h: Define __GCONV_SWAP.
49681         * iconvdata/unicode.c: The swap bit must be stored in __flags.
49682         * iconvdata/utf-16.c: Likewise.
49683         * iconvdata/utf-32.c: Likewise.
49685 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
49687         [BZ #13524]
49688         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49689         numerator after shifting it by one limb.
49691 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
49693         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49694         under [__USE_EXTERN_INLINES].
49696 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49698         [BZ #13446]
49699         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49701 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49703         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49704         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49705         optimized code.
49706         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49707         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49708         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49709         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49710         for strncasecmp/strncasecmp_l compilation.
49711         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49712         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49714 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
49716         [BZ #13484]
49717         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49718         of __asm__.
49720 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49722         [BZ #13506]
49723         * time/tzfile.c (__tzfile_read): Check values from file header.
49725 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
49727         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49728         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49729         * powerpc/powerpc32/dl-start.S: Likewise.
49730         * powerpc/powerpc32/elf/start.S: Likewise.
49731         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49732         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49733         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49734         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49735         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49736         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49737         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49738         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49739         * powerpc/powerpc32/fpu/s_round.S: Likewise.
49740         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49741         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49742         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49743         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49744         * powerpc/powerpc32/memset.S: Likewise.
49745         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49746         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49747         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49748         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49749         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49750         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49751         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49752         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49753         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49754         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49755         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49756         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49757         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49759 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49761         * math/libm-test.inc: Added more nearbyint tests.
49762         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49763         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49764         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49765         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49767 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
49769         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49770         FD_CLOEXEC.
49772 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49774         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49775         Add wcscpy-ssse3 wcscpy-c.
49776         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49777         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49778         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49779         * sysdeps/x86_64/wcschr.S: New file.
49780         * sysdeps/x86_64/wcsrchr.S: New file.
49781         * string/test-strcmp.c: Remove checking of wcscmp function for
49782         wrong alignments.
49783         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49784         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49785         wcsrchr-sse2 wcsrchr-c.
49786         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49787         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49788         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49789         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49790         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49791         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49792         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49793         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49794         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49795         * wcsmbc/wcschr.c (WCSCHR): New macro.
49797 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49799         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49800         * wcsmbs/test-wcsrchr.c: New file.
49801         * string/test-strrchr.c: Add wcsrchr support.
49802         (WIDE): New macro.
49803         * wcsmbs/test-wcscpy.c: New file.
49804         * string/test-strcpy.c: Add wcscpy support.
49805         (WIDE): New macro.
49807 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
49809         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49810         the inner loop.
49812 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
49814         [BZ #13472]
49815         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49817 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
49819         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49820         Minor optimizations.
49822         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49823         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49824         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49826 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
49828         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49829         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49830         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49831         for gcc to avoid warnings.
49832         * inet/Makefile (tests): Add tst-checks.
49833         * inet/tst-checks.c: New file.
49835         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49836         warning.
49838         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49839         __wmemcmp_sse2.
49841         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49842         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49844         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49846 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
49848         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49849         problem.
49851         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49853 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
49855         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49856         conditional on GCC version.
49857         (__arch_compare_and_exchange_val_8_acq)
49858         (__arch_compare_and_exchange_val_16_acq)
49859         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49860         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49861         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49863 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
49865         * sysdeps/sh/backtrace.c: New file.
49867 2011-12-02  Andreas Schwab  <schwab@redhat.com>
49869         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
49870         parenthesis.
49872 2011-12-01  Andreas Schwab  <schwab@redhat.com>
49874         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49875         falling back to utime.
49877 2011-11-30  Andreas Schwab  <schwab@redhat.com>
49879         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49880         expectations for float.
49882 2011-11-29  Andreas Schwab  <schwab@redhat.com>
49884         * locale/weight.h (findidx): Add parameter len.
49885         * locale/weightwc.h (findidx): Likewise.
49886         * posix/fnmatch_loop.c (FCT): Adjust caller.
49887         * posix/regcomp.c (build_equiv_class): Likewise.
49888         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49889         * posix/regexec.c (check_node_accept_bytes): Likewise.
49890         * string/strcoll_l.c (STRCOLL): Likewise.
49891         * string/strxfrm_l.c (STRXFRM): Likewise.
49893 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
49895         * Makefile.in: Remove CVSOPT handling.
49896         * configure.in: Remove use of AC_REVISION.
49897         * iconvdata/Makefile (distribute): No need to filter out CVS.
49898         * scripts/list-sources.sh: Remove CVS, subversion and monotone
49899         handling.
49901 2011-11-16  Andreas Schwab  <schwab@redhat.com>
49903         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49904         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49905         [USE_AS_STRNCASECMP_L]: Likewise.
49906         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49907         NO_TLS_DIRECT_SEG_REFS.
49908         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49909         Fix argument offsets for non-PIC.
49910         [USE_AS_STRNCASECMP_L]: Likewise.
49911         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49912         NO_TLS_DIRECT_SEG_REFS.
49914 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
49916         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49917         O_CLOEXEC.
49918         * locale/loadlocale.c (_nl_load_locale): Likewise.
49920 2011-11-15  Andreas Schwab  <schwab@redhat.com>
49922         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49923         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49924         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49925         (SYSCALL_GETTIME): Set errno on error.
49927         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49928         count references to noai6ai_cached.
49930 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
49932         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49934         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49935         FD_CLOEXEC for /proc/self/maps.
49937         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49938         FD_CLOEXEC for /proc/meminfo.
49940         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49941         gai.conf.
49943         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
49944         FD_CLOEXEC for given file.
49946         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49948         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49949         FD_CLOEXEC for /etc/hosts.
49950         (_gethtent): Likewise.
49952         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49954         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49955         cancellation and set FD_CLOEXEC for /etc/netgroup.
49957         * nss/nss_files/files-key.c (search): Don't allow cancellation when
49958         reading /etc/publickey.
49960         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49961         allow cancellation when reading /etc/group.
49963         * nss/nss_files/files-alias.c (internal_setent): Don't allow
49964         cancellation.
49965         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
49967         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49968         when using data file.
49970         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49972         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49973         (write_nis_obj): Use "c" and "e" in fopen.
49975         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49977         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49979         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49981         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49983         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49984         locale.alias.
49986         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49988         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49990         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49992         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49993         file parsing and set FD_CLOEXEC.
49995 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49997         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49999 2011-11-14  Andreas Schwab  <schwab@redhat.com>
50001         * malloc/arena.c (arena_get2): Don't call reused_arena when
50002         _int_new_arena failed.
50004 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50006         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50007         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50008         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50009         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50010         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50011         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50012         to compile strcasecmp and strncasecmp.
50013         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50014         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50016         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50018 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
50020         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50021         locale-defines.sym to gen-as-const-headers.
50022         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50023         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50024         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50025         to compile strcasecmp and strncasecmp.
50026         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50027         strcasecmp_l and strncasecmp_l.
50028         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50029         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50030         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50031         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50032         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50033         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50034         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50035         * sysdeps/i386/i686/multiarch/strncase.S: New file.
50036         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50037         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50038         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50040 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
50042         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50043         result of SYSDEP_GETTIME_CPU to retval.
50044         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50045         parameter list to macro.  Remove trailing semicolon.  Adjust users.
50047         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50048         variable.
50050         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50051         mantissa words.
50052         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50054         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50055         from unused variable.
50057         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50058         DWARF definitions.
50059         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50060         for assembling.
50062         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50063         over namespaces.
50065         * sunrpc/rpc_prot.c (rejected): Fix case value.
50067         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50068         unsigned long long int to avoid warnings in shift.
50070         * posix/regex_internal.c (re_string_reconstruct): Actually use result
50071         of use of trans.
50072         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50073         variable tmp.
50075         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50076         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50077         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50079         * nis/nis_table.c (nis_list): Use variable of correct type for
50080         result of __follow_path call.
50082 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50084         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50085         of math functions ceil, trunc, floor, round, and sqrt, when
50086         avaliable on the platform.
50087         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50088         name clash.
50089         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50090         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50091         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50093 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
50095         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50096         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50098 2011-11-11  Roland McGrath  <roland@hack.frob.com>
50100         * include/unistd.h: Fix __readlink return type.
50101         Reported by Chris Metcalf <cmetcalf@tilera.com>.
50103 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
50105         * stdlib/ucontext.h: Undo last change for makecontext.
50107 2011-11-11  Andreas Schwab  <schwab@redhat.com>
50109         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50111         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50112         * setjmp/setjmp.h: Mark functions as non-leaf.
50113         * setjmp/bits/setjmp2.h: Likewise.
50114         * stdlib/ucontext.h: Likewise.
50116 2011-11-10  Andreas Schwab  <schwab@redhat.com>
50118         * malloc/arena.c (_int_new_arena): Don't increment narenas.
50119         (reused_arena): Don't check arena limit.
50120         (arena_get2): Atomically check arena limit.
50122 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
50124         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50125         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50127         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50128         instructions.
50130 2011-11-07  Andreas Schwab  <schwab@redhat.com>
50132         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50133         handler when locking.
50135         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50136         Fix size of allocated buffer.
50138 2011-11-04  Andreas Schwab  <schwab@redhat.com>
50140         [BZ #10103]
50141         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50142         declarations for long double functions.
50143         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50145         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50147 2011-11-03  Andreas Schwab  <schwab@redhat.com>
50149         * nscd/nscd.c (main): Don't start AVC thread until credentials are
50150         installed.
50152         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50153         is disabled.
50155 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50157         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50159 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50161         * include/alloca.h (stackinfo_alloca_round): Define.
50162         (extend_alloca): Use it.
50163         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50164         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50165         here.
50167         * scripts/check-local-headers.sh: Ignore libaudit.h.
50169         * nscd/Makefile (extra-objs): Make recursively expanded.
50171 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
50173         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50174         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50176         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50177         * posix/tst-rfc3484-2.c: Likewise.
50178         * posix/tst-rfc3484-3.c: Likewise.
50180         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50181         process_vm_writev.
50182         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50183         process_vm_writev.
50184         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50185         process_vm_writev from libc using GLIBC_2.15 version.
50187         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50189 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
50191         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50192         stack usage.
50194 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
50196         [BZ #13367]
50197         * nss/getent.c (initgroups_keys): Show error message in case no group
50198         names are given.
50200         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50201         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50202         __bump_nl_timestamp.
50203         * nscd/connections (nscd_init): When host database is served open
50204         netlink socket and request notification about configuration changes.
50205         (main_loop_poll): Track netlink file descriptor and bump timestamp
50206         in case data becomes available.
50207         (main_loop_epoll): Likewise.
50208         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50209         (database_pers_head): Add extra_data fileds.
50210         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50211         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50212         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50213         Adjust caller.
50214         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50215         in6ai data, call __free_in6ai.
50216         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50217         Add -DHAVE_NETLINK.
50218         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
50219         interface information.  Reuse previous data if netlink timestamp
50220         is not changed.
50221         (__bump_nl_timestamp): New function.
50222         (__free_in6ai): New function.
50224 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
50226         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50227         close_not_cancel_no_status here.
50228         (__check_pf): Reorganize code a bit to not call close twice if OOM.
50230 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50232         [BZ #13276]
50233         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50234         return value.
50236         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50237         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50238         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50240 2011-07-03  Andreas Jaeger  <aj@suse.de>
50242         [BZ #10709]
50243         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50244         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50245         * math/libm-test.inc (sin_test): Add test case.
50247 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50249         [BZ #13337]
50250         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50251         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50253         * elf/chroot_canon.c (chroot_canon): Cleanups.
50255         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50257         [BZ #13335]
50258         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50259         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50261         * string/test-strchr.c: Make usable for strchrnul testing.
50262         * string/test-strchrnul.c: New file.
50263         * string/Makefile (strop-tests): Add strchrnul.
50265         * po/it.po: Update from translation team.
50266         * po/es.po: Likewise.
50268 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
50270         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50271         the three constants needed as parameters.  Drop the others.
50272         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50273         __m128i_strloadu_tolower.
50274         Create and initialize variable zero and use it in all the places
50275         where _mm_setzero_si128 was used.
50277         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50278         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50279         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50280         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50281         anymore.
50282         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50283         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50284         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50285         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50286         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50287         __mpranred, __mptan.
50288         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50289         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50290         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50291         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50292         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50293         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50294         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50295         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50296         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50298 2011-10-28  Andreas Schwab  <schwab@redhat.com>
50300         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50301         redefine if SHARED.
50302         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50304         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50305         wide char related routines to wcsmbs subdir.
50307 2011-10-27  Andreas Schwab  <schwab@redhat.com>
50309         [BZ #13344]
50310         * misc/sys/cdefs.h (__THROWNL): Define.
50311         * posix/unistd.h: Use __THREADNL instead of __THREAD
50312         for memory synchronization functions.
50314 2011-10-26  Roland McGrath  <roland@hack.frob.com>
50316         [BZ #13349]
50317         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50318         doesn't exist.
50319         * manual/stdio.texi (Obstack Streams): Node removed.
50321 2011-10-26  Andreas Schwab  <schwab@redhat.com>
50323         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50324         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50325         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50327         * math/math_private.h (math_force_eval): Allow non-addressable
50328         arguments.
50329         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50331 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50333         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50334         file is not needed.
50336         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50337         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50338         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50339         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50340         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50341         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50342         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50343         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50344         Add AVX variants.
50345         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50346         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50347         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50348         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50349         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50350         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50351         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50352         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50353         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50354         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50355         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50356         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50357         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50358         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50359         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50360         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50361         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50362         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50363         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50365         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50366         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
50368         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50369         place.  Use VEX encoding when compiling for AVX.
50371 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50373         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50374         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50376         * string/test-strchr.c (do_test): Don't generate NUL bytes.
50378 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50380         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50381         useless if() expression.
50382         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50383         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50384         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50385         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50386         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50387         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50388         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50389         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50390         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50391         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50392         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50393         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50394         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50395         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50396         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50397         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50398         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50399         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50400         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50402         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50404 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50406         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50407         condition.
50408         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50410 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50412         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50413         .text section.  Avoid duplicate constants.
50414         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50415         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50416         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50417         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50418         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50419         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50420         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50421         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50422         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50423         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50424         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50425         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50426         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50427         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50428         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50429         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50430         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50431         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50432         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50433         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50434         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50435         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50436         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50437         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50438         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50439         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50440         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50441         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50442         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50443         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50444         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50445         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50446         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50447         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50448         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50449         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50450         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50451         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50452         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50453         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50454         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50455         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50456         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50457         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50458         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50460 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
50462         * sysdeps/x86_64/dla.h: Move to ...
50463         * sysdeps/x86_64/fpu/dla.h: ...here.
50464         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50465         situations.  Use __builtin_fma only for gcc 4.6 and up.
50467         * config.make.in: Add have-mfma4 entry.
50468         * configure.in: Substitute libc_cv_cc_fma4.
50469         * math/Makefile (dbl-only-routines): Add sincostab.
50470         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50471         Use __sincostab not sincos.
50472         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50473         name is a macro.
50474         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50475         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50476         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50477         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
50478         using __copysign.
50479         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
50480         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
50481         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50482         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50483         and __inv.
50484         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50485         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50486         __copysign.
50487         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
50488         define aliases when function name is a macro.
50489         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50490         sysdeps/ieee754/dbl-64/sincos.tbl.
50491         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50492         fma4-enabled routines.
50493         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50494         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50495         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50496         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50497         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50498         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50499         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50500         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50501         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50502         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50503         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50504         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50505         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50506         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50507         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50508         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50509         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50510         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50511         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50512         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50513         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50514         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50515         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50516         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50517         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50518         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50519         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50520         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50521         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50522         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50524         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50525         rename.
50526         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50527         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50528         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50529         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50530         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50531         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50532         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50533         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50535 2011-10-24  Andreas Schwab  <schwab@redhat.com>
50537         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50539 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50541         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50543         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50544         prediction.
50545         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50547         * string/strnlen.c: Don't define STRNLEN, reverse logic.
50548         Remove unused variable magic_bits.
50549         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50551         * string/strnlen.c: Define and use STRNLEN macro.
50552         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50553         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50554         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50555         * wcsmbs/wcslen.c: Define and use WCSLEN.
50556         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50557         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50558         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50559         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50560         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50561         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50562         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50564 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50566         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50567         strnlen-sse2-no-bsf.
50568         Rename strlen-no-bsf to strlen-sse2-no-bsf.
50569         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50570         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50571         Add strnlen support.
50572         (USE_AS_STRNLEN): New macro.
50573         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50574         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50575         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50576         * sysdeps/x86_64/wcslen.S: New file.
50578 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
50580         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50581         XMM-moves are used for copying on small sizes.
50583 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50585         * wcsmbs/Makefile (strop-tests): Add wcschr.
50586         * wcsmbs/test-wcschr.c: New file.
50587         * string/test-strchr.c: Update.
50588         Add wcschr support.
50589         (WIDE): New macro.
50591 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50593         * wcsmbs/Makefile (strop-tests): Add wcslen.
50594         * wcsmbs/test-wcslen.c: New file.
50595         * string/test-strlen.c: Update.
50596         Add wcslen support.
50597         (WIDE): New macro.
50599 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50601         * po/it.po: Update from translation team.
50603 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50605         * sysdeps/x86_64/wcscmp.S: Update.
50606         Fix wrong comparison semantics.
50607         wcscmp shall use signed comparison not unsigned.
50608         Don't use substraction to avoid overflow bug.
50609         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50610         * wcsmbc/wcscmp.c: Likewise.
50611         * string/test-strcmp.c: Likewise.
50612         Add new tests to check cases with negative values.
50614 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50616         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50617         * sysdeps/x86_64/dla.h: ...here.  New file.
50618         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50619         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50620         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50621         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50622         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50623         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50624         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50625         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50626         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50628 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
50630         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50631         __ynl_finite aliases.
50633 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50635         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50637         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50638         define DLA_FMA.
50639         [DLA_FMA] (EMULV): Use DLA_FMA.
50640         [DLA_FMA] (MUL12): Use EMULV.
50641         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50642         that are not needed.
50643         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50644         * sysdeps/ieee754/dbl-64/e_atan2.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/halfulp.c: Likewise.
50648         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50649         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50651 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
50653         * math/s_nan.c: Undef __nan.
50654         * math/s_nanf.c: Undef __nanf.
50655         * math/s_nanl.c: Undef __nanl.
50656         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50657         "math_private.h".
50659 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50661         * math/s_catan.c: Add branch predictions.
50662         * math/s_catanf.c: Likewise.
50663         * math/s_catanh.c: Likewise.
50664         * math/s_catanhf.c: Likewise.
50665         * math/s_catanhl.c: Likewise.
50666         * math/s_catanl.c: Likewise.
50667         * math/s_cexp.c: Likewise.
50668         * math/s_cexpf.c: Likewise.
50669         * math/s_cexpl.c: Likewise.
50670         * math/s_clog.c: Likewise.
50671         * math/s_clog10.c: Likewise.
50672         * math/s_clog10f.c: Likewise.
50673         * math/s_clog10l.c: Likewise.
50674         * math/s_clogf.c: Likewise.
50675         * math/s_clogl.c: Likewise.
50676         * math/s_csqrt.c: Likewise.
50677         * math/s_csqrtf.c: Likewise.
50678         * math/s_csqrtl.c: Likewise.
50679         * math/s_ctanf.c: Likewise.
50680         * math/s_ctanh.c: Likewise.
50681         * math/s_ctanhf.c: Likewise.
50682         * math/s_ctanhl.c: Likewise.
50683         * math/s_ctanl.c: Likewise.
50685         * math/math_private.h: Define __nan, __nanf, __nanl.
50686         * math/s_cacosh.c: Include <math_private.h>.
50687         * math/s_cacoshl.c: Likewise.
50688         * math/s_casinh.c: Likewise.
50689         * math/s_casinhf.c: Likewise.
50690         * math/s_casinhl.c: Likewise.
50691         * math/s_ccos.c: Rely entire on ccosh.
50692         * math/s_ccosf.c: Rely entire on ccoshf.
50693         * math/s_ccosl.c: Rely entirely on ccoshl.
50694         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
50695         Remove tests for FE_INVALID.
50696         * math/s_ccoshf.c: Likewise.
50697         * math/s_ccoshl.c: Likewise.
50698         * math/s_csin.c: Likewise.
50699         * math/s_csinf.c: Likewise.
50700         * math/s_csinh.c Likewise.
50701         * math/s_csinhf.c: Likewise.
50702         * math/s_csinhl.c: Likewise.
50703         * math/s_csinl.c: Likewise.
50704         * math/s_ctan.c: Likewise.
50705         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50706         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50707         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50709 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
50711         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50712         compilation problems.
50714         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50715         __builtin_expect.
50717 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
50719         * sysdeps/i386/configure.in: Test for -mfma4 option.
50720         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50721         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50722         COMMON_CPUID_INDEX_80000001.
50723         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50724         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50725         use it if FMA3 is not supported.
50726         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50728         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50729         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50731 2011-10-20  Andreas Schwab  <schwab@redhat.com>
50733         [BZ #12892]
50734         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50735         it would create a cycle with a link time dependency.
50737 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
50739         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50740         instruction.
50741         * string/Makefile (strop-tests): Add rawmemchr.
50742         * string/test-rawmemchr.c: New file.
50744         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50745         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
50746         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
50747         when compiling str{,n}casecmp and when AVX is available.  Hook up
50748         new optimized code in initializers.
50750 2011-10-19  Andreas Schwab  <schwab@redhat.com>
50752         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50753         __feraiseexcept instead of feraiseexcept.
50755 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
50757         * math/math_private.h: Define defaults for libc_fetestexcept and
50758         libc_feupdateenv.
50759         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50760         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50761         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50762         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50763         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50764         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50765         libc_fetestexcept and libc_feupdateenv.
50767         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50768         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50769         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50770         * sysdeps/x86_64/fpu/math_private.h: Define special version of
50771         libc_feholdexcept_setround.
50773         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50774         Add s_nearbyint-c and s_nearbyintf-c.
50775         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50776         nearbyintf inlines.
50777         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50778         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50779         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50780         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50782         * math/math_private.h: Define defaults for libc_fegetround,
50783         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50784         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50785         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50786         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50787         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50788         standard functions.
50789         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50790         Remove comments and hacks for old compiler versions.
50791         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50792         libc_fegetround, libc_fesetround, libc_feholdexcept, and
50793         libc_feholdexceptl.
50795 2011-10-18  Andreas Schwab  <schwab@redhat.com>
50797         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50798         (__feraiseexcept_renamed): Add __NTH.
50799         (feraiseexcept): Add __NTH.  Rename local variables to fix
50800         namespace violations.
50802 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
50804         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50806         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50808         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50809         recently added interfaces.
50810         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50812         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50813         about macro parameter expansion.
50815         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50816         __NO_MATH_INLINES is defined.  Cleanups.
50818         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50819         and __floorf is target has SSE4.1.
50820         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50821         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50822         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50823         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50825         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50826         name.
50827         (floorf): Likewise.
50829         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50831 2011-10-17  Andreas Schwab  <schwab@redhat.com>
50833         * misc/sys/cdefs.h: Fix last change.
50835         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50836         database lookup.
50838 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
50840         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50842         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50843         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50844         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50845         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50846         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50847         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50848         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50849         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50850         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50851         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50852         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50853         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50854         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50855         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50856         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50857         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50858         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50859         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50860         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50861         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50862         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50863         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50865         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50866         ceil, ceilf, floor, floorf.
50868         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50869         Perform IRELATIVE relocations last.
50871         * elf/do-rel.h: Add another parameter nrelative, replacing the
50872         local variable with the same name.  Change name of the function
50873         to end in Rel or Rela (uppercase).
50874         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50875         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
50876         elf_dynamic_do_##reloc function.
50878 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
50880         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50881         is sufficient, at least on modern CPUs.
50883         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50885         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50886         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50888         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50889         __expl_finite.
50890         * math/bits/math-finite.h: Add entries for exp.
50891         * math/e_expl.c: Add __*_finite alias.
50892         * sysdeps/i386/fpu/e_exp.S: Likewise.
50893         * sysdeps/i386/fpu/e_expf.S: Likewise.
50894         * sysdeps/i386/fpu/e_expl.c: Likewise.
50895         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50896         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50897         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50898         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50899         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50900         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50901         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50903         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50904         is sufficient, at least on modern CPUs.
50906         * ctype/ctype-info.c (__ctype_init): Define.
50907         * include/ctype.h (__ctype_init): Declare.
50908         (__ctype_b_loc): The variable is always initialized.
50909         (__ctype_toupper_loc): Likewise.
50910         (__ctype_tolower_loc): Likewise.
50911         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50912         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50914 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
50916         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50918         * configure.in: Also look in $cxxmachine/include for C++ system
50919         headers.
50921 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50923         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50924         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50925         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50926         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
50927         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50928         (USE_AS_WMEMCMP): New macro.
50929         Fixing indents.
50930         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50931         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50932         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50933         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50934         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50935         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50936         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50937         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50938         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50939         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50940         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50941         (USE_AS_WMEMCMP): New macro.
50942         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50943         * sysdeps/string/test-memcmp.c: Update.
50944         Fix simple_wmemcmp.
50945         Add new tests.
50946         * wcsmbs/wmemcmp.c: Update.
50947         (WMEMCMP): New macro.
50948         Fix overflow bug.
50950 2011-10-12  Andreas Jaeger  <aj@suse.de>
50952         [BZ #13268]
50953         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50955 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
50957         * libio/iofwide.c (do_length): Avoid warning.
50959         * ctype/ctype.h (__isctype_f): Add missing __THROW.
50961 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
50963         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50965         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50966         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50967         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50968         * sysdeps/i386/i686/fpu/e_log.S: New file.
50969         * sysdeps/i386/i686/fpu/e_logf.S: New file.
50970         * sysdeps/i386/i686/fpu/e_logl.S: New file.
50972         * ctype/ctype.h: Add support for inlined isXXX functions when
50973         compiling C++ code.
50975 2011-10-14  Andreas Schwab  <schwab@redhat.com>
50977         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50979         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50981 2011-10-13  Roland McGrath  <roland@hack.frob.com>
50983         [BZ #13291]
50984         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50986 2011-10-13  Andreas Schwab  <schwab@redhat.com>
50988         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50989         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50990         feraiseexcept.
50992         * sysdeps/x86_64/memrchr.S: Check for zero size.
50994         * string/stratcliff.c: Add memrchr tests.
50996 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50998         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50999         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51000         rawmemchr-sse2 rawmemchr-sse2-bsf.
51001         * sysdeps/i386/i686/multiarch/memchr.S: New file.
51002         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51003         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51004         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51005         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51006         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51007         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51008         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51009         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51010         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51011         * string/memrchr.c (MEMRCHR): New macro.
51013 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
51015         Add integration with gcc's -ffinite-math-only and optimize wrapper
51016         functions in libm.
51017         * Versions.def: Define GLIBC_2.15 version for libm.
51018         * math/Makefile (headers): Add bits/math-finite.h.
51019         * math/bits/math-finite.h: New file.
51020         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51021         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51022         * math/e_acoshl.c: Add __*_finite alias.
51023         * math/e_acosl.c: Likewise.
51024         * math/e_asinl.c: Likewise.
51025         * math/e_atan2l.c: Likewise.
51026         * math/e_atanhl.c: Likewise.
51027         * math/e_coshl.c: Likewise.
51028         * math/e_exp10.c: Likewise.
51029         * math/e_exp10f.c: Likewise.
51030         * math/e_exp10l.c: Likewise.
51031         * math/e_exp2l.c: Likewise.
51032         * math/e_fmodl.c: Likewise.
51033         * math/e_gammal_r.c: Likewise.
51034         * math/e_hypotl.c: Likewise.
51035         * math/e_j0l.c: Likewise.
51036         * math/e_j1l.c: Likewise.
51037         * math/e_jnl.c: Likewise.
51038         * math/e_lgammal_r.c: Likewise.
51039         * math/e_log10l.c: Likewise.
51040         * math/e_log2l.c: Likewise.
51041         * math/e_logl.c: Likewise.
51042         * math/e_powl.c: Likewise.
51043         * math/e_sinhl.c: Likewise.
51044         * math/e_sqrtl.c: Likewise.
51045         * math/e_scalb.c: Completely rewritten and optimized.
51046         * math/e_scalbf.c: Likewise.
51047         * math/e_scalbl.c: Likewise.
51048         * math/w_acos.c: Likewise.
51049         * math/w_acosf.c: Likewise.
51050         * math/w_acosl.c: Likewise.
51051         * math/w_acosh.c: Likewise.
51052         * math/w_acoshf.c: Likewise.
51053         * math/w_acoshl.c: Likewise.
51054         * math/w_asin.c: Likewise.
51055         * math/w_asinf.c: Likewise.
51056         * math/w_asinl.c: Likewise.
51057         * math/w_atan2.c: Likewise.
51058         * math/w_atan2f.c: Likewise.
51059         * math/w_atan2l.c: Likewise.
51060         * math/w_atanh.c: Likewise.
51061         * math/w_atanhf.c: Likewise.
51062         * math/w_atanhl.c: Likewise.
51063         * math/w_exp10.c: Likewise.
51064         * math/w_exp10f.c: Likewise.
51065         * math/w_exp10l.c: Likewise.
51066         * math/w_fmod.c: Likewise.
51067         * math/w_fmodf.c: Likewise.
51068         * math/w_fmodl.c: Likewise.
51069         * math/w_j0.c: Likewise.
51070         * math/w_j0f.c: Likewise.
51071         * math/w_j0l.c: Likewise.
51072         * math/w_j1.c: Likewise.
51073         * math/w_j1f.c: Likewise.
51074         * math/w_j1l.c: Likewise.
51075         * math/w_jn.c: Likewise.
51076         * math/w_jnf.c: Likewise.
51077         * math/w_log.c: Likewise.
51078         * math/w_logf.c: Likewise.
51079         * math/w_logl.c: Likewise.
51080         * math/w_log10.c: Likewise.
51081         * math/w_log10f.c: Likewise.
51082         * math/w_log10l.c: Likewise.
51083         * math/w_log2.c: Likewise.
51084         * math/w_log2f.c: Likewise.
51085         * math/w_log2l.c: Likewise.
51086         * math/w_pow.c: Likewise.
51087         * math/w_powf.c: Likewise.
51088         * math/w_powl.c: Likewise.
51089         * math/w_remainder.c: Likewise.
51090         * math/w_remainderf.c: Likewise.
51091         * math/w_remainderl.c: Likewise.
51092         * math/w_scalb.c: Likewise.
51093         * math/w_scalbf.c: Likewise.
51094         * math/w_scalbl.c: Likewise.
51095         * math/w_sqrt.c: Likewise.
51096         * math/w_sqrtf.c: Likewise.
51097         * math/w_sqrtl.c: Likewise.
51098         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51099         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
51100         used.
51101         * math/math_private.h: Declare __kernel_standard_f.
51102         * math/w_cosh.c: Remove cruft and optimize a bit.
51103         * math/w_coshf.c: Likewise.
51104         * math/w_coshl.c: Likewise.
51105         * math/w_exp2.c: Likewise.
51106         * math/w_exp2f.c: Likewise.
51107         * math/w_exp2l.c: Likewise.
51108         * math/w_hypot.c: Likewise.
51109         * math/w_hypotf.c: Likewise.
51110         * math/w_hypotl.c: Likewise.
51111         * math/w_lgamma.c: Likewise.
51112         * math/w_lgamma_r.c: Likewise.
51113         * math/w_lgammaf.c: Likewise.
51114         * math/w_lgammaf_r.c: Likewise.
51115         * math/w_lgammal.c: Likewise.
51116         * math/w_lgammal_r.c: Likewise.
51117         * math/w_sinh.c: Likewise.
51118         * math/w_sinhf.c: Likewise.
51119         * math/w_sinhl.c: Likewise.
51120         * math/w_tgamma.c: Likewise.
51121         * math/w_tgammaf.c: Likewise.
51122         * math/w_tgammal.c: Likewise.
51123         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51124         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51125         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51126         Minor optimizations.  Pretty printing.  Remove cruft.
51127         * sysdeps/i386/fpu/e_acosf.S: Likewise.
51128         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51129         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51130         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51131         * sysdeps/i386/fpu/e_acosl.c: Likewise.
51132         * sysdeps/i386/fpu/e_asin.S: Likewise.
51133         * sysdeps/i386/fpu/e_asinf.S: Likewise.
51134         * sysdeps/i386/fpu/e_atan2.S: Likewise.
51135         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51136         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51137         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51138         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51139         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51140         * sysdeps/i386/fpu/e_exp10.S: Likewise.
51141         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51142         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51143         * sysdeps/i386/fpu/e_exp2.S: Likewise.
51144         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51145         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51146         * sysdeps/i386/fpu/e_fmod.S: Likewise.
51147         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51148         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51149         * sysdeps/i386/fpu/e_hypot.S: Likewise.
51150         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51151         * sysdeps/i386/fpu/e_log.S: Likewise.
51152         * sysdeps/i386/fpu/e_log10.S: Likewise.
51153         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51154         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51155         * sysdeps/i386/fpu/e_log2.S: Likewise.
51156         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51157         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51158         * sysdeps/i386/fpu/e_logf.S: Likewise.
51159         * sysdeps/i386/fpu/e_logl.S: Likewise.
51160         * sysdeps/i386/fpu/e_pow.S: Likewise.
51161         * sysdeps/i386/fpu/e_powf.S: Likewise.
51162         * sysdeps/i386/fpu/e_powl.S: Likewise.
51163         * sysdeps/i386/fpu/e_remainder.S: Likewise.
51164         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51165         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51166         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51167         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51168         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51169         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51170         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51171         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51172         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51173         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51174         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51175         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51176         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51177         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51178         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51179         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51180         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51181         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51182         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51183         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51184         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51185         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51186         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51187         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51188         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51189         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51190         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51191         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51192         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51193         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51194         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51195         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51196         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51197         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51198         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51199         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51200         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51201         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51202         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51203         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51204         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51205         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51206         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51207         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51208         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51209         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51210         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51211         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51212         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51213         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51214         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51215         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51216         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51217         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51218         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51219         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51220         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51221         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51222         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51223         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51224         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51225         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51226         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51227         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51228         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51229         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51230         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51231         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51232         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51233         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51234         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51235         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51236         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51237         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51238         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51239         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51240         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51241         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51242         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51243         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51244         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51245         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51246         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51247         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51248         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51249         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51250         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51251         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51252         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51253         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51254         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51255         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51256         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51257         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51258         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51259         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51260         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51261         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51262         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51263         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51264         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51265         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51266         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51267         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51268         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51269         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51270         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51271         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51272         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51273         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51274         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51275         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51276         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51277         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51278         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51279         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51280         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51281         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51282         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
51283         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51284         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51285         (__isnanf): Likewise.
51286         (__isinf_ns): Likewise.
51287         (__isinf_nsf): Likewise.
51288         (__finite): Likewise.
51289         (__finitef): Likewise.
51290         (__ieee754_sqrt): Define as macro.
51291         (__ieee754_sqrtf): Define as macro.
51292         (__ieee754_sqrtl): Define as macro.
51293         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51294         inlined copy.
51295         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51296         __FINITE_MATH_ONLY__ consistent.
51297         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51299 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
51301         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51302         of rawmemchr.
51304         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51306 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
51308         * po/ja.po: Update from translation team.
51310 2011-10-08  Roland McGrath  <roland@hack.frob.com>
51312         * locale/programs/locarchive.c (prepare_address_space): New function.
51313         (create_archive, enlarge_archive, open_archive): Use it.
51315         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51316         inside [SHARED], where it is used.
51318         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51320         * nss/getent.c (netgroup_keys): Remove unused variable.
51321         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51323 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
51325         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51326         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51327         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51328         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51329         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51330         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51331         * math/Makefile (libm-calls): Add s_isinf_ns.
51332         * math/divtc3.c: Use __isinf_nsl instead of isinf.
51333         * math/multc3.c: Likewise.
51334         * math/s_casin.c: Likewise.
51335         * math/s_casinf.c: Likewise.
51336         * math/s_casinl.c: Likewise.
51337         * math/s_ccos.c: Likewise.
51338         * math/s_ccosf.c: Likewise.
51339         * math/s_ccosl.c: Likewise.
51340         * math/s_ctan.c: Likewise.
51341         * math/s_ctanf.c: Likewise.
51342         * math/s_ctanh.c: Likewise.
51343         * math/s_ctanhf.c: Likewise.
51344         * math/s_ctanhl.c: Likewise.
51345         * math/s_ctanl.c: Likewise.
51346         * math/w_fmod.c: Likewise.
51347         * math/w_fmodf.c: Likewise.
51348         * math/w_fmodl.c: Likewise.
51349         * math/w_remainder.c: Likewise.
51350         * math/w_remainderf.c: Likewise.
51351         * math/w_remainderl.c: Likewise.
51352         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51353         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51354         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51355         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51356         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51357         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51358         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51359         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51361         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51362         of the number.
51363         * stdio-common/printf_fphex.c: Likewise.
51364         * stdio-common/printf_size.c: Likewise.
51366         * math/e_exp10.c: Include math_private.h using <...> not "...".
51367         * math/e_exp10f.c: Likewise.
51368         * math/e_exp10l.c: Likewise.
51369         * math/e_exp2l.c: Likewise.
51370         * math/e_j0l.c: Likewise.
51371         * math/e_j1l.c: Likewise.
51372         * math/e_jnl.c: Likewise.
51373         * math/e_lgammal_r.c: Likewise.
51374         * math/e_rem_pio2l.c: Likewise.
51375         * math/e_scalb.c: Likewise.
51376         * math/e_scalbf.c: Likewise.
51377         * math/e_scalbl.c: Likewise.
51378         * math/k_cosl.c: Likewise.
51379         * math/k_sinl.c: Likewise.
51380         * math/k_tanl.c: Likewise.
51381         * math/s_cacoshf.c: Likewise.
51382         * math/s_catan.c: Likewise.
51383         * math/s_catanf.c: Likewise.
51384         * math/s_catanh.c: Likewise.
51385         * math/s_catanhf.c: Likewise.
51386         * math/s_catanhl.c: Likewise.
51387         * math/s_catanl.c: Likewise.
51388         * math/s_ccosh.c: Likewise.
51389         * math/s_ccoshf.c: Likewise.
51390         * math/s_ccoshl.c: Likewise.
51391         * math/s_cexp.c: Likewise.
51392         * math/s_cexpf.c: Likewise.
51393         * math/s_cexpl.c: Likewise.
51394         * math/s_clog.c: Likewise.
51395         * math/s_clog10.c: Likewise.
51396         * math/s_clog10f.c: Likewise.
51397         * math/s_clog10l.c: Likewise.
51398         * math/s_clogf.c: Likewise.
51399         * math/s_clogl.c: Likewise.
51400         * math/s_csin.c: Likewise.
51401         * math/s_csinf.c: Likewise.
51402         * math/s_csinh.c: Likewise.
51403         * math/s_csinhf.c: Likewise.
51404         * math/s_csinhl.c: Likewise.
51405         * math/s_csinl.c: Likewise.
51406         * math/s_csqrt.c: Likewise.
51407         * math/s_csqrtf.c: Likewise.
51408         * math/s_csqrtl.c: Likewise.
51409         * math/s_ctan.c: Likewise.
51410         * math/s_ctanf.c: Likewise.
51411         * math/s_ctanh.c: Likewise.
51412         * math/s_ctanhf.c: Likewise.
51413         * math/s_ctanhl.c: Likewise.
51414         * math/s_ctanl.c: Likewise.
51415         * math/s_ldexp.c: Likewise.
51416         * math/s_ldexpf.c: Likewise.
51417         * math/s_ldexpl.c: Likewise.
51418         * math/s_significand.c: Likewise.
51419         * math/s_significandf.c: Likewise.
51420         * math/s_significandl.c: Likewise.
51421         * math/w_acos.c: Likewise.
51422         * math/w_acosf.c: Likewise.
51423         * math/w_acosh.c: Likewise.
51424         * math/w_acoshf.c: Likewise.
51425         * math/w_acoshl.c: Likewise.
51426         * math/w_acosl.c: Likewise.
51427         * math/w_asin.c: Likewise.
51428         * math/w_asinf.c: Likewise.
51429         * math/w_asinl.c: Likewise.
51430         * math/w_atan2.c: Likewise.
51431         * math/w_atan2f.c: Likewise.
51432         * math/w_atan2l.c: Likewise.
51433         * math/w_atanh.c: Likewise.
51434         * math/w_atanhf.c: Likewise.
51435         * math/w_atanhl.c: Likewise.
51436         * math/w_cosh.c: Likewise.
51437         * math/w_coshf.c: Likewise.
51438         * math/w_coshl.c: Likewise.
51439         * math/w_dremf.c: Likewise.
51440         * math/w_exp10.c: Likewise.
51441         * math/w_exp10f.c: Likewise.
51442         * math/w_exp10l.c: Likewise.
51443         * math/w_exp2.c: Likewise.
51444         * math/w_exp2f.c: Likewise.
51445         * math/w_fmod.c: Likewise.
51446         * math/w_fmodf.c: Likewise.
51447         * math/w_fmodl.c: Likewise.
51448         * math/w_hypot.c: Likewise.
51449         * math/w_hypotf.c: Likewise.
51450         * math/w_hypotl.c: Likewise.
51451         * math/w_j0.c: Likewise.
51452         * math/w_j0f.c: Likewise.
51453         * math/w_j0l.c: Likewise.
51454         * math/w_j1.c: Likewise.
51455         * math/w_j1f.c: Likewise.
51456         * math/w_j1l.c: Likewise.
51457         * math/w_jn.c: Likewise.
51458         * math/w_jnf.c: Likewise.
51459         * math/w_jnl.c: Likewise.
51460         * math/w_lgamma.c: Likewise.
51461         * math/w_lgamma_r.c: Likewise.
51462         * math/w_lgammaf.c: Likewise.
51463         * math/w_lgammaf_r.c: Likewise.
51464         * math/w_lgammal.c: Likewise.
51465         * math/w_lgammal_r.c: Likewise.
51466         * math/w_log.c: Likewise.
51467         * math/w_log10.c: Likewise.
51468         * math/w_log10f.c: Likewise.
51469         * math/w_log10l.c: Likewise.
51470         * math/w_log2.c: Likewise.
51471         * math/w_log2f.c: Likewise.
51472         * math/w_log2l.c: Likewise.
51473         * math/w_logf.c: Likewise.
51474         * math/w_logl.c: Likewise.
51475         * math/w_pow.c: Likewise.
51476         * math/w_powf.c: Likewise.
51477         * math/w_powl.c: Likewise.
51478         * math/w_remainder.c: Likewise.
51479         * math/w_remainderf.c: Likewise.
51480         * math/w_remainderl.c: Likewise.
51481         * math/w_scalb.c: Likewise.
51482         * math/w_scalbf.c: Likewise.
51483         * math/w_scalbl.c: Likewise.
51484         * math/w_sinh.c: Likewise.
51485         * math/w_sinhf.c: Likewise.
51486         * math/w_sinhl.c: Likewise.
51487         * math/w_sqrt.c: Likewise.
51488         * math/w_sqrtf.c: Likewise.
51489         * math/w_sqrtl.c: Likewise.
51490         * math/w_tgamma.c: Likewise.
51491         * math/w_tgammaf.c: Likewise.
51492         * math/w_tgammal.c: Likewise.
51494         * po/ja.po: Update from translation team.
51496 2011-09-29  Andreas Jaeger  <aj@suse.de>
51498         [BZ #13179]
51499         * sunrpc/netname.c (netname2host): Fix logic.
51501         [BZ #6779]
51502         [BZ #6783]
51503         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51504         correctly.
51505         * math/w_remainder.c (__remainder): Likewise.
51506         * math/w_remainderf.c (__remainderf): Likewise.
51507         * math/libm-test.inc (remainder_test): Add test cases.
51509 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51511         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
51512         sdiv_qrnnd.
51514 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51516         * string/test-memcmp.c: Avoid unncessary #defines.
51517         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51519 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51521         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51522         Use new sse2 version for core i3 - i7 as it's faster
51523         than sse42 version.
51524         (bit_Prefer_PMINUB_for_stringop): New.
51525         * sysdeps/x86_64/rawmemchr.S: Update.
51526         Replace with faster SSE2 version.
51527         * sysdeps/x86_64/memrchr.S: New file.
51528         * sysdeps/x86_64/memchr.S: Update.
51529         Replace with faster SSE2 version.
51531 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
51533         * elf/dl-load.c (lose): Add cast to avoid warning.
51535 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51537         * po/ca.po: Update from translation team.
51539         * inet/getnetgrent_r.c: Hook up nscd.
51540         * nscd/Makefile (routines): Add nscd_netgroup.
51541         (nscd-modules): Add netgroupcache.
51542         (CFLAGS-netgroupcache.c): Define.
51543         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51544         (cache_search): Add const to second parameter.
51545         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51546         INNETGR.
51547         (dbs): Add netgrdb entry.
51548         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51549         (verify_persistent_db): Handle netgrdb.
51550         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51551         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51552         GETFDNETGR.
51553         (netgroup_response_header): Define.
51554         (innetgroup_response_header): Define.
51555         (datahead): Add netgroup_response_header and innetgroup_response_header
51556         elements.
51557         * nscd/nscd.conf: Add entries for netgroup cache.
51558         * nscd/nscd.h (dbtype): Add netgrdb.
51559         (_PATH_NSCD_NETGROUP_DB): Define.
51560         (netgroup_iov_disabled): Declare.
51561         (xmalloc, xcalloc, xrealloc): Move declarations here.
51562         (cache_search): Adjust prototype.
51563         Add netgroup-related prototypes.
51564         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51565         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51566         (__nscd_innetgr): Declare.
51567         * nscd/selinux.c (perms): Use access_vector_t as element type and
51568         add netgroup-related initializers.
51569         * nscd/netgroupcache.c: New file.
51570         * nscd/nscd_netgroup.c: New file.
51571         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51572         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51573         For four parameters use innetgr.
51574         * nss/nss_files/files-init.c: Add definition and callback for netgr.
51575         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51576         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51577         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51579         * nscd/connections.c (register_traced_file): Don't register file
51580         for disabled databases.
51582 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
51584         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51586         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51587         from tree and freeing node.
51589 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
51591         * nss/nsswitch.c (__nss_database_lookup): Handle
51592         nss_parse_service_list out of memory case.
51594 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
51596         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51597         out of memory case.
51599 2011-10-04  Andreas Schwab  <schwab@redhat.com>
51601         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51602         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51603         pass it down.
51604         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51605         elf_machine_rela, elf_machine_lazy_rel.
51606         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51607         (ELF_DYNAMIC_DO_REL): Likewise.
51608         (ELF_DYNAMIC_DO_RELA): Likewise.
51609         (ELF_DYNAMIC_RELOCATE): Likewise.
51610         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51611         to ELF_DYNAMIC_DO_REL.
51612         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51613         (dl_main): In trace mode always set __RTLD_NOIFUNC.
51614         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51615         elf_machine_rela.
51616         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51617         skip_ifunc, don't call ifunc function if non-zero.
51618         (elf_machine_rela): Likewise.
51619         (elf_machine_lazy_rel): Likewise.
51620         (elf_machine_lazy_rela): Likewise.
51621         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51622         (elf_machine_lazy_rel): Likewise.
51623         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51624         Likewise.
51625         (elf_machine_lazy_rel): Likewise.
51626         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51627         Likewise.
51628         (elf_machine_lazy_rel): Likewise.
51629         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51630         (elf_machine_lazy_rel): Likewise.
51631         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51632         (elf_machine_lazy_rel): Likewise.
51633         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51634         (elf_machine_lazy_rel): Likewise.
51635         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51636         (elf_machine_lazy_rel): Likewise.
51637         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51638         (elf_machine_lazy_rel): Likewise.
51639         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51640         (elf_machine_lazy_rel): Likewise.
51642 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
51644         * nss/nss_files/files-init.c (_nss_files_init): Use static
51645         initialization for all the *_traced_file variables.
51647 2011-09-28  Andreas Schwab  <schwab@redhat.com>
51649         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51651 2011-09-27  Roland McGrath  <roland@hack.frob.com>
51653         [BZ #13226]
51654         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51656 2011-09-27  Andreas Schwab  <schwab@redhat.com>
51658         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51659         Reread the line before reparsing it.
51661 2011-09-26  Andreas Schwab  <schwab@redhat.com>
51663         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51665 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
51666             Maxim Kuvyrkov  <maxim@codesourcery.com>
51667             Joseph Myers  <joseph@codesourcery.com>
51669         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51670         if needed for __stack_chk_guard.
51672 2011-09-19  Roland McGrath  <roland@hack.frob.com>
51674         * sysdeps/posix/spawni.c (script_execute): Always define it.
51675         It will be optimized away if unused.
51676         (maybe_script_execute): New function.
51677         (__spawni): Call it.
51679         * Makerules: Don't include tls.make.
51680         (config-tls): Always set to thread.
51681         * tls.make.c: File removed.
51683 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
51685         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51686         * config.make.in (CPPFLAGS-config): New substituted variable.
51688 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51690         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51692         [BZ #13192]
51693         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51694         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51696 2011-09-15  Roland McGrath  <roland@hack.frob.com>
51698         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51699         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51700         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51701         (CALL_FAIL): Likewise.
51702         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51703         (CALL_FAIL): Macro removed.
51704         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51706 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51708         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51709         for __FINITE_MATH_ONLY__ == 1.
51711 2011-09-15  Andreas Schwab  <schwab@redhat.com>
51713         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51714         __ieee754_sqrt instead of sqrt.
51715         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51716         __ieee754_sqrtf instead of sqrtf.
51717         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51718         __floorf instead of floorf.
51719         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51720         __floorf, __truncf instead of floorf, truncf.
51722 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
51724         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51726         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51727         __extern_always_inline.
51728         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51729         32-bit.
51731 2011-09-14  Andreas Schwab  <schwab@redhat.com>
51733         * elf/rtld.c (dl_main): Also relocate in dependency order when
51734         doing symbol dependency testing.
51736 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
51738         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51739         Always define `refsym'.
51741 2011-09-13  Andreas Schwab  <schwab@redhat.com>
51743         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51744         (__FD_ELT): Renamed from __FDELT.
51745         * misc/bits/select2.h (__FD_ELT): Likewise.
51746         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51747         __FD_MASK instead of __FDELT, __FDMASK.
51748         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51749         Likewise.
51750         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51751         Likewise.
51753         * elf/Makefile (gen-ldd): Fix pattern.
51755         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51756         (init_tls): Likewise.
51758 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
51760         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51762 2011-09-12  Andreas Schwab  <schwab@redhat.com>
51764         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51765         `struct cmsghdr *' instead of `void *'.
51766         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51767         Likewise.
51769 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
51771         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51772         if non-absolute.
51773         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51774         ldd_rewrite_script.
51776 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
51778         * configure.in: Remove --with-tls option.
51779         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51780         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51781         out in case it is missing.
51782         * sysdeps/ia64/elf/configure.in: Likewise.
51783         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51784         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51785         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51786         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51787         * sysdeps/sh/elf/configure.in: Likewise.
51788         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51789         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51790         * sysdeps/x86_64/elf/configure.in: Likewise.
51791         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51792         * sysdeps/mach/hurd/tls.h: Likewise.
51794         [BZ #13067]
51795         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51797         [BZ #13090]
51798         * configure.in: Fix use of AC_INIT.
51800         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51802 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
51804         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51805         __set_errno.
51806         * malloc/hooks.c: Likewise.
51808         [BZ #11929]
51809         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
51810         variables statically.
51811         (narenas): Initialize.
51812         (list_lock): Initialize.
51813         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
51814         initializtion of main_arena and list_lock.  Small cleanups.
51815         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51816         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
51817         Add initializers to main_arena and mp_.
51818         (malloc_state): Remove pagesize member.  Change all users to use
51819         GLRO(dl_pagesize).
51821         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51822         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
51823         is always initialized.
51825         * malloc/malloc.c: Removed unused configurations and dead code.
51826         * malloc/arena.c: Likewise.
51827         * malloc/hooks.c: Likewise.
51828         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51830         * include/tls.h: Removed.  USE___THREAD must always be defined.
51831         * bits/libc-tsd.h: Don't handle !USE___THREAD.
51832         * elf/dl-libc.c: Likewise.
51833         * elf/dl-tsd.c: Likewise.
51834         * include/errno.h: Likewise.
51835         * include/netdb.h: Likewise.
51836         * include/resolv.h: Likewise.
51837         * inet/herrno-loc.c: Likewise.
51838         * inet/herrno.c: Likewise.
51839         * malloc/arena.c: Likewise.
51840         * malloc/hooks.c: Likewise.
51841         * malloc/malloc.c: Likewise.
51842         * resolv/res-state.c: Likewise.
51843         * resolv/res_libc.c: Likewise.
51844         * sysdeps/i386/dl-machine.h: Likewise.
51845         * sysdeps/ia64/dl-machine.h: Likewise.
51846         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51847         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51848         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51849         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51850         * sysdeps/sh/dl-machine.h: Likewise.
51851         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51852         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51853         * sysdeps/unix/i386/sysdep.S: Likewise.
51854         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51855         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51856         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51857         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51858         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51859         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51860         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51861         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51862         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51863         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51864         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51865         * sysdeps/x86_64/dl-machine.h: Likewise.
51866         * tls.make.c: Likewise.
51868         * configure.in: Remove --with-__thread option.  Make tests for
51869         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51870         tls_model attribute fail if no support is available.  Remove
51871         USE_IN_LIBIO.
51872         * Makeconfig: Adjust for dropped configure option.  All features are
51873         now mandatory.
51874         * Makerules: Likewise.
51875         * Versions.def: Likewise.
51876         * argp/argp-fmtstream.c: Likewise.
51877         * argp/argp-fmtstream.h: Likewise.
51878         * argp/argp-help.c: Likewise.
51879         * assert/assert.c: Likewise.
51880         * config.h.in: Likewise.
51881         * config.make.in: Likewise.
51882         * configure: Likewise.
51883         * configure.in: Likewise.
51884         * csu/Versions: Likewise.
51885         * csu/init.c: Likewise.
51886         * elf/tst-audit2.c: Likewise.
51887         * elf/tst-tls10.c: Likewise.
51888         * elf/tst-tls10.h: Likewise.
51889         * elf/tst-tls11.c: Likewise.
51890         * elf/tst-tls12.c: Likewise.
51891         * elf/tst-tls14.c: Likewise.
51892         * elf/tst-tlsmod11.c: Likewise.
51893         * elf/tst-tlsmod12.c: Likewise.
51894         * elf/tst-tlsmod13.c: Likewise.
51895         * elf/tst-tlsmod13a.c: Likewise.
51896         * elf/tst-tlsmod14a.c: Likewise.
51897         * elf/tst-tlsmod15b.c: Likewise.
51898         * elf/tst-tlsmod16a.c: Likewise.
51899         * elf/tst-tlsmod16b.c: Likewise.
51900         * elf/tst-tlsmod7.c: Likewise.
51901         * elf/tst-tlsmod8.c: Likewise.
51902         * elf/tst-tlsmod9.c: Likewise.
51903         * gmon/gmon.c: Likewise.
51904         * grp/fgetgrent_r.c: Likewise.
51905         * grp/putgrent.c: Likewise.
51906         * hurd/fopenport.c: Likewise.
51907         * include/libc-symbols.h: Likewise.
51908         * include/tls.h: Likewise.
51909         * intl/gettextP.h: Likewise.
51910         * intl/loadinfo.h: Likewise.
51911         * locale/global-locale.c: Likewise.
51912         * locale/localeinfo.h: Likewise.
51913         * mach/devstream.c: Likewise.
51914         * malloc/arena.c: Likewise.
51915         * malloc/set-freeres.c: Likewise.
51916         * misc/err.c: Likewise.
51917         * misc/getttyent.c: Likewise.
51918         * misc/mntent_r.c: Likewise.
51919         * posix/getopt.c: Likewise.
51920         * posix/wordexp.c: Likewise.
51921         * pwd/fgetpwent_r.c: Likewise.
51922         * resolv/Versions: Likewise.
51923         * resolv/res_hconf.c: Likewise.
51924         * shadow/fgetspent_r.c: Likewise.
51925         * shadow/putspent.c: Likewise.
51926         * stdio-common/printf_fphex.c: Likewise.
51927         * stdio-common/tmpfile.c: Likewise.
51928         * stdlib/abort.c: Likewise.
51929         * stdlib/fmtmsg.c: Likewise.
51930         * sunrpc/auth_unix.c: Likewise.
51931         * sunrpc/clnt_perr.c: Likewise.
51932         * sunrpc/clnt_tcp.c: Likewise.
51933         * sunrpc/clnt_udp.c: Likewise.
51934         * sunrpc/clnt_unix.c: Likewise.
51935         * sunrpc/openchild.c: Likewise.
51936         * sunrpc/svc_simple.c: Likewise.
51937         * sunrpc/svc_tcp.c: Likewise.
51938         * sunrpc/svc_udp.c: Likewise.
51939         * sunrpc/svc_unix.c: Likewise.
51940         * sunrpc/xdr.c: Likewise.
51941         * sunrpc/xdr_array.c: Likewise.
51942         * sunrpc/xdr_rec.c: Likewise.
51943         * sunrpc/xdr_ref.c: Likewise.
51944         * sunrpc/xdr_stdio.c: Likewise.
51946 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51948         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51950 2011-07-03  Andreas Jaeger  <aj@suse.de>
51952         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51953         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51954         regenerate with gen-libm-tests.pl.
51956 2010-05-12  Petr Baudis  <pasky@suse.cz>
51958         [BZ #11589]
51959         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51960         around j0() zero points by switching to j1().
51961         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51962         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51963         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51964         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51966 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51968         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51969         instead of 0.
51970         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51971         instead of 0.
51972         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51973         Patch in part by Pavel Roskin <proski@gnu.org>.
51975         [BZ #13138]
51976         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51977         realloc.
51978         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
51979         Free memory block if necessary.
51981         [BZ #12847]
51982         * libio/genops.c (INTDEF): For string streams the _lock pointer can
51983         be NULL.  Don't lock in this case.
51985 2011-09-09  Roland McGrath  <roland@hack.frob.com>
51987         * elf/elf.h (ELFOSABI_GNU): New macro.
51988         (ELFOSABI_LINUX): Define to that.
51990 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
51992         * string/strncat.c (strncat): Undef the symbol in case it has been
51993         defined in bits/string.h.
51995 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51997         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51999         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52000         link map.
52002 2011-08-17  Andreas Jaeger  <aj@suse.de>
52004         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52006 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52007             Ian Lance Taylor  <iant@google.com>
52009         * math/libm-test.inc (lround_test): New testcase.
52010         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52012 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
52014         * Makefile: Remove support for automatic cvs check-ins.
52015         * Makerules: Likewise.
52016         * config.make.in: Likewise.
52017         * configure.in: Likewise.
52018         * intl/Makefile: Likewise.
52019         * locale/Makefile: Likewise.
52020         * po/Makefile: Likewise.
52021         * posix/Makefile: Likewise.
52022         * sysdeps/gnu/Makefile: Likewise.
52023         * sysdeps/mach/hurd/Makefile: Likewise.
52024         * sysdeps/sparc/sparc32/Makefile: Likewise.
52026         [BZ #13118]
52027         * posix/Makefile (bug-regex32-ENV): Define.
52028         Patch by John Stanley <jpsinthemix@verizon.net>.
52030         * misc/Makefile (headers): Add bits/select2.h.
52031         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52032         * misc/bits/select2.h: New file.
52033         * include/bits/select2.h: New file.
52034         * debug/Makefile (routines): Add fdelt_chk.
52035         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52036         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52037         FD_ISSET.
52038         * debug/fdelt_chk.c: New file.
52040         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
52041         * wcsmbs/test-wmemcmp.c: Likewise.
52042         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52043         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52045 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52047         * string/Makefile (strop-tests): Add memcmp.
52048         * string/test-wmemcmp.c: New file.
52049         * string/test-memcmp.c: Add wmemcmp support.
52051 2011-09-08  Roland McGrath  <roland@hack.frob.com>
52053         [BZ #13153]
52054         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52055         2011-07-19 change.
52057         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52058         garbage value in a __mach_port_mod_refs call in the cases of the
52059         task-self and thread-self ports.
52061 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52063         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52065 2011-09-08  Andreas Schwab  <schwab@redhat.com>
52067         * elf/dl-load.c (lose): Check for non-null L.
52069 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52071         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52073         * elf/dl-libc.c (dlerror_run): Pass back error code from
52074         dl_catch_error.
52076         [BZ #13123]
52077         * elf/dl-load.c (lose): Free l_origin if it is valid.
52079         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52080         names.
52081         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52082         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52083         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52084         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52085         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52086         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52088 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52090         * sysdeps/powerpc/fpu/e_hypot.c: New file.
52091         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52092         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52093         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52094         * sysdeps/powerpc/fpu/k_cosf.c: New file.
52095         * sysdeps/powerpc/fpu/k_sinf.c: New file.
52096         * sysdeps/powerpc/fpu/s_cosf.c: New file.
52097         * sysdeps/powerpc/fpu/s_sinf.c: New file.
52098         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52099         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52101 2011-08-15  Alan Modra  <amodra@gmail.com>
52103         [BZ #13092]
52104         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52105         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52106         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
52107         ppc_mcount to static-only-routines.
52108         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52109         __mcount_internal.
52110         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52111         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
52113 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
52115         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52116         for finite and infinity parameters.
52118 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
52120         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52121         and add nop instructions for throughput optimization.
52122         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52124 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
52126         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52127         aligned copy for power7 with vector-scalar instructions.
52128         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52130 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
52132         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52133         AVX check.
52135 2011-09-07  Andreas Schwab  <schwab@redhat.com>
52137         [BZ #13144]
52138         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52139         last change.
52141 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52143         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52144         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52145         syscall wrapper around clock_gettime in __vdso_clock_gettime.
52146         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52147         clock_gettime.
52149 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52151         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52152         Forgot to demangle the pointer.
52154         * sysdeps/i386/sysdep.h: Define atom_text_section.
52155         * sysdeps/x86_64/sysdep.h: Likewise.
52156         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52157         section with atom_text_section.
52158         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52159         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52160         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52161         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52162         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52164         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52165         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52166         already be defined.  Change to take two parameters and don't assign
52167         result to variable.  Adjust all users.
52168         Define INTERNAL_GETTIME if not already defined.
52169         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52170         call.
52171         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52172         HAVE_CLOCK_GETTIME_VSYSCALL.
52173         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52175         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52176         gettimeofday vsyscall, just use time.
52178 2011-09-06  Andreas Schwab  <schwab@redhat.com>
52180         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52181         <errno.h>.
52183 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52185         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52186         syscall on x86-64.
52187         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52188         syscall.
52189         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52190         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52191         syscall if possible.
52193 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52195         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52196         e_ident.  Don't pass to find_mapsXX.
52197         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52199 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52201         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52202         strchr-sse2-no-bsf strrchr-sse2-no-bsf
52203         * sysdeps/x86_64/multiarch/strchr.S: Update.
52204         Check bit_slow_BSF bit.
52205         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52206         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52207         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52209 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52211         [BZ #13134]
52212         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52213         before glibc 2.15.
52214         (tryshell): Define.
52215         (__spawni): Change last parameter to be flag.  Test
52216         SPAWN_XFLAGS_USE_PATH flag to use path or not.
52217         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52218         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52219         * posix/spawni.c: Likewise.
52220         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52221         * posix/spawnp.c: Likewise.  Change normal version to use
52222         SPAWN_XFLAGS_USE_PATH.
52223         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52224         SPAWN_XFLAGS_TRY_SHELL.
52226         [BZ #13150]
52227         * posix/glob.h: Remove gcc 1.x support.
52229         [BZ #13068]
52230         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52232 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52234         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52235         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52236         strrchr-sse2-bsf
52237         * sysdeps/i386/i686/multiarch/strchr.S: New file.
52238         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52239         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52240         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52241         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52242         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52244 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52246         * sysdeps/x86_64/wcscmp.S: New file.
52248         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52249         wcscmp-c wcscmp-sse2
52250         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52251         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52252         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52253         * wcsmbs/wcscmp.c: Allow renaming.
52255 2011-09-05  David S. Miller  <davem@davemloft.net>
52257         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52258         stack slot, rather than the struct return pointer slot.
52259         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52260         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52262         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52264 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52266         * po/ja.po: Update from translation team.
52268         [BZ #13144]
52269         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52270         kernel in 64-bit binaries.
52272 2011-09-01  David S. Miller  <davem@davemloft.net>
52274         * elf/elf.h (HWCAP_SPARC_*): Move to..
52275         * sysdeps/sparc/sysdep.h: this new file and add new values.
52276         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52277         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52278         _DL_HWCAP_COUNT to 24.
52279         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52280         entries.
52281         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52282         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52283         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52284         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52285         instead of magic constants.
52286         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52288 2011-08-31  David S. Miller  <davem@davemloft.net>
52290         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52291         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52292         Reimplement to do errno handling inline.
52293         (SYSCALL_ERROR_HANDLER): New macro.
52294         (__SYSCALL_STRING): Do not do errno handling in asm.
52295         (__CLONE_SYSCALL_STRING): Delete.
52296         (__INTERNAL_SYSCALL_STRING): Delete.
52297         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52298         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52299         (PSEUDO): Reimplement to do errno handling inline.
52300         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52301         (SYSCALL_ERROR_HANDLER): New macro.
52302         (__SYSCALL_STRING): Do not do errno handling in asm.
52303         (__CLONE_SYSCALL_STRING): Delete.
52304         (__INTERNAL_SYSCALL_STRING): Delete.
52305         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52306         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52307         i386.
52308         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52309         (inline_syscall*): Add 'err' argument.
52310         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52311         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52312         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52313         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52315         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52316         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52318 2011-08-30  Andreas Schwab  <schwab@redhat.com>
52320         * elf/rtld.c (dl_main): Relocate objects in dependency order.
52322 2011-08-29  Jiri Olsa <jolsa@redhat.com>
52324         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52325         directive.
52327 2011-08-24  David S. Miller  <davem@davemloft.net>
52329         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52331 2011-08-24  Andreas Schwab  <schwab@redhat.com>
52333         * elf/Makefile: Add rules to build and run unload8 test.
52334         * elf/unload8.c: New file.
52335         * elf/unload8mod1.c: New file.
52336         * elf/unload8mod1x.c: New file.
52337         * elf/unload8mod2.c: New file.
52338         * elf/unload8mod3.c: New file.
52340         * elf/dl-close.c (_dl_close_worker): Reset private search list if
52341         it wasn't used.
52343 2011-08-23  David S. Miller  <davem@davemloft.net>
52345         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52346         subtract stack bias.
52347         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52348         %sp not %fp in calculations.
52349         (_JMPBUF_UNWINDS_ADJ): Likewise.
52351         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52352         (aio_suspend): Call it to force an exception region around the
52353         AIO_MISC_WAIT() invocation.
52355 2011-08-23  Andreas Schwab  <schwab@redhat.com>
52357         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52358         backslash.
52360 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
52362         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52363         protection macro.
52364         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52365         and <dl-machine.h>.
52366         (Elf64_FuncDesc): Remove.
52368 2011-08-22  David S. Miller  <davem@davemloft.net>
52370         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52371         sigaltstack check, add missing cfi directives.
52372         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52373         missing cfi directives, and sigaltstack handling.
52375 2011-08-16  Andreas Schwab  <schwab@redhat.com>
52377         [BZ #11724]
52378         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52379         object is seen twice.
52380         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52382         * elf/Makefile (distribute): Add tst-initorder2.c.
52383         (tests): Add tst-initorder2.
52384         (modules-names): Add tst-initorder2a tst-initorder2b
52385         tst-initorder2c tst-initorder2d.  Add rules to build them.
52386         ($(objpfx)tst-initorder2.out): New rule.
52387         * elf/tst-initorder2.c: New file.
52388         * elf/tst-initorder2.exp: New file.
52390 2011-08-22  Andreas Schwab  <schwab@redhat.com>
52392         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52394         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52395         dependencies back to end of function.
52397         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52398         $(elfobjdir)/ld.so.
52400 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
52402         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52403         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52404         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52405         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52406         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52407         of __vdso_gettimeofday.
52408         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52409         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
52410         attribute_hidden.
52411         (_libc_vdso_platform_setup): Remove initialization of
52412         __vdso_gettimeofday and __vdso_time.
52414 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52416         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52417         and fgetc_unlocked.
52418         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52419         getc_unlocked.
52421         * elf/dl-open.c (add_to_global): Report additions to the global scope
52422         for LD_DEBUG=scopes.
52423         (dl_open_worker): Also print scope of newly loaded dependencies.
52424         (_dl_show_scope): Indicate if there is no scope.
52426         [BZ #13114]
52427         * stdio-common/Makefile (tests): Add bug24.
52428         * stdio-common/bug24.c: New file.
52430 2011-08-19  Andreas Jaeger  <aj@suse.de>
52432         [BZ #13114]
52433         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52434         non-existant file when using close-on-exec mode.
52436 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52438         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52439         the very first instruction.
52441         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52442         the CFI state in the end.
52443         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52444         inclusion of dl-trampoline.h.
52445         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52447 2011-08-19  Andreas Schwab  <schwab@redhat.com>
52449         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52450         expectations for long double.
52452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52453         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52455 2011-08-14  David S. Miller  <davem@davemloft.net>
52457         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52458         artificual limit depends upon the system page size.
52460 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52462         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52463         * resolv/Makefile: Define CFLAGS-libresolv.
52465 2011-08-17  Andreas Schwab  <schwab@redhat.com>
52467         * nss/makedb.c (compute_tables): Make variables used in nested
52468         function static.
52470 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52472         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52473         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52474         if buffer was too small.
52476         * elf/pldd.c (main): Attach to all threads in the process.
52477         Rewrite /proc handling to use *at functions.
52479 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
52481         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52482         specifies first scope to show.
52483         (dl_open_worker): Update callers.  Move printing scope of new
52484         object to before the relocation.
52485         * elf/rtld.c (dl_main): Update _dl_show_scope call.
52486         * sysdeps/generic/ldsodefs.h: Update declaration.
52488         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52489         string for the scope number.
52491 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
52493         * nscd/servicescache.c (cache_addserv): Make sure written is always
52494         initialized.
52496 2011-08-14  Roland McGrath  <roland@hack.frob.com>
52498         * sysdeps/i386/i486/bits/atomic.h
52499         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52500         statement expression, so as to suppress "set but not used" warning.
52501         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52503         * string/strncat.c (STRNCAT): Use prototype definition.
52505         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52506         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52507         -Iprograms here.
52508         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52509         (localedef-modules): Add localedef.
52510         (locale-modules): Add locale.
52512         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52513         * elf/rtld.c (dl_main): Invert order of assignment in last change,
52514         to avoid a warning.
52516 2011-08-14  David S. Miller  <davem@davemloft.net>
52518         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52519         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52521 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
52523         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52524         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52525         * elf/rtld.c (dl_main): Set l_name of vDSO.
52526         Call _dl_show_scope when DL_DEBUG_SCOPES.
52527         (process_dl_debug): Recognize scopes flag and also set it for all.
52528         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52529         Declare _dl_show_scope.
52531         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52532         (do_dlopen): Pass caller_dlopen to dl_open.
52533         (__libc_dlopen_mode): Initialize caller_dlopen.
52535         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52536         of libc.  Make tolower call locale-independent.  Optimize a bit by
52537         using isdigit instead of isalnum.
52538         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52540 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
52542         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52543         was a dependency or dynamically loaded.
52545 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
52547         * intl/l10nflist.c: Allow architecture-specific pop function.
52548         * sysdeps/x86_64/l10nflist.c: New file.
52550         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52551         classification.
52553 2011-08-10  Andreas Schwab  <schwab@redhat.com>
52555         * include/dirent.h: Add libc_hidden_proto for scandirat and
52556         scandirat64.  Don't declare __scandirat64.
52557         * dirent/scandirat.c: Add libc_hidden_def.
52558         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52559         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52561 2011-08-10  David S. Miller  <davem@davemloft.net>
52563         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52564         enum.
52565         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52566         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52567         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52569 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
52571         * Versions.def [libc]: Add GLIBC_2.15.
52572         * dirent/Makefile (routines): Add scandirat and scandirat64.
52573         * dirent/Versions [libc]: Export scandirat and scandirat64 for
52574         GLIBC_2.15.
52575         * dirent/dirent.h: Declare scandirat and scandirat64.
52576         * dirent/scandirat.c: New file.
52577         * dirent/scandirat64.c: New file.
52578         * sysdeps/wordsize-64/scandirat.c: New file.
52579         * sysdeps/wordsize-64/scandirat64.c: New file.
52580         * dirent/opendir.c: Define opendirat.
52581         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
52582         using scandirat.
52583         * dirent/scandir64.c: Adjust for scandir.c change.
52584         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
52585         __scandirat64, and __scandir_cancel_handler.
52586         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
52587         additional parameter and use openat instead of open (outside of ld.so).
52588         Add new __opendir as wrapper around __opendirat.
52589         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52590         here without requiring old scandirat implementation.
52592 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
52594         * dirent/scandir.c (cancel_handler): Renamed to
52595         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
52596         defined.  Adjust users.
52597         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52598         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52600 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
52602         * string/test-string.h (IMPL): Use __STRING to expand name and then
52603         stringify it.
52605         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
52606         of cleanups.
52608 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52610         * string/Makefile: Update.
52611         (strop-tests): Append strncat.
52612         * string/test-wcscmp.c: New file.
52613         New comprehensive test for wcscmp.
52614         * string/test-strcmp.c: Update.
52615         (WIDE): New define.
52617 2011-07-22  Andreas Schwab  <schwab@redhat.com>
52619         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52620         line.
52622 2011-07-26  Andreas Schwab  <schwab@redhat.com>
52624         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52625         encoding to ACE if AI_IDN.
52627 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
52629         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52630         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52632 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52634         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52635         Fix overflow bug in strncat.
52636         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52638         * string/test-strncat.c: Update.
52639         Add new tests for checking overflow bugs.
52641 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52643         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52644         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52645         * sysdeps/i386/i686/multiarch/strcat.S: New file.
52646         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52647         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52648         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52649         * sysdeps/i386/i686/multiarch/strncat.S: New file.
52650         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52651         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52653         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52654         (USE_AS_STRCAT): Define.
52655         Add strcat and strncat support.
52656         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52658 2011-07-25  Andreas Schwab  <schwab@redhat.com>
52660         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52661         __n bigger than INT_MAX+1.
52662         (__strncmp_g): Likewise.
52664 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
52666         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52667         * libio/stido.h: Likewise.
52669         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52670         (AF_NFC): Define.
52671         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52672         (AF_NFC): Define.
52674         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52675         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52676         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52677         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52678         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52680         [BZ #13021]
52681         * scripts/test-installation.pl: Don't expect libnss_test1 to be
52682         installed.
52684         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52685         typo.
52686         (_dl_x86_64_save_sse): Likewise.
52688 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
52690         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52691         OSXSAVE.
52692         (_dl_x86_64_save_sse): Likewise.
52694         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52696         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52698 2011-07-21  Andreas Schwab  <schwab@redhat.com>
52700         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52701         change.
52702         (_dl_x86_64_save_sse): Use correct AVX check.
52704 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52706         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52707         bug in strncpy/strncat.
52708         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52710 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
52712         * string/tester.c (test_strcat): Add tests for different alignments
52713         of source and destination.
52714         (test_strncat): Likewise.
52716 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52718         [BZ #12852]
52719         * posix/glob.c (glob): Check passed in values before using them in
52720         expressions to avoid some overflows.
52721         (glob_in_dir): Likewise.
52723         [BZ #13007]
52724         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52725         check for AVX enablement so that we don't crash with old kernels and
52726         new hardware.
52727         * elf/tst-audit4.c: Add same checks here.
52728         * elf/tst-audit6.c: Likewise.
52730         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52732 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
52734         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52736 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52738         * po/cs.po: Update from translation team.
52739         * po/bg.po: Likewise.
52741 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
52743         * misc/sys/cdefs.h: Add support for const attribute.
52744         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52745         to gnu_dev_{major,minor,makedev} functions.
52747 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
52749         * intl/dcigettext.c (get_output_charset): Add missing bracket.
52751 2011-07-20  Andreas Schwab  <schwab@redhat.com>
52753         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52754         strlen results.
52756 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52758         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52759         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52760         register in order to avoid conflicts with the soft frame pointer
52761         being held in r11 when necessary.
52762         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52763         (INTERNAL_VSYSCALL_NCS): Likewise.
52765 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
52767         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52768         * elf/dl-fini.c (_dl_fini): Adjust caller.
52769         * elf/dl-close.c (_dl_close_worker): Likewise.
52770         * sysdeps/generic/ldsodefs.h: Adjust declaration.
52772 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52774         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52775         "aux_cache->nlibs < 0".
52777         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52778         in the reload-count case.
52780 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52782         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52783         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52784         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52785         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52786         * sysdeps/x86_64/multiarch/strcat.S: New file.
52787         * sysdeps/x86_64/multiarch/strncat.S: New file.
52788         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52789         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52790         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52791         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52792         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52793         (USE_AS_STRCAT): Define.
52794         Add strcat and strncat support.
52795         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52796         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52797         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52798         * string/strncat.c: Update.
52799         (USE_AS_STRNCAT): Define.
52800         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52801         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52802         and i7.
52803         * sysdeps/x86_64/multiarch/init-arch.h
52804         (bit_Prefer_PMINUB_for_stringop): New.
52805         (index_Prefer_PMINUB_for_stringop): Likewise.
52806         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52807         bit_Prefer_PMINUB_for_stringop.
52809 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52811         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52812         buffer64.
52813         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52814         of casting of buffer.
52815         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52816         buffer32 and buffer64.
52817         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52818         writes instead of casting of buffer.
52819         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52820         buffer32.
52821         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52822         casting of buffer.
52824 2011-07-19  Andreas Schwab  <schwab@redhat.com>
52826         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52828 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52830         * nscd/nscd.c (termination_handler): Don't do anything for a database
52831         if it has not yet been initialized.
52833 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52835         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52837 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52839         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52841 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52843         * po/nl.po: Update from translation team.
52844         * po/sv.po: Likewise.
52846 2011-07-16  Roland McGrath  <roland@hack.frob.com>
52848         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52849         now disallowed by GCC.
52851         * configure.in (use-default-link): Default to yes if a test -shared
52852         link meets our qualifications.
52853         * configure: Regenerated.
52855         * config.make.in (output-format): New variable.
52856         * configure.in: Check for ld --print-output-format support.
52857         * configure: Regenerated.
52858         * Makerules ($(common-objpfx)format.lds)
52859         [$(output-format) != unknown]: Just use $(output-format),
52860         instead of the linker-script munging.
52862 2011-07-14  Roland McGrath  <roland@hack.frob.com>
52864         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52865         of $(common-objpfx)shlib.lds.
52866         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52868         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52869         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52871         * configure.in (-z relro check): Adjust test code to add a large
52872         writable data section after it.
52873         * configure: Regenerated.
52875 2011-07-11  Roland McGrath  <roland@hack.frob.com>
52877         * configure.in (-z relro check): Fix test code to make the variable
52878         truly const.
52879         * configure: Regenerated.
52881 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
52883         * nscd/nscd.h (struct traced_file): Define.
52884         (struct database_dyn): Remove inotify_descr, reset_res, and filename
52885         elements.  Add traced_files.
52886         (inotify_fd): Declare.
52887         (register_traced_file): Declare.
52888         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52889         (inotify_fd): Export.
52890         (resolv_conf_descr): Remove.
52891         (nscd_init): Move inotify descriptor creation to main.
52892         Don't register files for notification here.
52893         (register_traced_file): New function.
52894         (invalidate_cache): Don't use reset_res to determine whether to call
52895         res_init, go through the list of registered files.
52896         (main_loop_poll): The inotify descriptors are now stored in the
52897         structures for the traced files.
52898         (main_loop_epoll): Likewise
52899         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
52900         to __nss_disable_nscd.
52901         * nscd/cache.c (prune_cache): There is no single inotify descriptor
52902         for a database anymore.  Check the records for all the registered
52903         files instead.
52904         * nss/Makefile (libnss_files-routines): Add files-init.
52905         (libnss_db-routines): Add db-init.
52906         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52907         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52908         * nss/nss_db/db-init.c: New file.
52909         * nss/nss_files/files-init.c: New file.
52910         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
52911         __nss_lookup_function.
52912         (__nss_lookup_function): Call nss_load_library.
52913         (nss_load_all_libraries): New function.
52914         (__nss_disable_nscd): Take parameter with callback function for files
52915         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
52916         used for the cached services.
52917         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52918         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52919         options for features to all the files in nscd.
52921         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52923 2011-07-10  Roland McGrath  <roland@hack.frob.com>
52925         * csu/elf-init.c (__libc_csu_init): Comment typo.
52927 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
52929         * po/pl.po: Update from translation team.
52930         * po/ja.po: Likewise.
52931         * po/ru.po: Likewise.
52932         * po/ko.po: Likewise.
52933         * po/fr.po: Likewise.
52935 2011-07-09  Roland McGrath  <roland@hack.frob.com>
52937         * configure.in (.ctors/.dtors header and trailer check):
52938         Use an empirical test on a built program.
52939         * configure: Regenerated.
52941         * configure.in (-z relro check): Use an empirical test on a built DSO.
52942         Detect, but do not require, on ia64.
52943         * configure: Regenerated.
52945         * configure.in (READELF): Find it with AC_CHECK_TOOL.
52946         Update tests that use readelf to use $READELF instead.
52947         * configure: Regenerated.
52949 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
52951         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52952         if the result is not used.
52954 2011-07-05  Andreas Jaeger  <aj@suse.de>
52956         [BZ#9696]
52957         * stdlib/tst-strtod.c: Add testcase.
52959 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
52961         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52962         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52963         The latter has a higher limit.  Take additional parameter to pass to
52964         the new function.
52965         (__pathconf): Pass file to __statfs_link_max.
52966         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52967         __statfs_link_max.
52968         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52969         __statfs_link_max.
52971         [BZ #12868]
52972         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52973         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52974         Handle Lustre.
52975         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52976         (__statfs_filesize_max): Likewise.
52977         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52979 2011-07-05  Andreas Jaeger  <aj@suse.de>
52981         * resolv/res_comp.c (dn_skipname): Remove unused variable.
52983 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
52985         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52986         `status' variable.
52987         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52988         Likewise.
52990 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
52992         * Makefile (strop-tests): Add strncat.
52993         * string/test-strncat.c: New file.
52995 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
52997         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52999 2011-06-21  Andreas Jaeger  <aj@suse.de>
53001         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53002         Copy rule from iconvdata/Makefile.
53004 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53006         [BZ #12922]
53007         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53008         but no long options are defined, just return 'W'.
53010 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
53012         [BZ #9696]
53013         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53015 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53017         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53018         netgroups to read.
53019         (innetgr): Likewise.
53021 2011-07-05  Roland McGrath  <roland@hack.frob.com>
53023         * config.make.in (install_root): Default to $(DESTDIR).
53025 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
53027         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53029 2011-07-02  Roland McGrath  <roland@hack.frob.com>
53031         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53033         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53034         containing directory rather than embedding absolute directory names.
53036         * scripts/check-local-headers.sh: Rewritten using awk.
53037         Match by word, not by line.  Print error messages for matches.
53038         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53040         * Makerules [shlib-lds-flags empty]:
53041         ($(common-objpfx)libc_pic.opts): New target.
53042         ($(common-objpfx)libc_pic.os.clean): New target.
53043         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53045         * config.make.in (OBJCOPY): New variable.
53046         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53047         * configure: Regenerated.
53049         * config.make.in (use-default-link): New variable.
53050         * configure.in (use_default_link): Grok --with-default-link to set it.
53051         * configure: Regenerated.
53052         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53053         (shlib-lds, shlib-lds-flags): Define to empty.
53055         * Makerules (shlib-lds): New variable.
53056         (shlib-lds-flags): New variable.
53057         (build-shlib, build-moduile, build-module-asneeded): Use it.
53058         ($(common-objpfx)libc.so): Use $(shlib-lds).
53059         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53060         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53062         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53063         DT_FLAGS/DT_FLAGS_1 with zero flags.
53065         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53066         linker script munging.
53068 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
53070         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53071         as 128-bit value.
53072         * crypt/sha512.c (sha512_process_block): Perform total addition using
53073         128-bit if possible.
53074         (__sha512_finish_ctx): Likewise.
53075         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53076         as 64-bit value.
53077         * crypt/sha256.c (SWAP64): Define.
53078         (sha256_process_block): Perform total addition using 64-bit if
53079         possible.
53080         (__sha256_finish_ctx): Likewise.
53082 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
53084         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
53085         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53086         * nscd/hstcache.c (cache_addhst): Likewise.
53087         * nscd/grpcache.c (cache_addgr): Likewise.
53088         * nscd/aicache.c (addhstaiX): Likewise
53089         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53091 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
53093         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53094         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53095         * nscd/hstcache.c (cache_addhst): Likewise.
53096         * nscd/grpcache.c (cache_addgr): Likewise.
53097         * nscd/aicache.c (addhstaiX): Likewise
53099 2011-07-01  Andreas Schwab  <schwab@redhat.com>
53101         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53102         domain only when needed.
53104 2011-06-30  Andreas Schwab  <schwab@redhat.com>
53106         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53107         is always restored.
53109 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
53111         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53112         are re-adding the entry.
53113         * nscd/servicescache.c (cache_addserv): Likewise.
53115 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
53117         * sysdeps/generic/dl-irel.h: fix protection against multiple
53118         inclusions.
53119         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53121 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
53123         [BZ #12935]
53124         * malloc/memusage.sh: Fix quoting in message.
53125         * debug/xtrace.sh: Likewise.
53127         * configure.in: Remove support for --experimental-malloc option, make
53128         it the default.
53129         * config.make.in: Likewise.
53130         * malloc/Makefile: Likewise.
53132 2011-06-27  Andreas Schwab  <schwab@redhat.com>
53134         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53135         two-byte characters.
53137 2011-06-27  Roland McGrath  <roland@hack.frob.com>
53139         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53140         AC_CACHE_CHECK invocation.
53141         * configure: Regenerated.
53143         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53145 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
53147         [BZ #12350]
53148         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
53149         bit from old_res_options.
53151         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53153         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53154         value type for setfct.
53156 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
53158         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53159         __gettimeofday instead of gettimeofday.
53161 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
53163         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53165 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
53167         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53169         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53170         info.
53172 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53174         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53175         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53176         strcpy-sse2-unaligned strncpy-sse2-unaligned
53177         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53178         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53179         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53180         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53181         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53182         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53183         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53184         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53185         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53186         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53187         (STRCPY): Support SSE2 and SSSE3 versions.
53189 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
53191         [BZ #12874]
53192         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53193         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53194         kernels which artificially limit size of requests.
53196 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53198         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53199         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53200         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53201         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53202         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53203         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53204         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53205         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53206         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53207         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53208         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53209         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53210         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53211         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53212         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53213         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53214         Enable unaligned load optimization for Intel Core i3, i5 and i7
53215         processors.
53216         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53217         Define.
53218         (index_Fast_Unaligned_Load): Define.
53219         (HAS_FAST_UNALIGNED_LOAD): Define.
53221 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
53223         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53225 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53227         [BZ #12907]
53228         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53229         until it is clear that the information is realy needed.
53230         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53232 2011-06-22  Andreas Schwab  <schwab@redhat.com>
53234         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53236 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53238         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53239         /sys/devices/system/cpu/online if it is usable.
53241         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53242         reading the information from the /proc filesystem to once a second.
53244 2011-06-21  Andreas Jaeger  <aj@suse.de>
53246         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53247         NULL after inclusion of kernel headers.
53249 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
53251         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53252         calls to internal_setent.
53254         [BZ #12885]
53255         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53256         addresses using gethostbyname4_r ignore IPv4 addresses.
53258         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53259         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
53261         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53263 2011-06-20  David S. Miller  <davem@davemloft.net>
53265         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53266         inclusions.
53267         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53269         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53270         (elf_irel): Use it.
53271         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53272         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53273         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53274         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53275         * sysdeps/x86_64/dl-irel.h: Likewise.
53277         * elf/dl-runtime.c: Use elf_ifunc_invoke.
53278         * elf/dl-sym.c: Likewise.
53280 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53282         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
53283         need to dereference resplen2.
53285 2011-06-14  Andreas Schwab  <schwab@redhat.com>
53287         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53289 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53291         * Makeconfig: Define vardbdir and inst_vardbdir.
53292         * nss/Makefile: Add rules to install db-Makefile.
53294         * nss/nss_db/db-XXX.c: Cleanup.
53296         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53297         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53298         GLIBC_PRIVATE.
53299         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53300         * nss/makedb.c: Implement -g option to specify that value strings
53301         are generated and should not be added to table iterated over for
53302         get*ent calls.
53303         * nss/nss_db/db-initgroups.c: New file.
53305         * nss/getent.c: Add support for initgroups lookups through getgrouplist
53306         interface.
53308         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53309         (internal_getgrouplist): Adjust to name change.
53310         Update use_initgroups_entry if this is not the first call.
53311         * nss/databases.def: Add initgroups entry.
53313         * nss/makedb.c (compute_tables): Check result of multiple hash table
53314         sizes to minimize maximum chain length.
53316 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
53318         * Versions.def: Add entry for libnss_db.
53319         * shlib-versions: Likewise.
53320         * nss/Makefile: Add rules to build libnss_db.
53321         * nss/Versions: Add libnss_db information.  Organize libnss_files
53322         entries better.
53323         * nss/db-Makefile: Add gshadow support.  Change rules for the new
53324         makedb progra.  Some minor improvements to generate smaller files.
53325         * nss/nss_db/nss_db.h: Move NSS database header data structures to
53326         here from...
53327         * nss/makedb.c: ...here.
53328         Improve database format to be smaller and require less memory at
53329         runtime.
53330         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
53331         db anymore.
53332         * nss/nss_db/db-netgrp.c: Likewise.
53333         * nss/nss_db/db-open.c: Likewise.
53334         * nss/nss_files/flies-XXX.x: Adjust comments.
53335         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53336         * nss/nss_files/files-grp.c: Likewise.
53337         * nss/nss_files/files-hosts.c: Likewise.
53338         * nss/nss_files/files-network.c: Likewise.
53339         * nss/nss_files/files-proto.c: Likewise.
53340         * nss/nss_files/files-pwd.c: Likewise.
53341         * nss/nss_files/files-rpc.c: Likewise.
53342         * nss/nss_files/files-service.c: Likewise.
53343         * nss/nss_files/files-sgrp.c: Likewise.
53344         * nss/nss_files/files-spwd.c: Likewise.
53345         * nss/nss_db/db-alias.c: Removed.
53346         * nss/nss_db/dummy-db.h: Removed.
53348 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
53350         * nss/makedb.c: Rewritten to not use database library.
53351         * nss/Makefile: Update to build new makedb program.
53353 2011-06-14  Andreas Jaeger  <aj@suse.de>
53355         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53356         memset declaration.
53358 2011-06-10  Andreas Schwab  <schwab@redhat.com>
53360         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53361         tmpbuf.
53363 2011-06-10  Roland McGrath  <roland@hack.frob.com>
53365         * Makerules (shlib.lds): Fail if the linker script comes out empty.
53366         * elf/Makefile ($(objpfx)ld.so): Likewise.
53368         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53369         Don't list ld.so twice in dependencies.
53371         * posix/bug-regex31.c: Include <stdlib.h>.
53373         * nscd/hstcache.c (cache_addhst): Remove unused variable.
53375         * nis/nss_compat/compat-spwd.c
53376         (getspent_next_nss_netgr): Remove unused variable.
53377         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53379         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53380         nonmembers" output to use the right array.
53382         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53384         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53386         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53387         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53388         * catgets/gencat.c (read_input_file): Likewise.
53389         * locale/programs/locarchive.c (enlarge_archive): Likewise.
53391         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53392         variable definition inside #if's controlling its use.
53394         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53396         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53398         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53400         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53401         unreachable code.
53403         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53405         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53406         * configure: Regenerated.
53408         * Makerules: Revert last change.
53409         * elf/Makefile: Likewise.
53411 2011-06-09  Roland McGrath  <roland@hack.frob.com>
53413         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53414         * elf/Makefile ($(objpfx)librtld.os): Likewise.
53415         (reloc-link): Likewise.
53417 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
53419         * elf/Makefile: Add rules to build pldd.
53420         * elf/pldd.c: New file.
53421         * elf/pldd-xx.c: New file.
53423 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
53425         * version.h: Update for 2.15 development version.
53427 2011-06-07  David S. Miller  <davem@davemloft.net>
53429         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53430         ifuncs.
53431         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53432         elf_machine_lazy_rel): Likewise.
53433         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53434         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53435         elf_machine_lazy_rel): Likewise.
53436         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53437         dl_hwcap via passed in argument.
53438         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53439         Likewise.
53441 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53443         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
53445 2011-06-06  Roland McGrath  <roland@hack.frob.com>
53447         [BZ #12849]
53448         * manual/fdl-1.1.texi: New file, verbatim from:
53449         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53450         * manual/lgpl-2.1.texi: New file, verbatim from:
53451         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53452         * manual/Makefile (licenses): New variable, list those new file names.
53453         (texis): Use it.
53454         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53456         * manual/fdl.texi: File removed.
53457         * manual/lesser.texi: File removed.
53458         * manual/libc.texinfo (Copying, Documentation License):
53459         Use new @include file names, put @appendix directive before @include.
53461 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
53463         [BZ #12841]
53464         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53465         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53466         (mq_open): Add __NTH.
53468 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
53470         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53471         Assume Intel Core i3/i5/i7 processor if AVX is available.
53473 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53475         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53476         typo.
53478 2011-05-31  Andreas Schwab  <schwab@redhat.com>
53480         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53481         memory.  Use alloca_account.  Fix memory leak when retrying.
53483 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53485         * version.h (RELEASE): Bump for 2.14 release.
53486         * include/features.h (__GLIBC_MINOR__): Bump to 14.
53488         * config.make.in (RANLIB): Remove entry.
53490 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
53492         * po/Makefile (po-sed-cmd): Add ksh to extensions.
53493         (libc.pot): Work around missing support for .ksh extension in xgettext.
53495         [BZ #12684]
53496         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53497         if both request failed.
53498         (send_dg): In case of server errors clear resplen or *resplen2.
53500         [BZ #12454]
53501         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53502         when there are multiple maps.
53503         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53504         (_dl_fini): Remove test here.
53506         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53508 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
53510         [BZ #12350]
53511         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53512         bit from old_res_options.
53513         (gaih_inet): Likewise.
53515         [BZ #11099]
53516         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53517         as signed.
53519         * resolv/res_init.c (res_setoptions): Make the code more compact.
53521         [BZ #11558]
53522         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53523         set RES_USEVC.
53525         [BZ #11634]
53526         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53528         * malloc/malloc.h: Mark malloc hook variables as deprecated.
53530         [BZ #11781]
53531         * malloc/malloc.h: Declare malloc hook variables as volatile.
53533         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53534         in last patch.
53536         [BZ #11799]
53537         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53538         raise in the comment.
53539         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53540         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53541         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53543 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
53545         [BZ #12811]
53546         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53547         grow the buffers more if it already has to be sufficient.
53548         (build_wcs_upper_buffer): Likewise.
53549         * posix/regexec.c (check_matching): Likewise.
53550         (clean_state_log_if_needed): Likewise.
53551         (extend_buffers): Don't enlarge buffers beyond size of the input
53552         buffer.
53553         Patches mostly by Emil Wojak <emil@wojak.eu>.
53554         * posix/bug-regex32.c: New file.
53555         * posix/Makefile (tests): Add bug-regex32.
53557         * locale/findlocale.c (_nl_find_locale): Return right away if
53558         _nl_explode_name failed.
53559         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53561         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53563         * debug/xtrace.sh: Unify messages.
53564         * malloc/memusage.sh: Likewise.
53566         [BZ #12813]
53567         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53568         time symbol from vDSO.  Substitute with vsyscall if not available.
53569         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53570         __vdso_time.
53572         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53573         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53574         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53575         Add sendmmsg and internal_sendmmsg.
53576         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53577         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53578         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53580         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53581         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53582         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53584 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
53586         [BZ #12813]
53587         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53588         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
53589         available.
53590         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53591         __vdso_getcpu.
53593         [BZ #12814]
53594         * iconvdata/Makefile (tests): Add bug-iconv9.
53595         * iconvdata/bug-iconv9.c: New file.
53597 2011-05-27  Andreas Schwab  <schwab@redhat.com>
53599         [BZ #12814]
53600         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53602 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
53604         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53605         (struct user_regs_struct): Change intcs field back to cs.
53607 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
53609         * po/ja.po: Update from translation team.
53611 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
53613         [BZ #12795]
53614         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53615         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53617 2011-05-20  Andreas Schwab  <schwab@redhat.com>
53619         * stdlib/longlong.h: Update from GCC.
53621 2011-05-23  Andreas Schwab  <schwab@redhat.com>
53623         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53624         parameter name.
53625         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53626         Add parameter name.
53627         (__sysconf): Pass it down.
53629 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
53631         [BZ #12671]
53632         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53633         some situations.
53634         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53635         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53636         add in in __libc_use_alloca calls.  Adjust callers.
53637         (glob): Use malloc in some situations.
53639         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53640         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53641         pltexit.
53643 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
53645         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53646         and CLOCK_BOOTTIME_ALARM.
53648         [BZ #12782]
53649         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53650         is returned.
53652         * string/_strerror.c (__strerror_r): Print negative errors as signed
53653         numbers.
53655         [BZ #12777]
53656         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53657         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53658         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53660         * configure.in: Fix typo in redirection and correct removal of test
53661         files in two cases.
53663         [BZ #12788]
53664         * locale/setlocale.c (new_composite_name): Fix test to check for
53665         identical name of all categories.
53667         [BZ #12792]
53668         * libio/filedoalloc.c (local_isatty): New function.
53669         (_IO_file_doallocate): Use local_isatty.
53670         * stdio-common/perror.c (perror): In case a new stream is used
53671         forward the stream error.
53672         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53673         error flag.
53675 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
53677         [BZ #11869]
53678         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53679         alloca.
53680         * include/alloca.h (extend_alloca_account): Define.
53682         [BZ #11857]
53683         * posix/regex.h: Fix comments with documentation of user-accessible
53684         fields after compilation and describe correct free'ing of pattern
53685         after re_compile_pattern.
53686         Patch by Reuben Thomas <rrt@sc3d.org>.
53688 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
53690         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53691         and -mno-altivec to prevent the compiler from using Altivec and/or
53692         VSX instructions when the corresponding registers are not available.
53694 2011-05-19  Andreas Schwab  <schwab@redhat.com>
53696         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53698 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
53700         * libio/freopen.c (freopen): Use __dup2, not dup2.
53701         * libio/freopen64.c (freopen64): Likewise.
53703 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53705         [BZ #12775]
53706         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53707         * math/Makefile (tests): Add test-powl.
53708         (CFLAGS-test-powl.c): Define.
53709         * math/test-powl.c: New file.
53711 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53713         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53715 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
53717         [BZ #11837]
53718         * iconvdata/gb18030.c: Update to GB18020-2005.
53720 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
53722         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53723         RE_SYNTAX_POSIX_AWK): Update to match recent development.
53724         Patch by Aharon Robbins <arnold@skeeve.com>.
53726         [BZ #11892]
53727         * stdlib/putenv.c (putenv): Don't always create copy of the variable
53728         on the stack.
53730         [BZ #11895]
53731         * misc/pselect.c (__pselect): Handle timeout value errors hidden
53732         through underflows.
53734         [BZ #12766]
53735         * misc/error.c (error_at_line): Ensure file_name and old_file_name
53736         point to strings before performing equality test for error_one_per_line
53737         mode.
53739         [BZ #11697]
53740         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53742         [BZ #11820]
53743         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53744         (struct user_fpregs_struct): Avoid __uint*_t types.
53746         [BZ #6420]
53747         * malloc/mtrace.c (tr_where): Add additional parameter to point to
53748         symbol info.  Use it instead of calling _dl_addr locally.
53749         (lock_and_info): New function.
53750         (tr_freehook): Call lock_and_info and pass symbol info as additional
53751         parameter to tr_where.
53752         (tr_mallochook): Likewise.
53753         (tr_reallochook): Likewise.
53754         (tr_memalignhook): Likewise.
53756         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
53757         used and couldn't be at all thread-safe.
53759 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
53761         * libio/freopen.c (freopen): Don't close old file descriptor
53762         before the new one is opened.  Instead dup the new file descriptor
53763         to the old one after the new stream is created.
53764         * libio/freopen64.c (freopen64): Likewise.
53765         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53766         * libio/fileops.c (_IO_new_file_close_it): Handle new
53767         _IO_FLAGS2_NOCLOSE flag.
53768         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53769         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53770         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53771         _IO_FLAGS2_NOCLOSE flag.
53772         * include/unistd.h: Add hidden_proto for dup3.
53773         Define __have_dup3.
53774         * io/dup3.c: Define hidden symbol.
53775         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53777         [BZ #7101]
53778         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53779         when an incomplete long option is used.
53780         * posix/tst-getopt_long1.c: New file.
53781         * posix/Makefile (tests): Add tst-getopt_long1.
53783         [BZ #10138]
53784         * scripts/config.guess: Update from autoconf-2.68.
53785         * scripts/config.sub: Likewise.
53787         [BZ #10157]
53788         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53789         tests into ...
53790         (has_cpuclock): ...this.  New function.
53791         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53792         macro here based on has_cpuclock code.
53794         [BZ #10149]
53795         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53796         First byte (not low byte) is now always NUL.
53797         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53799         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53800         Use non-cancelable interfaces.
53802         [BZ #9809]
53803         * locale/iso-639.def: Add entry for Sorani.
53805         [BZ #11901]
53806         * include/stdlib.h: Move include protection to the right place.
53807         Define abort_msg_s.  Declare __abort_msg with it.
53808         * stdlib/abort.c (__abort_msg): Adjust type.
53809         * assert/assert.c (__assert_fail_base): New function.  Majority
53810         of code from __assert_fail.  Allocate memory for __abort_msg with
53811         mmap.
53812         (__assert_fail): Now call __assert_fail_base.
53813         * assert/assert-perr.c: Remove bulk of implementation.  Use
53814         __assert_fail_base.
53815         * include/assert.hL Declare __assert_fail_base.
53816         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53817         mmap.
53818         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53820 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
53822         [BZ #11952]
53823         [BZ #12453]
53824         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53825         until all modules are registered in the DTV.
53826         * elf/Makefile: Add rules to build and run tst-tls19.
53827         * elf/tst-tls19.c: New file.
53828         * elf/tst-tls19mod1.c: New file.
53829         * elf/tst-tls19mod2.c: New file.
53830         * elf/tst-tls19mod3.c: New file.
53831         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53833         [BZ #12083]
53834         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53835         correctly.
53837         [BZ #12601]
53838         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53839         two-byte sequence errors.
53840         * iconvdata/Makefile (tests): Add bug-iconv8.
53841         * iconvdata/bug-iconv8.c: New file.
53843         [BZ #12626]
53844         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53845         buf2 definition.
53847         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53849         [BZ #12432]
53850         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53851         (dummy_getcfa): New function.
53852         (init): Get _Unwind_GetCFA address, use dummy if not found.
53853         (backtrace_helper): In recursion check, also check whether CFA changes.
53854         (__backtrace): Completely initialize arg.
53856         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53857         storing incomplete byte sequence in state object.  Avoid testing for
53858         guaranteed too small input if we know there is enough data available.
53860 2011-05-11  Andreas Schwab  <schwab@redhat.com>
53862         * Makeconfig (+link-pie): Indent.
53863         * Rules (binaries-pie): Define if $(have-fpie) and
53864         $(build-shared).
53865         (binaries-shared): Also filter out $(binaries-pie).
53866         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53867         * nscd/Makefile (others-pie): Add nscd.
53868         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53869         ($(objpfx)nscd): Remove command override.
53870         * login/Makefile (others-pie): Add pt_chown.
53871         ($(objpfx)pt_chown): Remove command override.
53872         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53873         remove command overrides.
53875 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
53877         * libio/tst_putwc.c: Fix error messages.
53879         [BZ #12724]
53880         * libio/fileops.c (_IO_new_file_close_it): Always flush when
53881         currently writing and seek to current position when not.
53882         * libio/Makefile (tests): Add bug-fclose1.
53883         * libio/bug-fclose1.c: New file.
53885 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
53887         [BZ #12511]
53888         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53889         don't set DF_1_NODELETE here.
53890         (do_lookup_x): When entering new entry test for copy relocation
53891         and if necessary set DF_1_NODELETE flag.
53892         * elf/tst-unique4.cc: New file.
53893         * elf/tst-unique4.h: New file.
53894         * elf/tst-unique4lib.cc: New file.
53895         * elf/Makefile: Add rules to build and run tst-unique4.
53896         Patch by Piotr Bury <pbury@goahead.com>.
53898 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
53900         [BZ #12052]
53901         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53903         [BZ #12625]
53904         * misc/mntent_r.c (addmntent): Flush the stream after the output
53906         [BZ #12393]
53907         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53908         (is_trusted_path_normalize): Skip initial colon.  Append slash
53909         to empty buffer.  Duplicate is_trusted_path code but allow
53910         constructed patch to be prefix.
53911         (is_dst): Allow $ORIGIN followed by /.
53912         (_dl_dst_substitute): Correct clearing of check_for_trusted.
53913         Correct testing of result of is_trusted_path_normalize
53914         (decompose_rpath): Fix warning.
53916 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
53918         [BZ #11257]
53919         * grp/initgroups.c (internal_getgrouplist): When we found the service
53920         list through the initgroups entry in nsswitch.conf do not always
53921         continue on a successful lookup.  Don't always use the
53922         __nss_group_database value if it is set.
53923         * nss/nsswitch.conf (initgroups): Change action for successful db
53924         lookup to continue for compatibility.
53926 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
53928         [BZ #11532]
53929         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53930         and CP774 modules.
53931         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53932         and CP774 modules.
53933         * iconvdata/tst-tables.sh: Likewise.
53934         * iconvdata/cp770.c: New file.
53935         * iconvdata/cp771.c: New file.
53936         * iconvdata/cp772.c: New file.
53937         * iconvdata/cp773.c: New file.
53938         * iconvdata/cp774.c: New file.
53939         * iconvdata/testdata/CP770: New file.
53940         * iconvdata/testdata/CP770..UTF8: New file.
53941         * iconvdata/testdata/CP771: New file.
53942         * iconvdata/testdata/CP771..UTF8: New file.
53943         * iconvdata/testdata/CP772: New file.
53944         * iconvdata/testdata/CP772..UTF8: New file.
53945         * iconvdata/testdata/CP773: New file.
53946         * iconvdata/testdata/CP773..UTF8: New file.
53947         * iconvdata/testdata/CP774: New file.
53948         * iconvdata/testdata/CP774..UTF8: New file.
53950         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53951         END CHARMAP line.
53952         * iconvdata/gen-8bit-gap.sh: Likewise.
53953         * iconvdata/gen-8bit.sh: Likewise.
53955         * locale/iso-639.def: Add ary entry.
53957         [BZ #11258]
53958         * locale/C-translit.h.in: Add U20A1 transliteration.
53960         [BZ #12178]
53961         * locale/iso-639.def: Add wae entry.
53962         Patch by Kevin Bortis <bortis@translate-wae.ch>.
53964         [BZ #12545]
53965         * locale/programs/localedef.c (construct_output_path): Use ssize_t
53966         for n.
53968         [BZ #12711]
53969         * locale/C-translit.h.in: Add entry for U20B9.
53970         Patch by pravin.d.s@gmail.com.
53972 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
53974         [BZ #12713]
53975         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53976         ENAMETOOLONG use generic getcwd.
53977         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
53978         in rtld.  Use *stat64.
53979         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53980         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53981         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53982         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53983         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53984         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53985         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53986         __fstatat64 macros.
53987         * include/dirent.h: Add libc_hidden_proto for rewinddir.
53988         * dirent/rewinddir.c: Add libc_hidden_def.
53989         * sysdeps/mach/hurd/rewinddir.c: Likewise.
53990         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
53992         * include/dirent.h (__alloc_dir): Add flags parameter.
53993         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53994         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53995         __alloc_dir.
53996         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
53997         from fdopendir if O_CLOEXEC is already set.
53999 2011-03-15  Alan Modra  <amodra@gmail.com>
54001         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54002         l_tls_firstbyte_offset non-zero.  Save padding offset in
54003         l_tls_firstbyte_offset for later use.
54004         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54005         freeing static tls block.
54007 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
54009         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54010         where #ifdef was intended.  The intent is to prevent ARG_MAX from
54011         being defined by the kernel headers.
54013 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
54015         [BZ #12734]
54016         * resolv/resolv.h: Define RES_NOTLDQUERY.
54017         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54018         no-tld-query and set RES_NOTLDQUERY.
54019         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54020         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54021         modern BIND to search name as TLD unless forbidden.
54023 2011-05-07  Petr Baudis  <pasky@suse.cz>
54024             Ulrich Drepper  <drepper@gmail.com>
54026         [BZ #12393]
54027         * elf/dl-load.c (fillin_rpath): Move trusted path check...
54028         (is_trusted_path): ...to here.
54029         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54030         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54031         using is_trusted_path_normalize() in setuid scripts.
54033 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54035         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54036         __BEGIN/__END_DECLS.
54038 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
54040         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54041         NSS_STATUS_NOTFOUND if no record was found.
54043 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54045         * sunrpc/Makefile (headers): Add rpc/netdb.h.
54046         (headers-not-in-tirpc): Remove rpc/netdb.h
54047         * resolv/netdb.h: Revert last change.
54049 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54051         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54052         circular dependency between libgcc.a and libc.a.
54054 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54056         * resolv/netdb.h: Don't include <rpc/netdb.h>.
54057         * nis/Makefile: Don't install rpcsvc/*.
54058         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54059         instead of <rpc/types.h>.
54060         (MAXHOSTNAMELEN): Define.
54062 2011-05-03  Andreas Schwab  <schwab@redhat.com>
54064         * elf/ldconfig.c (add_dir): Don't crash on empty path.
54066 2011-04-28  Maciej Babinski  <mbabinski@google.com>
54068         [BZ #12714]
54069         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54070         gethostbyname4_r when IPv6 results are possible.
54072 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
54074         [BZ #12723]
54075         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54076         _PC_PIPE_BUF handling.
54078 2011-04-30  Bruno Haible  <bruno@clisp.org>
54080         [BZ #12717]
54081         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54082         * resolv/netdb.h (getnameinfo): Change type of flags parameter
54083         to 'int'.
54084         * inet/getnameinfo.c (getnameinfo): Likewise.
54086 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
54088         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54089         to groups setting in database lookup.
54090         * nss/nsswitch.conf: Add initgroups entry.
54092 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
54094         [BZ #12685]
54095         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54096         mode string.
54097         Patch by Eric Blake <eblake@redhat.com>.
54099 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
54101         * sunrpc/Makefile (need-export-routines): Add svc_run.
54102         (routines): Remove svc_run.
54103         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54104         * sunrpc/clnt_perr.c (clnt_perrno): Export.
54105         * sunrpc/svc_run.c (svc_run): Likewise.
54106         * sunrpc/svc_udp.c (svcudp_create): Likewise.
54108 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
54110         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54111         problem in reallocation in last patch.
54113 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
54115         * sunrpc/Makefile: Move inclusion of Rules.
54117 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54119         * nss/nss_files/files-initgroups.c: New file.
54120         * nss/Makefile (libnss_files-routines): Add files-initgroups.
54121         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54122         _nss_files_initgroups_dyn.
54124 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
54126         * elf/elf.h (R_ARM_IRELATIVE): Define.
54128 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54130         * po/ru.po: Update from translation team.
54132 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54134         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54135         dependencies.
54137 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
54139         [BZ #12653]
54140         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54141         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54142         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54143         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54144         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54146 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
54148         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54149         differing bytes.
54150         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54151         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54152         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54154 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54156         [BZ #12420]
54157         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54158         storing it.
54159         * stdlib/bug-getcontext.c: New file.
54160         * stdlib/Makefile: Add rules to build and run bug-getcontext.
54162 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54164         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54165         instructions into .machine "z9-109".
54166         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54167         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54169 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54171         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54172         between environment variables and auxiliary vector.
54174 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
54176         * Makefile: Add rules to build linkobj/libc.so.
54177         * include/libc-symbols.h: Define libc_hidden_nolink.
54178         * include/rpc/auth.h: Mark functions which are to be hidden.
54179         * include/rpc/auth_des.h: Likewise.
54180         * include/rpc/auth_unix.h: Likewise.
54181         * include/rpc/clnt.h: Likewise.
54182         * include/rpc/des_crypt.h: Likewise.
54183         * include/rpc/key_prot.h: Likewise.
54184         * include/rpc/pmap_clnt.h: Likewise.
54185         * include/rpc/pmap_prot.h: Likewise.
54186         * include/rpc/pmap_rmt.h: Likewise.
54187         * include/rpc/rpc_msg.h: Likewise.
54188         * include/rpc/svc.h: Likewise.
54189         * include/rpc/svc_auth.h: Likewise.
54190         * include/rpc/xdr.h: Likewise.
54191         * nis/Makefile: Link all DSOs against linkobj/libc.so.
54192         * nss/Makefile: Likewise.
54193         * sunrpc/Makefile: Don't install headers.  Build library with normal
54194         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
54195         * sunrpc/auth_des.c: Hide exported symbols by default, export some
54196         for the compat linking library.  Remove use of INTDEF/INTUSE.
54197         * sunrpc/auth_none.c: Likewise.
54198         * sunrpc/auth_unix.c: Likewise.
54199         * sunrpc/authdes_prot.c: Likewise.
54200         * sunrpc/authuxprot.c: Likewise.
54201         * sunrpc/clnt_gen.c: Likewise.
54202         * sunrpc/clnt_perr.c: Likewise.
54203         * sunrpc/clnt_raw.c: Likewise.
54204         * sunrpc/clnt_simp.c: Likewise.
54205         * sunrpc/clnt_tcp.c: Likewise.
54206         * sunrpc/clnt_udp.c: Likewise.
54207         * sunrpc/clnt_unix.c: Likewise.
54208         * sunrpc/des_crypt.c: Likewise.
54209         * sunrpc/des_soft.c: Likewise.
54210         * sunrpc/get_myaddr.c: Likewise.
54211         * sunrpc/key_call.c: Likewise.
54212         * sunrpc/key_prot.c: Likewise.
54213         * sunrpc/netname.c: Likewise.
54214         * sunrpc/pm_getmaps.c: Likewise.
54215         * sunrpc/pm_getport.c: Likewise.
54216         * sunrpc/pmap_clnt.c: Likewise.
54217         * sunrpc/pmap_prot.c: Likewise.
54218         * sunrpc/pmap_prot2.c: Likewise.
54219         * sunrpc/pmap_rmt.c: Likewise.
54220         * sunrpc/publickey.c: Likewise.
54221         * sunrpc/rpc_cmsg.c: Likewise.
54222         * sunrpc/rpc_common.c: Likewise.
54223         * sunrpc/rpc_dtable.c: Likewise.
54224         * sunrpc/rpc_prot.c: Likewise.
54225         * sunrpc/rpc_thread.c: Likewise.
54226         * sunrpc/rtime.c: Likewise.
54227         * sunrpc/svc.c: Likewise.
54228         * sunrpc/svc_auth.c: Likewise.
54229         * sunrpc/svc_authux.c: Likewise.
54230         * sunrpc/svc_raw.c: Likewise.
54231         * sunrpc/svc_run.c: Likewise.
54232         * sunrpc/svc_simple.c: Likewise.
54233         * sunrpc/svc_tcp.c: Likewise.
54234         * sunrpc/svc_udp.c: Likewise.
54235         * sunrpc/svc_unix.c: Likewise.
54236         * sunrpc/svcauth_des.c: Likewise.
54237         * sunrpc/xcrypt.c: Likewise.
54238         * sunrpc/xdr.c: Likewise.
54239         * sunrpc/xdr_array.c: Likewise.
54240         * sunrpc/xdr_float.c: Likewise.
54241         * sunrpc/xdr_intXX_t.c: Likewise.
54242         * sunrpc/xdr_mem.c: Likewise.
54243         * sunrpc/xdr_rec.c: Likewise.
54244         * sunrpc/xdr_ref.c: Likewise.
54245         * sunrpc/xdr_sizeof.c: Likewise.
54246         * sunrpc/xdr_stdio.c: Likewise.
54248 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
54250         [BZ #12650]
54251         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54252         * sysdeps/ia64/dl-tls.h: Likewise.
54253         * sysdeps/powerpc/dl-tls.h: Likewise.
54254         * sysdeps/s390/dl-tls.h: Likewise.
54255         * sysdeps/sh/dl-tls.h: Likewise.
54256         * sysdeps/sparc/dl-tls.h: Likewise.
54257         * sysdeps/x86_64/dl-tls.h: Likewise.
54258         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54260 2011-03-14  Andreas Schwab  <schwab@redhat.com>
54262         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54263         rpath element also skip the following colon.
54264         (expand_dynamic_string_token): Add is_path parameter and pass
54265         down to DL_DST_REQUIRED and _dl_dst_substitute.
54266         (decompose_rpath): Call expand_dynamic_string_token with
54267         non-zero is_path.  Ignore empty rpaths.
54268         (_dl_map_object_from_fd): Call expand_dynamic_string_token
54269         with zero is_path.
54271 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
54273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54274         Make cancelable.
54276 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
54278         [BZ #12655]
54279         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54280         Patch by Filipe David Manana <fdmanana@apache.org>.
54282 2011-04-07  Andreas Schwab  <schwab@redhat.com>
54284         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54285         Maintain aligned stack.
54286         (CHECK_RSP): Remove unused macro.
54288 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
54290         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54291         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54293 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
54295         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54297         * include/features.h: Mention __USE_XOPEN2K8 in comment.
54299 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
54301         [BZ #12518]
54302         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54303         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54304         * sysdeps/x86_64/memmove.c: New file.
54305         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54306         (memcpy): Renamed to ...
54307         (__new_memcpy): This.
54308         (memcpy): Provide GLIBC_2_14 memcpy.
54309         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54310         (memcpy): Provide GLIBC_2_2_5 memcpy.
54312 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54314         [BZ #12631]
54315         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54317 2011-03-30  Andreas Schwab  <schwab@redhat.com>
54319         * misc/syncfs.c: New file.
54320         * misc/Makefile (routines): Add syncfs.
54321         * posix/unistd.h: Declare syncfs.
54322         * sysdeps/unix/syscalls.list: Add syncfs.
54324 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54326         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54327         open_by_handle_at.
54328         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54329         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54330         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54331         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54332         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54333         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54334         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54336 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54338         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54339         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54340         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54341         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54342         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54343         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54344         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54346         * io/Makefile: Compile fallocate.c, fallocate64.c, and
54347         sync_file_range.c with -fexceptions.
54348         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54349         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54350         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54351         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54352         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54353         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54354         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54355         sync_file_range as cancellation point
54356         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
54357         now a wrapper around __call_sync_file_range with cancellation handling.
54358         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54359         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
54360         function name to __call_sync_file_range.
54361         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54362         Add call_sync_file_range.
54364 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54366         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54367         bits/timex.h.
54369 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54371         * iconv/iconv.h: Fix typo in comment.
54372         * io/fcntl.h: Likewise.
54373         * libio/stdio.h: Likewise.
54374         * posix/spawn.h: Likewise.
54375         * posix/unistd.h: Likewise.
54376         * stdlib/stdlib.h: Likewise.
54377         * time/time.h: Likewise.
54378         * wcsmbs/wchar.h: Likewise.
54380         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54381         open_by_handle): Add.
54382         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54383         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
54384         Augment a few comments.
54385         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54386         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54387         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54388         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54389         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54390         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54391         open_by_handle.
54393         * io/fcntl.h (AT_EMPTY_PATH): Define.
54395 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
54397         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54398         * sysdeps/unix/sysv/linux/bits/time.h: New file.
54399         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54400         to...
54401         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
54402         * Versions.def: Add GLIBC_2.14.
54403         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54404         Export.
54406 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
54408         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54409         round counter.
54410         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54412 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54414         [BZ #12597]
54415         * string/test-strncmp.c (do_page_test): New function.
54416         (check2): Likewise.
54417         (test_main): Call check2.
54418         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54420 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
54422         [BZ #12587]
54423         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54424         Handle cache information in CPU leaf 4.
54425         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54427 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
54429         [BZ #12583]
54430         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54431         character representation.
54432         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54434 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
54436         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54437         END(__isnan) to END(__isnanf) to match function entry point/label
54438         EALIGN(__isnanf,...).
54440 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
54442         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54444 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
54446         [BZ #12510]
54447         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54448         copy from the symbol referenced in the relocation to initialize the
54449         used variable.
54450         Patch by Piotr Bury <pbury@goahead.com>.
54451         * elf/Makefile: Add rules to build and tst-unique3.
54452         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54453         * elf/tst-unique3.cc: New file.
54454         * elf/tst-unique3.h: New file.
54455         * elf/tst-unique3lib.cc: New file.
54456         * elf/tst-unique3lib2.cc: New file.
54458         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54460 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
54462         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54463         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
54464         to _start.
54466 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
54468         * elf/dl-load.c (_dl_map_object): If we are looking for the first
54469         to-be-loaded object along a path to loader is ld.so.
54471 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54472             Ulrich Drepper  <drepper@gmail.com>
54474         * sysdeps/x86_64/memset.S: After aligning destination, code
54475         branches to different locations depending on the value of
54476         misalignment, when multiarch is enabled. Fix this.
54478 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54480         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54481         Set _x86_64_preferred_memory_instruction for AMD processsors.
54482         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54483         Set bit_Prefer_SSE_for_memop for AMD processors.
54485 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
54487         * libio/fmemopen.c (fmemopen): Optimize a bit.
54489 2011-03-03  Andreas Schwab  <schwab@redhat.com>
54491         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54493 2011-03-03  Roland McGrath  <roland@redhat.com>
54495         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54497 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
54499         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54500         __bzero_ultra1 instead of __memset_ultra1.
54502 2011-02-23  Andreas Schwab  <schwab@redhat.com>
54503             Ulrich Drepper  <drepper@gmail.com>
54505         [BZ #12509]
54506         * include/link.h (struct link_map): Add l_orig_initfini.
54507         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54508         returning unsuccessfully.
54509         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54510         close of a file loaded at startup, restore the original l_initfini
54511         list.
54512         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54513         list, store the pointer.
54514         * elf/Makefile ($(objpfx)noload-mem): New rule.
54515         (noload-ENV): Define.
54516         (tests): Add $(objpfx)noload-mem.
54517         * elf/noload.c: Include <memcheck.h>.
54518         (main): Call mtrace.  Close all opened handles.
54520 2011-02-17  Andreas Schwab  <schwab@redhat.com>
54522         [BZ #12454]
54523         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54524         dependencies are missing.
54526 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54528         Fix __if_freereq crash: Unlike the generic version which uses free,
54529         Hurd needs munmap.
54530         * sysdeps/mach/hurd/ifreq.h: New file.
54532 2011-01-27  Petr Baudis  <pasky@suse.cz>
54533             Ulrich Drepper  <drepper@gmail.com>
54535         [BZ 12445]#
54536         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54537         to extend_alloca().
54538         * stdio-common/bug23.c: New file.
54539         * stdio-common/Makefile (tests): Add bug23.
54541 2010-09-28  Andreas Schwab  <schwab@redhat.com>
54542             Ulrich Drepper  <drepper@gmail.com>
54544         [BZ #12489]
54545         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54546         before performing relro protection.  At old place add assertion
54547         to make sure nothing changed.
54549 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
54550             Glauber de Oliveira Costa  <glommer@gmail.com>
54552         * elf/elf.h: Add new ARM TLS relocs.
54554 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
54556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54557         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54558         cast from r3.
54559         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
54560         'tests' variable.
54561         * sysdeps/wordsize-64/tst-writev.c: New file.
54563 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
54565         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54566         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54567         insns in _dl_start to prevent a TOC reference before relocs are
54568         resolved.
54570 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
54572         [BZ #12469]
54573         * Makeconfig: Remove RANLIB definition.
54574         * Makerules: Don't use RANLIB.
54575         * aclocal.m4: Remove ranlib test.
54576         * configure.in: No need to check for ranlib.
54577         * elf/rtld-Rules: Don't use RANLIB.
54579 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54581         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54582         protection macro.
54583         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54584         inclusion protection macro.
54586         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54587         SIGRTMIN and SIGRTMAX and print information in that case only when
54588         SIGRTMIN is defined.
54590 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
54592         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54593         arginfo fn returning -1.
54595         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54596         and thousands string is zero terminated.
54598 2011-02-03  Andreas Schwab  <schwab@redhat.com>
54600         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54601         sysdeps/unix/sysv/linux/bits/socket.h.
54603 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54605         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54606         (__CPU_COUNT): Remove old macros.
54607         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54608         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54609         (__CPU_ALLOC, __CPU_FREE): Add macros.
54610         (__sched_cpualloc, __sched_cpufree): Add declarations.
54612 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
54614         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54615         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54616         * nscd/aicache.c (addhstaiX): Return timeout of added value.
54617         (readdhstai): Return value of addhstaiX call.
54618         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54619         (addgrbyX): Return value returned by cache_addgr.
54620         (readdgrbyname): Return value returned by addgrbyX.
54621         (readdgrbygid): Likewise.
54622         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54623         (addpwbyX): Return value returned by cache_addpw.
54624         (readdpwbyname): Return value returned by addhstbyX.
54625         (readdpwbyuid): Likewise.
54626         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54627         (addservbyX): Return value returned by cache_addserv.
54628         (readdservbyname): Return value returned by addservbyX:
54629         (readdservbyport): Likewise.
54630         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54631         (addhstbyX): Return value returned by cache_addhst.
54632         (readdhstbyname): Return value returned by addhstbyX.
54633         (readdhstbyaddr): Likewise.
54634         (readdhstbynamev6): Likewise.
54635         (readdhstbyaddrv6): Likewise.
54636         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54637         (readdinitgroups): Return value returned by addinitgroupsX.
54638         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54639         (prune_cache): Keep track of timeout value of re-added entries.
54640         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54641         * nscd/nscd.h: Adjust prototypes of readd* functions.
54643 2011-02-04  Roland McGrath  <roland@redhat.com>
54645         * nis/nis_server.c (nis_servstate): Use the right name for 0.
54646         (nis_stats): Likewise.
54647         * nis/nis_modify.c (nis_modify): Likewise.
54648         * nis/nis_remove.c (nis_remove): Likewise.
54649         * nis/nis_add.c (nis_add): Likewise.
54651         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54653         * posix/fnmatch_loop.c: Add some consts.
54655         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54657 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
54659         [BZ #12460]
54660         * config.make.in (config-cflags-novzeroupper): Define.
54661         * configure.in: Substitute libc_cv_cc_novzeroupper.
54662         * elf/Makefile (AVX-CFLAGS): Define.
54663         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54664         (CFLAGS-tst-auditmod4a.c): Likewise.
54665         (CFLAGS-tst-auditmod4b.c): Likewise.
54666         (CFLAGS-tst-auditmod6b.c): Likewise.
54667         (CFLAGS-tst-auditmod6c.c): Likewise.
54668         (CFLAGS-tst-auditmod7b.c): Likewise.
54669         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54671 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
54673         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54674         function to the callback.
54675         Patch partly by Jiri Olsa <jolsa@redhat.com>.
54677 2011-02-02  Andreas Schwab  <schwab@redhat.com>
54679         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54680         of errno.
54682 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
54684         [BZ #11724]
54685         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54686         of constructors.
54687         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54688         of destructors.
54689         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54691         [BZ #11724]
54692         * elf/Makefile: Add rules to build and run new test.
54693         * elf/tst-initorder.c: New file.
54694         * elf/tst-initorder.exp: New file.
54695         * elf/tst-initordera1.c: New file.
54696         * elf/tst-initordera2.c: New file.
54697         * elf/tst-initordera3.c: New file.
54698         * elf/tst-initordera4.c: New file.
54699         * elf/tst-initorderb1.c: New file.
54700         * elf/tst-initorderb2.c: New file.
54701         * elf/tst-order-a1.c: New file.
54702         * elf/tst-order-a2.c: New file.
54703         * elf/tst-order-a3.c: New file.
54704         * elf/tst-order-a4.c: New file.
54705         * elf/tst-order-b1.c: New file.
54706         * elf/tst-order-b2.c: New file.
54707         * elf/tst-order-main.c: New file.
54708         New test case by George Gensure <werkt0@gmail.com>.
54710 2010-10-01  Andreas Schwab  <schwab@redhat.com>
54712         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54713         decoding ACE if AI_CANONIDN.
54715 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
54717         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54719 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
54721         * version.h (RELEASE): Bump for 2.13 release.
54722         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54724         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54726         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54727         MADV_NOHUGEPAGE.
54728         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54729         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54730         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54731         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54732         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54733         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54735         * posix/getconf.c: Update copyright year.
54736         * catgets/gencat.c: Likewise.
54737         * csu/version.c: Likewise.
54738         * debug/catchsegv.sh: Likewise.
54739         * debug/xtrace.sh: Likewise.
54740         * elf/ldconfig.c: Likewise.
54741         * elf/ldd.bash.in: Likewise.
54742         * elf/sprof.c (print_version): Likewise.
54743         * iconv/iconv_prog.c: Likewise.
54744         * iconv/iconvconfig.c: Likewise.
54745         * locale/programs/locale.c: Likewise.
54746         * locale/programs/localedef.c: Likewise.
54747         * malloc/memusage.sh: Likewise.
54748         * malloc/mtrace.pl: Likewise.
54749         * nscd/nscd.c (print_version): Likewise.
54750         * nss/getent.c: Likewise.
54752         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54753         PF_CAIF, and PF_ALG.
54754         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54756 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
54758         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54759         (modules-names): Use them.
54760         (ifunc-test-modules, ifunc-pie-tests): Define.
54761         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54762         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54763         (test-extras): Likewise.
54764         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54765         $(compile-command.c).
54766         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54767         (all-built-dso): Define.
54768         (check-textrel.out, check-execstack.out): Depend on it.
54770         * configure.in: Don't override --enable-multi-arch.
54772 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
54774         [BZ #6812]
54775         * nscd/hstcache.c (tryagain): Define.
54776         (cache_addhst): Return tryagain not notfound for temporary errors.
54777         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54778         failed.
54780 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
54782         [BZ #10563]
54783         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54784         to make the syscall.
54785         * sysdeps/unix/sysv/linux/setgroups.c: New file.
54787         [BZ #12378]
54788         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54789         and fall back to matching as normal character if the string ends before
54790         the matching ']' is found.  This is what POSIX requires.
54791         * posix/testfnm.c: Adjust test result.
54792         * posix/globtest.sh: Adjust test result.  Add new test.
54793         * posix/tst-fnmatch.input: Likewise.
54794         * posix/tst-fnmatch2.c: Add new test.
54796 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
54798         * elf/Makefile (check-execstack): Revert last change.  Depend on
54799         check-execstack.h.
54800         (check-execstack.h): New target.
54801         (generated): Add check-execstack.h.
54802         * elf/check-execstack.c: Include "check-execstack.h".
54803         (main): Revert last change.
54804         (handle_file): Return zero if GNU_STACK is absent and
54805         DEFAULT_STACK_PERMS doesn't include PF_X.
54807 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
54809         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54810         in child fails because the descriptor is already closed.
54811         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54812         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54813         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54815         [BZ #12397]
54816         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54817         syscall.
54819         [BZ #10484]
54820         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54821         temporary buffer used to handle multi lookups locally.
54822         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54824 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54826         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54827         loader is ld.so.
54829 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
54831         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54832         alignment for SSE2.
54834 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54836         [BZ #12394]
54837         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54838         characters.  When rounding increased number of integer digits recompute
54839         number of groups.
54840         * stdio-common/tst-grouping.c: New file.
54841         * stdio-common/Makefile: Add rules to build and run tst-grouping.
54843 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
54845         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54846         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
54848         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54849         void.
54850         * bits/select.h: Likewise.
54852 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
54854         * po/ja.po: Update from translation team.
54856 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
54858         [BZ #11155]
54859         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54860         implementation just like for lxstat, fxstatat, et al.
54862 2010-12-27  Jim Meyering  <meyering@redhat.com>
54864         [BZ #12348]
54865         * posix/regexec.c (build_trtable): Return failure indication upon
54866         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
54868 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
54870         [BZ #12201]
54871         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54872         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54873         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54874         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54876         [BZ #12207]
54877         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54879         [BZ #12204]
54880         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54881         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54883 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
54885         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54886         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54887         script has SORT_BY_INIT_PRIORITY.
54888         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54889         NO_CTORS_DTORS_SECTIONS is defined.
54890         * elf/soinit.c: Likewise.
54891         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54892         NO_CTORS_DTORS_SECTIONS is defined.
54893         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54894         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54895         * sysdeps/sh/init-first.c: Likewise.
54896         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54898 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
54900         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54901         always use the slow path.
54903 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
54905         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54906         similar rule which adds the sysdep directories to the header search in
54907         order to pick up the correct platform stackinfo.h.
54908         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54909         perform test if it is, otherwise return successfully without testing.
54910         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54911         DEFAULT_STACK_PERMS define in stackinfo.h.
54912         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54913         defined in stackinfo.h.
54914         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54915         DEFAULT_STACK_PERMS defined in stackinfo.h.
54916         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54917         * sysdeps/ia64/stackinfo.h: Likewise.
54918         * sysdeps/s390/stackinfo.h: Likewise.
54919         * sysdeps/sh/stackinfo.h: Likewise.
54920         * sysdeps/sparc/stackinfo.h: Likewise.
54921         * sysdeps/x86_64/stackinfo.h: Likewise.
54922         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54923         PF_X for powerpc64.  Retain PF_X for powerpc32.
54925 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
54927         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54928         accurately.
54929         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54930         GETDENTS_64BIT_ALIGNED.
54932 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
54934         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54936 2010-12-10  Andreas Schwab  <schwab@redhat.com>
54938         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54939         _GNU_SOURCE.
54941         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54942         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54943         Remove __restrict.
54944         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54945         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54947 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
54949         [BZ #11655]
54950         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54951         are initialized.
54953 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
54955         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54957 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
54959         * po/it.po: Update from translation team.
54961 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
54963         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54964         unused codes.
54966 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
54968         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54970 2010-11-24  Andreas Schwab  <schwab@redhat.com>
54972         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54973         specially.
54974         (gaih_getanswer_slice): Likewise.
54976 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
54978         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54980 2010-05-31  Petr Baudis  <pasky@suse.cz>
54982         [BZ #11149]
54983         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54984         silently even in the chroot mode.
54986 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
54988         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54989         last patch a bit.  Pretty printing
54991 2010-05-31  Petr Baudis <pasky@suse.cz>
54993         [BZ #10085]
54994         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54995         initialization of skip_initgroups_dyn.
54997 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
54999         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55000         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55002 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
55004         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55006 2010-11-11  Andreas Schwab  <schwab@redhat.com>
55008         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55009         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55010         (tst-fnmatch-ENV): Set MALLOC_TRACE.
55011         ($(objpfx)tst-fnmatch-mem): New rule.
55012         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55013         * posix/tst-fnmatch.c (main): Call mtrace.
55015 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
55017         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55018         Support Intel processor model 6 and model 0x2c.
55020 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
55022         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55023           signed comparison.
55025 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
55027         [BZ #12205]
55028         * string/test-strncasecmp.c (check_result): New function.
55029         (do_one_test): Use it.
55030         (check1): New function.
55031         (test_main): Use it.
55032         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55033         Support strcasecmp and strncasecmp.
55035 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
55037         [BZ #12194]
55038         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55039         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55041 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55043         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55044         IFUNC support.
55045         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55046         memset-x86-64.
55047         * sysdeps/x86_64/multiarch/bzero.S: New file.
55048         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55049         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55050         * sysdeps/x86_64/multiarch/memset.S: New file.
55051         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55052         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55053         Set bit_Prefer_SSE_for_memop for Intel processors.
55054         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55055         Define.
55056         (index_Prefer_SSE_for_memop): Define.
55057         (HAS_PREFER_SSE_FOR_MEMOP): Define.
55059 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
55061         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55062         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55064 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
55066         [BZ #12191]
55067         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55068         (__x86_64_raw_data_cache_size_half): Likewise.
55069         (__x86_64_raw_shared_cache_size): Likewise.
55070         (__x86_64_raw_shared_cache_size_half): Likewise.
55072         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55073         (__x86_64_raw_data_cache_size_half): Likewise.
55074         (__x86_64_raw_shared_cache_size): Likewise.
55075         (__x86_64_raw_shared_cache_size_half): Likewise.
55076         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55077         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55078         and __x86_64_raw_shared_cache_size_half.  Round
55079         __x86_64_data_cache_size_half, __x86_64_data_cache_size
55080         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55081         to multiple of 256 bytes.
55083 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
55085         [BZ #12167]
55086         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55087         of inacessible symlinks.  Verify result of symlink before returning it.
55088         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55089         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55091 2010-10-28  Erich Ritz  <erichritz@gmail.com>
55093         * math/math.h (isinf): Fix typo in comment.
55095 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
55097         * po/da.po: Update from translation team.
55099 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
55101         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55102         is added to the list.
55104 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55105             Ulrich Drepper  <drepper@gmail.com>
55107         * elf/dl-object.c (_dl_new_object): Don't append the new object to
55108         the global list here.  Move code to...
55109         (_dl_add_to_namespace_list): ...here.  New function.
55110         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55111         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55112         * elf/dl-load.c (lose): Don't remove the element from the list.
55113         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55114         (_dl_map_object): Likewise.
55116 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
55118         [BZ #12159]
55119         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55120         into all bytes of SSE register.
55121         Patch by Richard Li <richardpku@gmail.com>.
55123 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
55125         [BZ #12140]
55126         * malloc/malloc.c (_int_free): Fill correct number of bytes when
55127         perturbing.
55129 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
55131         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55132         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55133         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55134         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55136         submachine.
55137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55139 2010-10-22  Andreas Schwab  <schwab@redhat.com>
55141         * include/dlfcn.h (__RTLD_SECURE): Define.
55142         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
55143         mode & __RTLD_SECURE instead.
55144         (open_path): Rename preloaded parameter to secure.
55145         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55146         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55147         * elf/dl-deps.c (openaux): Likewise.
55148         * elf/rtld.c (struct map_args): Remove is_preloaded.
55149         (map_doit): Don't use it.
55150         (dl_main): Likewise.
55151         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55152         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55154 2010-09-09  Andreas Schwab  <schwab@redhat.com>
55156         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55157         (sysd-rules-targets): Remove duplicates.
55158         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55159         rtld-%.$o dependency.
55161 2010-10-18  Andreas Schwab  <schwab@redhat.com>
55163         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55164         _dl_map_object do it.
55166 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
55168         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55169         fast fma builtins, define the macros in the C99 standard.
55170         (FP_FAST_FMAF): Likewise.
55171         (FP_FAST_FMAL): Likewise.
55172         * sysdeps/x86_64/bits/mathdef.h: Likewise.
55174         * bits/mathdef.h: Update copyright year.
55175         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55177 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
55179         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55180         builtins, define the macros in the C99 standard.
55181         (FP_FAST_FMAF): Likewise.
55182         (FP_FAST_FMAL): Likewise.
55183         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55184         multiply/add.
55185         (FP_FAST_FMAF): Likewise.
55187 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
55189         [BZ #3268]
55190         * math/libm-test.inc (fma_test): Some new testcases.
55191         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55192         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55193         y and infinite z.  Do multiplication by C already in long double.
55194         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55195         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55196         y and infinite z.  Do bitwise or of inexact bit into u.d.
55197         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55198         * sysdeps/i386/fpu/s_fmaf.S: Removed.
55199         * sysdeps/i386/fpu/s_fma.S: Removed.
55200         * sysdeps/i386/fpu/s_fmal.S: Removed.
55202 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
55204         [BZ #3268]
55205         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55206         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55207         computation is not scheduled after fetestexcept.  Fix value
55208         of minimum denormal long double.
55210 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
55212         [BZ #3268]
55213         * math/libm-test.inc (fma_test): Add some more tests.
55214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55215         correctly.
55217 2010-10-15  Andreas Schwab  <schwab@redhat.com>
55219         * scripts/data/localplt-s390-linux-gnu.data: New file.
55220         * scripts/data/localplt-s390x-linux-gnu.data: New file.
55222 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
55224         [BZ #3268]
55225         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55226         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55227         instead of dbl-64.
55228         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55229         inlines.
55230         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55231         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55232         if one of x and y is very large and the other is subnormal.
55233         * sysdeps/s390/fpu/s_fmaf.c: New file.
55234         * sysdeps/s390/fpu/s_fma.c: New file.
55235         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55236         * sysdeps/powerpc/fpu/s_fma.S: New file.
55237         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55238         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55239         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55241 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
55243         [BZ #3268]
55244         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55245         fma tests.
55246         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55247         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55248         * sysdeps/i386/i686/multiarch/s_fma.c: Include
55249         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55250         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55251         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55252         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55254 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
55256         [BZ #12078]
55257         * posix/regcomp.c (parse_branch): One more memory leak plugged.
55258         * posix/bug-regex31.input: Add test case.
55260 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55262         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55263         * posix/bug-regex31.input: New file.
55265         [BZ #12078]
55266         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55267         (parse_sub_exp): Fix last change, use postorder.
55269         * posix/bug-regex31.c: New file.
55270         * posix/Makefile: Add rules to build and run bug-regex31.
55272         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55274         [BZ #12078]
55275         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55277         [BZ #12108]
55278         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55279         to have entries in sys_siglist.
55281         [BZ #12093]
55282         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55283         be NULL.
55285 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
55287         [BZ #3268]
55288         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55289         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55290         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55291         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55292         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55293         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55294         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55295         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55296         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55297         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55298         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55299         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55300         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55301         * math/ftestexcept.c (fetestexcept): Likewise.
55302         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55303         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55304         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55305         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55306         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55307         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55308         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55310 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55312         [BZ #12107]
55313         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55314         newline.
55316 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
55318         * string/bug-strstr1.c: New file.
55319         * string/Makefile: Add rules to build and run bug-strstr1.
55321 2010-10-05  Eric Blake  <eblake@redhat.com>
55323         [BZ #12092]
55324         * string/str-two-way.h (two_way_long_needle): Always clear memory
55325         when skipping input due to the shift table.
55327 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
55329         [BZ #12005]
55330         * malloc/mcheck.c: Handle large requests.
55332         [BZ #12077]
55333         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55334         for strncmp and strncasecmp.
55335         * string/stratcliff.c: Add tests for strcmp and strncmp.
55336         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55338 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55340         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55341         __set_fpscr.
55343 2010-09-30  Andreas Jaeger  <aj@suse.de>
55345         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55346         (CGROUP_SUPER_MAGIC): Define.
55347         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55348         Handle btrfs and cgroup file systems.
55349         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55350         Likewise.
55352 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
55354         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55355         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55357 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55359         [BZ #12067]
55360         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55361         trying to locate the ELF header.
55363 2010-09-27  Andreas Schwab  <schwab@redhat.com>
55365         [BZ #11611]
55366         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55367         Mask out sign-bit copies when constructing f_fsid.
55369 2010-09-24  Petr Baudis <pasky@suse.cz>
55371         * debug/stack_chk_fail_local.c: Add missing licence exception.
55372         * debug/warning-nop.c: Likewise.
55374 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
55376         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55377         implementing getdents64 using getdents syscall, set d_type if
55378         __ASSUME_GETDENTS32_D_TYPE.
55380 2010-09-16  Andreas Schwab  <schwab@redhat.com>
55382         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55383         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55385 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
55387         [BZ #12037]
55388         * posix/unistd.h: Undo change of feature selection for ftruncate from
55389         2010-01-11.
55391 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
55393         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55394         detection.
55396 2010-09-20  Andreas Schwab  <schwab@redhat.com>
55398         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55399         fanotify_mark.
55400         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55402 2010-09-14  Andreas Schwab  <schwab@redhat.com>
55404         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55405         variables after CHECK_SP call.
55406         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55408 2010-09-13  Andreas Schwab  <schwab@redhat.com>
55409             Ulrich Drepper  <drepper@redhat.com>
55411         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55412         re-relocationg ld.so.
55413         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55414         _dl_init_paths call.
55415         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
55416         here anymore.
55418 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
55420         * resolv/res_init.c (__res_vinit): Count the default server we added.
55422 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
55423             Ulrich Drepper  <drepper@redhat.com>
55425         [BZ #11968]
55426         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55427         (____longjmp_chk): Use %ebx for saving value across system call.
55428         Add unwind info.
55430 2010-09-06  Andreas Schwab  <schwab@redhat.com>
55432         * manual/Makefile: Don't mix pattern rules with normal rules.
55434 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55436         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55437         operation.
55438         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55439         * libio/iofopncook.c (_IO_cookie_init): Likewise.
55440         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55441         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55442         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55443         Likewise.
55445 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
55447         [BZ #11979]
55448         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55449         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55451 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
55453         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55454         * sysdeps/x86_64/addmul_1.S: Likewise.
55455         * sysdeps/x86_64/lshift.S: Likewise.
55456         * sysdeps/x86_64/mul_1.S: Likewise.
55457         * sysdeps/x86_64/rshift.S: Likewise.
55458         * sysdeps/x86_64/sub_n.S: Likewise.
55459         * sysdeps/x86_64/submul_1.S: Likewise.
55461 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55463         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55464         Define __sched_param instead of SCHED_* and sched_param when
55465         <bits/sched.h> is included with __need_schedparam defined.
55466         * bits/sched.h [__need_schedparam]
55467         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55468         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55469         (__defined_schedparam): Define to 1.
55470         (__sched_param): New structure, identical to sched_param.
55471         (__need_schedparam): Undefine.
55473 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
55475         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55476         (epoll_create1): Declare.
55478         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55480 2010-08-31  Andreas Schwab  <schwab@redhat.com>
55482         [BZ #7066]
55483         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55484         shifting retval into place.
55486 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
55488         * nis/rpcsvc/nis.h: Update copyright notice.
55489         * nis/rpcsvc/nis.x: Likewise.
55490         * nis/rpcsvc/nis_callback.h: Likewise.
55491         * nis/rpcsvc/nis_callback.x: Likewise.
55492         * nis/rpcsvc/nis_object.x: Likewise.
55493         * nis/rpcsvc/nis_tags.h: Likewise.
55494         * nis/rpcsvc/yp.h: Likewise.
55495         * nis/rpcsvc/yp.x: Likewise.
55496         * nis/rpcsvc/ypupd.h: Likewise.
55497         * nis/yp_xdr.c: Likewise.
55498         * nis/ypupdate_xdr.c: Likewise.
55500         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
55501         mainly the body of pmap_getport.  Add parameters to specify timeouts.
55502         (pmap_getport): Use __libc_rpc_getport.
55503         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55504         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55505         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55507 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
55509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55510         fanotify_mark.
55512 2010-08-27  Roland McGrath  <roland@redhat.com>
55514         * sysdeps/i386/i686/multiarch/Makefile
55515         (CFLAGS-varshift.c): New variable.
55517 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
55519         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55520         * sysdeps/i386/i686/multiarch/varshift.c: New file.
55522         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55524         * sysdeps/x86_64/strlen.S: Minimal code improvement.
55526 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
55528         * sysdeps/x86_64/strlen.S: Unroll the loop.
55529         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55530         strlen-sse2 strlen-sse2-bsf.
55531         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55532         __strlen_no_bsf if bit_Slow_BSF is set.
55533         (__strlen_sse42): Removed.
55534         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55535         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55537 2010-08-25  Roland McGrath  <roland@redhat.com>
55539         * sysdeps/x86_64/multiarch/varshift.S: File removed.
55540         * sysdeps/x86_64/multiarch/varshift.c: New file.
55541         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55542         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55543         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55544         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55546 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
55548         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55549         strlen-sse2 strlen-sse2-bsf.
55550         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55551         __strlen_sse2_bsf if bit_Slow_BSF is unset.
55552         (__strlen_sse2): Removed.
55553         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55554         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55555         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55556         bit_Slow_BSF for Atom.
55557         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55558         (index_Slow_BSF): Define.
55559         (HAS_SLOW_BSF): Define.
55561 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
55563         [BZ #10851]
55564         * resolv/res_init.c (__res_vinit): When no server address at all
55565         is given default to loopback.
55567 2010-08-24  Roland McGrath  <roland@redhat.com>
55569         * configure.in: Remove config-name.h generation.
55570         * configure: Regenerated.
55571         * config-name.in: File removed.
55572         * scripts/config-uname.sh: New file.
55573         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55574         ($(objdir)config-name.h): New target.
55576         * sunrpc/rpc_parse.h: Avoid nested comment.
55578 2010-08-24  Richard Henderson  <rth@redhat.com>
55579             Ulrich Drepper  <drepper@redhat.com>
55580             H.J. Lu  <hongjiu.lu@intel.com>
55582         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55583         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55584         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55585         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
55586         _mm_alignr_epi8 with _mm_loadu_si128.
55587         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55588         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55589         (__m128i_shift_right): Removed.
55590         * sysdeps/i386/i686/multiarch/varshift.h: New file.
55591         * sysdeps/i386/i686/multiarch/varshift.S: New file.
55592         * sysdeps/x86_64/multiarch/varshift.h: New file.
55593         * sysdeps/x86_64/multiarch/varshift.S: New file.
55595 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
55597         * configure.in: Move assembler checks to before sysdep dir checking.
55599 2010-08-20  Petr Baudis  <pasky@suse.cz>
55601         * LICENSES: Sync the sunrpc license.
55603 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
55605         * sunrpc/auth_des.c: Update copyright notice once again.
55606         * sunrpc/auth_none.c: Likewise.
55607         * sunrpc/auth_unix.c: Likewise.
55608         * sunrpc/authdes_prot.c: Likewise.
55609         * sunrpc/authuxprot.c: Likewise.
55610         * sunrpc/bindrsvprt.c: Likewise.
55611         * sunrpc/clnt_gen.c: Likewise.
55612         * sunrpc/clnt_perr.c: Likewise.
55613         * sunrpc/clnt_raw.c: Likewise.
55614         * sunrpc/clnt_simp.c: Likewise.
55615         * sunrpc/clnt_tcp.c: Likewise.
55616         * sunrpc/clnt_udp.c: Likewise.
55617         * sunrpc/clnt_unix.c: Likewise.
55618         * sunrpc/des_crypt.c: Likewise.
55619         * sunrpc/des_soft.c: Likewise.
55620         * sunrpc/get_myaddr.c: Likewise.
55621         * sunrpc/getrpcport.c: Likewise.
55622         * sunrpc/key_call.c: Likewise.
55623         * sunrpc/key_prot.c: Likewise.
55624         * sunrpc/openchild.c: Likewise.
55625         * sunrpc/pm_getmaps.c: Likewise.
55626         * sunrpc/pm_getport.c: Likewise.
55627         * sunrpc/pmap_clnt.c: Likewise.
55628         * sunrpc/pmap_prot.c: Likewise.
55629         * sunrpc/pmap_prot2.c: Likewise.
55630         * sunrpc/pmap_rmt.c: Likewise.
55631         * sunrpc/rpc/auth.h: Likewise.
55632         * sunrpc/rpc/auth_unix.h: Likewise.
55633         * sunrpc/rpc/clnt.h: Likewise.
55634         * sunrpc/rpc/des_crypt.h: Likewise.
55635         * sunrpc/rpc/key_prot.h: Likewise.
55636         * sunrpc/rpc/netdb.h: Likewise.
55637         * sunrpc/rpc/pmap_clnt.h: Likewise.
55638         * sunrpc/rpc/pmap_prot.h: Likewise.
55639         * sunrpc/rpc/pmap_rmt.h: Likewise.
55640         * sunrpc/rpc/rpc.h: Likewise.
55641         * sunrpc/rpc/rpc_des.h: Likewise.
55642         * sunrpc/rpc/rpc_msg.h: Likewise.
55643         * sunrpc/rpc/svc.h: Likewise.
55644         * sunrpc/rpc/svc_auth.h: Likewise.
55645         * sunrpc/rpc/types.h: Likewise.
55646         * sunrpc/rpc/xdr.h: Likewise.
55647         * sunrpc/rpc_clntout.c: Likewise.
55648         * sunrpc/rpc_cmsg.c: Likewise.
55649         * sunrpc/rpc_common.c: Likewise.
55650         * sunrpc/rpc_cout.c: Likewise.
55651         * sunrpc/rpc_dtable.c: Likewise.
55652         * sunrpc/rpc_hout.c: Likewise.
55653         * sunrpc/rpc_main.c: Likewise.
55654         * sunrpc/rpc_parse.c: Likewise.
55655         * sunrpc/rpc_parse.h: Likewise.
55656         * sunrpc/rpc_prot.c: Likewise.
55657         * sunrpc/rpc_sample.c: Likewise.
55658         * sunrpc/rpc_scan.c: Likewise.
55659         * sunrpc/rpc_scan.h: Likewise.
55660         * sunrpc/rpc_svcout.c: Likewise.
55661         * sunrpc/rpc_tblout.c: Likewise.
55662         * sunrpc/rpc_util.c: Likewise.
55663         * sunrpc/rpc_util.h: Likewise.
55664         * sunrpc/rpcinfo.c: Likewise.
55665         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55666         * sunrpc/rpcsvc/key_prot.x: Likewise.
55667         * sunrpc/rpcsvc/klm_prot.x: Likewise.
55668         * sunrpc/rpcsvc/mount.x: Likewise.
55669         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55670         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55671         * sunrpc/rpcsvc/rex.x: Likewise.
55672         * sunrpc/rpcsvc/rstat.x: Likewise.
55673         * sunrpc/rpcsvc/rusers.x: Likewise.
55674         * sunrpc/rpcsvc/sm_inter.x: Likewise.
55675         * sunrpc/rpcsvc/spray.x: Likewise.
55676         * sunrpc/rpcsvc/yppasswd.x: Likewise.
55677         * sunrpc/rtime.c: Likewise.
55678         * sunrpc/svc.c: Likewise.
55679         * sunrpc/svc_auth.c: Likewise.
55680         * sunrpc/svc_authux.c: Likewise.
55681         * sunrpc/svc_raw.c: Likewise.
55682         * sunrpc/svc_run.c: Likewise.
55683         * sunrpc/svc_simple.c: Likewise.
55684         * sunrpc/svc_tcp.c: Likewise.
55685         * sunrpc/svc_udp.c: Likewise.
55686         * sunrpc/svc_unix.c: Likewise.
55687         * sunrpc/svcauth_des.c: Likewise.
55688         * sunrpc/xcrypt.c: Likewise.
55689         * sunrpc/xdr.c: Likewise.
55690         * sunrpc/xdr_array.c: Likewise.
55691         * sunrpc/xdr_float.c: Likewise.
55692         * sunrpc/xdr_mem.c: Likewise.
55693         * sunrpc/xdr_rec.c: Likewise.
55694         * sunrpc/xdr_ref.c: Likewise.
55695         * sunrpc/xdr_sizeof.c: Likewise.
55696         * sunrpc/xdr_stdio.c: Likewise.
55698         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55699         handling.
55701 2010-08-19  Andreas Schwab  <schwab@redhat.com>
55703         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55705 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
55707         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55708         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55709         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55710         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55711         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55712         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55713         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55714         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55715         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55716         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55717         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55718         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55719         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55720         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55722 2010-07-26  Anton Blanchard  <anton@samba.org>
55724         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55725         * malloc/arena.c (heap_trim): Likewise.
55727 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
55729         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55730         here.  Not...
55731         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55732         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55734 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
55736         * sysdeps/i386/elf/Makefile: New file.
55738 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55740         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55741         from fanotify_init.
55742         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55743         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55745 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
55747         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55748         of strncasecmp_l.
55749         * sysdeps/multiarch/strcmp.S: Likewise.
55751 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
55753         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55754         strncase_l-nonascii.
55755         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55756         Add strncase_l-ssse3.
55757         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55758         * sysdeps/x86_64/strcmp.S: Likewise.
55759         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55760         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55761         * sysdeps/x86_64/strncase.S: New file.
55762         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55763         * sysdeps/x86_64/strncase_l.S: New file.
55764         * string/Makefile (strop-tests): Add strncasecmp.
55765         * string/test-strncasecmp.c: New file.
55767         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55768         warning.
55770         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55771         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55773 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55775         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55777 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
55779         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55780         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55781         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55783 2010-05-01  Alan Modra  <amodra@gmail.com>
55785         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55786         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55787         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55788         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55789         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55790         tidying.  Don't tail-call __sigjmp_save for static lib.
55791         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55792         save location.
55793         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55794         (CALL_MCOUNT): Add eh info, and nop after bl.
55795         (TAIL_CALL_SYSCALL_ERROR): New macro.
55796         (PSEUDO_RET): Use it.
55797         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55798         Correct save location of integer regs and cr.
55799         (_dl_profile_resolve): Correct cr save location.  Delete nops
55800         after bl when SHARED.  Reduce cfi size a little by better
55801         placement of cfi directives.
55802         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55803         make a stack frame.  Instead use parm save area as a temp.
55804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55805         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
55806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55807         Don't make a stack frame for parent, use parm save area.
55808         Increase child stack frame to 112 bytes.  Don't save unused reg,
55809         and adjust reg usage.  Set up cfi on error recovery and
55810         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55812         (__makecontext): Add dummy nop after jump to exit.
55813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55814         Use correct parm save area and cr save, reduce stack frame.
55815         Correct cfi for possible PSEUDO_RET frame setup.
55816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55817         Branch to local label emitted by PSEUDO_RET rather than
55818         __syscall_error.
55820 2010-08-12  Andreas Schwab  <schwab@redhat.com>
55822         [BZ #11904]
55823         * locale/programs/locale.c (print_assignment): New function.
55824         (show_locale_vars): Use it.
55826 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
55828         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55829         field.
55830         (struct statfs64): Likewise.
55831         (_STATFS_F_FLAGS): Define.
55832         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55833         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55834         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55835         (ST_VALID): Define locally.
55836         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55837         __statvfs_getflags, use the provided value.
55838         * sysdeps/unix/sysv/linux/kernel-features.h: Define
55839         __ASSUME_STATFS_F_FLAGS.
55841         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55843         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55844         Add sys/fanotify.h.
55845         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55846         fanotify_mask for GLIBC_2.13.
55847         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55848         fanotify_init and fanotify_mark.
55849         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55850         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55852         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55853         Add prlimit.
55854         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55855         prlimit64 for GLIBC_2.13.
55856         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55857         prlimit64.
55858         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55859         syscall.
55860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55861         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55862         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55863         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55864         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
55865         add prlimit alias.
55866         * sysdeps/unix/sysv/linux/prlimit.c: New file.
55868         [BZ #11903]
55869         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55870         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55872         * nss/Makefile: Add rules to build and run tst-nss-test1.
55873         * shlib-versions: Add entry for libnss_test1.
55874         * nss/nss_test1.c: New file.
55875         * nss/tst-nss-test1.c: New file.
55877         * nss/nsswitch.c (__nss_database_custom): Define new variable.
55878         (__nss_configure_lookup): Set appropriate entry in
55879         __nss_configure_lookup to true.
55880         * nss/nsswitch.h: Define enum with indeces of databases in
55881         databases and __nss_database_custom arrays.  Declare
55882         __nss_database_custom.
55883         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55884         to avoid using nscd when custom rules are installed.
55885         * nss/getXXbyYY_r.c: Likewise.
55886         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55888         * nss/nss_files/files-parse.c: Whitespace fixes.
55890 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
55892         [BZ #11883]
55893         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55894         * posix/fnmatch_loop.c: Likewise.
55896 2010-07-17  Andi Kleen  <ak@linux.intel.com>
55898         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55899         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55900         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55901         * Versions.def [GLIBC_2.13]: Add.
55903 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
55905         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55906         Also fail if tpwd after pwuid call is NULL.
55908 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55910         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55911         when converting to ms.
55913 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55915         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55916         EOPNOTSUPP errors with ENOTTY.
55917         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55918         EOPNOTSUPP errors with ENOTTY.
55920 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
55922         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55923         Add strcasecmp_l-ssse3.
55924         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55925         strcasecmp.
55926         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55927         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55928         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55930 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
55932         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55934         * string/Makefile (strop-tests): Add strcasecmp.
55935         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55936         strcasecmp_l-nonascii.
55937         (gen-as-const-headers): Add locale-defines.sym.
55938         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55939         * sysdeps/x86_64/strcasecmp.S: New file.
55940         * sysdeps/x86_64/strcasecmp_l.S: New file.
55941         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55942         * sysdeps/x86_64/locale-defines.sym: New file.
55943         * string/test-strcasecmp.c: New file.
55945         * string/test-strcasestr.c: Test both ends of the range of characters.
55946         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55948 2010-07-29  Roland McGrath  <roland@redhat.com>
55950         [BZ #11856]
55951         * manual/locale.texi (Yes-or-No Questions): Fix example code.
55953 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
55955         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55956         for ld.so.
55958 2010-07-27  Andreas Schwab  <schwab@redhat.com>
55960         * manual/memory.texi (Malloc Tunable Parameters): Document
55961         M_PERTURB.
55963 2010-07-26  Roland McGrath  <roland@redhat.com>
55965         [BZ #11840]
55966         * configure.in (-fgnu89-inline check): Set and substitute
55967         gnu89_inline, not libc_cv_gnu89_inline.
55968         * configure: Regenerated.
55969         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55971 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
55973         * string/test-strnlen.c: New file.
55974         * string/Makefile (strop-tests): Add strnlen.
55975         * string/tester.c (test_strnlen): Add a few more test cases.
55976         * string/tst-strlen.c: Better error reporting.
55978         * sysdeps/x86_64/strnlen.S: New file.
55980 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
55982         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55983         lower-latency instructions.
55985 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
55987         * string/test-strcasestr.c: New file.
55988         * string/test-strstr.c: New file.
55989         * string/Makefile (strop-tests): Add strstr and strcasestr.
55990         * string/str-two-way.h: Don't undefine MAX.
55991         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55993 2010-07-21  Andreas Schwab  <schwab@redhat.com>
55995         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55996         strcasestr-nonascii.
55997         (CFLAGS-strcasestr-nonascii.c): Define.
55998         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55999         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56000         Remove unused attribute.
56002 2010-07-20  Roland McGrath  <roland@redhat.com>
56004         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56005         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
56006         ld.so.cache was broken.  With it, there is no way to disable dsocaps
56007         like LD_HWCAP_MASK can disable hwcaps.
56009 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56011         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56013 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
56015         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56016         call in strcasestr.
56017         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56018         __strcasestr_sse42_nonascii.
56019         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56020         strcasestr-nonascii.c.
56021         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56023 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
56025         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56026         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56027         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56028         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56030 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
56032         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56033         fcntl.
56035 2010-07-06  Andreas Schwab  <schwab@redhat.com>
56037         [BZ #11577]
56038         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56039         dl_signal_cerror.
56041 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
56043         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56044         _PC_PIPE_BUF using F_GETPIPE_SZ.
56046 2010-07-05  Roland McGrath  <roland@redhat.com>
56048         * manual/arith.texi (Rounding Functions): Fix rint description
56049         implicit in round description.
56051 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
56053         * elf/Makefile: Fix linking for a few tests to make recent linker
56054         happy.
56056 2010-06-30  Andreas Schwab  <schwab@redhat.com>
56058         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56059         $(common-objpfx)libc_nonshared.a.
56061 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
56063         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56064         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56065         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56066         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56067         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56068         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56069         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56070         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56085         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56086         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56087         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56088         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56089         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56090         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56091         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56092         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56093         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56094         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56095         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56096         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56112 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
56114         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56115         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
56116         * string/memmove.c (memmove): Renamed to ...
56117         (MEMMOVE): ...this.  Default to memmove.
56118         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56119         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56120         (END_CHK): Define.
56121         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56122         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56123         mempcpy-ssse3-back memmove-ssse3-back.
56124         * sysdeps/x86_64/multiarch/bcopy.S: New file .
56125         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56126         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56127         * sysdeps/x86_64/multiarch/memcpy.S: New file.
56128         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56129         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56130         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56131         * sysdeps/x86_64/multiarch/memmove.c: New file.
56132         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56133         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56134         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56135         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56136         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56137         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56138         Define.
56139         (index_Fast_Copy_Backward): Define.
56140         (HAS_ARCH_FEATURE): Define.
56141         (HAS_FAST_REP_STRING): Define.
56142         (HAS_FAST_COPY_BACKWARD): Define.
56144 2010-06-21  Andreas Schwab  <schwab@redhat.com>
56146         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56147         Restore proper fallback handling.
56149 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
56151         [BZ #11701]
56152         * posix/group_member.c (__group_member): Correct checking loop.
56154         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56155         OOM in getpwuid_r correctly.  Return error number when the caller
56156         should return, otherwise -1.
56157         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56158         call returning > 0 value.
56159         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56161 2010-06-07  Andreas Schwab  <schwab@redhat.com>
56163         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56164         libc_nonshared.a from targets in modules-names.
56166 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
56168         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56169         requires it.
56171 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
56173         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56174         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56175         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56176         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56178 2010-06-02  Andreas Schwab  <schwab@redhat.com>
56180         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56182 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
56184         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56185         and F_GETPIPE_SZ.
56186         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56187         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56188         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56189         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56190         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56191         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56193 2010-06-14  Roland McGrath  <roland@redhat.com>
56195         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56197 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
56199         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56200         __REDIRECT followed by __THROW.
56201         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56202         * posix/getopt.h (getopt): Likewise.
56204 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56206         * hurd/lookup-at.c (__file_name_lookup_at): Accept
56207         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
56208         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56209         in AT_FLAGS.
56210         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56211         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56213 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
56215         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56217 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
56219         [BZ #11640]
56220         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56221         Properly check family and model.
56223 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
56225         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56227 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
56229         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56231 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
56233         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56234         symbol reference.
56236 2010-05-19  Andreas Schwab  <schwab@redhat.com>
56238         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56239         symbol reference.
56241 2010-05-21  Andreas Schwab  <schwab@redhat.com>
56243         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56244         and internal_recvmmsg.
56245         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56246         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56247         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56248         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56250         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56251         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56252         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56254 2010-05-20  Andreas Schwab  <schwab@redhat.com>
56256         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56258 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
56260         POWER7 optimizations.
56261         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56262         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56264 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
56266         * version.h: Update for 2.13 development version.
56268 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
56270         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56271         exceptions.  Return 0.
56273 2010-05-07  Roland McGrath  <roland@redhat.com>
56275         * elf/ldconfig.c (main): Add a const.
56277 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
56279         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56280         (args_options): Add no-idn option.
56281         (ahosts_keys_int): Add idn_flags to ai_flags.
56282         (parse_option): Handle 'i' option to clear idn_flags.
56284         * malloc/malloc.c (_int_free): Possible race in the most recently
56285         added check.  Only act on the data if no current modification
56286         happened.
56288 See ChangeLog.17 for earlier changes.