Fix two bugs in sparc atomics.
[platform/upstream/glibc.git] / ChangeLog
1 2015-01-31  David S. Miller  <davem@davemloft.net>
2
3         * sysdeps/sparc/sparc32/bits/atomic.h
4         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5         unlock not after it.
6         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7         volatile register usage warnings from the compiler.
8
9         * sysdeps/sparc/nptl/sem_init.c: Delete.
10         * sysdeps/sparc/nptl/sem_post.c: Delete.
11         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
12         * sysdeps/sparc/nptl/sem_wait.c: Delete.
13         * sysdeps/sparc/sparc32/sem_init.c: New file.
14         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
15         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
16         padding explicitly initialized.
17         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
18         padding for in-semaphore spinlock.
19         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
20         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
22         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
25         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
26         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
27         version.
28         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
30
31 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
32
33         [BZ #17801]
34         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
36         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
37         New.
38         (index_AVX_Fast_Unaligned_Load): Likewise.
39         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
41         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
42         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
43         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
44         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
45         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
46         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
47         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
48
49 2015-01-29  Andreas Schwab  <schwab@suse.de>
50
51         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
52
53 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
54
55         [BZ #17892]
56         * nscd/nscd_stat.c (send_stats): Initialize DATA.
57
58 2015-01-28  Martin Sebor  <msebor@redhat.com>
59
60         * math/README.libm-test: Clarify. Add "How to read the test output."
61
62 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
63
64         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
65         Define to 0.
66
67 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
68
69         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
70         (__HAVE_64B_ATOMICS): Define to 0.
71
72 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
73
74         [BZ #17885]
75         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
76         value to set as new flag.
77
78         [BZ #16576]
79         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
80         and use _ARCH_PPCSQ instead.
81         (__ieee754_sqrt): Likewise.
82         (__ieee754_sqrtf): Likewise.
83         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
84         _ARCH_PPCSQ is defined.
85         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
86         fsqrt instruction.
87         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
88         _ARCH_PPCSQ is defined.
89         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
90         fsqrts instruction.
91         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
92
93 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94
95         * iconv/loop.c: Suppress array out of bound warning caused by GCC
96         bug (GCC BZ #64739).
97
98 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
99
100         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
101         Mark _retval as used.
102         (lll_futex_wake_unlock): Likewise.
103         (lll_futex_timed_wait_requeue_pi): Likewise.
104
105         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
106         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
107         register variables.
108
109         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
110         libm_hidden_def.
111
112         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
113         (__bswap_64): Mark as __always_inline.
114
115 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
116
117         [BZ #15378]
118         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
119         when none of the search directories exist.
120
121 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
122
123         [BZ #17869]
124         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
125         power8 in .machine directive.
126
127         [BZ #17868]
128         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
129         set dependency from opd value.
130
131 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
132
133         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
134         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
135         architecture.
136
137 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
138
139         [BZ #17870]
140         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
141         with uint64_t.
142         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
143         (uint64_t) 1.
144         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
145         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
146         Replace 1UL with (uint64_t) 1.
147         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
148         int with uint64_t.
149
150 2015-01-23  Roland McGrath  <roland@hack.frob.com>
151
152         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
153         (if_freenameindex): Likewise.
154
155         * resource/getrlimit64.c: Add missing libc_hidden_def.
156
157 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
158
159         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
160         __label__.
161         (_FP_FMA): Likewise.
162         (_FP_TO_INT_ROUND): Likewise.
163         (_FP_FROM_INT): Likewise.
164
165 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
166
167         [BZ #16418]
168         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
169         Make code racy and cancel safe.
170
171 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
172
173         * sysdeps/arm/unwind-resume.h: Fix copyright year.
174         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
175         attribution.
176
177         * pwd/tst-getpw.c: Rewrite.
178
179         [BZ #17702]
180         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
181         (modules-names): Add moddummy1 and moddummy2.
182         ($(objpfx)tst-rec-dlopen): Define.
183         * dlfcn/moddummy1.c: New file.
184         * dlfcn/moddummy2.c: New file.
185         * dlfcn/tst-rec-dlopen.c: New file.
186         * elf/dl-cache.c (_dl_load_cache_lookup):
187         Return char*. Copy result with alloca/strcpy/strdup.
188         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
189         returns char*. Free cached. If not saving realname
190         free cached.
191         * elf/dl-open.c (dl_open_worker): Do not assert that
192         _r_debug->r_state is RT_CONSISTENT.
193         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
194         returns char*.
195
196 2015-01-21  Torvald Riegel  <triegel@redhat.com>
197             Carlos O'Donell  <carlos@redhat.com>
198
199         [BZ #12674]
200         * nptl/sem_waitcommon.c: New file.
201         * nptl/sem_wait.c: Include sem_waitcommon.c.
202         (__sem_wait_cleanup, do_futex_wait): Remove.
203         (__new_sem_wait): Adapt.
204         (__new_sem_trywait): New function.
205         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
206         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
207         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
208         (sem_timedwait): Adapt.
209         * nptl/sem_post.c (__new_sem_post): Adapt.
210         (futex_wake): New function.
211         (__old_sem_post): Add release MO fence.
212         * nptl/sem_open.c (sem_open): Adapt.
213         * nptl/sem_init.c (__new_sem_init): Adapt.
214         (futex_private_if_supported): New function.
215         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
216         (__old_sem_getvalue): Add using previous code.
217         * sysdeps/nptl/internaltypes.h: Adapt.
218         * nptl/tst-sem13.c (do_test): Adapt.
219         * nptl/tst-sem11.c (main): Adapt.
220         * nptl/sem_trywait.c: Remove.
221         * nptl/DESIGN-sem.txt: Remove.
222         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
223         (gen-as-const-headers): Remove structsem.sym.
224         * nptl/structsem.sym: Remove.
225         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
226         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
227         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
228         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
229         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
230         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
231         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
232         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
233         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
234         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
235         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
236         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
237         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
238         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
239         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
240         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
241         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
242         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
243         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
244         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
245         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
246         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
247
248 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
249
250         * INSTALL: Regenerated.
251
252         * po/libc.pot: Regenerated.
253
254 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
255             Sandra Loosemore  <sandra@codesourcery.com>
256             Andrew Jenner  <andrew@codesourcery.com>
257             Joseph Myers  <joseph@codesourcery.com>
258             Nathan Sidwell  <nathan@codesourcery.com>
259
260         * NEWS: Mention new Nios II port.
261         * sysdeps/nios2/Implies: New file.
262         * sysdeps/nios2/Makefile: New file.
263         * sysdeps/nios2/Subdirs: New file.
264         * sysdeps/nios2/Versions: New file.
265         * sysdeps/nios2/__longjmp.S: New file.
266         * sysdeps/nios2/abort-instr.h: New file.
267         * sysdeps/nios2/backtrace.c: New file.
268         * sysdeps/nios2/bits/endian.h: New file.
269         * sysdeps/nios2/bits/fenv.h: New file.
270         * sysdeps/nios2/bits/link.h: New file.
271         * sysdeps/nios2/bits/setjmp.h: New file.
272         * sysdeps/nios2/bsd-_setjmp.S: New file.
273         * sysdeps/nios2/bsd-setjmp.S: New file.
274         * sysdeps/nios2/configure: New generated file.
275         * sysdeps/nios2/configure.ac: New file.
276         * sysdeps/nios2/crti.S: New file.
277         * sysdeps/nios2/crtn.S: New file.
278         * sysdeps/nios2/dl-init.c: New file.
279         * sysdeps/nios2/dl-machine.h: New file.
280         * sysdeps/nios2/dl-sysdep.h: New file.
281         * sysdeps/nios2/dl-tls.h: New file.
282         * sysdeps/nios2/dl-trampoline.S: New file.
283         * sysdeps/nios2/gccframe.h: New file.
284         * sysdeps/nios2/gmp-mparam.h: New file.
285         * sysdeps/nios2/jmpbuf-offsets.h: New file.
286         * sysdeps/nios2/jmpbuf-unwind.h: New file.
287         * sysdeps/nios2/ldsodefs.h: New file.
288         * sysdeps/nios2/libc-tls.c: New file.
289         * sysdeps/nios2/libm-test-ulps: New file.
290         * sysdeps/nios2/machine-gmon.h: New file.
291         * sysdeps/nios2/math-tests.h: New file.
292         * sysdeps/nios2/math_private.h: New file.
293         * sysdeps/nios2/memusage.h: New file.
294         * sysdeps/nios2/nptl/Makefile: New file.
295         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
296         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
297         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
298         * sysdeps/nios2/nptl/pthreaddef.h: New file.
299         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
300         * sysdeps/nios2/nptl/tls.h: New file.
301         * sysdeps/nios2/preconfigure: New file.
302         * sysdeps/nios2/s_fma.c: New file.
303         * sysdeps/nios2/s_fmaf.c: New file.
304         * sysdeps/nios2/setjmp.S: New file.
305         * sysdeps/nios2/sfp-machine.h: New file.
306         * sysdeps/nios2/sotruss-lib.c: New file.
307         * sysdeps/nios2/stackguard-macros.h: New file.
308         * sysdeps/nios2/stackinfo.h: New file.
309         * sysdeps/nios2/start.S: New file.
310         * sysdeps/nios2/sysdep.h: New file.
311         * sysdeps/nios2/tls-macros.h: New file.
312         * sysdeps/nios2/tst-audit.h: New file.
313         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
314         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
315         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
316         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
317         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
318         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
319         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
320         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
321         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
322         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
323         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
324         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
325         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
326         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
327         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
328         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
329         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
330         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
331         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
332         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
333         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
334         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
335         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
336         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
337         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
338         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
339         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
340         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
341         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
342         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
343         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
344         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
345         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
346         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
347         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
348         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
349         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
350         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
351         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
352         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
353         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
354         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
355         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
356         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
357
358 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
359
360         [BZ #17844]
361         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
362         (getutent): Use weak_alias in non SHARED case
363         and default_symbol_version in SHARED case.
364         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
365         (getutent_r, pututline): Likewise.
366         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
367         (getutid): Likewise.
368         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
369         (getutid_r): Likewise.
370         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
371         (getutline): Likewise.
372         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
373         (getutline_r): Likewise.
374         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
375         (updwtmp): Likewise.
376
377 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
378
379         [BZ #17848]
380         * sysdeps/s390/s390-32/memcmp.S
381         (memcmp_g5): Rename to __memcmp_g5.
382         * sysdeps/s390/s390-32/memcpy.S
383         (memcpy_g5): Rename to __memcpy_g5.
384         Jump to __memcpy_mvcle instead of memcpy_mvcle.
385         (memcpy_mvcle) Rename to __memcpy_mvcle.
386         * sysdeps/s390/s390-32/memset.S
387         (memset_g5): Rename to __memset_g5.
388         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
389         (IFUNC_RESOLVE): Prefix ifunc-resolve function
390         and use prefixed functions.
391         * sysdeps/s390/s390-32/multiarch/memcmp.S
392         (memcmp_z196): Rename to __memcmp_z196.
393         (memcmp_z10): Rename to __memcmp_z10.
394         (memcmp): Set alias to __memcmp_g5.
395         (bcmp): Set alias to __memcmp_g5.
396         * sysdeps/s390/s390-32/multiarch/memcpy.S
397         (memcpy_z196): Rename to __memcpy_z196.
398         Jump to __memcpy_mvcle instead of memcpy_mvcle.
399         (memcpy_z10): Rename to __memcpy_z10.
400         Jump to __memcpy_mvcle instead of memcpy_mvcle.
401         (memcpy): Set alias to __memcpy_g5.
402         * sysdeps/s390/s390-32/multiarch/memset.S
403         (memset_z196): Rename to __memset_z196.
404         Jump to __memset_mvcle instead of memset_mvcle.
405         (memset_z10): Rename to __memset_z10.
406         Jump to __memset_mvcle instead of memset_mvcle.
407         (memset_mvcle) Rename to __memset_mvcle.
408         (memset): Set alias to __memset_g5.
409         * sysdeps/s390/s390-64/memcmp.S
410         (memcmp_z900): Rename to __memcmp_z900.
411         * sysdeps/s390/s390-64/memcpy.S
412         (memcpy_z900): Rename to __memcpy_z900.
413         Jump to __memcpy_mvcle instead of memcpy_mvcle.
414         (memcpy_mvcle) Rename to __memcpy_mvcle.
415         * sysdeps/s390/s390-64/memset.S
416         (memset_z900): Rename to __memset_z900.
417         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
418         (IFUNC_RESOLVE): Prefix ifunc-resolve function
419         and use prefixed functions.
420         * sysdeps/s390/s390-64/multiarch/memcmp.S
421         (memcmp_z196): Rename to __memcmp_z196.
422         (memcmp_z10): Rename to __memcmp_z10.
423         (memcmp): Set alias to __memcmp_z900.
424         (bcmp): Set alias to __memcmp_z900.
425         * sysdeps/s390/s390-64/multiarch/memcpy.S
426         (memcpy_z196): Rename to __memcpy_z196.
427         Jump to __memcpy_mvcle instead of memcpy_mvcle.
428         (memcpy_z10): Rename to __memcpy_z10.
429         Jump to __memcpy_mvcle instead of memcpy_mvcle.
430         (memcpy): Set alias to __memcpy_z900.
431         * sysdeps/s390/s390-64/multiarch/memset.S
432         (memset_z196): Rename to __memset_z196.
433         Jump to __memset_mvcle instead of memset_mvcle.
434         (memset_z10): Rename to __memset_z10.
435         Jump to __memset_mvcle instead of memset_mvcle.
436         (memset_mvcle) Rename to __memset_mvcle.
437         (memset): Set alias to __memset_z900.
438
439 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
440
441         [BZ #17748]
442         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
443         __fesetenv instead of fesetenv.
444
445 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
446
447         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
448         macro.
449
450 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
451
452         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
453         regression on LE.
454
455         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
456         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
457         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
458         strncmp-power8 object.
459         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
460         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
461         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
462         * NEWS: Update.
463
464 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
465             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
466
467         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
468         trailing byte check.
469
470 2015-01-13  David S. Miller  <davem@davemloft.net>
471
472         * include/signal.h (__sigreturn): Guard with __USE_MISC.
473
474 2015-01-13  Roland McGrath  <roland@hack.frob.com>
475
476         * login/logout.c (logout): Use memset rather than bzero.
477         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
478         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
479         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
480         (_gethtbyaddr): Likewise.
481         * locale/programs/simple-hash.c (bcopy): Macro removed.
482
483 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
484
485         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
486         Add strcmp-power8 object.
487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
488         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
489         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
490         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
491         __strcmp_power8 implementation.
492         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
493         * NEWS: Update.
494
495         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
496         Add strncpy-power8 and stpncpy-power8 objects.
497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
498         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
499         implementations.
500         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
501         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
502         __stpncpy_power8 implementation.
503         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
504         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
505         __strncpy_power8 implementation.
506         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
507         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
508         * NEWS: Update.
509
510         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
511         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
512         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
513
514         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
515         strncat-power8 object.
516         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
517         __strcat_power8 implementation.
518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
519         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
520         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
521         optimized strcat for power8.
522
523         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
524         strcpy-power8 and stpcpy-power8 objects.
525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
526         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
527         implementations.
528         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
529         multiarch stpcpy implementation for POWER8.
530         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
531         multiarch strcpy implementation for POWER8.
532         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
533         __strcpy_power8 function.
534         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
535         stpcpy for POWER8.
536         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
537         strcpy for POWER8.
538         * NEWS: Update.
539
540 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
541
542         [BZ #16009]
543         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
544         weights and rules. Use do_xfrm_cached if data fits in cache,
545         do_xfrm otherwise.  Moved former main loop to...
546         * (do_xfrm_cached): New function.
547         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
548         find_idx, find_position and stack_push.
549         * (find_idx): New function.
550         * (find_position): Likewise.
551         * localedata/sort-test.sh: Added test run for do_xfrm.
552         * localedata/xfrm-test.c (main): Added command line option
553         -nocache to run the test with strings that are too large for
554         the STRXFRM cache.
555
556 2015-01-13  Torvald Riegel  <triegel@redhat.com>
557
558         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
559         variable to lll_futex_wake call, not the value itself.
560
561 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
562
563         [BZ #17803]
564         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
565         twom64.  Adjust value to 0x1p-64L.
566         (__scalblnl): Only return standard underflowing result for K <=
567         -64 not K <= -63; adjust exponent for underflowing result by 64
568         not 63.
569         * math/libm-test.inc (scalbn_test_data): Add more tests.
570         (scalbln_test_data): Likewise.
571
572         [BZ #17834]
573         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
574         0x1p63L.
575         (__scalblnl): Get new exponent of adjusted subnormal value from ES
576         not HX.
577         * math/libm-test.inc (scalbn_test_data): Add more tests.
578         (scalbln_test_data): Likewise.
579
580 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
581             Stefani Seibold  <stefani@seibold.net>
582
583         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
584         (sysdep_routines): Add dl-vdso here, ...
585         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
586         (sysdep_routines): ... not here.
587         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
588         fallback when vDSO is not presented.
589         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
590         Define with libc_hidden_proto/libc_hidden_data_def definitions.
591         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
592         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
593         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
594         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
595         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
596         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
597         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
598         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
599         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
600         fallback configurable symbol when vDSO is not available.
601         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
602         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
603         be able to redefine fallback symbol when vDSO is not available.
604         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
605         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
606
607 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
608
609         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
610         (TLS_INIT_TP): Add tm_capable initialization.
611         (TLS_DEFINE_INIT_TP): Likewise.
612         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
613         TCB.
614         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
615         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
616         calculation.
617         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
618         transactoion is lock elision is built and TCB tm_capable is set.
619         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
621         (INTERNAL_SYSCALL_NCS): Likewise.
622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
623         (INTERNAL_SYSCALL_NCS): Likewise.
624         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
625
626         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
627         for powerpc.
628         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
629         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
630         and remove it for 32 bits case.
631         [pthread_rwlock_t] (__rwelision): New field for lock elision.
632         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
633         initialization.
634         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
635         Disable lock elision with rdlocks if elision is not available.
636
637         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
638         (sysdep_routines): Add lock elision objects.
639         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
640         [pthread_mutex_t] (__spins): Rework to add lock elision field.
641         [pthread_mutex_t] (__elision): Add field.
642         [__PTHREAD_SPINS]: Adjust to init lock elision field.
643         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
644         elision definitions for powerpc.
645         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
646         implementation of lock elision for powerpc.
647         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
648         implementation of timed lock elision for powerpc.
649         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
650         implementation of trylock with lock elision for powerpc.
651         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
652         implementaion of unlock for lock elision for powerpc.
653         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
654         automatic enable lock elision for mutexes.
655         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
656         transaction execution definitions for powerpc.
657         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
658         definitions.
659         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
660         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
661         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
662         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
663         * NEWS: Update.
664
665 2015-01-09  Roland McGrath  <roland@hack.frob.com>
666
667         * sysdeps/posix/shm-directory.c: Use <> rather than ""
668         for #include of <shm-directory.h>.
669
670 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
671
672         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
673         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
674
675 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
676
677         [BZ #17791]
678         * NEWS: Mention bug fix.
679         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
680         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
681         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
682
683 2015-01-09  Torvald Riegel <triegel@redhat.com>
684
685         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
686
687 2015-01-09  Torvald Riegel <triegel@redhat.com>
688
689         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
690
691 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
692
693         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
694         pointer and cast to uintptr_t.
695
696 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
697
698         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
699         removed.
700         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
701
702 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
703
704         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
705         of 0.
706
707 2015-01-08  Roland McGrath  <roland@hack.frob.com>
708
709         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
710         <nptl/pthreadP.h> instead.
711         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
712
713         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
714         already defined.
715         [__SIGRTMIN] (init): Function removed.
716         [__SIGRTMIN] (initialized): Variable removed.
717         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
718         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
719         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
720         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
721         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
722         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
723         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
724         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
725         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
726         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
727         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
728         * sysdeps/nptl/allocrtsig.c: New file.
729         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
730         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
731         * sysdeps/generic/testrtsig.h: File removed.
732
733         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
734         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
735
736         * nptl/nptl-init.c (pthread_functions): Conditionalize
737         .ptr__nptl_setxid initialization on [SIGSETXID].
738
739         * sysdeps/nptl/sys/procfs.h: New file.
740         * nptl_db/Makefile (headers): Add it.
741         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
742
743         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
744         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
745         * nptl/pthread_attr_setaffinity.c: Include it.
746         * nptl/pthread_setattr_default_np.c: Likewise.
747         * nptl/check-cpuset.h: New file.
748
749 2015-01-08  Richard Henderson  <rth@redhat.com>
750
751         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
752         (CFLAGS-tst-execstack-prog.c): Likewise.
753         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
754
755 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
756             Sandra Loosemore  <sandra@codesourcery.com>
757             Andrew Jenner  <andrew@codesourcery.com>
758             Joseph Myers  <joseph@codesourcery.com>
759             Nathan Sidwell  <nathan@codesourcery.com>
760
761         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
762         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
763         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
764         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
765         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
766         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
767         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
768         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
769         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
770         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
771         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
772         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
773         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
774         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
775         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
776         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
777         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
778
779 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
780
781         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
782         timespec struct member in syscall macro.
783         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
784         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
785         first timeval struct member in syscall macro.
786         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
787
788 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
789
790         [BZ #17748]
791         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
792         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
793         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
794         __feupdateenv and define as weak alias of __feupdateenv.  Use
795         libm_hidden_weak.
796         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
797         libm_hidden_def.
798         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
799         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
800         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
801         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
802         libm_hidden_def.
803         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
804         __feupdateenv and define as weak alias of __feupdateenv.  Use
805         libm_hidden_weak.
806         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
807         libm_hidden_def.
808         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
809         __feupdateenv and define as weak alias of __feupdateenv.  Use
810         libm_hidden_weak.
811         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
812         libm_hidden_def.
813         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
814         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
815         (__feupdateenv): Likewise.
816         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
817         __feupdateenv and define as weak alias of __feupdateenv.  Use
818         libm_hidden_weak.
819         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
820         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
821         libm_hidden_def.
822         * sysdeps/tile/math_private.h (__feupdateenv): New inline
823         function.
824         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
825         libm_hidden_def.
826         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
827         __feupdateenv instead of feupdateenv.
828         (default_libc_feupdateenv_test): Likewise.
829         (libc_feresetround_ctx): Likewise.
830
831 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
832
833         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
834         prototype.
835
836 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
837
838         * posix/regcomp.c (parse_bracket_exp): Initialize type to
839         COLL_SYM in a couple of places to avoid uninitialized variable
840         wanings on tilegx gcc 4.8.2.
841
842 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
843
844         * sysdeps/aarch64/strcpy.S: New file.
845         * sysdeps/aarch64/stpcpy.S: New file.
846         * NEWS: Updated.
847
848 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
849
850         * sysdeps/aarch64/strrchr.S: New file.
851         * NEWS: Updated.
852
853 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
854
855         [BZ #17658]
856         * stdlib/setenv.c: Fix memory leak when setting large,
857         duplicate string.
858
859 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
860
861         [BZ #17273]
862         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
863         and tabs from buffer before parsing fstab entry.
864         * misc/tst-mntent.c (main): Add test for mount entry with
865         trailing spaces and tabs.
866
867 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
868
869         [BZ #17748]
870         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
871         * math/fesetround.c (fesetround): Rename to __fesetround and
872         define as weak alias of __fesetround.  Use libm_hidden_weak.
873         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
874         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
875         * sysdeps/arm/fesetround.c (fesetround): Likewise.
876         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
877         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
878         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
879         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
880         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
881         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
882         __fesetround_inline.
883         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
884         __fesetround_inline instead of __fesetround.
885         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
886         __fesetround and define as weak alias of __fesetround.  Use
887         libm_hidden_weak.  Call __fesetround_inline instead of
888         __fesetround.
889         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
890         __fesetround and define as weak alias of __fesetround.  Use
891         libm_hidden_weak.
892         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
893         Likewise.
894         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
895         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
896         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
897         * sysdeps/tile/math_private.h (__fesetround): New inline function.
898         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
899         __fesetround and define as weak alias of __fesetround.  Use
900         libm_hidden_weak.
901         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
902         __fesetround instead of fesetround.
903         (default_libc_feholdexcept_setround): Likewise.
904         (libc_feholdsetround_ctx): Likewise.
905         (libc_feholdsetround_noex_ctx): Likewise.
906
907         [BZ #17748]
908         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
909         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
910         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
911         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
912         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
913         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
914         define as weak alias of __fesetenv.  Use libm_hidden_weak.
915         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
916         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
917         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
918         define as weak alias of __fesetenv.  Use libm_hidden_weak.
919         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
920         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
921         define as weak alias of __fesetenv.  Use libm_hidden_weak.
922         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
923         libm_hidden_def.
924         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
925         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
926         Likewise.
927         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
928         define as weak alias of __fesetenv.  Use libm_hidden_weak.
929         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
930         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
931         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
932         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
933         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
934         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
935         __fesetenv instead of fesetenv.
936         (libc_feresetround_noex_ctx): Likewise.
937         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
938         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
939         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
940         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
941         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
942         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
943         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
944         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
945         (__feupdateenv): Likewise.
946         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
947         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
948         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
949         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
950
951 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
952
953         [BZ #17806]
954         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
955         addresses have been freed.
956
957 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
958
959         * resolv/res_init.c (__res_vinit): Improve comments about nserv
960         and nservall.
961
962 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
963
964         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
965         Clean up check_pf allocation pattern. addresses
966
967 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
968
969         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
970         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
971         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
972         * nptl/pthread_exit.c (__pthread_exit): Likewise.
973         * nptl/pthread_join.c (pthread_join): Likewise.
974         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
975         * sysdeps/posix/waitid.c (__waitid): Likewise.
976         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
977         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
978         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
979         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
980         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
981         Likewise.
982         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
983         (__libc_pread64): Likewise.
984         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
985         (__libc_pwrite): Likewise.
986         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
987         (__libc_pwrite64): Likewsie.
988         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
989         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
990         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
991         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
992         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
993         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
994         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
996         Likewise.
997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
998         (__libc_pread64): Likewise.
999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1000         Likewise.
1001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1002         (__libc_pwrite64): Likewise.
1003         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1004         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1005         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1006         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1007         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1008         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1009         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1010         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1011         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1012         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1013         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1014         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1015         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1016         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1017         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1018         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1019         Likewise.
1020
1021 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1022
1023         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1024         (CFLAGS-test-double.c): Likewise.
1025         (CFLAGS-test-ldouble.c): Likewise.
1026         (CPPFLAGS-test-ifloat.c): Likewise.
1027         (CPPFLAGS-test-idouble.c): Likewise.
1028         (CPPFLAGS-test-ildoubl.c): Likewise.
1029         (CFLAGS-test-test-fenv.c): Remove variable.
1030         (CFLAGS-test-misc.c): Likewise.
1031
1032 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
1033
1034         [BZ #17797]
1035         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1036         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1037         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1038         CLOCKS_PER_SEC == 1000000.
1039         * time/clocktest.c (main): Replace %ld with %jd and cast to
1040         intmax_t.
1041
1042 2015-01-05  Roland McGrath  <roland@hack.frob.com>
1043
1044         * sysdeps/generic/unwind-resume.h: New file.
1045         * sysdeps/gnu/unwind-resume.c: Include it.
1046         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1047         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1048         argument list.
1049         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1050         global rather than static.
1051         (_Unwind_Resume): Update user.
1052         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1053         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
1054         rather than static.  Add __attribute__ ((cold)).
1055         (_Unwind_Resume, __gcc_personality_v0): Update callers.
1056         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1057         * sysdeps/arm/arm-unwind-resume.S: New file.
1058         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1059         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1060         * sysdeps/arm/Makefile [$(subdir) = csu]
1061         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1062         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1063         Add rt-arm-unwind-resume.
1064         [$(subdir) = nptl]
1065         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1066         Add pt-arm-unwind-resume.
1067         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1068         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1069
1070 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1071
1072         [BZ #17748]
1073         * include/fenv.h (__feholdexcept): Declare.  Use
1074         libm_hidden_proto.
1075         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1076         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
1077         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1078         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1079         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1080         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1081         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1082         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1083         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1084         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1085         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1086         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1087         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1088         (feholdexcept): Likewise.
1089         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1090         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1091         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1092         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1093         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1094         __feholdexcept instead of feholdexcept.
1095         (default_libc_feholdexcept_setround): Likewise.
1096
1097 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1098
1099         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1100         to avoid using stl/str to align destination.
1101
1102 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1103
1104         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1105
1106 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1107
1108         [BZ #17796]
1109         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1110         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1111         Define as weak alias not strong alias.
1112
1113 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1114
1115         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1116         bltzal with addiupc.
1117         (RTLD_START): Ditto.
1118
1119 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
1120
1121         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1122         for __vdso_* functions in declarations.
1123         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1124         definitions.
1125         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1126         INTERNAL_VSYSCALL): Use struct return types to check for error.
1127
1128         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1129         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1130         function with cast from llround().
1131         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1132         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1133         Define.
1134
1135 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1136
1137         [BZ #17793]
1138         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1139         Define as weak alias not strong alias.
1140
1141         [BZ #17635]
1142         * ctype/ctype-c99.c: New file.  isblank implementation moved from
1143         ...
1144         * ctype/ctype-extn.c: ... here.
1145         (__isblank_l): Move to ...
1146         * ctype/ctype-c99_l.c: ... here.  New file.
1147         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1148         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1149         Remove variable.
1150         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1151         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1152         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1153         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1154         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1155
1156         [BZ #17777]
1157         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1158         (posix_fadvise64): Define as weak alias not strong alias.
1159         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1160         (posix_fallocate64): Likewise.
1161         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1162         Remove variable.
1163         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1164         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1165         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1166         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1167         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1168
1169 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
1170
1171         [BZ #16191]
1172         * NEWS: Mention bug fix.
1173         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1174         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1175         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1176         (HOST_STACK_END_ADDR): Likewise.
1177
1178 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1179
1180         [BZ #17748]
1181         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
1182         * math/fegetround.c (fegetround): Rename to __fegetround and
1183         define as weak alias of __fegetround.  Use libm_hidden_weak.
1184         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1185         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1186         * sysdeps/arm/fegetround.c (fegetround): Likewise.
1187         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1188         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1189         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1190         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1191         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1192         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1193         Undefine after rather than before function definition; use
1194         parentheses around function name in definition.
1195         (__fegetround): Also undefine macro after function definition.
1196         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1197         __fegetround and define as weak alias of __fegetround.  Use
1198         libm_hidden_weak.  Do not undefine as macro.
1199         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1200         Likewise.
1201         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1202         __fegetround and define as weak alias of __fegetround.  Use
1203         libm_hidden_weak.
1204         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1205         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1206         * sysdeps/tile/math_private.h (__fegetround): New inline function.
1207         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1208         __fegetround and define as weak alias of __fegetround.  Use
1209         libm_hidden_weak.
1210         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1211         __fegetround instead of fegetround.
1212
1213         [BZ #17782]
1214         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1215         Condition macro definition on [__USE_MISC].
1216
1217         [BZ #17781]
1218         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1219         (struct sigaction): Change type of sa_flags field to int.
1220
1221         [BZ #17780]
1222         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1223         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1224         __glibc_reserved0.
1225
1226         * nptl/version.c (banner): Use single year in copyright notice.
1227
1228         * NEWS: Update copyright dates.
1229         * catgets/gencat.c (print_version): Likewise.
1230         * csu/version.c (banner): Likewise.
1231         * debug/catchsegv.sh: Likewise.
1232         * debug/pcprofiledump.c (print_version): Likewise.
1233         * debug/xtrace.sh (do_version): Likewise.
1234         * elf/ldconfig.c (print_version): Likewise.
1235         * elf/ldd.bash.in: Likewise.
1236         * elf/pldd.c (print_version): Likewise.
1237         * elf/sotruss.sh: Likewise.
1238         * elf/sprof.c (print_version): Likewise.
1239         * iconv/iconv_prog.c (print_version): Likewise.
1240         * iconv/iconvconfig.c (print_version): Likewise.
1241         * locale/programs/locale.c (print_version): Likewise.
1242         * locale/programs/localedef.c (print_version): Likewise.
1243         * login/programs/pt_chown.c (print_version): Likewise.
1244         * malloc/memusage.sh (do_version): Likewise.
1245         * malloc/memusagestat.c (print_version): Likewise.
1246         * malloc/mtrace.pl: Likewise.
1247         * manual/libc.texinfo: Likewise.
1248         * nptl/version.c (banner): Likewise.
1249         * nscd/nscd.c (print_version): Likewise.
1250         * nss/getent.c (print_version): Likewise.
1251         * nss/makedb.c (print_version): Likewise.
1252         * posix/getconf.c (main): Likewise.
1253         * scripts/test-installation.pl: Likewise.
1254         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1255
1256 2015-01-02  Will Newton  <will.newton@linaro.org>
1257
1258         * sysdeps/arm/armv7/configure: Removed.
1259         * sysdeps/arm/armv7/configure.ac: Likewise.
1260
1261 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1262
1263         * All files with FSF copyright notices: Update copyright dates
1264         using scripts/update-copyrights.
1265         * intl/plural.c: Regenerated.
1266         * locale/programs/charmap-kw.h: Likewise.
1267         * locale/programs/locfile-kw.h: Likewise.
1268
1269 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1270
1271         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1272
1273 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1274
1275         [BZ #17748]
1276         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1277         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1278         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1279         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1280         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1281         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1282         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1283         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1284         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1285         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1286         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1287         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1288         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1289         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1290         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1291         libm_hidden_def.
1292         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1293         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1294         Likewise.
1295         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1296         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1297         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1298         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1299         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1300         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1301         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1302         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1303         __fegetenv instead of fegetenv.
1304         (libc_feholdsetround_noex_ctx): Likewise.
1305
1306 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1307
1308         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1309         (Elf_MIPS_ABIFlags_v0): New structure.
1310         (EF_MIPS_FP64): Define.
1311         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1312         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1313         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1314         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1315         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1316         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1317         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1318         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1319         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1320         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1321         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1322         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1323         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1324         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1325         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1326         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1327         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1328         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1329         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1330         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1331         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1332         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1333         field.
1334         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1335         EF_MIPS_FP64.
1336         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1337         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1338         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1339         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1340         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1341         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1342         * sysdeps/mips/tst-abi-interlink.c: Likewise.
1343         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1344         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1345         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1346         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1347         record the current FP ABI extension.
1348         (mips-mode-switch): Define to show if kernel headers support mode
1349         switching.
1350         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1351         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1352         supported SYSV ABI version to 3.
1353         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1354         feature.
1355
1356 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1357             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1358
1359         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1360         path.
1361         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1362
1363 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1364
1365         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1366         __fegetround and redefine to call __fegetround.  Remove condition
1367         on [!__NO_MATH_INLINES].
1368         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1369         function.
1370         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1371         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1372         Remove macro.
1373         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1374         instead of <fenv_libc.h>.
1375         (__llrintl): Call fegetround instead of __fegetround.
1376         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1377         instead of <fenv_libc.h>.
1378         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1379         (__lrintl): Call fegetround instead of __fegetround.
1380         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1381         instead of <fenv_libc.h>.
1382         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1383         (__rintl): Call fegetround instead of __fegetround.
1384
1385 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1386
1387         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1388         arrays.
1389
1390 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1391
1392         [BZ #17775]
1393         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1394         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1395         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1396
1397 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1398
1399         * sysdeps/i386/tls-macros.h: Include <features.h>.
1400         (TLS_LE): Use non-PIC version for GCC >= 5.0.
1401         (TLS_IE): Likewise.
1402         (TLS_LD): Likewise.
1403         (TLS_GD): Likewise.
1404         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1405         define for GCC >= 5.0.
1406
1407 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
1408
1409         * math/test-fenv.c (test_single_exception, set_single_exc,
1410         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1411         feexcp_mask_test, feenable_test, fe_single_test): Add
1412         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1413         case where they are not used.
1414         * math/libm-test.inc: Likewise.
1415         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1416         unused in the absence of FP rounding/exception support.
1417         * stdio-common/tst-printf-round.c: Likewise.
1418         * stdlib/tst-strtod-round.c: Likewise.
1419         * stdlib/tst-strtod-underflow.c: Likewise.
1420
1421 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
1422
1423         [BZ #17723]
1424         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1425         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1426         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1427         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1428         libm_hidden_weak.
1429         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1430         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1431         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1432         libm_hidden_def.
1433         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1434         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1435         libm_hidden_weak.
1436         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1437         Likewise.
1438         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1439         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1440         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1441         libm_hidden_weak.
1442         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1443         libm_hidden_def.
1444         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1445         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1446         (__feraiseexcept): Likewise.
1447         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1448         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1449         libm_hidden_weak.
1450         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1451         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1452         libm_hidden_def.
1453         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1454         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1455         Use libm_hidden_def.
1456         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1457         libm_hidden_def.
1458         (feraiseexcept): Define as weak not strong alias.  Use
1459         libm_hidden_weak.
1460         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1461         New inline function.  Factored out of ...
1462         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
1463         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1464         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1465         feraiseexcept.
1466         * math/w_acos.c (__acos): Likewise.
1467         * math/w_asin.c (__asin): Likewise.
1468         * math/w_ilogb.c (__ilogb): Likewise.
1469         * math/w_j0.c (y0): Likewise.
1470         * math/w_j1.c (y1): Likewise.
1471         * math/w_jn.c (yn): Likewise.
1472         * math/w_log.c (__log): Likewise.
1473         * math/w_log10.c (__log10): Likewise.
1474         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1475         * sysdeps/aarch64/fpu/math_private.h
1476         (libc_feupdateenv_test_aarch64): Likewise.
1477         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1478         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1479         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1480         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1481         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1482         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1483         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1484         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1485         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1486         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1487
1488 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1489
1490         [BZ #17732]
1491         * io/test-utime.c (main): Replace %ld with %jd and cast to
1492         intmax_t.
1493         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1494         * nptl/tst-mutex5.c: Include <stdint.h>.
1495         (do_test): Replace %ld with %jd and cast to intmax_t.
1496         * posix/tst-regex.c (run_test): Likewise.
1497         (run_test_backwards): Likewise.
1498         * rt/tst-clock.c: Include <stdint.h>.
1499         (clock_test): Replace %ld with %jd and cast to intmax_t.
1500         * rt/tst-cpuclock1.c: Include <stdint.h>.
1501         (do_test): Replace %lu with %ju and cast to uintmax_t.
1502         * rt/tst-cpuclock2.c: Include <stdint.h>.
1503         (do_test): Replace %lu with %ju and cast to uintmax_t.
1504         * rt/tst-mqueue1.c: Include <stdint.h>.
1505         (check_attrs): Replace %ld with %jd and cast to intmax_t.
1506         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1507         intmax_t.
1508         * rt/tst-mqueue4.c (do_test): Likewise.
1509         * rt/tst-timer4.c: Include <stdint.h>.
1510         (check_ts): Replace %ld with %jd and cast to intmax_t.
1511         (do_test): Likewise.
1512         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1513         and cast to intmax_t.
1514         * sysdeps/pthread/tst-timer.c (main): Likewise.
1515         * time/clocktest.c (main): Likewise.
1516         * time/tst-posixtz.c (do_test): Likewise.
1517         * timezone/tst-timezone.c (main): Likewise.
1518
1519 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1520             H.J. Lu  <hongjiu.lu@intel.com>
1521
1522         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1523         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1524         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1525         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1526         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1527         version if bit_Fast_Unaligned_Load is set.
1528         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1529         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1530         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1531         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1532         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1533         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1534         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1535         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1536         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1537         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1538         to 4.
1539         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1540         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1541         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1542         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1543
1544 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
1545
1546         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1547         instead of #if to avoid a Wundef warning.
1548         * stdlib/tst-limits.c (do_test): Likewise.
1549
1550         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1551         parallel other exception macros.
1552         (fegetenv): Convert from macro to extern inline so that it applies
1553         retroactively to inline functions already seen by the compiler.
1554         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1555
1556         * posix/Makefile (before-compile): Use $(objpfx) for
1557         posix-conf-vars-def.h.
1558
1559 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1560
1561         * posix/getconf.c (main): Use size_t for type of I.
1562         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1563         NSPEC.
1564
1565         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1566         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1567         * posix/posix-envs.def: Likewise.
1568         * sysdeps/posix/sysconf.c: Likewise.
1569         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1570         (specs): Remove array.
1571         * scripts/gen-posix-conf-vars.awk: Support generation of specs
1572         array.
1573
1574         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1575         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1576         (__sysconf): Use CONF_IS_* macros.
1577
1578         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1579         ($(objpfx)posix-conf-vars-def.h): New target.
1580         * posix/posix-conf-vars.list: New file.
1581         * posix/posix-conf-vars.h: New file.
1582         * posix/confstr.c: Include posix-conf-vars.h.
1583         (confstr): Use CONF_IS_* macros.
1584         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
1585         CONF_IS_* macros.
1586         * scripts/gen-posix-conf-vars.awk: New file.
1587
1588 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
1589
1590         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1591         fegetround): Add no-op macros to avoid linknamespace issues.
1592
1593         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1594         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1595
1596         * sysdeps/unix/sysv/linux/tile/sysdep.h
1597         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1598         assembly-specific section to avoid a redefinition warning.
1599
1600         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1601         long before casting to pointer to avoid a cast warning.
1602
1603 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
1604
1605         * sysdeps/tile/tilegx/Implies: New file.
1606
1607 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
1608
1609         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1610
1611 2014-12-23  Florian Weimer  <fweimer@redhat.com>
1612
1613         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1614
1615 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1616
1617         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1618         not define.
1619         * sysdeps/unix/sysv/linux/utimes.c: Do not include
1620         <kernel-features.h>.
1621         (__utimes) [__NR_utimes]: Make code unconditional.
1622         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1623         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1624         (__ASSUME_UTIMES): Do not undefine.
1625         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1626         (__ASSUME_UTIMES): Likewise.
1627         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1628         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1629         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1630         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1631
1632 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1633
1634         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1635
1636 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
1637
1638         [BZ #17747]
1639         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1640         alias to weak alias for j0l, y0l.
1641         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1642         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1643
1644         [BZ #17746]
1645         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1646         conversion.
1647
1648 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1649
1650         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1651         to zero if not already defined.
1652
1653 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1654
1655         [BZ #17724]
1656         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1657         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
1658         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
1659         (char *) casts added.
1660         * sysdeps/ieee754/k_standardf.c: New file.
1661         * sysdeps/ieee754/k_standardl.c: Likewise.
1662         * math/Makefile (libm-support): Remove k_standard.
1663         (libm-calls): Add k_standard.
1664
1665 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1666
1667         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1668         Optimize to avoid an unnecessary FPCR read.
1669
1670 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1671
1672         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1673         Optimize to reduce FPCR/FPSR accesses.
1674
1675 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1676
1677         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1678         Call libc_fetestexcept_aarch64.
1679
1680 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1681
1682         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1683         Call libc_fesetround_aarch64.
1684
1685 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1686
1687         [BZ #17733]
1688         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1689         (__bind): Do not define as weak alias.
1690         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1691         define.
1692         (__getsockname): Do not define as weak alias.
1693
1694 2014-12-22  Will Newton  <will.newton@linaro.org>
1695
1696         * manual/install.texi: Document that we require bison 2.7
1697         or above.
1698         * INSTALL: Regenerate.
1699         * configure.ac: Use AC_CHECK_PROG_VER instead of
1700         AC_PATH_PROG when checking for bison and check for
1701         version 2.7 or above.
1702         * configure: Regenerate.
1703
1704 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
1705
1706         [BZ #17745]
1707         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1708         * sysdeps/tile/ffsll.c (ffsll): To here.
1709
1710         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1711
1712 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1713
1714         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1715         if not defined.
1716         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1717         definition.
1718         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1719         hidden ___tls_get_addr.
1720         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1721         hidden __tls_get_addr.
1722         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1723         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1724         Likewise.
1725
1726 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
1727
1728         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1729         _dl_init call.
1730
1731 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1732
1733         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1734         from "call _dl_init@PLT".
1735         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1736
1737 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
1738
1739         * manual/search.texi: (Array Sort Function): Clarify stable sorting
1740         guarantees.
1741
1742 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
1743
1744         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1745
1746 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1747
1748         [BZ #17744]
1749         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1750         strnlen.
1751
1752 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1753
1754         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1755         of multu on MIPSr6.
1756         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1757         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1758         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1759         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1760         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1761
1762 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1763
1764         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1765         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1766         (PTR_SUBU): Use subu for mips32r6/mips64r6.
1767         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1768         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1769         mips32r6/mips64r6.
1770         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1771
1772 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
1773
1774         * string/strncat.c (STRNCAT): Simplify implementation.
1775
1776 2014-12-19  David S. Miller  <davem@davemloft.net>
1777
1778         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1779         access the quad as both a long double and as a series of 4 words.
1780
1781         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1782         link_map->l_info array access.
1783
1784 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1785
1786         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1787
1788         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1789         * math/atest-exp2.c (TIMEOUT): Likewise.
1790         * math/atest-sincos.c (TIMEOUT): Likewise.
1791
1792 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1793
1794         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1795         -Wno-error with -fno-builtin-lround.
1796
1797 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1798
1799         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1800         Contains futex constants and functions moved over from ...
1801         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
1802         <lowlevellock-futex.h>.
1803         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1804         (lll_timedwait_tid): Add comments and parentheses around macro
1805         arguments.
1806
1807 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1808
1809         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1810         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
1811         (__lll_private_flag): Remove.
1812         (lll_futex_wait): Likewise.
1813         (lll_futex_timed_wait): Likewise.
1814         (lll_futex_wake): Likewise.
1815         (lll_futex_requeue): Likewise.
1816         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1817         (__lll_timedwait_tid): Spell out argument names.
1818         (lll_timedwait_tid): Add comments and parentheses around macro
1819         arguments.
1820         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1821         LLL_SHARED and LLL_PRIVATE usable from assembly code.
1822
1823 2014-12-19  Torvald Riegel  <triegel@redhat.com>
1824
1825         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1826         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1827         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1828         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1829         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1830         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1831         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1832         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1833         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1834         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1835         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1836         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1837         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1838         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1839         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1840         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1841         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1842         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1843         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1844
1845 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1846
1847         * sysdeps/x86_64/x32/Makefile: New file.
1848
1849 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
1850
1851         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1852         1L with (mp_limb_t) 1.
1853
1854 2014-12-17  Roland McGrath  <roland@hack.frob.com>
1855
1856         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1857         * nptl/libc_pthread_init.c: ... here.
1858         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1859         * nptl/register-atfork.c: ... here.
1860
1861         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1862         Use pthread_sigmask rather than INTERNAL_SYSCALL.
1863         Use assert_perror to check its return value.
1864         (__gai_create_helper_thread): Likewise.
1865
1866         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1867
1868         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1869
1870 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
1871
1872         [BZ #17725]
1873         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1874         __profil_counter.
1875         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1876         Likewise.
1877         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1878         Likewise.
1879         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1880         Likewise.
1881         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1882         (profil_counter): Likewise.
1883         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1884         (profil_counter): Likewise.
1885         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1886         Likewise.
1887         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1888         Likewise.
1889         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1890         (profil_counter): Likewise.
1891         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1892         Likewise.
1893         [!__profil_counter] (profil_counter): Define as weak alias of
1894         __profil_counter.
1895         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1896         (profil_counter): Rename to __profil_counter.
1897         [!__profil_counter] (profil_counter): Define as weak alias of
1898         __profil_counter.
1899         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1900         (profil_counter): Rename to __profil_counter.
1901         [!__profil_counter] (profil_counter): Define as weak alias of
1902         __profil_counter.
1903         * sysdeps/posix/profil.c: Update comment referring to
1904         profil_counter.
1905         (__profil): Use __profil_counter instead of profil_counter.
1906         * sysdeps/posix/sprofil.c (profil_counter): Rename to
1907         __profil_counter.  Use __profil_counter_ushort and
1908         __profil_counter_uint in definitions.
1909         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1910         instead of profil_counter_uint and profil_counter_ushort.
1911
1912         [BZ #17722]
1913         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1914         define as weak alias of __inet_makeaddr.
1915         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1916         as weak alias of __inet_addr.
1917         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1918         as weak alias of __inet_pton.  Use libc_hidden_weak.
1919         * include/arpa/inet.h (__inet_pton): Declare.  Use
1920         libc_hidden_proto.
1921         (inet_makeaddr): Don't use libc_hidden_proto.
1922         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
1923         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1924         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
1925         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1926         Remove variable.
1927         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1928         (test-xfail-POSIX/time.h/linknamespace): Likewise.
1929
1930 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
1931
1932         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1933
1934 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1935
1936         * stdio-common/bug-vfprintf-nargs.c (do_test):
1937         Cast value to intptr_t to avoid format warning
1938         for usage with PRIdPTR printing macro.
1939
1940 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1941
1942         * libio/tst-widetext.c (do_test):
1943         Use format type %td instead of %Zd for ptrdiff_t
1944         in order to avoid format warning.
1945
1946 2014-12-17  Andreas Schwab  <schwab@suse.de>
1947
1948         * nscd/mem.c (gc): Add size_t cast to match printf format.
1949
1950 2014-12-16  Roland McGrath  <roland@hack.frob.com>
1951
1952         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1953         (init): Apply PTR_MANGLE to pointers before storing them.
1954         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1955         before using them.
1956
1957 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
1958
1959         [BZ #17719]
1960         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1961         define as weak alias of __memrchr.
1962         (__memrchr): Do not define as strong alias of memrchr.
1963         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1964         Remove variable.
1965         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1966         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1967         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1968
1969         [BZ #17717]
1970         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1971         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
1972         (if_indextoname): Rename to __if_indextoname and define as weak
1973         alias of __if_indextoname.  Use libc_hidden_weak.
1974         (if_freenameindex): Rename to __if_freenameindex and define as
1975         weak alias of __if_freenameindex.
1976         (if_nameindex): Rename to __if_nameindex and define as weak alias
1977         of __if_nameindex.
1978         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1979         __if_nametoindex and define as weak alias of __if_nametoindex.
1980         Use libc_hidden_weak.
1981         (if_freenameindex): Rename to __if_freenameindex and define as
1982         weak alias of __if_freenameindex.
1983         (if_nameindex): Rename to __if_nameindex and define as weak alias
1984         of __if_nameindex.
1985         (if_indextoname): Rename to __if_indextoname and define as weak
1986         alias of __if_indextoname.  Use libc_hidden_weak.
1987         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1988         __if_nametoindex and define as weak alias of __if_nametoindex.
1989         Use libc_hidden_weak.
1990         (if_freenameindex): Rename to __if_freenameindex and define as
1991         weak alias of __if_freenameindex.  Use libc_hidden_weak.
1992         (if_nameindex_netlink): Use __if_freenameindex instead of
1993         if_freenameindex.
1994         (if_nameindex): Rename to __if_nameindex and define as weak alias
1995         of __if_nameindex.  Use libc_hidden_weak.
1996         (if_indextoname): Rename to __if_indextoname and define as weak
1997         alias of __if_indextoname.  Use libc_hidden_weak.
1998         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1999         libc_hidden_proto.
2000         [!_ISOMAC] (__if_freenameindex): Likewise.
2001         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2002         if_nametoindex.
2003         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2004         variable.
2005         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2006         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2007         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2008         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2009         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2010         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2011         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2012
2013         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2014         Remove variable.
2015         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2016         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2017
2018 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2019
2020         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2021         subscript above bounds'
2022
2023         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2024         bounds.
2025
2026 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
2027
2028         * libio/tst-fopenloc.c: Use test-skeleton.c.
2029
2030         * stdlib/tst-bsearch.c: Use test-skeleton.c.
2031         (entry): Rename to ITEM.
2032         (do_test, comp): Adjust.
2033
2034         * stdio-common/tst-fseek.c: Use test-skeleton.c.
2035
2036 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2037
2038         * string/tester.c: Include <libc-internal.h>.
2039         (test_memset): Ignore -Wmemset-transposed-args.
2040
2041 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2042
2043         * misc/tst-mntent2.c (do_test): Fix warning.
2044
2045 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2046
2047         * elf/tst-unique4lib.cc(a): Mark as used.
2048
2049 2014-12-16  Florian Weimer  <fweimer@redhat.com>
2050
2051         [BZ #17630]
2052         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2053         names.
2054
2055 2014-12-16  Allan McRae  <allan@archlinux.org>
2056
2057         * stdio-common/Makefile (tests): Re-add bug26.
2058
2059 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
2060
2061         [BZ #17657]
2062         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2063         static array.
2064
2065 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
2066
2067         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2068         (__lll_lock_wait): Likewise.
2069         (__lll_timedlock_wait): Likewise.
2070         (__lll_timedwait_tid): Likewise.
2071         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2072         (__lll_robust_timedlock_wait): Likewise.
2073         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2074         (lll_cond_trylock): Likewise.
2075         (__lll_lock): Likewise.
2076         (__lll_robust_lock): Likewise.
2077         (__lll_cond_lock): Likewise.
2078         (lll_robust_cond_lock): Likewise.
2079         (__lll_timedlock): Likewise.
2080         (__lll_robust_timedlock): Likewise.
2081         (__lll_unlock): Likewise.
2082         (__lll_robust_unlock): Likewise.
2083         (lll_wait_tid): Likewise.
2084         (lll_timedwait_tid): Likewise.
2085
2086 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2087
2088         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2089
2090 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2091
2092         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2093
2094 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2095
2096         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2097         * stdio-common/tst-sprintf.c: Likewise.
2098
2099 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2100
2101         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2102
2103 2014-12-15  Jeff Law  <law@redhat.com>
2104
2105         [BZ #16617]
2106         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2107         on the heap.  (CVE-2012-3406)
2108         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2109         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
2110         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2111
2112 2014-12-15  Will Newton  <will.newton@linaro.org>
2113
2114         * manual/install.texi: Bump required version of texinfo
2115         to 4.7 from 4.5.
2116         * INSTALL: Regenerated.
2117         * configure.ac: Check for makeinfo version 4.7 and above.
2118         * configure: Regenerated.
2119
2120 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2121
2122         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2123         PREFIX, string constant to insert between directory and name.
2124         * sysdeps/posix/shm_open.c: Update caller.
2125         * sysdeps/posix/shm_unlink.c: Likewise.
2126         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2127         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2128         (SEM_SHM_PREFIX): New macro.
2129         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2130         [$(have-thread-library) = no].
2131         * nptl/Makefile (libpthread-routines): Add shm-directory.
2132         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2133         * sysdeps/nptl/shm-directory.h: New file.
2134         * sysdeps/posix/shm-directory.c
2135         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2136         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2137         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2138         INTERNAL_SYSCALL.
2139         (__where_is_shmfs): Function removed.
2140         (mountpoint, defaultmount, defaultdir, __namedsem_once):
2141         Variables removed.
2142         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2143         Use SHM_GET_NAME.
2144         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
2145
2146         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2147         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2148         unconditional for use inside libpthread.
2149         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2150
2151 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2152
2153         * nptl/pthread_getaffinity.c: New file.
2154         * nptl/pthread_setaffinity.c: New file.
2155         * nptl/pthread_getname.c: New file.
2156         * nptl/pthread_setname.c: New file.
2157
2158         * nptl/pthread_create.c (START_THREAD_DEFN)
2159         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2160
2161 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2162             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2163
2164         * resolv/res_send.c (send_vc): Disable warning resplen may
2165         be used uninitialized.
2166
2167 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2168
2169         * nptl/tst-mutex6.c
2170         (ATTR_NULL): New define checks ATTR against NULL.
2171         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2172         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2173
2174 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
2175
2176         [BZ #17581]
2177         * malloc/hooks.c
2178         (mem2mem_check): Revert my previous change.
2179         (malloc_check_get_size): Revert my previous change.
2180         (mem2chunk_check): Revert my previous change.
2181
2182 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2183
2184         * sysdeps/posix/shm-directory.c: New file.
2185         * sysdeps/posix/shm-directory.h: New file.
2186         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2187         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2188         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
2189         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2190         Transmute EPERM to EACCES.
2191         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2192         from ...
2193         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
2194         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2195
2196 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2197
2198         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2199         pointer and cast to uintptr_t.
2200         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2201         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2202         Add cast to avoid warning.
2203         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2204
2205 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2206
2207         * nptl/semaphore.h: Move to ...
2208         * sysdeps/pthread/semaphore.h: ... here.
2209         * Makefile (installed-headers): Change nptl/semaphore.h to
2210         sysdeps/pthread/semaphore.h.
2211
2212 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2213
2214         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2215         generated error format strings.
2216
2217         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2218         -Wformat-extra-args warnings for scanf formats.
2219         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2220         test of zero-length format (duh).
2221         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2222         corner-case scanf format test.
2223         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2224         generated fprintf format string.
2225         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2226         corner-case sprintf format tests.
2227         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2228         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2229         -Wformat-extra-args warnings throughout.
2230         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2231         (CFLAGS-scanf4.c): Likewise.
2232         (CFLAGS-scanf7.c): Likewise.
2233         (CFLAGS-tst-sprintf.c): Likewise.
2234         (CFLAGS-tst-printf.c): Likewise.
2235         (CFLAGS-tst-printfsz.c): Likewise.
2236
2237 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2238
2239         * include/cpio.h: New file.
2240         * include/fmtmsg.h: Likewise.
2241
2242         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
2243         corresponding format argument to size_t.
2244         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
2245         arguments.
2246         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
2247         corresponding format argument to size_t.
2248         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
2249         arguments.
2250         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
2251         corresponding format argument to size_t.
2252         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2253         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2254         (CFLAGS-tst-mbswcs2.c): Likewise.
2255         (CFLAGS-tst-mbswcs3.c): Likewise.
2256         (CFLAGS-tst-mbswcs4.c): Likewise.
2257         (CFLAGS-tst-mbswcs5.c): Likewise.
2258         (CFLAGS-tst-trans.c): Likewise
2259
2260 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2261
2262         * posix/regexbug1.c (main): Use "%s" format with regerror results,
2263         rather than assuming they won't contain any '%'s.
2264
2265 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
2266
2267         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2268         inhibit_loop_to_libcall to avoid recursive calls.
2269         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2270         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2271
2272 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2273
2274         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2275         prototype.
2276
2277 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2278
2279         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2280         integer value instead of boolean.
2281
2282 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2283
2284         * malloc/malloc.c: Fix powerof2 check.
2285
2286 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2287
2288         * locale/programs/locfile.h (maybe_swap_uint32):
2289         Remove inline and add unused attribute.
2290
2291 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2292
2293         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2294         Truncating assembler expression to a .long expression.
2295
2296 2014-12-11  Andreas Schwab  <schwab@suse.de>
2297
2298         * elf/rtld.c (struct map_args): Constify str member.
2299         (do_preload): Constify fname argument.
2300
2301 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2302
2303         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2304         constants definition.
2305
2306 2014-12-11  Andreas Schwab  <schwab@suse.de>
2307
2308         [BZ #16657]
2309         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2310         FORCE_ELISION instead of DO_ELISION.
2311         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2312         Remove.
2313         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2314         Likewise.
2315
2316         * iconvdata/gconv-modules: Remove duplicate entry.
2317
2318 2014-12-11  Will Newton  <will.newton@linaro.org>
2319
2320         Merge gettext 0.19.3 into intl/.
2321
2322         This involves a number of cosmetic changes to comments
2323         and ANSI function definitions and prototypes throughout
2324         all the files. The gettext copyright header is used but
2325         with the date ranges taken from the glibc copy.
2326
2327         * NEWS: Add gettext merge to 2.21.
2328         * intl/bindtextdom.c: Switch to gettext copyright.
2329         Use ANSI definitions and prototypes.
2330         Use gl_* locking primitives rather than __libc_* ones.
2331         Use __builtin_expect rather than __glibc_likely/unlikely.
2332         * intl/dcgettext.c: Switch to gettext copyright.
2333         Use ANSI definitions and prototypes.
2334         * intl/dcigettext.c: Switch to gettext copyright.
2335         Use ANSI definitions and prototypes.
2336         (INTDIV0_RAISES_SIGFPE): New define.
2337         Use gl_* locking primitives rather than __libc_* ones.
2338         Include eval-plural.h instead of plural-eval.c.
2339         Use __builtin_expect rather than __glibc_likely/unlikely.
2340         * intl/dcngettext.c: Switch to gettext copyright.
2341         Use ANSI definitions and prototypes.
2342         * intl/dgettext.c: Likewise.
2343         * intl/dngettext.c: Likewise.
2344         * intl/plural-eval.c: Renamed to...
2345         * intl/eval-plural.h: ...this.
2346         * intl/explodename.c: Switch to gettext copyright.
2347         Use ANSI definitions and prototypes.
2348         (_nl_explode_name): Use strchr instead of __rawmemchr.
2349         * intl/finddomain.c: Switch to gettext copyright.
2350         Use ANSI definitions and prototypes.
2351         Use gl_* locking primitives rather than __libc_* ones.
2352         (_nl_find_domain): Use malloc rather than alloca for
2353         allocation of temporary locale name.
2354         * intl/gettext.c: Switch to gettext copyright.
2355         Use ANSI definitions and prototypes.
2356         * intl/gettextP.h: Switch to gettext copyright.
2357         Use ANSI definitions and prototypes.
2358         Use gl_* locking primitives rather than __libc_* ones.
2359         * intl/gmo.h: Switch to gettext copyright.
2360         (struct sysdep_string): Move struct segment_pair outside of
2361         struct definition.
2362         * intl/hash-string.c: Use ANSI definitions and prototypes.
2363         * intl/hash-string.h: Switch to gettext copyright.
2364         Use ANSI definitions and prototypes.
2365         * intl/l10nflist.c: Switch to gettext copyright.
2366         Use ANSI definitions and prototypes.
2367         (_nl_normalize_codeset): Avoid integer overflow.
2368         * intl/loadinfo.h: Switch to gettext copyright.
2369         Use ANSI definitions and prototypes.
2370         (LIBINTL_DLL_EXPORTED): New define.
2371         (PATH_SEPARATOR): New define.
2372         * intl/loadmsgcat.c: Switch to gettext copyright.
2373         * intl/localealias.c: Switch to gettext copyright.
2374         Use ANSI definitions and prototypes.
2375         (_nl_expand_alias): Use PATH_SEPARATOR.
2376         * intl/ngettext.c: Switch to gettext copyright.
2377         Use ANSI definitions and prototypes.
2378         * intl/plural-exp.c: Likewise.
2379         * intl/plural-exp.h: Switch to gettext copyright.
2380         Use ANSI definitions and prototypes.
2381         (struct expression): Move definition of enum operator outside
2382         of struct definition.
2383         * intl/plural.c: Regenerate.
2384         * intl/plural.y: Switch to gettext copyright.
2385         Use ANSI definitions and prototypes.
2386         Port to bison 3.0.
2387         * intl/textdomain.c: Switch to gettext copyright.
2388         Use ANSI definitions and prototypes.
2389         Use gl_* locking primitives rather than __libc_* ones.
2390
2391 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
2392
2393         * debug/warning-nop.c: Add used atrribute.
2394
2395 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2396
2397         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2398
2399         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2400         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2401         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2402
2403 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2404             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2405
2406         [BZ #17634]
2407         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2408         Undefine after defining function.  Define as weak alias of
2409         __wcschr.  Use libc_hidden_weak.
2410         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
2411         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2412         (libc_hidden_def): Also define __GI___wcschr alias.
2413         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2414         __wcschr and define as weak alias of __wcschr.
2415         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2416         __wcschr.
2417         [!WCSCHR] (DEFAULT_WCSCHR): Define.
2418         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2419         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
2420         libc_hidden_weak.  Do not use libc_hidden_def.
2421         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2422         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2423         __GI___wcschr alias.
2424         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2425         [IS_IN (libc)] (wcschr): Define as macro expanding to
2426         __redirect_wcschr.
2427         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2428         [IS_IN (libc)] (__wcschr_power6): Likewise.
2429         [IS_IN (libc)] (__wcschr_power7): Likewise.
2430         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
2431         instead of wcschr.
2432         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2433         __libc_wcschr.
2434         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2435         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2436         __wcschr and define as weak alias of __wcschr.  Use
2437         libc_hidden_builtin_def.
2438         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2439         as weak alias of __wcschr.  Use libc_hidden_weak.
2440         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2441         wcschr.
2442         * time/era.c (_nl_init_era_entries): Likewise.
2443         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2444         variable.
2445         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2446         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2447
2448 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2449
2450         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2451         format for long int variable.
2452
2453 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
2454
2455         [BZ #10672]
2456         * manual/search.texi: (Array Sort Function): Remove claim how to make
2457         qsort stable.
2458
2459 2014-12-10  Andreas Schwab  <schwab@suse.de>
2460
2461         [BZ #12847]
2462         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2463         user-controlled locks.
2464
2465 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
2466
2467         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2468         register.
2469
2470 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2471
2472         * configure.ac (--disable-werror): New configure option.
2473         (enable_werror): New AC_SUBST.
2474         * configure: Regenerated.
2475         * config.make.in (enable-werror): New variable.
2476         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2477         -Wno-error=undef.
2478         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2479         * manual/install.texi (Configuring and compiling): Document
2480         --disable-werror.
2481         * INSTALL: Regenerated.
2482         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2483         (CFLAGS-tst-chk2.c): Likewise.
2484         (CFLAGS-tst-chk3.c): Likewise.
2485         (CFLAGS-tst-chk4.cc): Likewise.
2486         (CFLAGS-tst-chk5.cc): Likewise.
2487         (CFLAGS-tst-chk6.cc): Likewise.
2488         (CFLAGS-tst-lfschk1.c): Likewise.
2489         (CFLAGS-tst-lfschk2.c): Likewise.
2490         (CFLAGS-tst-lfschk3.c): Likewise.
2491         (CFLAGS-tst-lfschk4.cc): Likewise.
2492         (CFLAGS-tst-lfschk5.cc): Likewise.
2493         (CFLAGS-tst-lfschk6.cc): Likewise.
2494
2495         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2496         (main): Disable -Wdeprecated-declarations around calls to
2497         register_printf_function.
2498
2499         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2500         (do_test): Disable -Wdiv-by-zero around some calls to
2501         fwrite_unlocked and fread_unlocked.
2502
2503         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2504         (DIAG_POP_NEEDS_COMMENT): Likewise.
2505         (_DIAG_STR1): Likewise.
2506         (_DIAG_STR): Likewise.
2507         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2508         * stdio-common/bug21.c: Include <libc-internal.h>.
2509         (do_test): Disable -Wformat around call to sscanf.
2510         * stdio-common/scanf14.c: Include <libc-internal.h>.
2511         (main): Disable -Wformat around some calls to scanf functions.
2512
2513 2014-12-09  Torvald Riegel  <triegel@redhat.com>
2514
2515         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2516
2517 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2518
2519         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2520         stack variable alignment.
2521
2522 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
2523
2524         [BZ #17682]
2525         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2526         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2527         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2528         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2529         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2530         __getrlimit instead of getrlimit.
2531         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2532         __gettimeofday instead of gettimeofday.
2533         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2534         Likewise.
2535         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2536         Likewise.
2537         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2538         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2539         Remove variable.
2540         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2541         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2542
2543 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2544
2545         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2546         for wide-character tests.
2547
2548 2014-12-04  Roland McGrath  <roland@hack.frob.com>
2549
2550         * io/openat64.c: #include <libc-internal.h>
2551         (__openat64): Prototypify.  Use ignore_value on MODE.
2552         * io/openat.c: Likewise.
2553         * misc/reboot.c: #include <libc-internal.h>
2554         (reboot): Prototypify.  Use ignore_value on HOWTO.
2555         * misc/ptrace.c: #include <libc-internal.h>
2556         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
2557
2558 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
2559
2560         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2561         XPG4, UNIX98 and XOPEN2K.
2562         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2563         Remove variable.
2564         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2565
2566 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2567
2568         * libio/fileops.c: Use ISO C style for function definitions.
2569         * libio/iofopen.c: Likewise.
2570         * libio/wfileops.c: Likewise.
2571
2572         [BZ #17653]
2573         * libio/fileops.c (_IO_new_file_underflow): Unset cached
2574         offset on EOF.
2575         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2576         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2577         (fgets_func): Function pointer to fgets and fgetws.
2578         (do_ftell_test): Add test to verify ftell value after read
2579         EOF.
2580         (do_test): Set fgets_func.
2581
2582         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2583         O_TRUNC flag for w and w+ modes.
2584         (do_rewind_test): Likewise.
2585         (do_ftell_test): Likewise.
2586         (do_write_test): Likewise.
2587
2588         [BZ #17647]
2589         * libio/fileops.c (do_ftell): Seek only when there are
2590         unflushed writes.
2591         * libio/wfileops.c (do_ftell_wide): Likewise.
2592         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2593         test case.
2594         (do_one_test): Call it.
2595
2596 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
2597
2598         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2599         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2600         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2601         Remove variable.
2602         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2603         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2604         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2605
2606 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2607
2608         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2609         Remove variable.
2610         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2611
2612         [BZ #17668]
2613         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2614         as weak alias of __getifaddrs.  Use libc_hidden_weak.
2615         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2616         __freeifaddrs.  Use libc_hidden_weak.
2617         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2618         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
2619         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2620         __freeifaddrs.  Use libc_hidden_weak.
2621         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2622         __getifaddrs and define as weak alias of __getifaddrs.  Use
2623         libc_hidden_weak.
2624         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2625         __freeifaddrs.  Use libc_hidden_weak.
2626         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2627         Remove variable.
2628         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2629         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2630
2631 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
2632
2633         [BZ #17601]
2634         * sysdeps/mips/start.S (__start): Use indirect jump to call
2635         __libc_start_main.
2636
2637 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2638
2639         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2640
2641         * nptl/tst-mutex1.c: Include <stdbool.h>.
2642         [!ATTR] (ATTR_NULL): New macro.
2643         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2644         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2645         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2646
2647         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2648         to char *.
2649
2650         [BZ #17665]
2651         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2652         Change conditional to [__USE_MISC].
2653
2654         [BZ #17664]
2655         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2656         fgets_unlocked.
2657         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2658         __fgets_unlocked.
2659         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2660         fgets_unlocked.
2661         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2662         Remove variable.
2663         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2664         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2665         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2666         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2667         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2668         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2669         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2670         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2671         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2672
2673         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2674
2675 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2676
2677         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2678         Remove strpbrk objects.
2679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2680         (__libc_ifunc_impl_list): Remove strpbrk implementation.
2681         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2682         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2683         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2684         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2685
2686         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2687         Remove strcspn objects.
2688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2689         (__libc_ifunc_impl_list): Remove strcspn implementation.
2690         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2691         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2692         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2693         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2694
2695         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2696         Remove strspn objetcs.
2697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2698         (__libc_ifunc_impl_list): Remove strspn implementation.
2699         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2700         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2701         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2702         * sysdeps/powerpc/powerpc64/strspn.S: New file.
2703
2704 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
2705
2706         [BZ #17581]
2707         * malloc/hooks.c
2708         (mem2mem_check): Add a terminator to the chain of checking blocks.
2709         (malloc_check_get_size): Use it here.
2710         (mem2chunk_check): Ditto.
2711
2712 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2713
2714         * sysdeps/powerpc/powerpc64/strtok.S: New file.
2715         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2716
2717 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
2718
2719         * bits/ioctl-types.h: Indent preprocessor directives correctly.
2720
2721         * nptl/nptl-init.c: Include libc-internal.h.
2722         (__pthread_initialize_minimal_internal): Use ROUND_UP.
2723
2724         * elf/ldconfig.c (search_dir): Expand comment.
2725
2726 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
2727
2728         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2729         variable.
2730         (linknamespace-symlist-stdlibs-tests): Likewise.
2731         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2732         instead of $(objpfx)symlist-stdlibs.
2733         (linknamespace-libs-isoc): New variable.
2734         (linknamespace-libs): Use $(linknamespace-libs-isoc).
2735         (linknamespace-libs-ISO): New variable.
2736         (linknamespace-libs-ISO99): Likewise.
2737         (linknamespace-libs-ISO11): Likewise.
2738         (linknamespace-libs-XPG3): Likewise.
2739         (linknamespace-libs-XPG4): Likewise.
2740         (linknamespace-libs-POSIX): Likewise.
2741         (linknamespace-libs-UNIX98): Likewise.
2742         (linknamespace-libs-XOPEN2K): Likewise.
2743         (linknamespace-libs-POSIX2008): Likewise.
2744         (linknamespace-libs-XOPEN2K8): Likewise.
2745         ($(objpfx)symlist-stdlibs): Replace by
2746         $(linknamespace-symlist-stdlibs-tests).  Use
2747         $(linknamespace-libs-$*) as set of libraries.
2748         ($(linknamespace-header-tests)): Update dependencies.  Use
2749         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2750         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2751         * conform/linknamespace.pl: Remove comment about considering
2752         definitions of symbols from irrelevant libraries.
2753
2754 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2755
2756         [BZ #13862]
2757         * elf/dl-tls.c: Include <atomic.h>.
2758         (oom): Remove #ifdef SHARED/#endif.
2759         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2760         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
2761         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2762         big enough.
2763         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2764         * nptl/Makefile (tests): Add tst-stack4.
2765         (modules-names): Add tst-stack4mod.
2766         ($(objpfx)tst-stack4): New.
2767         (tst-stack4mod.sos): Likewise.
2768         ($(objpfx)tst-stack4.out): Likewise.
2769         ($(tst-stack4mod.sos)): Likewise.
2770         (clean): Likewise.
2771         * nptl/tst-stack4.c: New file.
2772         * nptl/tst-stack4mod.c: Likewise.
2773
2774 2014-11-27  J. Brown  <jb999@gmx.de>
2775
2776         * sysdeps/x86/bits/string.h: Add recent CPUs.
2777
2778 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
2779
2780         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2781         sigblock.
2782
2783         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2784         feof.
2785
2786         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2787         variable.
2788
2789 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2790
2791         * nscd/connections.c: Include libc-internal.h because of macro
2792         usage ignore_value.
2793
2794 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2795
2796         * string/bits/string3.h (__warn_memset_zero_len): Don't
2797         declare for gcc newer than 5.0.
2798         (memset): Don't test for zero-length __LEN for gcc newer than
2799         5.0.
2800
2801 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
2802
2803         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2804         size_t for %zu format.
2805
2806         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2807         difference, not %ju.
2808
2809 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
2810
2811         * include/libc-internal.h (ignore_value): New macro.
2812         * nscd/connections.c (restart): Wrap calls to setuid and setgid
2813         with ignore_value.
2814
2815         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2816         definition.
2817
2818         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2819         pthread_cleanup_push to void *.
2820
2821         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2822         Undefine.
2823
2824         [BZ #16619]
2825         [BZ #16740]
2826         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2827         instead of 1L << 52.
2828
2829         * libio/bug-rewind.c (do_test): Check fwscanf return values.
2830         * libio/bug-rewind2.c (do_test): Likewise.
2831
2832         * debug/test-stpcpy_chk-ifunc.c: Remove file.
2833         * debug/test-strcpy_chk-ifunc.c: Likewise.
2834         * wcsmbs/test-wcschr-ifunc.c: Likewise.
2835         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2836         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2837         * wcsmbs/test-wcslen-ifunc.c: Likewise.
2838         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2839         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2840         * Rules [$(multi-arch) = no] (tests): Do not filter out
2841         $(tests-ifunc).
2842         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2843         * debug/Makefile (tests-ifunc): Remove variable.
2844         (tests): Do not add $(tests-ifunc).
2845         * wcsmbs/Makefile (tests-ifunc): Remove variable.
2846         (tests): Do not add $(tests-ifunc).
2847         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2848         [TEST_IFUNC]: Remove conditionals.
2849         * string/test-string.h (TEST_IFUNC): Remove macro.
2850         [TEST_IFUNC]: Remove conditionals.
2851
2852         * string/test-strchr.c [!WIDE] (L): New macro.
2853         [WIDE] (L): Likewise.
2854         (check1): Use CHAR instead of char.  Use L on string and character
2855         constants.
2856
2857 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
2858
2859         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2860         tests.
2861         * sysdeps/powerpc/bits/atomic.h
2862         (__arch_atomic_exchange_and_add_32_acq): Add definition.
2863         (__arch_atomic_exchange_and_add_32_rel): Likewise.
2864         (atomic_exchange_and_add_acq): Likewise.
2865         (atomic_exchange_and_add_rel): Likewise.
2866         * sysdeps/powerpc/powerpc32/bits/atomic.h
2867         (__arch_atomic_exchange_and_add_64_acq): Add definition.
2868         (__arch_atomic_exchange_and_add_64_rel): Likewise.
2869         * sysdeps/powerpc/powerpc64/bits/atomic.h
2870         (__arch_atomic_exchange_and_add_64_acq): Add definition.
2871         (__arch_atomic_exchange_and_add_64_rel): Likewise.
2872
2873 2014-11-26  Torvald Riegel  <triegel@redhat.com>
2874
2875         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2876         Change synchronization of __sched_fifo_min_prio and
2877         __sched_fifo_max_prio.
2878         * nptl/pthread_mutexattr_getprioceiling.c
2879         (pthread_mutexattr_getprioceiling): Likewise.
2880         * nptl/pthread_mutexattr_setprioceiling.c
2881         (pthread_mutexattr_setprioceiling): Likewise.
2882         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2883         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2884         Likewise.
2885
2886 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
2887
2888         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2889         void.
2890
2891 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2892
2893         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2894         third argument const.
2895
2896 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
2897
2898         fnmatch: work around GCC compiler warning bug with uninit var
2899         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2900         This works around a bug with x86-64 GCC 4.9.2 and earlier
2901         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2902         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2903         used uninitialized in this function [-Wmaybe-uninitialized]".
2904
2905 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
2906
2907         * posix/bug-regex31.c (main): Return RES not 0.
2908
2909 2014-11-25  Anton Blanchard <anton@samba.org>
2910
2911         * sysdeps/powerpc/bits/atomic.h
2912         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2913
2914 2014-11-24  Sterling Augustine  <saugustine@google.com>
2915
2916         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2917
2918 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
2919
2920         [BZ #17608]
2921         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2922
2923 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
2924
2925         [BZ #17633]
2926         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2927         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2928         variable.
2929         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2930         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2931
2932 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
2933
2934         * string/strncpy.c (strncpy): Improve performance by using memset.
2935
2936 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
2937
2938         * string/strcpy.c (strcpy):
2939         Improve performance by using strlen and memcpy.
2940
2941 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
2942
2943         * string/strcoll_l.c (get_next_seq): __always_inline.
2944         * string/strcoll_l.c (do_compare): __always_inline.
2945
2946 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2947
2948         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2949         defined.
2950         * include/mqueue.h: Likewise.
2951         * include/stdlib.h: Likewise.
2952
2953         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2954         (get_null_defines): Adjust.
2955         * sunrpc/Makefile: Adjust comment.
2956         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2957         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2958         (CFLAGS-interp.c): Likewise.
2959         (CFLAGS-ldconfig.c): Likewise.
2960         (CPPFLAGS-.os): Likewise.
2961         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2962         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2963         * extra-modules.mk (extra-modules.mk): Likewise.
2964         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2965         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2966         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2967         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2968         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2969         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2970         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2971         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2972         * iconvdata/Makefile (CPPFLAGS): Likewise.
2973         (cpp-srcs-left): Add libof for all iconvdata routines.
2974         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2975         * include/assert.h: Likewise.
2976         * include/ctype.h: Likewise.
2977         * include/errno.h: Likewise.
2978         * include/libc-symbols.h: Likewise.
2979         * include/math.h: Likewise.
2980         * include/netdb.h: Likewise.
2981         * include/resolv.h: Likewise.
2982         * include/stdio.h: Likewise.
2983         * include/stdlib.h: Likewise.
2984         * include/string.h: Likewise.
2985         * include/sys/stat.h: Likewise.
2986         * include/wctype.h: Likewise.
2987         * intl/l10nflist.c: Likewise.
2988         * libidn/idn-stub.c: Likewise.
2989         * libio/libioP.h: Likewise.
2990         * nptl/libc_multiple_threads.c: Likewise.
2991         * nptl/pthreadP.h: Likewise.
2992         * posix/regex_internal.h: Likewise.
2993         * resolv/res_hconf.c: Likewise.
2994         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2995         * sysdeps/arm/memmove.S: Likewise.
2996         * sysdeps/arm/sysdep.h: Likewise.
2997         * sysdeps/generic/_itoa.h: Likewise.
2998         * sysdeps/generic/symbol-hacks.h: Likewise.
2999         * sysdeps/gnu/errlist.awk: Likewise.
3000         * sysdeps/gnu/errlist.c: Likewise.
3001         * sysdeps/i386/i586/memcpy.S: Likewise.
3002         * sysdeps/i386/i586/memset.S: Likewise.
3003         * sysdeps/i386/i686/memcpy.S: Likewise.
3004         * sysdeps/i386/i686/memmove.S: Likewise.
3005         * sysdeps/i386/i686/mempcpy.S: Likewise.
3006         * sysdeps/i386/i686/memset.S: Likewise.
3007         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3008         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3009         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3010         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3011         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3012         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3013         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3014         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3015         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3016         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3017         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3018         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3019         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3020         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3021         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3022         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3023         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3024         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3025         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3026         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3027         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3028         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3029         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3030         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3031         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3032         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3033         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3034         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3035         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3036         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3037         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3038         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3039         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3040         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3041         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3042         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3043         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3044         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3045         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3046         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3047         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3048         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3049         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3050         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3051         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3052         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3053         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3054         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3055         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3056         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3057         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3058         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3059         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3060         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3061         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3062         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3063         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3064         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3065         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3066         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3067         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3068         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3069         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3070         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3071         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3072         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3073         * sysdeps/posix/closedir.c: Likewise.
3074         * sysdeps/posix/opendir.c: Likewise.
3075         * sysdeps/posix/readdir.c: Likewise.
3076         * sysdeps/posix/rewinddir.c: Likewise.
3077         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3078         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3079         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3080         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3081         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3082         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3083         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3084         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3085         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3086         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3087         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3088         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3089         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3090         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3091         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3092         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3093         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3094         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3095         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3096         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3097         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3098         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3099         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3100         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3101         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3102         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3103         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3104         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3105         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3106         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3107         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3108         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3109         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3110         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3111         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3112         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3113         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3114         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3115         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3116         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3117         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3118         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3119         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3120         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3121         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3122         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3123         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3124         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3125         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3126         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3127         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3128         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3129         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3130         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3131         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3132         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3133         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3134         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3135         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3136         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3137         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3138         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3139         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3140         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3141         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3142         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3143         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3144         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3145         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3146         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3147         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3148         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3149         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3150         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3151         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3152         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3153         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3154         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3155         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3156         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3157         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3158         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3159         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3160         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3161         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3162         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3163         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3164         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3165         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3166         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3167         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3168         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3169         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3170         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3171         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3172         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3173         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3174         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3175         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3176         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3177         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3178         * sysdeps/unix/alpha/sysdep.S: Likewise.
3179         * sysdeps/unix/alpha/sysdep.h: Likewise.
3180         * sysdeps/unix/make-syscalls.sh: Likewise.
3181         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3182         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3183         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3184         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3185         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3186         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3187         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3188         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3189         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3190         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3191         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3192         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3193         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3194         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3195         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3196         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3197         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3198         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3199         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3200         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3201         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3202         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3203         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3204         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3205         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3206         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3207         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3210         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3211         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3212         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3213         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3214         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3215         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3216         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3217         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3218         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3219         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3220         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3221         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3222         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3223         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3224         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3225         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3226         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3227         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3228         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3229         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3230         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3231         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3232         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3233         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3234         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3235         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3236         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3237         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3238         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3239         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3240         * sysdeps/x86_64/memcpy.S: Likewise.
3241         * sysdeps/x86_64/memmove.c: Likewise.
3242         * sysdeps/x86_64/memset.S: Likewise.
3243         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3244         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3245         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3246         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3247         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3248         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3249         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3250         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3251         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3252         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3253         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3254         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3255         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3256         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3257         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3258         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3259         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3260         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3261         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3262         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3263         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3264         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3265         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3266         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3267         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3268         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3269         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3270         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3271         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3272         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3273         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3274         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3275         * sysdeps/x86_64/strcmp.S: Likewise.
3276
3277         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3278
3279         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3280         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3281         * elf/rtld-Rules: Likewise.
3282         * elf/setup-vdso.h: Likewise.
3283         * include/assert.h: Likewise.
3284         * include/bits/stdlib-float.h: Likewise.
3285         * include/errno.h: Likewise.
3286         * include/sys/stat.h: Likewise.
3287         * include/unistd.h: Likewise.
3288         * sysdeps/aarch64/setjmp.S: Likewise.
3289         * sysdeps/alpha/setjmp.S: Likewise.
3290         * sysdeps/arm/__longjmp.S: Likewise.
3291         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3292         * sysdeps/arm/setjmp.S: Likewise.
3293         * sysdeps/arm/sysdep.h: Likewise.
3294         * sysdeps/generic/_itoa.h: Likewise.
3295         * sysdeps/generic/dl-sysdep.h: Likewise.
3296         * sysdeps/generic/ldsodefs.h: Likewise.
3297         * sysdeps/i386/dl-tls.h: Likewise.
3298         * sysdeps/i386/setjmp.S: Likewise.
3299         * sysdeps/m68k/setjmp.c: Likewise.
3300         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3301         * sysdeps/mach/hurd/opendir.c: Likewise.
3302         * sysdeps/posix/getcwd.c: Likewise.
3303         * sysdeps/posix/opendir.c: Likewise.
3304         * sysdeps/posix/profil.c: Likewise.
3305         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3306         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3307         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3308         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3309         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3310         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3311         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3312         * sysdeps/s390/dl-tls.h: Likewise.
3313         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3314         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3315         * sysdeps/sh/sh3/setjmp.S: Likewise.
3316         * sysdeps/sh/sh4/setjmp.S: Likewise.
3317         * sysdeps/unix/alpha/sysdep.h: Likewise.
3318         * sysdeps/unix/arm/sysdep.S: Likewise.
3319         * sysdeps/unix/i386/sysdep.S: Likewise.
3320         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3321         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3322         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3323         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3324         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3325         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3326         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3327         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3328         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3329         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3330         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3331         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3332         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3335         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3336         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3337         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3338         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3339         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3340         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3341         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3342         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3343         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3344         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3345         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3346         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3347         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3348         * sysdeps/x86_64/setjmp.S: Likewise.
3349
3350         * include/math.h: Use IS_IN instead of IS_IN_libm.
3351         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3352         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3353         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3354         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3355         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3356         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3357         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3358         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3359         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3360         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3361         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3362         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3363         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3364         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3365         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3366         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3367         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3368         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3369         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3370         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3371         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3372         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3373         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3374         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3375         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3376         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3377         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3378         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3379         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3380         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3381         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3382         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3383         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3385         Likewise.
3386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3387         Likewise.
3388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3389         Likewise.
3390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3391         Likewise.
3392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3393         Likewise.
3394         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3395         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3396         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3397         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3398         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3399         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3405         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3406         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3407         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3408         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3409         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3410         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3411         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3412         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3413         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3414         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3415         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3416         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3417         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3418         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3420         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3421
3422         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3423         * nptl/pthreadP.h: Likewise.
3424         * nptl_db/structs.def: Likewise.
3425         * sysdeps/arm/sysdep.h: Likewise.
3426         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3427         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3428         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3429         * sysdeps/unix/alpha/sysdep.h: Likewise.
3430         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3431         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3432         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3433         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3434         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3435         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3436         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3437         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3438         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3439         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3440         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3441         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3442         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3443         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3446         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3447         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3448         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3449         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3450         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3451         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3452         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3453         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3454         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3455         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3456
3457         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3458         * nptl/pthreadP.h: Likewise.
3459         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3460         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3461         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3462         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3463         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3464         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3465         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3466         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3467         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3468         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3469         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3470         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3472         Likewise.
3473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3474         Likewise.
3475         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3476         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3477         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3478         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3479         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3480         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3481         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3482         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3483
3484         * dlfcn/dladdr.c: Use IS_IN.
3485         * dlfcn/dladdr1.c: Likewise.
3486         * dlfcn/dlclose.c: Likewise.
3487         * dlfcn/dlerror.c: Likewise.
3488         * dlfcn/dlinfo.c: Likewise.
3489         * dlfcn/dlmopen.c: Likewise.
3490         * dlfcn/dlopen.c: Likewise.
3491         * dlfcn/dlsym.c: Likewise.
3492         * dlfcn/dlvsym.c: Likewise.
3493
3494         * include/ifaddrs.h: Use IS_IN.
3495         * inet/check_pf.c: Likewise.
3496         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3497         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3498
3499         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3500         IS_IN_ldconfig.
3501         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3502         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3503
3504         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3505         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3506         IS_IN (libc).
3507
3508         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3509
3510         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3511         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3512         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3513         * include/libc-symbols.h (IS_IN_LIB): New macro.
3514         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3515         * include/netdb.h: Likewise.
3516         * include/stap-probe.h: Remove all uses of IN_LIB.
3517
3518         * Makeconfig (module-cppflags-real): Define MODULE_NAME
3519         instead of IN_MODULE.
3520         * include/libc-symbols.h (IN_MODULE): Define using
3521         MODULE_NAME.
3522         (PASTE_NAME, PASTE_NAME1): New macros.
3523         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3524         of IN_LIB.
3525         (STAP_PROBE_ASM): Likewise.
3526
3527 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3528
3529         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3530         __mach_init in dlopened libc.
3531
3532 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
3533
3534         * sysdeps/arm/preconfigure.ac: Delete EABI check.
3535         * sysdeps/arm/preconfigure: Regenerate.
3536
3537 2014-11-21  Roland McGrath  <roland@hack.frob.com>
3538
3539         * nptl/pthread_create.c (__pthread_create_2_1): Set
3540         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3541         when copying values from IATTR into PD.
3542
3543 2014-11-21  Will Newton  <will.newton@linaro.org>
3544             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3545
3546         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3547         Refactor inline-asm.  Also add comment.
3548
3549         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3550         ElfW macro instead of hardcoded Elf64 types.
3551         (la_aarch64_gnu_pltenter): Likewise.
3552         * sysdeps/aarch64/dl-machine.h
3553         (elf_machine_runtime_setup): Use ElfW(Addr).
3554
3555         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3556         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3557         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3558         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3559         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3560         (R_AARCH64_TLS_DTPMOD64): Rename to ..
3561         (R_AARCH64_TLS_DTPMOD): This.
3562         (R_AARCH64_TLS_DTPREL64): Rename to ...
3563         (R_AARCH64_TLS_DTPREL): This.
3564         (R_AARCH64_TLS_TPREL64): Rename to ...
3565         (R_AARCH64_TLS_TPREL): This.
3566         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3567         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3568         R_AARCH64_TLS_TPREL64.
3569         (elf_machine_rela): Likewise.
3570
3571 2014-11-21  Torvald Riegel  <triegel@redhat.com>
3572
3573         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3574         by setting it to 0.  64b atomics are not supported currently.
3575
3576 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3577
3578         [BZ #16469]
3579         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3580         search domain names.
3581
3582 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3583
3584         [BZ #16469]
3585         * NEWS: Update.
3586         * resolv/res_query.c (__libc_res_nquerydomain): Retain
3587         trailing dot.
3588         * posix/tst-getaddrinfo5.c: New.
3589         * posix/Makefile (tests): Add it.
3590
3591 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3592
3593         [BZ #14498]
3594         * NEWS: Fixed.
3595         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3596         after parsing line but before break_if_match.
3597         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3598         if there is a protocol mismatch.
3599
3600 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3601
3602         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3603         because the potential race is on the user-supplied stream.
3604
3605 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3606
3607         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3608         string literal if not passed a buffer.
3609         * manual/job.texi (ctermid): Update reasoning, note deviation
3610         from posix, suggest mtasurace when not passed a buffer, for
3611         future non-preliminary safety notes.
3612
3613 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3614
3615         * manual/users.texi (cuserid): Fix MT-Safety note for the case
3616         of not passing it a buffer.
3617         Reported by Peng Haitao.
3618
3619 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3620
3621         * manual/Makefile ($(objpfx)stamp-summary): Require
3622         check-safety.sh to pass.
3623         * manual/check-safety.sh: Wish for verification that every
3624         @deftypefn and @deftypefun is followed by a @safety remark.
3625
3626 2014-11-20  Roland McGrath  <roland@hack.frob.com>
3627
3628         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3629
3630         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3631         PTHREAD_CANCEL_ASYNCHRONOUS.
3632         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3633         send SIGCANCEL.
3634
3635         * nptl/default-sched.h: New file.
3636         * sysdeps/unix/sysv/linux/default-sched.h: New file.
3637         * nptl/pthread_create.c: Include it.
3638         (__pthread_create_2_1): Use collect_default_sched instead of making
3639         Linux syscalls here directly.
3640
3641 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3642
3643         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3644         __pthread_once): Use C11 atomics.
3645
3646 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3647
3648         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3649
3650 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3651
3652         * include/atomic.h (__atomic_link_error, __atomic_check_size,
3653         atomic_thread_fence_acquire, atomic_thread_fence_release,
3654         atomic_thread_fence_seq_cst, atomic_load_relaxed,
3655         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3656         atomic_compare_exchange_weak_relaxed,
3657         atomic_compare_exchange_weak_acquire,
3658         atomic_compare_exchange_weak_release,
3659         atomic_exchange_acquire, atomic_exchange_release,
3660         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3661         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3662         atomic_fetch_and_acquire,
3663         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3664
3665 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3666
3667         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3668         USE_ATOMIC_COMPILER_BUILTINS): Define.
3669         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3670         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3671         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3672         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3673         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3674         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3675         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3676         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3677         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3678         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3679         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3680         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3681         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3682         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3683         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3684         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3685         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3686         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3687         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3688         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3689         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3690         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3691         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3692         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3693         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3694         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3695         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3696         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3697         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3698         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3699         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3700         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3701         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3702         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3703         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3704         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3705         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3706         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3707         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3708         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3709
3710 2014-11-19  Roland McGrath  <roland@hack.frob.com>
3711
3712         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3713         the sched_priority value here.  It was already checked when the user
3714         called pthread_attr_setschedparam.
3715
3716         * nptl/tst-bad-schedattr.c: New file.
3717         * nptl/Makefile (tests): Add it.
3718
3719 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
3720             Florian Weimer  <fweimer@redhat.com>
3721             Joseph Myers  <joseph@codesourcery.com>
3722             Adam Conrad  <adconrad@0c3.net>
3723             Andreas Schwab  <schwab@suse.de>
3724             Brooks  <bmoses@google.com>
3725
3726         [BZ #17625]
3727         * wordexp-test.c (__dso_handle): Add prototype.
3728         (__register_atfork): Likewise.
3729         (__app_register_atfork): New function.
3730         (registered_forks): New global.
3731         (register_fork): New function.
3732         (test_case): Add 3 new tests for WRDE_CMDSUB.
3733         (main): Call __app_register_atfork.
3734         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3735         fork count is non-zero fail the test.
3736         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3737         is set.
3738         (parse_dollars): Remove check for WRDE_NOCMD.
3739         (parse_dquote): Likewise.
3740
3741 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3742
3743         * Makeconfig (built-modules): List non-library modules to be
3744         built.
3745         (module-cppflags): Include libc-modules.h for
3746         everything except shlib-versions.v.i.
3747         (CPPFLAGS): Use it.
3748         (before-compile): Add libc-modules.h.
3749         ($(common-objpfx)libc-modules.h,
3750         $(common-objpfx)libc-modules.stmp): New targets.
3751         (common-generated): Add libc-modules.h and libc-modules.stmp.
3752         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3753         * include/libc-symbols.h: Don't include libc-modules.h.
3754         * include/libc-modules.h: Remove file.
3755         * scripts/gen-libc-modules.awk: New script to generate
3756         libc-modules.h.
3757         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3758         Depend on libc-modules.stmp.
3759
3760         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3761
3762         * Makeconfig (in-module): Get value of libof set for the
3763         translation unit.
3764         (CPPFLAGS): Use $(in-module).
3765         * Makerules: Don't suffix routine names for nonlib.
3766         * include/libc-modules.h: New file.
3767         * include/libc-symbols.h: Include libc-modules.h
3768         (IS_IN): New macro to replace IS_IN_* macros.
3769         * elf/Makefile: Set libof-* for each routine.
3770         * elf/rtld-Rules: Likewise.
3771         * extra-modules.mk: Likewise.
3772         * iconv/Makefile: Likewise.
3773         * iconvdata/Makefile: Likewise.
3774         * locale/Makefile: Likewise.
3775         * malloc/Makefile: Likewise.
3776         * nss/Makefile: Likewise.
3777         * sysdeps/gnu/Makefile: Likewise.
3778         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3779         * sysdeps/unix/sysv/linux/Makefile: Likewise.
3780         * sysdeps/s390/s390-64/Makefile: Likewise.
3781         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
3782         CPPFLAGS for nscd instead of nonlib.
3783
3784 2014-11-18  Roland McGrath  <roland@hack.frob.com>
3785
3786         * nptl/createthread.c: New file.
3787
3788         * nptl/createthread.c: Moved ...
3789         * sysdeps/unix/sysv/linux/createthread.c: ... here.
3790
3791         * nptl/createthread.c: Add proper top-line comment.
3792         (do_clone): Folded into ...
3793         (create_thread): ... here.  Take new arguments STOPPED_START and
3794         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
3795         increment __nptl_threads, do event-reporting logic, do
3796         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3797         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
3798         resource cleanup if sched_setaffinity or sched_setscheduler fails,
3799         just send SIGCANCEL.
3800         * nptl/pthread_create.c: Forward-declare create_thread before
3801         including createthread.c.
3802         (start_thread): Use new macro START_THREAD_DEFN to replace defining
3803         declaration, and new macro START_THREAD_SELF to replace argument.
3804         Remove return statement.
3805         (report_thread_creation): New function.
3806         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
3807         synchronization logic, and __nptl_nthreads increment here, around
3808         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
3809         PD->parent_cancelhandling here, before create_thread.  When
3810         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3811         __deallocate_stack, and ENOMEM translation here.
3812
3813 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
3814
3815         [BZ #17616]
3816         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3817         (mptwo): Rename to __mptwo.
3818         (__inv): Use __mptwo instead of mptwo.
3819         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3820         (mptwo): Rename to __mptwo.
3821         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3822         of mpone and __mptwo instead of mptwo.
3823         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3824         instead of mpone.
3825         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3826         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3827         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3828         of mpone and __mptwo instead of mptwo.
3829         (__mpranred): Use __mpone instead of mpone.
3830         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3831         variable.
3832         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3833         (test-xfail-ISO99/math.h/linknamespace): Likewise.
3834         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3835         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3836         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3837         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3838         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3839         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3840         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3841         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3842         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3843         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3844         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3845         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3846         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3847         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3848         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3849         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3850         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3851
3852 2014-11-18  Tom de Vries  <tom@codesoucery.com>
3853
3854         * manual/signal.texi (Primitives Interrupted by Signals): In section,
3855         replace BSD Handler xref with BSD Signal Handling.
3856
3857 2014-11-17  Richard Henderson  <rth@redhat.com>
3858
3859         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3860         (_FP_PACK_RAW_2): Remove.
3861         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3862         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3863         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3864         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3865         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3866         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3867         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3868         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3869         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3870         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3871         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3872         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3873         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3874         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3875         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3876         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3877
3878 2014-11-14  Roland McGrath  <roland@hack.frob.com>
3879
3880         * signal/signal.h [__USE_MISC]
3881         (struct sigvec): Remove type.
3882         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3883         (sigvec): Remove declaration.
3884         * sysdeps/posix/sigvec.c: Moved ...
3885         * signal/sigvec.c: ... here, replacing old file.
3886         (struct sigvec): New type, copied from old signal.h definition.
3887         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3888         (__sigvec): Convert definition to prototype.
3889         (sigvec): Replace weak_alias with compat_symbol.
3890         * signal/Versions (libc: GLIBC_2.21): New version set.
3891         * include/signal.h: Remove __sigvec declaration.
3892         * sysdeps/unix/bsd/sigvec.c: Remove file.
3893         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3894         * manual/signal.texi (BSD Handler): Remove subsection.
3895         Move siginterrupt up to ...
3896         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
3897         (Blocking in BSD): Fold subsection into its parent.
3898         * NEWS: Mention sigvec removal.
3899
3900 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3901
3902         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3903         (DLA_FMS): Make definition conditional only on [__FMA4__].
3904         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3905         definition.
3906
3907         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3908         Make definition conditional only on [PROF].
3909         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3910         definition.
3911         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3912         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3913
3914         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3915         !__GNUC__].
3916         * include/signal.h (__sigpause): Move declaration above call to
3917         libc_hidden_proto.
3918         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3919         variable.
3920         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3921         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3922
3923 2014-11-14  David S. Miller  <davem@davemloft.net>
3924
3925         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3926         Define before including <string/memcpy.c> and <string/mempcpy.c>.
3927
3928 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
3929
3930         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3931         * configure: Regenerated.
3932         * manual/install.texi (Tools for Compilation): Document a
3933         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3934         compiler verified to work.
3935         * INSTALL: Regenerated.
3936
3937         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3938         redeclare with asm name.
3939         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3940         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3941         including <string.h>.
3942         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3943         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3944         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3945         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3946         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3947         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3948         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3949
3950 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
3951
3952         * stdlib/strtol.c (__strtol): Use prototype definition.
3953
3954         [BZ #17594]
3955         * stdlib/strtol.c (SYM__): New macro.
3956         (SYM__1): Likewise.
3957         (__strtol): Likewise.
3958         (strtol): Rename to __strtol and define as weak alias of
3959         __strtol.  Use libc_hidden_weak.
3960
3961 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3962
3963         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3964         Use numbered labels in inline assembly.
3965
3966 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3967
3968         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3969         Add setjmp LIBC_PROBE.
3970         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3971         Likewise.
3972         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3973         Add longjmp, longjmp_target LIBC_PROBE.
3974         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3975         Likewise.
3976
3977 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3978
3979         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3980         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3981         to get rid of unused variable warning.
3982
3983 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3984
3985         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3986         Check for unwind_backtrace ==  NULL only in SHARED case.
3987         (__backchain_backtrace): Compile only in SHARED case.
3988         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3989         Likewise.
3990         (__backchain_backtrace): Declare as static.
3991
3992 2014-11-12  Roland McGrath  <roland@hack.frob.com>
3993
3994         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3995         (__libc_multiple_threads_ptr): Variable moved ...
3996         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3997
3998 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
3999
4000         * conform/GlibcConform.pm: New file.
4001         * conform/conformtest.pl: Use GlibcConform module.
4002         * conform/linknamespace.pl: New file.
4003         * conform/list-header-symbols.pl: Likewise.
4004         * conform/Makefile (linknamespace-symlists-base): New variable.
4005         (linknamespace-symlists-tests): Likewise.
4006         (linknamespace-header-base): Likewise.
4007         (linknamespace-header-tests): Likewise.
4008         (tests-special): Add new tests.
4009         ($(linknamespace-symlists-tests)): New rule.
4010         (linknamespace-libs): New variable.
4011         ($(objpfx)symlist-stdlibs): New rule.
4012         ($(linknamespace-header-tests)): Likewise.
4013         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4014         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4015         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4016         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4017         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4018         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4019         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4020         (test-xfail-ISO/math.h/linknamespace): Likewise.
4021         (test-xfail-ISO/signal.h/linknamespace): Likewise.
4022         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4023         (test-xfail-ISO/time.h/linknamespace): Likewise.
4024         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4025         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4026         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4027         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4028         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4029         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4030         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4031         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4032         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4033         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4034         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4035         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4036         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4037         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4038         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4039         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4040         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4041         (test-xfail-XPG3/search.h/linknamespace): Likewise.
4042         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4043         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4044         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4045         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4046         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4047         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4048         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4049         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4050         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4051         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4052         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4053         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4054         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4055         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4056         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4057         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4058         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4059         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4060         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4061         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4062         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4063         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4064         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4065         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4066         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4067         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4068         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4069         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4070         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4071         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4072         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4073         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4074         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4075         (test-xfail-POSIX/time.h/linknamespace): Likewise.
4076         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4077         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4078         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4079         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4080         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4081         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4082         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4083         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4084         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4085         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4086         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4087         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4088         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4089         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4090         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4091         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4092         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4093         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4094         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4095         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4096         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4097         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4098         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4099         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4100         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4101         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4102         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4103         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4104         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4105         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4106         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4107         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4108         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4109         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4110         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4111         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4112         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4113         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4114         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4115         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4116         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4117         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4118         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4119         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4120         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4121         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4122         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4123         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4124         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4125         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4126         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4127         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4128         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4129         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4130         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4131         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4132         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4133         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4134         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4135         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4136         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4137         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4138         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4139         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4140         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4141         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4142         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4143         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4144         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4145         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4146         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4147         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4148         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4149         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4150         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4151         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4152         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4153         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4154         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4155         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4156         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4157         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4158         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4159         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4160         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4161         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4162         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4163         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4164         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4165         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4166         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4167         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4168         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4169         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4170         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4171         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4172         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4173         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4174
4175         [BZ #17589]
4176         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4177         of fgets_unlocked.
4178
4179         [BZ #17585]
4180         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4181         (memmem): Rename to __memmem and define as weak alias of
4182         __memmem.  Use libc_hidden_weak.
4183         (__memmem): Use libc_hidden_def.
4184         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
4185         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4186         memmem.
4187
4188         [BZ #17582]
4189         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4190         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
4191         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4192         and define as weak alias of __fgets_unlocked.  Use
4193         libc_hidden_weak.
4194         (__fgets_unlocked): Use libc_hidden_def.
4195         * include/stdio.h (__fgets_unlocked): Declare.  Use
4196         libc_hidden_proto.
4197         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4198         __fgets_unlocked instead of fgets_unlocked.
4199         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4200         (GET_NPROCS_CONF_PARSER): Likewise.
4201         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4202         (GET_NPROCS_CONF_PARSER): Likewise.
4203
4204         [BZ #17574]
4205         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4206         weak alias of __wmemset.  Use libc_hidden_weak.
4207         (__wmemset): Use libc_hidden_def.
4208         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
4209         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4210         of wmemset.
4211
4212         [BZ #17573]
4213         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4214         with asm name __mempcpy.
4215         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4216
4217         [BZ #17572]
4218         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4219         and define as weak alias of __rawmemchr.
4220         (__rawmemchr): Do not define as strong alias of rawmemchr.
4221
4222         [BZ #17571]
4223         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4224         alias of __qsort_r.
4225         (qsort): Call __qsort_r instead of qsort_r.
4226         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4227         (__qsort_r): Declare.  Call libc_hidden_proto.
4228         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4229         instead of qsort_r.
4230         * nscd/gai.c (__qsort_r): Define to qsort_r.
4231         * posix/tst-rfc3484.c (__qsort_r): Likewise.
4232         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4233         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4234
4235         [BZ #17570]
4236         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4237         define as weak alias of __malloc_info.
4238
4239         [BZ #17584]
4240         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4241         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4242         (__rewinddir): Use libc_hidden_def.
4243         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4244         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4245         (__rewinddir): Use libc_hidden_def.
4246         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4247         weak alias of __rewinddir.  Don't use libc_hidden_def.
4248         (__rewinddir): Use libc_hidden_def.
4249         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4250         (__rewinddir): Use libc_hidden_proto.
4251         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4252         rewinddir.
4253         (__getcwd): Use __rewinddir instead of rewinddir.
4254
4255         [BZ #17583]
4256         * libio/fileno.c (fileno): Rename to __fileno and define as weak
4257         alias of __fileno.  Use libc_hidden_weak.
4258         (__fileno): Use libc_hidden_def.
4259         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4260         * libio/ftello.c (ftello): Rename to __ftello and define as weak
4261         alias of __ftello.
4262         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4263         __ftello.
4264         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4265         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
4266         libc_hidden_def.
4267         (fread_unlocked): Don't use libc_hidden_ver.
4268         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4269         and define as weak alias of __fread_unlocked.  Don't use
4270         libc_hidden_def.
4271         (__fread_unlocked): Use libc_hidden_def.
4272         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
4273         (ftello): Don't use libc_hidden_proto.
4274         (__ftello): Declare.  Use libc_hidden_proto.
4275         (fread_unlocked): Don't use libc_hidden_proto.
4276         (__fread_unlocked): Declare.  Use libc_hidden_proto.
4277         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4278         and __ftello instead of fileno, fread_unlocked and ftello.
4279
4280 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4281
4282         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4283         GOT12.
4284         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4285         Likewise.
4286         (_dl_start_user): Likewise.
4287         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4288
4289 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
4290             Siddhesh Poyarekar  <siddhesh@redhat.com>
4291
4292         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4293         Move argv and envp down instead of moving argc up.
4294         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4295
4296 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
4297
4298         [BZ #17506]
4299         * test-skeleton.c (main): Return successful if one of
4300         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4301         * string/tst-strcoll-overflow.c: Define expected status.
4302
4303 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
4304
4305         [BZ #17475]
4306         * locale/iso-639.def: Define Bhili and Tulu language codes.
4307
4308 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
4309
4310         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4311
4312 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
4313
4314         [BZ #17555]
4315         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4316
4317 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4318
4319         * configure.ac: Updated check of minimal required version to
4320         2.22.
4321         * manual/install.texi (Tools for Compilation): Updated version
4322         number.
4323         * configure: Regenerated.
4324         * INSTALL: Likewise.
4325
4326 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
4327
4328         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4329         __tls_get_addr.
4330
4331 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
4332
4333         * include/sys/wait.h (__libc_waitpid): Remove declaration.
4334         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4335         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4336         libc_hidden_weak.
4337         (waitpid): Define as alias of __waitpid.
4338         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4339         __waitpid.
4340         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4341         libc_hidden_weak.
4342         (waitpid): Define as alias of __waitpid.
4343         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4344         __libc_waitpid alias.
4345         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4346         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4347         Likewise.
4348         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4349         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4350         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4351         alias.
4352         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4353         __waitpid.
4354         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4355         libc_hidden_weak.
4356         (waitpid): Define as alias of __waitpid.
4357
4358 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
4359
4360         * manual/llio.texi: Add comment that write safety has been
4361         fixed in Linux.
4362
4363         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4364         (localplt-build-dso): Add elf/ld.so.
4365         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4366         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4367         and free for ld.so.
4368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4369         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4371         Likewise.
4372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4373         Likewise.
4374         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4375         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4376         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4377         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4378         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4379         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4380         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4381         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4382         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4383         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4384         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4385
4386 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
4387
4388         [BZ #14132]
4389         * include/libc-symbols.h (INTUSE): Remove macro.
4390         (INTDEF): Likewise.
4391         (INTVARDEF): Likewise.
4392         (_INTVARDEF): Likewise.
4393         (INTDEF2): Likewise.
4394         (INTVARDEF2): Likewise.
4395         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4396         rtld_hidden_def instead of INTVARDEF.
4397         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4398         (_dl_starting_up_internal): Remove declaration.
4399         (_dl_starting_up): Use rtld_hidden_proto.
4400         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4401         declaration.
4402         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4403         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4404         _dl_starting_up.
4405         * elf/dl-writev.h (_dl_writev): Likewise.
4406         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4407         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4408         _dl_starting_up_internal.
4409
4410 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4411
4412         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4413         test-skeleton.c.
4414
4415 2014-11-05  Will Newton  <will.newton@linaro.org>
4416
4417         * benchtests/Makefile: (bench-malloc): Add malloc thread
4418         scalability benchmark.
4419         * benchtests/bench-malloc-threads.c: New file.
4420
4421 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
4422
4423         * sysdeps/aarch64/strchrnul.S: New file.
4424
4425 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4426
4427         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4428         definition.
4429         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4430         Likwise.
4431         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4432         Likewise.
4433         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4434         Likewise.
4435         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4436         Likewise.
4437         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4438         Likewise.
4439
4440 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
4441
4442         * catgets/test-gencat.c: Use test-skeleton.c.
4443         * catgets/tst-catgets.c: Likewise.
4444         * csu/tst-empty.c: Likewise.
4445         * elf/tst-audit2.c: Likewise.
4446         * elf/tst-global1.c: Likewise.
4447         * elf/tst-pathopt.c: Likewise.
4448         * elf/tst-piemod1.c: Likewise.
4449         * elf/tst-tls10.c: Likewise.
4450         * elf/tst-tls11.c: Likewise.
4451         * elf/tst-tls12.c: Likewise.
4452         * gnulib/tst-gcc.c: Likewise.
4453         * iconvdata/tst-e2big.c: Likewise.
4454         * iconvdata/tst-loading.c: Likewise.
4455         * iconv/tst-iconv1.c: Likewise.
4456         * iconv/tst-iconv2.c: Likewise.
4457         * inet/test-inet6_opt.c: Likewise.
4458         * inet/tst-gethnm.c: Likewise.
4459         * inet/tst-network.c: Likewise.
4460         * inet/tst-ntoa.c: Likewise.
4461         * intl/tst-codeset.c: Likewise.
4462         * intl/tst-gettext2.c: Likewise.
4463         * intl/tst-gettext3.c: Likewise.
4464         * intl/tst-ngettext.c: Likewise.
4465         * intl/tst-translit.c: Likewise.
4466         * io/test-stat.c: Likewise.
4467         * libio/test-fmemopen.c: Likewise.
4468         * libio/tst-freopen.c: Likewise.
4469         * libio/tst-sscanf.c: Likewise.
4470         * libio/tst-ungetwc1.c: Likewise.
4471         * libio/tst-ungetwc2.c: Likewise.
4472         * libio/tst-widetext.c: Likewise.
4473         * localedata/tst-ctype.c: Likewise.
4474         * localedata/tst-digits.c: Likewise.
4475         * localedata/tst-leaks.c: Likewise.
4476         * localedata/tst-mbswcs1.c: Likewise.
4477         * localedata/tst-mbswcs2.c: Likewise.
4478         * localedata/tst-mbswcs3.c: Likewise.
4479         * localedata/tst-mbswcs4.c: Likewise.
4480         * localedata/tst-mbswcs5.c: Likewise.
4481         * localedata/tst-setlocale.c: Likewise.
4482         * localedata/tst-trans.c: Likewise.
4483         * localedata/tst-wctype.c: Likewise.
4484         * localedata/tst-xlocale1.c: Likewise.
4485         * login/tst-grantpt.c: Likewise.
4486         * malloc/tst-calloc.c: Likewise.
4487         * malloc/tst-malloc.c: Likewise.
4488         * malloc/tst-mallocstate.c: Likewise.
4489         * malloc/tst-mcheck.c: Likewise.
4490         * malloc/tst-mtrace.c: Likewise.
4491         * malloc/tst-obstack.c: Likewise.
4492         * math/atest-exp2.c: Likewise.
4493         * math/atest-exp.c: Likewise.
4494         * math/atest-sincos.c: Likewise.
4495         * math/test-matherr.c: Likewise.
4496         * math/test-misc.c: Likewise.
4497         * math/test-powl.c: Likewise.
4498         * math/tst-definitions.c: Likewise.
4499         * misc/tst-dirname.c: Likewise.
4500         * misc/tst-efgcvt.c: Likewise.
4501         * misc/tst-fdset.c: Likewise.
4502         * misc/tst-hsearch.c: Likewise.
4503         * misc/tst-mntent2.c: Likewise.
4504         * nptl/tst-sem7.c: Likewise.
4505         * nptl/tst-sem8.c: Likewise.
4506         * nptl/tst-sem9.c: Likewise.
4507         * nss/test-netdb.c: Likewise.
4508         * posix/tst-fnmatch.c: Likewise.
4509         * posix/tst-getlogin.c: Likewise.
4510         * posix/tst-gnuglob.c: Likewise.
4511         * posix/tst-mmap.c: Likewise.
4512         * pwd/tst-getpw.c: Likewise.
4513         * resolv/tst-inet_ntop.c: Likewise.
4514         * rt/tst-timer.c: Likewise.
4515         * stdio-common/test-fseek.c: Likewise.
4516         * stdio-common/test-popen.c: Likewise.
4517         * stdio-common/test-vfprintf.c: Likewise.
4518         * stdio-common/tst-cookie.c: Likewise.
4519         * stdio-common/tst-fileno.c: Likewise.
4520         * stdio-common/tst-gets.c: Likewise.
4521         * stdio-common/tst-obprintf.c: Likewise.
4522         * stdio-common/tst-perror.c: Likewise.
4523         * stdio-common/tst-sprintf2.c: Likewise.
4524         * stdio-common/tst-sprintf3.c: Likewise.
4525         * stdio-common/tst-sprintf.c: Likewise.
4526         * stdio-common/tst-swprintf.c: Likewise.
4527         * stdio-common/tst-tmpnam.c: Likewise.
4528         * stdio-common/tst-unbputc.c: Likewise.
4529         * stdio-common/tst-wc-printf.c: Likewise.
4530         * stdlib/tst-environ.c: Likewise.
4531         * stdlib/tst-fmtmsg.c: Likewise.
4532         * stdlib/tst-limits.c: Likewise.
4533         * stdlib/tst-rand48-2.c: Likewise.
4534         * stdlib/tst-rand48.c: Likewise.
4535         * stdlib/tst-random2.c: Likewise.
4536         * stdlib/tst-random.c: Likewise.
4537         * stdlib/tst-strtol.c: Likewise.
4538         * stdlib/tst-strtoll.c: Likewise.
4539         * stdlib/tst-tls-atexit.c: Likewise.
4540         * stdlib/tst-xpg-basename.c: Likewise.
4541         * string/test-ffs.c: Likewise.
4542         * string/tst-bswap.c: Likewise.
4543         * string/tst-inlcall.c: Likewise.
4544         * string/tst-strtok.c: Likewise.
4545         * string/tst-strxfrm.c: Likewise.
4546         * sysdeps/x86_64/tst-audit10.c: Likewise.
4547         * sysdeps/x86_64/tst-audit3.c: Likewise.
4548         * sysdeps/x86_64/tst-audit4.c: Likewise.
4549         * sysdeps/x86_64/tst-audit5.c: Likewise.
4550         * time/tst-ftime_l.c: Likewise.
4551         * time/tst-getdate.c: Likewise.
4552         * time/tst-mktime3.c: Likewise.
4553         * time/tst-mktime.c: Likewise.
4554         * time/tst-posixtz.c: Likewise.
4555         * time/tst-strptime2.c: Likewise.
4556         * time/tst-strptime3.c: Likewise.
4557         * wcsmbs/tst-btowc.c: Likewise.
4558         * wcsmbs/tst-mbrtowc.c: Likewise.
4559         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4560         * wcsmbs/tst-wchar-h.c: Likewise.
4561         * wcsmbs/tst-wcpncpy.c: Likewise.
4562         * wcsmbs/tst-wcrtomb.c: Likewise.
4563         * wcsmbs/tst-wcsnlen.c: Likewise.
4564         * wcsmbs/tst-wcstof.c: Likewise.
4565
4566 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
4567
4568         [BZ #14132]
4569         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4570         INTDEF.
4571         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4572         declaration.
4573         (_dl_mcount): Use rtld_hidden_proto.
4574         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4575         _dl_mcount.
4576         * elf/rtld.c (_rtld_global_ro): Likewise.
4577
4578         [BZ #14132]
4579         * elf/dl-init.c (_dl_init): Don't use INTDEF.
4580         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4581         of _dl_init_internal.
4582         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4583         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4584         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4585         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4586         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4587         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4588         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4589         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4590         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4591         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4592         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4593         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4594         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4595         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4596         * sysdeps/tile/dl-start.S (_start): Likewise.
4597         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4598         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4599
4600         [BZ #14132]
4601         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4602         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4603         (rtld_progname): Make macro definition unconditional.
4604         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4605         INTDEF.
4606         (dlmopen_doit): Do not use INTUSE with _dl_argv.
4607         (dl_main): Likewise.
4608         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4609         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4610         instead of _dl_argv_internal.
4611         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4612         __GI__dl_argv instead of INTUSE(_dl_argv).
4613         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4614         __GI__dl_argv instead of _dl_argv_internal.
4615
4616         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4617         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4618         macro.
4619         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4620         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4621         New macro.
4622         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4623         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4624         macro.
4625         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4626         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4627
4628 2014-11-04  Andreas Schwab  <schwab@suse.de>
4629
4630         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4631
4632 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4633
4634         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4635         mtvsrd instruction in binary form.
4636
4637 2014-11-03  Andreas Schwab  <schwab@suse.de>
4638
4639         [BZ #17522]
4640         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4641         for less than MB_LEN_MAX use a local buffer of that size.
4642         * libio/tst-fputws.c: New file.
4643         * libio/Makefile (tests): Add tst-fputws.
4644
4645 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
4646
4647         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4648         the size of the fpu_fr.fpu_dregs[] array.
4649
4650 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
4651
4652         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4653         (__nanosleep): Do not define as alias.
4654         (nanosleep): Define as alias of __nanosleep.
4655         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4656         __libc_nanosleep name.
4657
4658 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4659
4660         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4661         install.texi in comment.
4662
4663 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4664
4665         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4666         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4667         ... add here and use lwsync or sync ...
4668         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4669         ... and add here using lwsync.
4670
4671 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
4672
4673         * elf/dl-machine-reject-phdr.h: New file.
4674         * elf/dl-load.c: #include that.
4675         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4676         if that returned true.
4677
4678 2014-10-31  Roland McGrath  <roland@hack.frob.com>
4679
4680         [BZ #17496]
4681         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4682         gen-as-const-headers chunk.  Add a big scare comment after the last
4683         safe place to touch before-compile.
4684
4685 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4686
4687         * manual/install.texi (Tools for Compilation): Update autoconf
4688         version requirements.
4689         * INSTALL: Regenerated.
4690
4691         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4692         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4693         (__libc_pselect): Likewise.
4694
4695         [BZ #14138]
4696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4700
4701 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4702
4703         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4704         correct barrier instruction.
4705         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4706         Likewise.
4707         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4708         Likewise.
4709
4710 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4711
4712         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4713         after defining inlines.  Instead, just use parens to defeat macro
4714         expansion of __isctype in its declaration.
4715
4716 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4717
4718         * include/sys/uio.h (__libc_readv): Remove declaration.
4719         (__libc_writev): Likewise.
4720         * misc/readv.c (__libc_readv): Rename to __readv.
4721         (__readv): Do not define as alias.
4722         (readv): Define as alias of __readv.
4723         * misc/writev.c (__libc_writev): Rename to __writev.
4724         (__writev): Do not define as alias.
4725         (writev): Define as alias of __writev.
4726         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4727         (__readv): Do not define as alias.
4728         (readv): Define unconditionally as alias of __readv.
4729         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4730         (__writev): Do not define as alias.
4731         (writev): Define unconditionally as alias of __writev.
4732         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4733         name.
4734         (writev): Do not define __libc_writev name.
4735
4736 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4737
4738         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4739         (convert_charseq): New function, broken out of ...
4740         (use_from_charmap): ... here.  Call it.
4741         (use_to_charmap): Use convert_charseq and free instead of duplicating
4742         its code with a variable-length stack struct.
4743
4744 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4745
4746         * include/fcntl.h (__libc_creat): Remove declaration.
4747         * io/creat.c (__libc_creat): Rename to creat.
4748         (creat): Do not define as alias.
4749         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4750         of creat instead of __libc_creat.
4751         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4752         to creat.
4753         (creat): Do not define as alias.
4754         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4755         __libc_creat.
4756         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4757         __libc_creat name.
4758         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4759         Likewise.
4760
4761 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
4762
4763         * manual/llio.texi: Add comments discussing why write() may be
4764         considered MT-unsafe on Linux.
4765
4766 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
4767
4768         * dl-load.c (local_strdup): Remove.
4769         (expand_dynamic_string_token): Use __strdup.
4770         (decompose_rpath): Likewise.
4771         (_dl_map_object): Likewise.
4772
4773 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
4774
4775         [BZ #14132]
4776         * sysdeps/generic/unwind-dw2-fde.c
4777         (__register_frame_info_bases_internal): Do not declare.
4778         (__register_frame_info_table_bases_internal): Likewise.
4779         (__deregister_frame_info_bases_internal): Likewise.
4780         (__register_frame_info_bases): Declare and use hidden_proto before
4781         definition.  Use hidden_def instead of INTDEF.
4782         (__register_frame_info_table_bases): Likewise.
4783         (__deregister_frame_info_bases): Likewise.
4784         (__register_frame_info): Do not use INTUSE.
4785         (__register_frame): Likewise.
4786         (__register_frame_info_table): Likewise.
4787         (__register_frame_table): Likewise.
4788         (__deregister_frame_info): Likewise.
4789         (__deregister_frame): Likewise.
4790
4791 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
4792
4793         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4794         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4795         not undefine.
4796         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4797         Likewise.
4798         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4799         Likewise.
4800
4801 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
4802
4803         [BZ #14138]
4804         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4805         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4806         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4807         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4808         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4809         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4810         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4811         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4812         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4813         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4814         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4815         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4816         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4817         syscall.
4818         (setfsuid): Likewise.
4819         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4820         (setfsuid): Likewise.
4821         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4822         (setfsuid): Likewise.
4823         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4824         Likewise.
4825         (setfsuid): Likewise.
4826         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4827         (setfsuid): Likewise.
4828         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4829         Likewise.
4830         (setfsuid): Likewise.
4831
4832 2014-10-27  Andreas Schwab  <schwab@suse.de>
4833
4834         [BZ #17501]
4835         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4836         check for Slow_SSE4_2 feature bit.
4837         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4838         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4839         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4840         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
4841
4842 2014-10-24  Roland McGrath  <roland@hack.frob.com>
4843
4844         * configure.ac: Validate compiler version with a empirical test of
4845         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4846         $CC -v output.
4847         * configure: Regenerated.
4848
4849         * inet/htons.c (htons): Prototypify.
4850         * inet/htonl.c (htonl): Likewise.
4851
4852 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4853
4854         * string/strncat.c (strncat): Improve performance by using strlen.
4855
4856 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4857
4858         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4859
4860 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4861
4862         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4863         Call libc_fetestexcept_aarch64.
4864
4865 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4866
4867         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4868         Call libc_feholdexcept_aarch64.
4869
4870 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4871
4872         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4873         Call get_rounding_mode.
4874
4875 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4876
4877         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4878         Simplify logic.
4879
4880 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
4881
4882         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4883         Simplify logic.
4884
4885 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
4886
4887         [BZ #14138]
4888         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4889         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4890         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4891         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4892         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4893         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4894         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4895         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4896         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4897         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4898         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4899         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4900         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4901         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4902         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4903         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4904         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4905         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4906         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4907         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4908         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4909         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4910         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4911         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4912         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4913         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4914         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4915         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4916         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4917         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4918         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4919         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4920         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4921         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4922         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4923         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4924         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4925         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4926         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4927         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4928         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4929         syscall.
4930         (geteuid): Likewise.
4931         (getgid): Likewise.
4932         (getuid): Likewise.
4933         (getresgid): Likewise.
4934         (getresuid): Likewise.
4935         (getgroups): Likewise.
4936         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4937         (geteuid): Likewise.
4938         (getgid): Likewise.
4939         (getuid): Likewise.
4940         (getresgid): Likewise.
4941         (getresuid): Likewise.
4942         (getgroups): Likewise.
4943         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4944         (geteuid): Likewise.
4945         (getgid): Likewise.
4946         (getuid): Likewise.
4947         (getresgid): Likewise.
4948         (getresuid): Likewise.
4949         (getgroups): Likewise.
4950         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4951         Likewise.
4952         (geteuid): Likewise.
4953         (getgid): Likewise.
4954         (getuid): Likewise.
4955         (getresgid): Likewise.
4956         (getresuid): Likewise.
4957         (getgroups): Likewise.
4958         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4959         (geteuid): Likewise.
4960         (getgid): Likewise.
4961         (getuid): Likewise.
4962         (getresgid): Likewise.
4963         (getresuid): Likewise.
4964         (getgroups): Likewise.
4965         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4966         Likewise.
4967         (geteuid): Likewise.
4968         (getgid): Likewise.
4969         (getuid): Likewise.
4970         (getgroups): Likewise.
4971
4972         [BZ #14138]
4973         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4974         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4975         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4976         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4977         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4978         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4979         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4980         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4981         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4982         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4983         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4984         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4985         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4986         __chown.
4987         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4988         (lchown): Likewise.
4989         (fchown): Likewise.
4990         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4991         Likewise.
4992         (lchown): Likewise.
4993         (fchown): Likewise.
4994         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4995         (lchown): Likewise.
4996         (fchown): Likewise.
4997         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4998         Likewise.
4999         (lchown): Likewise.
5000         (fchown): Likewise.
5001
5002 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5003
5004         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5005         Simplify logic.
5006
5007 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5008
5009         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5010         Cleanup logic.
5011
5012 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5013
5014         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5015         Remove unused include.
5016
5017 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5018
5019         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5020         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5021         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5022         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5023
5024 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
5025             Helge Deller <deller@gmx.de>
5026
5027         [BZ #17508]
5028         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5029         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5030         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5031
5032 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
5033
5034         [BZ #14132]
5035         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5036         Remove macro definition.
5037         (__ashrdi3_v_glibc20): Likewise.
5038         (__lshrdi3_v_glibc20): Likewise.
5039         (__cmpdi2_v_glibc20): Likewise.
5040         (__ucmpdi2_v_glibc20): Likewise.
5041         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5042         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5043         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5044         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5045         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5046         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5047
5048 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5049
5050         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5051         old GNU extension [0] syntax.
5052         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5053         alloca rather than an array member with variable length.
5054         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5055         * nscd/nscd.c (invalidate_db): New function, broken out of ...
5056         (parse_opt): ... here.  Likewise use alloca there.
5057         Validate the -i argument before checking for rootness.
5058         (send_shutdown): New function, broken out of ...
5059         (parse_opt): ... here.
5060
5061 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5062
5063         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5064         macro to get at the _rt_local_ro field.
5065         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5066         ([PIC] case) or _dl_hwcap ([!PIC] case).
5067         * sysdeps/arm/setjmp.S: Likewise.
5068
5069         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5070         * sysdeps/arm/configure.ac: New check to define it.
5071         * sysdeps/arm/configure: Regenerated.
5072         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5073         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5074         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5075         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5076         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5077         Use move/movt pair instead of a load.
5078         (LDST_GLOBAL): Macro removed.
5079         (LDR_GLOBAL): New macro replaces it.
5080         (LDR_HIDDEN): New macro.
5081         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5082         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5083
5084         * setjmp/tst-setjmp-static.c: New file.
5085         * setjmp/Makefile (tests): Add it.
5086         (tests-static): New variable.
5087
5088 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
5089
5090         [BZ #17485]
5091         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5092
5093 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
5094
5095         [BZ #14132]
5096         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5097
5098 2014-10-21  Roland McGrath  <roland@hack.frob.com>
5099
5100         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5101
5102 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5103
5104         * io/fts.c (dirent_not_directory): New function.
5105         (fts_build): Call it.
5106
5107 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5108
5109         * nptl/version.c (__nptl_main): Use normal __write rather than
5110         INTERNAL_SYSCALL.
5111         (banner): Update copyright years.
5112
5113         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5114         gettimeofday.
5115         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5116         * nptl/pthread_cond_timedwait.c: Likewise.
5117         * nptl/pthread_mutex_timedlock.c: Likewise.
5118         * nptl/sem_timedwait.c: Likewise.
5119
5120         * sysdeps/nptl/bits/libc-lock.h
5121         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5122         (__libc_lock_init_recursive): Return void, not 0.
5123         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5124         (__libc_rwlock_init): Likewise.
5125         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5126
5127 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5128
5129         [BZ #15215]
5130         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5131         (__pthread_once_slow): ... here.
5132         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5133         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5134
5135 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5136
5137         [BZ #15215]
5138         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5139         __PTHREAD_ONCE_FORK_GEN_INCR): New.
5140         * sysdeps/nptl/fork.c (__libc_fork): Use them.
5141         * nptl/pthread_once.c (__pthread_once): Likewise.
5142         Update comments.
5143
5144 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
5145
5146         [BZ #14138]
5147         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5148         name.
5149         (writev): Use __libc_writev as strong name.
5150         * sysdeps/unix/sysv/linux/readv.c: Remove file.
5151         * sysdeps/unix/sysv/linux/writev.c: Likewise.
5152
5153 2014-10-17  Roland McGrath  <roland@hack.frob.com>
5154
5155         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5156
5157         * sysdeps/i386/nptl/tls.h
5158         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5159         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5160         New macros.
5161         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5162         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5163         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5164         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5165         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5166         Call CHECK_THREAD_SYSINFO instead of doing an assert.
5167
5168         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5169         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5170         on [__NR_futex].
5171         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5172         broken out of ...
5173         (__pthread_mutex_init): ... here.  Call it.
5174         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5175         Conditionalize PI cases on [__NR_futex].
5176         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5177         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5178         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5179
5180         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5181         conditional on [SIGSETXID].
5182         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5183         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5184         is defined.  Likewise for SIGSETXID.
5185         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5186         Conditionalize definitions on [SIGSETXID].
5187         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5188         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5189         unblocking on [SIGCANCEL].
5190
5191         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5192         [__NR_set_robust_list].
5193
5194 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5195
5196         * string/strcoll_l.c (get_next_seq): Fix up formatting.
5197         (do_compare): Likewise.
5198
5199 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
5200
5201         [BZ #15884]
5202         * string/strcoll_l.c: Don't include stdio.h.
5203         (coll_seq): Remove members idxarr and rulearr.
5204         (get_next_seq_cached): Remove function.
5205         (get_next_seq): Likewise.
5206         (get_next_seq_nocache): Rename to get_next_seq.
5207         (do_compare): Remove function.
5208         (do_compare_nocache): Rename to do_compare.
5209         (STRCOLL): Remove weight and rules cache.
5210
5211 2014-10-16  Roland McGrath  <roland@hack.frob.com>
5212
5213         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5214         * sysdeps/arm/sfp-machine.h: ... to here.
5215         * sysdeps/arm/Implies: Remove arm/soft-fp.
5216
5217 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
5218
5219         * conform/data/sys/utsname.h-data (*_t): Allow.
5220         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5221         [POSIX] (WEXITED): Do not expect constant.
5222         [POSIX] (WSTOPPED): Likewise.
5223         [POSIX] (WNOHANG): Likewise.
5224         [POSIX] (WNOWAIT): Likewise.
5225         [POSIX] (siginfo_t): Do not expect type or elements.
5226         [POSIX] (pid_t): Do not expect type.
5227         [POSIX] (signal.h): Do not allow header.
5228         [POSIX] (sys/resource.h): Likewise.
5229         [POSIX] (si_*): Do not allow pattern.
5230         [POSIX] (W*): Likewise.
5231         [POSIX] (P_*): Likewise.
5232         [POSIX] (BUS_*): Likewise.
5233         [POSIX] (CLD_*): Likewise.
5234         [POSIX] (FPE_*): Likewise.
5235         [POSIX] (ILL_*): Likewise.
5236         [POSIX] (POLL_*): Likewise.
5237         [POSIX] (SEGV_*): Likewise.
5238         [POSIX] (SI_*): Likewise.
5239         [POSIX] (TRAP_*): Likewise.
5240         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5241         variable.
5242
5243 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5244
5245         [BZ #12926]
5246         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5247         infinite loop when __recvmsg returns 0.
5248
5249 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
5250
5251         * CANCEL-FCT-WAIVE: Remove file.
5252         * CANCEL-FILE-WAIVE: Likewise.
5253
5254         [BZ #14132]
5255         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5256         instead of INTVARDEF.
5257         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5258         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5259         rtld_hidden_data_def instead of INTVARDEF.
5260         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5261         * elf/dl-deps.c (expand_dst): Likewise.
5262         * elf/dl-load.c (_dl_dst_count): Likewise.
5263         (_dl_dst_substitute): Likewise.
5264         (decompose_rpath): Likewise.
5265         (_dl_init_paths): Likewise.
5266         (open_path): Likewise.
5267         (_dl_map_object): Likewise.
5268         * elf/rtld.c (dl_main): Likewise.
5269         (process_dl_audit): Likewise.
5270         (process_envvars): Likewise.
5271         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5272         Remove declaration.
5273         (__libc_enable_secure): Use rtld_hidden_proto.
5274
5275 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5276
5277         * elf/dl-load.c
5278         (add_path): New function broken out of _dl_rtld_di_serinfo.
5279         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
5280
5281 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5282
5283         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5284         parentheses around macro arguments.
5285         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5286         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5287         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5288         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5289         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5290         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5291         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5292         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5293         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5294         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5295         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5296         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5297         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5298         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5299         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5300         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5301         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5302         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5303         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5304         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5305         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5306         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5307         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5308         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5309         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5310         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5311         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5312         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5313         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5314         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5315         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5316         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5317         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5318         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5319         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5320         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5321         Likewise.
5322         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5323         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5324         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5325         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5326         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5327         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5328         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5329         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5330         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5331         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5332         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5333         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5334         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5335         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5336         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5337         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5338         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5339         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5340         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5341         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5342         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5343         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5344         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5345         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5346         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5347         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5348         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5349         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5350         (_FP_FRAC_SRS_1): Likewise.
5351         (_FP_FRAC_CLZ_1): Likewise.
5352         (_FP_MUL_MEAT_1_imm): Likewise.
5353         (_FP_MUL_MEAT_1_wide): Likewise.
5354         (_FP_MUL_MEAT_1_hard): Likewise.
5355         (_FP_SQRT_MEAT_1): Likewise.
5356         (_FP_FRAC_ASSEMBLE_1): Likewise.
5357         (_FP_FRAC_DISASSEMBLE_1): Likewise.
5358         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5359         (__FP_CLZ_2): Likewise.
5360         (_FP_MUL_MEAT_2_wide): Likewise.
5361         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5362         (_FP_MUL_MEAT_2_gmp): Likewise.
5363         (_FP_MUL_MEAT_2_120_240_double): Likewise.
5364         (_FP_SQRT_MEAT_2): Likewise.
5365         (_FP_FRAC_ASSEMBLE_2): Likewise.
5366         (_FP_FRAC_DISASSEMBLE_2): Likewise.
5367         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5368         (_FP_FRAC_CLZ_4): Likewise.
5369         (_FP_MUL_MEAT_4_wide): Likewise.
5370         (_FP_MUL_MEAT_4_gmp): Likewise.
5371         (_FP_SQRT_MEAT_4): Likewise.
5372         (_FP_FRAC_ASSEMBLE_4): Likewise.
5373         (_FP_FRAC_DISASSEMBLE_4): Likewise.
5374         * soft-fp/op-common.h (_FP_CMP): Likewise.
5375         (_FP_CMP_EQ): Likewise.
5376         (_FP_CMP_UNORD): Likewise.
5377         (_FP_TO_INT): Likewise.
5378         (_FP_FROM_INT): Likewise.
5379         [!__FP_CLZ] (__FP_CLZ): Likewise.
5380         (_FP_DIV_HELP_imm): Likewise.
5381         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5382         Likewise.
5383         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5384         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5385         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5386         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5387         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5388         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5389         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5390         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5391         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5392         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5393         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5394         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5395         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5396         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5397         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5398         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5399         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5400         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5401         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5402         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5403         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5404         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5405         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5406         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5407         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5408         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5409         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5410         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5411         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5412         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5413         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5414         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5415         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5416         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5417         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5418         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5419         (FP_UNPACK_RAW_SP): Likewise.
5420         (FP_PACK_RAW_S): Likewise.
5421         (FP_PACK_RAW_SP): Likewise.
5422         (FP_UNPACK_S): Likewise.
5423         (FP_UNPACK_SP): Likewise.
5424         (FP_UNPACK_SEMIRAW_S): Likewise.
5425         (FP_UNPACK_SEMIRAW_SP): Likewise.
5426         (FP_PACK_S): Likewise.
5427         (FP_PACK_SP): Likewise.
5428         (FP_PACK_SEMIRAW_S): Likewise.
5429         (FP_PACK_SEMIRAW_SP): Likewise.
5430         (_FP_SQRT_MEAT_S): Likewise.
5431         (FP_CMP_S): Likewise.
5432         (FP_CMP_EQ_S): Likewise.
5433         (FP_CMP_UNORD_S): Likewise.
5434         (FP_TO_INT_S): Likewise.
5435         (FP_FROM_INT_S): Likewise.
5436
5437         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5438
5439         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5440         (FP_EX_INVALID_IMZ): Likewise.
5441         (FP_EX_INVALID_IMZ_FMA): Likewise.
5442         (FP_EX_INVALID_ISI): Likewise.
5443         (FP_EX_INVALID_ZDZ): Likewise.
5444         (FP_EX_INVALID_IDI): Likewise.
5445         (FP_EX_INVALID_SQRT): Likewise.
5446         (FP_EX_INVALID_CVI): Likewise.
5447         (FP_EX_INVALID_VC): Likewise.
5448         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5449         "invalid" exceptions.
5450         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5451         (_FP_ADD_INTERNAL): Likewise.
5452         (_FP_MUL): Likewise.
5453         (_FP_FMA): Likewise.
5454         (_FP_DIV): Likewise.
5455         (_FP_CMP_CHECK_NAN): Likewise.
5456         (_FP_SQRT): Likewise.
5457         (_FP_TO_INT): Likewise.
5458         (FP_EXTEND): Likewise.
5459
5460 2014-10-09  Allan McRae  <allan@archlinux.org>
5461
5462         * po/fr.po: Update French translation from translation project.
5463
5464 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5465
5466         [BZ #14132]
5467         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5468         of INTDEF.
5469         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5470         (__cxa_atexit): Use libc_hidden_proto.
5471         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5472
5473         [BZ #14132]
5474         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5475         declaration.
5476         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5477         [!_ISOMAC] (__iswspace_l_internal): Likewise.
5478         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5479         [!_ISOMAC] (__iswctype_internal): Likewise.
5480         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5481         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5482         alias.
5483         (fcntl): Remove __fcntl_internal alias.
5484         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5485         __connect_internal alias.
5486         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5487         Likewise.
5488
5489         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5490         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5491         FP_DENORM_ZERO.
5492         (_FP_CHECK_FLUSH_ZERO): New macro.
5493         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5494         (_FP_CMP): Likewise.
5495         (_FP_CMP_EQ): Likewise.
5496         (_FP_TO_INT): Do not set inexact for subnormal arguments if
5497         FP_DENORM_ZERO.
5498         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5499         (FP_TRUNC): Likewise.
5500
5501         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5502         treated as invalid conversion, not as normal exponent.
5503
5504         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5505         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
5506         (_FP_CMP_EQ): Likewise.
5507         (_FP_CMP_UNORD): Likewise.
5508         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5509         (FP_CMP_EQ_D): Likewise.
5510         (FP_CMP_UNORD_D): Likewise.
5511         * soft-fp/extended.h (FP_CMP_E): Likewise.
5512         (FP_CMP_EQ_E): Likewise.
5513         (FP_CMP_UNORD_E): Likewise.
5514         * soft-fp/quad.h (FP_CMP_Q): Likewise.
5515         (FP_CMP_EQ_Q): Likewise.
5516         (FP_CMP_UNORD_Q): Likewise.
5517         * soft-fp/single.h (FP_CMP_S): Likewise.
5518         (FP_CMP_EQ_S): Likewise.
5519         (FP_CMP_UNORD_S): Likewise.
5520         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5521         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5522         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5523         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5524         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5525         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5526         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5527         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5528         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5529         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5530         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5531         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5532         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5533         to FP_CMP_Q.
5534         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5535         FP_CMP_Q.
5536         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5537         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5538         FP_CMP_EQ_Q.
5539         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5540         FP_CMP_Q.
5541         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5542         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5543         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5544         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5545         FP_CMP_EQ_Q.
5546         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5547         FP_CMP_Q.
5548         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5549         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5550         FP_CMP_EQ_Q.
5551         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5552         FP_CMP_Q.
5553         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5554         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5555         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5556         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5557         FP_CMP_EQ_Q.
5558
5559         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5560         a subnormal result, set the underflow exception if trapping on
5561         underflow is enabled.
5562         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5563         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5564         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5565         redefine to 0.
5566         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5567         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5568         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5569         * soft-fp/extendxftf2.c (__extendxftf2): Use
5570         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5571
5572         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5573         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5574         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5575         FP_HANDLE_EXCEPTIONS.
5576         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5577         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5578         FP_HANDLE_EXCEPTIONS.
5579         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5580         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5581         FP_HANDLE_EXCEPTIONS.
5582         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5583         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5584         FP_HANDLE_EXCEPTIONS.
5585
5586 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
5587
5588         [BZ #14132]
5589         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5590         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5591         use INTUSE.
5592         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5593         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5594         Remove alias.
5595         (__adjtimex): Define using libc_hidden_ver.
5596         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5597         Remove declaration.
5598         (ntp_gettime): Call __adjtimex directly.
5599         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5600         Remove declaration.
5601         (ntp_gettimex): Call __adjtimex directly.
5602         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5603         __adjtimex_internal alias.
5604
5605 2014-10-08  Roland McGrath  <roland@hack.frob.com>
5606
5607         [BZ #17460]
5608         * nscd/nscd.c (more_help): Rewrite list of tables collection
5609         using xstrdup and asprintf.
5610
5611         * nscd/nscd_conf.c: Remove local xstrdup declaration.
5612
5613 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5614             Roland McGrath  <roland@hack.frob.com>
5615
5616         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5617         (do_lookup_unique): ... local function 'enter' here; update callers.
5618
5619 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
5620
5621         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5622         compat_symbol calls on [SHARED].
5623         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5624         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5625         Remove.
5626         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5627         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5628         (oldsetrlimit): Remove.
5629         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5631         (lchown): New syscall entry.
5632         (oldsetrlimit): Remove.
5633         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5634         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5635         (oldsetrlimit): Remove.
5636         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5637
5638         [BZ #14138]
5639         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5640         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5641         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5642         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5643         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5644         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5645         (fchown): Likewise.
5646         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5647         (fchown): Likewise.
5648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5649         Likewise.
5650
5651 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5652
5653         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5654         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5655         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5656         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5657         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5658         Likewise.
5659         (__old_sem_post): Likewise.
5660
5661 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
5662
5663         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5664         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5665         HAVE_CLOCK_GETTIME_VSYSCALL macros.
5666         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5667         Use INLINE_VSYSCALL macro.
5668         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5669         __vdso_clock_gettime.
5670         * sysdeps/unix/sysv/linux/tile/init-first.c
5671         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5672         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5673         __vdso_clock_gettime.
5674
5675         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5676         to set up frame more cleanly.
5677
5678         * sysdeps/tile/memcmp.c: New file.
5679
5680         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5681
5682         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5683         * sysdeps/tile/tilegx/strcasestr.c: New file.
5684         * sysdeps/tile/tilegx/strnlen.c: New file.
5685         * sysdeps/tile/tilegx/strstr.c: New file.
5686
5687         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5688
5689 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
5690
5691         * nptl/tst-setuid3.c: Write errors to stdout.
5692
5693 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5694
5695         * elf/dl-deps.c
5696         (preload): New functions broken out of _dl_map_object_deps.
5697         (_dl_map_object_deps):  Remove a nested function. Update call sites.
5698
5699 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
5700
5701         [BZ #14138]
5702         * sysdeps/unix/sysv/linux/execve.c: Remove file.
5703         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5704
5705 2014-10-01  Steve Ellcey  <sellcey@mips.com>
5706
5707         * sysdeps/mips/strcmp.S: New.
5708
5709 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
5710
5711         [BZ #14138]
5712         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5713         (linkat): Likewise.
5714         (mkdirat): Likewise.
5715         (readlinkat): Likewise.
5716         (renameat): Likewise.
5717         (symlinkat): Likewise.
5718         (unlinkat): Likewise.
5719         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5720         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5721         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5722         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5723         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5724         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5725         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5726
5727 2014-09-30  Will Newton  <will.newton@linaro.org>
5728
5729         * math/math.h: Define long double math functions if
5730         _LIBC_TEST is defined.
5731         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5732
5733         * localedata/Makefile: Move assignment to tests-special
5734         into an ifdef testing run-built-tests.
5735         * timezone/Makefile: Likewise.
5736
5737 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
5738
5739         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5740         with $(BASH) not $(SHELL).
5741
5742 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
5743             Matthew LeGendre  <legendre1@llnl.gov>
5744
5745         [BZ #17411]
5746         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5747         l_reloc_result.
5748
5749 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5750
5751         * stdio-common/printf_fp.c
5752         (hack_digit): New function, broken out of ...
5753         (__printf_fp): ... local function here.  Update call sites.
5754         hack_digit now takes an additional parameter that is a pointer
5755         to a struct of the referenced locals.  Those locals moved inside
5756         the struct and references updated.
5757
5758 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
5759
5760         * aclocal.m4: Require autoconf 2.69.
5761         * configure: Regenerated.
5762         * sysdeps/aarch64/configure: Likewise.
5763         * sysdeps/alpha/configure: Likewise.
5764         * sysdeps/arm/armv7/configure: Likewise.
5765         * sysdeps/arm/configure: Likewise.
5766         * sysdeps/ia64/configure: Likewise.
5767         * sysdeps/mach/configure: Likewise.
5768         * sysdeps/mips/configure: Likewise.
5769         * sysdeps/s390/configure: Likewise.
5770         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5772
5773         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5774         file.
5775         * sysdeps/ia64/configure.ac: Likewise.
5776
5777 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
5778
5779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5780         specify symbol version for ld.so.  Do not include entry for
5781         libpthread.
5782         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5783         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5784         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5785
5786         [BZ #14171]
5787         * Makeconfig [$(build-shared) = yes]
5788         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5789         makefiles.
5790         [$(build-shared) = yes && $(soversions.mk-done) = t]
5791         ($(common-objpfx)gnu/lib-names.h): Remove rule.
5792         [$(build-shared) = yes && $(soversions.mk-done) = t]
5793         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
5794         to Makerules.
5795         [$(build-shared) = yes && $(soversions.mk-done) = t]
5796         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5797         here.
5798         [$(build-shared) = yes && $(soversions.mk-done) = t]
5799         (common-generated): Don't append gnu/lib-names.h and
5800         gnu/lib-names.stmp here.
5801         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5802         (lib-names-h-abi): New variable.
5803         [$(build-shared) = yes && $(soversions.mk-done) = t]
5804         (lib-names-stmp-abi): Likewise.
5805         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5806         abi-variants] (before-compile): Append
5807         $(common-objpfx)$(lib-names-h-abi).
5808         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5809         abi-variants] (common-generated): Append gnu/lib-names.h.
5810         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5811         abi-variants] (install-others-nosubdir): Depend on
5812         $(inst_includedir)/$(lib-names-h-abi).
5813         [$(build-shared) = yes && $(soversions.mk-done) = t &&
5814         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5815         [$(build-shared) = yes && $(soversions.mk-done) = t]
5816         ($(common-objpfx)$(lib-names-h-abi)): New rule.
5817         [$(build-shared) = yes && $(soversions.mk-done) = t]
5818         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5819         [$(build-shared) = yes && $(soversions.mk-done) = t]
5820         (common-generated): Append $(lib-names-h-abi) and
5821         $(lib-names-stmp-abi).
5822         * scripts/lib-names.awk: Do not handle multi being set.
5823         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5824         Remove variable.
5825         (abi-lp64_be-ld-soname): Likewise.
5826         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5827         Likewise.
5828         (abi-hard-ld-soname): Likewise.
5829         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5830         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5831         Remove variable.
5832         (abi-o32_hard-ld-soname): Likewise.
5833         (abi-o32_soft_2008-ld-soname): Likewise.
5834         (abi-o32_hard_2008-ld-soname): Likewise.
5835         (abi-n32_soft-ld-soname): Likewise.
5836         (abi-n32_hard-ld-soname): Likewise.
5837         (abi-n32_soft_2008-ld-soname): Likewise.
5838         (abi-n32_hard_2008-ld-soname): Likewise.
5839         (abi-n64_soft-ld-soname): Likewise.
5840         (abi-n64_hard-ld-soname): Likewise.
5841         (abi-n64_soft_2008-ld-soname): Likewise.
5842         (abi-n64_hard_2008-ld-soname): Likewise.
5843         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5844         Likewise.
5845         (abi-64-v2-ld-soname): Likewise.
5846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5847         ld.so entries.
5848         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5849         variable.
5850         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5851         entry.
5852         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5853         variable.
5854         (abi-64-ld-soname): Likewise.
5855         (abi-x32-ld-soname): Likewise.
5856         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5857         entry.
5858         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5859
5860 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
5861
5862         [BZ #14138]
5863         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5864         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5865         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5866         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5867         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5868         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5869         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5870         syscall entry for GLIBC_2.2 symbol version.
5871         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5872         Likewise.
5873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5874         (setrlimit): Likewise.
5875         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5876         Likewise.
5877
5878 2014-09-23  Will Newton  <will.newton@linaro.org>
5879
5880         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5881         _LINUX_ARM_SYSDEP_H include guard too.
5882         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5883         define.
5884
5885 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5886
5887         * sysdeps/unix/sysv/linux/eventfd.c:
5888         Make first argument unsigned.
5889         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5890         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5891
5892 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
5893
5894         * socket/recvmmsg.c (recvmmsg): Drop const argument.
5895         * socket/sys/socket.h: Likewise
5896         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5897
5898 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5899
5900         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5901
5902 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
5903
5904         * time/tst-ftime.c: New test.
5905         * time/Makefile (tests): Add tst-ftime.
5906
5907 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
5908
5909         * soft-fp/extended.h: Fix comment formatting.
5910         * soft-fp/op-1.h: Likewise.
5911         * soft-fp/op-2.h: Likewise.
5912         * soft-fp/op-4.h: Likewise.
5913         * soft-fp/op-8.h: Likewise.
5914         * soft-fp/op-common.h: Likewise.
5915         * soft-fp/soft-fp.h: Likewise.
5916
5917         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5918
5919 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
5920
5921         [BZ #6652]
5922         * Makeconfig (soversions-default-setname): Remove variable.
5923         ($(common-objpfx)soversions.i): Don't pass default_setname to
5924         soversions.awk.
5925         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5926         oldest_abi to abi-versions.awk.
5927         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5928         * config.make.in (oldest-abi): Remove variable.
5929         * configure.ac (--enable-oldest-abi): Remove configure option.
5930         * configure: Regenerated.
5931         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5932         text.
5933         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5934         * scripts/soversions.awk: Do not handle default_setname variable.
5935         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5936         variable.
5937         * sysdeps/mach/hurd/configure: Regenerated.
5938         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5939         variable.
5940         * sysdeps/unix/sysv/linux/configure: Regenerated.
5941
5942 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5943
5944         * elf/Makefile (CFLAGS-interp.c): Remove.
5945         ($(elf-objpfx)runtime-linker.h): Generate header with linker
5946         path string.
5947         * elf/interp.c: Include generated runtime-linker.h
5948
5949         * Makerules (lib%.so): Don't include $(+interp) in
5950         prerequisites.
5951         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5952         * dlfcn/eval.c: Remove file.
5953
5954         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5955         macros.
5956
5957         [BZ #17266]
5958         * misc/sys/cdefs.h: Define __extern_always_inline for clang
5959         4.2 and newer.
5960
5961         [BZ #17370]
5962         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5963
5964 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5965             Jakub Jelinek  <jakub@redhat.com>
5966
5967         [BZ #17266]
5968         * libio/stdio.h: Check definition of __fortify_function
5969         instead of __extern_always_inline to include bits/stdio2.h.
5970         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5971         check if __extern_always_inline is defined.
5972         [__USE_MISC || __USE_XOPEN]: Likewise.
5973         [__USE_ISOC99] Likewise.
5974         * misc/sys/cdefs.h (__fortify_function): Define only if
5975         __extern_always_inline is defined.
5976         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5977         __extern_always_inline and __extern_inline only for g++-4.3
5978         and newer or a compatible gcc.
5979
5980 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
5981
5982         [BZ #17371]
5983         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5984         last change to handle zero prefix length.
5985
5986 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5987
5988         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5989         _SC_REGEX_VERSION.
5990
5991         * posix/getconf.c (vars): Add _POSIX_IPV6 and
5992         _POSIX_RAW_SOCKETS.
5993
5994 2014-09-13  Allan McRae  <allan@archlinux.org>
5995
5996         * po/ru.po: Update Russian translation from translation project.
5997
5998 2014-09-12  Roland McGrath  <roland@hack.frob.com>
5999
6000         * locale/programs/locale.c (show_locale_vars): Inline local function
6001         into its sole call site.  Clean up some style nits.
6002         (print_item): New function, broken out of ...
6003         (show_info): ... local function here.  Clean up style nits.
6004
6005         * locale/programs/ld-ctype.c (set_one_default): New function, broken
6006         out of ...
6007         (set_class_defaults): ... local function set_default here.
6008         Define set_default as a macro locally to pass constant parameters.
6009         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6010         rather than a shared local.
6011
6012         * stdlib/rpmatch.c (try): New function, broken out of ...
6013         (rpmatch): ... local function here.  Also, prototypify definition.
6014
6015 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6016
6017         * scripts/soversions.awk: Do not handle configuration names.
6018         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6019         vendor and os variables to soversions.awk.
6020         * configure.ac: Do not modify gnu-* host_os.
6021         * configure: Regenerated
6022         * shlib-versions: Remove first column with configuration names.
6023         * nptl/shlib-versions: Likewise.
6024         * nptl_db/shlib-versions: Likewise.
6025         * sysdeps/hppa/shlib-versions: Likewise.
6026         * sysdeps/m68k/shlib-versions: Likewise.
6027         * sysdeps/mach/hurd/shlib-versions: Likewise.
6028         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6029         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6030         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6031         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6032         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6033         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6034         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6035         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6037         Likewise.
6038         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6039         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6040         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6041         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6042         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6043         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6044         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6045         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6046
6047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6048         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6050         Regenerated.
6051         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6053         Condition symbol version definitions on [HAVE_ELFV2_ABI].
6054
6055         * shlib-versions: Remove OS-specific entries.  Moved to files in
6056         sysdeps.
6057         * sysdeps/mach/hurd/shlib-versions: New file.
6058         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6059
6060         * nptl/shlib-versions: Remove architecture-specific entries.
6061         Moved to files in sysdeps.
6062         * shlib-versions: Likewise.
6063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6064         file.
6065         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6066         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6067         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6068         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6069
6070         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6071         (UDP_NO_CHECK6_RX): Likewise.
6072
6073 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6074
6075         * sysdeps/posix/sysconf.c (__sysconf): Spell
6076         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6077
6078 2014-08-12  Florian Weimer  <fweimer@redhat.com>
6079
6080         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6081         loading.
6082         * iconv/Versions (__gconv_transliterate): Export for use from
6083         gconv modules.
6084         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6085         (struct __gconv_trans_data, __gconv_trans_fct,
6086         __gconv_trans_context_fct, __gconv_trans_query_fct,
6087         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6088         definitions.
6089         (struct __gconv_step_data): Remove __trans member.
6090         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
6091         longer hidden.  Remove unused trans_data argument.
6092         * iconv/gconv_int.h (struct trans_struct): Remove definition.
6093         (__gconv_translit_find): Remove declaration.
6094         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
6095         prototype.
6096         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6097         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6098         trans_data argument.  Add hidden definition.
6099         (__gconv_translit_find): Remove.
6100         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6101         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6102         * iconv/skeleton.c: Remove transliteration initialization.
6103         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6104         __gconv_step_data initialization.
6105         * libio/iofwide.c (__libio_translit_): Remove.
6106         (_IO_fwide): Adjust struct __gconv_step_data initialization.
6107         * wcsmbs/btowc.c (__btowc): Likewise.
6108         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6109         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6110         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6111         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6112         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6113         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6114         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6115         * wcsmbs/wctob.c (wctob): Likewise.
6116
6117 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6118
6119         [BZ #16194]
6120         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6121         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
6122         register usage.
6123         * sysdeps/x86/Makefile: Adjust.
6124
6125 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6126             Roland McGrath  <roland@hack.frob.com>
6127
6128         * locale/weight.h: Add include guard.
6129         (findidx): Make static rather than auto; take new parameters
6130         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6131         * locale/weightwc.h: Likewise.
6132         * posix/fnmatch_loop.c
6133         (FCT): Change type of EXTRA from int32_t to wint_t.
6134         Don't include either header inside the function.
6135         Call FINDIDX rather than findidx, and pass new arguments.
6136         #undef FINDIDX at the end of the file.
6137         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6138         FINDIDX before including fnmatch_loop.c for the non-wide version.
6139         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6140         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6141         for the wide version.
6142         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6143         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6144         Pass new arguments to findidx.
6145         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6146         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6147         Don't #include it inside the function.  Pass new arguments to findidx.
6148         * posix/regex_internal.h
6149         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6150         (re_string_elem_size_at): Don't #include it inside the function.
6151         Pass new arguments to findidx.
6152         * string/strcoll_l.c: #include WEIGHT_H at top level.
6153         (get_next_seq): Don't #include it inside the function.
6154         Pass new arguments to findidx.
6155         (get_next_seq_nocache): Likewise.
6156         * string/strxfrm_l.c: #include WEIGHT_H at top level.
6157         (STRXFRM): Don't #include it inside the function.
6158         Pass new arguments to findidx.
6159
6160 2014-09-11  Florian Weimer  <fweimer@redhat.com>
6161
6162         [BZ #17344]
6163         * malloc/malloc.c (unlink): Turn asserts into a call to
6164         malloc_printerr.
6165
6166 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
6167
6168         [BZ #17370]
6169         * libio/wfileops (do_ftell_wide): Free OUT.
6170
6171 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
6172
6173         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6174
6175 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6176
6177         [BZ #17363]
6178         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6179         group if the current group is empty.
6180
6181 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6182
6183         * benchtests/bench-memset.c (test_main): Add more test from size
6184         from 32 to 512 bytes.
6185         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6186         Add POWER8 memset object.
6187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6188         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6189         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6190         implementation.
6191         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6192         Likewise.
6193         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6194         multiarch POWER8 memset optimization.
6195         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6196         POWER8 memset optimization.
6197
6198         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6199         Remove bzero multiarch objects.
6200         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6201         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6202         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6203         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6204         Remove define.
6205         [__bzero]: Redefine to specific name.
6206         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6207         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6208         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6209         define.
6210         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6211         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6212
6213 2014-09-10  Florian Weimer  <fweimer@redhat.com>
6214
6215         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6216         warnings into errors.
6217
6218         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6219         __cxa_thread_atexit_impl prototype.
6220
6221 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6222
6223         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6224         Fix capitalization of error message.
6225
6226 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6227
6228         * sysdeps/mips/preconfigure: Modify ABI tests.
6229
6230 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
6231
6232         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6233
6234 2014-09-07  Roland McGrath  <roland@hack.frob.com>
6235             Carlos O'Donell  <carlos@systemhalted.org>
6236
6237         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6238         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6239         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6240         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6241         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6242         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6243         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6244         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6245         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6246         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6247         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6248         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6249         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6250         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6251         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6252         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6253         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6254         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6255         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6256         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6257         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6258         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6259         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6260         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6261         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6262         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6263         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6264         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6265         Deconditionalize the code that was previously under [RESET_PID].
6266         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6267         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6268         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6269         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6270         include sysdep.h.
6271
6272 2014-09-08  Allan McRae  <allan@archlinux.org>
6273
6274         * version.h (RELEASE): Set to "development".
6275         (VERSION): Set to "2.20.90"
6276
6277 2014-09-07  Allan McRae  <allan@archlinux.org
6278
6279         * version.h (RELEASE): Set to "stable".
6280         (VERSION): Set to "2.20"
6281         * include/features.h (__GLIBC_MINOR__): Set to 20.
6282
6283         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6284         Liebler.
6285
6286         * po/ko.po: Update Korean translation from translation project.
6287
6288 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
6289
6290         [BZ #17354]
6291         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6292         macro for handling signed relocations.
6293
6294 2014-09-03  Florian Weimer  <fweimer@redhat.com>
6295
6296         [BZ #17325]
6297         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6298         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6299         assert.
6300         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6301         * iconvdata/ibm935.c (BODY): Likewise.
6302         * iconvdata/ibm937.c (BODY): Likewise.
6303         * iconvdata/ibm939.c (BODY): Likewise.
6304         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6305         assert.
6306         * iconvdata/Makefile (iconv-test.out): Pass module list to test
6307         script.
6308         * iconvdata/run-iconv-test.sh: New test loop for checking for
6309         decoder crashers.
6310
6311 2014-09-02  Khem Raj  <raj.khem@gmail.com>
6312
6313         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6314         libm_hidden_ver.
6315
6316 2014-09-01  Allan McRae  <allan@archlinux.org>
6317
6318         * po/eo.po: Update Esperanto translation from translation project.
6319
6320         * po/ca.po: Update Catalan translation from translation project.
6321
6322 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6323
6324         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6325         __proc_dostop call.
6326
6327 2014-08-27  Mark Wielaard  <mjw@redhat.com>
6328
6329         [BZ #17319]
6330         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6331         to call set_thread_area instead of hand written asm.
6332         (__NR_set_thread_area): Removed define.
6333         (TLS_FLAG_WRITABLE): Likewise.
6334         (__ASSUME_SET_THREAD_AREA): Remove check.
6335         (TLS_EBX_ARG): Remove define.
6336         (TLS_LOAD_EBX): Likewise.
6337
6338 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6339
6340         Simplify atomicity of socket creation in bind.
6341
6342         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6343         looking up the name after linking the file.
6344
6345 2014-08-27  Allan McRae  <allan@archlinux.org>
6346
6347         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6348
6349 2014-08-26  Florian Weimer  <fweimer@redhat.com>
6350
6351         [BZ #17187]
6352         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6353         trans_compare, open_translit, __gconv_translit_find):
6354         Remove module loading code.
6355
6356 2014-08-26  Allan McRae  <allan@archlinux.org>
6357
6358         * po/vi.po: Update Vietnamese translation from translation project.
6359
6360         * po/uk.po: Update Ukrainian translation from translation project.
6361
6362         * po/fr.po: Update French translation from translation project.
6363
6364         * po/ru.po: Update Russian translation from translation project.
6365
6366         * po/pl.po: Update Polish translation from translation project.
6367
6368         * po/cs.po: Update Czech translation from translation project.
6369
6370         * po/de.po: Update German translation from translation project.
6371
6372         * po/bg.po: Update Bulgarian translation from translation project.
6373
6374         * po/sv.po: Update Sweedish translation from translation project.
6375
6376         * po/nl.po: Update Dutch translation from translation project.
6377
6378         * po/es.po: Update Spanish translation from translation project.
6379
6380 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6381
6382         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6383
6384         * catgets/Makefile (CPPFLAGS-gencat): Remove.
6385         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6386         (CPPFLAGS-iconvconfig): Likewise.
6387         * timezone/Makefile (CPPFLAGS-zic): Likewise.
6388
6389         * include/libc-symbols.h: Remove unnecessary check for
6390         NOT_IN_libc.
6391         * nptl/pthreadP.h: Likewise.
6392         * sysdeps/aarch64/setjmp.S: Likewise.
6393         * sysdeps/alpha/setjmp.S: Likewise.
6394         * sysdeps/arm/sysdep.h: Likewise.
6395         * sysdeps/i386/setjmp.S: Likewise.
6396         * sysdeps/m68k/setjmp.c: Likewise.
6397         * sysdeps/posix/getcwd.c: Likewise.
6398         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6399         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6400         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6401         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6402         * sysdeps/sh/sh3/setjmp.S: Likewise.
6403         * sysdeps/sh/sh4/setjmp.S: Likewise.
6404         * sysdeps/unix/alpha/sysdep.h: Likewise.
6405         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6406         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6407         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6408         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6411         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6412         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6413         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6414         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6415         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6416         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6417         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6418         * sysdeps/x86_64/setjmp.S: Likewise.
6419
6420 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
6421
6422         [BZ #17263]
6423         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6424         <stdint.h>.
6425         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6426         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6427
6428 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6429
6430         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6431
6432         [BZ #17262]
6433         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6434         and __x86_64__ when disabling x87 inline functions.
6435
6436 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6437
6438         [BZ #17259]
6439         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6440         asm statement with __cpuid_count.
6441
6442 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
6443
6444         * configure.ac: Change __ehdr_start code to dereference the struct.
6445         Run readelf on the output to look for relocations.
6446         * configure: Regenerated.
6447
6448 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
6449
6450         [BZ #17261]
6451         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6452         value to 0.
6453         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6454
6455 2014-08-12  Roland McGrath  <roland@hack.frob.com>
6456
6457         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6458
6459 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
6460
6461         [BZ #16892]
6462         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6463         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6464
6465 2014-08-12  Sean Anderson  <seanga2@gmail.com>
6466
6467         * malloc/malloc.c: Fix typo in comment.
6468
6469 2014-08-09  Allan McRae  <allan@archlinux.org>
6470
6471         * Regenerate libc.po.
6472
6473 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
6474
6475         * intl/tst-gettext2.sh: Check every lang file for creation.
6476
6477 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6478
6479         * sysdeps/aarch64/fpu/math_private.h
6480         (libc_feholdsetround_noex_aarch64_ctx): New function.
6481
6482 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6483
6484         * sysdeps/arm/armv6/strcpy.S (strcpy):
6485         Fix performance issue in misaligned cases.
6486
6487 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6488
6489         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6490         Move definition from termios.h.
6491         (struct termio): Likewise.
6492         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6493         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6494         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6495         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6496         Likewise.
6497         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6498         Move definition to ioctl-types.h
6499         (struct termio): Likewise.
6500         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6501         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6502         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6503         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6504         Likewise.
6505
6506 2014-08-05  Richard Henderson  <rth@redhat.com>
6507
6508         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6509         exceptions.
6510         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6511         Add fraiseexcpt.
6512         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6513         Use __feraiseexcept.
6514         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6515         Protect libm symbols with IS_IN_libm.
6516
6517         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6518
6519 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
6520
6521         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6522
6523 2014-08-04  Will Newton  <will.newton@linaro.org>
6524
6525         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6526         file.
6527
6528 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
6529
6530         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6531         variants for each function.
6532
6533 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6534
6535         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6536         appended ...
6537         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6538         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6539         appended ...
6540         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6541         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6542         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6543         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6544         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6545         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6546         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6547         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6548         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6549         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6550         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6551         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6552         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6553         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6554         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6555         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6556         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6557         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6558         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6559         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6560         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6561         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6562         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6563         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6564         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6565         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6566         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6567         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6568         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6569         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6570         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6571         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6572         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6573         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6574         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6575         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6576         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6577         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6578         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6579         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6580         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6581         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6582         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6583         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6584         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6585         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6586         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6587         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6588         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6589         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6590         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6591         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6592         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6593         Update #include.
6594         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6595         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6596
6597 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6598
6599         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6600         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6601         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6602         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6603         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6604         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6605
6606 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6607
6608         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6609         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6610         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6611         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6612
6613 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6614
6615         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6616         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6617         (__libc_vfork): Define function under this name.
6618         (__vfork): Define as an alias.
6619         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6620         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6621
6622 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6623
6624         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6625         that was previously under [RESET_PID].
6626         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6627
6628 2014-08-04  Andreas Schwab  <schwab@suse.de>
6629
6630         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6631
6632 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
6633
6634         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6635         (main): Likewise.
6636
6637 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6638
6639         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6640
6641 2014-08-01  Richard Henderon  <rth@redhat.com>
6642
6643         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6644         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6645         typo in exact zero test.
6646         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6647         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6648         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6649
6650 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6651
6652         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6653         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6654         * sysdeps/arm/sysdep.h: ... here.
6655         [!__ASSEMBLER__]: Include <stdint.h>.
6656
6657 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6658
6659         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6660         (HAVE_WCTYPE_H): Likewise.
6661         (HAVE_ISWCTYPE): Likewise.
6662         (ENABLE_NLS): Likewise.
6663         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6664         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6665
6666         * posix/regex_internal.c: Check if DEBUG is defined and is
6667         set.
6668
6669         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6670         (HAVE_MBSRTOWCS): Likewise.
6671         * posix/fnmatch.c: Include string.h unconditionally.
6672
6673 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6674
6675         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6676         reversal.
6677
6678 2014-07-31  Roland McGrath  <roland@hack.frob.com>
6679
6680         * sysdeps/generic/safe-fatal.h: New file.
6681         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6682         * nptl/forward.c: Include it.
6683         (__pthread_unwind): Use __safe_fatal as default action, rather
6684         than a bogus use of INTERNAL_SYSCALL that could never work.
6685
6686         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6687         * configure.ac (libc_cv_builtin_trap): New test.
6688         * configure: Regenerated.
6689         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6690         (ABORT_INSTRUCTION): Define using __builtin_trap.
6691
6692         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6693         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6694         * sysdeps/nptl/nptl-signals.h: New file.
6695         * nptl/pthreadP.h: Include <nptl-signals.h>.
6696
6697 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6698
6699         * sysdeps/s390/s390-64/utf16-utf32-z9.c
6700         (ONE_DIRECTION): Define.
6701         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6702         (ONE_DIRECTION): Define.
6703         * sysdeps/s390/s390-64/utf8-utf32-z9.c
6704         (ONE_DIRECTION): Define.
6705
6706 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6707
6708         * sysdeps/s390/Makefile: Delete file.
6709         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6710         * sysdeps/s390/__longjmp.c: Delete file.
6711         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6712         Remove fields __flags and __reserved.
6713         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6714         and add versioning.
6715         * sysdeps/s390/rtld-__longjmp.c: Delete file.
6716         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6717         * sysdeps/s390/rtld-setjmp.S: Likewise.
6718         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6719         * sysdeps/s390/s390-32/__longjmp.c: ... here.
6720         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6721         * sysdeps/s390/s390-32/setjmp.S: ... here.
6722         Add versioning.
6723         (__sigsetjmp): Remove setting __flags field.
6724         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6725         * sysdeps/s390/s390-64/__longjmp.c: ... here.
6726         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6727         * sysdeps/s390/s390-64/setjmp.S: ... here.
6728         Add versioning.
6729         (__sigsetjmp): Remove setting __flags field.
6730         * sysdeps/s390/setjmp.S: Delete file.
6731         * sysdeps/s390/sigjmp.c: Likewise.
6732         * sysdeps/s390/v1-longjmp.c: Likewise.
6733         * sysdeps/s390/v1-setjmp.h: Likewise.
6734         * sysdeps/s390/v1-sigjmp.c: Likewise.
6735         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6736         Remove v1-longjmp_chk.
6737         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6738         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6739         Include debug/longjmp_chk.c and add versioning.
6740         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6741         Include nptl/pt-longjmp.c and add versioning.
6742         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6743         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6744         Include __longjmp.c.
6745         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6746         Move to ...
6747         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6748         (__getcontext): Remove setting __flags field.
6749         Add versioning.
6750         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6751         Don't restore upper high grps.
6752         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6753         Likewise.
6754         (__swapcontext): Remove setting uc_flags field.
6755         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6756         Delete file.
6757         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6758         Include __longjmp.c.
6759         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6760         Move to ...
6761         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6762         (__getcontext): Remove setting __flags field.
6763         Add versioning.
6764         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6765         (__swapcontext): Remove setting uc_flags field.
6766         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6767         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6768         Remove fields uc_high_gprs and __reserved.
6769         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6770         New file with reverted content.
6771         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6772         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6773         Regenerated.
6774         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6775         Regenerated.
6776
6777 2014-07-31  Andreas Schwab  <schwab@suse.de>
6778
6779         * config.h.in (HAVE_IFUNC): Define to 0.
6780         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6781         definedness.
6782
6783 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
6784
6785         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6786         memmove-avx-unaligned, memcpy-avx-unaligned and
6787         mempcpy-avx-unaligned.
6788         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6789         Add tests for AVX memcpy functions.
6790         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6791         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6792         memcpy_chk.
6793         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6794         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6795         memmove_chk.
6796         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6797         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6798         mempcpy_chk.
6799         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6800         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6801         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6802
6803 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6804
6805         [BZ #17213]
6806         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6807         powerpc64le.
6808
6809 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
6810
6811         [BZ #16839]
6812         * manual/llio.texi: Add section about open file description locks.
6813         * manual/examples/ofdlocks.c: Example of open file description
6814         lock usage.
6815         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6816         F_OFD_SETLK, and F_OFD_SETLKW.
6817
6818 2014-07-23  Allan McRae  <allan@archlinux.org>
6819
6820         * po/es.po: Update Spanish translation from translation project.
6821
6822 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
6823
6824         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6825
6826 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
6827
6828         [BZ #17078]
6829         * sysdeps/arm/dl-machine.h (elf_machine_rela)
6830         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6831         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6832
6833 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
6834
6835         [BZ #17088]
6836         * math/fesetenv.c (__fesetenv)
6837         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6838         * math/feupdateenv.c (__feupdateenv)
6839         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6840
6841         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6842         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6843         (__ASSUME_SOCKETCALL): Do not define.
6844
6845         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6846         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6847         (__ASSUME_SOCKETCALL): Do not define.
6848         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6849         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6850         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6851         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6852         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6853         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6854         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6855         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6856
6857         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6858         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6859         (__ASSUME_SOCKETCALL): Do not define.
6860         (__ASSUME_IPC64): Define unconditionally.
6861         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6862         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6863         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6864         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6865         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6866         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6867         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6868         Likewise.
6869
6870         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6871         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6872         (__ASSUME_SOCKETCALL): Do not define.
6873         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6874         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6875         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6876         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6877         (__ASSUME_REQUEUE_PI): Define unconditionally.
6878         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6879         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6880         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6881         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6882         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6883         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6884
6885         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6886         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6887         (__ASSUME_SOCKETCALL): Do not define.
6888         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6889         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6890         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6891         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6892         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6893         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6894
6895         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6896         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6897         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6898         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6899         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6900         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6901         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6902         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6903         (__ASSUME_GETCPU_SYSCALL): Likewise.
6904
6905         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6906         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
6907         cases for individual architectures.
6908         * sysdeps/gnu/configure: Regenerated.
6909         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6910         LIBC_SLIBDIR_RTLDDIR.
6911         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6912         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6913         LIBC_SLIBDIR_RTLDDIR.
6914         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6916         LIBC_SLIBDIR_RTLDDIR.
6917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6918         Regenerated.
6919         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6920         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6921         file.
6922         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6923         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6924         file.
6925         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6926         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6927         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6928         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6929
6930         * sysdeps/aarch64/shlib-versions: Move to ...
6931         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6932         * sysdeps/alpha/shlib-versions: Move to ...
6933         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6934         * sysdeps/arm/shlib-versions: Move to ...
6935         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6936         * sysdeps/hppa/shlib-versions: Move all contents except for
6937         libgcc_s entry to ...
6938         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
6939         entry from ...
6940         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
6941         * sysdeps/ia64/shlib-versions: Move to ...
6942         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
6943         entry from ...
6944         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
6945         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6946         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6947         * sysdeps/microblaze/shlib-versions: Move to ...
6948         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6949         * sysdeps/mips/shlib-versions: Move to ...
6950         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
6951         entry from ...
6952         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
6953         * sysdeps/tile/shlib-versions: Move to ...
6954         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6955         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6956         from ...
6957         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
6958         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6959         entry from ...
6960         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
6961
6962 2014-07-17  Will Newton  <will.newton@linaro.org>
6963
6964         * sysdeps/arm/bits/atomic.h
6965         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6966         (__arch_compare_and_exchange_bool_16_int): Likewise.
6967         (__arch_compare_and_exchange_bool_64_int): Likewise.
6968
6969         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6970         into an #else block.
6971
6972 2014-07-16  Roland McGrath  <roland@hack.frob.com>
6973
6974         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6975         just Linux configurations.  Test empirically that the compiler sets
6976         __ARM_EABI__, rather than using the tuple to decide.
6977         * sysdeps/arm/preconfigure: Regenerated.
6978         * sysdeps/unix/sysv/linux/arm/configure: File removed.
6979         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6980         contents appended ...
6981         * sysdeps/arm/configure.ac: ... here.
6982         * sysdeps/arm/configure: Regenerated.
6983
6984 2014-07-15  Roland McGrath  <roland@hack.frob.com>
6985
6986         * nptl/pthread_kill.c: New file.
6987         * nptl/pthread_sigmask.c: New file.
6988         * nptl/pthread_sigqueue.c: New file.
6989
6990         * sysdeps/nptl/lowlevellock.h: New file.
6991         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6992         * sysdeps/nptl/lowlevellock-futex.h: New file.
6993
6994         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6995         Remove dead declarations.
6996
6997 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
6998
6999         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7000         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7001         config-cflags-avx2.
7002         * sysdeps/x86_64/configure.ac: Likewise.
7003         * sysdeps/i386/configure: Regenerated.
7004         * sysdeps/x86_64/configure: Likewise.
7005         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7006         memset-avx2 only if config-cflags-avx2 is yes.
7007         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7008         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7009         defined.
7010         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7011         only if HAVE_AVX2_SUPPORT is defined.
7012         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7013
7014 2014-07-14  Alan Modra  <amodra@gmail.com>
7015
7016         [BZ #17153]
7017         * elf/elf.h (DT_PPC64_NUM): Correct value.
7018         * NEWS: Add to fixed bug list.
7019
7020 2014-07-13  Jim Meyering  <meyering@fb.com>
7021
7022         [BZ 17150]
7023         regex: don't deref NULL upon heap allocation failure
7024         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7025         failure in one more place.
7026         To trigger the segfault, configure grep -with-included-regex,
7027         build it, and run these commands:
7028         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7029
7030 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
7031
7032         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7033
7034 2014-07-11  Richard Henderson  <rth@redhat.com>
7035
7036         * sysdeps/aarch64/libm-test-ulps: Update.
7037
7038 2014-07-10  Florian Weimer  <fweimer@redhat.com>
7039
7040         [BZ #17135]
7041         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7042         * nptl/allocatestack.c (__nptl_setxid_error): New function.
7043         (__nptl_setxid): Initialize error member.  Call
7044         __nptl_setxid_error.
7045         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7046         * nptl/descr.h (struct xid_command): Add error member.
7047         * nptl/tst-setuid3.c: New file.
7048         * nptl/Makefile (tests): Add it.
7049
7050 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7051
7052         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7053         New define.
7054         (__lll_trylock): Use __lll_base_trylock.
7055         (__lll_cond_trylock): Likewise.
7056
7057 2014-07-10  Roland McGrath  <roland@hack.frob.com>
7058
7059         * nptl/pthread_create.c (start_thread): Use atomic_or and
7060         lll_futex_wake directly rather than lll_robust_dead.
7061         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7062         (lll_robust_dead): Macro removed.
7063         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7064         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7065         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7066         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7067         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7068         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7069         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7070         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7071         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7072         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7073         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7074         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7075         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7076         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7077         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7078
7079         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7080         Use atomic_compare_and_exchange_val_acq directly rather than
7081         lll_robust_trylock.
7082         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7083         (__lll_robust_trylock, lll_robust_trylock): Removed.
7084         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7085         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7086         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7087         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7088         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7089         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7090         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7091         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7092         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7093         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7094         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7095         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7096         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7097         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7098
7099 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7100
7101         * manual/locale.texi (Locale Names): New section documenting
7102         locale name syntax.  Adjust menu and node chaining accordingly.
7103         (Choosing Locale): Reference Locale Names, Locale Categories.
7104         Mention setting LC_ALL=C.  Reflect that name syntax is now
7105         documented.
7106         (Locale Categories): New section title.  Reference Locale Names.
7107         LC_ALL is an environment variable, but not a category.
7108         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7109         description, now in Locale Name.  Reference that section.  Locale
7110         name syntax is now documented.
7111
7112 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7113
7114         [BZ #17137]
7115         * locale/findlocale.c (name_present, valid_locale_name): New
7116         functions.
7117         (_nl_find_locale): Use the loc_name variable to store name
7118         candidates.  Call name_present and valid_locale_name to check and
7119         validate locale names.  Return an error if the locale is invalid.
7120
7121 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7122
7123         * locale/setlocale.c (setlocale): Use strdup for allocating
7124         composite name copy.
7125
7126 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7127
7128         Sync up with gnulib.
7129         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7130         [!_LIBC && ENABLE_NLS]: Include gettext.h.
7131         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7132         and _GL_ARG_NONNULL.
7133         [USE_UNLOCKED_IO]: Include unlocked-io.h.
7134         [!_LIBC]: Include code for Windows and Cygwin.
7135         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7136         Include prototype for int strerror_r.
7137         [!_LIBC] (is_open): New function.
7138         (flush_stdout): New function.
7139         (print_errno_message): Use it.
7140         (error): Likewise.
7141         (error_at_line): Likewise.
7142         (error_tail) Add function attribute macros.  Use
7143         __builtin_expect.
7144
7145         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7146
7147         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7148
7149         * io/ftw.c: Include sys/param.h unconditionally.
7150
7151         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7152
7153         [BZ #17125]
7154         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7155         libc_freeres_ptr.
7156         (freecache): New function to free CACHE on exit.
7157
7158         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7159         initialization.
7160
7161 2014-07-09  David S. Miller  <davem@davemloft.net>
7162
7163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7164
7165         * sysdeps/sparc/nptl/internaltypes.h: Delete.
7166         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7167         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7168         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7169         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7170         * sysdeps/sparc/nptl/sem_init.c: Likewise.
7171         * sysdeps/sparc/nptl/sem_post.c: Likewise.
7172         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7173         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7174         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7175         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7176         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7177         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7178
7179 2014-07-09  Andreas Schwab  <schwab@suse.de>
7180
7181         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7182         output.
7183         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7184         (do_test): Likewise.
7185
7186         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7187
7188 2014-07-09  Will Newton  <will.newton@linaro.org>
7189
7190         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7191         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7192         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7193         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7194         * sysdeps/hppa/start.S (_start): Likewise.
7195
7196 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7197
7198         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7199
7200         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7201         defined.
7202
7203 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7204
7205         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7206         after checking that it is non-NULL.
7207
7208         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7209
7210 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7211
7212         * sysdeps/powerpc/memmove.c: Remove file.
7213         * sysdeps/powerpc/powerpc32/power4/memcopy.h
7214         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7215         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7216         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7217         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7218         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7219         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7220         string memmove instead of removed powerpc one.
7221
7222         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7223         [weak_alias]: Fix compiler warning due trailing data.
7224         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7225         [weak_alias]: Likewise.
7226         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7227         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7228
7229         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7230         (__libc_ifunc_impl_list): Add memmove functions.
7231
7232 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7233
7234         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7235         Remove code.
7236         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7237         Likewise
7238         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7239         Likewise
7240         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7241         Likewise
7242         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7243         Likewise
7244         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7245         Likewise
7246         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7247         Likewise
7248         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7249         Likewise
7250         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7251         Likewise
7252         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7253         Likewise
7254         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7255         Likewise
7256         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7257         Likewise
7258         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7259         Likewise
7260         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7261         Likewise
7262         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7263         Likewise
7264         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7265         Likewise
7266         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7267         Likewise
7268
7269 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7270
7271         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7272         to avoid alignment traps in non-cacheable memory.
7273         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7274
7275         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7276         multiarch objects.
7277         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7278         file: multiarch power7 memmove.
7279         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7280         multiarch default memmove.
7281         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7282         multiarch memove for powerpc32/power4.
7283
7284         * string/bcopy.c: Use full path to include memmove.c.
7285         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7286         multiarch objects.
7287         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7288         bcopy for powerpc64.
7289         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7290         bcopy for powerpc64.
7291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7292         and memmove implementations.
7293         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7294         optimized multiarch memmove for POWER7/powerpc64.
7295         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7296         default multiarch memmove for powerpc64.
7297         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7298         multiarch for powerpc64.
7299         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7300         for POWER7/powerpc64.
7301         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7302         memmove for POWER7/powerpc64.
7303
7304         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7305         glibc default one.
7306
7307         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7308         __ELF_NATIVE_CLASS equal to 64.
7309
7310 2014-07-07  Roland McGrath  <roland@hack.frob.com>
7311
7312         * sysdeps/nptl/lowlevellock.h: File removed.
7313
7314         * NEWS: NPTL is no longer an add-on!
7315         * nptl/internaltypes.h: Moved ...
7316         * sysdeps/nptl/internaltypes.h: ... here.
7317         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7318         * sysdeps/nptl/fork.c: Likewise.
7319         * sysdeps/nptl/gai_misc.h: Likewise.
7320         * sysdeps/nptl/librt-cancellation.c: Likewise.
7321         * sysdeps/nptl/jmp-unwind.c: Likewise.
7322         * sysdeps/nptl/setxid.h: Likewise.
7323         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7324         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7325         * sysdeps/unix/sysv/linux/arm/Implies: New file.
7326         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7327         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7328         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7329         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7330         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7331         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7332         * sysdeps/unix/sysv/linux/mips/Implies: New file.
7333         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7334         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7335         * sysdeps/unix/sysv/linux/sh/Implies: New file.
7336         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7337         * sysdeps/unix/sysv/linux/tile/Implies: New file.
7338         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7339         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7340         * nptl/Makeconfig: Moved ...
7341         * sysdeps/nptl/Makeconfig: ... here.
7342         * nptl/configure: File removed.
7343         * nptl/ANNOUNCE: File removed.
7344         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7345         * sysdeps/unix/sysv/linux/configure: Regenerated.
7346
7347         * nptl/Makefile (routines): Add libc_pthread_init,
7348         libc_multiple_threads, register-atfork and unregister-atfork.
7349         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7350         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7351         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7352         pthread-pi-defines.sym, structsem.sym.
7353         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7354         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7355         [$(subdir) = nptl] (tests): Add tst-setgetname.
7356         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7357         * sysdeps/unix/sysv/linux/sigaction.c: Just include
7358         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7359         [!LIBC_SIGACTION]: Remove aliases.
7360         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7361         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7362         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7363         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7364         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7365         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7366         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7367         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7368         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7369         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7370         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7371         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7372         __libc_allocate_rtsig_private.
7373         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7374         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7375         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7376         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7377         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7378         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7379         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7380         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7381         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7382         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7383         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7384         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7385         * nptl/internaltypes.h: ... here.
7386         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7387         * sysdeps/nptl/jmp-unwind.c: ... here.
7388         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7389         * nptl/libc-lowlevellock.c: ... here.
7390         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7391         * nptl/libc_multiple_threads.c: ... here.
7392         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7393         * nptl/libc_pthread_init.c: ... here.
7394         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7395         * nptl/lowlevelbarrier.sym: ... here.
7396         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7397         * nptl/lowlevelcond.sym: ... here.
7398         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7399         * nptl/lowlevellock.c: ... here.
7400         * nptl/lowlevellock.h: Moved ...
7401         * sysdeps/nptl/lowlevellock.h: ... here.
7402         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7403         * nptl/lowlevelrobustlock.c: ... here.
7404         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7405         * nptl/lowlevelrobustlock.sym: ... here.
7406         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7407         * nptl/lowlevelrwlock.sym: ... here.
7408         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7409         * nptl/pt-fork.c: ... here.
7410         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7411         * nptl/pthread-pi-defines.sym: ... here.
7412         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7413         * nptl/pthread_attr_getaffinity.c: ... here.
7414         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7415         * nptl/pthread_attr_setaffinity.c: ... here.
7416         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7417         * nptl/pthread_mutex_cond_lock.c: ... here.
7418         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7419         Update #include.
7420         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7421         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7422         * nptl/pthread_once.c: ... here, replacing old file.
7423         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7424         * nptl/pthread_yield.c: ... here.
7425         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7426         * nptl/register-atfork.c: ... here.
7427         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7428         * nptl/sem_post.c: ... here.
7429         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7430         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7431         * nptl/sem_timedwait.c: ... here.
7432         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7433         * nptl/sem_trywait.c: ... here.
7434         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7435         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7436         * nptl/sem_wait.c: ... here.
7437         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7438         * nptl/structsem.sym: ... here.
7439         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7440         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7441         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7442         * nptl/unregister-atfork.c: ... here.
7443         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7444         * nptl/unwindbuf.sym: ... here.
7445         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7446         * sysdeps/nptl/fork.c: ... here.
7447         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7448         * sysdeps/nptl/fork.h: ... here.
7449         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7450         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7451         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7452         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7453         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7454         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7455         * sysdeps/unix/sysv/linux/getpid.c: ... here.
7456         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7457         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7458         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7459         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7460         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7461         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7462         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7463         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7464         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7465         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7466         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7467         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7468         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7469         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7470         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7471         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7472         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7473         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7474         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7475         * sysdeps/unix/sysv/linux/raise.c: ... here.
7476         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7477         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7478         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7479         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7480         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7481         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7482         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7483         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7484         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7485         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7486         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7487         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7488         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7489         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7490         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7491
7492 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7493
7494         * sysdeps/generic/memcopy.h: Add comment for
7495         MEMCPY_OK_FOR_FWD_MEMMOVE.
7496
7497 2014-07-04  Will Newton  <will.newton@linaro.org>
7498
7499         * string/memchr.c: Merge from gnulib.
7500         [_LIBC]: Remove conditionals.
7501         (__ptr_t): Remove define.
7502         (LONG_MAX_32_BITS): Likewise.
7503         (LONG_MAX): Likewise.
7504         (MEMCHR): Use ANSI prototype and optimize algorithm.
7505
7506         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7507
7508 2014-07-03  Roland McGrath  <roland@hack.frob.com>
7509
7510         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7511         (lll_futex_timed_wait_bitset): Fix syscall argument count.
7512
7513         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7514         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7515         in a bare environment with no <stdlib.h> installed.
7516         * sysdeps/nptl/configure: Regenerated.
7517
7518         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7519
7520         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7521         AC_EGREP_CPP for kernel header checks, so they only succeed if
7522         including <linux/version.h> actually works right.
7523         * sysdeps/unix/sysv/linux/configure: Regenerated.
7524
7525         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7526         value so it's not diagnosed as unused.
7527
7528         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7529         thing) with "ifeq ($(subdir),rt)".
7530
7531 2014-07-03  Richard Henderson  <rth@redhat.com>
7532
7533         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7534         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7535         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7536
7537         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7538         (math_force_eval): New.
7539
7540         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7541         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7542
7543         * sysdeps/alpha/fpu/s_round.c: Remove file.
7544         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7545
7546         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7547         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7548         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7549         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7550         (_dl_start, print_statistics): Likewise.
7551         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7552         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7553
7554         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7555         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7556         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7557         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7558         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7559         (HP_SMALL_TIMING_AVAIL): Define.
7560         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7561         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7562         (HP_SMALL_TIMING_AVAIL): Define.
7563         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7564         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7565
7566         * sysdeps/aarch64/hp-timing.h: New file.
7567
7568         * sysdeps/generic/hp-timing.h: Remove dead comment.
7569         * sysdeps/generic/hp-timing-common.h: New file.
7570         * sysdeps/alpha/hp-timing.h: Include it.
7571         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7572         * sysdeps/i386/i686/hp-timing.h: Likewise.
7573         * sysdeps/ia64/hp-timing.h: Likewise.
7574         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7575         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7576         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7577         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7578         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7579         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7580         (hp_timing_t): New.
7581
7582         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7583         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7584         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7585         * elf/rtld.c (_dl_start_final): Likewise.
7586         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7587         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7588         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7589         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7590         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7591         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7592         (HP_TIMING_DIFF_INIT): Remove.
7593         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7594         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7595         (HP_TIMING_DIFF_INIT): Remove.
7596         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7597         * sysdeps/i386/i686/hp-timing.c: Remove file.
7598         * sysdeps/x86_64/hp-timing.c: Remove file.
7599         * sysdeps/ia64/hp-timing.c: Remove file.
7600         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7601         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7602         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7603         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7604
7605         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7606         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7607         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7608         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7609         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7610         (HP_TIMING_ACCUM): Remove.
7611         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7612         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7613         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7614
7615         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7616         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7617         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7618         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7619         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7620         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7621         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7622         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7623
7624         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7625
7626 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
7627
7628         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7629
7630 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7631
7632         Sync up with gettext.
7633         * intl/loadmsgcat.c: Define O_BINARY if not defined.
7634         [_MSC_VER]: Include malloc.h
7635         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7636         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7637         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
7638         TEMP_FAILURE_RETRY.  Cast return of alloca.
7639         [!_LIBC] Call gl_rwlock_init.
7640         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7641
7642 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7643
7644         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7645         before checking its value.
7646
7647 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7648
7649         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7650
7651         * debug/memcpy_chk.c: Don't include pagecopy.h.
7652         * debug/mempcpy_chk.c: Likewise.
7653         * string/memcpy.c: Likewise.
7654         * string/memmove.c: Likewise.
7655         * sysdeps/powerpc/memmove.c: Likewise.
7656         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
7657         definition of PAGE_COPY_FWD_MAYBE here...
7658         * sysdeps/generic/pagecopy.h: ... from here.
7659         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7660
7661 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7662             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7663
7664         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7665         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7666         optimizations.
7667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7668         (__libc_ifunc_impl_list): Likewise.
7669         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7670         multiarch strcat for PPC64.
7671         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7672         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7673
7674 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7675
7676         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7677
7678 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7679
7680         * intl/loadmsgcat.c: Remove declaration of
7681         get_sysdep_segment_value.
7682         (get_sysdep_segment_value): Use ISO C style.
7683         (_nl_load_domain): Use ISO C style.  Get rid of redundant
7684         semicolon.  Fix typo and formatting in comment.
7685         (_nl_unload_domain): Use ISO C style.
7686
7687         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7688
7689 2014-07-02  Will Newton  <will.newton@linaro.org>
7690
7691         * malloc/obstack.c: Merge from gnulib master.
7692         [HAVE_CONFIG_H]: Remove conditional code.
7693         [!_LIBC]: Include config.h.
7694         [!ELIDE_CODE]: Don't include inttypes.h, include
7695         stdint.h unconditionally.
7696         (print_and_abort): Mark as _Noreturn.
7697         (_obstack_allocated_p): Mark as __attribute_pure__.
7698         (obstack_free): Rename to __obstack_free.
7699         [!__attribute__]: Remove conditional code.
7700         * malloc/obstack.h: Merge from gnulib master.
7701         [__cplusplus]: Move conditional down.
7702         [!__attribute_pure__]: Define __attribute_pure__ here
7703         if it is not already defined.
7704         (_obstack_memory_used): Mark as __attribute_pure__.
7705         [!__obstack_free]: Define as obstack_free.
7706         [__GNUC__]: Remove check for ancient NeXT gcc.
7707
7708 2014-07-02  Will Newton  <will.newton@linaro.org>
7709             Paul Eggert  <eggert@cs.ucla.edu>
7710
7711         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7712
7713 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7714
7715         * resolv/gethnamaddr.c: Add comment warning that the file is
7716         not maintained.
7717
7718 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
7719
7720         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7721         entries.
7722
7723         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7724         entry for aio_cancel and aio_cancel64.
7725         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7726         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7727         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7728         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7729         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7730         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7731         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7732         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7733         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7734         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7735         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7736         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7737         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7738
7739 2014-07-01  Roland McGrath  <roland@hack.frob.com>
7740
7741         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7742         * nptl/pthread_mutex_lock.c: Likewise.
7743         * nptl/pthread_mutex_timedlock.c: Likewise.
7744         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7745
7746 2014-07-01  Richard henderson  <rth@redhat.com>
7747
7748         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7749         (__isnan, __isnanl): Remove.
7750         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7751
7752         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7753
7754 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7755
7756         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7757
7758 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7759
7760         * resolv/nss_dns/dns-host.c (getanswer_r)
7761         [MULTI_PTRS_ARE_ALIASES]: Remove code.
7762
7763 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
7764
7765         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7766         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7767         undefine.
7768         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7769         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7770
7771 2014-07-01  Roland McGrath <roland@hack.frob.com>
7772
7773         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7774         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7775
7776         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7777         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7778
7779         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7780         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7781         ... here.
7782         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7783         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7784
7785         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7786         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7787         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7788         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7789
7790         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7791         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7792         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7793         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7794         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7795         Moved ...
7796         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7797         ... here.
7798         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7799         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7800         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7801         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7802         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7803         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7804         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7805         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7806         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7807         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7808         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7809         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7810         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7811         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7812         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7813         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7814         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7815         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7816         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7817         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7818         ... here.
7819         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7820         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7821         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7822         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7823         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7824         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7825         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7826         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7827
7828 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
7829
7830         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7831         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7832         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7833         Add sysdep.
7834
7835 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7836
7837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7838
7839 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7840
7841         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7842         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7843
7844         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7845
7846         * sysdeps/arm/libm-test-ulps: Regenerated.
7847
7848 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
7849             Roland McGrath <roland@hack.frob.com>
7850
7851         * test-skeleton.c (signal_handler): Kill the whole process group
7852         before killing the child individually.
7853         (main): Report any failure on `setpgid'.
7854
7855 2014-06-30  Roland McGrath  <roland@hack.frob.com>
7856
7857         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7858         from _TLS_H to _ARM_NPTL_TLS_H.
7859         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7860         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7861
7862 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
7863
7864         [BZ #16539]
7865         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7866         (__expm1l): Return argument unchanged when small but not
7867         subnormal.
7868
7869         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7870         include macro name.
7871         (_FP_UNPACK_RAW_1_P): Likewise.
7872         (_FP_PACK_RAW_1): Likewise.
7873         (_FP_PACK_RAW_1_P): Likewise.
7874         (_FP_MUL_MEAT_1_wide): Likewise.
7875         (_FP_MUL_MEAT_DW_1_hard): Likewise.
7876         (_FP_MUL_MEAT_1_hard): Likewise.
7877         (_FP_DIV_MEAT_1_imm): Likewise.
7878         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7879         (_FP_DIV_MEAT_1_udiv): Likewise.
7880         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7881         (_FP_UNPACK_RAW_2): Likewise.
7882         (_FP_UNPACK_RAW_2_P): Likewise.
7883         (_FP_PACK_RAW_2): Likewise.
7884         (_FP_PACK_RAW_2_P): Likewise.
7885         (_FP_MUL_MEAT_DW_2_wide): Likewise.
7886         (_FP_MUL_MEAT_2_wide): Likewise.
7887         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7888         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7889         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7890         (_FP_MUL_MEAT_2_gmp): Likewise.
7891         (_FP_DIV_MEAT_2_udiv): Likewise.
7892         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7893         (_FP_FRAC_SRL_4): Likewise.
7894         (_FP_FRAC_SRST_4): Likewise.
7895         (_FP_FRAC_SRS_4): Likewise.
7896         (_FP_UNPACK_RAW_4): Likewise.
7897         (_FP_UNPACK_RAW_4_P): Likewise.
7898         (_FP_PACK_RAW_4): Likewise.
7899         (_FP_PACK_RAW_4_P): Likewise.
7900         (_FP_MUL_MEAT_DW_4_wide): Likewise.
7901         (_FP_MUL_MEAT_4_wide): Likewise.
7902         (_FP_MUL_MEAT_4_gmp): Likewise.
7903         (umul_ppppmnnn): Likewise.
7904         (_FP_DIV_MEAT_4_udiv): Likewise.
7905         (__FP_FRAC_ADD_4): Likewise.
7906         (__FP_FRAC_SUB_3): Likewise.
7907         (__FP_FRAC_SUB_4): Likewise.
7908         (__FP_FRAC_DEC_3): Likewise.
7909         (__FP_FRAC_DEC_4): Likewise.
7910         (__FP_FRAC_ADDI_4): Likewise.
7911         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7912         (_FP_FRAC_SRL_8): Likewise.
7913         (_FP_FRAC_SRS_8): Likewise.
7914
7915         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7916         include macro name.
7917         (FP_UNPACK_RAW_EP): Likewise.
7918         (FP_PACK_RAW_E): Likewise.
7919         (FP_PACK_RAW_EP): Likewise.
7920         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7921         (_FP_ISSIGNAN): Likewise.
7922         (_FP_ADD_INTERNAL): Likewise.
7923         (_FP_FMA): Likewise.
7924         (_FP_CMP): Likewise.
7925         (_FP_SQRT): Likewise.
7926         (_FP_TO_INT): Likewise.
7927         (_FP_FROM_INT): Likewise.
7928         (FP_EXTEND): Likewise.
7929         (_FP_DIV_MEAT_N_loop): Likewise.
7930
7931 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
7932
7933         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7934         throughout.
7935
7936 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
7937
7938         [BZ #17097]
7939         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7940         result with correct sign in case of exponents that produce
7941         overflow except for X very close to 1.
7942
7943 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
7944
7945         mktime: merge #if/#ifdef usage from glibc
7946         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7947         as that works with both Glibc's and Gnulib's style.
7948         See thread starting at Siddhesh Poyarekar's bug report at:
7949         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7950
7951 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7952
7953         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7954         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7955         * sysdeps/tile/tilegx/memmove.c: Remove file.
7956
7957 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7958
7959         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7960         abi-name definition.
7961         * scripts/soversions.awk: Do not handle or generate ABI lines.
7962         * shlib-versions: Remove ABI entries.
7963         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7964         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7965
7966 2014-06-27  Roland McGrath  <roland@hack.frob.com>
7967
7968         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7969         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7970         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7971         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7972         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7973         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7974         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7975         Moved ...
7976         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7977         ... here.
7978         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7979         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7980         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7981         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7982         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7983         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7984         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7985         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7986         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7987         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7988         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7989         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7990         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7991         Moved ...
7992         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7993         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7994         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7995         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7996         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7997         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7998         Moved ...
7999         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8000         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8001         Moved ...
8002         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8003         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8004         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8005         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8006         Moved ...
8007         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8009         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8010         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8011         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8012         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8013         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8014         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8015         Moved ...
8016         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8017         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8018         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8019         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8020         Moved ...
8021         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8022         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8023         Moved ...
8024         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8025         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8026         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8027         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8028         Moved ...
8029         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8030         ... here.
8031         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8032         Identical file removed.
8033         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8034         Moved ...
8035         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8036         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8037         Identical file removed.
8038         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8039         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8040         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8041         Moved ...
8042         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8043         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8044         Identical file removed.
8045         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8046         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8047         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8048         Identical file removed.
8049         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8050         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8051         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8052         Identical file removed.
8053         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8054         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8055         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8056         Identical file removed.
8057         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8058         Moved ...
8059         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8060         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8061         Identical file removed.
8062         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8063         Moved ...
8064         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8065         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8066         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8067         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8068         Identical file removed.
8069         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8070         Moved ...
8071         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8072         ... here.
8073         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8074         Identical file removed.
8075         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8076         Moved ...
8077         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8078         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8079         Identical file removed.
8080         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8081         Moved ...
8082         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8083         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8084         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8085         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8086         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8087         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8088         Moved ...
8089         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8090         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8091         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8092
8093         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8094         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8095         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8096         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8097         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8098
8099 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
8100
8101         [BZ #17092]
8102         * nscd/nscd.c (monitor_child): Return exit status of child
8103         instead of return value from wait syscall.
8104
8105 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8106
8107         * configure.ac (libc_commonpagesize): Remove variable.
8108         (libc_relro_required): Likewise.
8109         (libc_cv_z_relro): Remove configure test.
8110         * configure: Regenerated.
8111         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8112         variable.
8113         (libc_relro_required): Likewise.
8114         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8115         (libc_relro_required): Likewise.
8116         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8117         (libc_relro_required): Likewise.
8118         * sysdeps/arm/preconfigure: Regenerated.
8119         * sysdeps/ia64/preconfigure: Remove file.
8120         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8121         variable.
8122         (libc_relro_required): Likewise.
8123
8124         [BZ #16561]
8125         [BZ #16562]
8126         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8127         (__ieee754_yn): Set FE_TONEAREST mode internally and then
8128         recompute overflowing results in original rounding mode.
8129         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8130         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8131         recompute overflowing results in original rounding mode.
8132         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8133         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8134         recompute overflowing results in original rounding mode.
8135         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8136         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8137         recompute overflowing results in original rounding mode.
8138         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8139         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8140         recompute overflowing results in original rounding mode.
8141         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8142         (libc_feholdsetround_ctx): New macro.
8143         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8144         * sysdeps/i386/fpu/libm-test-ulps: Update.
8145         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8146
8147 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8148
8149         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8150         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8151         corresponding .cpsetup call.
8152
8153 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8154
8155         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8156         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8157         * sysdeps/arm/Makefile [$(subdir) = csu]
8158         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8159         (static-only-routines): Add aeabi_read_tp here.
8160         (shared-only-routines): Add libc-aeabi_read_tp here.
8161         (CFLAGS-libc-start.c): Add -fexceptions here.
8162         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8163         (sysdep_routines, static-only-routines, shared-only-routines):
8164         Don't add to these here.
8165         (CFLAGS-libc-start.c): Likewise.
8166
8167         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8168         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8169         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8170         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8171         * sysdeps/arm/Makefile [$(subdir) = rt]
8172         (librt-sysdep_routines, librt-shared-only-routines):
8173         Append rt-aeabi_unwind_cpp_pr1 here.
8174         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8175         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8176         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8177         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8178         Append nptl-aeabi_unwind_cpp_pr1 here.
8179         (tests): Filter out tst-cleanupx4 here.
8180         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8181         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8182         Don't do those here.
8183
8184 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8185
8186         * scripts/list-sources.sh: Do not handle ports specially.
8187
8188 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8189
8190         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8191         * sysdeps/arm/feupdateenv.c: Likewise.
8192
8193         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8194
8195 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8196
8197         * manual/texinfo.tex: Update to version 2014-05-05.10 with
8198         trailing whitespace removed.
8199         * scripts/config.guess: Update to version 2014-03-23.
8200         * scripts/config.sub: Update to version 2014-05-01
8201         * scripts/install-sh: Update to version 2013-12-25.23.
8202         * scripts/move-if-change: Update from gnulib.
8203
8204 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8205
8206         * debug/memmove_chk.c: Remove pagecopy.h include.
8207
8208 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
8209
8210         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
8211         identical to gnulib mktime.
8212
8213 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8214
8215         * configure.ac: Do not test for machine being rs6000.  Do not test
8216         for powerpc*-*soft.
8217         * configure: Regenerated.
8218
8219         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8220         test.
8221         * configure: Regenerated.
8222         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8223         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8224         Remove configure test.
8225         * sysdeps/arm/configure: Regenerated.
8226         * sysdeps/nptl/configure.ac: Do not check
8227         libc_cv_asm_cfi_directives.
8228         * sysdeps/nptl/configure: Regenerated.
8229         * sysdeps/x86_64/nptl/configure.ac: Remove file.
8230         * sysdeps/x86_64/nptl/configure: Remove generated file.
8231         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8232         unconditional.
8233         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8234
8235 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8236
8237         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8238         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8239         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8240         it is defined.
8241
8242         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8243         instead of whether it is defined.
8244         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8245         * sysdeps/hppa/dl-machine.h: Likewise.
8246         * sysdeps/ia64/dl-machine.h: Likewise.
8247         * sysdeps/m68k/dl-machine.h: Likewise.
8248         * sysdeps/microblaze/dl-machine.h: Likewise.
8249         * sysdeps/mips/dl-machine.: Likewise.
8250         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8251         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8252         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8253         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8254         * sysdeps/sh/dl-machine.h: Likewise.
8255         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8256         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8257         * sysdeps/tile/dl-machine.h: Likewise.
8258         * sysdeps/x86_64/dl-machine.h: Likewise.
8259
8260         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8261         code.
8262         (verify_persistent_db): Likewise.
8263
8264 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8265
8266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8267         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8269         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8271         Moved ...
8272         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8273         ... here.
8274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8275         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8277         Identical file removed.
8278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8279         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8281         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8283         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8285         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8287         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8289         Moved ...
8290         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8292         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8294         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8296         Moved ...
8297         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8299         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8301         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8303         Identical file removed.
8304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8305         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8307         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8309         Moved ...
8310         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8311         ... here.
8312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8313         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8315         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8317         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8319         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8321         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8323         Moved ...
8324         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8326         Moved ...
8327         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8329         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8331         Moved ...
8332         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8334         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8335
8336         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8337         folded into ...
8338         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8339         * sysdeps/unix/sysv/linux/s390/Versions
8340         (libpthread: GLIBC_2.19): New version set.
8341         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8342         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8343         (librt: GLIBC_2.3.3): New version set.
8344         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8345         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8346         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8347         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8348         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8349         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8350         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8351         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8352         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8353         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8354         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8355         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8356         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8357         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8358         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8359         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8360         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8361         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8362         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8363         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8364         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8365         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8366         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8367         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8368         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8369         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8370         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8371         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8372         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8373         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8374         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8375         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8376         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8377         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8378         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8379         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8380         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8381         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8382         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8383         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8384         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8385         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8386         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8387         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8388         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8389
8390         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8391         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8392         (__libc_vfork): Define the function under this name.
8393         [!NOT_IN_libc] (__vfork): Make this an alias.
8394         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8395         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8396         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8397         (__libc_vfork): Define the function under this name.
8398         [!NOT_IN_libc] (__vfork): Make this an alias.
8399         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8400         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8401         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8402         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8403         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8404         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8405
8406         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8407         code that was previously under [RESET_PID].
8408         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8409         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8410         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8411
8412         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8413         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8414         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8415         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8416         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8417         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8418         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8419         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8420         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8421         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8422         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8423         Moved ...
8424         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8425         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8426         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8427         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8428         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8429         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8430         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8431         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8432         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8433         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8434         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8435         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8436         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8437         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8438         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8439         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8440         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8441         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8442         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8443         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8444         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8445         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8446         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8447         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8448         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8449         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8450         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8451         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8452         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8453
8454 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8455
8456         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8457         that was previously under [RESET_PID].
8458         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8459
8460 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8461
8462         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8463         not undefine and redefine.
8464         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8465         [O_CLOEXEC]: Make code unconditional.
8466         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8467         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8468         <kernel-features.h>.
8469         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8470         conditional variable definition.
8471         (shm_open) [O_CLOEXEC]: Make code unconditional.
8472         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8473         code.
8474
8475         * configure.ac (USE_REGPARMS): Don't define here.
8476         * configure: Regenerated.
8477         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8478         * sysdeps/i386/configure: Regenerated.
8479
8480         * nptl/createthread.c: Don't include kernel-features.h.
8481         * nptl/pthread_cancel.c: Likewise.
8482         * nptl/pthread_condattr_setclock.c: Likewise.
8483         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8484         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8485         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8486         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8487         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8488         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8489         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8490         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8491         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8492         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8493         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8494         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8495         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8496         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8497         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8498         * nscd/gai.c: Likewise.
8499         * nss/nss_db/db-open.c: Likewise.
8500         * sysdeps/generic/ldsodefs.h: Likewise.
8501         * sysdeps/sh/nptl/tls.h: Likewise.
8502         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8503         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8504         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8505         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8506         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8507         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8508         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8509         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8510         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8511         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8512         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8513         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8514         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8515         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8516         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8517         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8518         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8519         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8520         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8521         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8522         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8523         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8524         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8525         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8526         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8527         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8528         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8529         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8530         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8531         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8532         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8533         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8534         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8535         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8536         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8537         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8538         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8539         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8540         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8541         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8542         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8543         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8544         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8545         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8546         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8547         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8548         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8549         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8550         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8551         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8552         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8553         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8554         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8555         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8556         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8557         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8558         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8559         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8582         * sysdeps/unix/sysv/linux/pread.c: Likewise.
8583         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8584         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8585         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8586         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8587         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8588         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8589         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8590         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8591         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8592         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8593         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8594         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8595         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8596         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8597         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8598         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8599         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8600         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8601         * sysdeps/unix/sysv/linux/system.c: Likewise.
8602         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8603         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8604         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8605         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8606         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8607         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8608         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8609
8610         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8611         * configure: Regenerated.
8612         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8613
8614         * configure.ac (base_machine): Do not set specially for particular
8615         machines here.
8616         * configure: Regenerated.
8617         * sysdeps/powerpc/preconfigure: Move machine and base_machine
8618         settings from configure.ac.
8619         * sysdeps/i386/preconfigure: New file.
8620         * sysdeps/s390/preconfigure: Likewise.
8621         * sysdeps/sh/preconfigure: Likewise.
8622         * sysdeps/sparc/preconfigure: Likewise.
8623
8624 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8625
8626         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8627         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8628         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8629         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8630         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8631         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8632         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8633         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8634         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8635         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8636         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8637         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8638         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8639         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8640         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8641         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8642         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8643         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8644         * sysdeps/sparc/sparc64/Makefile: ... appended here.
8645
8646         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8647         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8648         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8649         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8650         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8651         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8652         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8653         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8654         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8655         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8656         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8657         * sysdeps/sparc/sparc32/sem_post.c: ... here.
8658         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8659         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8660         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8661         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8662         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8663         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8664         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8665         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8666         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8667         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8668         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8669         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8670         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8671         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8672         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8673         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8674         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8675         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8676         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8677         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8678         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8679         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8680         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8681         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8682         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8683         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8684
8685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8686         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8688         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8690         Moved ...
8691         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8692         ... here.
8693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8694         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8696         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8698         Moved ...
8699         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8701         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8703         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8705         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8707         Moved ...
8708         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8710         Moved ...
8711         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8713         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8714         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8715         Moved ...
8716         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8718         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8720         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8722         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8723         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8724         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8725         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8726         Moved ...
8727         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8728         ... here.
8729         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8730         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8731         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8732         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8733         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8734         Moved ...
8735         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8737         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8738         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8739         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8741         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8743         Moved ...
8744         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8746         Moved ...
8747         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8748         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8749         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8750         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8751         Moved ...
8752         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8754         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8756         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8757
8758 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8759
8760         * timezone/checktab.awk: Update from tzcode 2014e.
8761         * timezone/private.h: Likewise.
8762         * timezone/tzfile.h: Likewise.
8763         * timezone/zdump.c: Likewise.
8764         * timezone/zic.c: Likewise.
8765
8766         * sysdeps/unix/sysv/linux/kernel-features.h
8767         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8768         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8769         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8770         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8771         Remove conditional code.
8772
8773 2014-06-25  Will Newton  <will.newton@linaro.org>
8774
8775         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8776         (_dl_arm_cap_flags): Add HWCAP2 values.
8777         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8778         (_DL_HWCAP_COUNT): Increase to 37.
8779         (_DL_HWCAP_LAST): New define.
8780         (_DL_HWCAP2_LAST): New define.
8781         (_dl_procinfo): Add support for printing
8782         AT_HWCAP2 entries.
8783         (_dl_string_hwcap): Use _dl_hwcap_string.
8784
8785 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8786
8787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8788
8789 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8790
8791         * README: Do not mention ports directory.
8792
8793         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8794         Remove macro.
8795         * sysdeps/unix/sysv/linux/futimes.c: Do not include
8796         <kernel-features.h>.
8797         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8798         conditional variable definition.
8799         (__futimes): Update comment.
8800         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8801         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8802
8803         [BZ #16560]
8804         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8805         arguments close to 0.
8806         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8807         Likewise.
8808         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8809         Likewise.
8810         * math/auto-libm-test-in: Add more tests of exp10.
8811         * math/auto-libm-test-out: Regenerated.
8812         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8813
8814         * sysdeps/unix/sysv/linux/kernel-features.h
8815         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8816         * sysdeps/unix/sysv/linux/readv.c: Do not include
8817         <kernel-features.h>.
8818         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8819         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8820         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8821         unconditional.
8822         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8823         conditional code.
8824         * sysdeps/unix/sysv/linux/writev.c: Do not include
8825         <kernel-features.h>.
8826         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8827         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8828         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8829         unconditional.
8830         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8831         conditional code.
8832
8833 2014-06-25  Will Newton  <will.newton@linaro.org>
8834
8835         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8836         comment changes throughout the file.  Remove checks
8837         for HAVE_*_H definitions that are not required.
8838         (__gen_tempname): Call abort if an unknown kind value is
8839         passed.
8840
8841 2014-06-25  Andreas Schwab  <schwab@suse.de>
8842
8843         [BZ #17086]
8844         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8845         scalbln, scalblnf, scalblnl in libc.
8846
8847 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8848
8849         [BZ #17086]
8850         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8851         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8852         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8853
8854 2014-06-24  Roland McGrath  <roland@hack.frob.com>
8855
8856         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8857         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8858         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8859         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8860         Update #include.
8861         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8862         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8863         Update #include.
8864         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8865         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8866         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8867         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8868         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8869         * sysdeps/x86/bits/pthreadtypes.h: ... here.
8870         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8871         * sysdeps/x86/bits/semaphore.h: ... here.
8872         * sysdeps/x86/nptl/elide.h: Moved ...
8873         * sysdeps/x86/elide.h: ... here.
8874         * sysdeps/x86_64/nptl/Implies: File removed.
8875         * sysdeps/i386/nptl/Implies: File removed.
8876
8877 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
8878
8879         [BZ #16539]
8880         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8881         return the argument for normal arguments with exponent below -64.
8882         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8883         Likewise.
8884         * math/auto-libm-test-in: Add another test of expm1.
8885         * math/auto-libm-test-out: Regenerated.
8886
8887         [BZ #16287]
8888         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8889         calling __erfcl for arguments at least 16.
8890         * math/auto-libm-test-in: Add more tests of erf.
8891         * math/auto-libm-test-out: Regenerated.
8892
8893         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8894         individual architectures.
8895         * sysdeps/unix/sysv/linux/configure: Regenerated.
8896         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8897         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8898         * sysdeps/unix/sysv/linux/powerpc/configure.ac
8899         (ldd_rewrite_script): Define variable.
8900         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8902         file.
8903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8904         generated file.
8905         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8906         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8907         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8908         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8909         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8910         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8911         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8912         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8913
8914 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8915
8916         [BZ #17084]
8917         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8918         Rename member __data.d to __data.__elision_data.
8919
8920 2014-06-24  Wilco  <wdijkstr@arm.com>
8921
8922         * NEWS: Add 16918 to fixed bug list.
8923
8924 2014-06-24  Wilco  <wdijkstr@arm.com>
8925
8926         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8927
8928 2014-06-24  Wilco  <wdijkstr@arm.com>
8929
8930         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8931         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8932         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8933         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8934         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8935         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8936         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8937         Use _FPU_MASK_RM.
8938
8939 2014-06-24  Wilco  <wdijkstr@arm.com>
8940
8941         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8942
8943 2014-06-24  Wilco  <wdijkstr@arm.com>
8944
8945         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8946         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8947         * sysdeps/arm/fesetround.c (fesetround): Remove space.
8948         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8949
8950 2014-06-24  Wilco  <wdijkstr@arm.com>
8951
8952         [BZ #16918]
8953         * sysdeps/arm/feupdateenv.c (feupdateenv):
8954         Rewrite to reduce FPSCR accesses and fix return value.
8955
8956 2014-06-24  Wilco  <wdijkstr@arm.com>
8957
8958         * sysdeps/arm/fclrexcpt.c (feclearexcept):
8959         Optimize to avoid unnecessary FPSCR writes.
8960         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8961         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8962         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8963         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8964
8965 2014-06-24  Wilco  <wdijkstr@arm.com>
8966
8967         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8968         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8969         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8970         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8971         Call libc_fetestexcept_vfp.
8972         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8973         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8974         __SOFTFP__ ifdef so that they can be built for softfp.
8975
8976 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8977
8978         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8979         argument type signed char.
8980
8981         * Makerules (check-abi): Dump diff of symlist if the test
8982         fails.
8983
8984 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8985
8986         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8987         using abort.
8988
8989         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8990         Remove unused variable ST.
8991
8992 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8993
8994         [BZ #16354]
8995         [BZ #17061]
8996         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8997         small arguments before calling __expm1.
8998         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8999         small arguments before calling __expm1f.
9000         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9001         small arguments before calling __expm1l.
9002         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9003         Likewise.
9004         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9005         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
9006         spurious underflow for some cosh tests.
9007         * math/auto-libm-test-out: Regenerated.
9008         * sysdeps/i386/fpu/libm-test-ulps: Update.
9009
9010         [BZ #17050]
9011         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9012         (__ieee754_y1): Set errno if return value overflows.
9013         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9014         (__ieee754_y1f): Set errno if return value overflows.
9015         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9016         (__ieee754_y1l): Set errno if return value overflows.
9017         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9018         (__ieee754_y1l): Set errno if return value overflows.
9019         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9020         * math/auto-libm-test-out: Regenerated.
9021
9022         * math/gen-auto-libm-tests.c: Document use of
9023         ignore-zero-inf-sign.
9024         (input_flag_type): Add value flag_ignore_zero_inf_sign.
9025         (input_flags): Add ignore-zero-inf-sign.
9026         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9027         * math/gen-libm-test.pl (generate_testfile): Handle
9028         ignore-zero-inf-sign.
9029         * math/auto-libm-test-in: Mark some cpow tests with
9030         ignore-zero-inf-sign and some with xfail-rounding.
9031         * math/auto-libm-test-out: Regenerated.
9032         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9033         * sysdeps/i386/fpu/libm-test-ulps: Update.
9034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9035
9036         [BZ #16315]
9037         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9038         overflowing or underflowing operations take place with sign of
9039         result.
9040         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9041         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9042         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9043         (__ieee754_pow): Recompute overflowing and underflowing results in
9044         original rounding mode.
9045         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9046         (__powl_helper): Allow negative argument X and scale negated value
9047         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
9048         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9049         overflowing or underflowing operations take place with sign of
9050         result.
9051         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9052         Include <math.h>.
9053         * math/auto-libm-test-in: Add more tests of pow.
9054         * math/auto-libm-test-out: Regenerated.
9055         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9056         (pow_tonearest_test_data): Remove.
9057         (pow_test_tonearest): Likewise.
9058         (pow_towardzero_test_data): Likewise.
9059         (pow_test_towardzero): Likewise.
9060         (pow_downward_test_data): Likewise.
9061         (pow_test_downward): Likewise.
9062         (pow_upward_test_data): Likewise.
9063         (pow_test_upward): Likewise.
9064         (main): Don't call removed functions.
9065         * sysdeps/i386/fpu/libm-test-ulps: Update.
9066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9067
9068 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9069
9070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9071         Moved ...
9072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9074         Moved ...
9075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9077         Moved ...
9078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9080         Moved ...
9081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9083         File removed.
9084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9085         File removed.
9086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9087         File removed.
9088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9089         File removed.
9090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9091         File removed.
9092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9093         File removed.
9094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9095         File removed.
9096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9097         File removed.
9098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9099         File removed.
9100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9101         File removed.
9102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9103         File removed.
9104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9105         File removed.
9106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9107         Moved ...
9108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9110         Moved ...
9111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9112         ... here.
9113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9114         Moved ...
9115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9117         Moved ...
9118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9120         Moved ...
9121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9123         Moved ...
9124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9126         Moved ...
9127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9129         Moved ...
9130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9132         Moved ...
9133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9136         ... here.
9137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9138         Moved ...
9139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9141         Moved ...
9142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9143         ... here.
9144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9145         Moved ...
9146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9147         ... here.
9148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9149         Moved ...
9150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9151         ... here.
9152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9153         Moved ...
9154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9156         Moved ...
9157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9161         Moved ...
9162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9163         ... here.
9164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9165         Moved ...
9166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9167         ... here.
9168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9169         Moved ...
9170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9172         Moved ...
9173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9175         Moved ...
9176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9178         Moved ...
9179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9181         Moved ...
9182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9183         ... here.
9184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9185         Moved ...
9186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9188         Moved ...
9189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9191         Moved ...
9192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9194         Moved ...
9195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9199         Moved ...
9200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9202         Moved ...
9203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9205         Moved ...
9206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9207         ... here.
9208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9209         Moved ...
9210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9211         ... here.
9212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9213         Moved ...
9214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9215         ... here.
9216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9217         Moved ...
9218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9220         Moved ...
9221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9223         Moved ...
9224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9226         Moved ...
9227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9228         ... here.
9229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9230         Moved ...
9231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9232         ... here.
9233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9234         Moved ...
9235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9236         ... here.
9237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9238         Moved ...
9239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9241         Moved ...
9242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9243
9244 2014-06-23  Will Newton  <will.newton@linaro.org>
9245             Wilco  <wdijkstr@arm.com>
9246
9247         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9248         implementation.  Include get-rounding-mode.h.
9249         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9250         [!libc_feholdsetround_noex_ctx]: Define
9251         libc_feholdsetround_noex_ctx.
9252         [!libc_feholdsetround_noexf_ctx]: Define
9253         libc_feholdsetround_noexf_ctx.
9254         [!libc_feholdsetround_noexl_ctx]: Define
9255         libc_feholdsetround_noexl_ctx.
9256         (libc_feholdsetround_ctx): New function.
9257         (libc_feresetround_ctx): New function.
9258         (libc_feholdsetround_noex_ctx): New function.
9259         (libc_feresetround_noex_ctx): New function.
9260
9261 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9262
9263         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9264         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9265         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9266         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9267         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9268         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9269
9270         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9271         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9272         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9273         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9274         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9275         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9276         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9277         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9278         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9279         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9280         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9281         Moved ...
9282         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9283         ... here.
9284         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9285         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9286         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9287         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9288         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9289         Moved ...
9290         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9291         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9292         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9293         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9294         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9295         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9296         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9297         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9298         Moved ...
9299         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9300         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9301         Moved ...
9302         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9303         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9304         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9305         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9306         Moved ...
9307         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9308         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9309         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9310         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9311         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9312         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9313         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9314         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9315         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9316         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9317         Moved ...
9318         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9319         ... here.
9320         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9321         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9322         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9323         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9324         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9325         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9326         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9327         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9328         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9329         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9330         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9331         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9332         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9333         Moved ...
9334         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9335         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9336         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9337         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9338         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9339         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9340         Moved ...
9341         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9342         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9343         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9344         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9345         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9346
9347         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9348         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9349         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9350         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9351         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9352         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9353         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9354         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9355         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9356         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9357         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9358         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9359         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9360         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9361         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9362         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9363         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9364         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9365         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9366         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9367         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9368         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9369         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9370         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9371         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9372         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9373         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9374         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9375
9376 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9377
9378         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9379         (FALLOC_FL_COLLAPSE_RANGE): New macro.
9380         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9381         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9382         (IPV6_PMTUDISC_INTERFACE): Likewise.
9383         (IPV6_PMTUDISC_OMIT): Likewise.
9384
9385 2014-06-23  Andreas Schwab  <schwab@suse.de>
9386
9387         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9388         Remove unused errout label.
9389
9390 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9391
9392         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9393         macro: hardware supports Vector Crypto instructions.
9394
9395 2014-06-23  Will Newton  <will.newton@linaro.org>
9396
9397         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9398         rather than __builtin_expect.
9399
9400         * elf/dl-lookup.c (undefined_msg): Remove variable.
9401         (_dl_lookup_symbol_x): Replace undefined_msg with string
9402         literal.
9403
9404         * elf/dl-lookup.c (do_lookup_unique): New function.
9405         (do_lookup_x): Move STB_GNU_UNIQUE handling code
9406         to a separate function.
9407
9408 2014-06-23  Andreas Schwab  <schwab@suse.de>
9409
9410         [BZ #17079]
9411         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9412         before reading the next line.
9413
9414 2014-06-23  Will Newton  <will.newton@linaro.org>
9415
9416         * test-skeleton.c (signal_handler): Use printf and %m
9417         rather than perror.  Use printf rather than fprintf to
9418         stderr.  Use puts rather than fputs to stderr.
9419         (main): Likewise.
9420
9421 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
9422
9423         * nscd/nscd.c (thread_info_t): Remove typedef.
9424         (thread_info): Remove variable.
9425
9426 2014-06-21  Allan McRae  <allan@archlinux.org>
9427
9428         * NEWS: Mention CVE-2014-4043.
9429
9430 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9431
9432         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9433         * nptl/smp.h: ... here.
9434
9435         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9436
9437         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9438         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9439         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9440         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9441
9442         * nptl/allocatestack.c: Include <stack-aliasing.h>.
9443         * nptl/stack-aliasing.h: New file.
9444         * sysdeps/i386/i686/stack-aliasing.h: New file.
9445         * sysdeps/i386/i686/nptl/Makefile: File removed.
9446         * sysdeps/x86_64/stack-aliasing.h: New file.
9447         * sysdeps/x86_64/nptl/Makefile
9448         (CFLAGS-pthread_create.c): Variable removed.
9449
9450         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9451         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9452         old file.
9453         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9454         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9455         old file.
9456
9457 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
9458
9459         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9460         (__ASSUME_SIGFRAME_V2): Remove macro.
9461         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9462         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9463         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9464         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9465         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9466         Declare as function.  Remove conditional macro definitions.
9467         (__default_rt_sa_restorer): Likewise.
9468         (__default_sa_restorer_v1): Remove declaration.
9469         (__default_sa_restorer_v2): Likewise.
9470         (__default_rt_sa_restorer_v1): Likewise.
9471         (__default_rt_sa_restorer_v2): Likewise.
9472         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9473         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9474         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9475
9476 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9477
9478         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9479         (libpthread-routines): Add sysdep.
9480         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9481         * sysdeps/unix/sysv/linux/sparc/Versions
9482         (libpthread: GLIBC_2.3.3): New version set.
9483         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9484         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9485         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9486         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9487         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
9488         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9489         Moved ...
9490         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9491         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9492         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9493         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9494         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9495         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9496         * sysdeps/sparc/nptl/sem_init.c: ... here.
9497         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9498         * sysdeps/sparc/nptl/sem_post.c: ... here.
9499         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9500         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9501         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9502         * sysdeps/sparc/nptl/sem_wait.c: ... here.
9503         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9504         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9505         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9506         (libpthread-routines): Add cpu_relax.
9507         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9508         File removed.
9509         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9510         (librt: GLIBC_2.3.3): New version set.
9511         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9512         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9513         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9514         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9516         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9517         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9519         Moved ...
9520         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9522         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9524         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9526         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9528         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9530         Moved ...
9531         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9532         Update #include.
9533         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9534         Moved ...
9535         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9536         Update #include.
9537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9538         Moved ...
9539         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9540         Update #include.
9541         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9542         Moved ...
9543         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9544         Update #include.
9545         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9546         Moved ...
9547         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9548         Update #include.
9549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9550         Moved ...
9551         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9552         Update #include.
9553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9554         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9556         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9558         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9560         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9561         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9562         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9563         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9564         Moved ...
9565         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9567         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9569         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9570
9571 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9572
9573         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9574         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9575         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9576         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9577         * nscd/nscd.c: Likewise.
9578         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9579         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9580         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9581         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9582
9583         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9584         <kernel-features.h>.
9585         (init_mq_netlink): Remove conditional have_sock_cloexec
9586         definitions.  Remove code conditional on have_sock_cloexec < 0.
9587         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9588         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9589         * sysdeps/unix/sysv/linux/opensock.c: Do not include
9590         <kernel-features.h>.
9591         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9592         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9593
9594 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9595
9596         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9597         Add tests for memset_chk and memset.
9598
9599         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9600         with AVX2_Usable.
9601
9602 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9603
9604         [BZ #16046]
9605         * elf/tst-dl-iter-static.c: New file.
9606         * elf/Makefile (tests-static): Add tst-dl-iter-static.
9607
9608         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9609         error.
9610
9611 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9612
9613         * sysdeps/unix/sysv/linux/kernel-features.h
9614         (__ASSUME_F_GETOWN_EX): Remove macro.
9615         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9616         <kernel-features.h>.
9617         (miss_F_GETOWN_EX): Remove variable or macro.
9618         (do_fcntl): Do not check miss_F_GETOWN_EX.
9619         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9620
9621         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9622         Remove macro.
9623         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9624         [!__ASSUME_AT_RANDOM]: Remove conditional code.
9625         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9626
9627         * sysdeps/unix/sysv/linux/kernel-features.h
9628         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9629         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9630         [ADJ_OFFSET_SS_READ]: Make code unconditional.
9631         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9632
9633 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9634
9635         [BZ #17075]
9636         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9637         Fix calculation of the symbol's value.
9638         * sysdeps/arm/tst-armtlsdescloc.c: New file.
9639         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9640         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9641         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9642         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9643         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9644         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9645         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9646         (modules-names): Add `tst-armtlsdescmod',
9647         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9648         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9649         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9650         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9651         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9652         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9653         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9654         ($(objpfx)tst-armtlsdescloc): New dependency.
9655         ($(objpfx)tst-armtlsdescextnow): Likewise.
9656         ($(objpfx)tst-armtlsdescextlazy): Likewise.
9657         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9658         TLS scheme support.
9659         * sysdeps/arm/configure: Regenerate.
9660
9661 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9662
9663         * include/fcntl.h (__atfct_seterrno): Remove prototype.
9664         (__atfct_seterrno_2): Likewise.
9665         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9666         <kernel-features.h>.
9667         (__ASSUME_ATFCTS): Do not undefine and redefine.
9668         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9669         (__have_atfcts): Remove conditional definition.
9670         (__fxstatat([__NR_fstatat64]: Make code unconditional.
9671         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9672         unreachable if [__ASSUME_ATFCTS].
9673         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9674         not undefine and redefine.
9675         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9676         <kernel-features.h>.
9677         (faccessat) [__NR_faccessat]: Make code unconditional.
9678         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9679         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9680         <kernel-features.h>.
9681         (fchmodat) [__NR_fchmodat]: Make code unconditional.
9682         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9683         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9684         <kernel-features.h>.
9685         (fchownat) [__NR_fchownat]: Make code unconditional.
9686         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9687         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9688         <kernel-features.h>.
9689         (futimesat) [__NR_futimesat]: Make code unconditional.
9690         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9691         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9692         <kernel-features.h>.
9693         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9694         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9695         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9696         <kernel-features.h>.
9697         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9698         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9699         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9700         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9701         <kernel-features.h>.
9702         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9703         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9704         * sysdeps/unix/sysv/linux/linkat.c: Do not include
9705         <kernel-features.h>.
9706         (linkat) [__NR_linkat]: Make code unconditional.
9707         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9708         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9709         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9710         <kernel-features.h>.
9711         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9712         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9713         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9714         <kernel-features.h>.
9715         (mkdirat) [__NR_mkdirat]: Make code unconditional.
9716         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9717         * sysdeps/unix/sysv/linux/openat.c: Do not include
9718         <kernel-features.h>.
9719         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9720         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9721         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9722         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9723         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9724         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9725         <kernel-features.h>.
9726         (readlinkat) [__NR_readlinkat]: Make code unconditional.
9727         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
9728         result of INLINE_SYSCALL directly, not via int variable.
9729         * sysdeps/unix/sysv/linux/renameat.c: Do not include
9730         <kernel-features.h>.
9731         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9732         (renameat) [__NR_renameat]: Make code unconditional.
9733         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9734         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9735         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9736         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9737         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9738         (__ASSUME_ATFCTS): Do not undefine and redefine.
9739         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9740         <kernel-features.h>.
9741         (symlinkat) [__NR_symlinkat]: Make code unconditional.
9742         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9743         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9744         <kernel-features.h>.
9745         (unlinkat) [__NR_unlinkat]: Make code unconditional.
9746         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9747         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9748         (__ASSUME_ATFCTS): Do not undefine and redefine.
9749         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9750         <kernel-features.h>.
9751         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9752         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9753         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9754         <kernel-features.h>.
9755         (__xmknodat) [__NR_mknodat]: Make code unconditional.
9756         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9757
9758 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9759
9760         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9761
9762 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
9763
9764         [BZ #17069]
9765         * posix/regcomp.c (parse_reg_exp): Deallocate partially
9766         constructed tree before returning error.
9767         * posix/bug-regexp36.c: Expand test case.
9768
9769 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9770
9771         [BZ #6803]
9772         * math/libm-test.inc (scalbln_test_date):
9773         Add errno expectations.
9774         * math/w_scalblnf.c: New File.
9775         Add wrapper which checks for setting errno to ERANGE.
9776         Add weak_alias for corresponding scalbln function.
9777         * math/w_scalbln.c: Likewise.
9778         * math/w_scalblnl.c: Likewise.
9779         * math/Makefile (libm-calls): Add w_scalbln.
9780         * sysdeps/ieee754/flt-32/s_scalblnf.c:
9781         Remove weak_alias for corresponding scalbln function.
9782         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9783         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9784         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9785         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9786         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9787         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9788         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9789         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9790         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9791         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9792         Remove long_double_symbol for scalblnl function in libm, libc.
9793         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9794         Add wrapper which checks for setting errno to ERANGE.
9795         Add long_double_symbol for scalblnl function in libm, libc.
9796         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9797         Remove long_double_symbol for scalblnl in libm.
9798         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9799         Add wrapper which checks for setting errno to ERANGE.
9800         Add long_double_symbol for scalblnl function in libm.
9801         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9802         Do not use wrapper because of own implementation.
9803
9804 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
9805
9806         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9807         3 bytes for __pad1 for x32.
9808         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9809
9810 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
9811             H.J. Lu  <hongjiu.lu@intel.com>
9812
9813         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9814         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9815         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9816         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9817         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9818
9819 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
9820
9821         [BZ #17069]
9822         * posix/regcomp.c (parse_expression): Deallocate partially
9823         constructed tree before returning error.
9824         * posix/Makefile.c (tests): Add bug-regex36.
9825         (generated): Add bug-regex36.mtrace.
9826         (tests-special): Add $(objpfx)bug-regex36-mem.out
9827         (bug-regex36-ENV): New variable.
9828         ($(objpfx)bug-regex36-mem.out): New rule.
9829         * posix/bug-regex36.c: New file.
9830
9831 2014-06-19  Will Newton  <will.newton@linaro.org>
9832
9833         * malloc/malloc.c (systrim): If extra is zero then return
9834         early.
9835
9836 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9837
9838         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9839
9840 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
9841
9842         * sysdeps/aarch64/strchr.S: New file.
9843
9844 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
9845
9846         [BZ #17022]
9847         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9848         from arguments -2 or below.
9849         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9850         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9851
9852 2014-06-18  Andreas Schwab  <schwab@suse.de>
9853
9854         [BZ #17062]
9855         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9856         of a bracket expr not to run off the end of the string.
9857         * posix/Makefile (tests): Add tst-fnmatch3.
9858         * posix/tst-fnmatch3.c: New file.
9859
9860 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
9861
9862         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9863         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9864         [$(cross-compiling) = no]: Likewise.
9865         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9866         [$(cross-compiling) = no]: Likewise.
9867
9868 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9869
9870         [BZ #17031]
9871         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9872         double, adjusted for any remainder from the high double.
9873         * math/libm-test.inc (nearbyint): Add tests.
9874         (rint): Likewise.
9875
9876 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9877
9878         * nptl/sysdeps/powerpc/Makefile: Moved ...
9879         * sysdeps/powerpc/nptl/Makefile: ... here.
9880         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9881         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9882         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9883         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9884         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9885         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9886         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9887         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9888         * nptl/sysdeps/powerpc/tls.h: Moved ...
9889         * sysdeps/powerpc/nptl/tls.h: ... here.
9890
9891 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
9892
9893         [BZ #16681]
9894         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9895         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9896         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9897         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9898         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9899         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9900         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9901         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9902         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9903
9904 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
9905
9906         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9907
9908 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
9909
9910         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9911         defined operator.
9912
9913         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9914         $TIMEOUTFACTOR.
9915
9916 2014-06-16  Florian Weimer  <fweimer@redhat.com>
9917
9918         [BZ #17058]
9919         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9920         non-executed part of the test.
9921
9922 2014-06-16  Andreas Schwab  <schwab@suse.de>
9923
9924         * string/bits/string2.h (strdup, strndup): Update feature guard.
9925
9926 2014-06-14  David S. Miller  <davem@davemloft.net>
9927
9928         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9929
9930 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
9931
9932         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9933         that was previously under [RESET_PID].
9934         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9935
9936         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9937         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9938         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9939         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9940         (__libc_vfork): New strong alias.
9941         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9942
9943 2014-06-14 Andi Kleen  <ak@linux.intel.com>
9944
9945         * sysdeps/generic/elide.h: New file.
9946
9947 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9948
9949         * Makefile (installed-headers): Adjust path of pthread.h header.
9950
9951 2014-06-13  Roland McGrath  <roland@hack.frob.com>
9952
9953         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9954         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9955         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9956         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9957
9958         * nptl/sysdeps/s390/Makefile: Moved ...
9959         * sysdeps/s390/nptl/Makefile: ... here.
9960         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9961         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9962         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9963         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9964         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9965         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9966         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9967         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9968         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9969         * sysdeps/s390/nptl/pthreaddef.h: ... here.
9970         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9971         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9972         * nptl/sysdeps/s390/tls.h: Moved ...
9973         * sysdeps/s390/nptl/tls.h: ... here.
9974
9975         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9976         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9977
9978 2014-06-13  David S. Miller  <davem@davemloft.net>
9979
9980         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9982         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9983         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9986         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9987         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9988         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9989         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9990         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9991         Remove RESET_PID cpp guards.
9992         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9993         Remove RESET_PID cpp guards.
9994         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9995
9996 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
9997
9998         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9999         __sp to uintptr_t.
10000
10001 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10002
10003         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10004         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10005         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10006         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10007         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10008         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10009         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10010         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10011         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10012         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10013         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10014         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10015         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10016         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10017         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10018         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10019         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10020         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10021         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10022         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10023
10024         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10025         (pthread_rwlock_rdlock): Add elision.
10026         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10027         (pthread_rwlock_wrlock): Add elision.
10028         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10029         (pthread_rwlock_trywrlock): Add elision.
10030         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10031         (pthread_rwlock_tryrdlock): Add elision.
10032         * nptl/pthread_rwlock_unlock.c: Include elide.h.
10033         (pthread_rwlock_tryrdlock): Add elision unlock.
10034         * nptl/sysdeps/pthread/pthread.h:
10035         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10036         (PTHREAD_RWLOCK_INITIALIZER,
10037         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10038         Handle new elision field.
10039         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10040         * sysdeps/arm/nptl/bits/pthreadtypes.h
10041         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10042         * sysdeps/sh/nptl/bits/pthreadtypes.h
10043         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10044         * sysdeps/tile/nptl/bits/pthreadtypes.h
10045         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10046         * sysdeps/a/nptl/bits/pthreadtypes.h
10047         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10048         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10049         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10050         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10051         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10052         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10053         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10054         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10055         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10056         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10057         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10058         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10059         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10060         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10061         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10062         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10063         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10064         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10065         (elision_init): Set try_xbegin to zero when no RTM.
10066         * sysdeps/x86/nptl/bits/pthreadtypes.h
10067         (pthread_rwlock_t): Change __pad1 to __rwelision.
10068         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10069
10070 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10071
10072         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10073         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10074         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10075         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10076
10077 2014-06-13  Meador Inge  <meadori@codesourcery.com>
10078
10079         [BZ #16996]
10080         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10081         that the cached result has been set before returning it.
10082
10083 2014-06-12  Roland McGrath  <roland@hack.frob.com>
10084
10085         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10086         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10087         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10088         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10089         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10090         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10091
10092         * nptl/sysdeps/sparc/Makefile: Moved ...
10093         * sysdeps/sparc/nptl/Makefile: ... here.
10094         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10095         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10096         * nptl/sysdeps/sparc/tls.h: Moved ...
10097         * sysdeps/sparc/nptl/tls.h: ... here.
10098         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10099         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10100         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10101         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10102         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10103         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10104         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10105         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10106         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10107         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10108         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10109         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10110         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10111         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10112         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10113         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10114         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10115         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10116         Update #include.
10117         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10118         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10119         Update #include.
10120         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10121         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10122         Update #include.
10123         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10124         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10125         Update #include.
10126
10127         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10128
10129         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10130         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10131
10132         * sysdeps/pthread/posix-timer.h: Include <list.h>.
10133         (struct list_links): Type removed.
10134         (struct thread_node, struct timer_node): Replace struct list_links
10135         with struct list_head.
10136         (list_unlink_ip): Likewise.
10137         * sysdeps/pthread/timer_routines.c
10138         (timer_free_list, thread_free_list, thread_active_list): Likewise.
10139         (list_append, list_insbefore): Likewise.
10140         (list_init): Function removed.
10141         (thread_init, init_module): Use INIT_LIST_HEAD instead.
10142         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10143         * sysdeps/pthread/Makefile: ... here, new file.
10144
10145         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10146         * sysdeps/nptl/Implies: ... here.
10147         * sysdeps/unix/sysv/linux/Implies: Add nptl.
10148         * nptl/sysdeps/pthread/list.h: Moved ...
10149         * include/list.h: ... here.
10150         * nptl/sysdeps/pthread/createthread.c: Moved ...
10151         * nptl/createthread.c: ... here.
10152         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10153         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10154         * nptl/pt-longjmp.c: ... here.
10155         * nptl/sysdeps/pthread/Makefile: Moved ...
10156         * sysdeps/nptl/Makefile: ... here.
10157         * nptl/sysdeps/pthread/Subdirs: Moved ...
10158         * sysdeps/nptl/Subdirs: ... here.
10159         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10160         * sysdeps/nptl/aio_misc.h: ... here.
10161         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10162         * sysdeps/nptl/bits/libc-lock.h: ... here.
10163         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10164         * sysdeps/nptl/bits/libc-lockP.h: ... here.
10165         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10166         * sysdeps/nptl/bits/stdio-lock.h: ... here.
10167         * nptl/sysdeps/pthread/configure: Moved ...
10168         * sysdeps/nptl/configure: ... here.
10169         * nptl/sysdeps/pthread/configure.ac: Moved ...
10170         * sysdeps/nptl/configure.ac: ... here.
10171         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10172         * sysdeps/nptl/gai_misc.h: ... here.
10173         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10174         * sysdeps/nptl/librt-cancellation.c: ... here.
10175         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10176         * sysdeps/nptl/malloc-machine.h: ... here.
10177         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10178         * sysdeps/nptl/pthread-functions.h: ... here.
10179         * nptl/sysdeps/pthread/pthread.h: Moved ...
10180         * sysdeps/nptl/pthread.h: ... here.
10181         * nptl/sysdeps/pthread/setxid.h: Moved ...
10182         * sysdeps/nptl/setxid.h: ... here.
10183         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10184         * sysdeps/nptl/sigfillset.c: ... here.
10185         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10186         * sysdeps/nptl/tcb-offsets.h: ... here.
10187         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10188         * sysdeps/nptl/tst-mqueue8x.c: ... here.
10189         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10190         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10191         * nptl/sysdeps/pthread/allocalim.h: Moved ...
10192         * sysdeps/pthread/allocalim.h: ... here.
10193         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10194         * sysdeps/pthread/bits/sigthread.h: ... here.
10195         * nptl/sysdeps/pthread/flockfile.c: Moved ...
10196         * sysdeps/pthread/flockfile.c: ... here.
10197         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10198         * sysdeps/pthread/ftrylockfile.c: ... here.
10199         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10200         * sysdeps/pthread/funlockfile.c: ... here.
10201         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10202         * sysdeps/pthread/posix-timer.h: ... here.
10203         * nptl/sysdeps/pthread/timer_create.c: Moved ...
10204         * sysdeps/pthread/timer_create.c: ... here.
10205         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10206         * sysdeps/pthread/timer_delete.c: ... here.
10207         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10208         * sysdeps/pthread/timer_getoverr.c: ... here.
10209         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10210         * sysdeps/pthread/timer_gettime.c: ... here.
10211         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10212         * sysdeps/pthread/timer_routines.c: ... here.
10213         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10214         * sysdeps/pthread/timer_settime.c: ... here.
10215         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10216         * sysdeps/pthread/tst-timer.c: ... here.
10217         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10218         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10219
10220         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10221         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10222
10223         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10224         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10225         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10226         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10227         Update #include target.
10228         * nptl/sysdeps/i386/i686/Makefile: Moved ...
10229         * sysdeps/i386/i686/nptl/Makefile: ... here.
10230         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10231         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10232         Update #include target.
10233         * nptl/sysdeps/i386/i686/tls.h: Moved ...
10234         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
10235         * nptl/sysdeps/i386/Makefile: Moved ...
10236         * sysdeps/i386/nptl/Makefile: ... here.
10237         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10238         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10239         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10240         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10241         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10242         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10243         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10244         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10245         * sysdeps/i386/nptl/pthreaddef.h: ... here.
10246         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10247         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10248         * nptl/sysdeps/i386/tls.h: Moved ...
10249         * sysdeps/i386/nptl/tls.h: ... here.
10250
10251         * sysdeps/sh/Makefile [$(subdir) = csu]
10252         (gen-as-const-headers): Add tcb-offsets.sym.
10253         * nptl/sysdeps/sh/Makefile: File removed.
10254         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10255         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10256         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10257         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10258         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10259         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10260         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10261         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10262         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10263         * sysdeps/sh/nptl/pthreaddef.h: ... here.
10264         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10265         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10266         * nptl/sysdeps/sh/tls.h: Moved ...
10267         * sysdeps/sh/nptl/tls.h: ... here.
10268         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10269         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10270         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10271         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10272         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10273         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10274         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10275         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10276         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10277         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10278         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10279         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10280         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10281         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10282         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10283         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10284         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10285         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10286         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10287         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10288         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10289         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10290         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10291         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10292         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10293         Moved ...
10294         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10295         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10296         Moved ...
10297         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10298         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10299         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10300         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10301         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10302         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10303         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10304         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10305         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10306         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10307         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10308         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10309         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10310         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10311         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10312         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10313         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10314         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10315         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10316
10317 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10318
10319         * posix/spawn_faction_addopen.c: Include string.h.
10320
10321 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10322
10323         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10324         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10325         * nptl/sysdeps/x86_64/Makefile: Moved ...
10326         * sysdeps/x86_64/nptl/Makefile: ... here.
10327         * nptl/sysdeps/x86_64/configure: Moved ...
10328         * sysdeps/x86_64/nptl/configure: ... here.
10329         * nptl/sysdeps/x86_64/configure.ac: Moved ...
10330         * sysdeps/x86_64/nptl/configure.ac: ... here.
10331         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10332         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10333         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10334         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10335         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10336         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10337         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10338         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10339         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10340         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10341         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10342         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10343         * nptl/sysdeps/x86_64/tls.h: Moved ...
10344         * sysdeps/x86_64/nptl/tls.h: ... here.
10345         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10346         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10347         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10348         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10349
10350         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10351
10352 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10353
10354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10355
10356 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
10357
10358         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10359         type.
10360         [POSIX] (off_t): Likewise.
10361         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10362         [POSIX] (S_ISBLK): Require macro.
10363         [POSIX] (S_ISCHR): Likewise.
10364         [POSIX] (S_ISDIR): Likewise.
10365         [POSIX] (S_ISFIFO): Likewise.
10366         [POSIX] (S_ISREG): Likewise.
10367         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10368         optional-macro.
10369         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10370         type.
10371         [POSIX] (time_t): Likewise.
10372         [POSIX] (timer_t): Likewise.
10373
10374 2014-06-11  Florian Weimer  <fweimer@redhat.com>
10375
10376         [BZ #17048]
10377         * posix/spawn_int.h (struct __spawn_action): Make the path string
10378         non-const to support deallocation.
10379         * posix/spawn_faction_addopen.c
10380         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10381         * posix/spawn_faction_destroy.c
10382         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
10383         path in all spawn_do_open actions.
10384         * posix/tst-spawn.c (do_test): Exercise the copy operation in
10385         posix_spawn_file_actions_addopen.
10386
10387 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
10388
10389         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10390         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10391         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10392         conditional code always true.
10393         (__libc_vfork): New alias.
10394
10395 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10396
10397         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10398         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10399
10400         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10401
10402         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10403         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10404
10405         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10406         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10407
10408         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10409         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10410
10411 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10412
10413         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10414         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10415         multiarch strcmp for PPC64.
10416         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10417         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10418         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10419         multiarch optimizations.
10420         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10421         (__libc_ifunc_impl_list): Likewise.
10422
10423 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10424
10425         * benchtests/scripts/validate_benchout.py: New script.
10426         * benchtests/Makefile (bench-func): Call it.
10427         * benchtests/scripts/benchout.schema.json: New file.
10428
10429 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
10430
10431         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10432         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10433         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10434         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10435         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10436         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10437         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10438         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10439         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10440         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10441         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10442         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10443         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10444         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10445         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10446         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10448         Moved ...
10449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10450         ... here.
10451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10452         Moved ...
10453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10455         Moved ...
10456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10457         ... here.
10458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10459         Moved ...
10460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10461         ... here.
10462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10463         Moved ...
10464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10466         Moved ...
10467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10468         ... here.
10469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10470         Moved ...
10471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10472         ... here.
10473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10474         Moved ...
10475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10477         Moved ...
10478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10479         ... here.
10480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10481         Moved ...
10482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10483         ... here.
10484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10485         Moved ...
10486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10487         ... here.
10488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10489         Moved ...
10490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10492         Moved ...
10493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10494         ... here.
10495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10496         Moved ...
10497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10498         ... here.
10499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10500         Moved ...
10501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10502         ... here.
10503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10504         Moved ...
10505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10507         Moved ...
10508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10509         ... here.
10510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10511         Moved ...
10512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10513         ... here.
10514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10515         Moved ...
10516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10518         Moved ...
10519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10520         ... here.
10521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10522         Moved ...
10523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10525         Moved ...
10526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10528         Moved ...
10529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10530         ... here.
10531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10532         Moved ...
10533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10534         ... here.
10535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10536         Moved ...
10537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10538         ... here.
10539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10540         Moved ...
10541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10543         Moved ...
10544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10545         ... here.
10546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10547         Moved ...
10548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10549         ... here.
10550         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10551         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10552         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10553         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10554         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10555         Moved ...
10556         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10557         ... here.
10558         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10559         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10560         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10561         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10562         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10563         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10564         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10565         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10566         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10567         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10568         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10569         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10570         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10571         Moved ...
10572         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10573         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10574         Moved ...
10575         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10576         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10577         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10578         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10579         Moved ...
10580         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10581         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10582         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10583         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10584         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10585         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10586         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10587
10588 2014-06-10  Wilco  <wdijkstr@arm.com>
10589
10590         * math/test-fenv-return.c: New file.
10591         * math/Makefile: Add new test test-fenv-return.
10592
10593 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
10594
10595         [BZ #17042]
10596         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10597         when x - 1 is zero.
10598         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10599         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10600         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10601         0.0L for an argument of 1.0L.
10602         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10603         Likewise.
10604         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10605         value when x - 1 is zero.
10606         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10607         * sysdeps/i386/fpu/libm-test-ulps: Update.
10608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10609
10610 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
10611
10612         [BZ #15119]
10613         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10614
10615 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10616
10617         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10618         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10619
10620 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10621
10622         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10623         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10624
10625         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10626         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10627
10628         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10629         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10630
10631         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10632         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10633
10634         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10635         if not already defined.
10636         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10637         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10638         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10639         (TLS_INIT_TP): Use it.
10640         (TLS_DEFINE_INIT_TP): New macro.
10641         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10642
10643 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
10644
10645         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10646         constant.
10647         [POSIX] (IXANY): Likewise.
10648         [POSIX] (OLCUC): Likewise.
10649         [POSIX || POSIX2008] (CBAUD): Do not allow.
10650         [POSIX || POSIX2008] (DEFECHO): Likewise.
10651         [POSIX || POSIX2008] (ECHOCTL): Likewise.
10652         [POSIX || POSIX2008] (ECHOKE): Likewise.
10653         [POSIX || POSIX2008] (ECHOPRT): Likewise.
10654         [POSIX || POSIX2008] (EXTA): Likewise.
10655         [POSIX || POSIX2008] (EXTB): Likewise.
10656         [POSIX || POSIX2008] (FLUSHO): Likewise.
10657         [POSIX || POSIX2008] (LOBLK): Likewise.
10658         [POSIX || POSIX2008] (PENDIN): Likewise.
10659         [POSIX || POSIX2008] (SWTCH): Likewise.
10660         [POSIX || POSIX2008] (VDISCARD): Likewise.
10661         [POSIX || POSIX2008] (VDSUSP): Likewise.
10662         [POSIX || POSIX2008] (VLNEXT): Likewise.
10663         [POSIX || POSIX2008] (VREPRINT): Likewise.
10664         [POSIX || POSIX2008] (VSTATUS): Likewise.
10665         [POSIX || POSIX2008] (VWERASE): Likewise.
10666         (B*): Change to B[0123456789]*.
10667         * conform/data/time.h-data [POSIX || UNIX98]
10668         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10669         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10670         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10671         [POSIX] (tm_*): Do not allow.
10672
10673 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
10674
10675         * Makefile (install): Don't set LANGUAGE.
10676         * Makefile.in (install): Likewise.
10677         * assert/Makefile (test-assert-ENV): Remove variable.
10678         (test-assert-perr-ENV): Likewise.
10679         * elf/Makefile (neededtest4-ENV): Likewise.
10680         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10681         [$(cross-compiling) = no]: Don't set LANGUAGE.
10682         * io/ftwtest-sh (LANG): Remove variable.
10683         * libio/Makefile (tst-widetext-ENV): Likewise.
10684         * manual/install.texi (Running make install): Don't refer to
10685         environment settings for make install.
10686         * INSTALL: Regenerated.
10687         * nptl/tst-tls6.sh: Don't set LANG.
10688         * posix/globtest.sh (LANG): Remove variable.
10689         * string/Makefile (tester-ENV): Likewise.
10690         (inl-tester-ENV): Likewise.
10691         (noinl-tester-ENV): Likewise.
10692         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10693         [$(cross-compiling) = no]: Don't set LANGUAGE.
10694         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10695         without explicit environment settings.
10696
10697 2014-06-06  Roland McGrath  <roland@hack.frob.com>
10698
10699         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10700         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10701         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10702         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10703
10704 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
10705
10706         * crypt/crypt-private.h [DOS]: Add some includes taken from the
10707         other files in the crypt directory.
10708         * crypt/crypt.c: Remove duplicate includes.
10709         * crypt/crypt-entry.c: Likewise.
10710         * crypt/crypt_util.c: Likewise.
10711
10712 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
10713
10714         * Makeconfig (run-program-env): New variable.
10715         (run-program-prefix-before-env): Likewise.
10716         (run-program-prefix-after-env): Likewise.
10717         (run-program-prefix): Define in terms of new variables.
10718         (built-program-cmd-before-env): New variable.
10719         (built-program-cmd-after-env): Likewise.
10720         (built-program-cmd): Define in terms of new variables.
10721         (test-program-prefix-before-env): New variable.
10722         (test-program-prefix-after-env): Likewise.
10723         (test-program-prefix): Define in terms of new variables.
10724         (test-program-cmd-before-env): New variable.
10725         (test-program-cmd-after-env): Likewise.
10726         (test-program-cmd): Define in terms of new variables.
10727         * Rules (make-test-out): Use $(run-program-env).
10728         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10729         (help): Do not mention environment variables.  Mention
10730         --timeoutfactor option.
10731         (timeoutfactor): New variable.
10732         (blacklist_exports): Remove function.
10733         (exports): Remove variable.
10734         (command): Do not include ${exports}.
10735         * manual/install.texi (Configuring and compiling): Do not mention
10736         test wrappers preserving environment variables.  Mention that last
10737         assignment to a variable must take precedence.
10738         * INSTALL: Regenerated.
10739         * benchtests/Makefile (run-bench): Use $(run-program-env).
10740         * catgets/Makefile ($(objpfx)test1.cat): Use
10741         $(built-program-cmd-before-env), $(run-program-env) and
10742         $(built-program-cmd-after-env).
10743         ($(objpfx)test2.cat): Do not specify environment variables
10744         explicitly.
10745         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10746         $(run-program-env) and $(built-program-cmd-after-env).
10747         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10748         $(run-program-env) and $(test-program-cmd-after-env).
10749         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10750         explicitly.
10751         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10752         run_program_env and test_program_cmd_after_env arguments.
10753         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10754         * elf/tst-pathopt.sh: Use run_program_env argument.
10755         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10756         $(test-wrapper-env) and $(run-program-env).
10757         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10758         run_program_env arguments.
10759         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10760         * intl/Makefile ($(objpfx)tst-gettext.out): Use
10761         $(test-program-prefix-before-env), $(run-program-env) and
10762         $(test-program-prefix-after-env).
10763         ($(objpfx)tst-gettext2.out): Likewise.
10764         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10765         run_program_env and test_program_prefix_after_env arguments.
10766         * intl/tst-gettext2.sh: Likewise.
10767         * intl/tst-gettext4.sh: Do not set environment variables
10768         explicitly.
10769         * intl/tst-gettext6.sh: Likewise.
10770         * intl/tst-translit.sh: Likewise.
10771         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10772         $(test-program-prefix-before-env), $(run-program-env) and
10773         $(test-program-prefix-after-env).
10774         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10775         run_program_env and test_program_prefix_after_env arguments.
10776         * math/Makefile (run-regen-ulps): Use $(run-program-env).
10777         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10778         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
10779         explicitly with each use of ${test_wrapper_env}.
10780         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10781         $(test-program-prefix-before-env), $(run-program-env) and
10782         $(test-program-prefix-after-env).
10783         * posix/tst-getconf.sh: Do not set environment variables
10784         explicitly.
10785         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10786         run_program_env and test_program_prefix_after_env arguments.
10787         * stdio-common/tst-printf.sh: Do not set environment variables
10788         explicitly.
10789         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10790         $(test-program-prefix-before-env), $(run-program-env) and
10791         $(test-program-prefix-after-env).
10792         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10793         run_program_env and test_program_prefix_after_env arguments.
10794         Split $test calls into $test_pre and $test.
10795         * timezone/Makefile (build-testdata): Use
10796         $(built-program-cmd-before-env), $(run-program-env) and
10797         $(built-program-cmd-after-env).
10798
10799 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10800
10801         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10802         strlen for non SHARED builds.
10803
10804 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10805
10806         * nptl/allocatestack.c (check_list): Inlined function...
10807         (__reclaim_stacks): ... here.
10808
10809 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
10810
10811         [BZ #15698]
10812         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10813         memory overrun.
10814
10815 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
10816
10817         * Rules (make-test-out): Include
10818         LOCPATH=$(common-objpfx)localedata in default environment.
10819         * debug/Makefile (tst-chk1-ENV): Remove variable.
10820         (tst-chk2-ENV): Likewise.
10821         (tst-chk3-ENV): Likewise.
10822         (tst-chk4-ENV): Likewise.
10823         (tst-chk5-ENV): Likewise.
10824         (tst-chk6-ENV): Likewise.
10825         (tst-lfschk1-ENV): Likewise.
10826         (tst-lfschk2-ENV): Likewise.
10827         (tst-lfschk3-ENV): Likewise.
10828         (tst-lfschk4-ENV): Likewise.
10829         (tst-lfschk5-ENV): Likewise.
10830         (tst-lfschk6-ENV): Likewise.
10831         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10832         (tst-iconv7-ENV): Likewise.
10833         * intl/Makefile (LOCPATH-ENV): Likewise.
10834         (tst-codeset-ENV): Likewise.
10835         (tst-gettext3-ENV): Likewise.
10836         (tst-gettext5-ENV): Likewise.
10837         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10838         (tst-fopenloc-ENV): Likewise.
10839         (tst-fgetws-ENV): Remove variable.
10840         (tst-ungetwc1-ENV): Likewise.
10841         (tst-ungetwc2-ENV): Likewise.
10842         (bug-ungetwc2-ENV): Likewise.
10843         (tst-swscanf-ENV): Likewise.
10844         (bug-ftell-ENV): Likewise.
10845         (tst-fgetwc-ENV): Likewise.
10846         (tst-fseek-ENV): Likewise.
10847         (tst-ftell-partial-wide-ENV): Likewise.
10848         (tst-ftell-active-handler-ENV): Likewise.
10849         (tst-ftell-append-ENV): Likewise.
10850         * posix/Makefile (tst-fnmatch-ENV): Likewise.
10851         (tst-regexloc-ENV): Likewise.
10852         (bug-regex1-ENV): Likewise.
10853         (tst-regex-ENV): Likewise.
10854         (tst-regex2-ENV): Likewise.
10855         (bug-regex5-ENV): Likewise.
10856         (bug-regex6-ENV): Likewise.
10857         (bug-regex17-ENV): Likewise.
10858         (bug-regex18-ENV): Likewise.
10859         (bug-regex19-ENV): Likewise.
10860         (bug-regex20-ENV): Likewise.
10861         (bug-regex22-ENV): Likewise.
10862         (bug-regex23-ENV): Likewise.
10863         (bug-regex25-ENV): Likewise.
10864         (bug-regex26-ENV): Likewise.
10865         (bug-regex30-ENV): Likewise.
10866         (bug-regex32-ENV): Likewise.
10867         (bug-regex33-ENV): Likewise.
10868         (bug-regex34-ENV): Likewise.
10869         (bug-regex35-ENV): Likewise.
10870         (tst-rxspencer-ENV): Likewise.
10871         (tst-rxspencer-no-utf8-ENV): Likewise.
10872         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10873         (tst-sscanf-ENV): Likewise.
10874         (tst-swprintf-ENV): Likewise.
10875         (tst-swscanf-ENV): Likewise.
10876         (test-vfprintf-ENV): Likewise.
10877         (scanf13-ENV): Likewise.
10878         (bug14-ENV): Likewise.
10879         (tst-grouping-ENV): Likewise.
10880         * stdlib/Makefile (tst-strtod-ENV): Likewise.
10881         (tst-strtod3-ENV): Likewise.
10882         (tst-strtod4-ENV): Likewise.
10883         (tst-strtod5-ENV): Likewise.
10884         (testmb2-ENV): Likewise./
10885         * string/Makefile (tst-strxfrm-ENV): Likewise.
10886         (tst-strxfrm2-ENV): Likewise.
10887         (bug-strcoll1-ENV): Likewise.
10888         (test-strcasecmp-ENV): Likewise.
10889         (test-strncasecmp-ENV): Likewise.
10890         * time/Makefile (tst-strptime-ENV): Likewise.
10891         (tst-ftime_l-ENV): Likewise.
10892         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10893         (tst-mbrtowc-ENV): Likewise.
10894         (tst-wcrtomb-ENV): Likewise.
10895         (tst-mbrtowc2-ENV): Likewise.
10896         (tst-c16c32-1-ENV): Likewise.
10897         (tst-mbsnrtowcs-ENV): Likewise.
10898
10899 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
10900
10901         * manual/resource.texi (How to get information about the memory
10902         subsystem?): Fix typo.
10903         Reported by Peon de la Parra Ivan <peon@keba.com>
10904
10905 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
10906
10907         [BZ #16882]
10908         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10909         (pthread_spin_lock): Branch out of spin loop to proper location.
10910         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10911         (pthread_spin_lock): Likewise.
10912
10913         * nptl/tst-spin4.c: New test.
10914         * nptl/Makefile (tests): Add tst-spin4.
10915
10916 2014-06-03  Andreas Schwab  <schwab@suse.de>
10917
10918         [BZ #15946]
10919         * resolv/res_send.c (send_dg): Reload file descriptor after
10920         calling reopen.
10921
10922 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
10923
10924         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10925
10926 2014-06-03  Richard Henderson  <rth@redhat.com>
10927
10928         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10929         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10930         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10931         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
10932         in the SAVE_PID block.
10933         (__libc_vfork): New alias.
10934         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10935
10936         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10937         child in registers, not on the stack.  Remove RESET_PID conditionals.
10938         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10939
10940 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10941
10942         * sysdeps/aarch64/libm-test-ulps: Regenerate.
10943
10944 2014-06-03  Wilco  <wdijkstr@arm.com>
10945
10946         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10947         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10948         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10949         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10950         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10951         Likewise.
10952
10953 2014-06-03  Wilco  <wdijkstr@arm.com>
10954
10955         * sysdeps/aarch64/fpu/math_private.h
10956         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10957         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10958         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10959         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10960         Fix declarations.
10961
10962 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10963
10964         * crypt/crypt-private.h: Include ufc-crypt.h.
10965         (__b64_from_24bit): Declare extern.
10966         * crypt/crypt_util.c(__b64_from_24bit): New function.
10967         (b64t): New static const variable.
10968         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10969         (b64t): Remove variable.
10970         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10971         * crypt/sha256-crypt.c: Include crypt-private.h.
10972         (b64t): Remove variable.
10973         (__sha256_crypt_r): Remove b64_from_24bit and replace
10974         with __b64_from_24bit.
10975         * crypt/sha512-crypt.c: Likewise.
10976
10977 2014-06-02  Roland McGrath  <roland@hack.frob.com>
10978
10979         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10980         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10981         Label the code __libc_vfork rather than __vfork.
10982         [!NOT_IN_libc] (vfork): Define as weak alias.
10983         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10984         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10985         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10986
10987 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10988
10989         * malloc/malloc.c (malloc_info): Fix format specifier for
10990         n_mmaps.
10991
10992 2014-06-02  Wilco  <wdijkstr@arm.com>
10993
10994         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10995         FPCR write.
10996
10997 2014-06-02  Wilco  <wdijkstr@arm.com>
10998
10999         [BZ #17009]
11000         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11001         Rewrite to reduce FPCR/FPSR accesses.
11002
11003 2014-06-01  David S. Miller  <davem@davemloft.net>
11004
11005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11006
11007 2014-05-31  David S. Miller  <davem@davemloft.net>
11008
11009         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11010         to occur in round to nearest mode when |x| >= 2.0
11011
11012 2014-05-30  Richard Henderson  <rth@twiddle.net>
11013
11014         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11015         (PSEUDO_RET_NOERRNO): Remove.
11016         (ret): Don't redefine.
11017         (ret_NOERRNO): Define in terms of ret.
11018         (ret_ERRVAL): Likewise.
11019
11020         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11021         use of PSEUDO_RET; perform the error check directly.
11022
11023 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
11024
11025         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11026         with __int128_t.
11027
11028 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11029
11030         * malloc/malloc (malloc_info): Fix formatting.
11031
11032 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11033             Roland McGrath  <roland@hack.frob.com>
11034
11035         * malloc/malloc (malloc_info): Also print mmapped statistics.
11036
11037 2014-05-30  Roland McGrath  <roland@hack.frob.com>
11038
11039         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11040         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11041
11042 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
11043
11044         * malloc/malloc.c (malloc_info): Inline mi_arena.
11045
11046 2014-05-29  Richard Henderson  <rth@twiddle.net>
11047
11048         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11049         Remove comma before expanding ASM_ARGS_##nr.
11050         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11051         Make _x0 a strict output; make _x8 a strict input; adjust expansion
11052         of ASM_ARGS_##nr.
11053         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11054         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11055         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11056         (ASM_ARGS_1): Add leading comma.
11057
11058         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11059         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11060         to __errno_location.
11061         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11062         Remove the expected plt for __errno_location.
11063
11064         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11065         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11066         call to __read_tp.
11067
11068         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11069         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
11070         it and break it down.
11071         (DOCARGS_0, DOCARGS_1): Do nothing.
11072         (DOCARGS_2): Update to store into the new stack frame.
11073         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11074         (UNDOCARGS_1): Update to restore from the new stack frame.
11075         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11076         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11077
11078         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11079         (SINGLE_THREAD_P): New parameter for result regno.
11080         (PSEUDO): Update to match; use cbz instead of beq.
11081
11082         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11083         Use ENTRY to define the _nocancel entry point.  Share the syscall
11084         and syscall error check paths with the cancel path.
11085         (PSEUDO_END): New.
11086
11087         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11088         whitespace; tabs before and after asm mnemonics.
11089
11090 2014-05-29  Eric Wong  <normalperson@yhbt.net>
11091
11092         [BZ #15132]
11093         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11094         Call fstat64 or stat64 internally, depending on arguments passed.
11095         Replace stat buffer argument with file descriptor argument.
11096         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11097         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11098         Pass fd to __internal_statvfs instead of calling fstat64.
11099         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11100         Pass fd to __internal_statvfs64 instead of calling fstat64.
11101         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11102         Pass -1 to __internal_statvfs instead of calling stat64.
11103         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11104         Pass -1 to __internal_statvfs64 instead of calling stat64.
11105
11106 2014-05-28  Roland McGrath  <roland@hack.frob.com>
11107
11108         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11109         that was previously under [RESET_PID].
11110         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11111
11112         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11113         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11114
11115 2014-05-27  Roland McGrath  <roland@hack.frob.com>
11116
11117         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11118
11119         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11120         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11121
11122 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
11123
11124         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11125
11126 2014-05-27  Andreas Schwab  <schwab@suse.de>
11127
11128         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11129         TLS_INIT_TP macro.
11130         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11131         * elf/rtld.c (init_tls, dl_main): Likewise.
11132         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11133         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11134         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11135         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11136         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11137         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11138         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11139         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11140         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11141         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11142         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11143         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11144         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11145         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11146         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11147         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11148         * sysdeps/generic/tls.h: Update description.
11149
11150 2014-05-27  Will Newton  <will.newton@linaro.org>
11151
11152         [BZ #16990]
11153         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11154         and restore r2 rather than just restoring.
11155
11156 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11157
11158         [BZ #16724]
11159         * libio/tst-ftell-append.c: New test case.
11160         * libio/Makefile (tests): Add test case.
11161         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11162         append mode.
11163         * libio/wfileops.c (do_ftell_wide): Likewise.
11164
11165 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11166
11167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11168
11169         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11170         ...
11171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11173         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11174         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11175         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11176         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11177         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11178         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11179         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11180         Moved ...
11181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11183         Moved ...
11184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11185         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11186         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11187         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11188         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11189         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11190         ...
11191         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11192         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11193         Moved ...
11194         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11195         here.
11196         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11197         ...
11198         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11199         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11200         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11201
11202         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11203         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11204         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11205         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11206
11207         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11208         merge into ...
11209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11210         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11211         ...
11212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11213         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11214         ...
11215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11216         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11217         Moved ...
11218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11219         here.
11220         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11221         Moved ...
11222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11223         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11224         Moved ...
11225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11226
11227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11228         conditional [RESET_PID].
11229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11230         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11231         removed.
11232         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11233         removed.
11234
11235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11236         <tcb-offsets.h>.
11237         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11238         (__libc_vfork): New strong alias.
11239         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11240         removed.
11241         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11242         Removed.
11243
11244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11245         <tcb-offsets.h>.
11246         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11247         (__libc_vfork): New strong alias.
11248         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11249         removed.
11250         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11251         removed.
11252
11253 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
11254
11255         * malloc/malloc.c (mi_arena): New function.
11256         (malloc_info): Remove nested function mi_arena. Call non-nosted
11257         function mi_arena.
11258
11259 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11260
11261         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11262         by insrwi.
11263         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11264         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11265         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11266         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11267         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11268         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11269         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11270
11271 2014-05-26  Andreas Schwab  <schwab@suse.de>
11272
11273         [BZ #16984]
11274         * locale/programs/repertoire.c (repertoire_read): Add slash
11275         between I18NPATH element and file name.
11276         * locale/programs/locfile.c (locfile_read): Likewise.
11277
11278 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11279
11280         * nptl/pthread_mutexattr_settype.c
11281         (__pthread_mutexattr_settype):
11282         Disable lock elision for PTHREAD_MUTEX_NORMAL.
11283
11284 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11285
11286         * nptl/tst-mutex5 (do_test):
11287         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11288
11289 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11290
11291         * benchtests/README: Document 'init' directive.
11292         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11293         BENCH_INIT.
11294         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11295         (parse_file): Recognize 'init' directive.
11296
11297 2014-05-26  Kyle McMartin  <kyle@redhat.com>
11298
11299         [BZ #16796]
11300         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11301         alignment of struct pthread.
11302
11303 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11304
11305         [BZ #16878]
11306         * nscd/netgroupcache.c (addgetnetgrentX): Look for
11307         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11308         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11309         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11310
11311 2014-05-25  Richard Henderson  <rth@twiddle.net>
11312
11313         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11314         (SINGLE_THREAD_P_PIC): Remove.
11315         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11316         (SINGLE_THREAD_P_PIC): Remove.
11317
11318         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11319         branch to syscall error ...
11320         (PSEUDO): ... here.
11321         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11322         from __local_syscall_error to .Lsyscall_error.
11323         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11324         (SYSCALL_ERROR): Update label name.
11325
11326         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11327         Do not use DOARGS/UNDOARGS.
11328         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11329         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11330         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11331         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11332         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11333
11334         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11335         block comment.
11336
11337         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11338         define if !NOT_IN_libc.
11339         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11340         define with non-default symbol versions.
11341
11342 2014-05-23  Richard Henderson  <rth@twiddle.net>
11343
11344         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11345         (vfork, __vfork): Define via compat_symbol.
11346
11347         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11348         [!HAVE_IFUNC] (vfork_compat): Remove.
11349         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11350
11351 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11352
11353         [BZ #16978]
11354         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11355         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11356         variable.
11357
11358 2014-05-23  Richard Henderson  <rth@twiddle.net>
11359
11360         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11361         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11362         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11363         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11364
11365         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11366         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11367         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11368         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11369         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11370         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11371         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11372         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11373         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11374         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11375         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11376         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11377         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11378         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11379         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11380         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11381         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11382         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11383         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11384         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11385         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11386         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11387         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11388         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11389         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11390         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11391         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11392         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11393         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11394         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11395         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11396         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11397         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11398         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11399         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11400         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11401         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11402         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11403         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11404         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11405         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11406         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11407         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11408         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11409         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11410         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11411         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11412         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11413         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11414         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11415         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11416         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11417         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11418         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11419         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11420         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11421
11422         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11423         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11424         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
11425         before exiting on error.
11426         (__libc_vfork): New strong alias.
11427         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11428         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11429
11430         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11431         that was previously under [RESET_PID].
11432         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11433
11434         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11435
11436 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11437
11438         [BZ #16977]
11439         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11440         value when x - 1 is zero.
11441         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11442         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11443         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11444         0.0L for an argument of 1.0L.
11445         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11446         Likewise.
11447         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11448         value when x - 1 is zero.
11449         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11450         * sysdeps/i386/fpu/libm-test-ulps: Update.
11451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11452
11453 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11454
11455         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11456         alphasort and versionsort.
11457
11458 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11459
11460         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11461         macro.
11462         [copysignf]: Likewise.
11463
11464 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11465
11466         * crypt/md5-crypt.c: Fix formatting.
11467
11468 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11469
11470         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11471         (b64_from_24bit): New function.
11472
11473 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11474
11475         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11476         libc_hidden_builtin_def to ifunc.
11477         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11478         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11479
11480 2014-05-21  Roland McGrath  <roland@hack.frob.com>
11481
11482         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11483         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11484
11485 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
11486
11487         * nscd/Depend (linuxthreads): Remove.
11488         (nptl): Add.
11489         * resolv/Depend (linuxthreads): Remove.
11490         * rt/Depend (linuxthreads): Remove.
11491
11492         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11493         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11494         $(common-objpfx)elf/.
11495         (link-libc-before-gnulib): Likewise.
11496         (elfobjdir): Remove variable.
11497         * Makefile (install): Use $(elf-objpfx) instead of
11498         $(common-objpfx)elf/.
11499         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11500         $(elfobjdir)/.
11501         (link-libc-deps): Likewise.
11502         ($(common-objpfx)libc.so): Likewise.
11503         ($(common-objpfx)linkobj/libc.so): Likewise.
11504         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11505         instead of $(common-objpfx)elf/.
11506         (symbolic-link-list): Likewise.
11507         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11508         [$(cross-compiling) = no]: Likewise.
11509         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11510         $(elfobjdir)/.
11511         (static-gnulib-arch): Likewise.
11512         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11513         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11514         $(common-objpfx)elf/.
11515
11516 2014-05-21  Richard Henderson  <rth@redhat.com>
11517
11518         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11519         (SINGLE_THREAD_P): Use the correct width load.  Fold
11520         into the ldr offset.
11521
11522         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11523         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11524
11525 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
11526
11527         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11528         (libgcc_s_resume): Use __attribute_used__.
11529         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11530         Likewise.
11531
11532 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11533
11534         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11535         optimization when used with float constants.
11536
11537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11538
11539 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
11540
11541         [BZ #16915]
11542         * locale/nl_langinfo_l.c: Make direct reference to every
11543         _nl_current_CATEGORY symbol.
11544         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11545         (tests-static): Add tst-langinfo-static.
11546         (tests-special): Add tst-langinfo-static.out.
11547         ($(objpfx)tst-langinfo.out): Redirect output.
11548         ($(objpfx)tst-langinfo-static.out): New.
11549         * localedata/tst-langinfo.sh: Send output to stdout.
11550         * localedata/tst-langinfo-static.c: New file.
11551
11552         [BZ #16965]
11553         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11554         when the shift amount is modulo the limb size.
11555
11556 2014-05-20  Richard Henderson  <rth@redhat.com>
11557
11558         [BZ #16967]
11559         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11560         Change type of sa_flags from unsigned int to int.
11561
11562         [BZ #16966]
11563         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11564
11565         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11566
11567 2014-05-20  Will Newton  <will.newton@linaro.org>
11568
11569         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11570         Test the return value of the system call in the nocancel case.
11571
11572 2014-05-20  Will Newton  <will.newton@linaro.org>
11573             Yvan Roux  <yvan.roux@linaro.org>
11574
11575         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11576         #include of asm/ptrace.h.
11577         (PTRACE_GET_THREAD_AREA): Remove #undef.
11578         (PTRACE_GETHBPREGS): Likewise.
11579         (PTRACE_SETHBPREGS): Likewise.
11580         (struct user_regs_struct): New structure.
11581         (struct user_fpsimd_struct): New structure.
11582         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11583         #include of asm/ptrace.h and second #include of sys/user.h.
11584         (PTRACE_GET_THREAD_AREA): Remove #undef.
11585         (PTRACE_GETHBPREGS): Likewise.
11586         (PTRACE_SETHBPREGS): Likewise.
11587         (ELF_NGREG): Use new struct user_regs_struct.
11588         (elf_fpregset_t): Use new struct user_fpsimd_struct.
11589
11590 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11591
11592         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11593         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11594
11595 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11596
11597         [BZ #16958]
11598         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11599         membar to avoid block loads/stores to overlap previous stores.
11600
11601 2014-05-17  Richard Henderson  <rth@redhat.com>
11602
11603         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11604         Create the __##syscall_name##_nocancel entry point.
11605         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11606         Remove; let the sysdep-cancel.h code create it.
11607
11608 2014-05-17  David S. Miller  <davem@davemloft.net>
11609
11610         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11611         Protect with __USE_GNU.
11612         (TIOCSET_TEMPT): Likewise.
11613         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11614         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11615         these are already provided in bits/ioctl-types.h
11616
11617 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11618
11619         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11620         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11621
11622         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11623         Use wait4 regardless of [__NR_waitpid].
11624
11625 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
11626
11627         PR libgcc/60166
11628         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11629         (_FP_NANSIGN_Q): Set the quiet bit.
11630
11631 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
11632
11633         * benchtests/Makefile
11634         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11635         not $(common-objpfx)math/libm.so.
11636         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11637         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11638         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11639         $(common-objpfx)dlfcn/libdl.so.
11640         ($(objpfx)tst-audit8): Depend on $(libm), not
11641         $(common-objpfx)math/libm.so.
11642         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11643         not $(common-objpfx)dlfcn/libdl.so.
11644         * math/Makefile
11645         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11646         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
11647         [$(build-shared) = yes].
11648         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11649         $(common-objpfx)nptl/libpthread.so.
11650         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11651         $(common-objpfx)math/libm.so$(libm.so-version) or
11652         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11653         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11654         $(common-objpfx)dlfcn/libdl.so.
11655         * setjmp/Makefile (link-libm): Remove variable.
11656         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11657         * stdio-common/Makefile (link-libm): Remove variable.
11658         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11659         * stdlib/Makefile (link-libm): Remove variable.
11660         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11661         ($(objpfx)tst-strtod-round): Likewise.
11662         ($(objpfx)tst-tininess): Likewise.
11663         ($(objpfx)tst-strtod-underflow): Likewise.
11664         ($(objpfx)tst-strtod6): Likewise.
11665         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11666         $(libdl), not $(common-objpfx)nptl/libpthread.so and
11667         $(common-objpfx)dlfcn/libdl.so.
11668
11669 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11670
11671         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11672         BSD terminal modes definitions.
11673
11674 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11675
11676         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11677         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11678
11679         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11680         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11681         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11682         Don't do #include_next.
11683         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11684         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11685         Don't do #include_next.
11686         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11687         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11688         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11689         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11690
11691 2014-05-16  Allan McRae  <allan@archlinux.org>
11692
11693         * po/sv.po: Update Swedish translation from translation project.
11694
11695         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11696         in sed expression.
11697
11698 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
11699
11700         [BZ #16917]
11701         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11702         errno if the TIOCGPTN ioctl fails with an error different than
11703         EINVAL.
11704         * login/tst-ptsname.c: New file.
11705         * login/Makefile (tests): Add tst-ptsname.
11706
11707         [BZ #16943]
11708         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11709         and prlimit64.
11710
11711 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11712
11713         [BZ #16849]
11714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11715         herrno to return EAI_AGAIN.
11716
11717 2014-05-14  Roland McGrath  <roland@hack.frob.com>
11718
11719         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11720         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11721         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11722         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11723         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11724         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11725         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11726         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11727         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11728         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11729         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11730         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11731         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11732         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11733         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11734         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11735         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11736         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11737         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11738         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11739         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11740         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11741         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11742         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11743         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11744         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11745         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11746         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11747         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11748         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11749         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11750         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11751         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11752         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11754         Moved ...
11755         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11756         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11757         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11758         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11759         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11761         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11763         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11765         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11767         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11769         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11770         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11771         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11773         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11774         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11775         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11777         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11779         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11781         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11783         Moved ...
11784         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11786         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11788         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11790         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11792         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11794         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11796         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11798         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11800         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11802         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11804         Moved ...
11805         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11807         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11808
11809         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11810         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11811         (libpthread-sysdep_routines): Add elision-related stuff here instead.
11812         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11813         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11814         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11815         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11816         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11817         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11818         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11819         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11820         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11821         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11822         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11823         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11824         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11825         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11826         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11827         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11828         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11829         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11830         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11831         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11832         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11833         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11834         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11835         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11836         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11837         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11838         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11839         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11840
11841         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11842         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11843
11844         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11845         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11846         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11847         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11848         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11849         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11850         Moved ...
11851         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11852         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11853         Moved ...
11854         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11855         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11856         Moved ...
11857         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11858         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11859         Moved ...
11860         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11861         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11862         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11863         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11864         Moved ...
11865         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11866         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11867         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11868         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11869         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11870         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11871         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11872         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11873         Moved ...
11874         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11875         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11876         Moved ...
11877         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11878         ... here.
11879         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11880         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11881         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11882         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11883         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11884         Moved ...
11885         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11886         ... here.
11887         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11888         Moved ...
11889         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11890         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11891         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11892         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11893         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11894         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11895         Moved ...
11896         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11897         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11898         Moved ...
11899         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11900         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11901         Moved ...
11902         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11903         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11904         Moved ...
11905         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11906         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11907         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11908         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11909         Moved ...
11910         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11911         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11912         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11913         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11914         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11915         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11916         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11917         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11918         Moved ...
11919         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11920         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11921         Moved ...
11922         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11923         ... here.
11924         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11925         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11926         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11927         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11928         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11929         Moved ...
11930         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11931         ... here.
11932         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11933         Moved ...
11934         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11935         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11936         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11937         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11938         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11939         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11940         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11941         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11942         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11943         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11944         Moved ...
11945         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11946         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11947         Moved ...
11948         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11949         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11950         Moved ...
11951         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11952         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11953         Moved ...
11954         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11955         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11956         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11957         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11958         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11959         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11960         Moved ...
11961         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11962         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11963         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11964         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11965         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11966         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11967         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11968         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11969         Moved ...
11970         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11971         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11972         Moved ...
11973         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11974         ... here.
11975         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11976         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11977         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11978         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11979         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11980         Moved ...
11981         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11982         ... here.
11983         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11984         Moved ...
11985         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11986         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11987         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11988         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11989         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11990         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11991         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11992         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11993         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11994         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11995         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11996
11997         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11998         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11999
12000         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12001         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12002
12003         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12004         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12005         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12006         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12007         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12008         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12009         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12010         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12011         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12012         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12013         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12014         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12015         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12016         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12017         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12018         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12019         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12020         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12021         Moved ...
12022         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12023         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12024         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12025         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12026         Moved ...
12027         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12028         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12029         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12030         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12031         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12032         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12033         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12034         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12035         Moved ...
12036         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12037         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12038         Moved ...
12039         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12040         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12041         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12042         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12043         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12044         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12045         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12046         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12047         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12048         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12049         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12050         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12051         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12052         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12053         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12054         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12055         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12056
12057         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12058         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12059         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12060         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12061         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12062
12063         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12064         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12065         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12066         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12067         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12068         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12069         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12070         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12071         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12072         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12073
12074         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12075         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12076
12077         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12078         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12079         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12080         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12081         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12082         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12083         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12084         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12085         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12086         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12087         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12088         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12089         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12090         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12091         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12092         Update #include.
12093         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12094         Likewise.
12095         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12096         Likewise.
12097         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12098         Likewise.
12099         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12100         Likewise.
12101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12102         Likewise.
12103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12104         Likewise.
12105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12106         Likewise.
12107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12108         Likewise.
12109         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12110         Likewise.
12111         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12112         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12113         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12114         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12115         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12116         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12117         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12118         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12119         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12120         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12121         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12122         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12123         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12124         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
12125         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
12126
12127         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12128         that was previously under [RESET_PID].
12129         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12130         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12131         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12132
12133         * sysdeps/i386/nptl/Implies: New file.
12134         * sysdeps/x86_64/nptl/Implies: New file.
12135         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12136         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12137         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12138         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12139
12140         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12141         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12142         (__libc_vfork): New strong alias.
12143         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12144         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12145
12146         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12147         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12148         (__libc_vfork): New strong alias.
12149         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12150         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12151
12152         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12153         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12154         (__libc_vfork): New strong alias.
12155         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12156         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12157         * nptl/pt-vfork.c: New file.
12158         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12159         (libpthread: GLIBC_2.20): New version set (empty).
12160
12161 2014-05-14  Will Newton  <will.newton@linaro.org>
12162
12163         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12164         rather than #if.
12165
12166 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12167
12168         [BZ #16564]
12169         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12170         arguments with exponent 65 or above.
12171         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12172         arguments 0x1p113L or above.
12173         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12174         to arguments 0x1p107L or above.
12175         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12176         positive arguments with exponent 65 or above.
12177         * math/auto-libm-test-in: Add more tests of log1p.
12178         * math/auto-libm-test-out: Regenerated.
12179
12180         [BZ #16928]
12181         * math/s_cacos.c (__cacos): Ensure zero real part of result from
12182         non-finite arguments is +0.
12183         * math/s_cacosf.c (__cacosf): Likewise.
12184         * math/s_cacosl.c (__cacosl): Likewise.
12185         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12186         * sysdeps/i386/fpu/libm-test-ulps: Update.
12187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12188
12189         [BZ #16927]
12190         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12191         value.
12192         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12193         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12194         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12195         for explicit high bit of mantissa when testing for argument equal
12196         to 1.
12197         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12198         * sysdeps/i386/fpu/libm-test-ulps: Update.
12199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12200
12201         [BZ #16516]
12202         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12203         (__erf): Scale by 16 instead of 8 in potentially underflowing
12204         case.  Ensure exception if result actually underflows.
12205         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12206         (__erff): Scale by 16 instead of 8 in potentially underflowing
12207         case.  Ensure exception if result actually underflows.
12208         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12209         (efx8): Remove variable.
12210         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12211         case.  Ensure exception if result actually underflows.
12212         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12213         (efx8): Remove variable.
12214         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12215         case.  Ensure exception if result actually underflows.
12216         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12217         (efx8): Remove variable.
12218         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12219         case.  Ensure exception if result actually underflows.
12220         * math/auto-libm-test-in: Add more tests of erf.
12221         * math/auto-libm-test-out: Regenerated.
12222
12223 2014-05-14  Andreas Schwab  <schwab@suse.de>
12224
12225         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12226         Remove code conditionalized on USE___THREAD.
12227
12228         * config.h.in (HAVE_PT_CHOWN): Define as 0.
12229         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12230         not definedness.
12231
12232 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12233
12234         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12235         Define unconditionally.
12236         (__ASSUME_O_CLOEXEC): Likewise.
12237         (__ASSUME_SOCK_CLOEXEC): Likewise.
12238         (__ASSUME_IN_NONBLOCK): Likewise.
12239         (__ASSUME_PIPE2): Likewise.
12240         (__ASSUME_EVENTFD2): Likewise.
12241         (__ASSUME_SIGNALFD4): Likewise.
12242         (__ASSUME_DUP3): Likewise.
12243         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12244         (__ASSUME_DUP3): Do not define.
12245         (__ASSUME_EVENTFD2): Likewise.
12246         (__ASSUME_IN_NONBLOCK): Likewise.
12247         (__ASSUME_O_CLOEXEC): Likewise.
12248         (__ASSUME_PIPE2): Likewise.
12249         (__ASSUME_SIGNALFD4): Likewise.
12250         (__ASSUME_SOCK_CLOEXEC): Likewise.
12251         (__ASSUME_UTIMES): Undefine.
12252         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12253         (__ASSUME_UTIMES): Do not define.
12254         (__ASSUME_O_CLOEXEC): Likewise.
12255         (__ASSUME_SOCK_CLOEXEC): Likewise.
12256         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12257         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12258         0x020621].
12259         (__ASSUME_PIPE2): Likewise.
12260         (__ASSUME_EVENTFD2): Likewise.
12261         (__ASSUME_SIGNALFD4): Likewise.
12262         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12263         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12264         Do not define.
12265         (__ASSUME_EVENTFD2): Likewise.
12266         (__ASSUME_SIGNALFD4): Likewise.
12267         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12268         (__ASSUME_32BITUIDS): Likewise.
12269         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12270         (__ASSUME_IPC64): Likewise.
12271         (__ASSUME_ST_INO_64_BIT): Likewise.
12272         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12273         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12274         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12275         (__ASSUME_UTIMES): Do not define.
12276         (__ASSUME_PSELECT): Likewise.
12277         (__ASSUME_PPOLL): Likewise.
12278         (__ASSUME_O_CLOEXEC): Likewise.
12279         (__ASSUME_SOCK_CLOEXEC): Likewise.
12280         (__ASSUME_IN_NONBLOCK): Likewise.
12281         (__ASSUME_PIPE2): Likewise.
12282         (__ASSUME_EVENTFD2): Likewise.
12283         (__ASSUME_SIGNALFD4): Likewise.
12284         (__ASSUME_DUP3): Likewise.
12285         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12286         (__ASSUME_UTIMES): Likewise.
12287         (__ASSUME_O_CLOEXEC): Likewise.
12288         (__ASSUME_SOCK_CLOEXEC): Likewise.
12289         (__ASSUME_IN_NONBLOCK): Likewise.
12290         (__ASSUME_PIPE2): Likewise.
12291         (__ASSUME_EVENTFD2): Likewise.
12292         (__ASSUME_SIGNALFD4): Likewise.
12293         (__ASSUME_DUP3): Likewise.
12294         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12295         (__ASSUME_UTIMES): Likewise.
12296         (__ASSUME_O_CLOEXEC): Likewise.
12297         (__ASSUME_SOCK_CLOEXEC): Likewise.
12298         (__ASSUME_IN_NONBLOCK): Likewise.
12299         (__ASSUME_PIPE2): Likewise.
12300         (__ASSUME_EVENTFD2): Likewise.
12301         (__ASSUME_SIGNALFD4): Likewise.
12302         (__ASSUME_DUP3): Likewise.
12303         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12304         Likewise.
12305         (__ASSUME_UTIMES): Likewise.
12306         (__ASSUME_EVENTFD2): Likewise.
12307         (__ASSUME_SIGNALFD4): Likewise.
12308         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12309         (__ASSUME_O_CLOEXEC): Likewise.
12310         (__ASSUME_SOCK_CLOEXEC): Likewise.
12311         (__ASSUME_IN_NONBLOCK): Likewise.
12312         (__ASSUME_PIPE2): Likewise.
12313         (__ASSUME_EVENTFD2): Likewise.
12314         (__ASSUME_SIGNALFD4): Likewise.
12315         (__ASSUME_DUP3): Likewise.
12316         (__ASSUME_UTIMES): Undefine.
12317
12318         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12319         feclearexcept.  Remove symbol versioning code.
12320         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
12321         symbol versioning code.
12322         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
12323         symbol versioning code.
12324         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12325         feupdateenv.  Remove symbol versioning code.
12326         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12327         fegetexceptflag.  Remove symbol versioning code.
12328         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12329         fesetexceptflag.  Remove symbol versioning code.
12330         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12331         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
12332         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12333         (__posix_fadvise64_l32): Remove prototype.
12334         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12335         code.
12336
12337 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12338
12339         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12340         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12341         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12342         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12343
12344 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
12345
12346         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12347         current working directory
12348
12349 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12350
12351         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12352         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12353         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12354         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12355         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12356         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12357         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12358         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12359         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12360         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12361         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12362         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12363         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12364         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12365         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12366         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12367         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12368         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12369         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12370         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12371         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12372         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12373         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12374         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12375         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12376         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12377         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12378         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12379         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12380         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12381         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12382         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12383         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12384         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12385         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12386         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12387         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12388         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12389         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12390         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12391         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12392         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12393
12394         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12395         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12396
12397         * sysdeps/unix/sysv/linux/arm/Makefile
12398         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12399         Add rt-aeabi_unwind_cpp_pr1.
12400         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12401         Add nptl-aeabi_unwind_cpp_pr1.
12402         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12403         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12404         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12405         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12406         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12407         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12408
12409         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12410         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12411         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12412         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12413
12414         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12415         Deconditionalize the code that was previously under [RESET_PID].
12416         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12417
12418         * sysdeps/generic/exit-thread.h: New file.
12419         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12420         * include/unistd.h (__exit_thread): Remove declaration.
12421         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12422         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12423         * csu/libc-start.c: Include <exit-thread.h>.
12424         (LIBC_START_MAIN): Pass no argument to __exit_thread.
12425         * nptl/pthread_create.c: Include <exit-thread.h>.
12426         (start_thread): Call __exit_thread in place of __exit_thread_inline.
12427         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12428         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12429         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12430         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12431         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12432         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12433         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12434         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12435         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12436         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12437         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12438         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12439         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12440         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12441         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12442         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12443
12444 2014-05-13  Andreas Schwab  <schwab@suse.de>
12445
12446         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12447
12448 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
12449
12450         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12451         (__ASSUME_UTIMES): Do not condition on kernel version.
12452         (__ASSUME_PSELECT): Define unconditionally.
12453         (__ASSUME_PPOLL): Likewise.
12454         (__ASSUME_ATFCTS): Likewise.
12455         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12456         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12457         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12458         (__ASSUME_UTIMENSAT): Define unconditionally.
12459         (__ASSUME_PRIVATE_FUTEX): Likewise.
12460         (__ASSUME_FALLOCATE): Likewise.
12461         (__ASSUME_O_CLOEXEC): Likewise.
12462         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12463         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12464         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12465         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12466         (__ASSUME_IN_NONBLOCK): Likewise.
12467         (__ASSUME_PIPE2): Likewise.
12468         (__ASSUME_EVENTFD2): Likewise.
12469         (__ASSUME_SIGNALFD4): Likewise.
12470         (__ASSUME_DUP3): Likewise.
12471         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12472         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12473         (__ASSUME_AT_RANDOM): Likewise.
12474         (__ASSUME_PREADV): Likewise.
12475         (__ASSUME_PWRITEV): Likewise.
12476         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12477         (__ASSUME_F_GETOWN_EX): Define unconditionally.
12478         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12479         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12480         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12481         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12482         (__ASSUME_O_CLOEXEC): Define unconditionally.
12483         (__ASSUME_PSELECT): Do not undefine conditionally.
12484         (__ASSUME_PPOLL): Likewise.
12485         (__ASSUME_ATFCTS): Likewise.
12486         (__ASSUME_SET_ROBUST_LIST): Likewise.
12487         (__ASSUME_UTIMENSAT): Likewise.
12488         (__ASSUME_FDATASYNC): Define unconditionally.
12489         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12490         (__ASSUME_SIGFRAME_V2): Likewise.
12491         )__ASSUME_EVENTFD2): Likewise.
12492         (__ASSUME_SIGNALFD4): Likewise.
12493         (__ASSUME_PSELECT): Do not undefine conditionally.
12494         (__ASSUME_PPOLL): Likewise.
12495         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12496         (__ASSUME_PSELECT): Define unconditionally.
12497         (__ASSUME_PPOLL): Likewise.
12498         (__ASSUME_O_CLOEXEC): Likewise.
12499         (__ASSUME_SOCK_CLOEXEC): Likewise.
12500         (__ASSUME_IN_NONBLOCK): Likewise.
12501         (__ASSUME_PIPE2): Likewise.
12502         (__ASSUME_EVENTFD2): Likewise.
12503         (__ASSUME_SIGNALFD4): Likewise.
12504         (__ASSUME_DUP3): Likewise.
12505         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12506         (__ASSUME_O_CLOEXEC): Likewise.
12507         (__ASSUME_SOCK_CLOEXEC): Likewise.
12508         (__ASSUME_IN_NONBLOCK): Likewise.
12509         (__ASSUME_PIPE2): Likewise.
12510         (__ASSUME_EVENTFD2): Likewise.
12511         (__ASSUME_SIGNALFD4): Likewise.
12512         (__ASSUME_DUP3): Likewise.
12513         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12514         (__ASSUME_EVENTFD2): Likewise.
12515         (__ASSUME_SIGNALFD4): Likewise.
12516         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12517
12518 2014-05-12  Andreas Schwab  <schwab@suse.de>
12519
12520         [BZ #16932]
12521         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12522         (_nss_nis_gethostbyname4_r): Return error if item length is larger
12523         than maximum RPC packet size.
12524         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12525         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12526         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12527         (_nss_nis_getservbyport_r): Likewise.
12528
12529 2014-05-12  Will Newton  <will.newton@linaro.org>
12530
12531         * malloc/Makefile (tests): Add tst-mallopt.
12532         * malloc/tst-mallopt.c: New file.
12533
12534 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12535
12536         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12537         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12538
12539 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12540
12541         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12542         (tst-tlsmod6.so): Likewise.
12543
12544 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12545
12546         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12547
12548 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
12549
12550         [BZ #16064]
12551         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12552         and <dl-procinfo.h>.
12553         (__fegetenv): Save SSE state in envp->__eip if supported.
12554         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12555         envp->__eip if supported.
12556         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12557         and <dl-procinfo.h>.
12558         (__fesetenv): Always set __eip, __cs_selector, __opcode,
12559         __data_offset and __data_selector in environment to 0.  Set SSE
12560         state if supported.
12561         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12562         test-fenv-sse.
12563         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12564         -mfpmath=sse.
12565         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12566
12567 2014-05-09  Will Newton  <will.newton@linaro.org>
12568
12569         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12570         and libc_relro_required for ARM.
12571         * sysdeps/arm/preconfigure: Regenerate.
12572
12573 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
12574             Stefan Liebler  <stli@linux.vnet.ibm.com>
12575
12576         * config.make.in (enable-lock-elision): New Makefile variable.
12577         * configure.ac: Likewise.
12578         * configure: Regenerate.
12579         * sysdeps/s390/configure.ac:
12580         Add check for gcc transactions support.
12581         * sysdeps/s390/configure: Regenerate.
12582         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12583         Build elision files if enabled.
12584         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12585         Add lock elision support for s390.
12586         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12587         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12588         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12589         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12590         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12591         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12592         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12593         Likewise.
12594         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12595         Likewise.
12596         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12597         Likewise.
12598         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12599         Likewise.
12600         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12601         (__lll_timedlock_elision, __lll_lock_elision)
12602         (__lll_unlock_elision, __lll_trylock_elision)
12603         (lll_timedlock_elision, lll_lock_elision)
12604         (lll_unlock_elision, lll_trylock_elision): Add.
12605         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12606         (pthread_mutex_t): Add lock elision support for s390.
12607
12608 2014-05-14  Wilco  <wdijkstr@arm.com>
12609
12610         * sysdeps/arm/fclrexcpt.c: Cleanup.
12611         * sysdeps/arm/fedisblxcpt.c: Cleanup.
12612         * sysdeps/arm/feenablxcpt.c: Cleanup.
12613         * sysdeps/arm/fegetenv.c: Cleanup.
12614         * sysdeps/arm/fegetexcept.c: Cleanup.
12615         * sysdeps/arm/fegetround.c: Cleanup.
12616         * sysdeps/arm/feholdexcpt.c: Cleanup.
12617         * sysdeps/arm/fesetenv.c: Cleanup.
12618         * sysdeps/arm/fesetround.c: Cleanup.
12619         * sysdeps/arm/feupdateenv.c: Cleanup.
12620         * sysdeps/arm/fgetexcptflg.c: Cleanup.
12621         * sysdeps/arm/fraiseexcpt.c: Cleanup.
12622         * sysdeps/arm/fsetexcptflg.c: Cleanup.
12623         * sysdeps/arm/ftestexcept.c: Cleanup.
12624         * sysdeps/arm/get-rounding-mode.h: Cleanup.
12625         * sysdeps/arm/setfpucw.c: Cleanup.
12626
12627 2014-05-09  Will Newton  <will.newton@linaro.org>
12628
12629         * sysdeps/arm/armv7/strcmp.S: New file.
12630         * NEWS: Mention addition of ARMv7 optimized strcmp.
12631
12632 2014-05-08  Roland McGrath  <roland@hack.frob.com>
12633
12634         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12635         look for %.ac rather than %.in.
12636
12637         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12638         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12639         * sysdeps/mach/hurd/configure: Regenerated.
12640         * sysdeps/unix/sysv/linux/configure: Regenerated.
12641
12642         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12643
12644 2014-05-07  Steve Ellcey  <sellcey@mips.com>
12645
12646         [BZ# 16922]
12647         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12648         (LONG_SUB): Ditto.
12649         (PTR_SUB): Ditto.
12650
12651 2014-05-07  Andreas Schwab  <schwab@suse.de>
12652
12653         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12654         when skipping over non-matching result from nscd.
12655
12656 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
12657
12658         [BZ #16876]
12659         * nptl/sockperf.c (client): Check socket return value.
12660
12661         [BZ #16877]
12662         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12663         nscd security class.
12664
12665 2014-05-06  Roland McGrath  <roland@hack.frob.com>
12666
12667         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12668         * sysdeps/arm/unwind.h: ... here.
12669
12670 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
12671
12672         [BZ# 16916]
12673         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12674         Define.
12675
12676 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12677
12678         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12679         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12680         multiarch strncpy for PPC64.
12681         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12682         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12683         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12684         multiarch optimizations.
12685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12686         (__libc_ifunc_impl_list): Likewise.
12687         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12688         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12689         multiarch stpncpy for PPC64.
12690         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12691         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12692
12693 2014-05-06  Andreas Schwab  <schwab@suse.de>
12694
12695         [BZ #16912]
12696         * gmon/mcount.c (_MCOUNT_DECL): Use
12697         atomic_compare_and_exchange_bool_acq instead of
12698         catomic_compare_and_exchange_bool_acq.
12699
12700 2014-05-05  Roland McGrath  <roland@hack.frob.com>
12701
12702         * elf/Makefile (others, install-bin): Remove pldd.
12703         (pldd-modules): Variable removed.
12704         ($(objpfx)pldd): Target removed.
12705         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12706         (others, install-bin): Append pldd here.
12707         ($(objpfx)pldd): New target.
12708
12709         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12710         to 0, so the first #if test emitted later doesn't see it undefined.
12711         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12712         * sysdeps/gnu/errlist.c: Regenerated.
12713
12714 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12715
12716         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12717         [libc_hidden_builtin_def]: Define to empty value.
12718         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12719         [libc_hidden_builtin_def]: Likewise.
12720         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12721         [libc_hidden_builtin_def]: Likewise.
12722         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12723         [libc_hidden_builtin_def]: Likewise.
12724         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12725         __redirect_memcpy and define ifunc as default hidden symbol.
12726         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12727         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12728
12729 2014-05-04  Adam Conrad  <adconrad@0c3.net>
12730
12731         * locale/iso-4217.def: Reintroduce XDR currency.
12732
12733 2014-05-04  Allan McRae  <allan@archlinux.org>
12734
12735         * po/eo.po: Update Esperanto translation from translation project.
12736
12737 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
12738
12739         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12740         and FEATURE_INDEX_MAX to 1.
12741         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12742
12743 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12744
12745         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12746         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12747         * iconvdata/big5.c (ONE_DIRECTION): Define.
12748         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12749         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12750         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12751         * iconvdata/cp932.c (ONE_DIRECTION): Define.
12752         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12753         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12754         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12755         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12756         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12757         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12758         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12759         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12760         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12761         * iconvdata/gbk.c (ONE_DIRECTION): Define.
12762         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12763         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12764         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12765         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12766         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12767         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12768         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12769         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12770         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12771         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12772         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12773         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12774         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12775         * iconvdata/iso646.c (ONE_DIRECTION): Define.
12776         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12777         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12778         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12779         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12780         * iconvdata/johab.c (ONE_DIRECTION): Define.
12781         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12782         * iconvdata/sjis.c (ONE_DIRECTION): Define.
12783         * iconvdata/t.61.c (ONE_DIRECTION): Define.
12784         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12785         * iconvdata/tscii.c (ONE_DIRECTION): Define.
12786         * iconvdata/uhc.c (ONE_DIRECTION): Define.
12787         * iconvdata/unicode.c (ONE_DIRECTION): Define.
12788         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12789         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12790         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12791
12792 2014-05-01  Roland McGrath  <roland@hack.frob.com>
12793
12794         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12795         (_IO_JUMPS_OFFSET): Define to 0.
12796
12797         * nptl/sysdeps/pthread/bits/libc-lock.h
12798         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12799         (__libc_lock_define_initialized_recursive): Always define using
12800         initializer.  Modern compilers treat uninitialized (implicit zero) and
12801         explicit zero initializers the same (i.e. put the datum in bss).
12802
12803 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12804
12805         * nscd/nscd-client.h: Include <string.h>.
12806
12807 2014-05-01  David S. Miller  <davem@davemloft.net>
12808
12809         [BZ #16885]
12810         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12811         multiple zero bytes exist at the end of a string.
12812         Reported by Aurelien Jarno <aurelien@aurel32.net>
12813
12814         * string/test-strcmp.c (check): Add explicit test for situations where
12815         there are multiple zero bytes after the first.
12816
12817 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
12818
12819         [BZ #16890]
12820         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12821         when compiling wprintf.
12822         * stdio-common/tstdiomisc.c (t3): New function.
12823         (main): Call it.
12824
12825 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12826
12827         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12828         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12829         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12830         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12831
12832 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12833
12834         * stdlib/longlong.h: Updated from GCC.
12835
12836 2014-05-01  Will Newton  <will.newton@linaro.org>
12837             Bernard Ogden  <bernie.ogden@linaro.org>
12838
12839         * NEWS: Update fixed bug list.
12840
12841         [BZ #15119]
12842         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12843
12844 2014-04-30  David S. Miller  <davem@davemloft.net>
12845
12846         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12847         (libc_feholdexcept_setround_sparc_ctx): New function.
12848         (libc_fesetenv_sparc_ctx): Likewise.
12849         (libc_feupdateenv_sparc_ctx): Likewise.
12850         (libc_feholdsetround_sparc_ctx): Likewise.
12851         (libc_feholdexcept_setround_ctx): Define.
12852         (libc_feholdexcept_setroundf_ctx): Likewise.
12853         (libc_feholdexcept_setroundl_ctx): Likewise.
12854         (libc_fesetenv_ctx): Likewise.
12855         (libc_fesetenvf_ctx): Likewise.
12856         (libc_fesetenvl_ctx): Likewise.
12857         (libc_feupdateenv_ctx): Likewise.
12858         (libc_feupdateenvf_ctx): Likewise.
12859         (libc_feupdateenvl_ctx): Likewise.
12860         (libc_feresetround_ctx): Likewise.
12861         (libc_feresetroundf_ctx): Likewise.
12862         (libc_feresetroundl_ctx): Likewise.
12863         (libc_feholdsetround_ctx): Likewise.
12864         (libc_feholdsetroundf_ctx): Likewise.
12865         (libc_feholdsetroundl_ctx): Likewise.
12866
12867         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12868         with __USE_GNU instead of XOPEN cpp guards.
12869
12870         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12871         0.
12872
12873         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12874         with XOPEN cpp guards.
12875
12876 2014-04-30  Julian Brown  <julian@codesourcery.com>
12877
12878         [BZ #16888]
12879         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12880         handling.
12881
12882 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
12883
12884         [BZ #9894]
12885         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12886         Change to 2.6.32.
12887         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12888         * sysdeps/unix/sysv/linux/configure: Regenerated.
12889         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12890         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12891         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12892         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12893         * README: Update reference to required Linux kernel version.
12894         * manual/install.texi (Linux): Update reference to required Linux
12895         kernel headers version.
12896         * INSTALL: Regenerated.
12897
12898         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12899         header inclusion.
12900         [POSIX] (limits.h): Likewise.
12901         [POSIX] (math.h): Likewise.
12902         [POSIX] (sys/wait.h): Likewise.
12903         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12904         function.
12905         [POSIX] (stddef.h): Do not allow header inclusion.
12906
12907 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12908
12909         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12910
12911 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
12912
12913         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12914         Return immediately after lll_futex_wake.
12915
12916 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12917
12918         [BZ #16791]
12919         * nscd/nscd-client.h (datahead_init_common): Initialize entire
12920         structure.
12921         (datahead_init_pos): Call datahead_init_common early.
12922         (datahead_init_neg): Likewise.
12923
12924         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12925         datahead_init_neg): New functions.
12926         * nscd/aicache.c (addhstaiX): Use them.
12927         * nscd/grpcache.c (cache_addgr): Likewise.
12928         * nscd/hstcache.c (cache_addhst): Likewise.
12929         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12930         * nscd/netgroupcache.c (do_notfound): Likewise.
12931         (addgetnetgrentX): Likewise.
12932         (addinnetgrX): Likewise.
12933         * nscd/pwdcache.c (cache_addpw): Likewise.
12934         * nscd/servicescache.c (cache_addserv): Likewise.
12935
12936 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12937             Atsushi Onoe  <atsushi@onoe.org>
12938
12939         [BZ #14308]
12940         [BZ #12994]
12941         [BZ #13651]
12942         * resolv/res_query.c (__libc_res_nsearch): Return if at least
12943         one response is valid.
12944         * resolv/res_send.c (send_dg): Check for validity of other
12945         response if the current response is a referral.
12946
12947 2014-04-29  Steve Ellcey  <sellcey@mips.com>
12948
12949         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12950
12951 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
12952
12953         [BZ #16823]
12954         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12955         Always divide by positive zero when computing -Inf result.
12956         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12957         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12958
12959 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12960
12961         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12962         FPSCR if value do not change.
12963         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12964         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12965         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12966         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12967         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12968         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12969         function.
12970
12971 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
12972
12973         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12974         * sysdeps/unix/sysv/linux/hppa: Move directory from
12975         ports/systeps/unix/sysv/linux/hppa.
12976         * README: Update listing for hppa-*-linux-gnu.
12977
12978 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
12979
12980         [BZ #16754]
12981         * manual/stdio.texi (Hook functions): Fix types of stream hook
12982         functions.
12983         [BZ #16854]
12984         * socket/sys/socket.h: Fix typo in comment.
12985
12986 2014-04-28  Wilco  <wdijkstr@arm.com>
12987
12988         * sysdeps/arm/fenv_private.h: New file.
12989         * sysdeps/arm/math_private.h: New file.
12990         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12991
12992 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
12993
12994         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12995         with __int128_t.
12996         (La_x86_64_retval): Likewise.
12997
12998 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
12999
13000         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13001         fpsr if value didn't change.
13002         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13003         to fpcr if value didn't change.
13004         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13005         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13006         fpsr or fpcr if value didn't change.
13007         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13008         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13009         fpcr if value didn't change.
13010         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13011         to fpsr if value didn't change.
13012
13013 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13014
13015         * nptl/tst-sem3.c: Use test-skeleton.c
13016         (main): Rename to do_test.  Use return instead of
13017         exit.
13018         * nptl/tst-sem4.c: Use test-skeleton.c
13019         (main): Rename to do_test.
13020
13021 2014-04-22  David S. Miller  <davem@davemloft.net>
13022
13023         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13024         (struct sigaction): New struct member __glibc_reserved0, change
13025         type of sa_flags to int.
13026
13027 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
13028
13029         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13030         (COUNT_LEADING_ZEROS_0): Define for AArch64.
13031
13032 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13033
13034         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13035         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13036
13037 2014-04-22  Will Newton  <will.newton@linaro.org>
13038             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
13039
13040         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13041         (__longjmp): Add longjmp and longjmp_target SystemTap
13042         probes.
13043         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13044         (__sigsetjmp): Add setjmp SystemTap probe.
13045
13046 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
13047
13048         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13049         match manual order.
13050
13051 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13052
13053         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13054
13055         * sysdeps/powerpc/fpu/fenv_private.h
13056         (libc_feholdexcept_setroundl_ctx): Define to
13057         libc_feholdexcept_setround_ppc_ctx.
13058         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13059         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13060         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13061         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13062
13063 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13064
13065         * sysdeps/aarch64/math-tests.h: New file.
13066
13067 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
13068
13069         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13070         New.
13071         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13072         Check and set bit_AVX2_Usable.
13073         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13074         macro.
13075         (bit_AVX2): Likewise.
13076         (index_AVX2_Usable): Likewise.
13077         (CPUID_AVX2): Likewise.
13078         (HAS_AVX2): Likewise.
13079
13080 2014-04-17  Will Newton  <will.newton@linaro.org>
13081
13082         * manual/setjmp.texi (System V contexts): Add note that
13083         calling setcontext on a context created by a call to a
13084         signal handler is undefined.  Update text to note that
13085         setcontext from a signal handler is possible but not
13086         recommended.
13087
13088         [BZ #16629]
13089         * stdlib/tst-setcontext.c: Include signal.h.
13090         (main): Check that the signal stack before and
13091         after swapcontext is the same.
13092
13093         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13094         Re-implement to restore registers in user code and avoid
13095         rt_sigreturn system call.
13096
13097 2014-04-17  Wilco  <wdijkstr@arm.com>
13098
13099         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13100         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13101         * math/test-fenv.c: Skip exception trap tests on targets which only
13102         support non-stop mode.
13103
13104 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13105             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13106
13107         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13108         (libc_feholdsetround_aarch64_ctx)
13109         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13110         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13111         (libc_feresetround_ctx, libc_feresetroundf_ctx)
13112         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13113         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13114         (libc_feresetround_noexl_ctx): Define.
13115
13116 2014-04-16  Richard Henderson  <rth@redhat.com>
13117
13118         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13119
13120         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13121         unwind tables.
13122
13123         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13124         const from the non-libc, non-ldso copy.
13125
13126         * sysdeps/alpha/libm-test-ulps: Regenerate.
13127
13128 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
13129             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13130
13131         * sysdeps/aarch64/fpu/math_private.h: New file.
13132
13133 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13134
13135         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13136
13137 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
13138
13139         [BZ #16275]
13140         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13141         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13142         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13143         Intel MPX bound registers before _dl_profile_fixup.
13144         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13145         registers after _dl_profile_fixup.  Save and restore bound
13146         registers bnd0/bnd1 when calling _dl_call_pltexit.
13147         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13148         (LR_BND_OFFSET): Likewise.
13149         (LRV_BND0_OFFSET): Likewise.
13150         (LRV_BND1_OFFSET): Likewise.
13151
13152 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13153
13154         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13155         to...
13156         * sysdeps/mach/hurd/i386/tls.h: ... here.
13157         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13158         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13159         fields.
13160
13161 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13162
13163         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13164
13165 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13166
13167         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13168
13169 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13170
13171         [BZ #14770]
13172         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13173         * sysdeps/s390/configure: Regenerate.
13174
13175         [BZ #16824]
13176         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13177         Set round-to-nearest internally to reduce error accumulation.
13178
13179 2014-04-16  Alan Modra  <amodra@gmail.com>
13180
13181         [BZ #16740]
13182         [BZ #16619]
13183         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13184         * math/libm-test.inc (frexp_test_data): Add tests.
13185         * NEWS: Update fixed bug list.
13186
13187 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13188
13189         * benchtests/Makefile: Depend on libraries in build directory.
13190         (bench-math): Separate out math tests.
13191         (bench-pthread): Separate out pthread tests.
13192         (bench): Include math and pthread tests.
13193
13194 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
13195
13196         [BZ #16831]
13197         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13198         _dl_debug_initialize.
13199
13200         * configure.ac: Remove SELinux header check.
13201         * configure: Regenerate.
13202         * nscd/selinux.c (perms): Array of const char* to permission names.
13203         (nscd_request_avc_has_perm): Call security_deny_unknown to find
13204         default policy. Call string_to_security_class and string_to_av_perm to
13205         translate strings. Enforce default policy and call avs_has_perm with
13206         results of translated strings.
13207
13208 2014-04-13  David S. Miller  <davem@davemloft.net>
13209
13210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13211
13212 2014-04-12  Allan McRae  <allan@archlinux.org>
13213
13214         [BZ #16838]
13215         * manual/string.texi (Collation Functions): Fix qsort argument
13216         order in example.
13217         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13218
13219 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
13220
13221         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13222         Make the test a no-op if there are no exceptions defined.
13223
13224 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13225
13226         * elf/Makefile (tests): make tst-dlopen-aout conditional on
13227         enable-hardcoded-path-in-tests
13228
13229 2014-04-11  Will Newton  <will.newton@linaro.org>
13230
13231         * benchtests/Makefile (extra-objs): Add json-lib.o.
13232         (bench-func): Tidy up JSON output.
13233         * benchtests/bench-skeleton.c: Include json-lib.h.
13234         (main): Use JSON library functions to do output of
13235         benchmark results.
13236         * benchtests/bench-timing-type.c (main): Output the
13237         timing type simply, leaving formatting to the user.
13238         * benchtests/json-lib.c: New file.
13239         * benchtests/json-lib.h: Likewise.
13240
13241 2014-04-11  Torvald Riegel  <triegel@redhat.com>
13242
13243         [BZ #15215]
13244         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13245         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
13246         memory barriers.  Add comments.
13247         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13248         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13249         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13250         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13251         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13252         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13253
13254 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13255
13256         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13257         * sysdeps/s390/s390-64/configure.ac: ... this ...
13258         * sysdeps/s390/configure.ac: ... to here.
13259         * sysdeps/s390/s390-32/configure: Delete file.
13260         * sysdeps/s390/s390-64/configure: Delete file.
13261         * sysdeps/s390/configure: Regenerate.
13262
13263 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
13264
13265         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13266
13267 2014-04-11  Will Newton  <will.newton@linaro.org>
13268
13269         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13270         to zero if it is not defined elsewhere.  (mtrim): Test
13271         the value of MALLOC_DEBUG with #if rather than #ifdef.
13272
13273 2014-04-10 Torvald Riegel  <triegel@redhat.com>
13274
13275         * benchtests/pthread_once-inputs: New file.
13276         * benchtests/pthread_once-source.c: New file.
13277         * benchtests/README: Update documentation.
13278
13279 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13280             H.J. Lu  <hongjiu.lu@intel.com>
13281
13282         [BZ #16275]
13283         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13284         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13285         * sysdeps/x86_64/configure: Regenerated.
13286         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13287         macro.
13288         (REGISTER_SAVE_RAX): Likewise.
13289         (REGISTER_SAVE_RCX): Likewise.
13290         (REGISTER_SAVE_RDX): Likewise.
13291         (REGISTER_SAVE_RSI): Likewise.
13292         (REGISTER_SAVE_RDI): Likewise.
13293         (REGISTER_SAVE_R8): Likewise.
13294         (REGISTER_SAVE_R9): Likewise.
13295         (REGISTER_SAVE_BND0): Likewise.
13296         (REGISTER_SAVE_BND1): Likewise.
13297         (REGISTER_SAVE_BND2): Likewise.
13298         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
13299         bound registers when calling _dl_fixup.
13300
13301 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13302
13303         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13304         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13305         of its definition.
13306         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13307         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13308         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13309         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13310         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13311         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13312         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13313
13314 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
13315
13316         [BZ #15514]
13317         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13318         pathconf(_PC_NAME_MAX).
13319
13320 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13321
13322         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13323         Remove macro usage.
13324         (__PTHREAD_SPINS): Move definition to ...
13325         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13326         (__PTHREAD_SPINS): ... here.
13327         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13328         (__PTHREAD_SPIN): Likewise.
13329         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13330         (__PTHREAD_SPIN): Likewise.
13331         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13332         (__PTHREAD_SPIN): Likewise.
13333         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13334         (__PTHREAD_SPIN): Likewise.
13335         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13336         (__PTHREAD_SPIN): Likewise.
13337         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13338         (__PTHREAD_SPIN): Likewise.
13339         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13340         (__PTHREAD_SPIN): Likewise.
13341         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13342         (__PTHREAD_SPIN): Likewise.
13343         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13344         (__PTHREAD_SPIN): Likewise.
13345         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13346         (__PTHREAD_SPIN): Likewise.
13347         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13348         (__PTHREAD_SPIN): Likewise.
13349         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13350         (__PTHREAD_SPIN): Likewise.
13351
13352         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13353         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13354         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13355         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13356         imply folder.
13357         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13358         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13359         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13360         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13361         correct imply path.
13362         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13363         strlen symbol for non multi-arch builds.
13364         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13365         missing hidden_def and weak_alias.
13366
13367 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
13368
13369         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13370
13371 2014-04-07  Will Newton  <will.newton@linaro.org>
13372
13373         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13374         and contents.  [!_LIBC] Remove #ifndef and contents.
13375         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
13376         * string/memccpy.c (__memccpy): Use ANSI prototype.
13377         * string/memfrob.c (memfrob): Likewise.
13378         * string/strcoll.c (STRCOLL): Likewise.
13379         * string/strlen.c (strlen): Likewise.
13380         * string/strtok.c (STRTOK): Likewise.
13381         * string/strcat.c: Remove unused #include of memcopy.h.
13382         (strcat): Use ANSI prototype.
13383         * string/strchr.c: Remove unused #include of memcopy.h.
13384         (strchr): Use ANSI prototype.
13385         * string/strcmp.c: Remove unused #include of memcopy.h.
13386         (strcmp): Use ANSI prototype.
13387         * string/strcpy.c: Remove unused #include of memcopy.h.
13388         (strcpy): Use ANSI prototype.
13389
13390 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13391
13392         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13393         * config.make.in (config-extra-cppflags): Set it from
13394         libc_extra_cppflags.
13395         * configure.ac (libc_extra_cflags): Make it accumulate over
13396         configure fragments.
13397         (libc_extra_cppflags): New flag.
13398         * configure. Regenerate.
13399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13400         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13401         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13403
13404         [BZ #16815]
13405         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13406         result for FE_DOWNWARD rounding mode.
13407         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13408         Likewise.
13409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13410
13411 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
13412
13413         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13414         in function argument name.
13415
13416 2014-04-03  David Svoboda  <svoboda@cert.org>
13417
13418         [BZ #5666]
13419         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13420         explicitly.
13421
13422 2014-04-03  Roland McGrath  <roland@hack.frob.com>
13423
13424         * elf/dl-unmap-segments.h: New file.
13425         * sysdeps/generic/ldsodefs.h
13426         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13427         * elf/dl-close.c: Include <dl-unmap-segments.h>.
13428         * elf/dl-fptr.c: Likewise.
13429         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13430         * sysdeps/aarch64/tlsdesc.c: Likewise.
13431         * sysdeps/arm/tlsdesc.c: Likewise.
13432         * sysdeps/i386/tlsdesc.c: Likewise.
13433         * sysdeps/tile/dl-runtime.c: Likewise.
13434         * sysdeps/x86_64/tlsdesc.c: Likewise.
13435         * elf/dl-load.h: New file.
13436         * elf/dl-load.c: Include it.
13437         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13438         Macros moved to dl-load.h.
13439         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13440         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13441         Use _dl_unmap_segments in place of __munmap.
13442         Break out segment-mapping loop into ...
13443         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13444
13445 2014-04-03  Will Newton  <will.newton@linaro.org>
13446
13447         * elf/dl-lookup.c (do_lookup_x): Remove comment
13448         referring to nested function and move variable
13449         declarations down to before first use.
13450
13451 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
13452
13453         [BZ #16799]
13454         [BZ #16800]
13455         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13456         with 0 numerator.
13457         * math/s_catanf.c (__catanf): Likewise.
13458         * math/s_catanh.c (__catanh): Likewise.
13459         * math/s_catanhf.c (__catanhf): Likewise.
13460         * math/s_catanhl.c (__catanhl): Likewise.
13461         * math/s_catanl.c (__catanl): Likewise.
13462         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13463         by positive zero when computing -Inf result.
13464         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13465         (catanh_test): Likewise.
13466         * sysdeps/i386/fpu/libm-test-ulps: Update.
13467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13468
13469         [BZ #16789]
13470         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13471         instead of using underflowing value in computing result.
13472         * math/s_clog10.c (__clog10): Likewise.
13473         * math/s_clog10f.c (__clog10f): Likewise.
13474         * math/s_clog10l.c (__clog10l): Likewise.
13475         * math/s_clogf.c (__clogf): Likewise.
13476         * math/s_clogl.c (__clogl): Likewise.
13477         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13478         (clog10_test): Likewise.
13479         * sysdeps/i386/fpu/libm-test-ulps: Update.
13480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13481
13482 2014-04-02  Alan Modra  <amodra@gmail.com>
13483
13484         [BZ #16739]
13485         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13486         output when value is near a power of two.  Use int64_t for lx and
13487         remove casts.  Use decimal rather than hex exponent constants.
13488         Don't use long double multiplication when double will suffice.
13489         * math/libm-test.inc (nextafter_test_data): Add tests.
13490         * NEWS: Add 16739 and 16786 to bug list.
13491
13492         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13493
13494         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13495
13496 2014-04-01  Will Newton  <will.newton@linaro.org>
13497
13498         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13499         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
13500
13501 2014-04-01  Florian Weimer  <fweimer@redhat.com>
13502
13503         [BZ #13347]
13504         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13505         * nptl/tst-setuid2.c: New file.
13506         * nptl/Makefile (xtests): Add tst-setuid2.
13507
13508 2014-04-01  Alan Modra  <amodra@gmail.com>
13509
13510         [BZ #16786]
13511         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13512
13513 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13514
13515         [BZ #6803]
13516         [BZ #6804]
13517         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13518         set errno as appropriate.
13519         * math/w_scalbf.c (__scalbf): Likewise.
13520         * math/w_scalbl.c (__scalbl): Likewise.
13521         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13522         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13523         * math/libm-test.inc (scalb_test_data): Add errno expectations.
13524         Add more NaN tests.
13525
13526         [BZ #16349]
13527         * math/w_atan2.c: Include <errno.h>.
13528         (__atan2): Set errno for result underflowing to zero.
13529         * math/w_atan2f.c: Include <errno.h>.
13530         (__atan2f): Set errno for result underflowing to zero.
13531         * math/w_atan2l.c: Include <errno.h>.
13532         (__atan2l): Set errno for result underflowing to zero.
13533         * math/auto-libm-test-in: Don't allow missing errno for some atan2
13534         tests.
13535         * math/auto-libm-test-out: Regenerated.
13536
13537 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13538
13539         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13540         Encode instruction correctly in little endian.
13541         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13542         Likewise.
13543         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13544         Likewise.
13545         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13546         Likewise.
13547         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13548         Likewise.
13549
13550 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13551
13552         [BZ #9894]
13553         * sysdeps/unix/sysv/linux/kernel-features.h
13554         [__sparc__ && !__arch64__ && !__sparc_v9__]
13555         (__ASSUME_SET_ROBUST_LIST): Do not define.
13556         [__sparc__ && !__arch64__ && !__sparc_v9__]
13557         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13558         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13559         Likewise.
13560         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13561         (__ASSUME_FUTEX_LOCK_PI): Undefine.
13562         (__ASSUME_REQUEUE_PI): Likewise.
13563         (__ASSUME_SET_ROBUST_LIST): Likewise.
13564         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13565         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13566         Undefine.
13567         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13568         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13569         Likewise.
13570         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13571         Likewise.
13572         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13573         Likewise.
13574         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13575         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13576         Undefine.
13577         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13578         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13579         Likewise.
13580
13581         [BZ #16648]
13582         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13583         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13584         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13585
13586 2014-03-31  Will Newton  <will.newton@linaro.org>
13587
13588         * benchtests/Makefile (bench): Add ffs and ffsll to list
13589         of tests.
13590         * benchtests/ffs-inputs: New file.
13591         * benchtests/ffsll-inputs: Likewise.
13592
13593 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
13594
13595         [BZ #16770]
13596         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13597         too large before casting to int.
13598         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13599         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13600         * math/libm-test.inc (scalb_test_data): Add more tests.
13601
13602 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13603
13604         * benchtests/Makefile (DETAILED_OPT): New make option.
13605         (bench-func): Run benchmark program with -d if DETAILED_OPT is
13606         set.
13607         * benchtests/bench-skeleton.c: Include stdbool.h.
13608         (main): Store and print timings per input.
13609         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13610         member to each argument value.
13611         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13612         (_print_arg_data): Initialize per-input timing to 0.
13613
13614         * benchtests/Makefile (timing-type): New binary.
13615         (bench-clean): Also remove bench-timing-type.
13616         (bench): New target for timing-type.
13617         (bench-func): Print output in JSON format.
13618         * benchtests/bench-skeleton.c (main): Print output in JSON
13619         format.
13620         * benchtests/bench-timing-type.c: New file.
13621         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13622         (TIMING_PRINT_STATS): Remove.
13623         * benchtests/scripts/bench.py (_print_arg_data): Store variant
13624         name separately.
13625
13626         * benchtests/bench-modf.c: Remove.
13627         * benchtests/modf-inputs: New inputs file.
13628
13629 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
13630
13631         [BZ #16362]
13632         * math/s_clog10.c (M_PI_LOG10E): New macro.
13633         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13634         imaginary parts are 0.
13635         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13636         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13637         imaginary parts are 0.
13638         * math/s_clog10l.c (M_PI_LOG10El): New macro.
13639         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13640         imaginary parts are 0.
13641         * math/libm-test.inc (clog10_test_data): Update expected results
13642         for when real and imaginary parts are 0.
13643
13644 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
13645
13646         * elf/dl-load.c: Finish conversion of __builtin_expect into
13647         __glibc_{un}likely.
13648
13649 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
13650
13651         [BZ #16348]
13652         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13653         1+x for argument with exponent below -67.
13654         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13655         Likewise.
13656         * math/auto-libm-test-in: Add more tests of exp.
13657         * math/auto-libm-test-out: Regenerated.
13658
13659 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13660
13661         [BZ #16759]
13662         * inet/getnetgrent_r.c (get_nonempty_val): New function.
13663         (nscd_getnetgrent): Use it.
13664
13665         [BZ #16760]
13666         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13667         of stpcpy.
13668
13669 2014-03-27  Andi Kleen  <ak@linux.intel.com>
13670
13671         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13672         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13673         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13674         (lll_robust_unlock): Remove out of line section. Use cfi
13675         intrinsics.
13676         (LLL_STUB_UNWIND_INFO*): Remove.
13677         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13678         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13679         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13680         (lll_robust_unlock): Remove out of line section. Use cfi
13681         intrinsics.
13682         (LLL_STUB_UNWIND_INFO*): Remove.
13683
13684 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13685
13686         [BZ #16758]
13687         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13688         blank values.
13689
13690 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13691
13692         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13693
13694 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
13695
13696         [BZ #16198]
13697         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13698         fnstenv.
13699         * math/test-fenv-preserve.c: New file.
13700         * math/Makefile (tests): Add test-fenv-preserve.
13701
13702 2014-03-26  Will Newton <will.newton@linaro.org>
13703
13704         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13705
13706 2014-03-25  Roland McGrath  <roland@hack.frob.com>
13707
13708         * scripts/versionlist.awk: Partition the version sets and emit all
13709         GLIBC_* (sorted) before all others (sorted).
13710
13711 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13712
13713         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13714         GLIBC_2.2.5 version.
13715
13716 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13717
13718         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13719         calls.
13720
13721         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13722         previous change.
13723
13724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13725
13726 2014-03-25  Andreas Schwab  <schwab@suse.de>
13727
13728         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13729         label to be used after in6ailist is initialized.
13730
13731 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13732
13733         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13734         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13735
13736 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13737
13738         [BZ #16357]
13739         [BZ #16599]
13740         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13741         min_plus_half.
13742         (fp_formats): Update initializers.
13743         (init_fp_formats): Initialize new field.
13744         (output_for_one_input_case): Allow underflow for results up to
13745         min_plus_half.
13746         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13747         * math/auto-libm-test-in: Don't mark some underflows from asin and
13748         atanh as spurious.
13749         * math/auto-libm-test-out: Regenerated.
13750         * sysdeps/i386/fpu/libm-test-ulps: Update.
13751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13752
13753 2014-03-25  Andreas Schwab  <schwab@suse.de>
13754
13755         * libio/Makefile (tst-ftell-partial-wide-ENV)
13756         (tst-ftell-active-handler-ENV): Define.
13757
13758 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
13759
13760         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13761
13762 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13763
13764         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13765
13766 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
13767
13768         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13769         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13770         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13771
13772 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13773
13774         [BZ #16634]
13775         * elf/dl-load.c (open_verify): Add mode parameter.
13776         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13777         (open_path): Change from boolean 'secure' to complete flag 'mode'
13778         (_dl_map_object): Adjust.
13779         * elf/Makefile (tests): Add tst-dlopen-aout.
13780         * elf/tst-dlopen-aout.c: New test.
13781
13782 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
13783
13784         [BZ #16714]
13785         * sysdeps/unix/sysv/linux/s390/bits/stat.h
13786         (struct stat): Rename member pad0 to __glibc_reserved0.
13787
13788         [BZ #16712]
13789         * sysdeps/s390/s390-32/bits/wordsize.h
13790         (__WORDSIZE32_SIZE_ULONG): New define.
13791         * sysdeps/s390/s390-64/bits/wordsize.h
13792         (__WORDSIZE32_SIZE_ULONG): Likewise.
13793         * sysdeps/generic/stdint.h (SIZE_MAX):
13794         Define as UL if __WORDSIZE32_SIZE_ULONG.
13795
13796         [BZ #16713]
13797         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13798         (__glibc_reserved0): New variable.
13799         (sa_flags): Change type to int.
13800
13801         * posix/Makefile (before-compile): Use += before-compile instead
13802         of a :=.
13803
13804         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13805         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13806
13807 2014-03-20  Andreas Schwab  <schwab@suse.de>
13808
13809         [BZ #16743]
13810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13811         non-matching result from nscd.
13812
13813 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13814
13815         * scripts/bench.py: Moved to ...
13816         * benchtests/scripts/bench.py: ... here.
13817         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13818
13819 2014-03-24  Andreas Schwab  <schwab@suse.de>
13820
13821         [BZ #16002]
13822         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13823         alloca_account and account alloca use for struct in6ailist.
13824
13825 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
13826
13827         [BZ #16284]
13828         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13829         rounding mode to recompute results that overflow to infinity or
13830         underflow to zero.
13831         * math/auto-libm-test-in: Don't mark tests as expected to fail for
13832         bug 16284.
13833         * math/auto-libm-test-out: Regenerated.
13834         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13835         (ccosh_test): Likewise.
13836         (csin_test_data): Use plus_oflow.
13837         (csin_test): Use ALL_RM_TEST.
13838         (csinh_test_data): Use plus_oflow.
13839         (csinh_test): Use ALL_RM_TEST.
13840         * sysdeps/i386/fpu/libm-test-ulps: Update.
13841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13842
13843 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
13844
13845         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13846         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13847         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13848
13849         [BZ #16731]
13850         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13851         when x - 1 is zero.
13852         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13853         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13854         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13855         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13856         argument is 1.
13857         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13858         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13859         zero.
13860         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13861         * sysdeps/i386/fpu/libm-test-ulps: Update.
13862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13863
13864 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13865
13866         * scripts/bench.pl: Remove file.
13867         * scripts/bench.py: New benchmark script.
13868         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13869         * benchtests/README: Mention python dependency.
13870         * scripts/pylintrc: New file.
13871         * scripts/pylint: New file.
13872
13873         * bits/mathdef.h: Use #ifdef instead of #if.
13874         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13875         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13876         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13877         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13878         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13879         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13880
13881 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13882             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13883
13884         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13885         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13886         and strpbrk-ppc64 objects.
13887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13888         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13889         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13890         multiarch strpbrk for POWER7.
13891         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13892         multiarch strpbrk for PPC64.
13893         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13894         ifunc selector.
13895         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13896         strpbrk for POWER7.
13897
13898 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
13899
13900         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13901         (atan_test): Likewise.
13902         (atanh_test_data): Use NO_TEST_INLINE for two tests.
13903         (atanh_test): Use ALL_RM_TEST.
13904         (atan2_test_data): Likewise.
13905         (cabs_test): Likewise.
13906         (cacosh_test): Likewise.
13907         (carg_test): Likewise.
13908         (casin_test): Likewise.
13909         (casinh_test): Likewise.
13910         (cbrt_test): Likewise.
13911         (csqrt_test): Likewise.
13912         (erf_test): Likewise.
13913         (erfc_test): Likewise.
13914         (pow10_test): Likewise.
13915         (exp2_test): Likewise.
13916         (hypot_test): Likewise.
13917         (j0_test): Likewise.
13918         (j1_test): Likewise.
13919         (lgamma_test): Likewise.
13920         (gamma_test): Likewise.
13921         (sincos_test): Likewise.
13922         (tanh_test): Likewise.
13923         (y0_test): Likewise.
13924         (y1_test): Likewise.
13925         * sysdeps/i386/fpu/libm-test-ulps: Update.
13926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13927
13928 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13929
13930         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13931         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13932         and strcspn-ppc64 objects.
13933         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13934         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13935         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13936         multiarch strcspn for POWER7.
13937         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13938         multiarch strcspn for PPC64.
13939         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13940         ifunc selector.
13941         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13942         strcspn for POWER7.
13943
13944 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
13945
13946         * math/gen-libm-test.pl (generate_testfile): Expect only function
13947         name as argument to AUTO_TESTS_* and pass results for all rounding
13948         modes to parse_args.
13949         (parse_auto_input): Separate inputs of automatic tests from
13950         outputs before storing in %auto_tests.
13951         * math/libm-test.inc (acos_test_data): Update call to
13952         AUTO_TESTS_f_f.
13953         (acos_test): Use ALL_RM_TEST.
13954         (acos_tonearest_test_data): Remove.
13955         (acos_test_tonearest): Likewise.
13956         (acos_towardzero_test_data): Likewise.
13957         (acos_test_towardzero): Likewise.
13958         (acos_downward_test_data): Likewise.
13959         (acos_test_downward): Likewise.
13960         (acos_upward_test_data): Likewise.
13961         (acos_test_upward): Likewise.
13962         (acosh_test_data): Update call to AUTO_TESTS_f_f.
13963         (asin_test_data): Likewise.
13964         (asin_test): Use ALL_RM_TEST.
13965         (asin_tonearest_test_data): Remove.
13966         (asin_test_tonearest): Likewise.
13967         (asin_towardzero_test_data): Likewise.
13968         (asin_test_towardzero): Likewise.
13969         (asin_downward_test_data): Likewise.
13970         (asin_test_downward): Likewise.
13971         (asin_upward_test_data): Likewise.
13972         (asin_test_upward): Likewise.
13973         (asinh_test_data): Update call to AUTO_TESTS_f_f.
13974         (atan_test_data): Likewise.
13975         (atanh_test_data): Likewise.
13976         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13977         (cabs_test_data): Update call to AUTO_TESTS_c_f.
13978         (carg_test_data): Likewise.
13979         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13980         (ccos_test_data): Update call to AUTO_TESTS_c_c.
13981         (ccosh_test_data): Likewise.
13982         (cexp_test_data): Likewise.
13983         (clog_test_data): Likewise.
13984         (clog10_test_data): Likewise.
13985         (cos_test_data): Update call to AUTO_TESTS_f_f.
13986         (cos_test): Use ALL_RM_TEST.
13987         (cos_tonearest_test_data): Remove.
13988         (cos_test_tonearest): Likewise.
13989         (cos_towardzero_test_data): Likewise.
13990         (cos_test_towardzero): Likewise.
13991         (cos_downward_test_data): Likewise.
13992         (cos_test_downward): Likewise.
13993         (cos_upward_test_data): Likewise.
13994         (cos_test_upward): Likewise.
13995         (cosh_test_data): Update call to AUTO_TESTS_f_f.
13996         (cosh_test): Use ALL_RM_TEST.
13997         (cosh_tonearest_test_data): Remove.
13998         (cosh_test_tonearest): Likewise.
13999         (cosh_towardzero_test_data): Likewise.
14000         (cosh_test_towardzero): Likewise.
14001         (cosh_downward_test_data): Likewise.
14002         (cosh_test_downward): Likewise.
14003         (cosh_upward_test_data): Likewise.
14004         (cosh_test_upward): Likewise.
14005         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14006         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14007         (ctan_test_data): Likewise.
14008         (ctan_test): Use ALL_RM_TEST.
14009         (ctan_tonearest_test_data): Remove.
14010         (ctan_test_tonearest): Likewise.
14011         (ctan_towardzero_test_data): Likewise.
14012         (ctan_test_towardzero): Likewise.
14013         (ctan_downward_test_data): Likewise.
14014         (ctan_test_downward): Likewise.
14015         (ctan_upward_test_data): Likewise.
14016         (ctan_test_upward): Likewise.
14017         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14018         (ctanh_test): Use ALL_RM_TEST.
14019         (ctanh_tonearest_test_data): Remove.
14020         (ctanh_test_tonearest): Likewise.
14021         (ctanh_towardzero_test_data): Likewise.
14022         (ctanh_test_towardzero): Likewise.
14023         (ctanh_downward_test_data): Likewise.
14024         (ctanh_test_downward): Likewise.
14025         (ctanh_upward_test_data): Likewise.
14026         (ctanh_test_upward): Likewise.
14027         (erf_test_data): Update call to AUTO_TESTS_f_f.
14028         (erfc_test_data): Likewise.
14029         (exp_test_data): Likewise.
14030         (exp_test): Use ALL_RM_TEST.
14031         (exp_tonearest_test_data): Remove.
14032         (exp_test_tonearest): Likewise.
14033         (exp_towardzero_test_data): Likewise.
14034         (exp_test_towardzero): Likewise.
14035         (exp_downward_test_data): Likewise.
14036         (exp_test_downward): Likewise.
14037         (exp_upward_test_data): Likewise.
14038         (exp_test_upward): Likewise.
14039         (exp10_test_data): Update call to AUTO_TESTS_f_f.
14040         (exp10_test): Use ALL_RM_TEST.
14041         (exp10_tonearest_test_data): Remove.
14042         (exp10_test_tonearest): Likewise.
14043         (exp10_towardzero_test_data): Likewise.
14044         (exp10_test_towardzero): Likewise.
14045         (exp10_downward_test_data): Likewise.
14046         (exp10_test_downward): Likewise.
14047         (exp10_upward_test_data): Likewise.
14048         (exp10_test_upward): Likewise.
14049         (exp2_test_data): Update call to AUTO_TESTS_f_f.
14050         (expm1_test_data): Likewise.
14051         (expm1_test): Use ALL_RM_TEST.
14052         (expm1_tonearest_test_data): Remove.
14053         (expm1_test_tonearest): Likewise.
14054         (expm1_towardzero_test_data): Likewise.
14055         (expm1_test_towardzero): Likewise.
14056         (expm1_downward_test_data): Likewise.
14057         (expm1_test_downward): Likewise.
14058         (expm1_upward_test_data): Likewise.
14059         (expm1_test_upward): Likewise.
14060         (fma_test_data): Update call to AUTO_TESTS_fff_f.
14061         (fma_test): Use ALL_RM_TEST.
14062         (fma_towardzero_test_data): Remove.
14063         (fma_test_towardzero): Likewise.
14064         (fma_downward_test_data): Likewise.
14065         (fma_test_downward): Likewise.
14066         (fma_upward_test_data): Likewise.
14067         (fma_test_upward): Likewise.
14068         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14069         (j0_test_data): Update call to AUTO_TESTS_f_f.
14070         (j1_test_data): Likewise.
14071         (jn_test_data): Update call to AUTO_TESTS_if_f.
14072         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14073         (log_test_data): Update call to AUTO_TESTS_f_f.
14074         (log10_test_data): Likewise.
14075         (log1p_test_data): Likewise.
14076         (log2_test_data): Likewise.
14077         (pow_test_data): Update call to AUTO_TESTS_ff_f.
14078         (pow_tonearest_test_data): Likewise.
14079         (sin_test_data): Update call to AUTO_TESTS_f_f.
14080         (sin_test): Use ALL_RM_TEST.
14081         (sin_tonearest_test_data): Remove.
14082         (sin_test_tonearest): Likewise.
14083         (sin_towardzero_test_data): Likewise.
14084         (sin_test_towardzero): Likewise.
14085         (sin_downward_test_data): Likewise.
14086         (sin_test_downward): Likewise.
14087         (sin_upward_test_data): Likewise.
14088         (sin_test_upward): Likewise.
14089         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14090         (sinh_test_data): Update call to AUTO_TESTS_f_f.
14091         (sinh_test): Use ALL_RM_TEST.
14092         (sinh_tonearest_test_data): Remove.
14093         (sinh_test_tonearest): Likewise.
14094         (sinh_towardzero_test_data): Likewise.
14095         (sinh_test_towardzero): Likewise.
14096         (sinh_downward_test_data): Likewise.
14097         (sinh_test_downward): Likewise.
14098         (sinh_upward_test_data): Likewise.
14099         (sinh_test_upward): Likewise.
14100         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14101         (sqrt_test): Use ALL_RM_TEST.
14102         (sqrt_tonearest_test_data): Remove.
14103         (sqrt_test_tonearest): Likewise.
14104         (sqrt_towardzero_test_data): Likewise.
14105         (sqrt_test_towardzero): Likewise.
14106         (sqrt_downward_test_data): Likewise.
14107         (sqrt_test_downward): Likewise.
14108         (sqrt_upward_test_data): Likewise.
14109         (sqrt_test_upward): Likewise.
14110         (tan_test_data): Update call to AUTO_TESTS_f_f.
14111         (tan_test): Use ALL_RM_TEST.
14112         (tan_tonearest_test_data): Remove.
14113         (tan_test_tonearest): Likewise.
14114         (tan_towardzero_test_data): Likewise.
14115         (tan_test_towardzero): Likewise.
14116         (tan_downward_test_data): Likewise.
14117         (tan_test_downward): Likewise.
14118         (tan_upward_test_data): Likewise.
14119         (tan_test_upward): Likewise.
14120         (tanh_test_data): Update call to AUTO_TESTS_f_f.
14121         (tgamma_test_data): Likewise.
14122         (y0_test_data): Likewise.
14123         (y1_test_data): Likewise.
14124         (yn_test_data): Update call to AUTO_TESTS_if_f.
14125         (main): Do not call removed functions.
14126
14127 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14128
14129         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14130         (ldexp_test_data): Remove.
14131         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
14132         scalbn_test_data.
14133         (scalb_test): Use ALL_RM_TEST.
14134
14135 2014-03-19  Andreas Schwab  <schwab@suse.de>
14136
14137         * nscd/nscd.service: Also invalidate netgroup cache on reload.
14138
14139 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14140
14141         [BZ #16649]
14142         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14143         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14144         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14145         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14146         (__ASSUME_PREADV): Undefine.
14147         (__ASSUME_PWRITEV): Likewise.
14148
14149 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14150
14151         * bits/mman-linux.h: Add comment about non-Linux use.
14152         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14153         bits/mman-linux.h resting place.
14154
14155         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14156         * bits/mman-linux.h: ... here.
14157
14158 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14159
14160         * conform/conformtest.pl: Add standard definition when calling C
14161         preprocessor on data files.
14162         (checknamespace): Remove unused variable.
14163
14164 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14165
14166         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14167         minus_oflow, plus_uflow and minus_uflow in expected results.
14168         * math/libm-test.inc (scalbn_test_data): Add more tests of
14169         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
14170         minus_uflow.
14171         (scalbn_test): Use ALL_RM_TEST.
14172         (scalbln_test_data): Add more tests of negative arguments.  Use
14173         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14174         (scalbln_test): Use ALL_RM_TEST.
14175
14176 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14177
14178         * scripts/abilist.awk: Ignore symbols marked with .hidden.
14179
14180 2014-03-18  Will Newton  <will.newton@linaro.org>
14181
14182         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14183         inaccurate comment.
14184
14185 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14186
14187         * Makerules [!subdir] (check-abi): Exit with error status if a
14188         test failed.
14189
14190 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14191
14192         * math/libm-test.inc (nearbyint_test_data): Include all tests used
14193         for rint.  Include results for all rounding modes.
14194         (nearbyint_test): Use ALL_RM_TEST.
14195         (rint_test_data): Include all tests used for nearbyint.
14196
14197 2014-03-17  Will Newton  <will.newton@linaro.org>
14198
14199         * nptl/sysdeps/pthread/pthread.h: Revert previous
14200         change.
14201
14202         * sysdeps/generic/ldsodefs.h: Revert previous
14203         change.
14204
14205         * libio/genops.c: Revert previous change.
14206         * libio/libioP.h: Likewise.
14207         * stdio-common/vfprintf.c: Likewise.
14208
14209         * sysdeps/generic/math_private.h: Revert previous
14210         change.
14211
14212         * sysdeps/generic/math_private.h: Check whether
14213         HAVE_RM_CTX is defined with #ifdef rather
14214         than #if.
14215
14216         * argp/argp-fmtstream.h: Check whether
14217         __STRICT_ANSI__ is defined with #ifdef rather
14218         than #if.
14219         * argp/argp.h: Likewise.
14220
14221         * libio/genops.c: Check whether
14222         _IO_JUMPS_OFFSET is defined with #ifdef rather
14223         than #if.
14224         * libio/libioP.h: Likewise.
14225         * stdio-common/vfprintf.c: Likewise.
14226
14227         * sysdeps/generic/ldsodefs.h: Check whether
14228         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14229         than #if.
14230
14231         * nptl/sysdeps/pthread/pthread.h: Check
14232         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14233         its value.
14234
14235 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14236
14237         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14238         setting O_APPEND.
14239         * libio/tst-ftell-active-handler.c (do_append_test): Add a
14240         test case.
14241
14242         [BZ #16680]
14243         * libio/fileops.c (_IO_file_open): Seek to end of file but
14244         don't cache the offset.
14245         (get_file_offset): Remove function.
14246         (do_ftell): Use cached offset when available.
14247         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14248         don't cache the offset.
14249         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14250         case.
14251         (do_one_test): Call it.
14252         (do_ftell_test): Fix up expected old offset for a+ mode.
14253         * libio/wfileops.c (do_ftell_wide): Used cached offset when
14254         available.
14255
14256         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14257         up test status with function return status.
14258         (do_write_test): Likewise.
14259         (do_append_test): Likewise.
14260
14261         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14262         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14263         Remove.
14264
14265 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14266
14267         * math/gen-libm-test.pl (parse_args): Handle results specified for
14268         each rounding mode separately.
14269         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14270         tests and results from lrint_tonearest_test_data,
14271         lrint_towardzero_test_data, lrint_downward_test_data and
14272         lrint_upward_test_data.
14273         (lrint_test): Use ALL_RM_TEST.
14274         (lrint_tonearest_test_data): Remove.
14275         (lrint_test_tonearest): Likewise.
14276         (lrint_towardzero_test_data): Likewise.
14277         (lrint_test_towardzero): Likewise.
14278         (lrint_downward_test_data): Likewise.
14279         (lrint_test_downward): Likewise.
14280         (lrint_upward_test_data): Likewise.
14281         (lrint_test_upward): Likewise.
14282         (llrint_test_data): Merge in per-rounding-mode tests and results
14283         from llrint_tonearest_test_data, llrint_towardzero_test_data,
14284         llrint_downward_test_data and llrint_upward_test_data.
14285         (llrint_test): Use ALL_RM_TEST.
14286         (llrint_tonearest_test_data): Remove.
14287         (llrint_test_tonearest): Likewise.
14288         (llrint_towardzero_test_data): Likewise.
14289         (llrint_test_towardzero): Likewise.
14290         (llrint_downward_test_data): Likewise.
14291         (llrint_test_downward): Likewise.
14292         (llrint_upward_test_data): Likewise.
14293         (llrint_test_upward): Likewise.
14294         (rint_test_data): Merge in per-rounding-mode tests and results
14295         from rint_tonearest_test_data, rint_towardzero_test_data,
14296         rint_downward_test_data and rint_upward_test_data.  Add
14297         per-rounding-mode results for tests not in those arrays.
14298         (rint_test): Use ALL_RM_TEST.
14299         (rint_tonearest_test_data): Remove.
14300         (rint_test_tonearest): Likewise.
14301         (rint_towardzero_test_data): Likewise.
14302         (rint_test_towardzero): Likewise.
14303         (rint_downward_test_data): Likewise.
14304         (rint_test_downward): Likewise.
14305         (rint_upward_test_data): Likewise.
14306         (rint_test_upward): Likewise.
14307         (main): Don't call removed functions.
14308
14309 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14310
14311         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14312         "Compiled on ..." crapola.  It is anti-useful.
14313
14314 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
14315
14316         * scripts/evaluate-test.sh: Handle fourth argument to determine
14317         whether test run should stop on failure.
14318         * Makeconfig (stop-on-test-failure): New variable.
14319         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14320         $(stop-on-test-failure).
14321         * Makefile (tests): Give a summary of results from testing and
14322         exit with failure status if they include an ERROR or FAIL.
14323         (xtests): Likewise.
14324         * manual/install.texi (Configuring and compiling): Mention
14325         stop-on-test-failure=y.
14326         * INSTALL: Regenerated.
14327
14328 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14329
14330         * scripts/versionlist.awk: New file.
14331         * Makerules [$(build-shared) = yes]
14332         (postclean-generated): Add Versions.def, not Versions.def.v and
14333         Versions.def.v.i.
14334         ($(common-objpfx)Versions.def.v.i): Target removed.
14335         ($(common-objpfx)Versions.def): New target.
14336         ($(common-objpfx)Versions.all): Depend on that rather that
14337         $(common-objpfx)Versions.def.v.
14338         * Versions.def: File removed.
14339
14340         * Makeconfig (+gccwarn): Add -Wundef.
14341         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14342         a dl-sysdep.h breaking its contract.
14343         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14344         * include/stackinfo.h: New file.
14345         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14346         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14347         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14348         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14349         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14350         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14351         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14352         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14353         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14354         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14355         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14356         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14357         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14358         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14359         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14360
14361 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14362
14363         [BZ #16707]
14364         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14365         implementation.
14366         * math/libm-test.inc (round_test_data): Add more tests.
14367
14368         [BZ #16706]
14369         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14370         implementation.
14371         * math/libm-test.inc (nearbyint_test_data): Add more tests.
14372
14373         [BZ #16701]
14374         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14375         implementation.
14376         * math/libm-test.inc (ceil_test_data): Add more tests.
14377
14378         * math/libm-test.inc (trunc_test_data): Add more tests related to
14379         BZ#16414.
14380
14381 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14382
14383         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14384         with #if rather than #ifdef.
14385         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14386
14387 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
14388
14389         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14390         first.  Disable AVX-512 GCC support if assembler doesn't support
14391         it.
14392         * sysdeps/x86_64/configure: Regenerated.
14393
14394 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
14395
14396         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14397         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14398         (__old_pthread_attr_setstack): Likewise.
14399         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14400         [!_STACK_GROWS_DOWN]: Likewise.
14401
14402 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
14403
14404         * config.make.in (have-bash2): Delete.
14405         * configure.ac (libc_cv_have_bash2): Delete.
14406         * configure: Regenerate.
14407         * elf/Makefile (common-ldd-rewrite): Rename to ...
14408         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
14409         (sh-ldd-rewrite): Delete.
14410         (bash-ldd-rewrite): Delete.
14411         (have-bash2): Delete checks.
14412         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14413         ldd-rewrite.
14414
14415         * config.make.in (have-ksh): Delete.
14416         (KSH): Delete.
14417         * configure.ac (libc_cv_have_ksh): Delete.
14418         * configure: Regenerate.
14419
14420         * elf/Makefile: Delete $(have-ksh) check.
14421         ($(objpfx)sotruss): Change KSH to BASH.
14422         * elf/sotruss.ksh: Rename to ...
14423         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
14424         function style to match POSIX.  Drop ksh vim mode setting.
14425
14426         * manual/time.texi (Specifying the Time Zone with TZ): Change
14427         Tuesday to Thursday.
14428
14429         * debug/tst-longjmp_chk2.c: Update header comment.
14430         (stackoverflow_handler): Add comment.  Call assert on pass value.
14431
14432 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
14433
14434         [BZ #16194]
14435         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14436         (HAVE_AVX512_ASM_SUPPORT): Likewise.
14437         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14438         (La_x86_64_vector): Add zmm.
14439         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14440         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14441         ($(objpfx)tst-audit10): New target.
14442         ($(objpfx)tst-audit10.out): Likewise.
14443         (tst-audit10-ENV): New.
14444         (AVX512-CFLAGS): Likewise.
14445         (CFLAGS-tst-audit10.c): Likewise.
14446         (CFLAGS-tst-auditmod10a.c): Likewise.
14447         (CFLAGS-tst-auditmod10b.c): Likewise.
14448         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14449         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14450         * sysdeps/x86_64/configure: Regenerated.
14451         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14452         AVX-512 zmm register support.
14453         (_dl_x86_64_save_sse): Likewise.
14454         (_dl_x86_64_restore_sse): Likewise.
14455         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14456         size vector registers.
14457         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14458         (ZMM_SIZE): Likewise.
14459         * sysdeps/x86_64/tst-audit10.c: New file.
14460         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14461         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14462
14463 2014-03-13  Roland McGrath  <roland@hack.frob.com>
14464
14465         * configure.ac (HAVE_EHDR_START): New check.
14466         * configure: Regenerated.
14467         * config.h.in (HAVE_EHDR_START): New #undef.
14468         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14469         assuming the lowest-addressed segment maps the start of the file.
14470
14471 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
14472
14473         * INSTALL: Regenerated.
14474
14475 2014-03-13  Will Newton  <will.newton@linaro.org>
14476
14477         * manual/setjmp.texi (System V contexts): Improve
14478         clarity and grammar of documentation.
14479
14480 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14481
14482         [BZ #16381]
14483         * elf/Makefile (tests): Add tst-pie2.
14484         (tests-pie): Add tst-pie2.
14485         * elf/tst-pie2.c: New file.
14486         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14487         for ET_EXEC.
14488         * elf/rtld.c (map_doit): Load executable as lt_executable.
14489         (dl_main): Likewise.
14490
14491 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
14492
14493         [BZ #16642]
14494         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14495         (__ASSUME_PSELECT): Undefine.
14496
14497 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14498
14499         [BZ #16689]
14500         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14501         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14502         static build.
14503         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14504         selector for static builds.
14505
14506 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14507
14508         [BZ #16695]
14509         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14510         key in the buffer.
14511
14512 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14513
14514         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14515         IFUNC selector for static builds.
14516
14517 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
14518
14519         * sysdeps/mips/math_private.h [__mips_hard_float]
14520         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14521         libc_feresetround_mips_ctx.
14522         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14523         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14524         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14525
14526         [BZ #16677]
14527         * math/s_nextafter.c (__nextafter): Do not return value from
14528         overflowing computation.
14529         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14530         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14531         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14532         Likewise.
14533         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14534         Likewise.
14535         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14536         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14537
14538 2014-03-11  Roland McGrath  <roland@hack.frob.com>
14539
14540         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14541         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14542         Move sfi_sp use from the load-multiple (that no longer sets sp) to
14543         the new mov targetting sp.
14544
14545 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14546
14547         [BZ #16683]
14548         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14549         Define it for static builds as well.
14550         (NO_BZERO_IMPL): Likewise.
14551
14552 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14553
14554         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14555         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14556         multiarch strspn for PPC64.
14557         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14558         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14560         (__libc_ifunc_impl_list): Likewise.
14561         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14562         multiarch optimizations
14563         * string/strspn.c (strspn): Using macro to redefine symbol name.
14564
14565 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14566             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14567
14568         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14569         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14570         multiarch strncat for PPC64.
14571         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14572         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14574         (__libc_ifunc_impl_list): Likewise.
14575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14576         multiarch optimizations
14577
14578 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14579
14580         [BZ #16639]
14581         * nscd/nscd.service: Make service type forking.
14582
14583 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14584
14585         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14586         sign in non default rounding modes.
14587         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14588
14589 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
14590
14591         * math/libm-test.inc (ALL_RM_TEST): New macro.
14592         (ceil_test): Use ALL_RM_TEST.
14593         (cimag_test): Likewise.
14594         (conj_test): Likewise.
14595         (copysign_test): Likewise.
14596         (cproj_test): Likewise.
14597         (creal_test): Likewise.
14598         (fabs_test): Likewise.
14599         (floor_test): Likewise.
14600         (fmax_test): Likewise.
14601         (fmin_test): Likewise.
14602         (fmod_test): Likewise.
14603         (fpclassify_test): Likewise.
14604         (frexp_test): Likewise.
14605         (ilogb_test): Likewise.
14606         (isfinite_test): Likewise.
14607         (finite_test): Likewise.
14608         (isgreater_test): Likewise.
14609         (isgreaterequal_test): Likewise.
14610         (isinf_test): Likewise.
14611         (isless_test): Likewise.
14612         (islessequal_test): Likewise.
14613         (islessgreater_test): Likewise.
14614         (isnan_test): Likewise.
14615         (isnormal_test): Likewise.
14616         (issignaling_test): Likewise.
14617         (isunordered_test): Likewise.
14618         (logb_test): Likewise.
14619         (logb_downward_test_data): Remove.
14620         (logb_test_downward): Likewise.
14621         (lround_test): Use ALL_RM_TEST.
14622         (llround_test): Likewise.
14623         (modf_test): Likewise.
14624         (nexttoward_test): Likewise.
14625         (remainder_test): Likewise.
14626         (drem_test): Likewise.
14627         (remainder_tonearest_test_data): Likewise.
14628         (remainder_test_tonearest): Likewise.
14629         (drem_test_tonearest): Likewise.
14630         (remainder_towardzero_test_data): Likewise.
14631         (remainder_test_towardzero): Likewise.
14632         (drem_test_towardzero): Likewise.
14633         (remainder_downward_test_data): Likewise.
14634         (remainder_test_downward): Likewise.
14635         (drem_test_downward): Likewise.
14636         (remainder_upward_test_data): Likewise.
14637         (remainder_test_upward): Likewise.
14638         (drem_test_upward): Likewise.
14639         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
14640         (round_test): Use ALL_RM_TEST.
14641         (signbit_test): Likewise.
14642         (trunc_test): Likewise.
14643         (significand_test): Likewise.
14644         (main): Don't call removed functions.
14645
14646 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14647
14648         [BZ #16674]
14649         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14650         || __USE_XOPEN2K8].
14651         (ILL_ILLOPN): Likewise.
14652         (ILL_ILLADR): Likewise.
14653         (ILL_ILLTRP): Likewise.
14654         (ILL_PRVOPC): Likewise.
14655         (ILL_PRVREG): Likewise.
14656         (ILL_COPROC): Likewise.
14657         (ILL_BADSTK): Likewise.
14658         (FPE_INTDIV): Likewise.
14659         (FPE_INTOVF): Likewise.
14660         (FPE_FLTDIV): Likewise.
14661         (FPE_FLTOVF): Likewise.
14662         (FPE_FLTUND): Likewise.
14663         (FPE_FLTRES): Likewise.
14664         (FPE_FLTINV): Likewise.
14665         (FPE_FLTSUB): Likewise.
14666         (SEGV_MAPERR): Likewise.
14667         (SEGV_ACCERR): Likewise.
14668         (BUS_ADRALN): Likewise.
14669         (BUS_ADRERR): Likewise.
14670         (BUS_OBJERR): Likewise.
14671         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14672         (TRAP_TRACE): Likewise.
14673         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14674         __USE_XOPEN2K8].
14675         (CLD_KILLED): Likewise.
14676         (CLD_DUMPED): Likewise.
14677         (CLD_TRAPPED): Likewise.
14678         (CLD_STOPPED): Likewise.
14679         (CLD_CONTINUED): Likewise.
14680         (POLL_IN): Likewise.
14681         (POLL_OUT): Likewise.
14682         (POLL_MSG): Likewise.
14683         (POLL_ERR): Likewise.
14684         (POLL_PRI): Likewise.
14685         (POLL_HUP): Likewise.
14686         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14687         Likewise.
14688         (ILL_ILLOPN): Likewise.
14689         (ILL_ILLADR): Likewise.
14690         (ILL_ILLTRP): Likewise.
14691         (ILL_PRVOPC): Likewise.
14692         (ILL_PRVREG): Likewise.
14693         (ILL_COPROC): Likewise.
14694         (ILL_BADSTK): Likewise.
14695         (FPE_INTDIV): Likewise.
14696         (FPE_INTOVF): Likewise.
14697         (FPE_FLTDIV): Likewise.
14698         (FPE_FLTOVF): Likewise.
14699         (FPE_FLTUND): Likewise.
14700         (FPE_FLTRES): Likewise.
14701         (FPE_FLTINV): Likewise.
14702         (FPE_FLTSUB): Likewise.
14703         (SEGV_MAPERR): Likewise.
14704         (SEGV_ACCERR): Likewise.
14705         (BUS_ADRALN): Likewise.
14706         (BUS_ADRERR): Likewise.
14707         (BUS_OBJERR): Likewise.
14708         (BUS_MCEERR_AR): Likewise.
14709         (BUS_MCEERR_AO): Likewise.
14710         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14711         (TRAP_TRACE): Likewise.
14712         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14713         __USE_XOPEN2K8].
14714         (CLD_KILLED): Likewise.
14715         (CLD_DUMPED): Likewise.
14716         (CLD_TRAPPED): Likewise.
14717         (CLD_STOPPED): Likewise.
14718         (CLD_CONTINUED): Likewise.
14719         (POLL_IN): Likewise.
14720         (POLL_OUT): Likewise.
14721         (POLL_MSG): Likewise.
14722         (POLL_ERR): Likewise.
14723         (POLL_PRI): Likewise.
14724         (POLL_HUP): Likewise.
14725         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14726         (ILL_ILLOPN): Likewise.
14727         (ILL_ILLADR): Likewise.
14728         (ILL_ILLTRP): Likewise.
14729         (ILL_PRVOPC): Likewise.
14730         (ILL_PRVREG): Likewise.
14731         (ILL_COPROC): Likewise.
14732         (ILL_BADSTK): Likewise.
14733         (FPE_INTDIV): Likewise.
14734         (FPE_INTOVF): Likewise.
14735         (FPE_FLTDIV): Likewise.
14736         (FPE_FLTOVF): Likewise.
14737         (FPE_FLTUND): Likewise.
14738         (FPE_FLTRES): Likewise.
14739         (FPE_FLTINV): Likewise.
14740         (FPE_FLTSUB): Likewise.
14741         (SEGV_MAPERR): Likewise.
14742         (SEGV_ACCERR): Likewise.
14743         (BUS_ADRALN): Likewise.
14744         (BUS_ADRERR): Likewise.
14745         (BUS_OBJERR): Likewise.
14746         (BUS_MCEERR_AR): Likewise.
14747         (BUS_MCEERR_AO): Likewise.
14748         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14749         (TRAP_TRACE): Likewise.
14750         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14751         __USE_XOPEN2K8].
14752         (CLD_KILLED): Likewise.
14753         (CLD_DUMPED): Likewise.
14754         (CLD_TRAPPED): Likewise.
14755         (CLD_STOPPED): Likewise.
14756         (CLD_CONTINUED): Likewise.
14757         (POLL_IN): Likewise.
14758         (POLL_OUT): Likewise.
14759         (POLL_MSG): Likewise.
14760         (POLL_ERR): Likewise.
14761         (POLL_PRI): Likewise.
14762         (POLL_HUP): Likewise.
14763         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14764         Likewise.
14765         (ILL_ILLOPN): Likewise.
14766         (ILL_ILLADR): Likewise.
14767         (ILL_ILLTRP): Likewise.
14768         (ILL_PRVOPC): Likewise.
14769         (ILL_PRVREG): Likewise.
14770         (ILL_COPROC): Likewise.
14771         (ILL_BADSTK): Likewise.
14772         (ILL_BADIADDR): Likewise.
14773         (ILL_BREAK): Likewise.
14774         (FPE_INTDIV): Likewise.
14775         (FPE_INTOVF): Likewise.
14776         (FPE_FLTDIV): Likewise.
14777         (FPE_FLTOVF): Likewise.
14778         (FPE_FLTUND): Likewise.
14779         (FPE_FLTRES): Likewise.
14780         (FPE_FLTINV): Likewise.
14781         (FPE_FLTSUB): Likewise.
14782         (FPE_DECOVF): Likewise.
14783         (FPE_DECDIV): Likewise.
14784         (FPE_DECERR): Likewise.
14785         (FPE_INVASC): Likewise.
14786         (FPE_INVDEC): Likewise.
14787         (SEGV_MAPERR): Likewise.
14788         (SEGV_ACCERR): Likewise.
14789         (SEGV_PSTKOVF): Likewise.
14790         (BUS_ADRALN): Likewise.
14791         (BUS_ADRERR): Likewise.
14792         (BUS_OBJERR): Likewise.
14793         (BUS_MCEERR_AR): Likewise.
14794         (BUS_MCEERR_AO): Likewise.
14795         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14796         (TRAP_TRACE): Likewise.
14797         (TRAP_BRANCH): Likewise.
14798         (TRAP_HWBKPT): Likewise.
14799         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14800         __USE_XOPEN2K8].
14801         (CLD_KILLED): Likewise.
14802         (CLD_DUMPED): Likewise.
14803         (CLD_TRAPPED): Likewise.
14804         (CLD_STOPPED): Likewise.
14805         (CLD_CONTINUED): Likewise.
14806         (POLL_IN): Likewise.
14807         (POLL_OUT): Likewise.
14808         (POLL_MSG): Likewise.
14809         (POLL_ERR): Likewise.
14810         (POLL_PRI): Likewise.
14811         (POLL_HUP): Likewise.
14812         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14813         (ILL_ILLOPN): Likewise.
14814         (ILL_ILLADR): Likewise.
14815         (ILL_ILLTRP): Likewise.
14816         (ILL_PRVOPC): Likewise.
14817         (ILL_PRVREG): Likewise.
14818         (ILL_COPROC): Likewise.
14819         (ILL_BADSTK): Likewise.
14820         (FPE_INTDIV): Likewise.
14821         (FPE_INTOVF): Likewise.
14822         (FPE_FLTDIV): Likewise.
14823         (FPE_FLTOVF): Likewise.
14824         (FPE_FLTUND): Likewise.
14825         (FPE_FLTRES): Likewise.
14826         (FPE_FLTINV): Likewise.
14827         (FPE_FLTSUB): Likewise.
14828         (SEGV_MAPERR): Likewise.
14829         (SEGV_ACCERR): Likewise.
14830         (BUS_ADRALN): Likewise.
14831         (BUS_ADRERR): Likewise.
14832         (BUS_OBJERR): Likewise.
14833         (BUS_MCEERR_AR): Likewise.
14834         (BUS_MCEERR_AO): Likewise.
14835         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14836         (TRAP_TRACE): Likewise.
14837         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14838         __USE_XOPEN2K8].
14839         (CLD_KILLED): Likewise.
14840         (CLD_DUMPED): Likewise.
14841         (CLD_TRAPPED): Likewise.
14842         (CLD_STOPPED): Likewise.
14843         (CLD_CONTINUED): Likewise.
14844         (POLL_IN): Likewise.
14845         (POLL_OUT): Likewise.
14846         (POLL_MSG): Likewise.
14847         (POLL_ERR): Likewise.
14848         (POLL_PRI): Likewise.
14849         (POLL_HUP): Likewise.
14850         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14851         (ILL_ILLOPN): Likewise.
14852         (ILL_ILLADR): Likewise.
14853         (ILL_ILLTRP): Likewise.
14854         (ILL_PRVOPC): Likewise.
14855         (ILL_PRVREG): Likewise.
14856         (ILL_COPROC): Likewise.
14857         (ILL_BADSTK): Likewise.
14858         (FPE_INTDIV): Likewise.
14859         (FPE_INTOVF): Likewise.
14860         (FPE_FLTDIV): Likewise.
14861         (FPE_FLTOVF): Likewise.
14862         (FPE_FLTUND): Likewise.
14863         (FPE_FLTRES): Likewise.
14864         (FPE_FLTINV): Likewise.
14865         (FPE_FLTSUB): Likewise.
14866         (SEGV_MAPERR): Likewise.
14867         (SEGV_ACCERR): Likewise.
14868         (BUS_ADRALN): Likewise.
14869         (BUS_ADRERR): Likewise.
14870         (BUS_OBJERR): Likewise.
14871         (BUS_MCEERR_AR): Likewise.
14872         (BUS_MCEERR_AO): Likewise.
14873         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14874         (TRAP_TRACE): Likewise.
14875         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14876         __USE_XOPEN2K8].
14877         (CLD_KILLED): Likewise.
14878         (CLD_DUMPED): Likewise.
14879         (CLD_TRAPPED): Likewise.
14880         (CLD_STOPPED): Likewise.
14881         (CLD_CONTINUED): Likewise.
14882         (POLL_IN): Likewise.
14883         (POLL_OUT): Likewise.
14884         (POLL_MSG): Likewise.
14885         (POLL_ERR): Likewise.
14886         (POLL_PRI): Likewise.
14887         (POLL_HUP): Likewise.
14888         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14889         (ILL_ILLOPN): Likewise.
14890         (ILL_ILLADR): Likewise.
14891         (ILL_ILLTRP): Likewise.
14892         (ILL_PRVOPC): Likewise.
14893         (ILL_PRVREG): Likewise.
14894         (ILL_COPROC): Likewise.
14895         (ILL_BADSTK): Likewise.
14896         (FPE_INTDIV): Likewise.
14897         (FPE_INTOVF): Likewise.
14898         (FPE_FLTDIV): Likewise.
14899         (FPE_FLTOVF): Likewise.
14900         (FPE_FLTUND): Likewise.
14901         (FPE_FLTRES): Likewise.
14902         (FPE_FLTINV): Likewise.
14903         (FPE_FLTSUB): Likewise.
14904         (SEGV_MAPERR): Likewise.
14905         (SEGV_ACCERR): Likewise.
14906         (BUS_ADRALN): Likewise.
14907         (BUS_ADRERR): Likewise.
14908         (BUS_OBJERR): Likewise.
14909         (BUS_MCEERR_AR): Likewise.
14910         (BUS_MCEERR_AO): Likewise.
14911         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14912         (TRAP_TRACE): Likewise.
14913         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14914         __USE_XOPEN2K8].
14915         (CLD_KILLED): Likewise.
14916         (CLD_DUMPED): Likewise.
14917         (CLD_TRAPPED): Likewise.
14918         (CLD_STOPPED): Likewise.
14919         (CLD_CONTINUED): Likewise.
14920         (POLL_IN): Likewise.
14921         (POLL_OUT): Likewise.
14922         (POLL_MSG): Likewise.
14923         (POLL_ERR): Likewise.
14924         (POLL_PRI): Likewise.
14925         (POLL_HUP): Likewise.
14926         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14927         (ILL_ILLOPN): Likewise.
14928         (ILL_ILLADR): Likewise.
14929         (ILL_ILLTRP): Likewise.
14930         (ILL_PRVOPC): Likewise.
14931         (ILL_PRVREG): Likewise.
14932         (ILL_COPROC): Likewise.
14933         (ILL_BADSTK): Likewise.
14934         (ILL_DBLFLT): Likewise.
14935         (ILL_HARDWALL): Likewise.
14936         (FPE_INTDIV): Likewise.
14937         (FPE_INTOVF): Likewise.
14938         (FPE_FLTDIV): Likewise.
14939         (FPE_FLTOVF): Likewise.
14940         (FPE_FLTUND): Likewise.
14941         (FPE_FLTRES): Likewise.
14942         (FPE_FLTINV): Likewise.
14943         (FPE_FLTSUB): Likewise.
14944         (SEGV_MAPERR): Likewise.
14945         (SEGV_ACCERR): Likewise.
14946         (BUS_ADRALN): Likewise.
14947         (BUS_ADRERR): Likewise.
14948         (BUS_OBJERR): Likewise.
14949         (BUS_MCEERR_AR): Likewise.
14950         (BUS_MCEERR_AO): Likewise.
14951         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14952         (TRAP_TRACE): Likewise.
14953         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14954         __USE_XOPEN2K8].
14955         (CLD_KILLED): Likewise.
14956         (CLD_DUMPED): Likewise.
14957         (CLD_TRAPPED): Likewise.
14958         (CLD_STOPPED): Likewise.
14959         (CLD_CONTINUED): Likewise.
14960         (POLL_IN): Likewise.
14961         (POLL_OUT): Likewise.
14962         (POLL_MSG): Likewise.
14963         (POLL_ERR): Likewise.
14964         (POLL_PRI): Likewise.
14965         (POLL_HUP): Likewise.
14966         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14967         (ILL_ILLOPN): Likewise.
14968         (ILL_ILLADR): Likewise.
14969         (ILL_ILLTRP): Likewise.
14970         (ILL_PRVOPC): Likewise.
14971         (ILL_PRVREG): Likewise.
14972         (ILL_COPROC): Likewise.
14973         (ILL_BADSTK): Likewise.
14974         (FPE_INTDIV): Likewise.
14975         (FPE_INTOVF): Likewise.
14976         (FPE_FLTDIV): Likewise.
14977         (FPE_FLTOVF): Likewise.
14978         (FPE_FLTUND): Likewise.
14979         (FPE_FLTRES): Likewise.
14980         (FPE_FLTINV): Likewise.
14981         (FPE_FLTSUB): Likewise.
14982         (SEGV_MAPERR): Likewise.
14983         (SEGV_ACCERR): Likewise.
14984         (BUS_ADRALN): Likewise.
14985         (BUS_ADRERR): Likewise.
14986         (BUS_OBJERR): Likewise.
14987         (BUS_MCEERR_AR): Likewise.
14988         (BUS_MCEERR_AO): Likewise.
14989         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14990         (TRAP_TRACE): Likewise.
14991         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14992         __USE_XOPEN2K8].
14993         (CLD_KILLED): Likewise.
14994         (CLD_DUMPED): Likewise.
14995         (CLD_TRAPPED): Likewise.
14996         (CLD_STOPPED): Likewise.
14997         (CLD_CONTINUED): Likewise.
14998         (POLL_IN): Likewise.
14999         (POLL_OUT): Likewise.
15000         (POLL_MSG): Likewise.
15001         (POLL_ERR): Likewise.
15002         (POLL_PRI): Likewise.
15003         (POLL_HUP): Likewise.
15004         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15005         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15006
15007         [BZ #16670]
15008         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15009         before #include of <time.h>.
15010         [!__USE_XOPEN2K] (__need_timespec): Likewise.
15011         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15012         (test-xfail-UNIX98/sched.h/conform): Likewise.
15013
15014 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15015
15016         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15017         error absence of trapping exception support.
15018         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15019
15020 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15021
15022         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15023         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15024         * timezone/Makefile (testdata): Move definition above include of
15025         Rules.
15026         (test-zones): New variable.
15027         (tests-special): Add zone files.
15028         (build-testdata): Use $(evaluate-test).
15029
15030         * elf/Makefile (tests-special): Rename tests to end with .out.
15031         ($(objpfx)noload-mem): Likewise.
15032         ($(objpfx)tst-leaks1-mem): Likewise.
15033         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15034         * iconv/Makefile (xtests-special): Change test-iconvconfig to
15035         $(objpfx)test-iconvconfig.out.
15036         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
15037         set -e inside subshell and redirect output to file.
15038         * iconvdata/Makefile (generated): Rename tests to end with .out.
15039         Correct type.
15040         (tests-special): Rename tests to end with .out.
15041         ($(objpfx)mtrace-tst-loading): Likewise.
15042         * intl/Makefile (generated): Likewise.
15043         (tests-special): Likewise.
15044         ($(objpfx)mtrace-tst-gettext): Likewise.
15045         * misc/Makefile (generated): Likewise.
15046         (tests-special): Likewise.
15047         ($(objpfx)tst-error1-mem): Likewise.
15048         * nptl/Makefile (tests-special): Likewise.
15049         ($(objpfx)tst-stack3-mem): Likewise.
15050         (generated): Likewise.
15051         * posix/Makefile (generated): Likewise.
15052         (tests-special): Likewise.
15053         (xtests-special): Likewise.
15054         ($(objpfx)tst-fnmatch-mem): Likewise.
15055         ($(objpfx)bug-regex2-mem): Likewise.
15056         ($(objpfx)bug-regex14-mem): Likewise.
15057         ($(objpfx)bug-regex21-mem): Likewise.
15058         ($(objpfx)bug-regex31-mem): Likewise.
15059         ($(objpfx)tst-vfork3-mem): Likewise.
15060         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15061         ($(objpfx)tst-pcre-mem): Likewise.
15062         ($(objpfx)tst-boost-mem): Likewise.
15063         ($(objpfx)bug-ga2-mem): Likewise.
15064         ($(objpfx)bug-glob2-mem): Likewise.
15065         * resolv/Makefile (generate): Likewise.
15066         (tests-special): Likewise.
15067         (xtests-special): Likewise.
15068         (generated): Likewise.
15069         ($(objpfx)mtrace-tst-leaks): Likewise.
15070         ($(objpfx)mtrace-tst-leaks2): Likewise.
15071
15072         * scripts/merge-test-results.sh: New file.
15073         * Makefile (tests-special-notdir): New variable.
15074         (tests): Run merge-test-results.sh.
15075         (xtests): Likewise.
15076         * Rules (tests-special-notdir): New variable.
15077         (xtests-special-notdir): Likewise.
15078         (tests): Run merge-test-results.sh
15079         (xtests): Likewise.
15080
15081         * Makeconfig (test-xfail-name): New variable.
15082         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15083         compute variable name for expected failures.
15084         * conform/Makefile (conformtest-headers-data): New variable.
15085         (conformtest-standards): Likewise.
15086         (conformtest-headers-ISO): Likewise.
15087         (conformtest-headers-ISO99): Likewise.
15088         (conformtest-headers-ISO11): Likewise.
15089         (conformtest-headers-POSIX): Likewise.
15090         (conformtest-headers-XPG3): Likewise.
15091         (conformtest-headers-XPG4): Likewise.
15092         (conformtest-headers-UNIX98): Likewise.
15093         (conformtest-headers-XOPEN2K): Likewise.
15094         (conformtest-headers-POSIX2008): Likewise.
15095         (conformtest-headers-XOPEN2K8): Likewise.
15096         (conformtest-header-list-base): Likewise.
15097         (conformtest-header-list-tests): Likewise.
15098         (conformtest-header-base): Likewise.
15099         (conformtest-header-tests): Likewise.
15100         (tests-special): Add $(conformtest-header-list-tests).  If
15101         [$(fast-check) && !$(cross-compiling)], add
15102         $(conformtest-header-tests) instead of
15103         $(objpfx)run-conformtest.out.
15104         (generated): Add $(conformtest-header-list-base).  If
15105         [$(fast-check) && !$(cross-compiling)], add
15106         $(conformtest-header-base).  Remove previous setting.
15107         ($(conformtest-header-list-tests)): New target.
15108         (test-xfail-run-conformtest): Remove variable.
15109         ($(objpfx)run-conformtest.out): Remove target.
15110         (test-xfail-ISO11/complex.h/conform): New variable.
15111         (test-xfail-ISO11/stdalign.h/conform): Likewise.
15112         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15113         (test-xfail-XPG3/varargs.h/conform): Likewise.
15114         (test-xfail-XPG4/varargs.h/conform): Likewise.
15115         (test-xfail-UNIX98/varargs.h/conform): Likewise.
15116         (test-xfail-XPG4/ndbm.h/conform): Likewise.
15117         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15118         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15119         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15120         (test-xfail-XPG3/fcntl.h/conform): Likewise.
15121         (test-xfail-XPG3/ftw.h/conform): Likewise.
15122         (test-xfail-XPG3/grp.h/conform): Likewise.
15123         (test-xfail-XPG3/langinfo.h/conform): Likewise.
15124         (test-xfail-XPG3/limits.h/conform): Likewise.
15125         (test-xfail-XPG3/pwd.h/conform): Likewise.
15126         (test-xfail-XPG3/search.h/conform): Likewise.
15127         (test-xfail-XPG3/signal.h/conform): Likewise.
15128         (test-xfail-XPG3/stdio.h/conform): Likewise.
15129         (test-xfail-XPG3/stdlib.h/conform): Likewise.
15130         (test-xfail-XPG3/string.h/conform): Likewise.
15131         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15132         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15133         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15134         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15135         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15136         (test-xfail-XPG3/sys/types.h/conform): Likewise.
15137         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15138         (test-xfail-XPG3/termios.h/conform): Likewise.
15139         (test-xfail-XPG3/time.h/conform): Likewise.
15140         (test-xfail-XPG3/unistd.h/conform): Likewise.
15141         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15142         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15143         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15144         (test-xfail-XPG4/netdb.h/conform): Likewise.
15145         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15146         (test-xfail-XPG4/signal.h/conform): Likewise.
15147         (test-xfail-XPG4/stdio.h/conform): Likewise.
15148         (test-xfail-XPG4/stdlib.h/conform): Likewise.
15149         (test-xfail-XPG4/stropts.h/conform): Likewise.
15150         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15151         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15152         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15153         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15154         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15155         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15156         (test-xfail-XPG4/sys/time.h/conform): Likewise.
15157         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15158         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15159         (test-xfail-XPG4/termios.h/conform): Likewise.
15160         (test-xfail-XPG4/ucontext.h/conform): Likewise.
15161         (test-xfail-XPG4/unistd.h/conform): Likewise.
15162         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15163         (test-xfail-POSIX/sched.h/conform): Likewise.
15164         (test-xfail-POSIX/signal.h/conform): Likewise.
15165         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15166         (test-xfail-POSIX/tar.h/conform): Likewise.
15167         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15168         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15169         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15170         (test-xfail-UNIX98/netdb.h/conform): Likewise.
15171         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15172         (test-xfail-UNIX98/sched.h/conform): Likewise.
15173         (test-xfail-UNIX98/signal.h/conform): Likewise.
15174         (test-xfail-UNIX98/stdio.h/conform): Likewise.
15175         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15176         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15177         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15178         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15179         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15180         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15181         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15182         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15183         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15184         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15185         (test-xfail-UNIX98/unistd.h/conform): Likewise.
15186         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15187         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15188         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15189         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15190         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15191         (test-xfail-XOPEN2K/math.h/conform): Likewise.
15192         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15193         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15194         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15195         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15196         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15197         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15198         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15199         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15200         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15201         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15202         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15203         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15204         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15205         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15206         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15207         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15208         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15209         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15210         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15211         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15212         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15213         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15214         (test-xfail-POSIX2008/signal.h/conform): Likewise.
15215         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15216         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15217         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15218         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15219         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15220         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15221         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15222         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15223         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15224         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15225         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15226         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15227         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15228         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15229         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15230         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15231         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15232         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15233         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15234         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15235         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15236         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15237         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15238         (conformtest-cc-flags): Likewise.
15239         ($(conformtest-header-tests): New target.
15240         * conform/check-header-lists.sh: New file.
15241         * conform/run-conformtest.sh: Remove.
15242
15243         * conform/conformtest.pl: Allow ' and \ in values given for
15244         constants.
15245         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15246         inclusion.
15247         [POSIX] (sys/types.h): Likewise.
15248         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15249         inclusion.
15250         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15251         inclusion.
15252         * conform/data/signal.h-data (SIGIO): Remove expectation.
15253         [XPG3] (SIGBUS): Do not expect.
15254         [POSIX || XPG3] (SIGPOLL): Likewise.
15255         [POSIX || XPG3] (SIGPROF): Likewise.
15256         [POSIX || XPG3] (SIGSYS): Likewise.
15257         [XPG3] (SIGTRAP): Likewise.
15258         [POSIX || XPG3] (SIGURG): Likewise.
15259         [POSIX || XPG3] (SIGVTALRM): Likewise.
15260         [POSIX || XPG3] (SIGXCPU): Likewise.
15261         [POSIX || XPG3] (SIGXFSZ): Likewise.
15262         [POSIX] (SA_SIGINFO): Expect.
15263         [XPG3] (siginfo_t): Do not expect type or contents.
15264         [POSIX] (si_pid): Do not expect element.
15265         [POSIX] (si_uid): Likewise.
15266         [POSIX] (si_addr): Likewise.
15267         [POSIX] (si_status): Likewise.
15268         [POSIX] (si_band): Likewise.
15269         [XPG4] (si_value): Likewise.
15270         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15271         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15272         [POSIX || XPG3] (ILL_ILLADR): Likewise.
15273         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15274         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15275         [POSIX || XPG3] (ILL_PRVREG): Likewise.
15276         [POSIX || XPG3] (ILL_COPROC): Likewise.
15277         [POSIX || XPG3] (ILL_BADSTK): Likewise.
15278         [POSIX || XPG3] (FPE_INTDIV): Likewise.
15279         [POSIX || XPG3] (FPE_INTOVF): Likewise.
15280         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15281         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15282         [POSIX || XPG3] (FPE_FLTUND): Likewise.
15283         [POSIX || XPG3] (FPE_FLTRES): Likewise.
15284         [POSIX || XPG3] (FPE_FLTINV): Likewise.
15285         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15286         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15287         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15288         [POSIX || XPG3] (BUS_ADRALN): Likewise.
15289         [POSIX || XPG3] (BUS_ADRERR): Likewise.
15290         [POSIX || XPG3] (BUS_OBJERR): Likewise.
15291         [POSIX || XPG3] (CLD_EXITED): Likewise.
15292         [POSIX || XPG3] (CLD_KILLED): Likewise.
15293         [POSIX || XPG3] (CLD_DUMPED): Likewise.
15294         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15295         [POSIX || XPG3] (CLD_STOPPED): Likewise.
15296         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15297         [POSIX || XPG3] (POLL_IN): Likewise.
15298         [POSIX || XPG3] (POLL_OUT): Likewise.
15299         [POSIX || XPG3] (POLL_MSG): Likewise.
15300         [POSIX || XPG3] (POLL_ERR): Likewise.
15301         [POSIX || XPG3] (POLL_PRI): Likewise.
15302         [POSIX || XPG3] (POLL_HUP): Likewise.
15303         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15304         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15305         (SIG*): Do not allow.
15306         [XPG3] (si_*): Likewise.
15307         [XPG3] (SI_*): Likewise.
15308         [XPG3 || XPG4] (sigev_*): Likewise.
15309         [XPG3 || XPG4] (SIGEV_*): Likewise.
15310         [XPG3 || XPG4] (sival_*): Likewise.
15311         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15312         [POSIX || XPG3] (BUS_*): Likewise.
15313         [POSIX || XPG3] (CLD_*): Likewise.
15314         [POSIX || XPG3] (FPE_*): Likewise.
15315         [POSIX || XPG3] (ILL_*): Likewise.
15316         [POSIX || XPG3] (POLL_*): Likewise.
15317         [POSIX || XPG3] (SEGV_*): Likewise.
15318         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15319         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15320         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15321         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15322         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15323         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15324         Specify type and value.
15325         (TVERSLEN): Likewise.
15326         (REGTYPE): Likewise.
15327         (AREGTYPE): Likewise.
15328         (LNKTYPE): Likewise.
15329         (SYMTYPE): Likewise.
15330         (CHRTYPE): Likewise.
15331         (BLKTYPE): Likewise.
15332         (DIRTYPE): Likewise.
15333         (FIFOTYPE): Likewise.
15334         (CONTTYPE): Likewise.
15335         (TSUID): Likewise.
15336         (TSGID): Likewise.
15337         (TSVTX): Likewise.
15338         (TUREAD): Likewise.
15339         (TUWRITE): Likewise.
15340         (TUEXEC): Likewise.
15341         (TGREAD): Likewise.
15342         (TGWRITE): Likewise.
15343         (TGEXEC): Likewise.
15344         (TOREAD): Likewise.
15345         (TOWRITE): Likewise.
15346         (TOEXEC): Likewise.
15347         [POSIX] (TSVTX): Expect constant.
15348
15349 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
15350
15351         * Makefile (tests): Change dependencies to ....
15352         (tests-special): ... additions to this variable.
15353         (tests): Depend on $(tests-special).
15354         * Makerules (check-abi-list): New variable.
15355         (check-abi): Depend on $(check-abi-list).
15356         [$(subdir) = elf] (tests-special): Add
15357         $(objpfx)check-abi-libc.out.
15358         [$(build-shared) = yes && subdir] (tests-special): Add
15359         $(check-abi-list).
15360         [$(build-shared) = yes && subdir] (tests): Do not depend on
15361         check-abi.
15362         * Rules (tests): Depend on $(tests-special).
15363         (xtests): Depend on $(xtests-special).
15364         * catgets/Makefile (tests): Change dependencies to ....
15365         (tests-special): ... additions to this variable.
15366         * conform/Makefile (tests): Change dependencies to ....
15367         (tests-special): ... additions to this variable.
15368         * elf/Makefile (tests): Change dependencies to ....
15369         (tests-special): ... additions to this variable.
15370         * grp/Makefile (tests): Change dependencies to ....
15371         (tests-special): ... additions to this variable.
15372         * iconv/Makefile (xtests): Change dependencies to ....
15373         (xtests-special): ... additions to this variable.
15374         * iconvdata/Makefile (tests): Change dependencies to ....
15375         (tests-special): ... additions to this variable.
15376         * intl/Makefile (tests): Change dependencies to ....
15377         (tests-special): ... additions to this variable.  Also add
15378         $(objpfx)tst-gettext.out.
15379         * io/Makefile (tests): Change dependencies to ....
15380         (tests-special): ... additions to this variable.
15381         * libio/Makefile (tests): Change dependencies to ....
15382         (tests-special): ... additions to this variable.
15383         * malloc/Makefile (tests): Change dependencies to ....
15384         (tests-special): ... additions to this variable.
15385         * misc/Makefile (tests): Change dependencies to ....
15386         (tests-special): ... additions to this variable.
15387         * nptl/Makefile (tests): Change dependencies to ....
15388         (tests-special): ... additions to this variable.
15389         * nptl_db/Makefile (tests): Change dependencies to ....
15390         (tests-special): ... additions to this variable.
15391         * posix/Makefile (tests): Change dependencies to ....
15392         (tests-special): ... additions to this variable.
15393         (xtests): Change dependencies to ....
15394         (xtests-special): ... additions to this variable.
15395         * resolv/Makefile (tests): Change dependencies to ....
15396         (tests-special): ... additions to this variable.
15397         (xtests): Change dependencies to ....
15398         (xtests-special): ... additions to this variable.
15399         * stdio-common/Makefile (tests): Change dependencies to ....
15400         (tests-special): ... additions to this variable.
15401         (do-tst-unbputc): Remove target.
15402         (do-tst-printf): Likewise.
15403         * stdlib/Makefile (tests): Change dependencies to ....
15404         (tests-special): ... additions to this variable.
15405         * string/Makefile (tests): Change dependencies to ....
15406         (tests-special): ... additions to this variable.
15407         * sysdeps/x86/Makefile (tests): Change dependencies to ....
15408         (tests-special): ... additions to this variable.
15409
15410         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15411         whole file.
15412         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15413         whole file.
15414         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15415         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15416
15417         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15418         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15419         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15420         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15421         * conform/data/libgen.h-data [XPG3]: Likewise.
15422         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15423         * conform/data/ndbm.h-data [XPG3]: Likewise.
15424         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15425         * conform/data/netdb.h-data [XPG3]: Likewise.
15426         * conform/data/netinet/in.h-data [XPG3]: Likewise.
15427         * conform/data/poll.h-data [XPG3]: Likewise.
15428         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15429         * conform/data/strings.h-data [XPG3]: Likewise.
15430         * conform/data/stropts.h-data [XPG3]: Likewise.
15431         * conform/data/sys/mman.h-data [XPG3]: Likewise.
15432         * conform/data/sys/resource.h-data [XPG3]: Likewise.
15433         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15434         Likewise.
15435         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15436         * conform/data/sys/time.h-data [XPG3]: Likewise.
15437         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15438         * conform/data/sys/uio.h-data [XPG3]: Likewise.
15439         * conform/data/sys/un.h-data [XPG3]: Likewise.
15440         * conform/data/syslog.h-data [XPG3]: Likewise.
15441         * conform/data/ucontext.h-data [XPG3]: Likewise.
15442         * conform/data/utmpx.h-data [XPG3]: Likewise.
15443         * conform/data/varargs.h-data [UNIX98]: Enable file.
15444
15445         * manual/Makefile (INSTALL_INFO): Remove variable setting.
15446
15447         * math/libm-test.inc (struct test_f_f_data): Move expected results
15448         into structure for each rounding mode.
15449         (struct test_ff_f_data): Likewise.
15450         (struct test_ff_f_data_nexttoward): Likewise.
15451         (struct test_fi_f_data): Likewise.
15452         (struct test_fl_f_data): Likewise.
15453         (struct test_if_f_data): Likewise.
15454         (struct test_fff_f_data): Likewise.
15455         (struct test_c_f_data): Likewise.
15456         (struct test_f_f1_data): Likewise.
15457         (struct test_fF_f1_data): Likewise.
15458         (struct test_ffI_f1_data): Likewise.
15459         (struct test_c_c_data): Likewise.
15460         (struct test_cc_c_data): Likewise.
15461         (struct test_f_i_data): Likewise.
15462         (struct test_ff_i_data): Likewise.
15463         (struct test_f_l_data): Likewise.
15464         (struct test_f_L_data): Likewise.
15465         (struct test_fFF_11_data): Likewise.
15466         (RM_): New macro.
15467         (RM_FE_DOWNWARD): Likewise.
15468         (RM_FE_TONEAREST): Likewise.
15469         (RM_FE_TOWARDZERO): Likewise.
15470         (RM_FE_UPWARD): Likewise.
15471         (RUN_TEST_LOOP_f_f): Update references to expected results.
15472         (RUN_TEST_LOOP_2_f): Likewise.
15473         (RUN_TEST_LOOP_fff_f): Likewise.
15474         (RUN_TEST_LOOP_c_f): Likewise.
15475         (RUN_TEST_LOOP_f_f1): Likewise.
15476         (RUN_TEST_LOOP_fF_f1): Likewise.
15477         (RUN_TEST_LOOP_fI_f1): Likewise.
15478         (RUN_TEST_LOOP_ffI_f1): Likewise.
15479         (RUN_TEST_LOOP_c_c): Likewise.
15480         (RUN_TEST_LOOP_cc_c): Likewise.
15481         (RUN_TEST_LOOP_f_i): Likewise.
15482         (RUN_TEST_LOOP_f_i_tg): Likewise.
15483         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15484         (RUN_TEST_LOOP_f_b): Likewise.
15485         (RUN_TEST_LOOP_f_b_tg): Likewise.
15486         (RUN_TEST_LOOP_f_l): Likewise.
15487         (RUN_TEST_LOOP_f_L): Likewise.
15488         (RUN_TEST_LOOP_fFF_11): Likewise.
15489         * math/gen-libm-test.pl (parse_args): Output four copies of
15490         expected results for each test.
15491
15492         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15493         (__ASSUME_UTIMES): Remove.
15494         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15495         (__ASSUME_UTIMES): Likewise.
15496
15497         * math/gen-auto-libm-tests.c: Update comment on output format.
15498         (output_for_one_input_case): Generate before-rounding and
15499         after-rounding information as conditions on output flags not
15500         floating-point format.
15501         * math/auto-libm-test-out: Regenerated.
15502         * math/gen-libm-test.pl (cond_value): New function.
15503         (or_cond_value): Use cond_value.
15504         (generate_testfile): Handle conditional exceptions.
15505
15506 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
15507
15508         * math/libm-test.inc (max_valid_error): New variable.
15509         (init_max_error): Take new argument specifying whether function
15510         results are exactly determined.  Set max_valid_error and bound
15511         other variables for errors based on this argument.
15512         (set_max_error): Do not record results above max_valid_error.
15513         (check_float_internal): Only accept errors of up to 0.5ulps if
15514         also at most max_valid_error.
15515         (START): Take new argument EXACT and pass it to init_max_error.
15516         (acos_test): Update call to START.
15517         (acos_test_tonearest): Likewise.
15518         (acos_test_towardzero): Likewise.
15519         (acos_test_downward): Likewise.
15520         (acos_test_upward): Likewise.
15521         (acosh_test): Likewise.
15522         (asin_test): Likewise.
15523         (asin_test_tonearest): Likewise.
15524         (asin_test_towardzero): Likewise.
15525         (asin_test_downward): Likewise.
15526         (asin_test_upward): Likewise.
15527         (asinh_test): Likewise.
15528         (atan_test): Likewise.
15529         (atanh_test): Likewise.
15530         (atan2_test): Likewise.
15531         (cabs_test): Likewise.
15532         (cacos_test): Likewise.
15533         (cacosh_test): Likewise.
15534         (carg_test): Likewise.
15535         (casin_test): Likewise.
15536         (casinh_test): Likewise.
15537         (catan_test): Likewise.
15538         (catanh_test): Likewise.
15539         (cbrt_test): Likewise.
15540         (ccos_test): Likewise.
15541         (ccosh_test): Likewise.
15542         (ceil_test): Likewise.
15543         (cexp_test): Likewise.
15544         (cimag_test): Likewise.
15545         (clog_test): Likewise.
15546         (clog10_test): Likewise.
15547         (conj_test): Likewise.
15548         (copysign_test): Likewise.
15549         (cos_test): Likewise.
15550         (cos_test_tonearest): Likewise.
15551         (cos_test_towardzero): Likewise.
15552         (cos_test_downward): Likewise.
15553         (cos_test_upward): Likewise.
15554         (cosh_test): Likewise.
15555         (cosh_test_tonearest): Likewise.
15556         (cosh_test_towardzero): Likewise.
15557         (cosh_test_downward): Likewise.
15558         (cosh_test_upward): Likewise.
15559         (cpow_test): Likewise.
15560         (cproj_test): Likewise.
15561         (creal_test): Likewise.
15562         (csin_test): Likewise.
15563         (csinh_test): Likewise.
15564         (csqrt_test): Likewise.
15565         (ctan_test): Likewise.
15566         (ctan_test_tonearest): Likewise.
15567         (ctan_test_towardzero): Likewise.
15568         (ctan_test_downward): Likewise.
15569         (ctan_test_upward): Likewise.
15570         (ctanh_test): Likewise.
15571         (ctanh_test_tonearest): Likewise.
15572         (ctanh_test_towardzero): Likewise.
15573         (ctanh_test_downward): Likewise.
15574         (ctanh_test_upward): Likewise.
15575         (erf_test): Likewise.
15576         (erfc_test): Likewise.
15577         (exp_test): Likewise.
15578         (exp_test_tonearest): Likewise.
15579         (exp_test_towardzero): Likewise.
15580         (exp_test_downward): Likewise.
15581         (exp_test_upward): Likewise.
15582         (exp10_test): Likewise.
15583         (exp10_test_tonearest): Likewise.
15584         (exp10_test_towardzero): Likewise.
15585         (exp10_test_downward): Likewise.
15586         (exp10_test_upward): Likewise.
15587         (pow10_test): Likewise.
15588         (exp2_test): Likewise.
15589         (expm1_test): Likewise.
15590         (expm1_test_tonearest): Likewise.
15591         (expm1_test_towardzero): Likewise.
15592         (expm1_test_downward): Likewise.
15593         (expm1_test_upward): Likewise.
15594         (fabs_test): Likewise.
15595         (fdim_test): Likewise.
15596         (floor_test): Likewise.
15597         (fma_test): Likewise.
15598         (fma_test_towardzero): Likewise.
15599         (fma_test_downward): Likewise.
15600         (fma_test_upward): Likewise.
15601         (fmax_test): Likewise.
15602         (fmin_test): Likewise.
15603         (fmod_test): Likewise.
15604         (fpclassify_test): Likewise.
15605         (frexp_test): Likewise.
15606         (hypot_test): Likewise.
15607         (ilogb_test): Likewise.
15608         (isfinite_test): Likewise.
15609         (finite_test): Likewise.
15610         (isgreater_test): Likewise.
15611         (isgreaterequal_test): Likewise.
15612         (isinf_test): Likewise.
15613         (isless_test): Likewise.
15614         (islessequal_test): Likewise.
15615         (islessgreater_test): Likewise.
15616         (isnan_test): Likewise.
15617         (isnormal_test): Likewise.
15618         (issignaling_test): Likewise.
15619         (isunordered_test): Likewise.
15620         (j0_test): Likewise.
15621         (j1_test): Likewise.
15622         (jn_test): Likewise.
15623         (ldexp_test): Likewise.
15624         (lgamma_test): Likewise.
15625         (gamma_test): Likewise.
15626         (lrint_test): Likewise.
15627         (lrint_test_tonearest): Likewise.
15628         (lrint_test_towardzero): Likewise.
15629         (lrint_test_downward): Likewise.
15630         (lrint_test_upward): Likewise.
15631         (llrint_test): Likewise.
15632         (llrint_test_tonearest): Likewise.
15633         (llrint_test_towardzero): Likewise.
15634         (llrint_test_downward): Likewise.
15635         (llrint_test_upward): Likewise.
15636         (log_test): Likewise.
15637         (log10_test): Likewise.
15638         (log1p_test): Likewise.
15639         (log2_test): Likewise.
15640         (logb_test): Likewise.
15641         (logb_test_downward): Likewise.
15642         (lround_test): Likewise.
15643         (llround_test): Likewise.
15644         (modf_test): Likewise.
15645         (nearbyint_test): Likewise.
15646         (nextafter_test): Likewise.
15647         (nexttoward_test): Likewise.
15648         (pow_test): Likewise.
15649         (pow_test_tonearest): Likewise.
15650         (pow_test_towardzero): Likewise.
15651         (pow_test_downward): Likewise.
15652         (pow_test_upward): Likewise.
15653         (remainder_test): Likewise.
15654         (drem_test): Likewise.
15655         (remainder_test_tonearest): Likewise.
15656         (drem_test_tonearest): Likewise.
15657         (remainder_test_towardzero): Likewise.
15658         (drem_test_towardzero): Likewise.
15659         (remainder_test_downward): Likewise.
15660         (drem_test_downward): Likewise.
15661         (remainder_test_upward): Likewise.
15662         (drem_test_upward): Likewise.
15663         (remquo_test): Likewise.
15664         (rint_test): Likewise.
15665         (rint_test_tonearest): Likewise.
15666         (rint_test_towardzero): Likewise.
15667         (rint_test_downward): Likewise.
15668         (rint_test_upward): Likewise.
15669         (round_test): Likewise.
15670         (scalb_test): Likewise.
15671         (scalbn_test): Likewise.
15672         (scalbln_test): Likewise.
15673         (signbit_test): Likewise.
15674         (sin_test): Likewise.
15675         (sin_test_tonearest): Likewise.
15676         (sin_test_towardzero): Likewise.
15677         (sin_test_downward): Likewise.
15678         (sin_test_upward): Likewise.
15679         (sincos_test): Likewise.
15680         (sinh_test): Likewise.
15681         (sinh_test_tonearest): Likewise.
15682         (sinh_test_towardzero): Likewise.
15683         (sinh_test_downward): Likewise.
15684         (sinh_test_upward): Likewise.
15685         (sqrt_test): Likewise.
15686         (sqrt_test_tonearest): Likewise.
15687         (sqrt_test_towardzero): Likewise.
15688         (sqrt_test_downward): Likewise.
15689         (sqrt_test_upward): Likewise.
15690         (tan_test): Likewise.
15691         (tan_test_tonearest): Likewise.
15692         (tan_test_towardzero): Likewise.
15693         (tan_test_downward): Likewise.
15694         (tan_test_upward): Likewise.
15695         (tanh_test): Likewise.
15696         (tgamma_test): Likewise.
15697         (trunc_test): Likewise.
15698         (y0_test): Likewise.
15699         (y1_test): Likewise.
15700         (yn_test): Likewise.
15701         (significand_test): Likewise.
15702
15703         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15704         individual tests in comment.
15705         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15706         (prev_max_error): New variable.
15707         (prev_real_max_error): Likewise.
15708         (prev_imag_max_error): Likewise.
15709         (compare_ulp_data): Don't refer to test names in comment.
15710         (find_test_ulps): Remove function.
15711         (find_function_ulps): Likewise.
15712         (find_complex_function_ulps): Likewise.
15713         (init_max_error): Take function name as argument.  Look up ulps
15714         for that function.
15715         (print_ulps): Remove function.
15716         (print_max_error): Use prev_max_error instead of calling
15717         find_function_ulps.
15718         (print_complex_max_error): Use prev_real_max_error and
15719         prev_imag_max_error instead of calling find_complex_function_ulps.
15720         (check_float_internal): Take max_ulp parameter instead of calling
15721         find_test_ulps.  Don't call print_ulps.
15722         (check_float): Update call to check_float_internal.
15723         (check_complex): Update calls to check_float_internal.
15724         (START): Pass argument to init_max_error.
15725         * math/gen-libm-test.pl (%results): Don't include "kind"
15726         information.
15727         (parse_ulps): Don't handle ulps of individual tests.
15728         (print_ulps_file): Likewise.
15729         (output_ulps): Likewise.
15730         * math/README.libm-test: Update.
15731         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15732         individual tests.
15733         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15734         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15735         * sysdeps/arm/libm-test-ulps: Likewise.
15736         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15737         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15738         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15739         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15740         * sysdeps/microblaze/libm-test-ulps: Likewise.
15741         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15742         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15743         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15744         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15745         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15746         * sysdeps/sh/libm-test-ulps: Likewise.
15747         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15748         * sysdeps/tile/libm-test-ulps: Likewise.
15749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15750
15751 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
15752
15753         * math/libm-test.inc (print_complex_max_error): Check separately
15754         whether real and imaginary errors are within allowed range and
15755         pass 0 to print_complex_function_ulps instead of value within
15756         allowed range.
15757
15758 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15759
15760         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15761         formatting.
15762         (get_handles_fopen): Likewise.
15763         (do_write_test): Likewise.
15764
15765         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15766
15767         * libio/fileops.c (do_ftell): Use cached offset when
15768         available.
15769         * libio/iofwide.c (do_ftell_wide): Likewise.
15770         * libio/iofdopen.c (_IO_new_fdopen): Don't use
15771         _IO_file_attach.
15772         * libio/wfileops.c (_IO_fwide): Don't cache offset.
15773
15774         [BZ #16532]
15775         * libio/libioP.h (get_file_offset): New function.
15776         * libio/fileops.c (get_file_offset): Likewise.
15777         (do_ftell): Likewise.
15778         (_IO_new_file_seekoff): Split out ftell logic.
15779         * libio/wfileops.c (do_ftell_wide): Likewise.
15780         (_IO_wfile_seekoff): Split out ftell logic.
15781         * libio/tst-ftell-active-handler.c: New test case.
15782         * libio/Makefile (tests): Add it.
15783
15784 2014-03-03  Roland McGrath  <roland@hack.frob.com>
15785
15786         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15787         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15788
15789 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15790
15791         [BZ #16639]
15792         * nscd/connections.c (nscd_init): Call do_exit.
15793         (start_threads): Call do_exit and notify_parent.
15794         (begin_drop_privileges): Call do_exit.
15795         (finish_drop_privileges): Likewise.
15796         * nscd/selinux.c (preserve_capabilities): Likewise.
15797         (install_real_capabilities): Likewise.
15798         (nscd_selinux_enabled): Likewise.
15799         (avc_create_thread): Likewise.
15800         (avc_alloc_lock): Likewise.
15801         (nscd_avc_init): Likewise.
15802         * nscd/nscd.c (parent_fd): New static variable.
15803         (main): Create a pipe between parent and child processes.
15804         Skip closing parent_fd.
15805         (monitor_child): New function.
15806         (do_exit): Likewise.
15807         (notify_parent): Likewise.
15808         * nscd/nscd.h (notify_parent): Likewise.
15809         (do_exit): Likewise.
15810
15811 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
15812
15813         * malloc/malloc.c (__libc_calloc): Revert last change.
15814
15815 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15816
15817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15818
15819 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15820
15821         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15823         implementation.
15824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15825         (__libc_ifunc_impl_list): Likewise.
15826         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15827         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15828         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15829         * string/strrchr.c: Define STRRCHR.
15830
15831 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
15832
15833         * benchtest/bench-strtok.c (simple_strtok): Delete.
15834         (strtok_string): Use as benchmark.
15835         * string/strtok (STRTOK): New macro.
15836
15837 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
15838
15839         * manual/threads.texi: Add header and standard comments to all
15840         functions.
15841
15842         * elf/dl-lookup.c (check_match): New function.
15843         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15844         (do_lookup_x): Remove nested function check_match. Use non-nested
15845         function check_match.
15846
15847 2014-02-28  Roland McGrath  <roland@hack.frob.com>
15848
15849         * csu/Makefile (generated, before-compile): Use += rather than =.
15850         * catgets/Makefile (generated, generated-dirs): Likewise.
15851         * debug/Makefile (generated): Likewise.
15852         * dlfcn/Makefile (generated): Likewise.
15853         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15854         * iconvdata/Makefile (before-compile, generated): Likewise.
15855         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15856         * libio/Makefile (generated): Likewise.
15857         * malloc/Makefile (generated): Likewise.
15858         * manual/Makefile (generated, generated-dirs): Likewise.
15859         * misc/Makefile (generated): Likewise.
15860         * posix/Makefile (generated): Likewise.
15861         * resolv/Makefile (generated): Likewise.
15862         * sunrpc/Makefile (generated, generated-dirs): Likewise.
15863         * timezone/Makefile (generated, generated-dirs): Likewise.
15864
15865         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15866
15867 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15868
15869         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15870         power8 implementation.
15871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15872         file: POWER8 llround ifunc implementation.
15873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15874         (__lllround): Add POWER8 implementation.
15875         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15876         POWER8 llround implementation.
15877
15878         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15879         power8 implementation.
15880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15881         file: POWER8 llrint ifunc implementation.
15882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15883         Add POWER8 implementation.
15884         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15885         POWER8 llrint implementation.
15886
15887         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15888         power8 implementation.
15889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15890         file: POWER8 finite ifunc implementation.
15891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15892         Add POWER8 implementation.
15893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15894         Likewise.
15895         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15896         POWER8 finite implementation.
15897         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15898
15899         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15900         power8 implementation.
15901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15902         file: POWER8 isinf ifunc implementation.
15903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15904         POWER8 implementation.
15905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15906         Likewise.
15907         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15908         isinf implementation.
15909         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15910
15911         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15912         (INIT_ARCH): Add hwcap2 initialization.
15913         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15914         power8 implementation.
15915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15916         file: POWER8 isnan ifunc implementation.
15917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15918         POWER8 implementation.
15919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15920         Likewise.
15921         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15922         isnan implementation.
15923         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15924
15925 2014-02-27  Joey Ye  <joey.ye@arm.com>
15926
15927         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15928         (_FP_NANFRAC_Q): Set to zero.
15929
15930 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15931
15932         [BZ #16623]
15933         * math/auto-libm-test-in: New test inputs.
15934         * math/auto-libm-test-out: Regenerate.
15935         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15936         and DA.
15937         (__cos): Likewise.
15938         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15939
15940 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
15941
15942         * scripts/evaluate-test.sh: Take new argument indicating whether
15943         failure is expected.
15944         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15945         indicating whether failure is expected.
15946         * conform/Makefile (test-xfail-run-conformtest): New variable.
15947         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15948         level.
15949         * posix/Makefile (test-xfail-annexc): New variable.
15950         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15951
15952 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
15953
15954         * argp/Makefile: Include Makeconfig immediately after defining
15955         subdir.
15956         * assert/Makefile: Likewise.
15957         * benchtests/Makefile: Likewise.
15958         * catgets/Makefile: Likewise.
15959         * conform/Makefile: Likewise.
15960         * crypt/Makefile: Likewise.
15961         * csu/Makefile: Likewise.
15962         (all): Remove target.
15963         * ctype/Makefile: Include Makeconfig immediately after defining
15964         subdir.
15965         * debug/Makefile: Likewise.
15966         * dirent/Makefile: Likewise.
15967         * dlfcn/Makefile: Likewise.
15968         * gmon/Makefile: Likewise.
15969         * gnulib/Makefile: Likewise.
15970         * grp/Makefile: Likewise.
15971         * gshadow/Makefile: Likewise.
15972         * hesiod/Makefile: Likewise.
15973         * hurd/Makefile: Likewise.
15974         (all): Remove target.
15975         * iconvdata/Makefile: Include Makeconfig immediately after
15976         defining subdir.
15977         * inet/Makefile: Likewise.
15978         * intl/Makefile: Likewise.
15979         * io/Makefile: Likewise.
15980         * libio/Makefile: Likewise.
15981         (all): Remove target.
15982         * locale/Makefile: Include Makeconfig immediately after defining
15983         subdir.
15984         * login/Makefile: Likewise.
15985         * mach/Makefile: Likewise.
15986         (all): Remove target.
15987         * malloc/Makefile: Include Makeconfig immediately after defining
15988         subdir.
15989         (all): Remove target.
15990         * manual/Makefile: Include Makeconfig immediately after defining
15991         subdir.
15992         * math/Makefile: Likewise.
15993         * misc/Makefile: Likewise.
15994         * nis/Makefile: Likewise.
15995         * nss/Makefile: Likewise.
15996         * po/Makefile: Likewise.
15997         (all): Remove target.
15998         * posix/Makefile: Include Makeconfig immediately after defining
15999         subdir.
16000         * pwd/Makefile: Likewise.
16001         * resolv/Makefile: Likewise.
16002         * resource/Makefile: Likewise.
16003         * rt/Makefile: Likewise.
16004         * setjmp/Makefile: Likewise.
16005         * shadow/Makefile: Likewise.
16006         * signal/Makefile: Likewise.
16007         * socket/Makefile: Likewise.
16008         * soft-fp/Makefile: Likewise.
16009         * stdio-common/Makefile: Likewise.
16010         * stdlib/Makefile: Likewise.
16011         * streams/Makefile: Likewise.
16012         * string/Makefile: Likewise.
16013         * sunrpc/Makefile: Likewise.
16014         (all): Remove target.
16015         * sysvipc/Makefile: Include Makeconfig immediately after defining
16016         subdir.
16017         * termios/Makefile: Likewise.
16018         * time/Makefile: Likewise.
16019         * timezone/Makefile: Likewise.
16020         (all): Remove target.
16021         * wcsmbs/Makefile: Include Makeconfig immediately after defining
16022         subdir.
16023         * wctype/Makefile: Likewise.
16024
16025 2014-02-26  Steve Ellcey  <sellcey@mips.com>
16026
16027         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16028         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16029         (libc_feholdexcept_setround_mips): Ditto.
16030         (libc_feholdsetround): New.
16031         (libc_feholdsetroundf): New.
16032         (libc_feholdsetroundl): New.
16033         (libc_feupdateenv_test_mips): New.
16034         (libc_feupdateenv_test): New.
16035         (libc_feupdateenv_testf): New.
16036         (libc_feupdateenv_testl): New.
16037         (libc_feresetround): New.
16038         (libc_feresetroundf): New.
16039         (libc_feresetroundl): New.
16040         (libc_fetestexcept_mips): New.
16041         (libc_fetestexcept): New.
16042         (libc_fetestexceptf): New.
16043         (libc_fetestexceptl): New.
16044         (HAVE_RM_CTX): New.
16045         (libc_feholdexcept_setround_mips_ctx): New.
16046         (libc_feholdexcept_setround_ctx): New.
16047         (libc_feholdexcept_setroundf_ctx): New.
16048         (libc_feholdexcept_setroundl_ctx): New.
16049         (libc_fesetenv_mips_ctx): New.
16050         (libc_fesetenv_ctx): New.
16051         (libc_fesetenv_ctxf): New.
16052         (libc_fesetenv_ctxl): New.
16053         (libc_feupdateenv_mips_ctx): New.
16054         (libc_feupdateenv_ctx): New.
16055         (libc_feupdateenvf_ctx): New.
16056         (libc_feupdateenvl_ctx): New.
16057         (libc_feholdsetround_mips_ctx): New.
16058         (libc_feholdsetround_ctx): New.
16059         (libc_feholdsetroundf_ctx): New.
16060         (libc_feholdsetroundl_ctx): New.
16061         (libc_feresetround_mips_ctx): New.
16062         (libc_feresetround_ctx): New.
16063         (libc_feresetroundf_ctx): New.
16064         (libc_feresetroundl_ctx): New.
16065
16066 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
16067
16068         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16069
16070         * manual/ipc.texi: New file.
16071         * manual/Makefile (chapters): Add ipc.
16072         * manual/job.texi: Add "Inter-Process Communication" to next.
16073         * manual/process.texi: Add "Inter-Process Communication" to prev.
16074
16075 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16076
16077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16078
16079 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
16080
16081         * malloc/malloc.c (__libc_calloc): Simplify implementation.
16082
16083         * manual/arith.texi: Fix spaces after sentences.
16084         * manual/charset.texi: Likewise.
16085         * manual/errno.texi: Likewise.
16086         * manual/install.texi: Likewise.
16087         * manual/llio.texi: Likewise.
16088         * manual/locale.texi: Likewise.
16089         * manual/maint.texi: Likewise.
16090         * manual/math.texi: Likewise.
16091         * manual/memory.texi: Likewise.
16092         * manual/message.texi: Likewise.
16093         * manual/probes.texi: Likewise.
16094         * manual/resource.texi: Likewise.
16095         * manual/signal.texi: Likewise.
16096         * manual/socket.texi: Likewise.
16097         * manual/stdio.texi: Likewise.
16098         * manual/string.texi: Likewise.
16099         * manual/time.texi: Likewise.
16100         * manual/users.texi: Likewise.
16101
16102 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
16103
16104         [BZ #16632]
16105         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16106         _DEFAULT_SOURCE is defined.
16107
16108 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
16109             Carlos O'Donell  <carlos@redhat.com>
16110
16111         [BZ #16613]
16112         * elf/dl-tls.c (_dl_count_modids): New function.
16113         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16114         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16115         audit library and increment generation counter.
16116         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16117         * elf/tst-audit9.c: New file.
16118         * elf/tst-auditmod9a.c: New file.
16119         * elf/tst-auditmod9b.c: New file.
16120         * elf/Makefile: Add rules to build and run tst-audit9.
16121
16122 2014-02-25  Florian Weimer  <fweimer@redhat.com>
16123
16124         [BZ #15347]
16125         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16126
16127 2014-02-25  Will Newton  <will.newton@linaro.org>
16128
16129         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16130         (__longjmp): Restore sp and lr before restoring callee
16131         saved registers.  Add longjmp and longjmp_target
16132         SystemTap probe point.
16133         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16134         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16135         Define to zero to match jmpbuf layout.
16136         * sysdeps/arm/setjmp.S: Include stap-probe.h.
16137         (__sigsetjmp): Save sp and lr before saving callee
16138         saved registers.  Add setjmp SystemTap probe point.
16139
16140 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16141
16142         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16143
16144 2014-02-24  Andreas Schwab  <schwab@suse.de>
16145
16146         [BZ #15804]
16147         * elf/pldd.c (wait_for_ptrace_stop): New function.
16148         (main): Call it after attaching.
16149
16150 2014-02-22  Roland McGrath  <roland@hack.frob.com>
16151
16152         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16153         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16154         Versions files is now verboten.
16155         * hurd/Versions (libc: GLIBC_2.0):
16156         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16157         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16158         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16159         * mach/Versions: Likewise.
16160
16161         * csu/Versions: Remove unused %include.
16162         * resolv/Versions: Likewise.
16163
16164 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
16165
16166         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16167         ($(objpfx)check-local-headers.out): Likewise.
16168         ($(objpfx)begin-end-check.out): Likewise.
16169         * Makerules (check-abi-%.out): Likewise.
16170         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16171         ($(objpfx)test2.cat): Likewise.
16172         ($(objpfx)de/libc.cat): Likewise.
16173         ($(objpfx)test-gencat.out): Likewise.
16174         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16175         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16176         ($(objpfx)noload-mem): Likewise.
16177         ($(objpfx)tst-pathopt.out): Likewise.
16178         ($(objpfx)tst-rtld-load-self.out): Likewise.
16179         ($(objpfx)tst-array1-cmp.out): Likewise.
16180         ($(objpfx)tst-array1-static-cmp.out): Likewise.
16181         ($(objpfx)tst-array2-cmp.out): Likewise.
16182         ($(objpfx)tst-array3-cmp.out): Likewise.
16183         ($(objpfx)tst-array4-cmp.out): Likewise.
16184         ($(objpfx)tst-array5-cmp.out): Likewise.
16185         ($(objpfx)tst-array5-static-cmp.out): Likewise.
16186         ($(objpfx)check-textrel.out): Likewise.
16187         ($(objpfx)check-execstack.out): Likewise.
16188         ($(objpfx)check-localplt.out): Likewise.
16189         ($(objpfx)order2-cmp.out): Likewise.
16190         ($(objpfx)tst-leaks1-mem): Likewise.
16191         ($(objpfx)tst-leaks1-static-mem): Likewise.
16192         ($(objpfx)tst-initorder-cmp.out): Likewise.
16193         ($(objpfx)tst-initorder2-cmp.out): Likewise.
16194         ($(objpfx)tst-unused-dep.out): Likewise.
16195         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16196         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16197         * iconv/Makefile (test-iconvconfig): Likewise.
16198         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16199         ($(objpfx)iconv-test.out): Likewise.
16200         ($(objpfx)tst-tables.out): Likewise.
16201         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16202         ($(objpfx)tst-gettext.out): Likewise.
16203         ($(objpfx)tst-translit.out): Likewise.
16204         ($(objpfx)tst-gettext2.out): Likewise.
16205         ($(objpfx)tst-gettext4.out): Likewise.
16206         ($(objpfx)tst-gettext6.out): Likewise.
16207         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16208         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16209         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16210         ($(objpfx)tst-fopenloc-mem.out): Likewise.
16211         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16212         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16213         * posix/Makefile ($(objpfx)globtest.out): Likewise.
16214         ($(objpfx)wordexp-tst.out): Likewise.
16215         ($(objpfx)annexc.out): Likewise.
16216         ($(objpfx)tst-fnmatch-mem): Likewise.
16217         ($(objpfx)bug-regex2-mem): Likewise.
16218         ($(objpfx)bug-regex14-mem): Likewise.
16219         ($(objpfx)bug-regex21-mem): Likewise.
16220         ($(objpfx)bug-regex31-mem): Likewise.
16221         ($(objpfx)tst-vfork3-mem): Likewise.
16222         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16223         ($(objpfx)tst-pcre-mem): Likewise.
16224         ($(objpfx)tst-boost-mem): Likewise.
16225         ($(objpfx)tst-getconf.out): Likewise.
16226         ($(objpfx)bug-ga2-mem): Likewise.
16227         ($(objpfx)bug-glob2-mem): Likewise.
16228         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16229         ($(objpfx)mtrace-tst-leaks2): Likewise.
16230         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16231         ($(objpfx)tst-printf.out): Likewise.
16232         ($(objpfx)tst-setvbuf1.out): Likewise.
16233         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16234         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16235         ($(objpfx)tst-fmtmsg.out): Likewise.
16236         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16237         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16238
16239         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16240         * bits/sigaction.h [__USE_MISC]: Likewise.
16241         * bits/waitstatus.h: Update #endif comments.
16242         * ctype/ctype.h: Likewise.
16243         * dirent/dirent.h: Likewise.
16244         [__USE_MISC]: Remove redundant conditionals.
16245         * grp/grp.h: Update #endif comments.
16246         [__USE_GNU]: Remove redundant conditionals.
16247         [__USE_MISC]: Likewise.
16248         * inet/netinet/in.h [__USE_GNU]: Likewise.
16249         * io/sys/stat.h [__USE_MISC]: Likewise.
16250         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16251         * libio/bits/stdio.h: Update #endif comments.
16252         [__USE_MISC]: Remove redundant conditionals.
16253         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16254         * libio/stdio.h: Update #endif comments.
16255         [__USE_MISC]: Remove redundant conditionals.
16256         * math/bits/math-finite.h [__USE_MISC]: Likewise.
16257         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16258         * math/math.h: Update #else and #endif comments.
16259         [__USE_MISC]: Remove redundant conditionals.
16260         * misc/sys/uio.h: Update #endif comments.
16261         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16262         * posix/glob.h [__USE_MISC]: Likewise.
16263         * posix/sys/types.h: Update #endif comments.
16264         [__USE_MISC]: Remove redundant conditionals.
16265         * posix/sys/wait.h: Update #endif comments.
16266         [__USE_MISC]: Remove redundant conditionals.
16267         * posix/unistd.h: Update #endif comments.
16268         [__USE_MISC]: Remove redundant conditionals.
16269         * pwd/pwd.h [__USE_GNU]: Likewise.
16270         [__USE_MISC]: Likewise.
16271         * resolv/netdb.h [__USE_GNU]: Likewise.
16272         * signal/signal.h: Update #endif comments.
16273         [__USE_MISC]: Remove redundant conditionals.
16274         * stdlib/stdlib.h: Update #else and #endif comments.
16275         [__USE_MISC]: Remove redundant conditionals.
16276         [__USE_GNU]: Likewise.
16277         * string/bits/string2.h [__USE_MISC]: Likewise.
16278         * string/string.h: Update #endif comments.
16279         [__USE_MISC]: Remove redundant conditionals.
16280         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16281         Likewise.
16282         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16283         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16284         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16285         Likewise.
16286         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16287         Likewise.
16288         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16289         comments.
16290         [__USE_MISC]: Remove redundant conditionals.
16291         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16292         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16293         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16294         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16295         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16296         Likewise.
16297         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16298         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16299         Likewise.
16300         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16301         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16302         Likewise.
16303         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16304         Likewise.
16305         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16306         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16307         Likewise.
16308         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16309         Likewise.
16310         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16311         * sysdeps/x86/bits/string.h: Update #endif comments.
16312         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16313         conditionals.
16314         * time/sys/time.h: Update #endif comments.
16315         * time/time.h: Likewise.
16316         [__USE_MISC]: Remove redundant conditionals.
16317
16318 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
16319
16320         [BZ #16600]
16321         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16322
16323 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
16324
16325         * Versions.def (librt): Add GLIBC_2.17.
16326
16327 2014-02-21  Adam Conrad  <adconrad@0c3.net>
16328
16329         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16330         synonym for _SYS_AUXV_H to allow direct inclusion.
16331         * sysdeps/sparc/bits/hwcap.h: Likewise.
16332         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16333         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16334         * sysdeps/sparc/sysdep.h: Likewise.
16335
16336 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16337
16338         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16339
16340 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16341
16342         * benchtests/bench-strrchr.c: Print length instead of position.
16343
16344 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
16345
16346         [BZ #16611]
16347         * sysdeps/unix/sysv/linux/kernel-features.h
16348         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16349         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16350         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16351         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16352         Likewise.
16353         [__i386__ || __powerpc__ || __sh__ || __sparc__]
16354         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16355         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16356         (__ASSUME_SENDMMSG): Define instead of using previous
16357         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16358         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16359         (__ASSUME_SENDMMSG_SYSCALL): Define.
16360         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16361         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16362         Likewise.
16363         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16364         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16365         Likewise.
16366         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16367         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16368         Likewise.
16369         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16370         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16371         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16372         [__ASSUME_SENDMMSG]: Change conditionals to
16373         [__ASSUME_SENDMMSG_SOCKETCALL].
16374         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16375         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16376         Define.
16377         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16378         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16379         Likewise.
16380         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16381         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16382         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16383         [!__ASSUME_SENDMMSG]: Change conditional to
16384         [!__ASSUME_SENDMMSG_SOCKETCALL].
16385         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16386         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16387         Define.
16388
16389         [BZ #16610]
16390         * sysdeps/unix/sysv/linux/kernel-features.h
16391         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16392         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16393         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16394         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16395         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16396         [__i386__ || __sparc__]
16397         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16398         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16399         (__ASSUME_RECVMMSG): Define instead of using previous
16400         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16401         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16402         (__ASSUME_RECVMMSG_SYSCALL): Define.
16403         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16404         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16405         Likewise.
16406         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16407         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16408         Likewise.
16409         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16410         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16411         Likewise.
16412         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16413         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16414         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16415         [__ASSUME_RECVMMSG]: Change condition to
16416         [__ASSUME_RECVMMSG_SOCKETCALL].
16417         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16418         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16419         Define.
16420         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16421         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16422         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16423         Likewise.
16424         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16425         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16426         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16427         [!__ASSUME_RECVMMSG]: Change condition to
16428         [!__ASSUME_RECVMMSG_SOCKETCALL].
16429         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16430         (__ASSUME_RECVMMSG_SYSCALL): Define.
16431
16432         [BZ #16609]
16433         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16434         __powerpc__ || __s390__ || __sh__ || __sparc__]
16435         (__ASSUME_SOCKETCALL): Define.
16436         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16437         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16438         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16439         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16440         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16441         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16442         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16443         (__ASSUME_ACCEPT4): Define instead of using previous
16444         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16445         __powerpc__ || __sparc__ || __s390__)] condition.
16446         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16447         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16448         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16449         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16450         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16451         [!__ASSUME_ACCEPT4]: Change condition to
16452         [!__ASSUME_ACCEPT4_SOCKETCALL].
16453         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16454         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
16455         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16456         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16457         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16458         __ASSUME_ACCEPT4_SYSCALL.
16459         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16460         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16461         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16462         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16463         __ASSUME_ACCEPT4_SYSCALL.
16464         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16465         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16466         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16467         [__ASSUME_ACCEPT4]: Change condition to
16468         [__ASSUME_ACCEPT4_SOCKETCALL].
16469         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16470         (__ASSUME_SOCKETCALL): Define.
16471         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16472         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16473         (__ASSUME_SOCKETCALL): Define.
16474         (__ASSUME_ACCEPT4): Remove.
16475         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16476         Define.
16477         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16478         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16479         Likewise.
16480         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16481         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16482
16483         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16484         macro.
16485         (HWCAP_ARM_LPAE): Likewise.
16486         (HWCAP_ARM_EVTSTRM): Likewise.
16487         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16488         Add vpfd32, lpae and evtstrm.
16489         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16490         Increase to 22.
16491
16492 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
16493
16494         * math/auto-libm-test-in: Add tests of clog10.
16495         * math/auto-libm-test-out: Regenerated.
16496         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16497         * sysdeps/i386/fpu/libm-test-ulps: Update.
16498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16499
16500 2014-02-18  Andreas Schwab  <schwab@suse.de>
16501
16502         [BZ #16574]
16503         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16504         Store non-zero if the second buffer was newly allocated.
16505         (send_dg): Likewise.
16506         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16507         to send_vc and send_dg.
16508         (res_nsend): Pass NULL for ansp2_malloced.
16509         * resolv/res_query.c (__libc_res_nquery): Add parameter
16510         answerp2_malloced and pass it down to __libc_res_nsend.
16511         (res_nquery): Pass additional NULL to __libc_res_nquery.
16512         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16513         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
16514         second answer buffer if answerp2_malloced was set.
16515         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16516         (__libc_res_nquerydomain): Add parameter
16517         answerp2_malloced and pass it down to __libc_res_nquery.
16518         (res_nquerydomain): Pass additional NULL to
16519         __libc_res_nquerydomain.
16520         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16521         additional NULL to __libc_res_nsend and __libc_res_nquery.
16522         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16523         additional NULL to __libc_res_nsearch.
16524         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
16525         parameter of __libc_res_nsearch to check for separately allocated
16526         second buffer.
16527         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16528         __libc_res_nquery.
16529         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16530         additional NULL to __libc_res_nquery.
16531         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16532         __libc_res_nsearch.
16533         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16534         * include/resolv.h: Update prototypes of __libc_res_nquery,
16535         __libc_res_nsearch, __libc_res_nsend.
16536
16537 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
16538
16539         * math/auto-libm-test-in: Add tests of fma.
16540         * math/auto-libm-test-out: Regenerated.
16541         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16542         (fma_towardzero_test_data): Likewise.
16543         (fma_downward_test_data): Likewise.
16544         (fma_upward_test_data): Likewise.
16545         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16546         mpc_mode.
16547         (rounding_modes): Add values for new field.
16548         (func_calc_method): Add value mpfr_fff_f.
16549         (func_calc_desc): Add mpfr_fff_f union field.
16550         (test_function): Add field exact_args.
16551         (FUNC): Add macro argument EXACT_ARGS.
16552         (FUNC_mpfr_f_f): Update call to FUNC.
16553         (FUNC_mpfr_f_f): Likewise.
16554         (FUNC_mpfr_ff_f): Likewise.
16555         (FUNC_mpfr_if_f): Likewise.
16556         (FUNC_mpc_c_f): Likewise.
16557         (FUNC_mpc_c_c): Likewise.
16558         (test_functions): Add fma.  Update calls to FUNC.
16559         (handle_input_arg): Add argument exact_args.
16560         (add_test): Update call to handle_input_arg.
16561         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
16562         (output_for_one_input_case): Update call to calc_generic_results.
16563         Recalculate exact zero results in each rounding mode.
16564
16565         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16566         non-negative before setting low bit.
16567         * math/auto-libm-test-in: Mark one asin test possibly having
16568         spurious underflow.
16569         * math/auto-libm-test-out: Regenerated.
16570         * sysdeps/i386/fpu/libm-test-ulps: Update.
16571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16572
16573 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
16574
16575         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16576         * sysdeps/unix/sysv/linux/microblaze: Move directory from
16577         ports/sysdeps/unix/sysv/linux/microblaze.
16578         * README: Add missing listing for microblaze*-*-linux-gnu.
16579
16580 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
16581
16582         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16583         duplicate code
16584
16585 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
16586
16587         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16588         * sysdeps/unix/sysv/linux/ia64: Move directory from
16589         ports/sysdeps/unix/sysv/linux/ia64.
16590         * README: Update listing for ia64-*-linux-gnu.
16591
16592 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
16593             Joseph Myers  <joseph@codesourcery.com>
16594
16595         * Makeconfig (test-name): New variable.
16596         (evaluate-test): Likewise.
16597         * Makerules (do-test-clean): Remove .test-result files.
16598         (common-mostlyclean): Likewise.
16599         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16600         * scripts/evaluate-test.sh: New file.
16601
16602 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
16603
16604         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16605         separate $(objpfx)tst-fopenloc-cmp.out and
16606         $(objpfx)tst-fopenloc-mem.out targets.
16607         (tests): Update dependencies.
16608         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16609         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16610         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16611         (tst-rxspencer-no-utf8-ARGS): New variable.
16612         (tst-rxspencer-no-utf8-ENV): Likewise.
16613         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16614         instead of $(objpfx)tst-rxspencer-mem.
16615         ($(objpfx)tst-rxspencer-mem): Change target to
16616         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
16617         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16618         * posix/tst-rxspencer-no-utf8.c: New file.
16619
16620         * elf/Makefile ($(objpfx)order.out): Remove rule.
16621         [$(run-built-tests) = yes] (tests): Depend on
16622         $(objpfx)order-cmp.out.
16623         ($(objpfx)order-cmp.out): New rule.
16624         [$(run-built-tests) = yes] (tests): Depend on
16625         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16626         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16627         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16628         $(objpfx)tst-array5-static-cmp.out.
16629         ($(objpfx)tst-array1.out): Remove rule.
16630         ($(objpfx)tst-array1-cmp.out): New rule.
16631         ($(objpfx)tst-array1-static.out): Remove rule.
16632         ($(objpfx)tst-array1-static-cmp.out): New rule.
16633         ($(objpfx)tst-array2.out): Remove rule.
16634         ($(objpfx)tst-array2-cmp.out): New rule.
16635         ($(objpfx)tst-array3.out): Remove rule.
16636         ($(objpfx)tst-array3-cmp.out): New rule.
16637         ($(objpfx)tst-array4.out): Remove rule.
16638         ($(objpfx)tst-array4-cmp.out): New rule.
16639         ($(objpfx)tst-array5.out): Remove rule.
16640         ($(objpfx)tst-array5-cmp.out): New rule.
16641         ($(objpfx)tst-array5-static.out): Remove rule.
16642         ($(objpfx)tst-array5-static-cmp.out): New rule.
16643         [$(run-built-tests) = yes] (tests): Depend on
16644         $(objpfx)order2-cmp.out.
16645         ($(objpfx)order2.out): Remove rule.
16646         ($(objpfx)order2-cmp.out): New rule.
16647         ($(objpfx)tst-initorder.out): Remove rule.
16648         [$(run-built-tests) = yes] (tests): Depend on
16649         $(objpfx)tst-initorder-cmp.out.
16650         ($(objpfx)tst-initorder-cmp.out): New rule.
16651         ($(objpfx)tst-initorder2.out): Remove rule.
16652         [$(run-built-tests) = yes] (tests): Depend on
16653         $(objpfx)tst-initorder2-cmp.out.
16654         ($(objpfx)tst-initorder2-cmp.out): New rule.
16655         [$(run-built-tests) = yes] (tests): Depend on
16656         $(objpfx)tst-unused-dep-cmp.out.
16657         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16658         ($(objpfx)tst-unused-dep-cmp.out): New rule.
16659         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16660         on $(objpfx)tst-setvbuf1-cmp.out.
16661         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16662         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16663         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16664         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16665         ($(objpfx)tst-svc.out): Remove rule.
16666         ($(objpfx)tst-svc-cmp.out): New rule.
16667
16668 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
16669
16670         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16671         * ctype/ctype.h [__USE_MISC]: Likewise.
16672         * dirent/dirent.h [__USE_MISC]: Likewise.
16673         * grp/grp.h [__USE_MISC]: Likewise.
16674         * io/fcntl.h [__USE_MISC]: Likewise.
16675         * io/sys/stat.h [__USE_MISC]: Likewise.
16676         * libio/stdio.h [__USE_MISC]: Likewise.
16677         * posix/unistd.h [__USE_MISC]: Likewise.
16678         * pwd/pwd.h [__USE_MISC]: Likewise.
16679         * stdlib.h [__USE_MISC]: Likewise.
16680         * string/bits/string2.h [__USE_MISC]: Likewise.
16681         * string/string.h [__USE_MISC]: Likewise.
16682         * time/time.h [__USE_MISC]: Likewise.
16683
16684 2014-02-13  Andreas Schwab  <schwab@suse.de>
16685
16686         [BZ #16574]
16687         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16688         second answer buffer if it was separately allocated.
16689
16690 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
16691
16692         * sysdeps/mips/math-tests.h: Include <features.h>.
16693         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16694         (ROUNDING_TESTS_long_double): Do not define.
16695         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16696         (EXCEPTION_TESTS_long_double): Likewise.
16697         * sysdeps/mips/mips64/libm-test-ulps: Update.
16698
16699         * include/features.h (__USE_BSD): Remove macro definitions.
16700         (__USE_SVID): Likewise.
16701         (_BSD_SOURCE): Likewise.
16702         (_SVID_SOURCE): Likewise.
16703         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16704         from definition of _DEFAULT_SOURCE.
16705         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16706         [_DEFAULT_SOURCE].
16707         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16708         * bits/mman.h [__USE_BSD]: Likewise.
16709         * bits/termios.h [__USE_BSD]: Likewise.
16710         * bits/waitstatus.h [__USE_BSD]: Likewise.
16711         * ctype/ctype.h [__USE_SVID]: Likewise.
16712         * dirent/dirent.h [__USE_BSD]: Likewise.
16713         * grp/grp.h [__USE_SVID]: Likewise.
16714         [__USE_BSD]: Likewise.
16715         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16716         * io/fcntl.h [__USE_BSD]: Likewise.
16717         * io/ftw.h [__USE_BSD]: Likewise.
16718         * io/sys/stat.h [__USE_BSD]: Likewise.
16719         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16720         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16721         * libio/stdio.h [__USE_SVID]: Likewise.
16722         [__USE_BSD]: Likewise.
16723         * math/math.h [__USE_SVID]: Likewise.
16724         [__USE_BSD]: Likewise.
16725         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16726         * misc/bits/syslog.h [__USE_BSD]: Likewise.
16727         * misc/search.h [__USE_SVID]: Likewise.
16728         * misc/sys/mman.h [__USE_BSD]: Likewise.
16729         * misc/sys/syslog.h [__USE_BSD]: Likewise.
16730         * misc/sys/uio.h [__USE_BSD]: Likewise.
16731         * posix/bits/unistd.h [__USE_BSD]: Likewise.
16732         * posix/glob.h [__USE_BSD]: Likewise.
16733         * posix/regex.h [__USE_BSD]: Likewise.
16734         * posix/sys/types.h [__USE_BSD]: Likewise.
16735         [__USE_SVID]: Likewise.
16736         * posix/sys/utsname.h [__USE_SVID]: Likewise.
16737         * posix/sys/wait.h [__USE_BSD]: Likewise.
16738         [__USE_SVID]: Likewise.
16739         * posix/unistd.h [__USE_BSD]: Likewise.
16740         [__USE_SVID]: Likewise.
16741         * pwd/pwd.h [__USE_SVID]: Likewise.
16742         * resolv/netdb.h [__USE_BSD]: Likewise.
16743         * setjmp/setjmp.h [__USE_BSD]: Likewise.
16744         * signal/signal.h [__USE_BSD]: Likewise.
16745         [__USE_SVID]: Likewise.
16746         * socket/sys/socket.h [__USE_BSD]: Likewise.
16747         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16748         * stdlib/stdlib.h [__USE_BSD]: Likewise.
16749         [__USE_SVID]: Likewise.
16750         * string/bits/string2.h [__USE_BSD]: Likewise.
16751         [__USE_SVID]: Likewise.
16752         * string/bits/string3.h [__USE_BSD]: Likewise.
16753         * string/endian.h [__USE_BSD]: Likewise.
16754         * string/string.h [__USE_SVID]: Likewise.
16755         [__USE_BSD]: Likewise.
16756         * string/strings.h [__USE_BSD]: Likewise.
16757         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16758         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16759         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16760         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16761         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16762         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16763         Likewise.
16764         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16765         Likewise.
16766         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16767         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16768         Likewise.
16769         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16770         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16771         Likewise.
16772         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16773         Likewise.
16774         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16775         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16776         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16777         Likewise.
16778         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16779         Likewise.
16780         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16781         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16782         * termios/termios.h [__USE_BSD]: Likewise.
16783         * time/sys/time.h [__USE_BSD]: Likewise.
16784         * time/time.h [__USE_BSD]: Likewise.
16785         [__USE_SVID]: Likewise.
16786
16787         * Makefile (subdir_targets): Remove subdir_lint.out.
16788
16789         * stdio-common/Makefile (do-tst-unbputc): Remove target.
16790         (do-tst-printf): Likewise.
16791         (tests): Depend directly on $(objpfx)tst-unbputc.out and
16792         $(objpfx)tst-printf.out.
16793
16794         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16795
16796         * Makerules (check-abi-%): Change target to
16797         $(objpfx)check-abi-%.out.
16798         (check-abi target): Update dependencies.
16799         (check-abi-pattern variable): Redirect output of diff to $@.
16800         (check-abi variable): Likewise.
16801         * elf/Makefile (check-abi): Update dependencies.
16802
16803         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16804         unused.
16805         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16806         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16807         subnormal range.
16808         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16809         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16810         value has largest subnormal exponent.
16811         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16812         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16813         * sysdeps/aarch64/soft-fp/sfp-machine.h
16814         (_FP_TININESS_AFTER_ROUNDING): New macro.
16815         * sysdeps/alpha/soft-fp/sfp-machine.h
16816         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16817         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16818         Likewise.
16819         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16820         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16821         * sysdeps/mips/soft-fp/sfp-machine.h
16822         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16823         * sysdeps/powerpc/soft-fp/sfp-machine.h
16824         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16825         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16826         Likewise.
16827         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16828         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16829         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16830         (_FP_TININESS_AFTER_ROUNDING): Likewise.
16831         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16832         Likewise.
16833
16834 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
16835
16836         [BZ #16545]
16837         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16838         model 1.
16839
16840 2014-02-12  Richard Henderson  <rth@redhat.com>
16841
16842         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16843         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16844         * sysdeps/unix/sysv/linux/alpha: Move directory from
16845         ports/sysdeps/unix/sysv/linux/alpha.
16846         * README: Update listing for alpha-*-linux-gnu.
16847
16848 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
16849
16850         * include/features.h: Update comment documenting feature test
16851         macros.
16852         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
16853         _DEFAULT_SOURCE.
16854         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16855         (_SVID_SOURCE): Likewise.
16856         (_DEFAULT_SOURCE): Update description of default features.
16857         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16858         with _GNU_SOURCE.
16859         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16860         (S_ISVTX): Likewise.
16861         * manual/math.texi (Mathematical Constants): Likewise.
16862         * manual/signal.texi (Interrupted Primitives): Likewise.
16863         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16864         * math/test-matherr.c (_SVID_SOURCE): Do not define.
16865         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16866         Don't refer to _SVID_SOURCE in warning text.
16867
16868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16869
16870         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16871         already defined.
16872         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16873         * sysdeps/mips/dl-lookup.c: Remove.
16874         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16875
16876 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16877
16878         [BZ #16447]
16879         * math/auto-libm-test-in: Add testcase for expl.
16880         * math/auto-libm-test-out: Regenerate.
16881         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16882         calculation of unsafe.
16883         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16884
16885 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16886
16887         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16888         * sysdeps/unix/sysv/linux/aarch64: Move directory from
16889         ports/sysdeps/unix/sysv/linux/aarch64.
16890         * README: Update listing for aarch64*-*-linux-gnu.
16891
16892 2014-02-11  Will Newton  <will.newton@linaro.org>
16893
16894         * manual/probes.texi (Mathematical Function Probes): Use
16895         "triggered" instead of "hit".
16896
16897         * manual/probes.texi (Internal Probes): Add documentation
16898         of setjmp, longjmp and longjmp_target probes.
16899
16900         * include/stap-probe.h: Add comment about probe argument
16901         format.
16902
16903         * malloc/mtrace.c (attribute_hidden): Remove unused macro
16904         definition.  (tr_where, tr_freehook, tr_mallochook,
16905         tr_reallochook, tr_memalignhook): Use ANSI protoype.
16906
16907 2014-02-11  David S. Miller  <davem@davemloft.net>
16908
16909         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16910         processing int_tests.
16911
16912 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
16913
16914         * sysdeps/mips: Move directory from ports/sysdeps/mips.
16915         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16916         * sysdeps/unix/sysv/linux/mips: Move directory from
16917         ports/sysdeps/unix/sysv/linux/mips.
16918         * README: Update listing for mips-*-linux-gnu and
16919         mips64-*-linux-gnu.
16920
16921 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
16922
16923         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16924         * sysdeps/unix/sysv/linux/m68k: Move directory from
16925         ports/sysdeps/unix/sysv/linux/m68k.
16926         * README: Update listing for m68k-*-linux-gnu.
16927
16928 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
16929
16930         * sysdeps/tile: Move directory from ports/sysdeps/tile.
16931         * sysdeps/unix/sysv/linux/generic: Move directory from
16932         ports/sysdeps/unix/sysv/linux/generic.
16933         * sysdeps/unix/sysv/linux/tile: Move directory from
16934         ports/sysdeps/unix/sysv/linux/tile.
16935         * README: Update listing for tile*-*-linux-gnu.
16936
16937 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
16938
16939         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16940         __builtin_expect.
16941         * benchtests/bench-memmem.c (simple_memmem): Likewise.
16942         * catgets/open_catalog.c (__open_catalog): Likewise.
16943         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16944         * debug/confstr_chk.c: Likewise.
16945         * debug/fread_chk.c (__fread_chk): Likewise.
16946         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16947         * debug/getgroups_chk.c: Likewise.
16948         * debug/mbsnrtowcs_chk.c: Likewise.
16949         * debug/mbsrtowcs_chk.c: Likewise.
16950         * debug/mbstowcs_chk.c: Likewise.
16951         * debug/memcpy_chk.c: Likewise.
16952         * debug/memmove_chk.c: Likewise.
16953         * debug/mempcpy_chk.c: Likewise.
16954         * debug/memset_chk.c: Likewise.
16955         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16956         * debug/strcat_chk.c (__strcat_chk): Likewise.
16957         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16958         * debug/strncat_chk.c (__strncat_chk): Likewise.
16959         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16960         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16961         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16962         * debug/wcpncpy_chk.c: Likewise.
16963         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16964         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16965         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16966         * debug/wcsncpy_chk.c: Likewise.
16967         * debug/wcsnrtombs_chk.c: Likewise.
16968         * debug/wcsrtombs_chk.c: Likewise.
16969         * debug/wcstombs_chk.c: Likewise.
16970         * debug/wmemcpy_chk.c: Likewise.
16971         * debug/wmemmove_chk.c: Likewise.
16972         * debug/wmempcpy_chk.c: Likewise.
16973         * debug/wmemset_chk.c: Likewise.
16974         * dirent/scandirat.c (SCANDIRAT): Likewise.
16975         * dlfcn/dladdr1.c (dladdr1): Likewise.
16976         * dlfcn/dladdr.c (dladdr): Likewise.
16977         * dlfcn/dlclose.c (dlclose_doit): Likewise.
16978         * dlfcn/dlerror.c (__dlerror): Likewise.
16979         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16980         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16981         * dlfcn/dlopen.c (dlopen_doit): Likewise.
16982         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16983         * dlfcn/dlsym.c (dlsym_doit): Likewise.
16984         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16985         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16986         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16987         Likewise.
16988         * elf/dl-conflict.c: Likewise.
16989         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16990         * elf/dl-dst.h: Likewise.
16991         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16992         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16993         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16994         * elf/dl-init.c (call_init, _dl_init): Likewise.
16995         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16996         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16997         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16998         Likewise.
16999         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17000         Likewise.
17001         * elf/dl-minimal.c (__libc_memalign): Likewise.
17002         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17003         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17004         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17005         * elf/dl-sym.c (do_sym): Likewise.
17006         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17007         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17008         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17009         * elf/dl-writev.h (_dl_writev): Likewise.
17010         * elf/ldconfig.c (search_dir): Likewise.
17011         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17012         (dl_main): Likewise.
17013         * elf/setup-vdso.h (setup_vdso): Likewise.
17014         * grp/compat-initgroups.c (compat_call): Likewise.
17015         * grp/fgetgrent.c (fgetgrent): Likewise.
17016         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17017         * grp/putgrent.c (putgrent): Likewise.
17018         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17019         Likewise.
17020         * hurd/hurdinit.c: Likewise.
17021         * iconvdata/8bit-gap.c (struct): Likewise.
17022         * iconvdata/ansi_x3.110.c : Likewise.
17023         * iconvdata/big5.c : Likewise.
17024         * iconvdata/big5hkscs.c : Likewise.
17025         * iconvdata/cp1255.c: Likewise.
17026         * iconvdata/cp1258.c : Likewise.
17027         * iconvdata/cp932.c : Likewise.
17028         * iconvdata/euc-cn.c: Likewise.
17029         * iconvdata/euc-jisx0213.c : Likewise.
17030         * iconvdata/euc-jp.c: Likewise.
17031         * iconvdata/euc-jp-ms.c : Likewise.
17032         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17033         * iconvdata/gb18030.c : Likewise.
17034         * iconvdata/gbbig5.c (const): Likewise.
17035         * iconvdata/gbgbk.c: Likewise.
17036         * iconvdata/gbk.c : Likewise.
17037         * iconvdata/ibm1364.c : Likewise.
17038         * iconvdata/ibm930.c : Likewise.
17039         * iconvdata/ibm932.c: Likewise.
17040         * iconvdata/ibm933.c : Likewise.
17041         * iconvdata/ibm935.c : Likewise.
17042         * iconvdata/ibm937.c : Likewise.
17043         * iconvdata/ibm939.c : Likewise.
17044         * iconvdata/ibm943.c: Likewise.
17045         * iconvdata/iso_11548-1.c: Likewise.
17046         * iconvdata/iso-2022-cn.c : Likewise.
17047         * iconvdata/iso-2022-cn-ext.c : Likewise.
17048         * iconvdata/iso-2022-jp-3.c: Likewise.
17049         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17050         * iconvdata/iso-2022-kr.c : Likewise.
17051         * iconvdata/iso646.c (gconv_end): Likewise.
17052         * iconvdata/iso_6937-2.c : Likewise.
17053         * iconvdata/iso_6937.c : Likewise.
17054         * iconvdata/iso8859-1.c: Likewise.
17055         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17056         * iconvdata/shift_jisx0213.c : Likewise.
17057         * iconvdata/sjis.c : Likewise.
17058         * iconvdata/t.61.c : Likewise.
17059         * iconvdata/tcvn5712-1.c : Likewise.
17060         * iconvdata/tscii.c: Likewise.
17061         * iconvdata/uhc.c : Likewise.
17062         * iconvdata/unicode.c (gconv_end): Likewise.
17063         * iconvdata/utf-16.c (gconv_end): Likewise.
17064         * iconvdata/utf-32.c (gconv_end): Likewise.
17065         * iconvdata/utf-7.c (base64): Likewise.
17066         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17067         * iconv/gconv_close.c (__gconv_close): Likewise.
17068         * iconv/gconv_open.c (__gconv_open): Likewise.
17069         * iconv/gconv_simple.c (internal_ucs4_loop_single)
17070         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17071         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17072         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17073         (ucs4le_internal_loop_single): Likewise.
17074         * iconv/iconv.c (iconv): Likewise.
17075         * iconv/iconv_close.c: Likewise.
17076         * iconv/loop.c (SINGLE): Likewise.
17077         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17078         * include/atomic.h: Likewise.
17079         * inet/inet6_option.c (option_alloc): Likewise.
17080         * intl/bindtextdom.c (set_binding_values): Likewise.
17081         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17082         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17083         * intl/localealias.c (read_alias_file): Likewise.
17084         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17085         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17086         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17087         * libio/fmemopen.c (fmemopen): Likewise.
17088         * libio/iofgets.c (_IO_fgets): Likewise.
17089         * libio/iofgets_u.c (fgets_unlocked): Likewise.
17090         * libio/iofgetws.c (fgetws): Likewise.
17091         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17092         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17093         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17094         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17095         * locale/findlocale.c (_nl_find_locale): Likewise.
17096         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17097         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17098         Likewise.
17099         * locale/setlocale.c (setlocale): Likewise.
17100         * login/programs/pt_chown.c (main): Likewise.
17101         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17102         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17103         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17104         (mmap, mmap64, mremap, munmap): Likewise.
17105         * math/e_exp2l.c: Likewise.
17106         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17107         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17108         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17109         * math/s_catan.c (__catan): Likewise.
17110         * math/s_catanf.c (__catanf): Likewise.
17111         * math/s_catanh.c (__catanh): Likewise.
17112         * math/s_catanhf.c (__catanhf): Likewise.
17113         * math/s_catanhl.c (__catanhl): Likewise.
17114         * math/s_catanl.c (__catanl): Likewise.
17115         * math/s_ccosh.c (__ccosh): Likewise.
17116         * math/s_ccoshf.c (__ccoshf): Likewise.
17117         * math/s_ccoshl.c (__ccoshl): Likewise.
17118         * math/s_cexp.c (__cexp): Likewise.
17119         * math/s_cexpf.c (__cexpf): Likewise.
17120         * math/s_cexpl.c (__cexpl): Likewise.
17121         * math/s_clog10.c (__clog10): Likewise.
17122         * math/s_clog10f.c (__clog10f): Likewise.
17123         * math/s_clog10l.c (__clog10l): Likewise.
17124         * math/s_clog.c (__clog): Likewise.
17125         * math/s_clogf.c (__clogf): Likewise.
17126         * math/s_clogl.c (__clogl): Likewise.
17127         * math/s_csin.c (__csin): Likewise.
17128         * math/s_csinf.c (__csinf): Likewise.
17129         * math/s_csinh.c (__csinh): Likewise.
17130         * math/s_csinhf.c (__csinhf): Likewise.
17131         * math/s_csinhl.c (__csinhl): Likewise.
17132         * math/s_csinl.c (__csinl): Likewise.
17133         * math/s_csqrt.c (__csqrt): Likewise.
17134         * math/s_csqrtf.c (__csqrtf): Likewise.
17135         * math/s_csqrtl.c (__csqrtl): Likewise.
17136         * math/s_ctan.c (__ctan): Likewise.
17137         * math/s_ctanf.c (__ctanf): Likewise.
17138         * math/s_ctanh.c (__ctanh): Likewise.
17139         * math/s_ctanhf.c (__ctanhf): Likewise.
17140         * math/s_ctanhl.c (__ctanhl): Likewise.
17141         * math/s_ctanl.c (__ctanl): Likewise.
17142         * math/w_pow.c: Likewise.
17143         * math/w_powf.c: Likewise.
17144         * math/w_powl.c: Likewise.
17145         * math/w_scalb.c (sysv_scalb): Likewise.
17146         * math/w_scalbf.c (sysv_scalbf): Likewise.
17147         * math/w_scalbl.c (sysv_scalbl): Likewise.
17148         * misc/error.c (error_tail): Likewise.
17149         * misc/pselect.c (__pselect): Likewise.
17150         * nis/nis_callback.c (__nis_create_callback): Likewise.
17151         * nis/nis_call.c (__nisfind_server): Likewise.
17152         * nis/nis_creategroup.c (nis_creategroup): Likewise.
17153         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17154         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17155         * nis/nis_getservlist.c (nis_getservlist): Likewise.
17156         * nis/nis_lookup.c (nis_lookup): Likewise.
17157         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17158         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17159         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17160         * nis/nis_xdr.c (xdr_endpoint): Likewise.
17161         * nis/nss_compat/compat-grp.c (getgrent_next_file)
17162         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17163         * nis/nss_compat/compat-initgroups.c (add_group)
17164         (internal_getgrent_r): Likewise.
17165         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17166         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17167         * nis/nss_compat/compat-spwd.c (getspent_next_file)
17168         (internal_getspnam_r): Likewise.
17169         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17170         (_nss_nis_getaliasbyname_r): Likewise.
17171         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17172         (_nss_nis_getntohost_r): Likewise.
17173         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17174         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17175         (_nss_nis_getgrgid_r): Likewise.
17176         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17177         (internal_nis_gethostent_r, internal_gethostbyname2_r)
17178         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17179         (_nss_nis_gethostbyname4_r): Likewise.
17180         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17181         (initgroups_netid): Likewise.
17182         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17183         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17184         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17185         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17186         (_nss_nis_getprotobynumber_r): Likewise.
17187         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17188         (_nss_nis_getsecretkey): Likewise.
17189         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17190         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17191         (_nss_nis_getpwuid_r): Likewise.
17192         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17193         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17194         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17195         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17196         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17197         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17198         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17199         Likewise.
17200         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17201         (_nss_nisplus_getntohost_r): Likewise.
17202         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17203         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17204         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17205         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17206         Likewise.
17207         * nis/nss_nisplus/nisplus-initgroups.c
17208         (_nss_nisplus_initgroups_dyn): Likewise.
17209         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17210         (_nss_nisplus_getnetbyaddr_r): Likewise.
17211         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17212         (_nss_nisplus_getprotobynumber_r): Likewise.
17213         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17214         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17215         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17216         Likewise.
17217         * nis/nss_nisplus/nisplus-service.c
17218         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17219         (_nss_nisplus_getservbyport_r): Likewise.
17220         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17221         (_nss_nisplus_getspnam_r): Likewise.
17222         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17223         Likewise.
17224         * nscd/aicache.c (addhstaiX): Likewise.
17225         * nscd/cache.c (cache_search, prune_cache): Likewise.
17226         * nscd/connections.c (register_traced_file, send_ro_fd)
17227         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17228         (main_loop_epoll): Likewise.
17229         * nscd/grpcache.c (addgrbyX): Likewise.
17230         * nscd/hstcache.c (addhstbyX): Likewise.
17231         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17232         * nscd/mem.c (gc, mempool_alloc): Likewise.
17233         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17234         (addinnetgrX): Likewise.
17235         * nscd/nscd-client.h (__nscd_acquire_maplock)
17236         (__nscd_drop_map_ref): Likewise.
17237         * nscd/nscd_getai.c (__nscd_getai): Likewise.
17238         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17239         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17240         Likewise.
17241         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17242         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17243         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17244         (__nscd_get_map_ref): Likewise.
17245         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17246         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17247         Likewise.
17248         * nscd/pwdcache.c (addpwbyX): Likewise.
17249         * nscd/selinux.c (preserve_capabilities): Likewise.
17250         * nscd/servicescache.c (addservbyX): Likewise.
17251         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17252         * posix/fnmatch.c (fnmatch): Likewise.
17253         * posix/getopt.c (_getopt_internal_r): Likewise.
17254         * posix/glob.c (glob, glob_in_dir): Likewise.
17255         * posix/wordexp.c (exec_comm_child): Likewise.
17256         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17257         (getanswer_r, gaih_getanswer_slice): Likewise.
17258         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17259         * resolv/res_init.c: Likewise.
17260         * resolv/res_mkquery.c (res_nmkquery): Likewise.
17261         * resolv/res_query.c (__libc_res_nquery): Likewise.
17262         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17263         Likewise.
17264         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17265         * stdio-common/perror.c (perror): Likewise.
17266         * stdio-common/printf_fp.c (___printf_fp): Likewise.
17267         * stdio-common/tmpnam.c (tmpnam): Likewise.
17268         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17269         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17270         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17271         Likewise.
17272         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17273         * stdlib/putenv.c (putenv): Likewise.
17274         * stdlib/setenv.c (__add_to_environ): Likewise.
17275         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17276         * stdlib/strtol_l.c (INTERNAL): Likewise.
17277         * string/memmem.c (memmem): Likewise.
17278         * string/strerror.c (strerror): Likewise.
17279         * string/strnlen.c (__strnlen): Likewise.
17280         * string/test-memmem.c (simple_memmem): Likewise.
17281         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17282         * sunrpc/pm_getport.c (__get_socket): Likewise.
17283         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17284         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17285         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17286         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17287         Likewise.
17288         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17289         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17290         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17291         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17292         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17293         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17294         Likewise.
17295         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17296         Likewise.
17297         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17298         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17299         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17300         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17301         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17302         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17303         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17304         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17305         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17306         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17307         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17308         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17309         Likewise.
17310         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17311         Likewise.
17312         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17313         Likewise.
17314         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17315         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17316         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17317         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17318         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17319         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17320         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17321         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17322         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17323         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17324         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17325         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17326         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17327         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17328         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17329         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17330         Likewise.
17331         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17332         Likewise.
17333         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17334         Likewise.
17335         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17336         Likewise.
17337         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17338         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17339         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17340         Likewise.
17341         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17342         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17343         * sysdeps/posix/opendir.c (__opendirat): Likewise.
17344         * sysdeps/posix/sleep.c: Likewise.
17345         * sysdeps/posix/tempname.c: Likewise.
17346         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17347         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17348         Likewise.
17349         * sysdeps/powerpc/powerpc32/dl-machine.h
17350         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17351         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17352         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17353         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17354         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17355         Likewise.
17356         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17357         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17358         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17359         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17360         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17361         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17362         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17363         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17364         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17365         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17366         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17367         (elf_machine_lazy_rel): Likewise.
17368         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17369         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17370         (elf_machine_lazy_rel): Likewise.
17371         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17372         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17373         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17374         * sysdeps/unix/grantpt.c (grantpt): Likewise.
17375         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17376         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17377         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17378         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17379         Likewise.
17380         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17381         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17382         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17383         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17384         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17385         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17386         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17387         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17388         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17389         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17390         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17391         Likewise.
17392         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17393         (__posix_fallocate64_l64): Likewise.
17394         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17395         (posix_fallocate): Likewise.
17396         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17397         Likewise.
17398         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17399         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17400         (getifaddrs_internal): Likewise.
17401         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17402         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17403         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17404         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17405         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17406         (__posix_fallocate64_l64): Likewise.
17407         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17408         Likewise.
17409         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17410         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17411         (__get_clockfreq): Likewise.
17412         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17413         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17414         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17415         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17416         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17417         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17418         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17419         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17420         Likewise.
17421         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17422         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17423         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17424         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17425         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17426         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17427         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17428         Likewise.
17429         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17430         (posix_fallocate): Likewise.
17431         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17432         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17433         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17434         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17435         (elf_machine_rela, elf_machine_rela_relative)
17436         (elf_machine_lazy_rel): Likewise.
17437         * time/asctime.c (asctime_internal): Likewise.
17438         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17439         * time/tzset.c (__tzset_parse_tz): Likewise.
17440         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17441         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17442         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17443         * wcsmbs/wcsmbsload.h: Likewise.
17444
17445         [BZ #15894]
17446         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17447
17448         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17449         (arena_get2): Remove THREAD_STATS conditionals.
17450         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17451         (__malloc_stats, int): Likewise.
17452
17453 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
17454
17455         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17456         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
17457
17458         * manual/setjmp.texi: Fix typos/grammar errors.
17459
17460         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17461         Only return early when n is <= 0.  Delete unused return statement.
17462
17463         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17464         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17465         * debug/tst-longjmp_chk3.c: New file.
17466
17467         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17468         (test_main): Replace code with set_fortify_handler call.
17469         * debug/test-strcpy_chk.c: Likewise.
17470         * debug/tst-chk1.c: Likewise.
17471         * debug/tst-longjmp_chk.c: Likewise.
17472         * test-skeleton.c: Include fcntl.h & paths.h
17473         (set_fortify_handler): Define.
17474
17475         * debug/tst-longjmp_chk.c: Add header comment and include
17476         ../test-skeleton.c.
17477         (do_test): Mark static.
17478         (TEST_FUNCTION): Define.
17479
17480         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17481         (IP_PMTUDISC_INTERFACE): Likewise.
17482         (IP_MULTICAST_IF): Likewise.
17483         (IP_MULTICAST_TTL): Likewise.
17484         (IP_MULTICAST_LOOP): Likewise.
17485         (IP_ADD_MEMBERSHIP): Likewise.
17486         (IP_DROP_MEMBERSHIP): Likewise.
17487         (IP_UNBLOCK_SOURCE): Likewise.
17488         (IP_BLOCK_SOURCE): Likewise.
17489         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17490         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17491         (IP_MSFILTER): Likewise.
17492         (MCAST_JOIN_GROUP): Likewise.
17493         (MCAST_BLOCK_SOURCE): Likewise.
17494         (MCAST_UNBLOCK_SOURCE): Likewise.
17495         (MCAST_LEAVE_GROUP): Likewise.
17496         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17497         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17498         (MCAST_MSFILTER): Likewise.
17499         (IP_MULTICAST_ALL): Likewise.
17500         (IP_UNICAST_IF): Likewise.
17501
17502         * timezone/Makefile: Delete $(have-ksh) check.
17503         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17504         * timezone/tzselect.ksh: Add +x mode bits.
17505
17506         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17507         (ANON_INODE_FS_MAGIC): Likewise.
17508         (BDEVFS_MAGIC): Likewise.
17509         (BINFMTFS_MAGIC): Likewise.
17510         (BTRFS_TEST_MAGIC): Likewise.
17511         (CRAMFS_MAGIC_WEND): Likewise.
17512         (DEBUGFS_MAGIC): Likewise.
17513         (ECRYPTFS_SUPER_MAGIC): Likewise.
17514         (EXT3_SUPER_MAGIC): Likewise.
17515         (EXT4_SUPER_MAGIC): Likewise.
17516         (FUTEXFS_SUPER_MAGIC): Likewise.
17517         (HOSTFS_SUPER_MAGIC): Likewise.
17518         (HUGETLBFS_MAGIC): Likewise.
17519         (MINIX3_SUPER_MAGIC): Likewise.
17520         (MTD_INODE_FS_MAGIC): Likewise.
17521         (NILFS_SUPER_MAGIC): Likewise.
17522         (OPENPROM_SUPER_MAGIC): Likewise.
17523         (PIPEFS_MAGIC): Likewise.
17524         (PSTOREFS_MAGIC): Likewise.
17525         (QNX6_SUPER_MAGIC): Likewise.
17526         (RAMFS_MAGIC): Likewise.
17527         (REISERFS_SUPER_MAGIC_STRING): Likewise.
17528         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17529         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17530         (SECURITYFS_MAGIC): Likewise.
17531         (SELINUX_MAGIC): Likewise.
17532         (SMACK_MAGIC): Likewise.
17533         (SOCKFS_MAGIC): Likewise.
17534         (SQUASHFS_MAGIC): Likewise.
17535         (STACK_END_MAGIC): Likewise.
17536         (TMPFS_MAGIC): Likewise.
17537         (USBDEVICE_SUPER_MAGIC): Likewise.
17538         (V9FS_MAGIC): Likewise.
17539         (XENFS_SUPER_MAGIC): Likewise.
17540         (CRAMFS_MAGIC): Fix typo in comment.
17541         (EXT2_SUPER_MAGIC): Update comment.
17542         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17543
17544 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
17545
17546         * sysdeps/arm: Move directory from ports/sysdeps/arm.
17547         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17548         * sysdeps/unix/sysv/linux/arm: Move directory from
17549         ports/sysdeps/unix/sysv/linux/arm.
17550         * README: Update listing for arm-*-linux-gnueabi.
17551
17552         * README: Remove mention of am33.
17553
17554 2014-02-07  Roland McGrath  <roland@hack.frob.com>
17555
17556         * bits/sigset.h (__sigemptyset): Use a statement expression rather
17557         than the comma operator, to avoid "rhs of comma has no effect"
17558         compiler warnings.
17559         (__sigfillset, __sigandset, __sigorset): Likewise.
17560         * include/signal.h (__sigemptyset): Likewise.
17561         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17562
17563 2014-02-07  Allan McRae  <allan@archlinux.org>
17564
17565         * version.h (RELEASE): Set to "development".
17566         (VERSION): Set to "2.19.90"
17567         * NEWS: Add 2.20 section.
17568
17569 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
17570
17571         [BZ #16529]
17572         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17573
17574 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17575
17576         * manual/contrib.texi: Update entry for Carlos O'Donell,
17577         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17578
17579 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
17580
17581         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17582
17583         * sysdeps/unix/sysv/linux/kernel-features.h
17584         [__LINUX_KERNEL_VERSION >= 0x020621]
17585         (__ASSUME_PROC_PID_TASK_COMM): Define.
17586
17587 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17588
17589         [BZ #16398]
17590         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17591         conversion when destination buffer does not have enough space.
17592         * libio/tst-ftell-partial-wide.c: New test case.
17593         * libio/Makefile (tests): Add tst-ftell-partial-wide.
17594
17595         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17596         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
17597         Leonard and Allan McRae.
17598
17599 2014-02-04  David S. Miller  <davem@davemloft.net>
17600
17601         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17602         32-bit.
17603
17604 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17605
17606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17607         New file
17608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17609         New file
17610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17611         New file.
17612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17613         New file.
17614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17615         New file.
17616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17617         New file.
17618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17619         New file.
17620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17621         New file.
17622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17623         New file.
17624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17625         New file.
17626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17627         New file.
17628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17629         New file.
17630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17631         New file.
17632
17633 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17634
17635         * nptl/shlib-versions: Change powerpc*le start to 2.17.
17636         * shlib-versions: Likewise.
17637
17638 2014-02-04  Roland McGrath  <roland@hack.frob.com>
17639             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17640
17641         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17642         (abilist-pattern): New variable, set to %-le.abilist.
17643
17644         * Makerules (abilist-pattern): New variable.
17645         (vpath): Use $(abilist-pattern) in place of %.abilist.
17646         (check-abi-% pattern rule): Likewise.
17647         (check-abi, update-abi): Likewise.
17648
17649 2014-02-04  Eric Wong  <normalperson@yhbt.net>
17650
17651         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17652
17653 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
17654
17655         * manual/startup.texi: Add next, previous, and top entries for
17656         the `Program Arguments' and `Environment Variables' nodes.
17657
17658 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
17659
17660         * manual/macros.texi: Add comments before MTASC-safety macros.
17661
17662         * manual/users.texi: Document MTASC-safety properties.
17663
17664         * manual/threads.texi (pthread_key_create, pthread_key_delete)
17665         (pthread_getspecific, pthread_setspecific): Format with
17666         @deftypefun, and add @safety note.
17667         * manual/signal.texi: Move comments that analyze the above
17668         functions to their home place.
17669
17670 2014-02-03  Allan McRae  <allan@archlinux.org>
17671
17672         * po/sl.po: Update Slovenian translation from translation project.
17673
17674 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
17675
17676         * manual/time.texi (timegm): Add missing blank after @c.
17677         Reported by Joseph Myers <joseph@codesourcery.com>.
17678
17679 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
17680
17681         * manual/check-safety.sh: New.
17682         * manual/Makefile ($(objpfx)stamp-summary): Run it.
17683
17684         * manual/terminal.texi: Document MTASC-safety properties.
17685
17686         * manual/filesys.texi: Document MTASC-safety properties.
17687
17688         * manual/errno.texi: Document MTASC-safety properties.
17689
17690         * manual/intro.texi: Document safety identifiers and
17691         conditionals.
17692
17693         * manual/string.texi (wcstok): Fix prototype.
17694         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17695
17696         * manual/time.texi: Document MTASC-safety properties.
17697
17698         * manual/string.texi: Document MTASC-safety properties.
17699
17700         * manual/threads.texi: Document MTASC-safety properties.
17701
17702         * manual/stdio.texi: Document MTASC-safety properties.
17703
17704         * manual/syslog.texi: Document MTASC-safety properties.
17705
17706         * manual/sysinfo.texi: Document MTASC-safety properties.
17707
17708         * manual/startup.texi: Document MTASC-safety properties.
17709
17710         * manual/socket.texi: Document MTASC-safety properties.
17711
17712         * manual/signal.texi: Document MTASC-safety properties.
17713
17714 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
17715
17716         * manual/setjmp.texi: Document MTASC-safety properties.
17717
17718         * manual/search.texi: Document MTASC-safety properties.
17719
17720         * manual/resource.texi: Document MTASC-safety properties.
17721
17722         * manual/process.texi: Document MTASC-safety properties.
17723
17724         * manual/platform.texi: Document MTASC-safety properties.
17725
17726         * manual/pipe.texi: Document MTASC-safety properties.
17727
17728         * manual/pattern.texi: Document MTASC-safety properties.
17729
17730         * manual/message.texi: Document MTASC-safety properties.
17731
17732         [BZ #12751]
17733         * manual/memory.texi: Document MTASC-safety properties.
17734
17735         * manual/math.texi: Document MTASC-safety properties.
17736
17737         * manual/locale.texi: Document MTASC-safety properties.
17738
17739         * manual/llio.texi: Document MTASC-safety properties.
17740
17741         * manual/libdl.texi: New.
17742
17743         * manual/lang.texi: Document MTASC-safety properties.
17744
17745         * manual/job.texi: Document MTASC-safety properties.
17746
17747         * manual/getopt.texi: Document MTASC-safety properties.
17748
17749         * manual/ctype.texi: Document MTASC-safety properties.
17750
17751 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
17752
17753         [BZ #16046]
17754         * csu/libc-tls.c (static_map): Remove variable.
17755         (__libc_setup_tls): Use main executable's link map for TLS data.
17756         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17757         casing for LM_ID_BASE and GL(dl_nns).
17758         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17759         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
17760         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17761         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17762         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17763         member.
17764         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17765         l_phnum members.
17766
17767 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
17768
17769         * manual/debug.texi: Document MTASC-safety properties.
17770
17771 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
17772
17773         [BZ #16510]
17774         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17775         of __x86_64__ when disabling x87 inline functions.
17776
17777 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
17778
17779         * manual/charset.texi: Document MTASC-safety properties.
17780
17781         * manual/crypt.texi: Document MTASC-safety properties.
17782
17783         * manual/conf.texi: Document MTASC-safety properties.
17784
17785         * manual/arith.texi: Document MTASC-safety properties.
17786
17787         * manual/argp.texi: Document MTASC-safety properties.
17788
17789         * manual/macros.texi: Introduce macros to document multi
17790         thread, asynchronous signal and asynchronous cancellation
17791         safety properties.
17792         * manual/intro.texi: Introduce the properties themselves.
17793
17794 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17795
17796         * sysdeps/sh/sh4/Makefile: New file.
17797
17798 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
17799
17800         * math/gen-libm-test.pl ($srcdir): New variable.
17801         ($auto_input): Use it.
17802
17803 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17804
17805         [BZ #16506]
17806         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17807         access beyond array bounds when parsing netgroups file.
17808
17809         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17810         the old buffer before realloc.
17811
17812 2014-01-27  Allan McRae  <allan@archlinux.org>
17813
17814         * po/fr.po: Update French translation from translation project.
17815
17816 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17817
17818         * sysdeps/sh/libm-test-ulps: Regenerate.
17819
17820 2014-01-24  David S. Miller  <davem@davemloft.net>
17821
17822         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17823
17824 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17825
17826         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17827         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17828
17829 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17830
17831         [BZ #16474]
17832         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17833         string pointers after reallocation.
17834
17835 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17836
17837         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17838         __SH4A__ instead of __SH_FPU_ANY__.
17839
17840 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17841
17842         * sysdeps/sh/fpu_control.h: New file.
17843         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17844         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17845         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17846         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17847         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17848         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17849         * sysdeps/sh/sys/ucontext.h: Remove.
17850         * sysdeps/sh/sys: Remove directory.
17851
17852 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17853
17854         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17855         s390/sys/ucontext.h.
17856         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17857         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17858
17859 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
17860
17861         [BZ #15605]
17862         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17863
17864 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17865
17866         [BZ#16431]
17867         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17868         Adjust the vDSO correctly for internal calls.
17869         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17870
17871 2014-01-20  Allan McRae  <allan@archlinux.org>
17872
17873         * po/ca.po: Update Catalan translation from translation project.
17874
17875 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
17876
17877         * sysdeps/s390/sotruss-lib.c: New file.
17878
17879 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17880
17881         [BZ#16430]
17882         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17883         (__GI___gettimeofday): Alias for a different internal symbol to avoid
17884         local calls issues by not having a PLT stub required for IFUNC calls.
17885         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17886
17887 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
17888
17889         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17890         * math/test-fpucw-static.c: Likewise.
17891
17892 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17893
17894         [BZ #16453]
17895         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17896
17897 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17898
17899         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17900         implementation for powerpc.
17901
17902 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
17903
17904         [BZ #14782]
17905         * sysdeps/posix/system.c (__libc_system): Do not enable
17906         asynchronous cancellation.
17907
17908 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17909
17910         [BZ #16427]
17911         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17912         handling only for numbers special also in the IEEE case.
17913
17914 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17915
17916         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17917
17918 2014-01-11  Allan McRae  <allan@archlinux.org>
17919
17920         * po/bg.po: Update Bulgarian translation from translation project.
17921
17922         * po/de.po: Update German translation from translation project.
17923
17924 2014-01-10  Roland McGrath  <roland@hack.frob.com>
17925
17926         * sysdeps/generic/gcc-compat.h: New file.
17927
17928 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17929
17930         * benchtests/asin-inputs: Correct slow inputs.
17931         * benchtests/acos-inputs: Likewise.
17932
17933 2014-01-10  Allan McRae  <allan@archlinux.org>
17934
17935         * po:sv.po: Update Swedish translation from translation project.
17936
17937         * po/vi.po: Update Vietnamese translation from translation project.
17938
17939         * po/eo.po: Update Esperanto translation from translation project.
17940
17941         * po/cs.po: Update Czech translation from translation project.
17942
17943         * po/nl.po: Update Dutch translation from translation project.
17944
17945         * po/pl.po: Update Polish translation from translation project.
17946
17947         * po/ru.po: Update Russian translation from translation project.
17948
17949         * po/uk.po: Update Ukrainian translation from translation project.
17950
17951 2014-01-08  Brooks Moses  <bmoses@google.com>
17952
17953         * elf/dl-load.c: Fix comment typo.
17954
17955 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
17956
17957         * po/header.pot: Rename to...
17958         * po/pot.header: ... this.
17959         * po/Makefile: Use pot.header.
17960
17961 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
17962             Maxim Kuvyrkov  <maxim@kugelworks.com>
17963
17964         [BZ #16394]
17965         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17966         SRC and DEST against LEN.
17967
17968 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17969
17970         [BZ #16414]
17971         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17972         implementation.
17973         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17974
17975 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17976
17977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17978
17979 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
17980
17981         [BZ #16408]
17982         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17983         for large positive arguments.
17984
17985 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
17986
17987         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17988
17989         * math/auto-libm-test-in: Mark various tests with
17990         xfail-rounding:ldbl-128ibm.
17991         * math/auto-libm-test-out: Regenerated.
17992
17993         [BZ #16407]
17994         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17995         Increase overflow threshold.
17996
17997 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
17998
17999         [BZ #14286]
18000         * stdio-common/vfprintf.c: Check for integer overflow.
18001
18002 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18003
18004         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18005         the first argument and return value of __tls_get_addr_internal.
18006
18007 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18008
18009         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18010         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18011
18012 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18013
18014         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18015         * sysdeps/s390/rtld-global-offsets.sym: New file.
18016         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18017         GLIBC_2.19 symbol.
18018         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18019         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18020         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18021         ... this.
18022         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18023         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18024         ... this.
18025         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18026         Regenerate.
18027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18028         Regenerate.
18029         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18030         halfs of GPRs for high_gprs contexts.
18031         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18032         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
18033         field.
18034         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18035         uc_flags field.
18036         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18037         64 bit versions:
18038         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18039         for high GPRs (uc_high_gprs) and for future extensions
18040         (__reserved).
18041         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18042         for future extensions (__reserved).
18043         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18044         64 bit versions:
18045         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18046         SC_HIGHGPRS offset definition.
18047         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18048         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18049
18050         * Versions.def: Add GLIBC_2.19 for libpthread.
18051         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18052         siglongjmp for libpthread with GLIBC_2.19 symver.
18053         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18054         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18055         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18056         * sysdeps/s390/__longjmp.c: New file.
18057         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18058         * sysdeps/s390/longjmp.c: New file.
18059         * sysdeps/s390/setjmp.S: New file.
18060         * sysdeps/s390/sigjmp.S: New file.
18061         * sysdeps/s390/v1-longjmp.c: New file.
18062         * sysdeps/s390/v1-setjmp.h: New file.
18063         * sysdeps/s390/v1-sigjmp.c: New file.
18064         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18065         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18066         GLIBC_2.19 version.
18067         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18068         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18069         versioned symbols for ____longjmp_chk.
18070         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18071         Likewise.
18072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18073         Regenerate.
18074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18075         Regenerate.
18076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18077         Regenerate.
18078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18079         Regenerate.
18080         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18081         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18082         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18083         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18084         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18085         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18086         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18087         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18088         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18089         * sysdeps/s390/rtld-__longjmp.c: New file.
18090         * sysdeps/s390/rtld-setjmp.S: New file.
18091
18092 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
18093
18094         [BZ #16400]
18095         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18096         Return -__logl (x) for small positive arguments without evaluating
18097         a polynomial.
18098
18099 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
18100
18101         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18102         Rename to ...
18103         (__ptrace_peeksiginfo_args): ... this.
18104         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18105         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18106         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18107
18108 2014-01-06  Allan McRae  <allan@archlinux.org>
18109
18110         * inet/netinet/in.h: Fix typo in comment.
18111
18112 2014-01-05  Andreas Jaeger  <aj@suse.de>
18113
18114         * sysdeps/i386/fpu/libm-test-ulps: Update.
18115
18116 2014-01-05  Allan McRae  <allan@archlinux.org>
18117
18118         * po/libc.pot: Regenerated.
18119
18120         * malloc/memusagestat.c: Fix gettext call formatting.
18121
18122 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
18123
18124         * nscd/nscd.c: Improve usage() output.
18125
18126 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
18127
18128         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18129         * sysdeps/unix/sysv/linux/configure: Regenerated.
18130         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18131         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18132
18133 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18134
18135         [BZ #16390]
18136         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18137         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18138
18139 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18140
18141         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18142         extra tokens at end of #undef directive.
18143         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18144         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18145         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18146
18147 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18148
18149         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18150
18151         * math/auto-libm-test-in: Mark various tests with
18152         xfail-rounding:ldbl-128ibm.
18153         * math/auto-libm-test-out: Regenerated.
18154
18155 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
18156
18157         [BZ #16386]
18158         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18159         numbers with subnormal high part when calculating exponent.
18160
18161         [BZ #16385]
18162         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18163         fabs.
18164
18165         [BZ #16384]
18166         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18167         M_LN2l.
18168         (__ieee754_acoshl): Use __log1pl not __log1p.
18169
18170 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
18171
18172         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18173         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18174         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18175         (grow_heap, heap_trim, _int_new_arena, get_free_list)
18176         (reused_arena, arena_get2): Convert to GNU style.
18177         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18178         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18179         (memalign_check, __malloc_set_state): Likewise.
18180         * malloc/mallocbug.c (main): Likewise.
18181         * malloc/malloc.c (__malloc_assert, malloc_init_state)
18182         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18183         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18184         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18185         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18186         (__posix_memalign, malloc_info): Likewise.
18187         * malloc/malloc.h: Likewise.
18188         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18189         (mallochook, memalignhook, reallochook, mabort): Likewise.
18190         * malloc/mcheck.h: Likewise.
18191         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18192         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18193         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18194         * malloc/morecore.c (__default_morecore): Likewise.
18195         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18196         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18197         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18198         (print_and_abort): Likewise.
18199         * malloc/obstack.h: Likewise.
18200         * malloc/set-freeres.c (__libc_freeres): Likewise.
18201         * malloc/tst-mallocstate.c (main): Likewise.
18202         * malloc/tst-mtrace.c (main): Likewise.
18203         * malloc/tst-realloc.c (do_test): Likewise.
18204
18205 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18206
18207         [BZ #16366]
18208         * nscd/netgroupcache.c (do_notfound): New function.
18209         (addgetnetgrentX): Use it.
18210
18211         [BZ # 16365]
18212         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18213         NSS_STATUS_NOTFOUND.
18214
18215 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
18216
18217         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18219
18220 2014-01-01  Allan McRae  <allan@archlinux.org>
18221
18222         * scripts/update-copyrights: Update configure input file suffix.
18223
18224         * NEWS: Update copyright year.
18225         * catgets/gencat.c: Likewise.
18226         * csu/version.c: Likewise.
18227         * debug/catchsegv.sh: Likewise.
18228         * debug/pcprofiledump.c: Likewise.
18229         * debug/xtrace.sh: Likewise.
18230         * elf/ldconfig.c: Likewise.
18231         * elf/ldd.bash.in: Likewise.
18232         * elf/pldd.c: Likewise.
18233         * elf/sotruss.ksh: Likewise.
18234         * elf/sprof.c: Likewise.
18235         * iconv/iconv_prog.c: Likewise.
18236         * iconv/iconvconfig.c: Likewise.
18237         * locale/programs/locale.c: Likewise.
18238         * locale/programs/localedef.c: Likewise.
18239         * login/programs/pt_chown.c: Likewise.
18240         * malloc/memusage.sh: Likewise.
18241         * malloc/memusagestat.c: Likewise.
18242         * malloc/mtrace.pl: Likewise.
18243         * manual/libc.texinfo: Likewise.
18244         * nscd/nscd.c: Likewise.
18245         * nss/getent.c: Likewise.
18246         * nss/makedb.c: Likewise.
18247         * posix/getconf.c: Likewise.
18248         * scripts/test-installation.pl: Likewise.
18249
18250         * All files with FSF copyright notices: Update copyright dates
18251         using scripts/update-copyrights.
18252         * intl/plural.c: Regenerated.
18253         * locale/programs/charmap-kw.h: Likewise.
18254         * locale/programs/locfile-kw.h: Likewise.
18255
18256 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
18257
18258         * sysdeps/unix/sysv/linux/configure: Regenerated.
18259         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18260         the linux/fanotify.h header.
18261         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18262         HAVE_LINUX_FANOTIFY_H is defined.
18263
18264 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18265
18266         * benchtests/cos-inputs: New inputs.
18267         * benchtests/sin-inputs: Likewise.
18268
18269         * benchtests/atan-inputs: New inputs. Fix name of multiple
18270         precision fallback inputs.
18271
18272         * benchtests/atanh-inputs: New inputs.
18273         * benchtests/tanh-inputs: Likewise.
18274
18275         * benchtests/acosh-inputs: New inputs.
18276         * benchtests/asinh-inputs: Likewise.
18277
18278         * benchtests/cosh-inputs: New inputs.
18279         * benchtests/sinh-inputs: Likewise.
18280
18281         * benchtests/acos-inputs: Add more inputs.
18282         * benchtests/asin-inputs: Likewise.
18283
18284 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
18285
18286         [BZ #16375]
18287         * manual/arith.texi: Fix spelling.
18288         * manual/charset.texi: Likewise.
18289         * manual/errno.texi: Likewise.
18290         * manual/filesys.texi: Likewise.
18291         * manual/lang.texi: Likewise.
18292         * manual/llio.texi: Likewise.
18293         * manual/locale.texi: Likewise.
18294         * manual/message.texi: Likewise.
18295         * manual/resource.texi: Likewise.
18296         * manual/search.texi: Likewise.
18297         * manual/setjmp.texi: Likewise.
18298         * manual/stdio.texi: Likewise.
18299         * manual/string.texi: Likewise.
18300         * manual/sysinfo.texi: Likewise.
18301         * manual/time.texi: Likewise.
18302
18303 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
18304
18305         * po/sl.po: New file.
18306
18307 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
18308
18309         * .gitignore: Add core/.gdbinit/.gdb_history.
18310
18311 2013-12-27  Allan McRae  <allan@archlinux.org>
18312
18313         [BZ #16369]
18314         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18315         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18316
18317 2013-12-24  Brooks Moses  <bmoses@google.com>
18318
18319         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18320         all compilers that claim C++98 compliance, not just GCC.
18321         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18322         Likewise.
18323
18324 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18325
18326         * NEWS: Restore accidentally deleted bug-fix entries.
18327
18328 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18329             Ondřej Bílka  <neleai@seznam.cz>
18330
18331         [BZ #15073]
18332         * malloc/malloc.c (_int_free): Perform sanity check only if we
18333         have_lock.
18334
18335 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
18336
18337         [BZ #12986]
18338         * manual/stdio.texi (String Input Conversions): Clarify that character
18339         classes are not supported.
18340
18341 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18342
18343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18344
18345 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
18346
18347         [BZ #16337]
18348         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18349         Calculate results for small negative arguments directly rather
18350         than using reflection formula with special underflow handling.
18351
18352         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18353         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18354         sysdeps/unix/bsd/bsd4.4/syscalls.list.
18355         (fchflags): Likewise.
18356         (revoke): Likewise.
18357         (setlogin): Likewise.
18358         (sigaltstack): Likewise.
18359         (wait4): Likewise.
18360         (sigblock): Remove.
18361         (sigsetmask): Likewise.
18362         (wait3): Likewise.
18363         (waitpid): Likewise.
18364         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18365         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18366         file.
18367         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18368         * sysdeps/unix/bsd/Makefile: ... here.
18369         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18370         * sysdeps/unix/bsd/Versions: ... here.
18371         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18372         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18373         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18374         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18375         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18376         * sysdeps/unix/bsd/sigblock.c: ... here.
18377         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18378         * sysdeps/unix/bsd/sigsetmask.c: ... here.
18379         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18380         * sysdeps/unix/bsd/sigvec.c: ... here.
18381         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18382         * sysdeps/unix/bsd/tcdrain.c: ... here.
18383         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18384         * sysdeps/unix/bsd/tcgetattr.c: ... here.
18385         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18386         * sysdeps/unix/bsd/tcsetattr.c: ... here.
18387         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18388         * sysdeps/unix/bsd/wait.c: ... here.
18389         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18390         * sysdeps/unix/bsd/wait3.c: ... here.
18391         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18392         * sysdeps/unix/bsd/waitpid.c: ... here.
18393
18394 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
18395
18396         [BZ #16356]
18397         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18398         round-to-nearest for [!USE_AS_EXPM1L].
18399         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18400         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
18401         more tests of exp and exp10.  Expect some exp10 tests to miss
18402         exceptions or fail in directed rounding modes.
18403         * math/auto-libm-test-out: Regenerated.
18404         * math/libm-test.inc (exp10_tonearest_test_data): New array.
18405         (exp10_test_tonearest): New function.
18406         (exp10_towardzero_test_data): New array.
18407         (exp10_test_towardzero): New function.
18408         (exp10_downward_test_data): New array.
18409         (exp10_test_downward): New function.
18410         (exp10_upward_test_data): New array.
18411         (exp10_test_upward): New function.
18412         (main): Call the new functions.
18413         * sysdeps/i386/fpu/libm-test-ulps: Update.
18414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18415
18416 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
18417
18418         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18419         asinh, atan, atan2, atanh, cbrt, cos and cosh.
18420         * math/auto-libm-test-out: Regenerated.
18421         * math/libm-test.inc (acosh_test_data): Add more tests.
18422         (atanh_test_data): Likewise.
18423         (ceil_test_data): Likewise.
18424         (copysign_test_data): Likewise.
18425         * sysdeps/i386/fpu/libm-test-ulps: Update.
18426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18427
18428         * timezone/checktab.awk: Update from tzcode 2013i.
18429         * timezone/private.h: Likewise.
18430         * timezone/scheck.c: Likewise.
18431         * timezone/tzfile.h: Likewise.
18432         * timezone/tzselect.ksh: Likewise.
18433         * timezone/zdump.c: Likewise.
18434         * timezone/zic.c: Likewise.
18435
18436         * math/auto-libm-test-in: Add tests of cpow.
18437         * math/auto-libm-test-out: Regenerated.
18438         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18439         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18440         mpc_cc_c.
18441         (func_calc_desc): Add mpc_cc_c union field.
18442         (test_functions): Add cpow.
18443         (special_fill_2pi): New function.
18444         (special_real_inputs): Add 2pi.
18445         (calc_generic_results): Handle mpc_cc_c.
18446         * sysdeps/i386/fpu/libm-test-ulps: Update.
18447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18448
18449         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18450         csqrt, ctan and ctanh.
18451         * math/auto-libm-test-out: Regenerated.
18452         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18453         (TEST_COND_x86): Likewise.
18454         (ccos_test_data): Use AUTO_TESTS_c_c.
18455         (ccosh_test_data): Likewise.
18456         (cexp_test_data): Likewise.
18457         (clog_test_data): Likewise.
18458         (csqrt_test_data): Likewise.
18459         (ctan_test_data): Likewise.
18460         (ctan_tonearest_test_data): Likewise.
18461         (ctan_towardzero_test_data): Likewise.
18462         (ctan_downward_test_data): Likewise.
18463         (ctan_upward_test_data): Likewise.
18464         (ctanh_test_data): Likewise.
18465         (ctanh_tonearest_test_data): Likewise.
18466         (ctanh_towardzero_test_data): Likewise.
18467         (ctanh_downward_test_data): Likewise.
18468         (ctanh_upward_test_data): Likewise.
18469         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18470         mpc_c_c.
18471         (func_calc_desc): Add mpc_c_c union field.
18472         (FUNC_mpc_c_c): New macro.
18473         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18474         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18475         ctanh.
18476         (special_fill_min_subnorm_p120): New function.
18477         (special_real_inputs): Add min_subnorm_p120.
18478         (calc_generic_results): Handle mpc_c_c.
18479         * sysdeps/i386/fpu/libm-test-ulps: Update.
18480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18481
18482 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18483
18484         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18485         (do_sin_slow): New functions.
18486         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18487         (cslow2, csloww1, csloww2): Use the new functions.
18488
18489         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18490         Use M to change sign of result instead of X.  Assume X is
18491         positive.
18492         (csloww1): Likewise.
18493         (__sin): Adjust.
18494         (__cos): Adjust.
18495
18496         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18497         arguments A and DA.
18498         (__sin): Adjust.
18499         (__cos): Likewise.
18500
18501         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18502         (__cos): Likewise.
18503         (sloww1): Don't adjust sign of DX.
18504         (csloww1): Likewise.
18505         (sloww2): Use X directly and don't adjust sign of DX.
18506         (csloww2): Likewise.
18507
18508 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18509
18510         * math/auto-libm-test-in: Add tests of cabs and carg.
18511         * math/auto-libm-test-out: Regenerated.
18512         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18513         (carg_test_data): Likewise.
18514         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18515         mpc_c_f.
18516         (func_calc_desc): Add mpc_c_f union field.
18517         (test_functions): Add cabs and carg.
18518         (calc_generic_results): Handle mpc_c_f.
18519
18520         * sysdeps/powerpc/powerpc32/libgcc-compat.S
18521         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18522         as a macro and a compat symbol.
18523         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18524         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18525         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18526         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18527         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18528         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18529         not use .hidden.
18530         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18531         Likewise.
18532         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18533         Likewise.
18534         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18535         Likewise.
18536         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18537         Likewise.
18538         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18539         Likewise.
18540         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18541         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18542         from GLIBC_2.3.2.
18543
18544 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18545
18546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18547
18548 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18549
18550         * manual/texinfo.tex: Update to version 2013-11-26.10 with
18551         trailing whitespace removed.
18552         * scripts/config.guess: Update to version 2013-11-29.
18553         * scripts/config.sub: Update to version 2013-10-01.
18554
18555         * math/auto-libm-test-in: Add tests of sincos.
18556         * math/auto-libm-test-out: Regenerated.
18557         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18558         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18559         mpfr_f_11.
18560         (func_calc_desc): Add mpfr_f_11 union field.
18561         (test_functions): Add sincos.
18562         (calc_generic_results): Handle mpfr_f_11.
18563         * sysdeps/i386/fpu/libm-test-ulps: Update.
18564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18565
18566 2013-12-19  Andreas Schwab  <schwab@suse.de>
18567
18568         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18569         CALL_MCOUNT.
18570         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18571         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18572         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18573
18574 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18575
18576         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18577         * sysdeps/i386/fpu/libm-test-ulps: Update.
18578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18579
18580         [BZ #16293]
18581         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18582         round-to-nearest mode when using frndint.
18583         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18584         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18585         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18586         Likewise.
18587         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
18588         sinh test to fail.
18589         * math/auto-libm-test-out: Regenerated.
18590         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18591         (TEST_COND_x86): Likewise.
18592         (expm1_tonearest_test_data): New array.
18593         (expm1_test_tonearest): New function.
18594         (expm1_towardzero_test_data): New array.
18595         (expm1_test_towardzero): New function.
18596         (expm1_downward_test_data): New array.
18597         (expm1_test_downward): New function.
18598         (expm1_upward_test_data): New array.
18599         (expm1_test_upward): New function.
18600         (main): Run the new test functions.
18601         * sysdeps/i386/fpu/libm-test-ulps: Update.
18602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18603
18604         * include/features.h: Update comment documenting feature test
18605         macros.  Mention _DEFAULT_SOURCE in comment.
18606         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18607         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18608         _BSD_SOURCE and _SVID_SOURCE.
18609         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18610         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18611         !_SVID_SOURCE]: Likewise.
18612         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18613         (__USE_POSIX_IMPLICITLY): Define.
18614         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18615         (_POSIX_SOURCE): Undefine and redefine.
18616         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18617         (_POSIX_C_SOURCE): Likewise.
18618         * manual/creature.texi (_DEFAULT_SOURCE): Document.
18619         (Feature Test Macros): Update documentation of default features.
18620
18621 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18622
18623         * benchtests/Makefile: Add bench-strtok.
18624         * benchtests/bench-strtok.c: New file: strtok benchtest.
18625
18626 2013-12-19  Allan McRae  <allan@archlinux.org>
18627
18628         * manual/install.texi: Suppress menu for plain text output.
18629         * INSTALL: Regenerated.
18630
18631 2013-12-18  Brooks Moses  <bmoses@google.com>
18632
18633         [BZ #15846]
18634         * misc/getauxval.c: Include errno.h.
18635         (__getauxval): Set errno to ENOENT if the requested type is not
18636         found.
18637         * misc/sys/auxv.h (getauxval): Document that it may set errno;
18638         don't declare with __attribute_const__.
18639         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18640         * manual/startup.texi: Document that getauxval sets errno.
18641
18642 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18643
18644         * math/auto-libm-test-in: Add tests of jn and yn.
18645         * math/auto-libm-test-out: Regenerated.
18646         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18647         (yn_test_data): Likewise.
18648         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18649         mpfr_if_f.
18650         (func_calc_desc): Add mpfr_if_f union field.
18651         (FUNC_mpfr_if_f): New macro.
18652         (test_functions): Add jn and yn.
18653         (calc_generic_results): Assert type of second input for
18654         mpfr_ff_f.  Handle mpfr_if_f.
18655         (output_for_one_input_case): Disable all checking for arguments
18656         fitting floating-point types in case of an integer argument.
18657         * sysdeps/i386/fpu/libm-test-ulps: Update.
18658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18659
18660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18661         Don't expect fegetround reference in libm.so.
18662
18663 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18664
18665         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18666         $(config-cflags-nofma).
18667
18668 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18669
18670         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18671         * math/auto-libm-test-out: Regenerated.
18672
18673         [BZ #16338]
18674         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18675         to determine exponent and adjust argument to have exponent of -1.
18676         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18677         log2.
18678         * math/auto-libm-test-out: Regenerated.
18679         * sysdeps/i386/fpu/libm-test-ulps: Update.
18680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18681
18682 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
18683
18684         * manual/probes.texi: Remove cases when per-thread arenas are
18685         disabled.
18686
18687 2013-12-18  Andreas Schwab  <schwab@suse.de>
18688
18689         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18690         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18691         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18692         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18693         * sysdeps/i386/i686/multiarch/Makefile: Update.
18694         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18695
18696 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18697
18698         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18699         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18700
18701 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
18702
18703         [BZ #15968]
18704         Support TZ transition times < 00:00:00.
18705         This is needed for version-3 tz-format files; it supports time
18706         stamps past 2037 for America/Godthab (the only entry in the tz
18707         database for which this change is relevant).
18708         * manual/time.texi (TZ Variable): Document transition times
18709         from -167:59:59 through -00:00:01.
18710         * time/tzset.c (tz_rule): Time of day is now signed.
18711         (__tzset_parse_tz): Parse negative time of day.
18712
18713         Document TZ transition times >= 25:00:00.
18714         * manual/time.texi (TZ Variable): Document transition times from
18715         25:00:00 through 167:59:59.  These are already supported, and this
18716         support will help with version-3 tz-format files.
18717
18718         * manual/time.texi (TZ Variable): Modernize North America example
18719         to reflect current (i.e., 2007-and-later) daylight saving rules.
18720
18721         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18722
18723 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18724
18725         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18726         * sysdeps/unix/bsd/bits/stat.h: Likewise.
18727         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18728         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18729         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18730         * sysdeps/unix/bsd/bsdstat.h: Likewise.
18731         * sysdeps/unix/bsd/clock.c: Likewise.
18732         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18733         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18734         * sysdeps/unix/bsd/init-posix.c: Likewise.
18735         * sysdeps/unix/bsd/poll.c: Likewise.
18736         * sysdeps/unix/bsd/ptsname.c: Likewise.
18737         * sysdeps/unix/bsd/seekdir.c: Likewise.
18738         * sysdeps/unix/bsd/setegid.c: Likewise.
18739         * sysdeps/unix/bsd/seteuid.c: Likewise.
18740         * sysdeps/unix/bsd/setgid.c: Likewise.
18741         * sysdeps/unix/bsd/setrgid.c: Likewise.
18742         * sysdeps/unix/bsd/setruid.c: Likewise.
18743         * sysdeps/unix/bsd/setsid.c: Likewise.
18744         * sysdeps/unix/bsd/setuid.c: Likewise.
18745         * sysdeps/unix/bsd/sigaction.c: Likewise.
18746         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18747         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18748         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18749         * sysdeps/unix/bsd/telldir.c: Likewise.
18750         * sysdeps/unix/bsd/times.c: Likewise.
18751         * sysdeps/unix/bsd/usleep.c: Likewise.
18752
18753         * misc/Makefile (install-lib): Remove libbsd-compat.a.
18754         ($(objpfx)libbsd-compat.a): Remove rule.
18755
18756         * include/features.h (__FAVOR_BSD): Do not define.
18757         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18758         features conflicting with POSIX.
18759         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18760         (_BSD_SOURCE): Remove description of not being a subset of other
18761         feature test macros.
18762         * manual/job.texi (getpgrp): Do not document BSD version.
18763         (getpgid): Do not document by reference to BSD getpgrp.
18764         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18765         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18766         * signal/signal.h [__FAVOR_BSD]: Likewise.
18767         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18768         instead of making contents conditional on [__FAVOR_BSD].
18769         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18770
18771 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18772
18773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18774
18775 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18776
18777         [BZ #16314]
18778         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18779         values below 2**-450, not 2**-500.
18780         * math/auto-libm-test-in: Don't allow spurious underflow from
18781         hypot.
18782         * math/auto-libm-test-out: Regenerated.
18783
18784         [BZ #16316]
18785         [BZ #16330]
18786         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18787         values of ha and hb and sort them after adjusting subnormal
18788         arguments.
18789         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18790         Likewise.
18791         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18792         values of ea and eb and sort them after adjusting subnormal
18793         arguments.
18794         * math/auto-libm-test-in: Do not expect some hypot tests of
18795         subnormals to fail.  Add more hypot tests.
18796         * math/auto-libm-test-out: Regenerated.
18797
18798 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18799
18800         [BZ #13304]
18801         * sysdeps/sh/s_fma.c: New file.
18802         * sysdeps/sh/s_fmaf.c: New file.
18803         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
18804         version.
18805         * sysdeps/sh/Implies: Add sh/soft-fp.
18806
18807 2013-12-16  Roland McGrath  <roland@hack.frob.com>
18808
18809         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
18810         level of indirection to members `objname', `errstring', `malloced'.
18811         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18812         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
18813         it as the __longjmp argument (just pass 1 instead).
18814         (_dl_catch_error): Initialize C with argument pointers and address of
18815         volatile local ERRCODE rather than copying values out of C at return.
18816
18817 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
18818
18819         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18820         * math/auto-libm-test-out: Regenerated.
18821         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18822         (hypot_test_data): Likewise.
18823         (pow_test_data): Likewise.
18824         (pow_tonearest_test_data): Likewise.
18825         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18826         mpfr_ff_f.
18827         (func_calc_desc): Add mpfr_ff_f union field.
18828         (FUNC_mpfr_ff_f): New macro.
18829         (test_functions): Add atan2, hypot and pow.
18830         (special_fill_min): New function.
18831         (special_fill_minus_min): Likewise.
18832         (special_fill_min_subnorm): Likewise.
18833         (special_fill_minus_min_subnorm): Likewise.
18834         (special_real_inputs): Add min, -min, min_subnorm and
18835         -min_subnorm.
18836         (calc_generic_results): Handle mpfr_ff_f.
18837         * sysdeps/i386/fpu/libm-test-ulps: Update.
18838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18839
18840 2013-12-16  Will Newton  <will.newton@linaro.org>
18841
18842         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18843         (Aligned Memory Blocks): Add documentation for aligned_alloc
18844         and suggest it as an alternative to posix_memalign.
18845         (Hooks for Malloc): Document __memalign_hook is also called
18846         for aligned_alloc.  (Summary of Malloc): Add summary for
18847         aligned alloc.  Document __memalign_hook is also called
18848         for aligned_alloc.
18849
18850 2013-12-16  Will Newton  <will.newton@linaro.org>
18851
18852         * manual/memory.texi (Malloc Examples): Clarify default
18853         alignment documentation.  Suggest posix_memalign rather
18854         than memalign or valloc.
18855         (Aligned Memory Blocks): Remove suggestion to use memalign
18856         or valloc.  Remove obsolete comment about BSD.
18857         Document memalign errno values and mark the function obsolete.
18858         Document posix_memalign returned error codes.  Mark valloc
18859         as obsolete.  (Hooks for Malloc): __memalign_hook is also
18860         called for posix_memalign and valloc.
18861         (Summary of Malloc): Add posix_memalign to function summary.
18862         __memalign_hook is also called for posix_memalign and valloc.
18863
18864 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18865
18866         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18867         TAYLOR_SIN.
18868         (__sin): Adjust.
18869         (__cos): Likewise.
18870         (sloww): Use mynumber union.  Expand ternary operator into
18871         if-else statements.
18872         (cslow): use mynumber union.
18873
18874 2013-12-16  Allan McRae  <allan@archlinux.org>
18875
18876         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18877         * configure: Regenerated.
18878
18879         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18880
18881         [BZ #14120]
18882         * configure.ac: Added --enable-maintainer-mode. Check for
18883         autoconf when enabled.
18884         * configure: Regenerated.
18885
18886         * nscd/nscd.service: New file.
18887         * nscd/nscd.tmpfiles: New file.
18888
18889 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
18890
18891         [BZ #12100]
18892         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18893         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18894         * sysdeps/x86_64/multiarch/strstr.c: ... here.
18895         (strstr): Add __strstr_sse2_unaligned ifunc.
18896         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18897         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18898         (strcasestr): Remove __strcasestr_sse42 ifunc.
18899         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18900         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18901         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18902
18903 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18904
18905         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18906         * sysdeps/sh/bits/fenv.h: ... here.
18907         * sysdeps/sh/sh4/fpu/bits: Remove directory.
18908
18909 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18910
18911         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18912
18913         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18914         hypotf multiarch implementations.
18915         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18916         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18917         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18918         multiarch hypot for PPC64.
18919         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18920         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18921         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18922         multiarch hypotf for PPC64.
18923
18924         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18925         modff multiarch implementations.
18926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18929         multiarch modf for PPC64.
18930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18933         multiarch modff for PPC64.
18934
18935         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18936         and logl multiarch implementations.
18937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18940         multiarch logb for PPC64.
18941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18944         multiarch logb for PPC64.
18945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18948         multiarch logb for PPC64.
18949
18950         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18951         isinff multiarch implementation.
18952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18953         file.
18954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18956         multiarch isinf for PPC64.
18957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18958         file.
18959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18960         multiarch isinff for PPC64.
18961
18962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18963         finitef multiarch implementation.
18964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18965         file.
18966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18968         multiarch finite for PPC64.
18969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18970         file.
18971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18972         multiarch finitef for PPC64.
18973
18974         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18975         lrint multiarch implementation.
18976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18977         file.
18978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18980         multiarch llrint for PPC64.
18981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18982         multiarch lrint for PPC64.
18983
18984         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18985         copysignf multiarch implementation.
18986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18987         file.
18988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18989         file.
18990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18991         multiarch copysign for PPC64.
18992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18993         multiarch copysignf for PPC64.
18994
18995         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18996         multiarch implementation.
18997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18998         file.
18999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19000         file.
19001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19002         file.
19003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19004         file.
19005         multiarch llround for PPC64.
19006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19007         multiarch trunc for PPC64.
19008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19009         multiarch truncf for PPC64.
19010
19011         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19012         multiarch implementation.
19013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19014         file.
19015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19016         file.
19017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19018         file.
19019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19020         file.
19021         multiarch llround for PPC64.
19022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19023         multiarch round for PPC64.
19024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19025         multiarch roundf for PPC64.
19026
19027         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19028         multiarch implementation.
19029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19030         file.
19031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19032         file.
19033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19034         file.
19035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19036         file.
19037         multiarch llround for PPC64.
19038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19039         multiarch floor for PPC64.
19040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19041         multiarch floorf for PPC64.
19042
19043         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19044         multiarch implementation.
19045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19046         file.
19047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19048         file.
19049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19050         file.
19051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19052         file.
19053         multiarch llround for PPC64.
19054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19055         multiarch ceil for PPC64.
19056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19057         multiarch ceilf for PPC64.
19058
19059         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19060         multiarch implementation.
19061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19062         file.
19063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19064         file.
19065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19066         file.
19067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19068         multiarch llround for PPC64.
19069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19070         multiarch lround for PPC64.
19071
19072         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19073         multiarch implementation.
19074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19077         file.
19078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19081         multiarch isnan for PPC64.
19082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19083         multiarch isnanf for PPC64.
19084
19085         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19086         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19087         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19088         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19089         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19091
19092         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19093         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19094         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19095         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19096
19097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19098         multiarch implementations.
19099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19100         (__libc_ifunc_impl_list): Likewise.
19101         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19102         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19103         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19104         multiarch stpcpy for PPC64.
19105
19106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19107         multiarch implementations.
19108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19109         (__libc_ifunc_impl_list): Likewise.
19110         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19111         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19112         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19113         multiarch strcpy for PPC64.
19114
19115         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19116         redefine function name.
19117         (_wordcopy_fwd_dest_aligned): Likewise.
19118         (_wordcopy_bwd_aligned): Likewise.
19119         (_wordcopy_bwd_dest_aligned): Likewise.
19120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19121         multiarch implementations.
19122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19123         (__libc_ifunc_impl_list): Likewise.
19124         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19125         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19126         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19127         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19128         multiarch wcscpy for PPC64.
19129
19130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19131         multiarch implementations.
19132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19133         (__libc_ifunc_impl_list): Likewise.
19134         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19135         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19136         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19137         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19138         multiarch wcscpy for PPC64.
19139
19140         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19141         multiarch implementations.
19142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19143         (__libc_ifunc_impl_list): Likewise.
19144         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19145         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19146         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19147         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19148         multiarch wcsrchr for PPC64.
19149
19150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19151         multiarch implementations.
19152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19153         (__libc_ifunc_impl_list): Likewise.
19154         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19155         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19156         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19157         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19158         multiarch wcschr for PPC64.
19159
19160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19161         multiarch implementations.
19162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19163         (__libc_ifunc_impl_list): Likewise.
19164         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19165         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19166         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19167         multiarch strchrnul for PPC64.
19168
19169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19170         implementations.
19171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19172         (__libc_ifunc_impl_list): Likewise.
19173         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19174         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19175         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19176         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19177         strchr for PPC64.
19178
19179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19180         implementations.
19181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19182         (__libc_ifunc_impl_list): Likewise.
19183         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19184         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19185         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19186         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19187         strncmp for PPC64.
19188
19189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19190         multiarch implementations.
19191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19192         (__libc_ifunc_impl_list): Likewise.
19193         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19194         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19195         strncasecmp for PPC64.
19196         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19197         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19198         multiarch strncasecmp_l for PPC64.
19199
19200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19201         multiarch implementations.
19202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19203         (__libc_ifunc_impl_list): Likewise.
19204         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19205         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19206         multiarch strcasecmp for PPC64.
19207         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19208         file.
19209         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19210         multiarch strcasecmp_l for PPC64.
19211
19212         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19213         implementations.
19214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19215         (__libc_ifunc_impl_list): Likewise.
19216         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19217         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19218         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19219         strnlen for PPC64.
19220
19221         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19222         implementations.
19223         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19224         (__libc_ifunc_impl_list): Likewise.
19225         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19226         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19227         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19228         strlen for PPC64.
19229
19230         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19231         implementations.
19232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19233         (__libc_ifunc_impl_list): Likewise.
19234         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19235         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19236         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19237         rawmemrchr for PPC64.
19238
19239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19240         implementation.
19241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19242         (__libc_ifunc_impl_list): Likewise.
19243         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19244         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19245         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19246         memrchr for PPC64.
19247
19248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19249         implementation.
19250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19251         (__libc_ifunc_impl_list): Likewise.
19252         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19253         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19254         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19255         memchr for PPC64.
19256
19257         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19258         implementation.
19259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19260         (__libc_ifunc_impl_list): Likewise.
19261         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19262         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19263         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19264         mempcpy for PPC64.
19265
19266         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19267         avoid cretion of __bzero symbol.
19268         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19269         Likewise.
19270         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19271         Likewise.
19272         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19273         Likewise.
19274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19275         multiarch implementations.
19276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19277         (__libc_ifunc_impl_list): Likewise.
19278         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19279         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19280         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19281         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19282         bzero for PPC32.
19283         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19284         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19285         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19286         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19287         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19288         memset for PPC64.
19289         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19290
19291         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19293         implementations.
19294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19295         (__libc_ifunc_impl_list): Likewise.
19296         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19297         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19298         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19299         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19300         memcmp for PPC64.
19301
19302         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19303         multiarch for POWER/PPC64.
19304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19305         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19306         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19307         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19308         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19309         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19310         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19311         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19312         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19313         memcpy for PPC64.
19314
19315         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19316         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19317         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19318         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19319         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19320         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19321         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19322         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19323         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19324         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19325         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19326         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19327         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19328         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19329         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19337
19338 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19339
19340         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19341
19342 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19343
19344         * benchtests/Makefile (bench): Add exp2 and log2.
19345         (LDLIBS-bench-exp2): Add -lm.
19346         (LDLIBS-bench-log2): Likewise.
19347         * benchtests/exp2-inputs: New inputs file.
19348         * benchtests/log2-inputs: New inputs file.
19349         * benchtests/log-inputs: Add new inputs.
19350         * benchtests/tan-inputs: Likewise.
19351
19352 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19353
19354         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19355         definition...
19356         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19357         (csloww2): ... from here.
19358
19359         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19360         instead of structures.
19361         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19362         (POLYNOMIAL): Likewise.
19363         (TAYLOR_SLOW): Likewise.
19364         (__sin): Likewise.
19365         (__cos): Likewise.
19366         (slow1): Likewise.
19367         (slow2): Likewise.
19368         (sloww): Likewise.
19369         (sloww1); Likewise.
19370         (sloww2): Likewise.
19371         (bsloww1): Likewise.
19372         (bsloww2): Likewise.
19373         (cslow2): Likewise.
19374         (csloww): Likewise.
19375         (csloww1): Likewise.
19376         (csloww2): Likewise.
19377
19378 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
19379
19380         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19381         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19382         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19383         * malloc/hooks.c (realloc_check): Likewise.
19384
19385         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19386         * malloc/arena.c: Remove PER_THREAD conditional.
19387         [!PER_THREAD]: Remove code.
19388         (ptmalloc_unlock_all2): Likewise.
19389         (ptmalloc_init): Likewise.
19390         (_int_new_arena): Likewise.
19391         (arena_get2): Likewise.
19392         * malloc/hooks.c (__malloc_get_state): Likewise.
19393         (__malloc_set_state): Likewise.
19394         * malloc/malloc.c: Likewise.
19395         (struct malloc_state): Likewise.
19396         (struct malloc_par): Likewise.
19397         (__libc_realloc): Likewise.
19398         (__libc_mallopt): Likewise.
19399
19400 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19401
19402         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19403
19404 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
19405
19406         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19407         macro to a function.  Check for zero perturb_byte.
19408         (_int_malloc, _int_free): Remove zero perturb_byte checks.
19409
19410         * malloc/malloc.c: (force_reg): Remove.
19411         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19412         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19413         force_reg by atomic_forced_read.
19414         * malloc/arena.c (ptmalloc_init): Likewise.
19415         * malloc/hooks.c (top_check): Likewise.
19416
19417 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19418
19419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19420
19421 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
19422
19423         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19424
19425 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
19426
19427         * math/auto-libm-test-in: Add tests of lgamma.
19428         * math/auto-libm-test-out: Regenerated.
19429         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19430         (M_LOG_2_SQRT_PIl): Likewise.
19431         (lgamma_test_data): Use AUTO_TESTS_f_f1.
19432         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19433         mpfr_f_f1.
19434         (func_calc_desc): Add mpfr_f_f1 union field.
19435         (ARGS1): New macro.
19436         (ARGS2): Likewise.
19437         (ARGS3): Likewise.
19438         (ARGS4): Likewise.
19439         (RET1): Likewise.
19440         (RET2): Likewise.
19441         (CALC): Likewise.
19442         (FUNC): Likewise.
19443         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19444         (test_functions): Add lgamma.
19445         (calc_generic_results): Handle mpfr_f_f1.
19446         * sysdeps/i386/fpu/libm-test-ulps: Update.
19447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19448
19449 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19450
19451         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19452         __mpn_add_n for PowerPC64/POWER7.
19453         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19454         __mpn_sub_n for PowerPC64/POWER7.
19455
19456         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19457         __mpn_addmul_1 for PowerPC64.
19458         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19459         __mpn_submul_1 for PowerPC64.
19460         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19461         for PowerPC64.
19462         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19463         for PowerPC64.
19464
19465 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
19466
19467         [BZ #15089]
19468         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19469
19470 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19471
19472         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19473
19474         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19475         add multiarch folders.
19476         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19477         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19478         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19479         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19480         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19481         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19482         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19483         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19484         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19485         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19486         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19493
19494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19495         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19497         New file.
19498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19499         New file.
19500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19501         multiarch __ieee754_hypot for PowerPC32.
19502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19503         New file.
19504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19505         New file.
19506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19507         multiarch __ieee754_hypotf for PowerPC32.
19508
19509         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19510         long_double_symbol only if __logbl is defined.
19511         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19512         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19513         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19514         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19515         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19516         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19517         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19518         path for implementation.
19519         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19520         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19522         logb, and logbl multiarch implementations for PowerPC32.
19523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19524         file.
19525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19526         file.
19527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19528         multiarch logb for PowerPC32.
19529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19530         file.
19531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19532         file.
19533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19534         multiarch logbf for PowerPC32.
19535         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19537         file.
19538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19539         multiarch logbl implementation for PowerPC32.
19540
19541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19542         and modff multiarch implementations.
19543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19544         New file.
19545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19546         New file.
19547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19548         multiarch modf for PowerPC32.
19549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19550         New file.
19551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19552         New file.
19553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19554         multiarch modff for PowerPC32.
19555
19556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19557         and lrintf multiarch implementations.
19558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19559         New file.
19560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19561         New file.
19562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19563         multiarch lrint for PowerPC32.
19564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19565         file: multiarch lrintf for PowerPC32.
19566
19567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19568         and lroundf multiarch implementations.
19569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19570         New file.
19571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19572         New file.
19573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19574         New file.
19575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19576         multiarch lround for PowerPC32.
19577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19578         file: multiarch lroundf for PowerPC32.
19579
19580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19581         copysign and copysignf multiarch implementations.
19582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19583         New file.
19584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19585         New file.
19586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19587         file: multiarch copysign for PowerPC32.
19588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19589         file: multiarch copysignf for PowerPC32.
19590
19591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19592         and truncf multiarch implementations.
19593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19594         New file.
19595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19596         file.
19597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19598         multiarch trunc for PowerPC32.
19599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19600         New file.
19601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19602         New file.
19603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19604         multiarch truncf for PowerPC32.
19605
19606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19607         and roundf multiarch implementations.
19608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19609         New file.
19610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19611         file.
19612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19613         multiarch round for PowerPC32.
19614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19615         New file.
19616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19617         New file.
19618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19619         multiarch roundf for PowerPC32.
19620
19621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19622         and floorf multiarch implementations.
19623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19624         New file.
19625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19626         file.
19627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19628         multiarch floor for PowerPC32.
19629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19630         New file.
19631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19632         New file.
19633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19634         multiarch floorf for PowerPC32.
19635
19636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19637         and ceilf multiarch implementations.
19638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19639         New file.
19640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19641         file.
19642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19643         multiarch ceil for PowerPC32.
19644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19645         New file.
19646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19647         file.
19648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19649         multiarch ceilf for PowerPC32.
19650
19651         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19652         is defined.
19653         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19654         FINITEF is defined.
19655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19656         and finitef multiarch implementations.
19657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19658         New file.
19659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19660         file.
19661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19662         multiarch finite for PowerPC32.
19663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19664         New file.
19665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19666         file: multiarch finitef for PowerPC32.
19667
19668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19669         and isinff multiarch implementations.
19670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19671         file.
19672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19673         file.
19674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19675         multiarch isinf for PowerPC32.
19676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19677         New file.
19678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19679         multiarch isinff for PowerPC32.
19680
19681         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19682         alias when __isnan is defined.
19683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19684         and isnanf multiarch implementations.
19685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19686         file.
19687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19688         file.
19689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19690         file.
19691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19692         file.
19693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19694         multiarch isnan for PowerPC32.
19695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19696         New file.
19697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19698         New file.
19699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19700         multiarch isnanf for PowerPC32.
19701
19702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19703         and sqrtf multiarch implementations.
19704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19705         file.
19706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19707         file.
19708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19709         multiarch sqrt for PowerPC32.
19710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19711         file.
19712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19713         file.
19714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19715         multiarch sqrtf for PowerPC32.
19716
19717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19718         and llroundf multiarch implementations.
19719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19720         New file.
19721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19722         New file.
19723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19724         New file.
19725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19726         file: multiarch llround for PowerPC32.
19727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19728         file: multiarch llroundf for PowerPC32.
19729
19730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19731         multiarch PowerPC32 fpu implementations.
19732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19733         New file.
19734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19735         New file.
19736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19737         multiarch llrint for PowerPC32.
19738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19739         New file.
19740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19741         New file.
19742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19743         file.
19744
19745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19746
19747         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19748         file.
19749         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19750         file.
19751         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19752         file.
19753         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19754         multiarch wordcopy for PPC32.
19755         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19756         wordcopy objects.
19757         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19758         (__libc_ifunc_impl_list): Likewise.
19759         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19760         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19761         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19762         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19763         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19764         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19765
19766         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19767         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19768         file.
19769         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19770         file.
19771         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19772         file.
19773         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19774         multiarch wcscpy for PPC32.
19775         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19776         multiarch objects.
19777         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19778         (__libc_ifunc_impl_list): Likewise.
19779         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19780         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19781         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19782         sysdeps/powerpc/power6/wcscpy.c.
19783
19784         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19785         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19786         file.
19787         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19788         file.
19789         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19790         file.
19791         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19792         multiarch wcsrchr for PPC32.
19793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19794         multiarch objects.
19795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19796         (__libc_ifunc_impl_list): Likewise.
19797         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19798         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19799         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19800         sysdeps/powerpc/power6/wcsrchr.c.
19801
19802         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19803         file.
19804         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19805         file.
19806         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19807         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19808         multiarch wcschr for PPc32.
19809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19810         multiarch objects.
19811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19812         (__libc_ifunc_impl_list): Likewise.
19813         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19814         * sysdeps/powerpc/power6/wcschr.c: ... to here.
19815         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19816         sysdeps/powerpc/power6/wcschr.c.
19817
19818         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19819         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19820         file.
19821         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19822         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19823         file: multiarch strchr for PPC32.
19824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19825         multiarch objects.
19826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19827         (__libc_ifunc_impl_list): Likewise.
19828
19829         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19830         name.
19831         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19832         file.
19833         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19834         file.
19835         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19836         multiarch strchrnul for PPC32.
19837         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19838         multiarch objects.
19839         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19840         (__libc_ifunc_impl_list): Likewise.
19841
19842         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19843         file.
19844         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19845         multiarch strncasecmp for PPC32.
19846         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19847         file.
19848         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19849         multiarch strncasecmp_l for PPC32.
19850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19851         strncasecmp multiarch objects.
19852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19853         (__libc_ifunc_impl_list): Likewise.
19854
19855         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19856         file.
19857         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19858         multiarch strncasecmp for PPC32.
19859         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19860         New file.
19861         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19862         multiarch strcasecmp_l for PPC32.
19863         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19864         multiarch objects.
19865         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19866         (__libc_ifunc_impl_list): Likewise.
19867
19868         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19869         file.
19870         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19871         file.
19872         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19873         multiarch strncmp for PPC32.
19874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19875         multiarch objects.
19876         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19877         (__libc_ifunc_impl_list): Likewise.
19878
19879         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19880         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19881         file.
19882         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19883         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19884         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19885         multiarch objects.
19886         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19887         (__libc_ifunc_impl_list): Likewise.
19888
19889         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19890         file.
19891         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19892         file.
19893         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19894         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19895         multiarch objects.
19896         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19897         (__libc_ifunc_impl_list): Likewise.
19898
19899         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19900         file.
19901         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19902         file.
19903         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19904         multiarch rawmemchr for PPC32.
19905         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19906         multiarch objects.
19907         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19908         (__libc_ifunc_impl_list): Likewise.
19909
19910         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19911         file.
19912         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19913         file.
19914         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19915         file: memrchr multiarch for PPC32.
19916         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19917         multiarch objects.
19918         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19919         (__libc_ifunc_impl_list): Likewise.
19920
19921         * string/memchr.c (__memchr): Using macro to redefine symbol name.
19922         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19923         file.
19924         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19925         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19926         multiarch memchr for PPC32.
19927         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19928         multiarch objects.
19929         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19930         (__libc_ifunc_impl_list): Likewise.
19931
19932         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19933         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19934         file.
19935         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19936         file.
19937         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19938         file: multiarch mempcpy for PPC32.
19939         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19940         multiarch objects.
19941         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19942         (__libc_ifunc_impl_list): Likewise.
19943
19944         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19945         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19946         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19947         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19948         multiarch bzero for PPC32.
19949         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19950         file.
19951         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19952         file.
19953         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19954         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19955         file: multiarch memset for PPC32.
19956         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19957         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19958         memset multiarch objects.
19959         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19960         (__libc_ifunc_impl_list): Likewise.
19961
19962         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19963         file.
19964         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19965         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19966         memcmp for PPC32.
19967         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19969         multiarch objects.
19970         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19971         (__libc_ifunc_impl_list): Likewise.
19972
19973         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19974         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19975         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19976         file.
19977         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19978         file.
19979         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19980         file.
19981         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19982         multiarch memcpy for PPC32.
19983         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19984         multiarch objects.
19985         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19986         (__libc_ifunc_impl_list): Likewise.
19987
19988         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19989         support multiarch for POWER/PPC32.
19990         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19991         Likewise.
19992         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19994         Implies file to make multiarch folder appers before the fpu and
19995         default folder for power4 configuration.
19996
19997 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19998
19999         * scripts/bench.pl: Append volatile keyword to type.
20000
20001 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20002
20003         * sysdeps/sh/sotruss-lib.c: New file.
20004         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20005
20006 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20007
20008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20009
20010 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
20011
20012         [BZ #6810]
20013         * math/w_tgamma.c: Include <errno.h>.
20014         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
20015         * math/w_tgammaf.c: Include <errno.h>.
20016         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
20017         * math/w_tgammal.c: Include <errno.h>.
20018         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
20019         * math/auto-libm-test-in: Do not allow missing errno on tgamma
20020         underflow.  Add more tgamma tests.
20021         * math/auto-libm-test-out: Regenerated.
20022         * sysdeps/i386/fpu/libm-test-ulps: Update.
20023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20024
20025         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20026         sin, sinh, tan, tanh, tgamma, y0 and y1.
20027         * math/auto-libm-test-out: Regenerated.
20028         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20029         (TEST_COND_x86): Likewise.
20030         (M_E2l): Remove macro.
20031         (M_E3l): Likewise.
20032         (M_2_SQRT_PIl): Likewise.
20033         (M_SQRT_PIl): Likewise.
20034         (M_1_DIV_El): Likewise.
20035         (log_test_data): Use AUTO_TESTS_f_f.
20036         (log10_test_data): Likewise.
20037         (log1p_test_data): Likewise.
20038         (log2_test_data): Likewise.
20039         (sin_test_data): Likewise.
20040         (sin_tonearest_test_data): Likewise.
20041         (sin_towardzero_test_data): Likewise.
20042         (sin_downward_test_data): Likewise.
20043         (sin_upward_test_data): Likewise.
20044         (sinh_test_data): Likewise.
20045         (sinh_tonearest_test_data): Likewise.
20046         (sinh_towardzero_test_data): Likewise.
20047         (sinh_downward_test_data): Likewise.
20048         (sinh_upward_test_data): Likewise.
20049         (tan_test_data): Likewise.
20050         (tan_tonearest_test_data): Likewise.
20051         (tan_towardzero_test_data): Likewise.
20052         (tan_downward_test_data): Likewise.
20053         (tan_upward_test_data): Likewise.
20054         (tanh_test_data): Likewise.
20055         (tgamma_test_data): Likewise.
20056         (y0_test_data): Likewise.
20057         (y1_test_data): Likewise.
20058         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20059         (special_real_inputs): Add pi/4.
20060         * sysdeps/i386/fpu/libm-test-ulps: Update.
20061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20062
20063 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20064
20065         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20066         "longjmp_target" static probes.
20067         (__longjmp): Rename to __longjmp_symbol.
20068         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20069         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20070         on which longjmp to generate.
20071         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20072         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20073         probe.
20074         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20075         (__sigjmp_save): Rename to __sigjmp_save_symbol.
20076         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20077         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20078         and __sigjmp_save_symbol based on which sigsetjmp to generated.
20079         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20081         __longjmp_symbol based on which __longjmp to generate.
20082         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20083         probe.
20084         (setjmp): Rename to setjmp_symbol.
20085         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20086         (_setjmp): Rename to _setjmp_symbol.
20087         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20088         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20089         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20090         which setjmp to generate.
20091         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20092         "longjmp_target" static probes.
20093
20094 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20095
20096         * benchtests/README: Add note about output arguments.
20097         * benchtests/bench-sincos.c: Remove file.
20098         * benchtests/sincos-inputs: New file.
20099         * scripts/bench.pl: Identify output arguments and define
20100         static variables for them.
20101
20102         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20103
20104         [BZ #15941]
20105         * Makefile (INSTALL): Add install-plain.texi as the primary
20106         dependency.
20107         * manual/install-plain.texi: New file.
20108         * manual/install.texi: Include node directive only for
20109         non-plaintext output.
20110
20111 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
20112
20113         * stdlib/longlong.h: Update from GCC.
20114
20115         [BZ #6807]
20116         [BZ #15901]
20117         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20118         * math/w_j0f.c (y0f): Likewise.
20119         * math/w_j0l.c (__y0l): Likewise.
20120         * math/w_j1.c (y1): Likewise.
20121         * math/w_j1f.c (y1f): Likewise.
20122         * math/w_j1l.c (__y1l): Likewise
20123         * math/w_jn.c (yn): Likewise.
20124         * math/w_jnf.c (ynf): Likewise.
20125         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20126         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
20127         value for Bessel function domain errors outside _SVID_ mode.
20128         Adjust sign of return value for yn (negative integer, 0).
20129         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20130         by zero in return for negative x and set sign appropriately for
20131         negative n.
20132         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20133         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20134         * math/libm-test.inc (y0_test_data): Add more tests and adjust
20135         expectations in error cases.
20136         (y1_test_data): Likewise.
20137         (yn_test_data): Likewise.
20138         * sysdeps/i386/fpu/libm-test-ulps: Update.
20139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20140
20141 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20142
20143         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20144         "64" to "64-v1".  Add "64-v2".
20145         (abi-64-options): Rename to ...
20146         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
20147         (abi-64-condition): Rename to ...
20148         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
20149         (abi-64-ld-soname): Rename to ...
20150         (abi-64-v1-ld-soname): ... this.
20151         (abi-64-v2-options): Define.
20152         (abi-64-v2-condition): Likewise.
20153         (abi-64-v2-ld-soname): Likewise.
20154         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20155         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20159
20160 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20161             Alan Modra  <amodra@gmail.com>
20162
20163         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20164         New versions for use with the ELFv2 ABI.
20165         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20166         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20167         declaration.
20168         (struct La_ppc64v2_retval): Likewise.
20169         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20170         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20171         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20172         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20173         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20174         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20175         Do not save or restore CR.
20176         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20177         (_dl_profile_resolve): Do no save or restore CR.  Support extended
20178         return values for ELFv2 ABI.  Fix location of FPR return registers.
20179         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20180         updated values for _CALL_ELF == 2.
20181         (La_regs, La_retval, int_retval): Likewise.
20182
20183 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20184
20185         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20186         (FRAME_MIN_SIZE_PARM): Likewise.
20187         (FRAME_BACKCHAIN): Likewise.
20188         (FRAME_CR_SAVE): Likewise.
20189         (FRAME_LR_SAVE): Likewise.
20190         (FRAME_TOC_SAVE): Likewise.
20191         (FRAME_PARM_SAVE): Likewise.
20192         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20193         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20194         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20195         (call_mcount_parm_offset): New macro.
20196         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20197         (PROF): Use symbolic stack frame offsets.
20198         (TAIL_CALL_SYSCALL_ERROR): Likewise.
20199         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20200         Redefine in terms of FRAME_MIN_SIZE.
20201         (_dl_runtime_resolve): Use symbolic stack frame offsets.
20202         (_dl_profile_resolve): Likewise.  Update comment.
20203         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20204         symbols stack frame offsets.
20205         (__sigsetjmp): Likewise.
20206         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20207         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20208         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20209         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20210
20211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20212         (FRAME_BACKCHAIN): Remove.
20213         (FRAME_CR_SAVE): Likewise.
20214         (FRAME_LR_SAVE): Likewise.
20215         (FRAME_COMPILER_DW): Likewise.
20216         (FRAME_LINKER_DW): Likewise.
20217         (FRAME_TOC_SAVE): Likewise.
20218         (FRAME_PARM_SAVE): Likewise.
20219         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20220         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20221         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20223         (CHECK_SP): Use symbolic stack frame offsets.
20224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20225         zone" instead of caller's parameter save area for temp storage.
20226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20227         Likewise.  Also, use symbolic stack frame offsets.
20228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20229         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20230         our own stack frame instead of the caller's.
20231         (__socket): Use symbolic stack frame offsets.
20232
20233 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20234             Alan Modra  <amodra@gmail.com>
20235
20236         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20237         Define.
20238         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20239         (PPC64_LOCAL_ENTRY_OFFSET): Define.
20240         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20241         New function.
20242         (elf_machine_fixup_plt): Call it.
20243         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
20244         reloc arguments.
20245         (elf_machine_rela): Update call to elf_machine_plt_conflict.
20246         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20247         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20248         r2 before calling target.
20249
20250 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20251             Alan Modra  <amodra@gmail.com>
20252
20253         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20254         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20255         versions of macros to support ELFv2 ABI.
20256         (LOCALENTRY): New macro.
20257         (ENTRY, EALIGN): Use it.
20258         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20259         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20260         fall through into ENTRY entry point.
20261         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20262         Only define if _CALL_ELF != 2.
20263
20264         (elf_machine_matches_host): Verify ABI version matches.
20265         (RTLD_START): Use LOCALENTRY.
20266         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20267         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20268         (PLT_ENTRY_WORDS): New macro.
20269         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20270         (elf_machine_runtime_setup): Support ELFv2 ABI.
20271         (elf_machine_fixup_plt): Likewise.
20272         (elf_machine_plt_conflict): Likewise.
20273         (resolve_ifunc): Likewise.
20274         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20275         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20276         Likewise.
20277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20278         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20280         (makecontext): Support ELFv2 ABI.
20281         * elf/elf.h (EF_PPC64_ABI): Define.
20282
20283 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20284
20285         * sysdeps/powerpc/powerpc64/sysdep.h
20286         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20287         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20288         (ENTRY) [ASSEMBLER]: ... but instead here ...
20289         (EALIGN) [ASSEMBLER]: ... and here.
20290         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20291         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20292         (ENTRY_2) [!ASSEMBLER]: Use it.
20293         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20294         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
20295         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20296         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20297         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20299         Use PPC64_LOAD_FUNCPTR.
20300
20301         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20302
20303 2013-12-04  Alan Modra  <amodra@gmail.com>
20304
20305         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20306         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20307         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20308         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20309
20310         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20311         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20312         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20313         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20314         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20315         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20316
20317 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20318
20319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20320         (__makecontext): Fix incorrect CFI when backtracing out of
20321         context created via makecontext.
20322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20323         (__setcontext): Fix incorrect CFI during switch to new context.
20324         (__novec_setcontext): Likewise.
20325
20326 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20327
20328         [BZ #4772]
20329         * time/strptime_l.c (__strptime_internal): Allow modifiers
20330         in strptime.
20331         * time/tst-strptime.c (day_tests): Add testcase.
20332
20333 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20334
20335         * scripts/bench.pl: Skip over blank lines.
20336
20337 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20338
20339         [BZ #926]
20340         * manual/time.texi (Calendar Time): Clarify what timezone functions
20341         use.
20342
20343 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20344
20345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20346
20347 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20348
20349         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20350         implementation.
20351         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20352         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20353         * debug/memset_chk.c (__memset_chk): Likewise.
20354         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20355         * debug/strncpy_chk.c: Likewise.
20356
20357 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20358
20359         [BZ #15268]
20360         [BZ #15425]
20361         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20362         (__ieee754_exp): For possibly underflowing results, check size of
20363         result and force underflow exception if required.
20364         * math/auto-libm-test-in: Add more tests of exp.
20365         * math/auto-libm-test-out: Regenerated.
20366         * sysdeps/i386/fpu/libm-test-ulps: Update.
20367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20368
20369         [BZ #16283]
20370         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20371         * math/w_exp2f.c (__exp2f): Likewise.
20372         * math/w_exp2l.c (__exp2l): Likewise.
20373         * math/auto-libm-test-in: Do not allow missing errno on exp2
20374         underflow.
20375         * math/auto-libm-test-out: Regenerated.
20376
20377 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
20378
20379         [BZ #16274]
20380         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20381         handle filename validation.
20382         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20383         (do_open): Delete.
20384
20385 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20386
20387         [BZ #6786]
20388         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20389         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20390         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20391         <float.h>.
20392         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20393         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20394         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20395         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20396         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20397         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20398         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20399         * math/auto-libm-test-in: Don't allow missing errno from erfc.
20400         Add more erfc tests.
20401         * math/auto-libm-test-out: Regenerated.
20402         * sysdeps/i386/fpu/libm-test-ulps: Update.
20403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20404
20405         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20406         exp2, expm1, j0 and j1.
20407         * math/auto-libm-test-out: Regenerated.
20408         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20409         (erfc_test_data): Likewise.
20410         (exp_test_data): Likewise.
20411         (exp_tonearest_test_data): Likewise.
20412         (exp_towardzero_test_data): Likewise.
20413         (exp_downward_test_data): Likewise.
20414         (exp_upward_test_data): Likewise.
20415         (exp10_test_data): Likewise.
20416         (exp2_test_data): Likewise.
20417         (expm1_test_data): Likewise.
20418         (j0_test_data): Likewise.
20419         (j1_test_data): Likewise.
20420         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20421         (input_flag_type): Add flag_xfail_rounding.
20422         (input_flags): Add xfail-rounding.
20423         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20424         (output_for_one_input_case): Handle flag_xfail_rounding.
20425         * sysdeps/i386/fpu/libm-test-ulps: Update.
20426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20427
20428 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
20429
20430         [BZ #16289]
20431         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20432         division by 0.
20433
20434 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20435
20436         [BZ #16195]
20437         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20438         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20439         (STAP_PROBE0): New macro.
20440         (STAP_PROBE1): Likewise.
20441         (STAP_PROBE2): Likewise.
20442         (STAP_PROBE3): Likewise.
20443         (STAP_PROBE4): Likewise.
20444
20445 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
20446
20447         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20448
20449 2013-12-02  Steve Ellcey  <sellcey@mips.com>
20450
20451         * benchtests/Makefile (bench): Add sqrt.
20452         (LDLIBS-bench-sqrt): New.
20453         * benchtests/sqrt-input: New.
20454
20455 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
20456
20457         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20458         (GAIH_EAI): Likewise.
20459         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20460         (gaih_inet): Likewise.
20461         (getaddrinfo): Don't use GAIH_EAI.
20462
20463         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20464         (struct gaih): Remove definition.
20465
20466 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20467
20468         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20469         Use HERRNOP directly.
20470
20471 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20472
20473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20474
20475 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
20476
20477         * math/gen-auto-libm-tests.c (test_functions): Add more
20478         single-argument functions.
20479         (special_fill_pi_2): New function.
20480         (special_fill_minus_pi_2): Likewise.
20481         (special_fill_pi_6): Likewise.
20482         (special_fill_minus_pi_6): Likewise.
20483         (special_fill_pi_3): Likewise.
20484         (special_fill_2pi_3): Likewise.
20485         (special_fill_e): Likewise.
20486         (special_fill_1_e): Likewise.
20487         (special_fill_e_minus_1): Likewise.
20488         (special_real_inputs): Add more special inputs.
20489         (output_for_one_input_case): Do not require ERANGE on underflow to
20490         zero if round-to-nearest result does not underflow to zero, unless
20491         exact results required.
20492         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20493         atan, atanh, cbrt, cos and cosh.
20494         * math/auto-libm-test-out: Regenerated.
20495         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20496         (acos_tonearest_test_data): Likewise.
20497         (acos_towardzero_test_data): Likewise.
20498         (acos_downward_test_data): Likewise.
20499         (acos_upward_test_data): Likewise.
20500         (acosh_test_data): Likewise.
20501         (asin_test_data): Likewise.
20502         (asin_tonearest_test_data): Likewise.
20503         (asin_towardzero_test_data): Likewise.
20504         (asin_upward_test_data): Likewise.
20505         (asinh_test_data): Likewise.
20506         (atan_test_data): Likewise.
20507         (atanh_test_data): Likewise.
20508         (cbrt_test_data): Likewise.
20509         (cos_test_data): Likewise.
20510         (cos_tonearest_test_data): Likewise.
20511         (cos_towardzero_test_data): Likewise.
20512         (cos_downward_test_data): Likewise.
20513         (cos_upward_test_data): Likewise.
20514         (cosh_test_data): Likewise.
20515         (cosh_tonearest_test_data): Likewise.
20516         (cosh_towardzero_test_data): Likewise.
20517         (cosh_downward_test_data): Likewise.
20518         (cosh_upward_test_data): Likewise.
20519         * sysdeps/i386/fpu/libm-test-ulps: Update.
20520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20521
20522 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
20523
20524         [BZ #6787]
20525         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20526         * math/w_exp10f.c (__exp10f): Likewise.
20527         * math/w_exp10l.c (__exp10l): Likewise.
20528         * math/libm-test.inc (exp10_test_data): Add more tests and expect
20529         errno settings in existing tests.
20530
20531         [BZ #14032]
20532         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20533         precision control set to double precision.
20534         * sysdeps/i386/fpu/w_sqrt.c: New file.
20535         * math/auto-libm-test-in: Add more tests.
20536         * math/auto-libm-test-out: Update.
20537
20538         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20539         (sqrt_test_tonearest): New function.
20540         (sqrt_towardzero_test_data): New variable.
20541         (sqrt_test_towardzero): New function.
20542         (sqrt_downward_test_data): New variable.
20543         (sqrt_test_downward): New function.
20544         (sqrt_upward_test_data): New variable.
20545         (sqrt_test_upward): New function.
20546         (main): Call the new functions.
20547
20548         * math/gen-auto-libm-tests.c: New file.
20549         * math/auto-libm-test-in: Likewise.
20550         * math/auto-libm-test-out: New generated file.
20551         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20552         variables.
20553         (%beautify): Add generated representations of zero.
20554         (top level): Set $auto_input and call parse_auto_input.
20555         (beautify): Remove trailing "f" from hex float constants.
20556         (parse_args): Handle XFAIL_TEST.
20557         (convert_condition): New function.
20558         (or_value): Likewise.
20559         (or_cond_value): Likewise.
20560         (generate_testfile): Handle AUTO_TESTS_* lines.
20561         (parse_auto_input): New function.
20562         * math/libm-test.inc (XFAIL_TEST): New macro.
20563         (ERRNO_UNCHANGED): Update value.
20564         (ERRNO_EDOM): Likewise.
20565         (ERRNO_ERANGE): Likewise.
20566         (IGNORE_RESULT): Likewise.
20567         (TEST_COND_flt_32): New macro.
20568         (TEST_COND_dbl_64): Likewise.
20569         (TEST_COND_ldbl_96_intel): Likewise.
20570         (TEST_COND_ldbl_96_m68k): Likewise.
20571         (TEST_COND_ldbl_128): Likewise.
20572         (TEST_COND_ldbl_128ibm): Likewise.
20573         (TEST_COND_long32): Likewise.
20574         (TEST_COND_long64): Likewise.
20575         (TEST_COND_before_rounding): Likewise.
20576         (TEST_COND_after_rounding): Likewise.
20577         (enable_test): Handle XFAIL_TEST flag.
20578         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20579         with finite results.
20580         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20581         auto-libm-test-out.
20582
20583 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20584             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20585
20586         [BZ #16214]
20587         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20588         __tls_get_addr_internal instead of __tls_get_offset in order to
20589         avoid GOT pointer dependency.  Make rtld export
20590         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20591         __tls_get_addr since we are a __tls_get_offset platform.
20592         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20593         GOT pointer being set up before.
20594         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20595
20596 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
20597
20598         * manual/math.texi (Errors in Math Functions): Document accuracy
20599         goals.
20600
20601         [BZ #15004]
20602         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20603         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20604         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20605         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20606         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20607         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20608         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20609         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20610         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20611         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20612         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20613         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20614         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20615         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20616         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20617         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20618
20619         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20620         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20621         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20622         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20623         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20624         Likewise.
20625         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20626         Likewise.
20627         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20628         Likewise.
20629         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20630         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20631         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20632         atomic-feupdateenv and flt-rounds.
20633         * sysdeps/powerpc/nofpu/Versions (libc): Add
20634         __atomic_feholdexcept, __atomic_feclearexcept,
20635         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20636         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20637         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20638         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20639         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20640         here.
20641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20642         Update.
20643
20644         * manual/arith.texi (FP Exceptions): Document that exceptions may
20645         not be raised when matherr is used.
20646         (Math Error Reporting): Document overflow in directed rounding
20647         modes.  Document that errno may not be set when finite values are
20648         returned on overflow.  Document intent to set errno on underflow
20649         only for underflow to zero.
20650
20651         [BZ #16271]
20652         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20653         round-to-nearest then adjust result for other rounding modes.
20654         * include/fenv.h (fegetround): Use libm_hidden_proto.
20655         * math/fegetround.c (fegetround): Use libm_hidden_def.
20656         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20657         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20658         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20659         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20660         Likewise.
20661         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20662         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20663         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20664         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20665
20666 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20667
20668         [BZ #16077]
20669         * nss/Versions (libnss_files): Add
20670         _nss_files_gethostbyname3_r.
20671         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20672         New function.
20673         (HOST_DB_LOOKUP): Remove macro.
20674         (_nss_files_gethostbyname_r): Implement function without the
20675         HOST_DB_LOOKUP macro.
20676         (_nss_files_gethostbyname2_r): Likewise.
20677
20678 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
20679
20680         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20681
20682 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
20683
20684         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20685         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20686         warning.
20687
20688 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20689
20690         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20691         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20692         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20693         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20694         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20695         __fe_nomask_env_priv and attribute_hidden.
20696         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20697         (libc_feupdateenv_test_ppc): Likewise.
20698         (libc_feresetround_ppc): Likewise.
20699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20700         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20701         compat_symbol macro.
20702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20703         (__fe_nomask_env): Likewise.
20704         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20705
20706 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20707
20708         * string/Makefile: Remove ifunc tests.
20709         * string/test-string.h: Define TEST_IFUNC.
20710         * string/test-bcopy-ifunc.c: Remove.
20711         * string/test-bzero-ifunc.c: Likewise.
20712         * string/test-memccpy-ifunc.c: Likewise.
20713         * string/test-memchr-ifunc.c: Likewise.
20714         * string/test-memcmp-ifunc.c: Likewise.
20715         * string/test-memcpy-ifunc.c: Likewise.
20716         * string/test-memmem-ifunc.c: Likewise.
20717         * string/test-memmove-ifunc.c: Likewise.
20718         * string/test-mempcpy-ifunc.c: Likewise.
20719         * string/test-memrchr-ifunc.c: Likewise.
20720         * string/test-memset-ifunc.c: Likewise.
20721         * string/test-rawmemchr-ifunc.c: Likewise.
20722         * string/test-stpcpy-ifunc.c: Likewise.
20723         * string/test-stpncpy-ifunc.c: Likewise.
20724         * string/test-strcasecmp-ifunc.c: Likewise.
20725         * string/test-strcasestr-ifunc.c: Likewise.
20726         * string/test-strcat-ifunc.c: Likewise.
20727         * string/test-strchr-ifunc.c: Likewise.
20728         * string/test-strchrnul-ifunc.c: Likewise.
20729         * string/test-strcmp-ifunc.c: Likewise.
20730         * string/test-strcpy-ifunc.c: Likewise.
20731         * string/test-strcspn-ifunc.c: Likewise.
20732         * string/test-strlen-ifunc.c: Likewise.
20733         * string/test-strncasecmp-ifunc.c: Likewise.
20734         * string/test-strncat-ifunc.c: Likewise.
20735         * string/test-strncmp-ifunc.c: Likewise.
20736         * string/test-strncpy-ifunc.c: Likewise.
20737         * string/test-strnlen-ifunc.c: Likewise.
20738         * string/test-strpbrk-ifunc.c: Likewise.
20739         * string/test-strrchr-ifunc.c: Likewise.
20740         * string/test-strspn-ifunc.c: Likewise.
20741         * string/test-strstr-ifunc.c: Likewise.
20742
20743 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20744
20745         * benchtests/Makefile: Remove ifunc tests.
20746         * benchtests/bench-string.h: Define TEST_IFUNC.
20747         * benchtests/bench-bcopy-ifunc.c: Remove.
20748         * benchtests/bench-bzero-ifunc.c: Likewise.
20749         * benchtests/bench-memccpy-ifunc.c: Likewise.
20750         * benchtests/bench-memchr-ifunc.c: Likewise.
20751         * benchtests/bench-memcmp-ifunc.c: Likewise.
20752         * benchtests/bench-memcpy-ifunc.c: Likewise.
20753         * benchtests/bench-memmem-ifunc.c: Likewise.
20754         * benchtests/bench-memmove-ifunc.c: Likewise.
20755         * benchtests/bench-mempcpy-ifunc.c: Likewise.
20756         * benchtests/bench-memrchr-ifunc.c: Likewise.
20757         * benchtests/bench-memset-ifunc.c: Likewise.
20758         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20759         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20760         * benchtests/bench-stpcpy-ifunc.c: Likewise.
20761         * benchtests/bench-stpncpy-ifunc.c: Likewise.
20762         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20763         * benchtests/bench-strcasestr-ifunc.c: Likewise.
20764         * benchtests/bench-strcat-ifunc.c: Likewise.
20765         * benchtests/bench-strchr-ifunc.c: Likewise.
20766         * benchtests/bench-strchrnul-ifunc.c: Likewise.
20767         * benchtests/bench-strcmp-ifunc.c: Likewise.
20768         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20769         * benchtests/bench-strcpy-ifunc.c: Likewise.
20770         * benchtests/bench-strcspn-ifunc.c: Likewise.
20771         * benchtests/bench-strlen-ifunc.c: Likewise.
20772         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20773         * benchtests/bench-strncat-ifunc.c: Likewise.
20774         * benchtests/bench-strncmp-ifunc.c: Likewise.
20775         * benchtests/bench-strncpy-ifunc.c: Likewise.
20776         * benchtests/bench-strnlen-ifunc.c: Likewise.
20777         * benchtests/bench-strpbrk-ifunc.c: Likewise.
20778         * benchtests/bench-strrchr-ifunc.c: Likewise.
20779         * benchtests/bench-strsep-ifunc.c: Likewise.
20780         * benchtests/bench-strspn-ifunc.c: Likewise.
20781         * benchtests/bench-strstr-ifunc.c: Likewise.
20782
20783 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20784
20785         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20786
20787 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20788
20789         * resolv/netdb.h: Use __glibc_reserved instead __unused.
20790         * rt/aio.h: Likewise.
20791         * sysdeps/gnu/bits/utmp.h: Likewise.
20792         * sysdeps/gnu/bits/utmpx.h: Likewise.
20793         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20794         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20795         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20796         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20797         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20798         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20799         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20800         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20801         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20802         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20803         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20804         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20805         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20807         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20808         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20809         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20810         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20811         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20812         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20813         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20814         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20815         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20816         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20817         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20818         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20819         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20820         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20821         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20822         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20823         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20824         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20825         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20826         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20827         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20828         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20829         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20830         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20831         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20832         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20833         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20834         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20835
20836 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
20837
20838         [BZ #16245]
20839         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20840         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20841
20842 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
20843
20844         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20845         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20846         Likewise.
20847
20848 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20849
20850         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20851         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20852         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20853         (__fesetround): Remove define.
20854         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20855         rounding and exceptions handling.
20856         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20857         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20858         (__fe_nomask_env): Likewise.
20859         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20860         __fegetround instead of fegetround.
20861         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20862         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20863
20864 2013-11-21  Roland McGrath  <roland@hack.frob.com>
20865
20866         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20867         it's there.
20868
20869         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20870
20871 2013-11-21  Meador Inge  <meadori@codesourcery.com>
20872
20873         [BZ #11157]
20874         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20875         (encrypt_r): Likewise.
20876         * malloc/obstack.h (obstack_free): Likewise.
20877         * posix/unistd.h (encrypt): Likewise.
20878
20879 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
20880
20881         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20882         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20883         DL_CALL_DT_FINI() that call the functions directly.
20884         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20885         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20886         * elf/dl-fini.c: Likewise.
20887
20888 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
20889
20890         * malloc/hooks.c (memalign_check): Add alignment rounding.
20891         * malloc/malloc.c (_mid_memalign): New function.
20892         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20893         Implement by calling _mid_memalign.
20894         * manual/probes.texi (Memory Allocation Probes): Remove
20895         memory_valloc_retry and memory_pvalloc_retry.
20896
20897 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20898
20899         * locale/programs/locarchive.c (open_archive): Add const
20900         qualifier to ARCHIVEFNAME and copy default fname to
20901         DEFAULT_FNAME.
20902
20903         [BZ #15601]
20904         * libio/tst-widetext.input: Rename Oriya to Odia.
20905         * locale/iso-639.def: Likewise.
20906
20907         * manual/probes.texi (Mathematical Function Probes): Add
20908         documentation for sin, cos, asin and acos probes.
20909         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20910         (__sin32): Add slowasin probe.
20911         (__cos32): Add slowacos probe.
20912         (__mpsin): Add slowsin probe.
20913         (__mpcos): Add slowcos probe.
20914
20915 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
20916
20917         [BZ #15483]
20918         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20919         thread-local __sim_exceptions_thread and global
20920         __sim_exceptions_global.
20921         (__sim_disabled_exceptions): Change to thread-local
20922         __sim_disabled_exceptions_thread and global
20923         __sim_disabled_exceptions_global.
20924         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20925         and global __sim_round_mode_global.
20926         (__simulate_exceptions): Use thread-local floating-point state and
20927         set global state from it as needed.
20928         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20929         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20930         __sim_round_mode_thread.
20931         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20932         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20933         and global __sim_exceptions_global.
20934         (__sim_disabled_exceptions): Change to thread-local
20935         __sim_disabled_exceptions_thread and global
20936         __sim_disabled_exceptions_global.
20937         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20938         and global __sim_round_mode_global.
20939         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20940         (SIM_SET_GLOBAL): Likewise.
20941         * sysdeps/powerpc/soft-fp/sfp-machine.h
20942         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20943         __sim_round_mode_thread.
20944         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20945         __sim_disabled_exceptions_thread.
20946         (__sim_exceptions): Change to __sim_exceptions_thread.
20947         (__sim_disabled_exceptions): Change to
20948         __sim_disabled_exceptions_thread.
20949         (__sim_round_mode): Change to __sim_round_mode_thread.
20950         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20951         thread-local floating-point state and set global state from it as
20952         needed.
20953         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20954         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20955         (__sim_disabled_exceptions): Remove extern declaration.
20956         (feenableexcept): Use thread-local floating-point state and set
20957         global state from it as needed.
20958         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20959         extern declaration.
20960         (__sim_disabled_exceptions): Likewise.
20961         (__sim_round_mode): Likewise.
20962         (__fegetenv): Use thread-local floating-point state.
20963         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20964         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20965         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20966         floating-point state and set global state from it as needed.
20967         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20968         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20969         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20970         Likewise.
20971         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20972         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20973         Likewise.
20974         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20975         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20976         Use __sim_round_mode_thread.
20977         * math/test-fenv-tls.c: New file.
20978         * math/Makefile (tests): Add test-fenv-tls.
20979         ($(objpfx)test-fenv-tls): Depend on
20980         $(common-objpfx)nptl/libpthread.so.
20981
20982 2013-11-19  Andreas Schwab  <schwab@suse.de>
20983
20984         * locale/programs/locale.c (show_info): Decode wordarray elements.
20985         * locale/categories.def (LC_MONETARY): Add element for
20986         _NL_MONETARY_CRNCYSTR.
20987         * locale/C-monetary.c (conversion_rate): New variable.
20988         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20989         element.
20990
20991 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
20992
20993         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20994         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20995
20996 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20997
20998         * elf/Makefile (tst-auxv): New test.
20999         * elf/tst-auxv.c: New
21000         * elf/rtld.c (dl_main): Adjust AT_EXECFN
21001
21002 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
21003
21004         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21005         (hidden_proto): Caller changed.
21006         (hidden_tls_proto): New macro.
21007         (libc_hidden_tls_proto): Likewise.
21008         (rtld_hidden_tls_proto): Likewise.
21009         (libm_hidden_tls_proto): Likewise.
21010         (libresolv_hidden_tls_proto): Likewise.
21011         (librt_hidden_tls_proto): Likewise.
21012         (libdl_hidden_tls_proto): Likewise.
21013         (libnss_files_hidden_tls_proto): Likewise.
21014         (libnsl_hidden_tls_proto): Likewise.
21015         (libnss_nisplus_hidden_tls_proto): Likewise.
21016         (libutil_hidden_tls_proto): Likewise.
21017
21018 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
21019
21020         [BZ #10253]
21021         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21022         (decompose_rpath): Defer expansion to fillin_rpath.
21023         (_dl_init_paths): Pass linkmap to fillin_rpath.
21024
21025 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21026
21027         * benchtests/Makefile: Add strsep.
21028         * benchtests/bench-strsep.c: New file: strsep benchtest.
21029         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21030
21031 2013-11-18  Andreas Schwab  <schwab@suse.de>
21032
21033         * locale/programs/locale.c (show_info) [case byte]: Check for
21034         '\377' instead of '\177'.
21035         * locale/C-monetary.c (not_available): Always use "\377".
21036         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21037         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
21038         detect unavailable sign_posn locale elements.
21039         * locale/localeconv.c (__localeconv): For grouping and
21040         mon_grouping handle "\177" and "\377" like no grouping.
21041         (INT_ELEM): New macro.  Use it to set all numeric members.
21042         * locale/programs/ld-monetary.c (monetary_read)
21043         <tok_mon_grouping>: Normalize single -1 to the empty string.
21044         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21045         Likewise.
21046
21047 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21048
21049         [BZ #16055]
21050         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21051         when we match (nil).
21052         * stdio-common/tst-sscanf.c (struct test): Add testcase.
21053
21054 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
21055
21056         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21057         (NO_TEST_INLINE): Update value.
21058         (ERRNO_UNCHANGED): Likewise.
21059         (ERRNO_EDOM): Likewise.
21060         (ERRNO_ERANGE): Likewise.
21061         (IGNORE_RESULT): Likewise.
21062         (check_float_internal): Check signs of NaN results if
21063         TEST_NAN_SIGN used.
21064         (check_complex): Pass TEST_NAN_SIGN flag through to second
21065         check_float_internal call.
21066         (copysign_test_data): Add tests with quiet NaNs as second
21067         argument.  Use TEST_NAN_SIGN.
21068         (fabs_test_data): Add test of negative quiet NaN argument.  Use
21069         TEST_NAN_SIGN.
21070         (signbit_test_data): Add tests of quiet NaN argument.
21071         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21072
21073         * math/gen-libm-test.pl (show_exceptions): Take extra argument
21074         $ignore_result.
21075         (parse_args): Handle function results specified as IGNORE.
21076         * math/libm-test.inc (IGNORE_RESULT): New macro.
21077         (check_float_internal): Do not check numerical result if flag
21078         IGNORE_RESULT set.
21079         (check_complex): Pass through IGNORE_RESULT to second
21080         check_float_internal call.
21081         (check_int): Do not check numerical result if flag IGNORE_RESULT
21082         set.
21083         (check_long): Likewise.
21084         (check_bool): Likewise.
21085         (check_longlong): Likewise.
21086         (lrint_test_data): Add tests of infinite and NaN arguments.
21087         (lrint_tonearest_test_data): Likewise.
21088         (lrint_towardzero_test_data): Likewise.
21089         (lrint_downward_test_data): Likewise.
21090         (lrint_upward_test_data): Likewise.
21091         (llrint_test_data): Likewise.
21092         (llrint_tonearest_test_data): Likewise.
21093         (llrint_towardzero_test_data): Likewise.
21094         (llrint_downward_test_data): Likewise.
21095         (llrint_upward_test_data): Likewise.
21096         (lround_test_data): Likewise.
21097         (llround_test_data): Likewise.
21098
21099         * math/libm-test.inc (NO_TEST_INLINE): New macro.
21100         (ERRNO_UNCHANGED): Update value.
21101         (ERRNO_EDOM): Likewise.
21102         (ERRNO_ERANGE): Likewise.
21103         (NO_TEST_INLINE_FLOAT): New macro.
21104         (NO_TEST_INLINE_DOUBLE): Likewise.
21105         (enable_test): New function.
21106         (RUN_TEST_f_f): Check enable_test before running test.
21107         (RUN_TEST_2_f): Likewise.
21108         (RUN_TEST_fff_f): Likewise.
21109         (RUN_TEST_c_f): Likewise.
21110         (RUN_TEST_f_f1): Likewise.
21111         (RUN_TEST_fF_f1): Likewise.
21112         (RUN_TEST_fI_f1): Likewise.
21113         (RUN_TEST_ffI_f1): Likewise.
21114         (RUN_TEST_c_c): Likewise.
21115         (RUN_TEST_cc_c): Likewise.
21116         (RUN_TEST_f_i): Likewise.
21117         (RUN_TEST_f_i_tg): Likewise.
21118         (RUN_TEST_ff_i_tg): Likewise.
21119         (RUN_TEST_f_b): Likewise.
21120         (RUN_TEST_f_b_tg): Likewise.
21121         (RUN_TEST_f_l): Likewise.
21122         (RUN_TEST_f_L): Likewise.
21123         (RUN_TEST_fFF_11): Likewise.
21124         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21125         conditionals.
21126         (cosh_test_data): Likewise.
21127         (exp_test_data): Likewise.
21128         (expm1_test_data): Likewise.
21129         (hypot_test_data): Likewise.
21130         (pow_test_data): Likewise.
21131         (sinh_test_data): Likewise.
21132         (tanh_test_data): Likewise.
21133         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21134         flags argument.
21135
21136         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21137         tests with quiet NaN input and output.
21138         (acosh_test_data): Likewise.
21139         (asin_test_data): Likewise.
21140         (asinh_test_data): Likewise.
21141         (atan_test_data): Likewise.
21142         (atanh_test_data): Likewise.
21143         (atan2_test_data): Likewise.
21144         (cbrt_test_data): Likewise.
21145         (cos_test_data): Likewise.
21146         (cosh_test_data): Likewise.
21147         (erf_test_data): Likewise.
21148         (erfc_test_data): Likewise.
21149         (exp_test_data): Likewise.
21150         (exp10_test_data): Likewise.
21151         (exp2_test_data): Likewise.
21152         (expm1_test_data): Likewise.
21153         (hypot_test_data): Likewise.
21154         (j0_test_data): Likewise.
21155         (j1_test_data): Likewise.
21156         (jn_test_data): Likewise.
21157         (lgamma_test_data): Likewise.
21158         (log_test_data): Likewise.
21159         (log10_test_data): Likewise.
21160         (log1p_test_data): Likewise.
21161         (log2_test_data): Likewise.
21162         (pow_test_data): Likewise.
21163         (scalb_test_data): Likewise.
21164         (sin_test_data): Likewise.
21165         (sincos_test_data): Likewise.
21166         (sinh_test_data): Likewise.
21167         (tan_test_data): Likewise.
21168         (tanh_test_data): Likewise.
21169         (tgamma_test_data): Likewise.
21170         (y0_test_data): Likewise.
21171         (y1_test_data): Likewise.
21172         (yn_test_data): Likewise.
21173
21174         [BZ #16167]
21175         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21176         argument being NaN and avoid computations with second argument in
21177         that case.
21178         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21179         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21180         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21181
21182 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
21183
21184         * locale/iso-639.def: Add Chitwani Tharu (the).
21185
21186 2013-11-14  Andreas Schwab  <schwab@suse.de>
21187
21188         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21189         word instead of empty string.
21190
21191 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21192
21193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21194         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21196         (__fe_nomask_env): Likewise.
21197
21198 2013-11-13  Steve Ellcey  <sellcey@mips.com>
21199
21200         * benchtests/bench-timing.h: Include time.h.
21201
21202 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
21203
21204         [BZ #15997]
21205         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21206         to 3.4.0 for x32.
21207         * sysdeps/unix/sysv/linux/configure: Regenerated.
21208
21209 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
21210
21211         [BZ #16151]
21212         * stdlib/strtod_l.c (round_and_return): Do not consider
21213         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21214         exponent one less than half the least subnormal exponent.
21215         * stdlib/test-strtod-round-data: Add more tests.
21216         * stdlib/tst-strtod-round.c (tests): Regenerated.
21217
21218 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21219
21220         [BZ #14143]
21221         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21222         (__fe_mask_env): Likewise.
21223         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21224         libm_hidden_proto and add function prototype.
21225         (__fe_mask_env): Add function prototype.
21226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21227         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21229         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21231         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21232
21233 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21234
21235         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21236         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21237
21238 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21239
21240         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21241         of htab_find_slot().
21242
21243 2013-11-11  David S. Miller  <davem@davemloft.net>
21244
21245         [BZ #16150]
21246         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21247         symbol in the non-vis3 case in static builds.
21248         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21249         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21250         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21251         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21252
21253 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
21254
21255         [BZ #387]
21256         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21257         it is empty.
21258
21259 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21260
21261         * benchtests/Makefile: Add bench-strtod.
21262         * benchtests/bench-strtod.c: New file: strtod benchtest
21263
21264 2013-11-11  Andreas Schwab  <schwab@suse.de>
21265
21266         [BZ #16153]
21267         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21268         terminating NUL in key length.
21269
21270 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21271
21272         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21273         Add artificial ODP entry for vDSO symbol for PPC64.
21274         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21275         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21276
21277 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21278
21279         [BZ #15374]
21280         * nss/getent.c (services_keys): Recognize services starting with digit.
21281
21282 2013-11-06  David S. Miller  <davem@davemloft.net>
21283
21284         [BZ #15985]
21285         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21286         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21287
21288 2013-11-06  Will Newton  <will.newton@linaro.org>
21289
21290         * manual/memory.texi (Malloc Examples): Remove register
21291         keyword from examples.
21292
21293 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
21294
21295         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21296
21297 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
21298
21299         [BZ #6981]
21300         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21301         depending on [__GCC_IEC_559 > 0].
21302         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21303         depending on [__GCC_IEC_559_COMPLEX > 0].
21304
21305 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
21306
21307         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21308         to iso-639.def.
21309
21310 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
21311
21312         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21313
21314 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
21315
21316         [BZ #16112]
21317         * malloc/malloc (malloc_info): Do not handle first bin as
21318         special case.
21319
21320 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
21321
21322         * locale/iso-639.def: Add Central Nahuatl (nhn).
21323
21324 2013-11-01  Bruno Haible  <bruno@clisp.org>
21325
21326         [BZ #7003]
21327         * manual/math.texi (BSD Random): Specify range upper bound as
21328         in POSIX.
21329
21330 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
21331
21332         * locale/iso-639.def: Add Meadow Mari (mhr).
21333
21334 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
21335
21336         [BZ #14752], [BZ #15763]
21337         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21338         Validate name.
21339         * rt/tst_shm.c: Add test for escaping directory.
21340
21341 2013-10-31  Andreas Schwab  <schwab@suse.de>
21342
21343         [BZ #15917]
21344         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21345         followed by 'x' as part of digit sequence.
21346         * stdio-common/tst-sscanf.c (double_tests2): New tests.
21347
21348 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21349
21350         [BZ #16037]
21351         * configure.ac: allow GNU Make 4.0 and greater.
21352         * configure: Regenerated.
21353
21354 2013-10-30  Will Newton  <will.newton@linaro.org>
21355
21356         [BZ #16038]
21357         * malloc/hooks.c (memalign_check): Limit alignment to the
21358         maximum representable power of two.
21359         * malloc/malloc.c (__libc_memalign): Likewise.
21360         * malloc/tst-memalign.c (do_test): Add test for very
21361         large alignment values.
21362         * malloc/tst-posix_memalign.c (do_test): Likewise.
21363
21364 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21365
21366         [BZ #11087]
21367         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21368         (munmap_chunk): Likewise.
21369         (mremap_chunk): Likewise.
21370
21371 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21372
21373         [BZ #15799]
21374         * stdlib/div.c (div): Remove obsolete code.
21375         * stdlib/ldiv.c (ldiv): Likewise.
21376         * stdlib/lldiv.c (lldiv): Likewise.
21377
21378 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21379
21380         [BZ #16071]
21381         * nss/nss_files/files-XXX.c (get_contents_ret): New
21382         enumerator.
21383         (get_contents): New function.
21384         (internal_getent): Use it.  Expand size of LINEBUFLEN.
21385
21386 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
21387
21388         * configure.in: Moved to ...
21389         * configure.ac: ... here. Change reference to configure.in
21390         to configure.ac.
21391         * sysdeps/arm/preconfigure.ac: ... here.
21392         configure.in to configure.ac.
21393         * sysdeps/gnu/configure.in: Moved to ...
21394         * sysdeps/gnu/configure.ac: ... here.
21395         * sysdeps/i386/configure.in: Moved to ...
21396         * sysdeps/i386/configure.ac: ... here.
21397         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21398         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21399         * sysdeps/mach/configure.in: Moved to ...
21400         * sysdeps/mach/configure.ac: ... here.
21401         * sysdeps/mach/hurd/configure.in: Moved to ...
21402         * sysdeps/mach/hurd/configure.ac: ... here.
21403         * sysdeps/powerpc/configure.in: Moved to ...
21404         * sysdeps/powerpc/configure.ac: ... here.
21405         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21406         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21407         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21408         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21409         * sysdeps/s390/s390-32/configure.in: Moved to ...
21410         * sysdeps/s390/s390-32/configure.ac: ... here.
21411         * sysdeps/s390/s390-64/configure.in: Moved to ...
21412         * sysdeps/s390/s390-64/configure.ac: ... here.
21413         * sysdeps/sh/configure.in: Moved to ...
21414         * sysdeps/sh/configure.ac: ... here.
21415         * sysdeps/sparc/configure.in: Moved to ...
21416         * sysdeps/sparc/configure.ac: ... here.
21417         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21418         * sysdeps/unix/sysv/linux/configure.ac: ... here.
21419         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21420         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21421         * sysdeps/x86_64/configure.in: Moved to ...
21422         * sysdeps/x86_64/configure.ac: ... here.
21423         * sysdeps/x86_64/preconfigure.in: Moved to ...
21424         * sysdeps/x86_64/preconfigure.ac: ... here.
21425         * aclocal.m4: Change reference to configure.in to configure.ac.
21426         * config.h.in: Likewise.
21427         * manual/install.texi: Likewise.
21428         * manual/maint.texi: Likewise.
21429         * Makefile: Likewise.
21430         * malloc/Makefile: Likewise.
21431         * nscd/Makefile: Likewise.
21432         * Makeconfig: Change reference to configure.in and
21433         preconfigure.in to configure.ac and preconfigure.ac
21434         respectively.
21435         * INSTALL: Regenerated.
21436         * configure: Likewise.
21437         * sysdeps/gnu/configure: Likewise.
21438         * sysdeps/i386/configure: Likewise.
21439         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21440         * sysdeps/mach/configure: Likewise.
21441         * sysdeps/mach/hurd/configure: Likewise.
21442         * sysdeps/powerpc/configure: Likewise.
21443         * sysdeps/powerpc/powerpc32/configure: Likewise.
21444         * sysdeps/powerpc/powerpc64/configure: Likewise.
21445         * sysdeps/s390/s390-32/configure: Likewise.
21446         * sysdeps/s390/s390-64/configure: Likewise.
21447         * sysdeps/sh/configure: Likewise.
21448         * sysdeps/sparc/configure: Likewise.
21449         * sysdeps/unix/sysv/linux/configure: Likewise.
21450         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21451         * sysdeps/x86_64/configure: Likewise.
21452         * sysdeps/x86_64/preconfigure: Likewise.
21453
21454 2013-10-29  Andreas Schwab  <schwab@suse.de>
21455
21456         * stdio-common/Makefile (tst-swscanf-ENV): Define.
21457
21458 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21459
21460         * benchtests/pow-inputs: Add new inputs.
21461
21462         * benchtests/exp-inputs: Add new inputs.
21463
21464         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21465         conditional check for return value.
21466         (__cos32): Likewise.
21467
21468 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21469
21470         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21471         to provide a boost for large inputs with word alignment.
21472         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21473         implementation based on optimized PPC64 strcpy.
21474         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21475         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21476         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21477         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21478
21479 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21480
21481         [BZ #2801]
21482         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21483
21484 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21485
21486         [BZ #14876]
21487         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21488         * time/tst-strptime.c (day_tests): Add testcase.
21489
21490 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21491
21492         [BZ #14029]
21493         * manual/pattern.texi: Acknowledge that fnmatch can fail.
21494
21495 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
21496
21497         [BZ #16074]
21498         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21499         MAP_FAILED on error.
21500
21501 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21502
21503         [BZ #16072]
21504         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21505         heap for large requests.
21506
21507 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
21508
21509         [BZ #9954]
21510         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21511         result if the result has no associated interface.
21512         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21513         interface for all 127.X.Y.Z addresses.
21514
21515 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
21516
21517         * locale/iso-639.def: Add Ligurian (lij)
21518
21519 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
21520
21521         [BZ #15825]
21522         * sunrpc/rpc_main.c: Document rpcgen -5.
21523
21524 2013-10-19  Michael Stahl  <mstahl@redhat.com>
21525
21526         * elf/rtld.c (do_preload): Print the reason why preloading failed.
21527
21528 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21529
21530         [BZ #10278]
21531         * posix/glob.c: Match only directories when trailing slash is present.
21532         * posix/tst-gnuglob.c (my_opendir): Do not open files.
21533         (main): Add testcase.
21534
21535 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21536
21537         [BZ #15670]
21538         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21539
21540 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
21541
21542         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21543         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21544         AUTH_DES and cindex for FIPS 140-2.
21545         (DES Encryption): Add cindex FIPS 46-3.
21546
21547         * locale/locarchive.h (struct locarhandle): Add fname.
21548         * locale/programs/localedef.c (main): Pass ARGV[remaining]
21549         if an optional argument was specified to --list-archive,
21550         otherwise NULL.
21551         * locale/programs/locarchive.c (show_archive_content): Take new
21552         argument fname and pass it via ah.fname to open_archive.
21553         * locale/programs/localedef.h: Update decl.
21554         (open_archive): If AH->fname is non-null, open that file
21555         rather than the default file name, and don't ignore ENOENT.
21556         (create_archive): Set AH.fname to NULL.
21557         (delete_locales_from_archive): Likewise.
21558         (add_locales_to_archive): Likewise.
21559         * locale/programs/locfile.c (write_all_categories): Likewise.
21560
21561 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
21562             Aldy Hernandez  <aldyh@redhat.com>
21563
21564         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21565         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21566         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21567         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21568         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21569         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21570         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21571         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21572         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21573         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21574         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21575         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21576         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21577         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21578         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21579         Likewise.
21580         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21581         Likewise.
21582         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21583         Likewise.
21584         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21585         Likewise.
21586         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21587         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21588         Likewise.
21589         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21590         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21591         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21592         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21593         Likewise.
21594         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21595         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21596         * sysdeps/powerpc/preconfigure: Likewise.
21597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21598         Likewise.
21599         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21600         Replace contents of file by #include of <fenv_libc.h>.
21601         * sysdeps/powerpc/soft-fp/sfp-machine.h
21602         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21603         and <sys/prctl.h>.
21604         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21605         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21606         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21607         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21608         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21609         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21610         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21611         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21612         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21613         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21614         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21615         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21617         Allow copysignl PLT reference to be missing.
21618
21619 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
21620             Joseph Myers  <joseph@codesourcery.com
21621
21622         [BZ #15948]
21623         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21624         single character.
21625         (add_to_tablewc): Assert sequence of wide characters is nonempty.
21626
21627 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21628
21629         * elf/tst-tls-dlinfo.c: Don't include tls.h.
21630         * elf/tst-tls1.c: Likewise.
21631         * elf/tst-tls10.h: Likewise.
21632         * elf/tst-tls14.c: Likewise.
21633         * elf/tst-tls2.c: Likewise.
21634         * elf/tst-tls3.c: Likewise.
21635         * elf/tst-tls4.c: Likewise.
21636         * elf/tst-tls5.c: Likewise.
21637         * elf/tst-tls6.c: Likewise.
21638         * elf/tst-tls7.c: Likewise.
21639         * elf/tst-tls8.c: Likewise.
21640         * elf/tst-tls9.c: Likewise.
21641         * elf/tst-tlsmod1.c: Likewise.
21642         * elf/tst-tlsmod13.c: Likewise.
21643         * elf/tst-tlsmod13a.c: Likewise.
21644         * elf/tst-tlsmod14a.c: Likewise.
21645         * elf/tst-tlsmod16a.c: Likewise.
21646         * elf/tst-tlsmod16b.c: Likewise.
21647         * elf/tst-tlsmod2.c: Likewise.
21648         * elf/tst-tlsmod3.c: Likewise.
21649         * elf/tst-tlsmod4.c: Likewise.
21650         * elf/tst-tlsmod5.c: Likewise.
21651         * elf/tst-tlsmod6.c: Likewise.
21652
21653 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
21654
21655         [BZ #12486]
21656         * malloc/malloc.c: remove checks for statistics.
21657
21658 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21659
21660         [BZ #15277]
21661         * inet/inet_net.c (inet_network): Detect additional invalid strings.
21662         * inet/tst-network.c: Add testcase.
21663
21664 2013-10-17  Andreas Schwab  <schwab@suse.de>
21665
21666         [BZ #15218]
21667         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21668         to determine canonical name.
21669
21670 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21671
21672         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21673         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21674         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21675         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21676         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21677         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21678         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21679         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21680         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21681         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21682         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21683         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21684         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21685         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21686         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21687         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21688         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21689         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21690         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21691         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21692         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21693         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21694         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21695         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21696         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21697         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21698         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21699         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21700         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21701         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21702         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21703         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21704         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21705         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21706         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21707         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21708         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21709         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21710         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21711         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21712         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21713         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21714         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21715         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21716         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21717         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21718         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21719         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21720         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21721         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21722         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21723         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21724         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21725         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21726         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21727         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21728         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21729         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21730
21731 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
21732
21733         [BZ #16041]
21734         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21735         make result into a quiet NaN.
21736
21737 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
21738
21739         * soft-fp/adddf3.c: Fix horizontal whitespace.
21740         * soft-fp/addsf3.c: Likewise.
21741         * soft-fp/addtf3.c: Likewise.
21742         * soft-fp/divdf3.c: Likewise.
21743         * soft-fp/divsf3.c: Likewise.
21744         * soft-fp/divtf3.c: Likewise.
21745         * soft-fp/double.h: Likewise.
21746         * soft-fp/eqdf2.c: Likewise.
21747         * soft-fp/eqsf2.c: Likewise.
21748         * soft-fp/eqtf2.c: Likewise.
21749         * soft-fp/extenddftf2.c: Likewise.
21750         * soft-fp/extended.h: Likewise.
21751         * soft-fp/extendsfdf2.c: Likewise.
21752         * soft-fp/extendsftf2.c: Likewise.
21753         * soft-fp/extendxftf2.c: Likewise.
21754         * soft-fp/fixdfdi.c: Likewise.
21755         * soft-fp/fixdfsi.c: Likewise.
21756         * soft-fp/fixdfti.c: Likewise.
21757         * soft-fp/fixsfdi.c: Likewise.
21758         * soft-fp/fixsfsi.c: Likewise.
21759         * soft-fp/fixsfti.c: Likewise.
21760         * soft-fp/fixtfdi.c: Likewise.
21761         * soft-fp/fixtfsi.c: Likewise.
21762         * soft-fp/fixtfti.c: Likewise.
21763         * soft-fp/fixunsdfdi.c: Likewise.
21764         * soft-fp/fixunsdfsi.c: Likewise.
21765         * soft-fp/fixunsdfti.c: Likewise.
21766         * soft-fp/fixunssfdi.c: Likewise.
21767         * soft-fp/fixunssfsi.c: Likewise.
21768         * soft-fp/fixunssfti.c: Likewise.
21769         * soft-fp/fixunstfdi.c: Likewise.
21770         * soft-fp/fixunstfsi.c: Likewise.
21771         * soft-fp/fixunstfti.c: Likewise.
21772         * soft-fp/floatdidf.c: Likewise.
21773         * soft-fp/floatdisf.c: Likewise.
21774         * soft-fp/floatditf.c: Likewise.
21775         * soft-fp/floatsidf.c: Likewise.
21776         * soft-fp/floatsisf.c: Likewise.
21777         * soft-fp/floatsitf.c: Likewise.
21778         * soft-fp/floattidf.c: Likewise.
21779         * soft-fp/floattisf.c: Likewise.
21780         * soft-fp/floattitf.c: Likewise.
21781         * soft-fp/floatundidf.c: Likewise.
21782         * soft-fp/floatundisf.c: Likewise.
21783         * soft-fp/floatunditf.c: Likewise.
21784         * soft-fp/floatunsidf.c: Likewise.
21785         * soft-fp/floatunsisf.c: Likewise.
21786         * soft-fp/floatunsitf.c: Likewise.
21787         * soft-fp/floatuntidf.c: Likewise.
21788         * soft-fp/floatuntisf.c: Likewise.
21789         * soft-fp/floatuntitf.c: Likewise.
21790         * soft-fp/fmadf4.c: Likewise.
21791         * soft-fp/fmasf4.c: Likewise.
21792         * soft-fp/fmatf4.c: Likewise.
21793         * soft-fp/gedf2.c: Likewise.
21794         * soft-fp/gesf2.c: Likewise.
21795         * soft-fp/getf2.c: Likewise.
21796         * soft-fp/ledf2.c: Likewise.
21797         * soft-fp/lesf2.c: Likewise.
21798         * soft-fp/letf2.c: Likewise.
21799         * soft-fp/muldf3.c: Likewise.
21800         * soft-fp/mulsf3.c: Likewise.
21801         * soft-fp/multf3.c: Likewise.
21802         * soft-fp/negdf2.c: Likewise.
21803         * soft-fp/negsf2.c: Likewise.
21804         * soft-fp/negtf2.c: Likewise.
21805         * soft-fp/op-1.h: Likewise.
21806         * soft-fp/op-2.h: Likewise.
21807         * soft-fp/op-4.h: Likewise.
21808         * soft-fp/op-8.h: Likewise.
21809         * soft-fp/op-common.h: Likewise.
21810         * soft-fp/quad.h: Likewise.
21811         * soft-fp/single.h: Likewise.
21812         * soft-fp/soft-fp.h: Likewise.
21813         * soft-fp/sqrtdf2.c: Likewise.
21814         * soft-fp/sqrtsf2.c: Likewise.
21815         * soft-fp/sqrttf2.c: Likewise.
21816         * soft-fp/subdf3.c: Likewise.
21817         * soft-fp/subsf3.c: Likewise.
21818         * soft-fp/subtf3.c: Likewise.
21819         * soft-fp/truncdfsf2.c: Likewise.
21820         * soft-fp/trunctfdf2.c: Likewise.
21821         * soft-fp/trunctfsf2.c: Likewise.
21822         * soft-fp/trunctfxf2.c: Likewise.
21823         * soft-fp/unorddf2.c: Likewise.
21824         * soft-fp/unordsf2.c: Likewise.
21825         * soft-fp/unordtf2.c: Likewise.
21826
21827 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
21828
21829         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21830         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21831
21832 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
21833
21834         * elf/dl-libc.c: Clear initfini list after freeing.
21835
21836 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
21837
21838         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21839         * soft-fp/addsf3.c: Likewise.
21840         * soft-fp/addtf3.c: Likewise.
21841         * soft-fp/divdf3.c: Likewise.
21842         * soft-fp/divsf3.c: Likewise.
21843         * soft-fp/divtf3.c: Likewise.
21844         * soft-fp/double.h: Likewise.
21845         * soft-fp/eqdf2.c: Likewise.
21846         * soft-fp/eqsf2.c: Likewise.
21847         * soft-fp/eqtf2.c: Likewise.
21848         * soft-fp/extenddftf2.c: Likewise.
21849         * soft-fp/extended.h: Likewise.
21850         * soft-fp/extendsfdf2.c: Likewise.
21851         * soft-fp/extendsftf2.c: Likewise.
21852         * soft-fp/extendxftf2.c: Likewise.
21853         * soft-fp/fixdfdi.c: Likewise.
21854         * soft-fp/fixdfsi.c: Likewise.
21855         * soft-fp/fixdfti.c: Likewise.
21856         * soft-fp/fixsfdi.c: Likewise.
21857         * soft-fp/fixsfsi.c: Likewise.
21858         * soft-fp/fixsfti.c: Likewise.
21859         * soft-fp/fixtfdi.c: Likewise.
21860         * soft-fp/fixtfsi.c: Likewise.
21861         * soft-fp/fixtfti.c: Likewise.
21862         * soft-fp/fixunsdfdi.c: Likewise.
21863         * soft-fp/fixunsdfsi.c: Likewise.
21864         * soft-fp/fixunsdfti.c: Likewise.
21865         * soft-fp/fixunssfdi.c: Likewise.
21866         * soft-fp/fixunssfsi.c: Likewise.
21867         * soft-fp/fixunssfti.c: Likewise.
21868         * soft-fp/fixunstfdi.c: Likewise.
21869         * soft-fp/fixunstfsi.c: Likewise.
21870         * soft-fp/fixunstfti.c: Likewise.
21871         * soft-fp/floatdidf.c: Likewise.
21872         * soft-fp/floatdisf.c: Likewise.
21873         * soft-fp/floatditf.c: Likewise.
21874         * soft-fp/floatsidf.c: Likewise.
21875         * soft-fp/floatsisf.c: Likewise.
21876         * soft-fp/floatsitf.c: Likewise.
21877         * soft-fp/floattidf.c: Likewise.
21878         * soft-fp/floattisf.c: Likewise.
21879         * soft-fp/floattitf.c: Likewise.
21880         * soft-fp/floatundidf.c: Likewise.
21881         * soft-fp/floatundisf.c: Likewise.
21882         * soft-fp/floatunsidf.c: Likewise.
21883         * soft-fp/floatunsisf.c: Likewise.
21884         * soft-fp/floatuntidf.c: Likewise.
21885         * soft-fp/floatuntisf.c: Likewise.
21886         * soft-fp/floatuntitf.c: Likewise.
21887         * soft-fp/fmadf4.c: Likewise.
21888         * soft-fp/fmasf4.c: Likewise.
21889         * soft-fp/fmatf4.c: Likewise.
21890         * soft-fp/gedf2.c: Likewise.
21891         * soft-fp/gesf2.c: Likewise.
21892         * soft-fp/getf2.c: Likewise.
21893         * soft-fp/ledf2.c: Likewise.
21894         * soft-fp/lesf2.c: Likewise.
21895         * soft-fp/letf2.c: Likewise.
21896         * soft-fp/muldf3.c: Likewise.
21897         * soft-fp/mulsf3.c: Likewise.
21898         * soft-fp/multf3.c: Likewise.
21899         * soft-fp/negdf2.c: Likewise.
21900         * soft-fp/negsf2.c: Likewise.
21901         * soft-fp/negtf2.c: Likewise.
21902         * soft-fp/op-1.h: Likewise.
21903         * soft-fp/op-2.h: Likewise.
21904         * soft-fp/op-4.h: Likewise.
21905         * soft-fp/op-8.h: Likewise.
21906         * soft-fp/op-common.h: Likewise.
21907         * soft-fp/quad.h: Likewise.
21908         * soft-fp/single.h: Likewise.
21909         * soft-fp/soft-fp.h: Likewise.
21910         * soft-fp/sqrtdf2.c: Likewise.
21911         * soft-fp/sqrtsf2.c: Likewise.
21912         * soft-fp/sqrttf2.c: Likewise.
21913         * soft-fp/subdf3.c: Likewise.
21914         * soft-fp/subsf3.c: Likewise.
21915         * soft-fp/subtf3.c: Likewise.
21916         * soft-fp/truncdfsf2.c: Likewise.
21917         * soft-fp/trunctfdf2.c: Likewise.
21918         * soft-fp/trunctfsf2.c: Likewise.
21919         * soft-fp/trunctfxf2.c: Likewise.
21920         * soft-fp/unorddf2.c: Likewise.
21921         * soft-fp/unordsf2.c: Likewise.
21922         * soft-fp/unordtf2.c: Likewise.
21923
21924 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
21925
21926         [BZ #15672]
21927         * misc/error.c (error_tail): Fix possible buffer overflow.
21928
21929 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
21930
21931         [BZ #13028]
21932         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21933         address.
21934
21935 2013-10-14  P. J. McDermott  <pj@pehjota.net>
21936
21937         [BZ #832]
21938         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
21939         testing pipefail option.
21940
21941 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21942
21943         * soft-fp/double.h: Indent preprocessor directives inside #if.
21944         * soft-fp/extended.h: Likewise.
21945         * soft-fp/op-2.h: Likewise.
21946         * soft-fp/op-4.h: Likewise.
21947         * soft-fp/op-common.h: Likewise.
21948         * soft-fp/quad.h: Likewise.
21949         * soft-fp/single.h: Likewise.
21950         * soft-fp/soft-fp.h: Likewise.
21951
21952 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
21953
21954         * iconv/iconv_prog.c: Fix typos.
21955         * stdio-common/psiginfo-data.h: Likewise.
21956
21957 2013-10-12   Reuben Thomas <rrt@sc3d.org>
21958
21959         [BZ #15764]
21960         * locale/setlocale.c: Fix typo.
21961
21962 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21963
21964         [BZ #16036]
21965         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21966         signaling NaN arguments.
21967         * soft-fp/unordsf2.c (__unordsf2): Likewise.
21968         * soft-fp/unordtf2.c (__unordtf2): Likewise.
21969
21970         [BZ #14910]
21971         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21972         unordered operands.
21973         * soft-fp/gesf2.c (__gesf2): Likewise.
21974         * soft-fp/getf2.c (__getf2): Likewise.
21975         * soft-fp/ledf2.c (__ledf2): Likewise.
21976         * soft-fp/lesf2.c (__lesf2): Likewise.
21977         * soft-fp/letf2.c (__letf2): Likewise.
21978
21979         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21980         * soft-fp/eqsf2.c (__eqsf2): Likewise.
21981         * soft-fp/eqtf2.c (__eqtf2): Likewise.
21982         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21983         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21984         * soft-fp/fixdfti.c (__fixdfti): Likewise.
21985         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21986         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21987         * soft-fp/fixsfti.c (__fixsfti): Likewise.
21988         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21989         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21990         * soft-fp/fixtfti.c (__fixtfti): Likewise.
21991         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21992         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21993         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21994         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21995         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21996         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21997         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21998         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21999         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22000         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22001         * soft-fp/floatdisf.c (__floatdisf): Likewise.
22002         * soft-fp/floatsisf.c (__floatsisf): Likewise.
22003         * soft-fp/floattidf.c (__floattidf): Likewise.
22004         * soft-fp/floattisf.c (__floattisf): Likewise.
22005         * soft-fp/floattitf.c (__floattitf): Likewise.
22006         * soft-fp/floatundidf.c (__floatundidf): Likewise.
22007         * soft-fp/floatundisf.c (__floatundisf): Likewise.
22008         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22009         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22010         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22011         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22012         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22013         * soft-fp/gesf2.c (__gesf2): Likewise.
22014         * soft-fp/getf2.c (__getf2): Likewise.
22015         * soft-fp/ledf2.c (__ledf2): Likewise.
22016         * soft-fp/lesf2.c (__lesf2): Likewise.
22017         * soft-fp/letf2.c (__letf2): Likewise.
22018
22019         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22020         Undefine and redefine.
22021         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22022         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22023         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22024         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22025         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22026         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22027         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22028         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22029         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22030         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22031         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22032         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22033         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22034         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22035         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22036
22037         [BZ #16032]
22038         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22039         without decrementing exponent if mantissa >= that for the
22040         denominator, not >.
22041         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22042         denominator, not >.  Decrement exponent in < case instead of
22043         incrementing in >= case.
22044         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22045         without decrementing exponent if mantissa >= that for the
22046         denominator, not >.
22047
22048         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22049         computing saturated result for unsigned overflow.
22050
22051 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22052             Jeff Law  <law@redhat.com>
22053
22054         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22055         (atan2Mp): Add systemtap probe marker.
22056         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22057         (__ieee754_log): Add systemtap probe marker.
22058         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22059         (atanMp): Add systemtap probe marker.
22060         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22061         (tanMp): Add systemtap probe marker.
22062         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22063         (__slowexp): Add systemtap probe marker.
22064         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22065         (__slowpow): Add systemtap probe marker.
22066         * manual/probes.texi: Document probes.
22067
22068 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
22069
22070         [BZ #15362]
22071         * libio/fileops.c (_IO_new_file_write): Return count of bytes
22072         written.
22073         (_IO_new_file_xsputn): Don't return EOF if nothing has been
22074         written.
22075         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22076         written to buffer but not flushed.
22077         * libio/iofwrite_u.c:  Likewise.
22078         * libio/iopadn.c:  Return bytes returned even if EOF was
22079         encountered.
22080         * libio/iowpadn.c:  Likewise.
22081         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22082         if _IO_padn does not write the whole buffer.
22083         [!COMPILE_WPRINTF] (PAD): Likewise.
22084
22085 2013-10-10  David S. Miller  <davem@davemloft.net>
22086
22087         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22088         directory block.
22089
22090 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22091
22092         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
22093         instead of FSF address.
22094         * soft-fp/fixdfti.c: Likewise.
22095         * soft-fp/fixsfti.c: Likewise.
22096         * soft-fp/fixtfti.c: Likewise.
22097         * soft-fp/fixunsdfti.c: Likewise.
22098         * soft-fp/fixunssfti.c: Likewise.
22099         * soft-fp/fixunstfti.c: Likewise.
22100         * soft-fp/floattidf.c: Likewise.
22101         * soft-fp/floattisf.c: Likewise.
22102         * soft-fp/floattitf.c: Likewise.
22103         * soft-fp/floatuntidf.c: Likewise.
22104         * soft-fp/floatuntisf.c: Likewise.
22105         * soft-fp/floatuntitf.c: Likewise.
22106         * soft-fp/trunctfxf2.c: Likewise.
22107
22108         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
22109         * soft-fp/fixdfti.c: Likewise.
22110         * soft-fp/fixsfti.c: Likewise.
22111         * soft-fp/fixtfti.c: Likewise.
22112         * soft-fp/fixunsdfti.c: Likewise.
22113         * soft-fp/fixunssfti.c: Likewise.
22114         * soft-fp/fixunstfti.c: Likewise.
22115         * soft-fp/floattidf.c: Likewise.
22116         * soft-fp/floattisf.c: Likewise.
22117         * soft-fp/floattitf.c: Likewise.
22118         * soft-fp/floatuntidf.c: Likewise.
22119         * soft-fp/floatuntisf.c: Likewise.
22120         * soft-fp/floatuntitf.c: Likewise.
22121         * soft-fp/trunctfxf2.c: Likewise.
22122
22123 2013-10-10  David S. Miller  <davem@davemloft.net>
22124
22125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22126
22127 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
22128
22129         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22130         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22131         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22132         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22133         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22134         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22135         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22136
22137         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22138         for NaNs before doing comparisons on argument.
22139         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22140         Likewise.
22141
22142 2013-10-10  Will Newton  <will.newton@linaro.org>
22143
22144         * malloc/hooks.c (memalign_check): Ensure the value of bytes
22145         passed to _int_memalign does not overflow.
22146
22147 2013-10-10  Torvald Riegel  <triegel@redhat.com>
22148
22149         * scripts/bench.pl: Add include-sources directive.
22150         * benchtests/README: Update documentation.
22151
22152 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22153
22154         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22155         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22156         instead of FP_INIT_ROUNDMODE.
22157         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22158         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22159
22160         [BZ #16034]
22161         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
22162         copy class of input value.
22163         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
22164         not handle exceptions.
22165         * soft-fp/negsf2.c (__negsf2): Likewise.
22166         * soft-fp/negtf2.c (__negtf2): Likewise.
22167         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22168
22169 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
22170
22171         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22172         semicolon.  From Linux kernel.
22173
22174 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
22175
22176         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22177
22178 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
22179
22180         [BZ #156]
22181         * manual/socket.texi: Added statement about buffer
22182         for gethostbyname2_r.
22183
22184 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
22185
22186         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22187         Use .p2align directive instead, throughout.
22188         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22189         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22190         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22191         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22192         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22193         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22194         * sysdeps/x86_64/strchr.S: Likewise.
22195         * sysdeps/x86_64/strrchr.S: Likewise.
22196
22197 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22198
22199         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22200
22201         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22202
22203         * sysdeps/generic/math_private.h (__mpsin1): Remove
22204         declaration.
22205         (__mpcos1): Likewise.
22206         (__mpsin): New argument __range_reduce.
22207         (__mpcos): Likewise.
22208         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22209         (slow): Use __mpsin and __mpcos.
22210         (slow1): Likewise.
22211         (slow2): Likewise.
22212         (sloww): Likewise.
22213         (sloww1): Likewise.
22214         (sloww2): Likewise.
22215         (bsloww): Likewise.
22216         (bsloww1): Likewise.
22217         (bsloww2): Likewise.
22218         (cslow2): Likewise.
22219         (csloww): Likewise.
22220         (csloww1): Likewise.
22221         (csloww2): Likewise.
22222         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22223         range_reduce.  Merge in __mpsin1.
22224         (__mpcos): Likewise.
22225         (__mpsin1): Remove.
22226         (__mpcos1): Likewise.
22227
22228 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
22229
22230         * locale/loadlocale.c (_nl_intern_locale_data): Use
22231         LOCFILE_ALIGNED_P.
22232         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22233         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22234         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22235         obstack data is appropriately aligned.
22236         (obstack_int32_grow_fast): Likewise.
22237         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22238         * locale/programs/locfile.c (add_locale_uint32): Likewise.
22239         (add_locale_uint32_array): Likewise.
22240
22241 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22242
22243         * benchtests/Makefile: Remove ARGLIST and RET variables.
22244         ($(objpfx)bench-%.c): Pass only function name to the script.
22245         * benchtests/README: Update documentation.
22246         * benchtests/acos-inputs: Add new directives.
22247         * benchtests/acosh-inputs: Likewise.
22248         * benchtests/asin-inputs: Likewise.
22249         * benchtests/asinh-inputs: Likewise.
22250         * benchtests/atan-inputs: Likewise.
22251         * benchtests/atanh-inputs: Likewise.
22252         * benchtests/cos-inputs: Likewise.
22253         * benchtests/cosh-inputs: Likewise.
22254         * benchtests/exp-inputs: Likewise.
22255         * benchtests/log-inputs: Likewise.
22256         * benchtests/pow-inputs: Likewise.
22257         * benchtests/rint-inputs: Likewise.
22258         * benchtests/sin-inputs: Likewise.
22259         * benchtests/sinh-inputs: Likewise.
22260         * benchtests/tan-inputs: Likewise.
22261         * benchtests/tanh-inputs: Likewise.
22262         * scripts/bench.pl: Add support for new directives.
22263
22264 2013-10-07  Alan Modra  <amodra@gmail.com>
22265
22266         * README: Fix careless merge.
22267
22268 2013-10-05  Alan Modra  <amodra@gmail.com>
22269
22270         * NEWS: Mention powerpc64le support and bugs fixed.
22271         * README: Both big-endian and little-endian powerpc64 supported.
22272
22273 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22274
22275         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22276         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22277         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22278         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22279
22280 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
22281
22282         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22283         match prototype.
22284
22285 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
22286
22287         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22288         Move -mhard-float appending from
22289         ports/sysdeps/powerpc/powerpc32/Makefile.
22290         [$(with-fp) = yes] (ASFLAGS): Likewise.
22291         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22292         * sysdeps/powerpc/nofpu: Move directory from
22293         ports/sysdeps/powerpc/nofpu.
22294         * sysdeps/powerpc/soft-fp: Move directory from
22295         ports/sysdeps/powerpc/soft-fp.
22296         * sysdeps/powerpc/powerpc32/405: Move directory from
22297         ports/sysdeps/powerpc/powerpc32/405.
22298         * sysdeps/powerpc/powerpc32/440: Move directory from
22299         ports/sysdeps/powerpc/powerpc32/440.
22300         * sysdeps/powerpc/powerpc32/464: Move directory from
22301         ports/sysdeps/powerpc/powerpc32/464.
22302         * sysdeps/powerpc/powerpc32/476: Move directory from
22303         ports/sysdeps/powerpc/powerpc32/476.
22304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22305         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22307         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22309         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22311         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22313         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22314         * README: Update for powerpc-*-linux-gnu software floating point
22315         support in libc.
22316
22317         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22318         case to powerpc/powerpc32*.
22319         * sysdeps/unix/sysv/linux/configure: Regenerated.
22320
22321         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22322         (_FPU_MASK_OM): Define as 0x04.
22323         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22324         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22325         0x00c10080.
22326         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22327         0x0000003c.
22328         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22329
22330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22331         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22332         getcontext_e500.
22333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22334         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22335         setcontext_e500.
22336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22337         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22338         and setcontext_e500.
22339
22340 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
22341
22342         * locale/iso-3166.def: Update iso-1366.def and related occurrences
22343
22344 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22345
22346         * manual/threads.texi (Default Thread Attributes): Fix typo.
22347
22348 2013-10-04  Will Newton  <will.newton@linaro.org>
22349
22350         * malloc/Makefile: Add tst-memalign.
22351         * malloc/tst-memalign.c: New file.
22352
22353         * malloc/tst-posix_memalign.c: Add comments.
22354         (do_test): Add comments and call free on all potentially
22355         allocated pointers. Add space after cast.
22356
22357         * malloc/tst-pvalloc.c: Add comments.
22358         (do_test): Add comments and call free on all potentially
22359         allocated pointers. Remove duplicate check for NULL pointer.
22360         Add space after cast.
22361
22362         * malloc/tst-valloc.c: Add comments.
22363         (do_test): Add comments and call free on all potentially
22364         allocated pointers. Remove duplicate check for NULL pointer.
22365         Add space after cast.
22366
22367 2013-10-04  Alan Modra  <amodra@gmail.com>
22368
22369         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22370         Use stdint types in rather than __attribute__((mode())).
22371         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22372
22373 2013-10-04  Alan Modra  <amodra@gmail.com>
22374
22375         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22376         Correct handling of unaligned relocs for little-endian.
22377         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22378
22379 2013-10-04  Alan Modra  <amodra@gmail.com>
22380
22381         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22382         * configure: Regenerate.
22383         * nptl/shlib-versions: Powerpc*le starts at 2.18.
22384         * shlib-versions: Likewise.
22385
22386 2013-10-04  Alan Modra  <amodra@gmail.com>
22387
22388         * string/tester.c (test_memrchr): Increment reported test cycle.
22389
22390 2013-10-04  Alan Modra  <amodra@gmail.com>
22391
22392         * string/test-memcpy.c (do_one_test): When reporting errors, print
22393         string address and don't overrun end of string.
22394
22395 2013-10-04  Alan Modra  <amodra@gmail.com>
22396
22397         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22398         insrdi.  Make better use of reg selection to speed exit slightly.
22399         Schedule entry path a little better.  Remove useless "are we done"
22400         checks on entry to main loop.  Handle wrapping around zero address.
22401         Correct main loop count.  Handle single left-over word from main
22402         loop inline rather than by using loop_small.  Remove extra word
22403         case in loop_small caused by wrong loop count.  Add little-endian
22404         support.
22405         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22406         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
22407         cache hint.
22408         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22409         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22410         support.  Avoid rlwimi.
22411         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22412
22413 2013-10-04  Alan Modra  <amodra@gmail.com>
22414
22415         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22416         insrdi.  Formatting.
22417         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22418         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22419         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22420         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22421         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22422         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22423
22424 2013-10-04  Alan Modra  <amodra@gmail.com>
22425
22426         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22427         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22428         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22429         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22430         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22431         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22432         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22433         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22434         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
22435         use of regs.  Use power7 mtocrf.  Tidy function tails.
22436
22437 2013-10-04  Alan Modra  <amodra@gmail.com>
22438
22439         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22440         Formatting.  Consistently use rXXX register defines or rN defines.
22441         Use early exit labels that avoid restoring unused non-volatile regs.
22442         Make cr field use more consistent with rWORDn compares.  Rename
22443         regs used as shift registers for unaligned loop, using rN defines
22444         for short lifetime/multiple use regs.
22445         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22446         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
22447         addi 1,1,64 to pop stack frame.  Simplify return value code.
22448         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22449
22450 2013-10-04  Alan Modra  <amodra@gmail.com>
22451
22452         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22453         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
22454         rather than rlwimi.
22455         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22456         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22457         little-endian support.  Correct typos.
22458         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
22459         rather than rlwimi.
22460         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
22461         in loop and entry code to keep "and." results.
22462         (strchr): Add little-endian support.  Comment.  Move cntlzd
22463         earlier in tail.
22464         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22465
22466 2013-10-04  Alan Modra  <amodra@gmail.com>
22467
22468         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22469         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22470         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22471         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22472
22473 2013-10-04  Alan Modra  <amodra@gmail.com>
22474
22475         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22476         (rTMP): Define as r11.
22477         (strcmp): Add little-endian support.  Optimise tail.
22478         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22479         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22480         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22481         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22482         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22483         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22484         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22485
22486 2013-10-04  Alan Modra  <amodra@gmail.com>
22487
22488         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22489         little-endian support.  Remove unnecessary "are we done" tests.
22490         Handle "s" wrapping around zero and extremely large "size".
22491         Correct main loop count.  Handle single left-over word from main
22492         loop inline rather than by using small_loop.  Correct comments.
22493         Delete "zero" tail, use "end_max" instead.
22494         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22495
22496 2013-10-04  Alan Modra  <amodra@gmail.com>
22497
22498         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22499         support.  Don't branch over align.
22500         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22501         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22502         support.  Rearrange tmp reg use to suit.  Comment.
22503         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22504
22505 2013-10-04  Alan Modra  <amodra@gmail.com>
22506
22507         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22508
22509 2013-10-04  Alan Modra  <amodra@gmail.com>
22510
22511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22512         conditional form of branch and link when obtaining pc.
22513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22514
22515 2013-10-04  Alan Modra  <amodra@gmail.com>
22516
22517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22518         HIWORD/LOWORD.
22519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22521
22522 2013-10-04  Alan Modra  <amodra@gmail.com>
22523
22524         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22525         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22526         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22527         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22528         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22529         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22530         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22531         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22532         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22533         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22534
22535 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22536             Alistair Popple <alistair@ozlabs.au.ibm.com>
22537             Alan Modra <amodra@gmail.com>
22538
22539         [BZ #15723]
22540         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22541         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22542         _dl_hwcap access for little-endian.
22543         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
22544         destroy vmx regs when saving unaligned.
22545         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22546         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
22547         destroy vmx regs when saving unaligned.
22548
22549 2013-10-04  Alan Modra  <amodra@gmail.com>
22550
22551         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22552         Don't use a union to pack hi/low value.
22553
22554 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22555
22556         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22557         for little-endian.
22558         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22559         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22560         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22561         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22562         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22563
22564 2013-10-04  Alan Modra  <amodra@gmail.com>
22565
22566         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22567         constants to usual value for .cst8 section, and remove redundant
22568         high address load.
22569         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22570         constant for 0x1p52.  Load little-endian words of double from
22571         correct stack offsets.
22572
22573 2013-10-04  Alan Modra  <amodra@gmail.com>
22574
22575         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22576         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22577         words of double from correct stack offsets.
22578         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22579         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22580         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22581         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22582         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22583         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22584         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22585         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22586         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22587         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22588         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22589         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22590         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22591         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22592         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22593         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22594         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22595
22596 2013-10-04  Alan Modra  <amodra@gmail.com>
22597
22598         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22599         64-bit int/double union.
22600         (_FPU_SETCW): Likewise.
22601         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22602         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22603
22604 2013-10-04  Alan Modra  <amodra@gmail.com>
22605
22606         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22607         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22608
22609 2013-10-04  Alan Modra  <amodra@gmail.com>
22610
22611         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22612         use vector int constants.
22613         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22614
22615 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22616
22617         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22618         array with long long.
22619         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22620         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22621         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22622         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22623         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22624         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22625         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22626         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22627         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22628         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22629         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22630         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22631         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22632
22633 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22634
22635         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22636         (__signbit): Likewise.  Correct for little-endian.
22637         (__signbitl): Call __signbit.
22638         (lrint): Correct for little-endian.
22639         (lrintf): Call lrint.
22640
22641 2013-10-04  Alan Modra  <amodra@gmail.com>
22642
22643         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22644         union 32-bit int array member with 64-bit int array.
22645         (t515, tm256): Double rather than long double.
22646         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22647
22648 2013-10-04  Alan Modra  <amodra@gmail.com>
22649
22650         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22651         Delete.
22652         (IEEE854_LONG_DOUBLE_BIAS): Delete.
22653         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22654         version of math_ldbl.h.
22655
22656 2013-10-04  Alan Modra  <amodra@gmail.com>
22657
22658         [BZ #15734], [BZ #15735]
22659         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22660         all uses of ieee875 long double macros and unions.  Simplify test
22661         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
22662         ldbl_extract_mantissa value for ix,iy exponents.  Properly
22663         normalize after ldbl_extract_mantissa, and don't add hidden bit
22664         already handled.  Don't treat low word of ieee854 mantissa like
22665         low word of IBM long double and mask off bit when testing for
22666         zero.
22667         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22668         all uses of ieee875 long double macros and unions.  Simplify tests
22669         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
22670         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
22671         two1022, instead use their values.  Recognise that tests for large
22672         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
22673         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22674         Rewrite all uses of ieee875 long double macros and unions.  Simplify
22675         test for 0.0L and nan.  Correct negation.
22676         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22677         ieee875 long double macros and unions.  Correct output for large
22678         magnitude x.  Correct absolute value calculation.
22679         (__erfcl): Likewise.
22680         * math/libm-test.inc: Add tests for errors discovered in IBM long
22681         double versions of fmodl, remainderl, erfl and erfcl.
22682
22683 2013-10-04  Alan Modra  <amodra@gmail.com>
22684
22685         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22686         all uses of ieee854 long double macros and unions.  Simplify tests
22687         for long doubles that are fully specified by the high double.
22688         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22689         Likewise.
22690         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22691         Remove dead code too.
22692         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22693         (__ieee754_ynl): Likewise.
22694         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22695         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22696         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22697         Remove dead code too.
22698         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22699         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22700         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22701         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22702         Simplify.
22703         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22704         Simplify.
22705         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22706         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22707         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22708         Comment on variable precision.
22709         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22710         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22711         Likewise.
22712         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22713         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22714         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22715         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22716         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22717
22718 2013-10-04  Alan Modra  <amodra@gmail.com>
22719
22720         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22721         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22722         all uses of ieee854 long double macros and unions.
22723         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22724         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22725         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22726         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22727         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22728         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22729         Likewise.
22730         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22731         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22732         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22733         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22734         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22735         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22736         Simplify sign and nan test too.
22737         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22738         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22739         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22740         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22741         Likewise.
22742         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22743         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22744         Likewise.
22745         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22746         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22747         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22748         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22749         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22750         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22751
22752 2013-10-04  Alan Modra  <amodra@gmail.com>
22753
22754         * stdio-common/printf_size.c (__printf_size): Don't use
22755         union ieee854_long_double in fpnum union.
22756         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
22757         signbit macro to retrieve sign from long double.
22758         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22759         retrieve sign from long double.
22760         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22761         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22762         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22763         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22764         * math/test-misc.c (main): Don't use union ieee854_long_double.
22765
22766 2013-10-04  Alan Modra  <amodra@gmail.com>
22767
22768         [BZ #15680]
22769         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22770         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22771         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22772         calculation.  Remove unnecessary test for denormal exponent.
22773         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22774         Correct handling of denormals.  Avoid undefined shift behaviour.
22775         Correct normalisation of low mantissa when low double is denormal.
22776         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22777         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
22778         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22779         Correct normalisation of low mantissa.  Test for overflow of high
22780         mantissa and normalise.
22781         (ldbl_nearbyint): Use more readable constant for two52.
22782         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22783         (__mpn_construct_long_double): Fix test for overflow of high
22784         mantissa and correct normalisation.  Avoid undefined shift.
22785
22786 2013-10-04  Alan Modra  <amodra@gmail.com>
22787
22788         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22789         (union ibm_extended_long_double): Define as an array of ieee754_double.
22790         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22791         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22792         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22793         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22794         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22795         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22796         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22797         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22798         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22799         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22800         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22801
22802 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
22803
22804         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22805         page size instead of calling getpagesize.
22806
22807         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22808         (LOCFILE_ALIGN_MASK): Likewise.
22809         (LOCFILE_ALIGN_UP): Likewise.
22810         (LOCFILE_ALIGNED_P): Likewise.
22811         * locale/programs/ld-collate.c (collate_output): Use the new
22812         macros instead of __alignof__ (int32_t).
22813         * locale/weight.h (findidx): Likewise.
22814
22815 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
22816
22817         [BZ #431]
22818         * manual/string.texi: Fix strncat and wcsncat.
22819
22820 2013-10-03  Brooks Moses  <bmoses@google.com>
22821
22822         [BZ #15915]
22823         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22824         * Makerules: ...here, and adjust associated comments.
22825
22826 2013-10-02  Will Newton  <will.newton@linaro.org>
22827
22828         * malloc/Makefile: Add tst-pvalloc.
22829         * malloc/tst-pvalloc.c: New file.
22830
22831 2013-10-02  Will Newton  <will.newton@linaro.org>
22832
22833         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22834         improve test coverage.
22835
22836 2013-10-02  Will Newton  <will.newton@linaro.org>
22837
22838         * malloc/Makefile: Add tst-posix_memalign.
22839         * malloc/tst-posix_memalign.c: New file.
22840
22841 2013-10-01  Eric Blake  <eblake@redhat.com>
22842
22843         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22844         Use __THROWNL rather than __THROW on static functions.
22845
22846 2013-09-30  Petr Machata  <pmachata@redhat.com>
22847
22848         * elf/elf.h (R_AARCH64_ABS16): New macro.
22849         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22850         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22851         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22852         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22853         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22854         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22855         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22856         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22857         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22858         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22859         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22860         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22861         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22862         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22863         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22864         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22865         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22866         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22867         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22868         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22869         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22870         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22871         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22872         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22873         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22874         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22875         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22876         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22877         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22878         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22879         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22880         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22881         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22882         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22883         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22884         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22885         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22886         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22887         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22888         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22889         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22890         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22891         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22892         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22893         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22894         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22895         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22896         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22897         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22898         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22899         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22900         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22901         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22902         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22903         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22904         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22905         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22906         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22907         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22908         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22909         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22910         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22911         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22912         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22913         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22914         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22915         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22916         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22917         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22918         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22919         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22920         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22921         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22922         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22923         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22924         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22925         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22926         (R_AARCH64_TLSDESC_LDR): Likewise.
22927         (R_AARCH64_TLSDESC_ADD): Likewise.
22928         (R_AARCH64_TLSDESC_CALL): Likewise.
22929
22930 2013-09-30  Andreas Schwab  <schwab@suse.de>
22931
22932         [BZ #15048]
22933         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22934         the nss database lookup.
22935         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22936         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22937
22938 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
22939
22940         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22941
22942 2013-09-28  P. J. McDermott  <pj@pehjota.net>
22943
22944         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22945         ${Bash-specific parameter/pattern/string} parameter expansion.
22946         * sysdeps/unix/make-syscalls.sh: Likewise.
22947
22948 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22949
22950         * sysdeps/sh/stackguard-macros.h: New file.
22951
22952 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
22953
22954         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22955         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22956         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22957         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22958         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22959         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22960
22961 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22962
22963         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22964         Fix thread ID register.
22965
22966 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
22967
22968         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22969         [POSIX || UNIX98]: Require rather than permitting all symbols from
22970         <time.h>.
22971         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22972         element of struct sched_param.
22973         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22974         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22975         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22976         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22977         constant.
22978
22979 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
22980
22981         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22982         argument calculation.
22983
22984 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22985
22986         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22987         Expect macro.
22988         [POSIX] (pthread_attr_t): Do not require type.
22989         [POSIX] (pthread_cond_t): Likewise.
22990         [POSIX] (pthread_condattr_t): Likewise.
22991         [POSIX] (pthread_key_t): Likewise.
22992         [POSIX] (pthread_mutex_t): Likewise.
22993         [POSIX] (pthread_mutexattr_t): Likewise.
22994         [POSIX] (pthread_once_t): Likewise.
22995         [POSIX] (pthread_t): Likewise.
22996         [POSIX-based standards] (pthread_atfork): Expect function.
22997
22998 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22999             Richard Sandiford  <richard@codesourcery.com>
23000
23001         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23002         (swap_endianness_p): New extern variable.
23003         (set_big_endian): New inline function.
23004         (maybe_swap_uint32): Likewise.
23005         (maybe_swap_uint32_array): Likewise.
23006         (maybe_swap_uint32_obstack): Likewise.
23007         * locale/programs/locfile.c: Include <stdbool.h>.
23008         (swap_endianness_p): New variable.
23009         (add_locale_uint32): Call maybe_swap_uint32.
23010         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23011         (write_locale_data): Call maybe_swap_uint32_array.
23012         * locale/programs/ld-collate.c (obstack_int32_grow): Call
23013         maybe_swap_uint32.
23014         (obstack_int32_grow_fast): Likewise.
23015         (output_weightwc): Call maybe_swap_uint32_obstack.
23016         (collate_output): Likewise.
23017         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23018         (OPT_LITTLE_ENDIAN): Likewise.
23019         (options): Add --little-endian and --big-endian options.
23020         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23021         * locale/programs/locarchive.c: Include "locfile.h".
23022         (GET): New macro.
23023         (SET): Likewise.
23024         (INC): Likewise.
23025         (create_archive): Use the new macros to access fields of
23026         structures directly mapped from or written to locale archives.
23027         (oldlocrecentcmp): Likewise.
23028         (enlarge_archive): Likewise.
23029         (insert_name): Likewise.
23030         (add_alias): Likewise.
23031         (add_locale): Likewise.
23032         (delete_locales_from_archive): Likewise.
23033         (show_archive_content): Likewise.
23034         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
23035         locale data.
23036
23037 2013-09-24  Roland McGrath  <roland@hack.frob.com>
23038
23039         * manual/freemanuals.texi: Updated from (newly) canonical copy at
23040         http://www.gnu.org/doc/freemanuals.texi.
23041         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23042
23043 2013-09-24  Will Newton  <will.newton@linaro.org>
23044
23045         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23046         macro.
23047
23048 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
23049
23050         * locale/hashval.h (compute_hashval): Interpret bytes of key as
23051         unsigned char.
23052
23053 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
23054
23055         * manual/threads.texi (POSIX Threads): Fix a typo.
23056
23057 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23058
23059         [BZ #14547]
23060         * string/tst-strcoll-overflow.c: New test case.
23061         * string/Makefile (xtests): Add tst-strcoll-overflow.
23062         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23063         cache if string sizes may cause integer overflow.
23064
23065         [BZ #14547]
23066         * string/strcoll_l.c (coll_seq): New members rule, idx,
23067         save_idx and back_us.
23068         (get_next_seq_nocache): New function.
23069         (do_compare_nocache): New function.
23070         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23071         when malloc fails.
23072
23073 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
23074
23075         [BZ #15754]
23076         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23077         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23078         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23079
23080         [BZ #15754]
23081         * elf/Makefile (tests): Add tst-ptrguard1.
23082         (tests-static): Add tst-ptrguard1-static.
23083         (tst-ptrguard1-ARGS): Define.
23084         (tst-ptrguard1-static-ARGS): Define.
23085         * elf/tst-ptrguard1.c: New file.
23086         * elf/tst-ptrguard1-static.c: New file.
23087         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23088         * sysdeps/i386/stackguard-macros.h: Likewise.
23089         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23090         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23091         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23092         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23093         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23094         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23095
23096 2013-09-23  Hector Marco  <hecmargi@upv.es>
23097             Ismael Ripoll  <iripoll@disca.upv.es>
23098             Carlos O'Donell  <carlos@redhat.com>
23099
23100         [BZ #15754]
23101         * sysdeps/generic/stackguard-macros.h: Define
23102         __pointer_chk_guard_local and POINTER_CHK_GUARD.
23103         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23104         Define __pointer_chk_guard_local.
23105         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23106         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23107
23108 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
23109
23110         [BZ #15859]
23111         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23112
23113 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
23114
23115         * include/string.h (__ffs): Declare as hidden.
23116         * string/ffs.c (__ffs): Define as hidden.
23117         * sysdeps/i386/ffs.c (__ffs): Likewise.
23118         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23119         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23120         * sysdeps/s390/ffs.c (__ffs): Likewise.
23121         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23122
23123 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
23124
23125         * NEWS: Mention malloc probes.
23126
23127         * malloc/arena.c (new_heap): New memory_heap_new probe.
23128         (grow_heap): New memory_heap_more probe.
23129         (shrink_heap): New memory_heap_less probe.
23130         (heap_trim): New memory_heap_free probe.
23131         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23132         (systrim): New memory_sbrk_less probe.
23133         * manual/probes.texi: Document them.
23134
23135         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23136         * manual/probes.texi: Document it.
23137
23138         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23139         (__libc_realloc): Add memory_realloc_retry probe.
23140         (__libc_memalign): Add memory_memalign_retry probe.
23141         (__libc_valloc): Add memory_valloc_retry probe.
23142         (__libc_pvalloc): Add memory_pvalloc_retry probe.
23143         (__libc_calloc): Add memory_calloc_retry probe.
23144         * manual/probes.texi: Document them.
23145
23146         * malloc/arena.c (get_free_list): Add probe
23147         memory_arena_reuse_free_list.
23148         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23149         and memory_arena_reuse.
23150         (arena_get2) [!PER_THREAD]: Likewise.
23151         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23152         memory_arena_reuse_realloc.
23153         * manual/probes.texi: Document them.
23154
23155         * malloc/malloc.c (__libc_free): Add
23156         memory_mallopt_free_dyn_thresholds probe.
23157         (__libc_mallopt): Add multiple memory_mallopt probes.
23158         * manual/probes.texi: Document them.
23159
23160         * malloc/malloc.c: Include stap-probe.h.
23161         (__libc_mallopt): Add memory_mallopt probe.
23162         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23163         * manual/probes.texi: New.
23164         * manual/Makefile (chapters): Add probes.
23165         * manual/threads.texi: Set next node.
23166
23167 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
23168
23169         [BZ #15963, #13985]
23170         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23171         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23172         Add `Chinese' to `nan' entry name.
23173
23174 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23175
23176         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23177         (POLYNOMIAL): Likewise.
23178         (TAYLOR_SINCOS): Likewise.
23179         (TAYLOR_SLOW): Likewise.
23180         (__sin): Use TAYLOR_SINCOS.
23181         (__cos): Likewise.
23182         (slow): Use TAYLOR_SLOW.
23183         (sloww): Likewise.
23184         (bsloww): Likewise.
23185         (csloww): Likewise.
23186
23187 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23188
23189         * stdlib/strtod_l.c: Fix buffer overrun.
23190
23191 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23192
23193         * benchtests/Makefile (bench): Add sincos.
23194         * benchtests/bench-sincos.c: New file.
23195
23196         * math/libm-test.inc (cos_test_data): New test inputs.
23197         (sin_test_data): Likewise.
23198
23199         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23200         macro.
23201         (__sin): Use it.
23202         (__cos): Likewise.
23203         (slow1): Likewise.
23204         (slow2): Likewise.
23205         (sloww1): Likewise.
23206         (sloww2): Likewise.
23207         (bsloww1): Likewise.
23208         (bsloww2): Likewise.
23209         (cslow2): Likewise.
23210         (csloww1): Likewise.
23211         (csloww2): Likewise.
23212
23213         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23214         function.
23215         (__sin): Use it.
23216         (__cos): Likewise.
23217
23218         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23219         gotos.
23220         (__cos): Likewise.
23221
23222 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
23223
23224         * config.h.in (HAVE_MIPS_NAN2008): New macro.
23225         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23226         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23227         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23228         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23229         * elf/cache.c (print_entry): Handle the new cache flags.
23230
23231 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23232             Aldy Hernandez  <aldyh@redhat.com>
23233
23234         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23235         Change condition to [_SOFT_FLOAT].
23236         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23237         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23238         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23239         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23240         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23241         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23242         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23243         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23244         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23245         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23246         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23247         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23248         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23249         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23250         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23251         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23252         declaration.
23253
23254 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23255
23256         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23257         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23258         (__longjmp): Use LOAD_GP to load saved GPRs.
23259         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23260         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23261         (__sigsetjmp): Use SAVE_GP to save GPRs.
23262
23263         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23264         Do not append -msoft-float.
23265         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23266
23267 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23268
23269         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23270
23271 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
23272
23273         [BZ #15966]
23274         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23275         (_FPU_GETCW): Use initial "__" on variable and field names but not
23276         on macro parameter name.
23277         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
23278         parentheses around reference to macro parameter.
23279
23280 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
23281
23282         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23283         prototype.
23284         (ctype_startup): Use uint32_t in cast and sizeof for
23285         ctype->charnames.
23286
23287 2013-09-11  Jia Liu  <proljc@gmail.com>
23288
23289         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23290         __daddr_t_defined.
23291         [__FreeBSD__]: Likewise.
23292
23293 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
23294
23295         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23296         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23297         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23298         (strchr): Remove __strchr_sse42 ifunc selection.
23299         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23300         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23301
23302 2013-09-11  Will Newton  <will.newton@linaro.org>
23303
23304         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23305         parameter to RES. Remove hardcoded 1000 value.
23306         * benchtests/bench-skeleton.c (main): Pass RES parameter
23307         to TIMING_INIT and multiply result by 1000.
23308
23309 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23310
23311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23312
23313 2013-09-11  Andreas Schwab  <schwab@suse.de>
23314
23315         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23316         if not defined.
23317         (O_TMPFILE) [__USE_GNU]: Define.
23318         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23319         Define.
23320
23321 2013-09-11  Will Newton  <will.newton@linaro.org>
23322
23323         [BZ #15857]
23324         * malloc/malloc.c (__libc_memalign): Check the value of bytes
23325         does not overflow.
23326
23327 2013-09-11  Will Newton  <will.newton@linaro.org>
23328
23329         [BZ #15856]
23330         * malloc/malloc.c (__libc_valloc): Check the value of bytes
23331         does not overflow.
23332
23333 2013-09-11  Will Newton  <will.newton@linaro.org>
23334
23335         [BZ #15855]
23336         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23337         does not overflow.
23338
23339 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
23340
23341         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23342         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23343         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23344         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23345         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23346
23347 2013-09-10  Allan McRae  <allan@archlinux.org>
23348
23349         [BZ #15748]
23350         * manual/arith.texi (Parsing of Floats): Clarify
23351         cross-reference.
23352
23353         [BZ #15849]
23354         * manual/install.texi (Running make install): Mention
23355         --enable-pt-chown.
23356         * INSTALL: Regenerated.
23357
23358 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
23359
23360         * csu/init-first.c (_init): Remove the !SHARED condition around
23361         FPU control word initialization.
23362         * elf/dl-support.c (_dl_fpu_control): New variable.
23363         (_dl_aux_init) <AT_FPUCW>: Initialize it.
23364         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23365         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23366         * math/test-fpucw-static.c: New file.
23367         * math/test-fpucw-ieee.c: New file.
23368         * math/test-fpucw-ieee-static.c: New file.
23369         * math/Makefile (tests): Add `test-fpucw-ieee' and
23370         `$(tests-static)'.
23371         (tests-static): New variable.
23372         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23373         dependency to...
23374         [($(build-shared),yes)]
23375         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23376         ... this.
23377         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23378         New dependency.
23379
23380 2013-09-09  Allan McRae  <allan@archlinux.org>
23381
23382         [BZ #15939]
23383         * manual/string.texi (Collation Functions): Fix typo in
23384         strcoll example.
23385         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23386
23387         [BZ #15893]
23388         * stdlib/isomac.c (get_null_defines): Fix memory leak.
23389
23390         [BZ #15892]
23391         * libio/memstream.c (open_memstream): Fix memory leak.
23392         * libio/wmemstream.c (open_wmemstream): Likewise.
23393
23394         [BZ #15895]
23395         * nscd/netgroupcache.c: Fix nesting of ifdefs.
23396
23397 2013-09-09  Will Newton  <will.newton@linaro.org>
23398
23399         * malloc/Makefile: Add tst-realloc to tests.
23400         * malloc/tst-realloc.c: New file.
23401
23402 2013-09-09  Allan McRae  <allan@archlinux.org>
23403
23404         [BZ #15844]
23405         * COPYING: Update from GNU website to fix FSF address.
23406         * COPYING.LIB: Likewise.
23407
23408 2013-09-06  David S. Miller  <davem@davemloft.net>
23409
23410         * po/zh_TW.po: Update Chinese (traditional) translation from
23411         translation project.
23412
23413 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
23414             Joseph Myers  <joseph@codesourcery.com>
23415
23416         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23417         "localeinfo.h".
23418         (obstack_chunk_alloc): New macro.
23419         (obstack_chunk_free): Likewise.
23420         (record_offset): New function.
23421         (init_locale_data): Likewise.
23422         (align_locale_data): Likewise.
23423         (add_locale_empty): Likewise.
23424         (add_locale_raw_data): Likewise.
23425         (add_locale_raw_obstack): Likewise.
23426         (add_locale_string): Likewise.
23427         (add_locale_wstring): Likewise.
23428         (add_locale_uint32): Likewise.
23429         (add_locale_uint32_array): Likewise.
23430         (add_locale_char): Likewise.
23431         (start_locale_structure): Likewise.
23432         (end_locale_structure): Likewise.
23433         (start_locale_prelude): Likewise.
23434         (end_locale_prelude): Likewise.
23435         (write_locale_data): Take locale_file structure rather than an
23436         iovec.
23437         * locale/programs/locfile.h: Include "obstack.h".
23438         (struct locale_file): Change to store locale file contents instead
23439         of header.
23440         (init_locale_data): New prototype.
23441         (align_locale_data): Likewise.
23442         (add_locale_empty): Likewise.
23443         (add_locale_raw_data): Likewise.
23444         (add_locale_raw_obstack): Likewise.
23445         (add_locale_string): Likewise.
23446         (add_locale_wstring): Likewise.
23447         (add_locale_uint32): Likewise.
23448         (add_locale_uint32_array): Likewise.
23449         (add_locale_char): Likewise.
23450         (start_locale_structure): Likewise.
23451         (end_locale_structure): Likewise.
23452         (start_locale_prelude): Likewise.
23453         (end_locale_prelude): Likewise.
23454         (write_locale_data): Update prototype.
23455         * locale/programs/3level.h (struct TABLE): Remove result field.
23456         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23457         Use new locale_file interface.
23458         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23459         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23460         * locale/programs/ld-address.c (address_output): Use new
23461         locale_file interface.
23462         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23463         NO_ADD_LOCALE.
23464         (collate_finish): Don't call collseq_table_finalize.
23465         (collate_output): Use new locale_file interface.
23466         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23467         in file.
23468         (NO_FINALIZE): Change to NO_ADD_LOCALE.
23469         (TABLE): Move defines earlier in file.
23470         (ELEMENT): Likewise.
23471         (DEFAULT): Likewise.
23472         (wctrans_table_add): Move macro and inline function earlier in
23473         file.
23474         (struct wctype_table): Move type earlier in file.
23475         (add_locale_wctype_table): New static prototype.
23476         (struct locale_ctype_t): Use logical types instead of struct iovec
23477         pointers for members.
23478         (ctype_output): Use new locale_file interface.
23479         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
23480         new locale_file interface.
23481         (allocate_arrays): Update for use of new locale_file interface.
23482         * locale/programs/ld-identification.c (identification_output): Use
23483         new locale_file interface.
23484         * locale/programs/ld-measurement.c (measurement_output): Likewise.
23485         * locale/programs/ld-messages.c (messages_output): Likewise.
23486         * locale/programs/ld-monetary.c (monetary_output): Likewise.
23487         * locale/programs/ld-name.c (name_output): Likewise.
23488         * locale/programs/ld-numeric.c (numeric_output): Likewise.
23489         * locale/programs/ld-paper.c (paper_output): Likewise.
23490         * locale/programs/ld-telephone.c (telephone_output): Likewise.
23491         * locale/programs/ld-time.c (time_output): Likewise.
23492
23493 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23494
23495         * benchtests/Makefile: Add memrchr benchmark.
23496         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23497         benchmark as memrchr.
23498         * benchtests/bench-memrchr-ifunc.c: New file.
23499         * benchtests/bench-memrchr.c: New file.
23500
23501 2013-09-06   Will Newton  <will.newton@linaro.org>
23502
23503         * benchtests/Makefile (string-bench): Add memcpy.
23504
23505 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
23506             Cong Wang  <amwang@redhat.com>
23507
23508         [BZ #15850]
23509         * sysdeps/unix/sysv/linux/bits/in.h
23510         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23511         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23512         before __USE_KERNEL_IPV6_DEFS uses.
23513         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23514         IPPROTO_BEETPH.
23515         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23516         sockaddr_in6, or ipv6_mreq.
23517
23518 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23519
23520         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23521         memory access for final bytes in some large inputs.
23522         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23523
23524 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23525
23526         * string/test-memrchr.c: New file.
23527         * string/test-memrchr-ifunc.c: New file.
23528         * string/Makefile: Add new memrchr testcase.
23529
23530 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
23531
23532         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23533         fanotify_init returns EPERM.
23534
23535 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23536
23537         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23538         errors.
23539         (top level): Treat second token from macro or constant entries for
23540         allowed headers as allowed.
23541         * include/complex.h: Condition internal declarations on
23542         [!_ISOMAC].
23543         * include/fenv.h: Condition include of <stdbool.h> and internal
23544         declarations on [!_ISOMAC].
23545
23546 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
23547
23548         [BZ #15923]
23549         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23550
23551 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23552
23553         * configure.in (--enable-versioning): Remove configure option.
23554         (libc_cv_asm_symver_directive): Remove configure test.
23555         (libc_cv_ld_version_script_option): Likewise.
23556         (VERSIONING): Remove variable and AC_SUBST.
23557         (DO_VERSIONING): Remove AC_DEFINE.
23558         * configure: Regenerated.
23559         * config.h.in (DO_VERSIONING): Remove macro.
23560         * Makerules [$(versioning) = yes]: Change conditionals to
23561         [$(build-shared) = yes].
23562         * config.make.in (versioning): Remove variable.
23563         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23564         [$(build-shared) = yes].
23565         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23566         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23567         * elf/Makefile [$(versioning) = yes]: Change conditionals to
23568         [$(build-shared) = yes].
23569         * extra-lib.mk [$(versioning) = yes]: Likewise.
23570         * hurd/Makefile [$(versioning) = yes]: Likewise.
23571         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23572         [SHARED].
23573         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23574         [SHARED].
23575         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23576         [SHARED && !NO_HIDDEN].
23577         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23578         [SHARED].
23579         [SHARED && DO_VERSIONING]: Likewise..
23580         * libio/Makefile [$(versioning) = yes]: Change conditionals to
23581         [$(build-shared) = yes].
23582         * manual/install.texi (--disable-versioning): Remove
23583         documentation.
23584         * INSTALL: Regenerated.
23585         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23586         to [SHARED].
23587         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23588         [$(build-shared) = yes].
23589         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23590         * sysdeps/i386/i686/multiarch/strstr-c.c
23591         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23592         [SHARED && !NO_HIDDEN].
23593         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23594         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23595         * sysdeps/powerpc/powerpc32/dl-machine.c
23596         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23597         * sysdeps/powerpc/powerpc32/sysdep.h
23598         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23599         to [SHARED && PIC && !NO_HIDDEN].
23600         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23601         conditional to [SHARED].
23602
23603 2013-09-04   Will Newton  <will.newton@linaro.org>
23604
23605         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23606         * benchtests/bench-string.h: Include bench-timing.h instead
23607         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23608         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23609         call to HP_TIMING_DIFF_INIT.
23610         * benchtests/bench-memccpy.c: Use bench-timing.h macros
23611         instead of hp-timing.h macros.
23612         * benchtests/bench-memchr.c: Likewise.
23613         * benchtests/bench-memcmp.c: Likewise.
23614         * benchtests/bench-memcpy.c: Likewise.
23615         * benchtests/bench-memmem.c: Likewise.
23616         * benchtests/bench-memmove.c: Likewise.
23617         * benchtests/bench-memset.c: Likewise.
23618         * benchtests/bench-rawmemchr.c: Likewise.
23619         * benchtests/bench-strcasecmp.c: Likewise.
23620         * benchtests/bench-strcasestr.c: Likewise.
23621         * benchtests/bench-strcat.c: Likewise.
23622         * benchtests/bench-strchr.c: Likewise.
23623         * benchtests/bench-strcmp.c: Likewise.
23624         * benchtests/bench-strcpy.c: Likewise.
23625         * benchtests/bench-strcpy_chk.c: Likewise.
23626         * benchtests/bench-strlen.c: Likewise.
23627         * benchtests/bench-strncasecmp.c: Likewise.
23628         * benchtests/bench-strncat.c: Likewise.
23629         * benchtests/bench-strncmp.c: Likewise.
23630         * benchtests/bench-strncpy.c: Likewise.
23631         * benchtests/bench-strnlen.c: Likewise.
23632         * benchtests/bench-strpbrk.c: Likewise.
23633         * benchtests/bench-strrchr.c: Likewise.
23634         * benchtests/bench-strspn.c: Likewise.
23635         * benchtests/bench-strstr.c: Likewise.
23636
23637 2013-09-04  Will Newton  <will.newton@linaro.org>
23638
23639         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23640
23641 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
23642
23643         [BZ #15427]
23644         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23645         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23646         * math/libm-test.inc (lgamma_test_data): Add more tests.
23647         * sysdeps/i386/fpu/libm-test-ulps: Update.
23648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23649
23650 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
23651
23652         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23653         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23654         Add ifunc.
23655         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23656         Add strcmp-sse2-unaligned
23657         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23658
23659 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23660
23661         * Versions.def (libc): Add GLIBC_2.19.
23662
23663 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23664
23665         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23666         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23667
23668 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
23669
23670         [BZ #14155]
23671         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23672         intermediate calculations in recurrence.
23673         (__ieee754_ynf): Likewise.
23674         * math/libm-test.inc (jn_test_data): Do not allow spurious
23675         underflow exception.  Add more tests.
23676         (yn_test_data): Add more tests.
23677         * sysdeps/i386/fpu/libm-test-ulps: Update.
23678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23679
23680 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
23681
23682         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23683
23684 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23685
23686         * csu/init-first.c: Fix then/than typos.
23687         * locale/programs/ld-collate.c: Likewise.
23688         * locale/programs/linereader.h: Likewise.
23689         * manual/charset.texi: Likewise.
23690         * manual/filesys.texi: Likewise.
23691         * manual/stdio.texi: Likewise.
23692         * manual/string.texi: Likewise.
23693         * stdlib/fmtmsg.c: Likewise.
23694         * sysdeps/i386/stpncpy.S: Likewise.
23695         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23696         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23697         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23698         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23699
23700 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23701
23702         * elf/dl-open.c: Fix typos.
23703         * iconvdata/gbbig5.c: Likewise.
23704         * iconvdata/iso-2022-jp.c: Likewise.
23705         * iconv/gconv_int.h: Likewise.
23706         * iconv/loop.c: Likewise.
23707         * nis/rpcsvc/nis.h: Likewise.
23708         * resolv/ns_name.c: Likewise.
23709         * stdio-common/vfscanf.c: Likewise.
23710         * streams/stropts.h: Likewise.
23711         * sunrpc/rpc_thread.c: Likewise.
23712         * sysdeps/i386/strpbrk.S: Likewise.
23713         * sysdeps/ieee754/k_standard.c: Likewise.
23714         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23715         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23716         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23717         * sysdeps/mach/hurd/profil.c: Likewise.
23718         * sysdeps/s390/dl-procinfo.h: Likewise.
23719         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23720         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23721         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23722         * sysdeps/x86_64/dl-trampoline.S: Likewise.
23723         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23724
23725 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
23726
23727         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23728         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23729
23730 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
23731
23732         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23733         aix specific files.
23734         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23735         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23736         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23737         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23738         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23739         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23740         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23741         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23742
23743 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23744             Roland McGrath  <roland@hack.frob.com>
23745
23746         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23747         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23748
23749 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23750
23751         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23752         __executable_start symbol instead of _start.
23753
23754 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23755
23756         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23757         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23758         Move macros to...
23759         * sysdeps/gnu/ldsodefs.h: ... this new file.
23760
23761         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23762         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23763         instead of ELFOSABI_LINUX.
23764
23765         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23766         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23767         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23768         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23769         Likewise.
23770         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23771         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23772         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23773         Likewise.
23774         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23775         (ibm_extended_long_double): Add ieee_nan member.
23776         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23777         (do_test): New function.
23778
23779         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23780         TEST_TRUNC.
23781         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23782         functions, renamed from truncdfsf_test, trunctfsf_test,
23783         trunctfdf_test.
23784         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23785         functions.
23786         (do_test): Run all these.
23787
23788 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
23789
23790         * argp/argp-help.c: Fix typos.
23791         * argp/argp-parse.c: Likewise.
23792         * debug/backtracesyms.c: Likewise.
23793         * elf/elf.h: Likewise.
23794         * malloc/malloc.c: Likewise.
23795         * nis/nis_print.c: Likewise.
23796         * resolv/res_comp.c: Likewise.
23797         * stdlib/stdlib.h: Likewise.
23798         * sunrpc/clnt_tcp.c: Likewise.
23799         * sunrpc/clnt_udp.c: Likewise.
23800         * sunrpc/clnt_unix.c: Likewise.
23801         * sysdeps/unix/bsd/ptsname.c: Likewise.
23802         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23803         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23805         Likewise.
23806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23807         Likewise.
23808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23809         Likewise.
23810         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23811
23812 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23813
23814         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23815         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23816
23817 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
23818
23819         [BZ #15897]
23820         * dlfcn/Makefile (tests): Add bug-dl-leaf.
23821         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23822         ($(objpfx)bug-dl-leaf): New rule.
23823         ($(objpfx)bug-dl-leaf.so): Likewise.
23824         ($(objpfx)bug-dl-leaf.out): Likewise.
23825         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23826         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23827         * dlfcn/bug-dl-leaf.c: New test.
23828         * dlfcn/bug-dl-leaf-lib.c: Likewise.
23829         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23830         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23831         (dlclose): Likewise.
23832         (dlmopen): Likewise.
23833
23834 2013-08-27  Roland McGrath  <roland@hack.frob.com>
23835
23836         * include/netdb.h [!_ISOMAC]:
23837         Don't include <tls.h>.
23838         (h_errno, __libc_h_errno): Move declaration and macros out of
23839         [_LIBC_REENTRANT].
23840
23841         * include/resolv.h [_RESOLV_H_]:
23842         Don't include <tls.h>.
23843         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23844         * resolv/res_libc.c: Don't include <tls.h>.
23845         (_res): Use __attribute__ ((nocommon)) in place of
23846         __attribute__ ((section (".bss"))).
23847
23848         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23849         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23850
23851         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23852
23853         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23854         only under [SIOCGIFCONF && SIOCGIFNETMASK].
23855
23856         * resolv/res_mkquery.c: Include <sys/time.h>.
23857
23858         * inet/ifreq.c: Moved to ...
23859         * sysdeps/unix/ifreq.c: ... here.
23860         * inet/ifreq.c: New file, true stub version.
23861
23862         * socket/sa_len.c: New file.
23863         * socket/Makefile (aux): Add it.
23864         * sysdeps/unix/sysv/linux/Makefile
23865         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23866         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23867         and #include <socket/sa_len.c>.
23868         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23869         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23870
23871         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23872         * bits/socket.h: ... here.
23873
23874         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23875         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23876         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23877
23878 2013-08-27  Andreas Schwab  <schwab@suse.de>
23879
23880         [BZ #15736]
23881         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23882         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23883         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23884         * string/test-strcasecmp.c (test_main): Run tests in several
23885         locales.
23886         * string/test-strncasecmp.c (test_main): Likewise.
23887
23888         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23889         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23890         to __strcasecmp_nonascii and __strncasecmp_nonascii.
23891         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23892         (__strncasecmp_ssse3) [PIC]: Likewise.
23893
23894 2013-08-26  Roland McGrath  <roland@hack.frob.com>
23895
23896         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23897
23898         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23899         instead of explicitly declaring xdecrypt.
23900         * nis/nss_nis/nis-publickey.c: Likewise.
23901
23902 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23903
23904         [BZ #15890]
23905         * nscd/aicache.c: Include res_hconf.h.
23906         (addhstaiX): Initialize res_hconf.
23907
23908 2013-08-26  Andreas Schwab  <schwab@suse.de>
23909
23910         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23911         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23912
23913 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23914
23915         * nscd/aicache.c (addhstaiX): Fix indentation.
23916
23917 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
23918
23919         * configure.ac: Quote $build_pt_chown test.
23920         * configure: Regenerated.
23921
23922 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
23923
23924         [BZ #15532]
23925         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23926         * math/s_cexpf.c (__cexpf): Likewise.
23927         * math/s_cexpl.c (__cexpl): Likewise.
23928         * math/libm-test.inc (cexp_test_data): Correct expected return
23929         value for NaN + i0.  Add another test.
23930
23931 2013-08-22  David S. Miller  <davem@davemloft.net>
23932
23933         * po/ca.po: Update Catalan translation from translation project.
23934         * po/uk.po: Add Ukrainian translations from translation project.
23935
23936 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
23937
23938         [BZ #15797]
23939         * math/s_fdim.c (__fdim): Check for infinite arguments if result
23940         is infinite, not alongside NaN test.
23941         * math/s_fdimf.c (__fdimf): Likewise.
23942         * math/s_fdiml.c (__fdiml): Likewise.
23943         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
23944         errno is unchanged.
23945
23946 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
23947
23948         * argp/argp-help.c: Fix typos.
23949         * crypt/speeds.c: Likewise.
23950         * csu/check_fds.c: Likewise.
23951         * elf/dl-load.c: Likewise.
23952         * elf/dl-open.c: Likewise.
23953         * elf/reldep3.c: Likewise.
23954         * elf/reldep.c: Likewise.
23955         * elf/sprof.c: Likewise.
23956         * iconv/iconv_charmap.c: Likewise.
23957         * iconv/skeleton.c: Likewise.
23958         * iconv/strtab.c: Likewise.
23959         * io/lockf64.c: Likewise.
23960         * libio/libioP.h: Likewise.
23961         * resolv/gai_notify.c: Likewise.
23962         * resolv/ns_name.c: Likewise.
23963         * resolv/ns_samedomain.c: Likewise.
23964         * resolv/res_send.c: Likewise.
23965         * stdlib/random.c: Likewise.
23966         * sunrpc/rpc/xdr.h: Likewise.
23967         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23968         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23969         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23970         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23971         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23972         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23973         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23974         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23975         * sysdeps/mach/hurd/check_fds.c: Likewise.
23976         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23977         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23978         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23979         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23980         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23981         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23982         * sysdeps/pthread/aio_notify.c: Likewise.
23983         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23984         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23985         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23986         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23987         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23988
23989 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23990
23991         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23992         version if bit_Slow_SSE4_2 is set.
23993         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23994         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23995
23996 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23997
23998         [BZ #15867]
23999         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24000         trampoline stack frame information.
24001         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24002         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24003         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24004         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24005         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24006         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24007         (_libc_vdso_platform_setup): Initialize the signal trampolines.
24008         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24009         sa_flags value.
24010         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24011         interrupting a syscall and set with option SA_SIGINFO.
24012
24013 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24014
24015         [BZ #15531]
24016         * math/s_cproj.c (__cproj): Only return an infinity if one part of
24017         argument is infinite.
24018         * math/s_cprojf.c (__cprojf): Likewise.
24019         * math/s_cprojl.c (__cprojl): Likewise.
24020         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24021         * math/libm-test.inc (cproj_test_data): Add more tests.
24022
24023         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24024
24025         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24026         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24027         size.  Use __ffs to determine corresponding shift.
24028
24029 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24030             Roland McGrath  <roland@hack.frob.com>
24031
24032         * Makefile (INSTALL): Remove trailing blank lines from output of
24033         makeinfo.
24034
24035 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24036
24037         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24038         Align 32 bit compat elf_greg to 8 bytes.
24039
24040 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
24041
24042         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24043
24044 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24045
24046         * string/strcoll_l.c (coll_seq): New structure.
24047         (get_next_seq_cached): New function.
24048         (get_next_seq): New function.
24049         (do_compare): New function.
24050         (STRCOLL): Use GNU style definition.  Simplify implementation
24051         by using get_next_seq, get_next_seq_cached and do_compare.
24052
24053 2013-08-16  Florian Weimer  <fweimer@redhat.com>
24054
24055         [BZ #14699]
24056         CVE-2013-4237
24057         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24058         member.
24059         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24060         member.
24061         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24062         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24063         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
24064         conditional.
24065         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24066         GETDENTS_64BIT_ALIGNED.
24067         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24068         * manual/filesys.texi (Reading/Closing Directory): Document
24069         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
24070         strongly.
24071         * manual/conf.texi (Limits for Files): Add portability note to
24072         NAME_MAX, PATH_MAX.
24073         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24074
24075 2013-08-13  Andreas Schwab  <schwab@suse.de>
24076
24077         [BZ #15749]
24078         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24079         of fabs.
24080         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24081         LDBL_MAX_EXP >= 16384]: Add tests for it.
24082
24083 2013-08-12  David S. Miller  <davem@davemloft.net>
24084
24085         * version.h (RELEASE): Set to "development".
24086         (VERSION): Set to "2.18.90".
24087         * NEWS: Add 2.19 section.
24088
24089 2013-08-03  David S. Miller  <davem@davemloft.net>
24090
24091         * po/ko.po: Update Korean translation from translation project.
24092
24093 2013-08-01  David S. Miller  <davem@davemloft.net>
24094
24095         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
24096         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24097         Bilka.
24098
24099 2013-07-30  David S. Miller  <davem@davemloft.net>
24100
24101         * po/fr.po: Update French translation from translation project.
24102
24103 2013-07-28  David S. Miller  <davem@davemloft.net>
24104
24105         * po/cs.po: Update Czech translation from translation project.
24106
24107         * po/sv.po: Update Swedish translation from translation project.
24108
24109 2013-07-27  David S. Miller  <davem@davemloft.net>
24110
24111         * po/eo.po: Update Esperanto translation from translation project.
24112
24113         * po/vi.po: Update Vietnamese translation from translation project.
24114
24115         * po/de.po: Update German translation from translation project.
24116
24117 2013-07-26  David S. Miller  <davem@davemloft.net>
24118
24119         * po/bg.po: Update Bulgarian translation from translation project.
24120
24121         * po/nl.po: Update Dutch translation from translation project.
24122         * po/pl.po: Update Polish translation from translation project.
24123         * po/ru.po: Update Russian translation from translation project.
24124
24125 2013-07-24  David S. Miller  <davem@davemloft.net>
24126
24127         * po/libc.pot: Update.
24128
24129 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24130
24131         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24132         variable page size.
24133         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24134         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24135         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24136
24137 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24138
24139         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24140
24141 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24142             Andreas Schwab  <schwab@suse.de>
24143             Roland McGrath  <roland@hack.frob.com>
24144             Joseph Myers  <joseph@codesourcery.com>
24145             Carlos O'Donell  <carlos@redhat.com>
24146
24147         [BZ #15755]
24148         * config.h.in: Define HAVE_PT_CHOWN.
24149         * config.make.in (build-pt-chown): New variable.
24150         * configure.in (--enable-pt_chown): New configure option.
24151         * configure: Regenerate.
24152         * login/Makefile: Include Makeconfig.  Build pt_chown only if
24153         build-pt-chown is enabled.
24154         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24155         pt_chown to fix pty ownership.
24156         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24157         CLOSE_ALL_FDS.
24158         * manual/install.texi (Configuring and compiling): Mention
24159         --enable-pt_chown. Add @findex for grantpt.
24160         * INSTALL: Regenerate.
24161
24162 2013-07-20  David S. Miller  <davem@davemloft.net>
24163
24164         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24165         difference between 32-bit and 64-bit.
24166
24167 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
24168
24169         [BZ #15711]
24170         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24171         Avoid system header dependency with -ffreestanding.
24172         ($(objpfx)bits/syscall%d): Likewise.
24173
24174 2013-07-13  David S. Miller  <davem@davemloft.net>
24175
24176         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24177         underflows from atanl/atan2l due to bug 15319.
24178         (casinh_test_data): Likewise.
24179
24180 2013-07-07  David S. Miller  <davem@davemloft.net>
24181
24182         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24183
24184 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
24185
24186         * sysdeps/i386/fpu/libm-test-ulps: Update.
24187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24188
24189 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24190
24191         * configure.in (--enable-lock-elision): Fix message text.
24192         * INSTALL: Regenerate.
24193         * configure: Regenerate.
24194
24195 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24196
24197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24198
24199 2013-07-03  Andreas Jaeger  <aj@suse.de>
24200
24201         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24202         define.
24203         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24204         (ptrace_peeksiginfo_args): Add.
24205         (__ptrace_peeksiginfo_flags): Add.
24206         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24207         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24208         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24209
24210 2013-07-03  Allan McRae  <allan@archlinux.org>
24211
24212         * sysdeps/i386/fpu/libm-test-ulps: Update.
24213
24214 2013-07-02  David S. Miller  <davem@davemloft.net>
24215
24216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24217
24218 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
24219
24220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24221
24222 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24223
24224         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24226
24227 2013-07-02  Andi Kleen <ak@linux.intel.com>
24228
24229         * config.h.in (ENABLE_LOCK_ELISION): Add.
24230         * configure.in (--enable-lock-elision): Add option.
24231         * manual/install.texi: Document --enable lock elision.
24232         * configure: Regenerate
24233         * INSTALL: Regenerate.
24234
24235 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
24236
24237         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24238         SSE4.2 strcasecmp for libc.a.
24239         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24240
24241 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24242
24243         [BZ #13304]
24244         * soft-fp/op-common.h (_FP_FMA): New macro.
24245         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24246         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
24247         (_FP_MUL_MEAT_1_imm): ... here.
24248         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
24249         (_FP_MUL_MEAT_1_wide): ... here.
24250         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
24251         (_FP_MUL_MEAT_1_hard): ... here.
24252         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24253         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
24254         (_FP_MUL_MEAT_2_wide): ... here.
24255         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
24256         (_FP_MUL_MEAT_2_wide_3mul): ... here.
24257         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
24258         (_FP_MUL_MEAT_2_gmp): ... here.
24259         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24260         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
24261         (_FP_MUL_MEAT_4_wide): ... here.
24262         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
24263         (_FP_MUL_MEAT_4_gmp): ... here.
24264         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24265         (_FP_WFRACBITS_DW_S): Likewise.
24266         (_FP_WFRACXBITS_DW_S): Likewise.
24267         (_FP_HIGHBIT_DW_S): Likewise.
24268         (FP_FMA_S): Likewise.
24269         (_FP_FRAC_HIGH_DW_S): Likewise.
24270         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24271         (_FP_WFRACBITS_DW_D): Likewise.
24272         (_FP_WFRACXBITS_DW_D): Likewise.
24273         (_FP_HIGHBIT_DW_D): Likewise.
24274         (FP_FMA_D): Likewise.
24275         (_FP_FRAC_HIGH_DW_D): Likewise.
24276         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24277         (_FP_WFRACBITS_DW_E): Likewise.
24278         (_FP_WFRACXBITS_DW_E): Likewise.
24279         (_FP_HIGHBIT_DW_E): Likewise.
24280         (FP_FMA_E): Likewise.
24281         (_FP_FRAC_HIGH_DW_E): Likewise.
24282         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24283         (_FP_WFRACBITS_DW_Q): Likewise.
24284         (_FP_WFRACXBITS_DW_Q): Likewise.
24285         (_FP_HIGHBIT_DW_Q): Likewise.
24286         (FP_FMA_Q): Likewise.
24287         (_FP_FRAC_HIGH_DW_Q): Likewise.
24288         * soft-fp/fmasf4.c: New file.
24289         * soft-fp/fmadf4.c: Likewise.
24290         * soft-fp/fmatf4.c: Likewise.
24291
24292 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24293
24294         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24295         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24296         Silvermont.
24297         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24298         macro.
24299         (index_Slow_SSE4_2): Likewise.
24300         (index_Prefer_PMINUB_for_stringop): Likewise.
24301         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24302         bit_Slow_SSE4_2 is set.
24303         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24304         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24305
24306 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24307
24308         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24309         rtld_global._dl_hwcap2.
24310         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24311         POWER8.
24312         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24313         POWER8 feature descriptions defined in _dl_hwcap2.
24314         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24315         string handling for POWER8 feature bits.
24316         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24317         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24318         _dl_powerpc_cap_flags.
24319         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24320         * sysdeps/powerpc/rtld-global-offsets.sym
24321         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24322         _dl_hwcap2 in the rtld_global_ro structure.
24323
24324 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24325
24326         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24327         hardware capabilities in support of AT_HWCAP2.
24328         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24329         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24330         GLRO(dl_hwcap2).
24331         (_dl_show_auxv): Add support for calling _dl_procinfo to display
24332         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
24333         explicitly the unknown a_type display mechanism is used.
24334         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24335         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24336         struct member.
24337         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24338         to macro prototype for AT_HWCAP2 support.
24339         * sysdeps/i386/dl-procinfo.h: Likewise.
24340         * sysdeps/s390/dl-procinfo.h: Likewise.
24341         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24342         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
24343         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
24344         return -1 for unknown a_type display fallback.
24345         * sysdeps/sparc/dl-procinfo.h: Likewise.
24346         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24347         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24348
24349 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
24350
24351         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24352         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24353
24354 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
24355
24356         [BZ #12492]
24357         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24358         mprotect making __stack_prot writable.
24359
24360 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
24361             Joseph Myers  <joseph@codesourcery.com>
24362
24363         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24364         as being properly aligned.
24365
24366 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
24367
24368         * dlfcn/modstatic5.c: New file.
24369         * dlfcn/tststatic5.c: New file.
24370         * dlfcn/Makefile (tests): Add tststatic5.
24371         (tests-static): Likewise.
24372         (modules-names): Add modstatic5.
24373         (tststatic5-ENV): New variable.
24374         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24375
24376         [BZ #15022]
24377         * elf/dl-support.c (_dl_main_map): New variable.
24378         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24379         (_dl_nns, _dl_load_adds): Set to 1.
24380         (_dl_initial_searchlist): Refer to _dl_main_map.
24381         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24382         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24383         call to _dl_get_origin.
24384         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24385         around call_map.
24386         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24387         * dlfcn/modstatic3.c: New file.
24388         * dlfcn/tststatic3.c: New file.
24389         * dlfcn/tststatic4.c: New file.
24390         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24391         (tests-static): Likewise.
24392         (modules-names): Add modstatic3.
24393         (tststatic3-ENV, tststatic4-ENV): New variables.
24394         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24395         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24396
24397 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
24398
24399         * configure.in (CC): Require GCC version 4.4 or later.
24400         * configure: Regenerated.
24401         * manual/install.texi (Tools for Compilation): Update GCC version
24402         requirement.
24403         * INSTALL: Regenerated.
24404
24405 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24406
24407         [BZ #15674]
24408         * string/test-memcmp.c (check2): New.
24409         (main): Call check2.
24410
24411         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24412
24413 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
24414
24415         [BZ #15022]
24416         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24417         over to...
24418         (dl_open_worker) [!SHARED]: ... here.
24419
24420 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24421
24422         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24423
24424 2013-06-25  Richard Henderson  <rth@redhat.com>
24425
24426         * locale/programs/locarchive.c: Include <libc-internal.h>
24427
24428 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
24429
24430         * manual/texinfo.tex: Update to version 2013-06-21.17, with
24431         trailing whitespace removed.
24432
24433 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24434
24435         [BZ #10283]
24436         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24437         * locale/programs/locarchive.c: Include libc-mmap.h.
24438         (prepare_address_space): Take two new outputs (the mmap base and len).
24439         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
24440         values.
24441         (create_archive): Declare new mmap base and len values for
24442         prepare_address_space, and store the result in ah.
24443         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24444         (enlarge_archive): If ah->mmap_base is not NULL, use that and
24445         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24446         Declare new mmap base and len values for
24447         prepare_address_space, and store the result in new_ah.
24448         (open_archive): Declare new mmap base and len values for
24449         prepare_address_space, and store the result in ah.
24450         (close_archive): If ah->mmap_base is not NULL, use that and
24451         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24452         * sysdeps/generic/libc-mmap.h: New file.
24453
24454 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24455
24456         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24457         (ALIGN_UP): Likewise.
24458         (PTR_ALIGN_DOWN): Likewise.
24459         (PTR_ALIGN_UP): Likewise.
24460
24461 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24462
24463         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24464         entry mapped to PPC_PLATFORM_POWER8.
24465         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24466         POWER8.
24467         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24468         (_dl_string_platform): Add case for exporting platform position for
24469         POWER8.
24470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24471         search path to sysdeps/powerpc/powerpc32/power8 directory.
24472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24473         search path to sysdeps/powerpc/powerpc64/power8 directory.
24474         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24475         power7 directories.
24476         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24477         power7 directories.
24478
24479 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24480
24481         * INSTALL: Regenerate.
24482
24483         * nscd/connections.c (nscd_init): Fix comment.
24484
24485 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
24486
24487         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24488
24489         [BZ #15667]
24490         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24491         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24492
24493 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24494
24495         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24496         DL_DST_REQ_STATIC.
24497         (DL_DST_REQ_STATIC): Remove macro.
24498
24499 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
24500
24501         [BZ #7006]
24502         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24503         with a shift of 0 bits.
24504
24505 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24506
24507         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24508         $(tststatic-ENV).
24509
24510 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24511
24512         [BZ #15655]
24513         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24514
24515 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24516
24517         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24518         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24519         accepts -fno-tree-loop-distribute-patterns.
24520         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24521         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24522         recursive call.
24523         * string/memset.c (memset): Likewise.
24524         * string/test-memmove.c (simple_memmove): Disable loop transformation
24525         to library calls.
24526         * string/test-memset.c (simple_memset): Likewise.
24527         * benchtests/bench-memmove.c (simple_memmove): Likewise.
24528         * benchtests/bench-memset.c (simple_memset): Likewise.
24529         * configure: Regenerated.
24530
24531 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
24532
24533         * math/test-misc.c (main): Ignore fesetround failure when failures
24534         of subsequent rounding tests would be ignored.
24535
24536         [BZ #15654]
24537         * math/fedisblxcpt.c (fedisableexcept): Return 0.
24538         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24539         * math/fegetenv.c (__fegetenv): Return 0.
24540         * math/fegetexcept.c (fegetexcept): Return 0.
24541         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24542         FE_TONEAREST.
24543         * math/feholdexcpt.c (feholdexcept): Return 0.
24544         * math/fesetenv.c (__fesetenv): Return 0.
24545         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24546         argument FE_TONEAREST.
24547         * math/feupdateenv.c (__feupdateenv): Return 0.
24548         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24549
24550 2013-06-18  Roland McGrath  <roland@hack.frob.com>
24551
24552         * elf/rtld-Rules (rtld-compile-command.S): New variable.
24553         (rtld-compile-command.s, rtld-compile-command.c): New variables.
24554         ($(objpfx)rtld-%.os rules): Use them.
24555
24556 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24557
24558         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24559         fields.
24560
24561 2013-06-17  Roland McGrath  <roland@hack.frob.com>
24562
24563         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24564         length of target pattern, then descending length of dependency pattern.
24565         * configure.in (AWK): Require gawk 3.1.2 or newer.
24566         * manual/install.texi (Tools for Compilation): Say that we do.
24567         * configure: Regenerated.
24568
24569         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24570         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24571         * scripts/sysd-rules.awk: ... this new script.
24572         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24573         than a glob-style pattern.
24574
24575 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
24576
24577         * math/test-misc.c (main): Do not treat incorrectly rounded
24578         conversions as failure unless ROUNDING_TESTS passes.
24579
24580 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
24581
24582         [BZ #15631]
24583         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24584         restore exception state around main square root computation, then
24585         check for inexactness explicitly.
24586
24587         * math/libm-test.inc (fma_test_data): Add another test.
24588
24589 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24590
24591         * manual/threads.texi (Non-POSIX Extensions): New document
24592         node.  Document pthread_getattr_default_np and
24593         pthread_setattr_default_np.
24594
24595         * Versions.def (libpthread): Add GLIBC_2.18.
24596         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24598         Likewise.
24599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24600         Likewise.
24601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24602         Likewise.
24603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24604         Likewise.
24605         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24606         Likewise.
24607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24608         Likewise.
24609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24610         Likewise.
24611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24612         Likewise.
24613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24614         Likewise.
24615
24616 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24617
24618         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24619         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24620
24621 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24622             H.J. Lu  <hjl.tools@gmail.com>
24623
24624         [BZ #15627]
24625         * sysdeps/x86_64/rtld-memset.c: Remove file.
24626         * sysdeps/x86_64/rtld-memset.S: New file.
24627
24628 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
24629
24630         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24631         (test_in_one_mode): Take arguments for whether the rounding mode
24632         is supported for each floating-point type.
24633         (do_test): Pass new arguments to test_in_one_mode using
24634         ROUNDING_TESTS.
24635
24636 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24637
24638         * posix/tst-waitid.c (do_test): Distinguish different instances of
24639         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
24640         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24641         before entering the kernel for waitpid.
24642
24643 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24644
24645         * NEWS: Fix note on clock function precision.  Text by Roland
24646         McGrath.
24647
24648 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24649
24650         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24651         it into place only when and if the sanity check passes.
24652
24653 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
24654
24655         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24656         output for whether conversion result is exact.  Take argument
24657         indicating whether type is IBM long double.
24658         (round_for_all): Change need_exact field to ibm_ld.
24659         * stdlib/tst-strtod-round.c (struct exactness): New type.
24660         (struct test): Change bool ld_ok field to struct exactness exact.
24661         (TEST): Update all definitions for change to field.
24662         (tests): Regenerate array contents.
24663         (test_in_one_mode): Take pointer to new field instead of old ld_ok
24664         field value.  Check for IBM long double here.
24665         (do_test): Update calls to test_in_one_mode.
24666
24667 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24668
24669         [BZ #12515]
24670         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24671         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24672
24673 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24674
24675         [BZ #15605]
24676         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24677         generated by the compiler on loop optimizations.
24678         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24679         general definitions.
24680
24681 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
24682
24683         * math/bug-nextafter.c: Include <math-tests.h>.
24684         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24685         the relevant type.
24686         * math/bug-nexttoward.c: Include <math-tests.h>.
24687         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24688         the relevant type.
24689         * math/test-misc.c: Include <math-tests.h>.
24690         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24691         the relevant type.
24692
24693 2013-06-12  Andreas Jaeger  <aj@suse.de>
24694
24695         * po/ia.po: Update Interlingua translation from translation
24696         project.
24697
24698 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24699
24700         * include/fenv.h: Include stdbool.h.
24701         (struct rm_ctx): New structure.
24702         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24703         Define macro.
24704         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24705         (SET_RESTORE_ROUNDF): Likewise.
24706         (SET_RESTORE_ROUNDL): Likewise.
24707         (SET_RESTORE_ROUND_NOEX): Likewise.
24708         (SET_RESTORE_ROUND_NOEXF): Likewise.
24709         (SET_RESTORE_ROUND_NOEXL): Likewise.
24710         (SET_RESTORE_ROUND_53BIT): Likewise.
24711         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24712         (libc_feresetround_noexf_ctx): Likewise.
24713         (libc_feresetround_noexl_ctx): Likewise.
24714         (libc_feholdsetround_53bit_ctx): Likewise.
24715         (libc_feresetround_53bit_ctx): Likewise.
24716         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24717         (libc_feholdexcept_setround_sse_ctx): New function.
24718         (libc_fesetenv_sse_ctx): Likewise.
24719         (libc_feupdateenv_sse_ctx): Likewise.
24720         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24721         (libc_feholdexcept_setround_387_ctx): Likewise.
24722         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24723         (libc_feholdsetround_387_prec_ctx): Likewise.
24724         (libc_feholdsetround_387_ctx): Likewise.
24725         (libc_feholdsetround_387_53bit_ctx): Likewise.
24726         (libc_feholdsetround_sse_ctx): Likewise.
24727         (libc_feresetround_sse_ctx): Likewise.
24728         (libc_feresetround_387_ctx): Likewise.
24729         (libc_feupdateenv_387_ctx): Likewise.
24730         (libc_feholdexcept_setroundf_ctx): Define macro.
24731         (libc_fesetenvf_ctx): Likewise.
24732         (libc_feupdateenvf_ctx): Likewise.
24733         (libc_feholdsetroundf_ctx): Likewise.
24734         (libc_feresetroundf_ctx): Likewise.
24735         (libc_feholdexcept_setround_ctx): Likewise.
24736         (libc_fesetenv_ctx): Likewise.
24737         (libc_feupdateenv_ctx): Likewise.
24738         (libc_feholdsetround_ctx): Likewise.
24739         (libc_feresetround_ctx): Likewise.
24740         (libc_feholdexcept_setroundl_ctx): Likewise.
24741         (libc_feupdateenvl_ctx): Likewise.
24742         (libc_feholdsetroundl_ctx): Likewise.
24743         (libc_feresetroundl_ctx): Likewise.
24744         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24745         (libc_feresetround_53bit_ctx): Likewise.
24746
24747 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24748
24749         * locale/iso-639.def: Convert to UTF-8.
24750
24751 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
24752
24753         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24754         (EXCEPTION_TESTS_double): Likewise.
24755         (EXCEPTION_TESTS_long_double): Likewise.
24756         (EXCEPTION_TESTS): Likewise.
24757         * math/libm-test.inc (test_exceptions): Only test exceptions if
24758         EXCEPTION_TESTS (FLOAT).
24759
24760 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24761
24762         * benchtests/Makefile (string-bench): Add strcpy_chk and
24763         stpcpy_chk.
24764         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24765         * benchtests/bench-stpcpy_chk.c: New file.
24766         * benchtests/bench-strcpy_chk-ifunc.c: New file.
24767         * benchtests/bench-strcpy_chk.c: New file.
24768         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24769         code.
24770         (do_test): Likewise.
24771
24772 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24773
24774         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24775         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24776         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24777         with tabs where appropriate.
24778         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24779         dl-procinfo.h.
24780         [PPC_PLATFORM_PPC440]: Likewise.
24781         [PPC_PLATFORM_PPC464]: Likewise.
24782         [PPC_PLATFORM_PPC476]: Likewise.
24783         (_dl_string_platform): Add support for detecting ppc405, ppc440,
24784         ppc464, and ppc476 platform strings merging from ports/
24785         dl-procinfo.h.
24786
24787 2013-06-11  Andreas Schwab  <schwab@suse.de>
24788
24789         [BZ #14991]
24790         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24791         (from_ucs4_idx): Regenerate.
24792         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24793         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24794         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24795         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24796         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24797         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24798         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24799         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24800         from FROM_LOOP and TO_LOOP specific macros.
24801         (BODY): Handle combining characters.
24802         * iconvdata/BIG5HKSCS.irreversible: Update.
24803         * iconvdata/BIG5HKSCS.precomposed: New file.
24804         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24805         characters.
24806         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24807
24808 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24809
24810         * include/sys/time.h: Fix indentation and add copyright header.
24811
24812         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24813         (do_test): Likewise.
24814         * string/test-memchr.c (do_one_test): Likewise.
24815         (do_test): Likewise.
24816         * string/test-memcmp.c (do_one_test): Likewise.
24817         (do_test): Likewise.
24818         * string/test-memcpy.c (do_one_test): Likewise.
24819         (do_test): Likewise.
24820         * string/test-memmem.c (do_one_test): Likewise.
24821         (do_test): Likewise.
24822         (do_random_tests): Likewise.
24823         * string/test-memmove.c (do_one_test): Likewise.
24824         (do_test): Likewise.
24825         * string/test-memset.c (do_one_test): Likewise.
24826         (do_test): Likewise.
24827         * string/test-rawmemchr.c (do_one_test): Likewise.
24828         (do_test): Likewise.
24829         * string/test-strcasecmp.c (do_one_test): Likewise.
24830         (do_test): Likewise.
24831         * string/test-strcasestr.c (do_one_test): Likewise.
24832         (do_test): Likewise.
24833         * string/test-strcat.c (do_one_test): Likewise.
24834         (do_test): Likewise.
24835         * string/test-strchr.c (do_one_test): Likewise.
24836         (do_test): Likewise.
24837         * string/test-strcmp.c (do_one_test): Likewise.
24838         (do_test): Likewise.
24839         * string/test-strcpy.c (do_one_test): Likewise.
24840         (do_test): Likewise.
24841         * string/test-string.h: Likewise.
24842         (test_init): Likewise.
24843         * string/test-strlen.c (do_one_test): Likewise.
24844         (do_test): Likewise.
24845         * string/test-strncasecmp.c (do_one_test): Likewise.
24846         (do_test): Likewise.
24847         * string/test-strncat.c (do_one_test): Likewise.
24848         (do_test): Likewise.
24849         * string/test-strncmp.c (do_one_test): Likewise.
24850         (do_test_limit): Likewise.
24851         (do_test): Likewise.
24852         * string/test-strncpy.c (do_one_test): Likewise.
24853         (do_test): Likewise.
24854         * string/test-strnlen.c (do_one_test): Likewise.
24855         (do_test): Likewise.
24856         * string/test-strpbrk.c (do_one_test): Likewise.
24857         (do_test): Likewise.
24858         * string/test-strrchr.c (do_one_test): Likewise.
24859         (do_test): Likewise.
24860         * string/test-strspn.c (do_one_test): Likewise.
24861         (do_test): Likewise.
24862         * string/test-strstr.c (do_one_test): Likewise.
24863         (do_test): Likewise.
24864
24865         * benchtests/Makefile (string-bench): Add string benchmarks.
24866         * benchtests/bench-bcopy-ifunc.c: New file.
24867         * benchtests/bench-bcopy.c: New file.
24868         * benchtests/bench-bzero-ifunc.c: New file.
24869         * benchtests/bench-bzero.c: New file.
24870         * benchtests/bench-memccpy-ifunc.c: New file.
24871         * benchtests/bench-memccpy.c: New file.
24872         * benchtests/bench-memchr-ifunc.c: New file.
24873         * benchtests/bench-memchr.c: New file.
24874         * benchtests/bench-memcmp-ifunc.c: New file.
24875         * benchtests/bench-memcmp.c: New file.
24876         * benchtests/bench-memmem-ifunc.c: New file.
24877         * benchtests/bench-memmem.c: New file.
24878         * benchtests/bench-memmove-ifunc.c: New file.
24879         * benchtests/bench-memmove.c: New file.
24880         * benchtests/bench-mempcpy-ifunc.c: New file.
24881         * benchtests/bench-mempcpy.c: New file.
24882         * benchtests/bench-memset-ifunc.c: New file.
24883         * benchtests/bench-memset.c: New file.
24884         * benchtests/bench-rawmemchr-ifunc.c: New file.
24885         * benchtests/bench-rawmemchr.c: New file.
24886         * benchtests/bench-stpcpy-ifunc.c: New file.
24887         * benchtests/bench-stpcpy.c: New file.
24888         * benchtests/bench-stpncpy-ifunc.c: New file.
24889         * benchtests/bench-stpncpy.c: New file.
24890         * benchtests/bench-strcasecmp-ifunc.c: New file.
24891         * benchtests/bench-strcasecmp.c: New file.
24892         * benchtests/bench-strcasestr-ifunc.c: New file.
24893         * benchtests/bench-strcasestr.c: New file.
24894         * benchtests/bench-strcat-ifunc.c: New file.
24895         * benchtests/bench-strcat.c: New file.
24896         * benchtests/bench-strchr-ifunc.c: New file.
24897         * benchtests/bench-strchr.c: New file.
24898         * benchtests/bench-strchrnul-ifunc.c: New file.
24899         * benchtests/bench-strchrnul.c: New file.
24900         * benchtests/bench-strcmp-ifunc.c: New file.
24901         * benchtests/bench-strcmp.c: New file.
24902         * benchtests/bench-strcpy-ifunc.c: New file.
24903         * benchtests/bench-strcpy.c: New file.
24904         * benchtests/bench-strcspn-ifunc.c: New file.
24905         * benchtests/bench-strcspn.c: New file.
24906         * benchtests/bench-strlen-ifunc.c: New file.
24907         * benchtests/bench-strlen.c: New file.
24908         * benchtests/bench-strncasecmp-ifunc.c: New file.
24909         * benchtests/bench-strncasecmp.c: New file.
24910         * benchtests/bench-strncat-ifunc.c: New file.
24911         * benchtests/bench-strncat.c: New file.
24912         * benchtests/bench-strncmp-ifunc.c: New file.
24913         * benchtests/bench-strncmp.c: New file.
24914         * benchtests/bench-strncpy-ifunc.c: New file.
24915         * benchtests/bench-strncpy.c: New file.
24916         * benchtests/bench-strnlen-ifunc.c: New file.
24917         * benchtests/bench-strnlen.c: New file.
24918         * benchtests/bench-strpbrk-ifunc.c: New file.
24919         * benchtests/bench-strpbrk.c: New file.
24920         * benchtests/bench-strrchr-ifunc.c: New file.
24921         * benchtests/bench-strrchr.c: New file.
24922         * benchtests/bench-strspn-ifunc.c: New file.
24923         * benchtests/bench-strspn.c: New file.
24924         * benchtests/bench-strstr-ifunc.c: New file.
24925         * benchtests/bench-strstr.c: New file.
24926
24927         * benchtests/Makefile: Disable parallel execution of targets.
24928         (string-bench): Add memcpy.
24929         (benchset): New variable to store a list of benchmark sets.
24930         (bench-func): Renamed from bench.
24931         (bench-set): New target.
24932         (bench): Depend on bench-func and bench-set.
24933         * benchtests/README: Add section on benchmark sets.
24934         * benchtests/bench-memcpy-ifunc.c: New file.
24935         * benchtests/bench-memcpy.c: New file.
24936         * benchtests/bench-string.h: New file.
24937
24938 2013-06-11  Andreas Schwab  <schwab@suse.de>
24939
24940         [BZ #15577]
24941         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24942         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24943         values in the triple.
24944         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24945         terminator in the group key.
24946
24947 2013-06-11  Andreas Jaeger  <aj@suse.de>
24948
24949         * po/zh_TW.po: Update Chinese (traditional) translation from
24950         translation project.
24951
24952 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24953
24954         * include/time.h (__clock_gettime): Add libc_hidden_proto.
24955         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24956         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
24957         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24958         (clock_getcpuclockid): Likewise.
24959         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24960         Add weak_alias and libc_hidden_def.
24961         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24962         * rt/clock_gettime.c (clock_gettime): Rename to
24963         __clock_gettime.  Add weak_alias and libc_hidden_def.
24964         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24965         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24966         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
24967         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24968         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24969         Likewise.
24970         * rt/clock_settime.c (clock_settime): Rename to
24971         __clock_settime.  Add weak_alias and libc_hidden_def.
24972         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24973
24974 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
24975
24976         * mach/err_boot.sub: Remove trailing whitespace.
24977         * mach/err_ipc.sub: Likewise.
24978         * mach/err_mach.sub: Likewise.
24979
24980         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24981         (ROUNDING_TESTS_double): Likewise.
24982         (ROUNDING_TESTS_long_double): Likewise.
24983         (ROUNDING_TESTS): Likewise.
24984         * math/libm-test.inc: Include <math-tests.h>.
24985         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24986         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24987         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24988         (IF_ROUND_INIT_FE_UPWARD): Likewise.
24989
24990 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24991
24992         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24993         of assigning.
24994
24995 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
24996
24997         * sysdeps/gnu/errlist.awk: Do not generate space at end of
24998         otherwise empty TRANS lines.
24999         * sysdeps/gnu/errlist.c: Regenerated.
25000
25001         * catgets/gencat.c (error_print): Use (void) in function
25002         definition.
25003         * crypt/crypt_util.c (__init_des): Likewise.
25004         * crypt/speeds.c (Stop): Likewise.
25005         (main): Likewise.
25006         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25007         * inet/ruserpass.c (token): Likewise.
25008         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25009         * intl/localealias.c (extend_alias_table): Likewise.
25010         * intl/plural-exp.c (init_germanic_plural): Likewise.
25011         * libio/fcloseall.c (__fcloseall): Likewise.
25012         * libio/genops.c (_IO_flush_all): Likewise.
25013         (_IO_flush_all_linebuffered): Likewise.
25014         (_IO_cleanup): Likewise.
25015         (_IO_iter_begin): Likewise.
25016         (_IO_iter_end): Likewise.
25017         (_IO_list_lock): Likewise.
25018         (_IO_list_unlock): Likewise.
25019         (_IO_list_resetlock): Likewise.
25020         * libio/getchar.c (getchar): Likewise.
25021         * libio/getchar_u.c (getchar_unlocked): Likewise.
25022         * libio/getwchar.c (getwchar): Likewise.
25023         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25024         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25025         * login/getpt.c (__getpt): Likewise.
25026         * login/tst-utmp.c (main): Likewise.
25027         * malloc/hooks.c (__malloc_check_init): Likewise.
25028         * malloc/malloc.c (__malloc_stats): Likewise.
25029         * malloc/mtrace.c (tr_break): Likewise.
25030         (mtrace): Likewise.
25031         (muntrace): Likewise.
25032         * misc/fstab.c (endfsent): Likewise.
25033         * misc/getclktck.c (__getclktck): Likewise.
25034         * misc/getdtsz.c (__getdtablesize): Likewise.
25035         * misc/gethostid.c (gethostid): Likewise.
25036         * misc/getpagesize.c (__getpagesize): Likewise.
25037         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25038         (__get_nprocs): Likewise.
25039         (__get_phys_pages): Likewise.
25040         (__get_avphys_pages): Likewise.
25041         * misc/getttyent.c (getttyent): Likewise.
25042         (setttyent): Likewise.
25043         (endttyent): Likewise.
25044         * misc/getusershell.c (getusershell): Likewise.
25045         (endusershell): Likewise.
25046         (setusershell): Likewise.
25047         (initshells): Likewise.
25048         * misc/hsearch.c (__hdestroy): Likewise.
25049         * misc/sync.c (sync): Likewise.
25050         * misc/syslog.c (closelog_internal): Likewise.
25051         (closelog): Likewise.
25052         * misc/ttyslot.c (ttyslot): Likewise.
25053         * misc/vhangup.c (vhangup): Likewise.
25054         * posix/fork.c (__fork): Likewise.
25055         * posix/getegid.c (__getegid): Likewise.
25056         * posix/geteuid.c (__geteuid): Likewise.
25057         * posix/getgid.c (__getgid): Likewise.
25058         * posix/getpid.c (__getpid): Likewise.
25059         * posix/getppid.c (__getppid): Likewise.
25060         * posix/getuid.c (__getuid): Likewise.
25061         * posix/pause.c (pause): Likewise.
25062         * posix/setpgrp.c (setpgrp): Likewise.
25063         * posix/setsid.c (__setsid): Likewise.
25064         * posix/test-vfork.c (noop): Likewise.
25065         * resolv/gethnamaddr.c (_endhtent): Likewise.
25066         (_gethtent): Likewise.
25067         (ht_endhostent): Likewise.
25068         (gethostent): Likewise.
25069         (dns_service): Likewise.
25070         * stdlib/drand48.c (drand48): Likewise.
25071         * stdlib/lrand48.c (lrand48): Likewise.
25072         * stdlib/mrand48.c (mrand48): Likewise.
25073         * stdlib/rand.c (rand): Likewise.
25074         * stdlib/random.c (__random): Likewise.
25075         * stdlib/setenv.c (clearenv): Likewise.
25076         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25077         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25078         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25079         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25080         (__get_nprocs): Likewise.
25081         (__get_phys_pages): Likewise.
25082         (__get_avphys_pages): Likewise.
25083         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25084         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25085         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25086         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25087         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25088         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25089         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25090         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25091         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25092         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25093         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25094         * sysdeps/mach/hurd/sync.c (sync): Likewise.
25095         * sysdeps/posix/clock.c (clock): Likewise.
25096         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25097         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25098         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25099         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25100         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25101         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25102         (__get_nprocs_conf): Likewise.
25103         (__get_phys_pages): Likewise.
25104         (__get_avphys_pages): Likewise.
25105         * time/clock.c (clock): Likewise.
25106         * time/tzset.c (__tzname_max): Likewise.
25107
25108 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
25109
25110         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25111         (__bswap_32): Do not use "register".
25112         * crypt/crypt.c (_ufc_doit_r): Likewise.
25113         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25114         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25115         * gmon/gmon.c (__monstartup): Likewise.
25116         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25117         * hurd/hurdmalloc.c (more_memory): Likewise.
25118         (malloc): Likewise.
25119         (free): Likewise.
25120         (realloc): Likewise.
25121         (malloc_fork_prepare): Likewise.
25122         (malloc_fork_parent): Likewise.
25123         (malloc_fork_child): Likewise.
25124         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25125         (_svcauth_des): Likewise.
25126         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25127         * inet/inet_net.c (inet_network): Likewise.
25128         * inet/inet_netof.c (inet_netof): Likewise.
25129         * inet/rcmd.c (__validuser2_sa): Likewise.
25130         * io/fts.c (fts_open): Likewise.
25131         (fts_load): Likewise.
25132         (fts_close): Likewise.
25133         (fts_read): Likewise.
25134         (fts_children): Likewise.
25135         (fts_build): Likewise.
25136         (fts_stat): Likewise.
25137         (fts_sort): Likewise.
25138         (fts_alloc): Likewise.
25139         (fts_lfree): Likewise.
25140         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25141         (_IO_file_xsgetn): Likewise.
25142         (_IO_file_xsgetn_mmap): Likewise.
25143         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25144         (_IO_cookie_write): Likewise.
25145         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25146         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25147         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25148         * malloc/obstack.c (_obstack_begin): Likewise.
25149         (_obstack_begin_1): Likewise.
25150         (_obstack_newchunk): Likewise.
25151         (_obstack_allocated_p): Likewise.
25152         (obstack_free): Likewise.
25153         (_obstack_memory_used): Likewise.
25154         * misc/getttyent.c (getttynam): Likewise.
25155         (getttyent): Likewise.
25156         (skip): Likewise.
25157         (value): Likewise.
25158         * misc/getusershell.c (initshells): Likewise.
25159         * misc/syslog.c (__vsyslog_chk): Likewise.
25160         * misc/ttyslot.c (ttyslot): Likewise.
25161         * nis/nis_hash.c (__nis_hash): Likewise.
25162         * posix/fnmatch_loop.c (FCT): Likewise.
25163         * posix/getconf.c (print_all): Likewise.
25164         (main): Likewise.
25165         * posix/getopt.c (exchange): Likewise.
25166         * posix/glob.c (globfree): Likewise.
25167         (prefix_array): Likewise.
25168         (__glob_pattern_type): Likewise.
25169         * resolv/arpa/nameser.h (NS_GET16): Likewise.
25170         (NS_GET32): Likewise.
25171         (NS_PUT16): Likewise.
25172         (NS_PUT32): Likewise.
25173         * resolv/gethnamaddr.c (getanswer): Likewise.
25174         (gethostbyname2): Likewise.
25175         (gethostbyaddr): Likewise.
25176         (_gethtent): Likewise.
25177         (_gethtbyname2): Likewise.
25178         (_gethtbyaddr): Likewise.
25179         * resolv/ns_print.c (dst_s_get_int16): Likewise.
25180         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25181         * resolv/res_init.c (__res_vinit): Likewise.
25182         (net_mask): Likewise.
25183         * resolv/res_mkquery.c (outchar): Likewise.
25184         (PRINT): Likewise.
25185         * stdio-common/printf_fp.c (outchar): Likewise.
25186         (PRINT): Likewise.
25187         * stdio-common/printf_fphex.c (outchar): Likewise.
25188         (PRINT): Likewise.
25189         * stdio-common/printf_size.c (outchar): Likewise.
25190         (PRINT): Likewise.
25191         * stdio-common/test_rdwr.c (main): Likewise.
25192         * stdio-common/tfformat.c (matches): Likewise.
25193         * stdio-common/vfprintf.c (outchar): Likewise.
25194         (printf_unknown): Likewise.
25195         (buffered_vfprintf): Likewise.
25196         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25197         * stdio-common/xbug.c (AppendToBuffer): Likewise.
25198         (ReadFile): Likewise.
25199         * stdlib/qsort.c (SWAP): Likewise.
25200         (_quicksort): Likewise.
25201         * stdlib/setenv.c (__add_to_environ): Likewise.
25202         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25203         * stdlib/strtol_l.c (__strtol_l): Likewise.
25204         * stdlib/tst-strtod.c (main): Likewise.
25205         * stdlib/tst-strtol.c (main): Likewise.
25206         * stdlib/tst-strtoll.c (main): Likewise.
25207         * string/bits/string2.h (__strcmp_cc): Likewise.
25208         (__strcmp_cg): Likewise.
25209         (__strcspn_c1): Likewise.
25210         (__strcspn_c2): Likewise.
25211         (__strcspn_c3): Likewise.
25212         (__strspn_c1): Likewise.
25213         (__strspn_c2): Likewise.
25214         (__strspn_c3): Likewise.
25215         (__strsep_1c): Likewise.
25216         (__strsep_2c): Likewise.
25217         (__strsep_3c): Likewise.
25218         * string/memccpy.c (__memccpy): Likewise.
25219         * string/stpcpy.c (__stpcpy): Likewise.
25220         * string/strcmp.c (strcmp): Likewise.
25221         * string/strrchr.c (strrchr): Likewise.
25222         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25223         Likewise.
25224         * sysdeps/mach/hurd/getcwd.c
25225         (_hurd_canonicalize_directory_name_internal): Likewise.
25226         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25227         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25228         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25229         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25230         Likewise, in both definitions.
25231         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25232         definitions.
25233         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25234         64] (__bswap_64): Likewise.
25235         * time/test_time.c (main): Likewise.
25236         * time/tzfile.c (__tzfile_read): Likewise.
25237         (__tzfile_compute): Likewise.
25238         * time/tzset.c (__tzset_parse_tz): Likewise.
25239         (tzset_internal): Likewise.
25240         (compute_change): Likewise.
25241         * wcsmbs/wcscat.c (__wcscat): Likewise.
25242         * wcsmbs/wcschr.c (wcschr): Likewise.
25243         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25244         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25245         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25246         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25247         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25248         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25249         * wcsmbs/wmemchr.c (wmemchr): Likewise.
25250         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25251         * wcsmbs/wmemset.c (wmemset): Likewise.
25252
25253 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
25254
25255         * scripts/config.guess: Update to version 2013-05-16.
25256         * scripts/config.sub: Update to version 2013-04-24.
25257         * scripts/install-sh: Update to version 2011-11-20.07.
25258         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25259         * scripts/move-if-change: Update to version 2012-01-06 07:23.
25260
25261 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
25262
25263         * debug/fgetws_u_chk.c: Fix leading whitespaces.
25264         * elf/sln.c: Likewise.
25265         * hurd/hurd/ioctl.h: Likewise.
25266         * hurd/hurdmalloc.c: Likewise.
25267         * hurd/xattr.c: Likewise.
25268         * include/shlib-compat.h: Likewise.
25269         * inet/ruserpass.c: Likewise.
25270         * libio/iofgets_u.c: Likewise.
25271         * libio/iofgetws_u.c: Likewise.
25272         * locale/programs/ld-identification.c: Likewise.
25273         * locale/programs/ld-time.c: Likewise.
25274         * mach/msg-destroy.c: Likewise.
25275         * nss/nss_files/files-netgrp.c: Likewise.
25276         * resolv/res_data.c: Likewise.
25277         * soft-fp/op-1.h: Likewise.
25278         * soft-fp/op-2.h: Likewise.
25279         * soft-fp/op-4.h: Likewise.
25280         * soft-fp/op-common.h: Likewise.
25281         * stdio-common/printf_fphex.c: Likewise.
25282         * stdlib/strtod_l.c: Likewise.
25283         * sunrpc/rpc/clnt.h: Likewise.
25284         * sysdeps/generic/framestate.c: Likewise.
25285         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25286         * sysdeps/i386/bsd-setjmp.S: Likewise.
25287         * sysdeps/i386/__longjmp.S: Likewise.
25288         * sysdeps/i386/setjmp.S: Likewise.
25289         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25290         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25291         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25292         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25293         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25294         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25295         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25296         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25297         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25298         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25299         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25300         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25301         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25302         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25303         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25304         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25305         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25306         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25307         * sysdeps/ieee754/support.c: Likewise.
25308         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25309         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25310         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25311         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25312         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25313         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25314         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25315         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25316         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25317         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25318         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25319         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25320         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25321         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25322         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25323         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25324         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25326
25327 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
25328
25329         * posix/transbug.c: Remove executable mode.
25330
25331 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
25332
25333         * crypt/speeds.c: Remove trailing whitespace.
25334         * dlfcn/default.c: Likewise.
25335         * elf/ifuncdep2.c: Likewise.
25336         * elf/ifuncmain1.c: Likewise.
25337         * elf/ifuncmain1vis.c: Likewise.
25338         * elf/testobj.h: Likewise.
25339         * elf/tst-stackguard1.c: Likewise.
25340         * gmon/sys/gmon.h: Likewise.
25341         * hurd/hurdmsg.c: Likewise.
25342         * hurd/new-fd.c: Likewise.
25343         * hurd/ports-get.c: Likewise.
25344         * iconvdata/ibm1008_420.c: Likewise.
25345         * inet/tst-getni1.c: Likewise.
25346         * inet/tst-getni2.c: Likewise.
25347         * libio/ioungetc.c: Likewise.
25348         * libio/wfiledoalloc.c: Likewise.
25349         * manual/libm-err-tab.pl: Likewise.
25350         * math/w_dremf.c: Likewise.
25351         * misc/ftruncate.c: Likewise.
25352         * posix/bug-glob2.c: Likewise.
25353         * posix/tst-pcre.c: Likewise.
25354         * posix/wait4.c: Likewise.
25355         * resolv/README: Likewise.
25356         * resolv/res_debug.h: Likewise.
25357         * resolv/tst-inet_ntop.c: Likewise.
25358         * setjmp/bug269-setjmp.c: Likewise.
25359         * soft-fp/extended.h: Likewise.
25360         * soft-fp/op-1.h: Likewise.
25361         * soft-fp/op-2.h: Likewise.
25362         * soft-fp/op-4.h: Likewise.
25363         * soft-fp/op-8.h: Likewise.
25364         * soft-fp/testit.c: Likewise.
25365         * stdio-common/bug16.c: Likewise.
25366         * stdlib/random.c: Likewise.
25367         * sunrpc/rpcsvc/rquota.x: Likewise.
25368         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25369         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25370         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25371         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25372         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25373         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25374         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25375         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25376         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25377         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25378         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25379         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25380         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25381         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25382         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25383         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25384         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25385         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25386         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25387         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25388         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25389         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25390         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25391         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25392         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25393         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25394         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25395         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25396         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25397         * sysdeps/ieee754/s_lib_version.c: Likewise.
25398         * sysdeps/mach/hurd/check_fds.c: Likewise.
25399         * sysdeps/mach/hurd/getsockname.c: Likewise.
25400         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25401         * sysdeps/mach/hurd/recvfrom.c: Likewise.
25402         * sysdeps/powerpc/bits/link.h: Likewise.
25403         * sysdeps/powerpc/dl-procinfo.c: Likewise.
25404         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25405         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25406         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25407         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25408         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25409         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25410         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25411         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25412         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25413         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25414         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25415         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25416         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25417         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25418         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25419         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25420         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25421         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25422         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25423         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25424         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25425         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25426         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25427         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25428         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25429         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25430         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25431         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25432         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25433         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25434         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25435         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25436         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25437         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25438         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25439         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25440         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25441         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25442         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25443         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25444         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25445         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25446         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25447         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25448         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25449         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25450         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25451         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25452         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25453         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25454         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25455         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25456         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25457         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25458         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25459         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25460         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25461         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25462         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25463         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25464         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25465         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25466         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25467         * sysdeps/powerpc/sysdep.h: Likewise.
25468         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25469         * sysdeps/s390/s390-64/sub_n.S: Likewise.
25470         * sysdeps/sh/dl-trampoline.S: Likewise.
25471         * sysdeps/sh/memset.S: Likewise.
25472         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25473         * sysdeps/sh/strlen.S: Likewise.
25474         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25475         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25476         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25477         * sysdeps/sparc/sparc32/rem.S: Likewise.
25478         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25479         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25480         * sysdeps/sparc/sparc32/strchr.S: Likewise.
25481         * sysdeps/sparc/sparc32/udiv.S: Likewise.
25482         * sysdeps/sparc/sparc32/urem.S: Likewise.
25483         * sysdeps/sparc/sparc64/add_n.S: Likewise.
25484         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25485         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25486         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25487         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25488         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25489         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25490         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25491         * sysdeps/unix/bsd/times.c: Likewise.
25492         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25493         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25497         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25498         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25499         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25500         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25501         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25502         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25503         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25504         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25505         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25506         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25507         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25508         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25509         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25510         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25511         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25512         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25513         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25514         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25515         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25516         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25517         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25518         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25519         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25520         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25521         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25522         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25523         * sysdeps/x86_64/strcspn.S: Likewise.
25524
25525 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25526
25527         * locale/C-translit.h: Revert #include <stdint.h> because this is a
25528         generated file.  Regenerate properly from gen-translit.pl.
25529         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
25530         locale/C-translit.h.
25531
25532 2013-06-05  Andreas Schwab  <schwab@suse.de>
25533
25534         [BZ #15100]
25535         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25536         week as 6 instead of -1.
25537         * time/tst-strptime.c (day_tests): Add test case.
25538
25539 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25540
25541         * sysdeps/generic/math_private.h
25542         (libc_feholdexcept_setround_53bit): Replace with
25543         libc_feholdsetround_53bit.
25544         (libc_feupdateenv_53bit): Replace with
25545         libc_feresetround_53bit.
25546         (SET_RESTORE_ROUND_53BIT): Adjust.
25547
25548 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25549
25550         * string/test-strchrnul.c: Add copyright header.
25551
25552         * posix/tst-getaddrinfo4.c: Increase test timeout.
25553
25554 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
25555
25556         [BZ #15536]
25557         * math/libm-test.inc (MAX_EXP): Remove
25558         (MIN_EXP): Define.
25559         (ulp): Use MIN_EXP - MANT_DIG.
25560         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25561
25562 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
25563
25564         * po/be.po: Revert last change.
25565         * po/zh_CN.po: Likewise.
25566         * po/header.pot: Likewise.
25567
25568 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
25569
25570         * Makefile ($(common-objpfx)linkobj/libc.so): Define
25571         link-libc-deps to empty as target-specific variable.
25572         * Makerules (link-libc-args): New variable.
25573         (libc-for-link): Likewise.
25574         (link-libc-deps): Likewise.
25575         (lib%.so): Depend on $(link-libc-deps).  Link with
25576         $(link-libc-args).
25577         (build-module): Link with $(link-libc-args).
25578         (build-module-asneeded): Likewise.
25579         (build-module-helper-objlist): Filter out $(link-libc-deps) from
25580         list of objects.
25581         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25582         target-specific variable.
25583         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25584         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25585         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25586         libc.
25587         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25588         libc and ld.so.
25589         ($(objpfx)libpcprofile.so): Likewise.
25590         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25591         libc_nonshared.a.
25592         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25593         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25594         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25595         $(link-libc-deps).
25596         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25597         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25598         * login/Makefile ($(objpfx)libutil.so): Likewise.
25599         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25600         * math/Makefile ($(objpfx)libm.so): Likewise.
25601         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25602         $(objpfx)libnsl.so): Define libc-for-link as target-specific
25603         variable instead of depending directly on libc.
25604         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25605         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25606         $(link-libc-deps).
25607         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25608         libc.
25609         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25610         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25611         ($(objpfx)libanl.so): Likewise.
25612         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25613         ld.so.
25614         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25615         $(link-libc-deps).
25616         * sysdeps/i386/fpu/Makefile: Remove file.
25617         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25618         ($(objpfx)libm.so): Remove dependency on ld.so.
25619
25620 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
25621
25622         [BZ # 15553]
25623         * nis/yp_xdr.c (XDRMAXNAME): Define.
25624         (XDRMAXRECORD): Define.
25625         (xdr_domainname): Use XDRMAXNAME.
25626         (xdr_mapname): Likewise.
25627         (xdr_peername): Likewise.
25628         (xdr_keydat): Use XDRMAXRECORD.
25629         (xdr_valdat): Likewise.
25630
25631 2013-05-30  Jeff Law  <law@redhat.com>
25632
25633         [BZ #14256]
25634         * manual/errno.texi (ESTALE): Update to account for more than
25635         just NFS file systems.
25636         * sysdeps/gnu/errlist.c: Regenerated.
25637
25638 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25639
25640         [BZ #15465]
25641         * elf/Makefile (tests): Add tst-null-argv.
25642         (modules-names):  Add tst-null-argv-lib.
25643         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25644         (tst-null-argv-ENV): Set environment for tst-null-argv.
25645         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25646         (RTLD_PROGNAME): New macro.
25647         * elf/tst-null-argv.c: New test case.
25648         * elf/tst-null-argv-lib.c: Library for test case.
25649         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25650         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25651         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25652         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25653         * elf/dl-init.c (call_init): Likewise.
25654         (_dl_init): Likewise.
25655         * elf/dl-load.c (print_search_path): Likewise.
25656         (_dl_map_object): Likewise.
25657         * elf/dl-lookup.c (do_lookup_x): Likewise.
25658         (add_dependency): Likewise.
25659         (_dl_lookup_symbol_x): Likewise.
25660         (_dl_debug_bindings): Likewise.
25661         * elf/dl-open.c (_dl_show_scope): Likewise.
25662         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25663         * elf/dl-version.c (match_symbol): Likewise.
25664         (_dl_check_map_versions): Likewise.
25665         * elf/rtld.c (dl_main): Likewise.
25666         (print_unresolved): Use RTLD_PROGNAME.
25667         (print_missing_version): Likewise.
25668         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25669         (elf_machine_rela): Likewise.
25670         * sysdeps/powerpc/powerpc32/dl-machine.c
25671         (__process_machine_rela): Likewise.
25672         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25673         Likewise.
25674         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25675         Likewise.
25676         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25677         Likewise.
25678         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25679         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25680         Likewise.
25681         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25682         Likewise.
25683         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25684
25685 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
25686
25687         * po/be.po: Add descriptive title.
25688         * po/zh_CN.po: Likewise.
25689         * po/header.pot: Likewise.
25690
25691 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
25692
25693         * locale/programs/locarchive.c (create_archive): Inlucde fname in
25694         error message.
25695         (enlarge_archive): Likewise.
25696
25697 2013-05-28  Ben North  <ben@redfrontdoor.org>
25698
25699         * manual/arith.texi (frexp): It is the magnitude of the return
25700         value which lies in [0.5, 1), not the return value itself.
25701
25702 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25703
25704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25705
25706 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
25707
25708         * stdio-common/bug26.c (main): Correct fscanf template.
25709
25710         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25711         declare _dl_skip_args.
25712
25713         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25714         Don't declare.
25715
25716         * manual/platform.texi: Add missing @end deftypefun.
25717
25718 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25719
25720         [BZ #15529]
25721         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25722         bit of mantissa of 2^16382.
25723         * math/libm-test.inc (hypot_test_data): Add more tests.
25724
25725         * math/libm-test.inc: Add drem and pow10 to list of tested
25726         functions.
25727         (pow10_test): New function.
25728         (drem_test): Likewise.
25729         (drem_test_tonearest): Likewise.
25730         (drem_test_towardzero): Likewise.
25731         (drem_test_downward): Likewise.
25732         (drem_test_upward): Likewise.
25733         (main): Call the new functions.
25734
25735         * math/libm-test.inc (finite_test_data): Remove.
25736         (finite_test): Run tests from isfinite_test_data.
25737         (gamma_test_data): Remove.
25738         (gamma_test): Run tests from lgamma_test_data.
25739         * sysdeps/i386/fpu/libm-test-ulps: Update.
25740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25741
25742 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25743
25744         * manual/platform.texi: Add PowerPC PPR function set documentation.
25745         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25746         implementation.
25747
25748 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
25749
25750         * math/libm-test.inc (MAX_EXP): Define.
25751         (ULPDIFF): Define.
25752         (ulp): New function.
25753         (check_float_internal): Use ULPDIFF.
25754         (cpow_test): Disable failing test.
25755         (check_ulp): Test ulp() implemetnation.
25756         (main): Call check_ulp before starting tests.
25757
25758 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25759
25760         * math/gen-libm-test.pl (generate_testfile): Do not handle
25761         START_DATA and END_DATA.
25762         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25763         END_DATA.
25764         (acos_tonearest_test_data): Likewise.
25765         (acos_towardzero_test_data): Likewise.
25766         (acos_downward_test_data): Likewise.
25767         (acos_upward_test_data): Likewise.
25768         (acosh_test_data): Likewise.
25769         (asin_test_data): Likewise.
25770         (asin_tonearest_test_data): Likewise.
25771         (asin_towardzero_test_data): Likewise.
25772         (asin_downward_test_data): Likewise.
25773         (asin_upward_test_data): Likewise.
25774         (asinh_test_data): Likewise.
25775         (atan_test_data): Likewise.
25776         (atanh_test_data): Likewise.
25777         (atan2_test_data): Likewise.
25778         (cabs_test_data): Likewise.
25779         (cacos_test_data): Likewise.
25780         (cacosh_test_data): Likewise.
25781         (carg_test_data): Likewise.
25782         (casin_test_data): Likewise.
25783         (casinh_test_data): Likewise.
25784         (catan_test_data): Likewise.
25785         (catanh_test_data): Likewise.
25786         (cbrt_test_data): Likewise.
25787         (ccos_test_data): Likewise.
25788         (ccosh_test_data): Likewise.
25789         (ceil_test_data): Likewise.
25790         (cexp_test_data): Likewise.
25791         (cimag_test_data): Likewise.
25792         (clog_test_data): Likewise.
25793         (clog10_test_data): Likewise.
25794         (conj_test_data): Likewise.
25795         (copysign_test_data): Likewise.
25796         (cos_test_data): Likewise.
25797         (cos_tonearest_test_data): Likewise.
25798         (cos_towardzero_test_data): Likewise.
25799         (cos_downward_test_data): Likewise.
25800         (cos_upward_test_data): Likewise.
25801         (cosh_test_data): Likewise.
25802         (cosh_tonearest_test_data): Likewise.
25803         (cosh_towardzero_test_data): Likewise.
25804         (cosh_downward_test_data): Likewise.
25805         (cosh_upward_test_data): Likewise.
25806         (cpow_test_data): Likewise.
25807         (cproj_test_data): Likewise.
25808         (creal_test_data): Likewise.
25809         (csin_test_data): Likewise.
25810         (csinh_test_data): Likewise.
25811         (csqrt_test_data): Likewise.
25812         (ctan_test_data): Likewise.
25813         (ctan_tonearest_test_data): Likewise.
25814         (ctan_towardzero_test_data): Likewise.
25815         (ctan_downward_test_data): Likewise.
25816         (ctan_upward_test_data): Likewise.
25817         (ctanh_test_data): Likewise.
25818         (ctanh_tonearest_test_data): Likewise.
25819         (ctanh_towardzero_test_data): Likewise.
25820         (ctanh_downward_test_data): Likewise.
25821         (ctanh_upward_test_data): Likewise.
25822         (erf_test_data): Likewise.
25823         (erfc_test_data): Likewise.
25824         (exp_test_data): Likewise.
25825         (exp_tonearest_test_data): Likewise.
25826         (exp_towardzero_test_data): Likewise.
25827         (exp_downward_test_data): Likewise.
25828         (exp_upward_test_data): Likewise.
25829         (exp10_test_data): Likewise.
25830         (exp2_test_data): Likewise.
25831         (expm1_test_data): Likewise.
25832         (fabs_test_data): Likewise.
25833         (fdim_test_data): Likewise.
25834         (finite_test_data): Likewise.
25835         (floor_test_data): Likewise.
25836         (fma_test_data): Likewise.
25837         (fma_towardzero_test_data): Likewise.
25838         (fma_downward_test_data): Likewise.
25839         (fma_upward_test_data): Likewise.
25840         (fmax_test_data): Likewise.
25841         (fmin_test_data): Likewise.
25842         (fmod_test_data): Likewise.
25843         (fpclassify_test_data): Likewise.
25844         (frexp_test_data): Likewise.
25845         (gamma_test_data): Likewise.
25846         (hypot_test_data): Likewise.
25847         (ilogb_test_data): Likewise.
25848         (isfinite_test_data): Likewise.
25849         (isgreater_test_data): Likewise.
25850         (isgreaterequal_test_data): Likewise.
25851         (isinf_test_data): Likewise.
25852         (isless_test_data): Likewise.
25853         (islessequal_test_data): Likewise.
25854         (islessgreater_test_data): Likewise.
25855         (isnan_test_data): Likewise.
25856         (isnormal_test_data): Likewise.
25857         (issignaling_test_data): Likewise.
25858         (isunordered_test_data): Likewise.
25859         (j0_test_data): Likewise.
25860         (j1_test_data): Likewise.
25861         (jn_test_data): Likewise.
25862         (ldexp_test_data): Likewise.
25863         (lgamma_test_data): Likewise.
25864         (lrint_test_data): Likewise.
25865         (lrint_tonearest_test_data): Likewise.
25866         (lrint_towardzero_test_data): Likewise.
25867         (lrint_downward_test_data): Likewise.
25868         (lrint_upward_test_data): Likewise.
25869         (llrint_test_data): Likewise.
25870         (llrint_tonearest_test_data): Likewise.
25871         (llrint_towardzero_test_data): Likewise.
25872         (llrint_downward_test_data): Likewise.
25873         (llrint_upward_test_data): Likewise.
25874         (log_test_data): Likewise.
25875         (log10_test_data): Likewise.
25876         (log1p_test_data): Likewise.
25877         (log2_test_data): Likewise.
25878         (logb_test_data): Likewise.
25879         (logb_downward_test_data): Likewise.
25880         (lround_test_data): Likewise.
25881         (llround_test_data): Likewise.
25882         (modf_test_data): Likewise.
25883         (nearbyint_test_data): Likewise.
25884         (nextafter_test_data): Likewise.
25885         (nexttoward_test_data): Likewise.
25886         (pow_test_data): Likewise.
25887         (pow_tonearest_test_data): Likewise.
25888         (pow_towardzero_test_data): Likewise.
25889         (pow_downward_test_data): Likewise.
25890         (pow_upward_test_data): Likewise.
25891         (remainder_test_data): Likewise.
25892         (remainder_tonearest_test_data): Likewise.
25893         (remainder_towardzero_test_data): Likewise.
25894         (remainder_downward_test_data): Likewise.
25895         (remainder_upward_test_data): Likewise.
25896         (remquo_test_data): Likewise.
25897         (rint_test_data): Likewise.
25898         (rint_tonearest_test_data): Likewise.
25899         (rint_towardzero_test_data): Likewise.
25900         (rint_downward_test_data): Likewise.
25901         (rint_upward_test_data): Likewise.
25902         (round_test_data): Likewise.
25903         (scalb_test_data): Likewise.
25904         (scalbn_test_data): Likewise.
25905         (scalbln_test_data): Likewise.
25906         (signbit_test_data): Likewise.
25907         (sin_test_data): Likewise.
25908         (sin_tonearest_test_data): Likewise.
25909         (sin_towardzero_test_data): Likewise.
25910         (sin_downward_test_data): Likewise.
25911         (sin_upward_test_data): Likewise.
25912         (sincos_test_data): Likewise.
25913         (sinh_test_data): Likewise.
25914         (sinh_tonearest_test_data): Likewise.
25915         (sinh_towardzero_test_data): Likewise.
25916         (sinh_downward_test_data): Likewise.
25917         (sinh_upward_test_data): Likewise.
25918         (sqrt_test_data): Likewise.
25919         (tan_test_data): Likewise.
25920         (tan_tonearest_test_data): Likewise.
25921         (tan_towardzero_test_data): Likewise.
25922         (tan_downward_test_data): Likewise.
25923         (tan_upward_test_data): Likewise.
25924         (tanh_test_data): Likewise.
25925         (tgamma_test_data): Likewise.
25926         (trunc_test_data): Likewise.
25927         (y0_test_data): Likewise.
25928         (y1_test_data): Likewise.
25929         (yn_test_data): Likewise.
25930         (significand_test_data): Likewise.
25931
25932         * math/gen-libm-test.pl (@functions): Remove variable.
25933         (generate_testfile): Don't handle START and END lines.
25934         * math/libm-test.inc (START): New macro.
25935         (END): Likewise.
25936         (END_COMPLEX): Likewise.
25937         (acos_test): Use END macro without arguments.
25938         (acos_test_tonearest): Likewise.
25939         (acos_test_towardzero): Likewise.
25940         (acos_test_downward): Likewise.
25941         (acos_test_upward): Likewise.
25942         (acosh_test): Likewise.
25943         (asin_test): Likewise.
25944         (asin_test_tonearest): Likewise.
25945         (asin_test_towardzero): Likewise.
25946         (asin_test_downward): Likewise.
25947         (asin_test_upward): Likewise.
25948         (asinh_test): Likewise.
25949         (atan_test): Likewise.
25950         (atanh_test): Likewise.
25951         (atan2_test): Likewise.
25952         (cabs_test): Likewise.
25953         (cacos_test): Use END_COMPLEX macro without arguments.
25954         (cacosh_test): Likewise.
25955         (carg_test): Use END macro without arguments.
25956         (casin_test): Use END_COMPLEX macro without arguments.
25957         (casinh_test): Likewise.
25958         (catan_test): Likewise.
25959         (catanh_test): Likewise.
25960         (cbrt_test): Use END macro without arguments.
25961         (ccos_test): Use END_COMPLEX macro without arguments.
25962         (ccosh_test): Likewise.
25963         (ceil_test): Use END macro without arguments.
25964         (cexp_test): Use END_COMPLEX macro without arguments.
25965         (cimag_test): Use END macro without arguments.
25966         (clog_test): Use END_COMPLEX macro without arguments.
25967         (clog10_test): Likewise.
25968         (conj_test): Likewise.
25969         (copysign_test): Use END macro without arguments.
25970         (cos_test): Likewise.
25971         (cos_test_tonearest): Likewise.
25972         (cos_test_towardzero): Likewise.
25973         (cos_test_downward): Likewise.
25974         (cos_test_upward): Likewise.
25975         (cosh_test): Likewise.
25976         (cosh_test_tonearest): Likewise.
25977         (cosh_test_towardzero): Likewise.
25978         (cosh_test_downward): Likewise.
25979         (cosh_test_upward): Likewise.
25980         (cpow_test): Use END_COMPLEX macro without arguments.
25981         (cproj_test): Likewise.
25982         (creal_test): Use END macro without arguments.
25983         (csin_test): Use END_COMPLEX macro without arguments.
25984         (csinh_test): Likewise.
25985         (csqrt_test): Likewise.
25986         (ctan_test): Likewise.
25987         (ctan_test_tonearest): Likewise.
25988         (ctan_test_towardzero): Likewise.
25989         (ctan_test_downward): Likewise.
25990         (ctan_test_upward): Likewise.
25991         (ctanh_test): Likewise.
25992         (ctanh_test_tonearest): Likewise.
25993         (ctanh_test_towardzero): Likewise.
25994         (ctanh_test_downward): Likewise.
25995         (ctanh_test_upward): Likewise.
25996         (erf_test): Use END macro without arguments.
25997         (erfc_test): Likewise.
25998         (exp_test): Likewise.
25999         (exp_test_tonearest): Likewise.
26000         (exp_test_towardzero): Likewise.
26001         (exp_test_downward): Likewise.
26002         (exp_test_upward): Likewise.
26003         (exp10_test): Likewise.
26004         (exp2_test): Likewise.
26005         (expm1_test): Likewise.
26006         (fabs_test): Likewise.
26007         (fdim_test): Likewise.
26008         (finite_test): Likewise.
26009         (floor_test): Likewise.
26010         (fma_test): Likewise.
26011         (fma_test_towardzero): Likewise.
26012         (fma_test_downward): Likewise.
26013         (fma_test_upward): Likewise.
26014         (fmax_test): Likewise.
26015         (fmin_test): Likewise.
26016         (fmod_test): Likewise.
26017         (fpclassify_test): Likewise.
26018         (frexp_test): Likewise.
26019         (gamma_test): Likewise.
26020         (hypot_test): Likewise.
26021         (ilogb_test): Likewise.
26022         (isfinite_test): Likewise.
26023         (isgreater_test): Likewise.
26024         (isgreaterequal_test): Likewise.
26025         (isinf_test): Likewise.
26026         (isless_test): Likewise.
26027         (islessequal_test): Likewise.
26028         (islessgreater_test): Likewise.
26029         (isnan_test): Likewise.
26030         (isnormal_test): Likewise.
26031         (issignaling_test): Likewise.
26032         (isunordered_test): Likewise.
26033         (j0_test): Likewise.
26034         (j1_test): Likewise.
26035         (jn_test): Likewise.
26036         (ldexp_test): Likewise.
26037         (lgamma_test): Likewise.
26038         (lrint_test): Likewise.
26039         (lrint_test_tonearest): Likewise.
26040         (lrint_test_towardzero): Likewise.
26041         (lrint_test_downward): Likewise.
26042         (lrint_test_upward): Likewise.
26043         (llrint_test): Likewise.
26044         (llrint_test_tonearest): Likewise.
26045         (llrint_test_towardzero): Likewise.
26046         (llrint_test_downward): Likewise.
26047         (llrint_test_upward): Likewise.
26048         (log_test): Likewise.
26049         (log10_test): Likewise.
26050         (log1p_test): Likewise.
26051         (log2_test): Likewise.
26052         (logb_test): Likewise.
26053         (logb_test_downward): Likewise.
26054         (lround_test): Likewise.
26055         (llround_test): Likewise.
26056         (modf_test): Likewise.
26057         (nearbyint_test): Likewise.
26058         (nextafter_test): Likewise.
26059         (nexttoward_test): Likewise.
26060         (pow_test): Likewise.
26061         (pow_test_tonearest): Likewise.
26062         (pow_test_towardzero): Likewise.
26063         (pow_test_downward): Likewise.
26064         (pow_test_upward): Likewise.
26065         (remainder_test): Likewise.
26066         (remainder_test_tonearest): Likewise.
26067         (remainder_test_towardzero): Likewise.
26068         (remainder_test_downward): Likewise.
26069         (remainder_test_upward): Likewise.
26070         (remquo_test): Likewise.
26071         (rint_test): Likewise.
26072         (rint_test_tonearest): Likewise.
26073         (rint_test_towardzero): Likewise.
26074         (rint_test_downward): Likewise.
26075         (rint_test_upward): Likewise.
26076         (round_test): Likewise.
26077         (scalb_test): Likewise.
26078         (scalbn_test): Likewise.
26079         (scalbln_test): Likewise.
26080         (signbit_test): Likewise.
26081         (sin_test): Likewise.
26082         (sin_test_tonearest): Likewise.
26083         (sin_test_towardzero): Likewise.
26084         (sin_test_downward): Likewise.
26085         (sin_test_upward): Likewise.
26086         (sincos_test): Likewise.
26087         (sinh_test): Likewise.
26088         (sinh_test_tonearest): Likewise.
26089         (sinh_test_towardzero): Likewise.
26090         (sinh_test_downward): Likewise.
26091         (sinh_test_upward): Likewise.
26092         (sqrt_test): Likewise.
26093         (tan_test): Likewise.
26094         (tan_test_tonearest): Likewise.
26095         (tan_test_towardzero): Likewise.
26096         (tan_test_downward): Likewise.
26097         (tan_test_upward): Likewise.
26098         (tanh_test): Likewise.
26099         (tgamma_test): Likewise.
26100         (trunc_test): Likewise.
26101         (y0_test): Likewise.
26102         (y1_test): Likewise.
26103         (yn_test): Likewise.
26104         (significand_test): Likewise.
26105
26106 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
26107
26108         [BZ #15381]
26109         * libio/genops.c (_IO_no_init): Initialize wide struct info.
26110
26111 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26112
26113         [BZ #14894]
26114         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26115         __ppc_mdoio and __ppc_mdoom.
26116         * manual/platform.texi: Document new functions __ppc_yield,
26117         __ppc_mdoio and __ppc_mdoom.
26118
26119 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
26120
26121         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26122         (main): Mention "tls" pseudo-hwcap is legacy.
26123         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26124
26125 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26126
26127         * math/gen-libm-test.pl (parse_args): Output only string of
26128         arguments as text for test name, not full call or descriptions of
26129         tests for extra outputs.
26130         (generate_testfile): Do not pass function name to parse_args.
26131         Generate this_func variable from START.
26132         * math/libm-test.inc (struct test_f_f_data): Rename test_name
26133         field to arg_str.
26134         (struct test_ff_f_data): Likewise.
26135         (test_ff_f_data_nexttoward): Likewise.
26136         (struct test_fi_f_data): Likewise.
26137         (struct test_fl_f_data): Likewise.
26138         (struct test_if_f_data): Likewise.
26139         (struct test_fff_f_data): Likewise.
26140         (struct test_c_f_data): Likewise.
26141         (struct test_f_f1_data): Likewise.  Remove field extra_name.
26142         (struct test_fF_f1_data): Likewise.
26143         (struct test_ffI_f1_data): Likewise.
26144         (struct test_c_c_data): Rename test_name field to arg_str.
26145         (struct test_cc_c_data): Likewise.
26146         (struct test_f_i_data): Likewise.
26147         (struct test_ff_i_data): Likewise.
26148         (struct test_f_l_data): Likewise.
26149         (struct test_f_L_data): Likewise.
26150         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
26151         and extra2_name.
26152         (COMMON_TEST_SETUP): New macro.
26153         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26154         (COMMON_TEST_CLEANUP): Likewise.
26155         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26156         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
26157         macros.
26158         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26159         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
26160         macros.
26161         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26162         (RUN_TEST_fff_f): Take argument string.  Call new setup and
26163         cleanup macros.
26164         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26165         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
26166         macros.
26167         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26168         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
26169         macros.
26170         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26171         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
26172         cleanup macros.
26173         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26174         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
26175         cleanup macros.
26176         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26177         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
26178         cleanup macros.
26179         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26180         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
26181         macros.
26182         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26183         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
26184         macros.
26185         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26186         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
26187         macros.
26188         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26189         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
26190         cleanup macros.
26191         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26192         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
26193         cleanup macros.
26194         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26195         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
26196         macros.
26197         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26198         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
26199         cleanup macros.
26200         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26201         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
26202         macros.
26203         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26204         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
26205         macros.
26206         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26207         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
26208         cleanup macros.
26209         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26210
26211 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
26212
26213         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26214         to _sifields.sigfault.
26215         (si_addr_lsb): Define new macro.
26216         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26217         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26218         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26219
26220 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
26221
26222         [BZ #15441]
26223         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26224         returns -1.
26225         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26226         null return -1.
26227         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26228         loading the domain.
26229
26230 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26231
26232         * math/gen-libm-test.pl (parse_args): Do not include expected
26233         result in test name.
26234         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26235         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26236         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26237         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26238         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26240
26241 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26242
26243         * benchtests/Makefile: Sort function entries.
26244
26245         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26246         tanh, asinh, acosh, atanh.
26247         * benchtests/acos-inputs: New file.
26248         * benchtests/acosh-inputs: New file.
26249         * benchtests/asin-inputs: New file.
26250         * benchtests/asinh-inputs: New file.
26251         * benchtests/atanh-inputs: New file.
26252         * benchtests/cosh-inputs: New file.
26253         * benchtests/log-inputs: New file.
26254         * benchtests/sinh-inputs: New file.
26255         * benchtests/tanh-inputs: New file.
26256
26257 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
26258
26259         [BZ #15339]
26260         * posix/tst-getaddrinfo4.c: New test.
26261         * posix/Makefile (tests): Add it.
26262
26263 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26264
26265         [BZ #15339]
26266         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26267         when no services were used.
26268         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26269         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26270
26271 2013-05-21  Andreas Schwab  <schwab@suse.de>
26272
26273         [BZ #15014]
26274         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26275         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26276         successful.
26277         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26278         redundant variable declarations and reallocation of buffer when
26279         parsing as IPv6 address.  Always set NSS status when called from
26280         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
26281         buffer too small.  Correct computation of needed size.
26282         * nss/Makefile (tests): Add test-digits-dots.
26283         * nss/test-digits-dots.c: New test.
26284
26285 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26286
26287         * benchtests/Makefile: Remove instructions for adding
26288         benchmark tests.
26289         * benchtests/README: New file to explain how to execute and
26290         enhance the benchmark tests.
26291
26292 2013-05-21  Andreas Schwab  <schwab@suse.de>
26293
26294         [BZ #15493]
26295         * setjmp/Makefile (tests): Add tst-sigsetjmp.
26296         * setjmp/tst-sigsetjmp.c: New test.
26297
26298 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26299
26300         * sysdeps/x86_64/memset.S (memset): New implementation.
26301         (__bzero): Likewise.
26302         (__memset_tail): New function.
26303
26304 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26305
26306         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26307         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26308         __memcpy_sse2_unaligned ifunc selection.
26309         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26310         Add memcpy-sse2-unaligned.S.
26311         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26312         Add: __memcpy_sse2_unaligned.
26313
26314 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
26315
26316         [BZ #15490]
26317         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26318         math_force_eval before restoring floating-point envrionment.
26319         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26320         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26321         Likewise.
26322         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26323         <math_private.h>.
26324         (__nearbyintl): Use math_force_eval before restoring
26325         floating-point environment.
26326         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26327
26328         * math/gen-libm-test.pl (special_functions): Remove.
26329         (parse_args): Don't handle TEST_extra.  Handle functions with no
26330         return value.
26331         * math/libm-test.inc (struct test_sincos_data): Replace with
26332         struct test_fFF_11_data.
26333         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26334         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26335         (sincos_test_data): Change element type to struct
26336         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
26337         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26338         RUN_TEST_LOOP_sincos.
26339         * math/README.libm-test: Don't mention special handling of
26340         individual functions.
26341         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26342         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26343         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26344         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26345         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26347
26348         * math/gen-libm-test.pl (get_variable): Remove function.
26349         (parse_args): Don't show pointer parameters to call in test
26350         names.  Use "extra output N" in test names for extra outputs
26351         rather than naming variables.
26352
26353 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
26354
26355         [BZ #15488]
26356         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26357         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26358         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26359         double tests.
26360         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26361         disable.
26362         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26363         check_long_double.
26364
26365         * math/gen-libm-test.pl (@tests): Remove variable.
26366         ($count): Likewise.
26367         (new_test): Remove function.
26368         (show_exceptions): New function.
26369         (special_functions): Use show_exceptions instead of new_test.
26370         (parse_args): Likewise.
26371         (generate_testfile): Pass only function name in generated call to
26372         print_max_error or print_complex_max_error.
26373         (get_ulps): Do not handle complex tests specially.
26374         (output_test): Rename to ...
26375         (get_all_ulps_for_test): ... this.  Return a string rather than
26376         printing to a file.  Require ulps to be present.
26377         (output_ulps): Generate arrays rather than #defines.
26378         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26379         (struct ulp_data): New type.
26380         (BUILD_COMPLEX_ULP): Remove macro.
26381         (compare_ulp_data): New function.
26382         (find_ulps): Likewise.
26383         (find_test_ulps): Likewise.
26384         (find_function_ulps): Likewise.
26385         (find_complex_function_ulps): Likewise.
26386         (print_max_error): Determine allowed ulps using
26387         find_function_ulps.
26388         (print_complex_max_error): Determine allowed ulps using
26389         find_complex_function_ulps.
26390         (check_float_internal): Determine max ulps using find_test_ulps.
26391         (check_float): Do not take max_ulp parameter.  Update call to
26392         check_float_internal.
26393         (check_complex): Likewise.
26394         (check_int): Do not take max_ulp parameter.
26395         (check_long): Likewise.
26396         (check_bool): Likewise.
26397         (check_longlong): Likewise.
26398         (struct test_f_f_data): Remove max_ulp field.
26399         (struct test_ff_f_data): Likewise.
26400         (struct test_ff_f_data_nexttoward): Likewise.
26401         (struct test_fi_f_data): Likewise.
26402         (struct test_fl_f_data): Likewise.
26403         (struct test_if_f_data): Likewise.
26404         (struct test_fff_f_data): Likewise.
26405         (struct test_c_f_data): Likewise.
26406         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26407         (struct test_fF_f1_data): Likewise.
26408         (struct test_ffI_f1_data): Likewise.
26409         (struct test_c_c_data): Remove max_ulp field.
26410         (struct test_cc_c_data): Likewise.
26411         (struct test_f_i_data): Likewise.
26412         (struct test_ff_i_data): Likewise.
26413         (struct test_f_l_data): Likewise.
26414         (struct test_f_L_data): Likewise.
26415         (struct test_sincos_data): Likewise.
26416         (RUN_TEST_f_f): Do not handle ulps.
26417         (RUN_TEST_LOOP_f_f): Likewise.
26418         (RUN_TEST_2_f): Likewise.
26419         (RUN_TEST_LOOP_2_f): Likewise.
26420         (RUN_TEST_fff_f): Likewise.
26421         (RUN_TEST_LOOP_fff_f): Likewise.
26422         (RUN_TEST_c_f): Likewise.
26423         (RUN_TEST_LOOP_c_f): Likewise.
26424         (RUN_TEST_f_f1): Likewise.
26425         (RUN_TEST_LOOP_f_f1): Likewise.
26426         (RUN_TEST_fF_f1): Likewise.
26427         (RUN_TEST_LOOP_fF_f1): Likewise.
26428         (RUN_TEST_fI_f1): Likewise.
26429         (RUN_TEST_LOOP_fI_f1): Likewise.
26430         (RUN_TEST_ffI_f1): Likewise.
26431         (RUN_TEST_LOOP_ffI_f1): Likewise.
26432         (RUN_TEST_c_c): Likewise.
26433         (RUN_TEST_LOOP_c_c): Likewise.
26434         (RUN_TEST_cc_c): Likewise.
26435         (RUN_TEST_LOOP_cc_c): Likewise.
26436         (RUN_TEST_f_i): Likewise.
26437         (RUN_TEST_LOOP_f_i): Likewise.
26438         (RUN_TEST_f_i_tg): Likewise.
26439         (RUN_TEST_LOOP_f_i_tg): Likewise.
26440         (RUN_TEST_ff_i_tg): Likewise.
26441         (RUN_TEST_LOOP_ff_i_tg): Likewise.
26442         (RUN_TEST_f_b): Likewise.
26443         (RUN_TEST_LOOP_f_b): Likewise.
26444         (RUN_TEST_f_b_tg): Likewise.
26445         (RUN_TEST_LOOP_f_b_tg): Likewise.
26446         (RUN_TEST_f_l): Likewise.
26447         (RUN_TEST_LOOP_f_l): Likewise.
26448         (RUN_TEST_f_L): Likewise.
26449         (RUN_TEST_LOOP_f_L): Likewise.
26450         (RUN_TEST_sincos): Likewise.
26451         (RUN_TEST_LOOP_sincos): Likewise.
26452
26453 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
26454
26455         [BZ #15480]
26456         [BZ #15485]
26457         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26458         main case of finite arguments, set rounding mode to FE_TONEAREST
26459         and discard exceptions.
26460         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26461         exceptions.
26462         (remainder_tonearest_test_data): New variable.
26463         (remainder_test_tonearest): New function.
26464         (remainder_towardzero_test_data): New variable.
26465         (remainder_test_towardzero): New function.
26466         (remainder_downward_test_data): New variable.
26467         (remainder_test_downward): New function.
26468         (remainder_upward_test_data): New variable.
26469         (remainder_test_upward): New function.
26470         (main): Call the new test functions.
26471
26472         * math/libm-test.inc (struct test_f_f1_data): Remove field
26473         extra_init.
26474         (struct test_fF_f1_data): Likewise.
26475         (struct test_ffI_f1_data): Likewise.
26476         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
26477         based on value of EXTRA_EXPECTED.
26478         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26479         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
26480         EXTRA_VAR based on value of EXTRA_EXPECTED.
26481         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26482         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
26483         EXTRA_VAR based on value of EXTRA_EXPECTED.
26484         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26485         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
26486         EXTRA_VAR based on value of EXTRA_EXPECTED.
26487         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26488         * math/gen-libm-test.pl (parse_args): Don't output initializers
26489         for extra output values.
26490
26491         * math/libm-test.inc (check_int): Expect result to be exactly
26492         equal to expected value and do not handle ulps.
26493         (check_long): Likewise.
26494         (check_longlong): Likewise.
26495
26496         * math/libm-test.inc (ceil_test_data): Test for "inexact"
26497         exceptions.
26498         (cimag_test_data): Likewise.
26499         (conj_test_data): Likewise.
26500         (copysign_test_data): Likewise.
26501         (cproj_test_data): Likewise.
26502         (creal_test_data): Likewise.
26503         (fabs_test_data): Likewise.
26504         (fdim_test_data): Likewise.
26505         (finite_test_data): Likewise.
26506         (floor_test_data): Likewise.
26507         (fmax_test_data): Likewise.
26508         (fmin_test_data): Likewise.
26509         (fmod_test_data): Likewise.
26510         (fpclassify_test_data): Likewise.
26511         (frexp_test_data): Likewise.
26512         (ilogb_test_data): Likewise.
26513         (isfinite_test_data): Likewise.
26514         (isgreater_test_data): Likewise.
26515         (isgreaterequal_test_data): Likewise.
26516         (isinf_test_data): Likewise.
26517         (isless_test_data): Likewise.
26518         (islessequal_test_data): Likewise.
26519         (islessgreater_test_data): Likewise.
26520         (isnan_test_data): Likewise.
26521         (isnormal_test_data): Likewise.
26522         (issignaling_test_data): Likewise.
26523         (isunordered_test_data): Likewise.
26524         (ldexp_test_data): Likewise.
26525         (lrint_test_data): Likewise.
26526         (lrint_test_data) [TEST_FLOAT]: Disable one test.
26527         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26528         (lrint_tonearest_test_data): Test for "inexact" exceptions.
26529         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26530         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26531         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26532         test input.
26533         (lrint_towardzero_test_data): Test for "inexact" exceptions.
26534         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26535         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26536         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26537         that test input.
26538         (lrint_downward_test_data): Test for "inexact" exceptions.
26539         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26540         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26541         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26542         test input.
26543         (lrint_upward_test_data): Test for "inexact" exceptions.
26544         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26545         test input.
26546         (llrint_test_data): Test for "inexact" exceptions.
26547         (llrint_test_data) [TEST_FLOAT]: Disable one test.
26548         (llrint_tonearest_test_data): Test for "inexact" exceptions.
26549         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26550         (llrint_towardzero_test_data): Test for "inexact" exceptions.
26551         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26552         (llrint_downward_test_data): Test for "inexact" exceptions.
26553         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26554         (llrint_upward_test_data): Test for "inexact" exceptions.
26555         (logb_test_data): Likewise.
26556         (logb_downward_test_data): Likewise.
26557         (nextafter_test_data): Likewise.
26558         (nexttoward_test_data): Likewise.
26559         (remainder_test_data): Likewise.
26560         (remquo_test_data): Likewise.
26561         (scalbn_test_data): Likewise.
26562         (scalbln_test_data): Likewise.
26563         (signbit_test_data): Likewise.
26564         (sqrt_test_data): Likewise.
26565         (significand_test_data): Likewise.
26566
26567 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26568
26569         [BZ #15424]
26570         * benchtests/bench-modf.c (struct args): Mark arg0 as
26571         volatile.
26572         * scripts/bench.pl: Mark members of struct args as volatile.
26573
26574 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26575
26576         [BZ # 15497]
26577         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26578         negative infinity on POWER6 or lower.
26579         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26580
26581 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26582
26583         [BZ #15442]
26584         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26585         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26586         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26587         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26588         (_FP_SETQNAN): New macro.
26589         (_FP_SETQNAN_SEMIRAW): Likewise.
26590         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26591         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26592         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26593         (FP_EXTEND): Use _FP_FRAC_SNANP.
26594         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26595         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26596         into account.
26597         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26598         New macro.
26599         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26600         Likewise.
26601
26602 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26603
26604         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26605         with DIVIDE_BY_ZERO_EXCEPTION.
26606         (gamma_test_data): Likewise.
26607         (lgamma_test_data): Likewise.
26608         (log_test_data): Likewise.
26609         (log10_test_data): Likewise.
26610         (log2_test_data): Likewise.
26611         (tgamma_test_data): Likewise.
26612
26613         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26614         (acos_test_tonearest): Likewise.
26615         (acos_test_towardzero): Likewise.
26616         (acos_test_downward): Likewise.
26617         (acos_test_upward): Likewise.
26618         (acosh_test): Likewise.
26619         (asin_test): Likewise.
26620         (asin_test_tonearest): Likewise.
26621         (asin_test_towardzero): Likewise.
26622         (asin_test_downward): Likewise.
26623         (asin_test_upward): Likewise.
26624         (asinh_test): Likewise.
26625         (atan_test): Likewise.
26626         (atanh_test): Likewise.
26627         (atan2_test): Likewise.
26628         (cabs_test): Likewise.
26629         (cacos_test): Likewise.
26630         (cacosh_test): Likewise.
26631         (casin_test): Likewise.
26632         (casinh_test): Likewise.
26633         (catan_test): Likewise.
26634         (catanh_test): Likewise.
26635         (cbrt_test): Likewise.
26636         (ccos_test): Likewise.
26637         (ccosh_test): Likewise.
26638         (cexp_test): Likewise.
26639         (clog_test): Likewise.
26640         (clog10_test): Likewise.
26641         (cos_test): Likewise.
26642         (cos_test_tonearest): Likewise.
26643         (cos_test_towardzero): Likewise.
26644         (cos_test_downward): Likewise.
26645         (cos_test_upward): Likewise.
26646         (cosh_test): Likewise.
26647         (cosh_test_tonearest): Likewise.
26648         (cosh_test_towardzero): Likewise.
26649         (cosh_test_downward): Likewise.
26650         (cosh_test_upward): Likewise.
26651         (cpow_test): Likewise.
26652         (csin_test): Likewise.
26653         (csinh_test): Likewise.
26654         (csqrt_test): Likewise.
26655         (ctan_test): Likewise.
26656         (ctan_test_tonearest): Likewise.
26657         (ctan_test_towardzero): Likewise.
26658         (ctan_test_downward): Likewise.
26659         (ctan_test_upward): Likewise.
26660         (ctanh_test): Likewise.
26661         (ctanh_test_tonearest): Likewise.
26662         (ctanh_test_towardzero): Likewise.
26663         (ctanh_test_downward): Likewise.
26664         (ctanh_test_upward): Likewise.
26665         (erf_test): Likewise.
26666         (erfc_test): Likewise.
26667         (exp_test): Likewise.
26668         (exp_test_tonearest): Likewise.
26669         (exp_test_towardzero): Likewise.
26670         (exp_test_downward): Likewise.
26671         (exp_test_upward): Likewise.
26672         (exp10_test): Likewise.
26673         (exp2_test): Likewise.
26674         (expm1_test): Likewise.
26675         (fmod_test): Likewise.
26676         (gamma_test): Likewise.
26677         (hypot_test): Likewise.
26678         (j0_test): Likewise.
26679         (j1_test): Likewise.
26680         (jn_test): Likewise.
26681         (lgamma_test): Likewise.
26682         (log_test): Likewise.
26683         (log10_test): Likewise.
26684         (log1p_test): Likewise.
26685         (log2_test): Likewise.
26686         (logb_test_downward): Likewise.
26687         (pow_test): Likewise.
26688         (pow_test_tonearest): Likewise.
26689         (pow_test_towardzero): Likewise.
26690         (pow_test_downward): Likewise.
26691         (pow_test_upward): Likewise.
26692         (remainder_test): Likewise.
26693         (remquo_test): Likewise.
26694         (sin_test): Likewise.
26695         (sin_test_tonearest): Likewise.
26696         (sin_test_towardzero): Likewise.
26697         (sin_test_downward): Likewise.
26698         (sin_test_upward): Likewise.
26699         (sincos_test): Likewise.
26700         (sinh_test): Likewise.
26701         (sinh_test_tonearest): Likewise.
26702         (sinh_test_towardzero): Likewise.
26703         (sinh_test_downward): Likewise.
26704         (sinh_test_upward): Likewise.
26705         (sqrt_test): Likewise.
26706         (tan_test): Likewise.
26707         (tan_test_tonearest): Likewise.
26708         (tan_test_towardzero): Likewise.
26709         (tan_test_downward): Likewise.
26710         (tan_test_upward): Likewise.
26711         (tanh_test): Likewise.
26712         (tgamma_test): Likewise.
26713         (y0_test): Likewise.
26714         (y1_test): Likewise.
26715         (yn_test): Likewise.
26716
26717         * math/gen-libm-test.pl (adjust_arg): Remove function.
26718         (special_function): Remove argument $in_func.  Only handle
26719         generating output for tables of tests, not inside functions.
26720         (parse_args): Likewise.
26721         (generate_testfile): Remove variable $in_func.  Update call to
26722         parse_args.
26723         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26724         (MINUS_ZERO_INIT): Rename macro to minus_zero.
26725         (PLUS_INFTY_INIT): Rename macro to plus_infty.
26726         (MINUS_INFTY_INIT): Rename macro to minus_infty.
26727         (QNAN_VALUE_INIT): Rename macro to qnan_value.
26728         (MAX_VALUE_INIT): Rename macro to max_value.
26729         (MIN_VALUE_INIT): Rename macro to min_value.
26730         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26731         (plus_zero): Remove variable.
26732         (minus_zero): Likewise.
26733         (plus_infty): Likewise.
26734         (minus_infty): Likewise.
26735         (qnan_value): Likewise.
26736         (max_value): Likewise.
26737         (min_value): Likewise.
26738         (min_subnorm_value): Likewise.
26739
26740 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26741
26742         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26743         uint64_t or uint32_t usage.
26744         * crypt/sha256-block.c: Likewise.
26745         * crypt/sha256-crypt.c: Likewise.
26746         * crypt/sha256.c: Likewise.
26747         * crypt/sha512-block.c: Likewise.
26748         * crypt/sha512-crypt.c: Likewise.
26749         * crypt/sha512.c: Likewise.
26750         * debug/backtrace-tst.c: Likewise.
26751         * debug/pcprofiledump.c: Likewise.
26752         * elf/cache.c: Likewise.
26753         * elf/dl-cache.c: Likewise.
26754         * elf/dl-misc.c: Likewise.
26755         * elf/dl-profile.c: Likewise.
26756         * elf/dl-support.c: Likewise.
26757         * elf/ldconfig.c: Likewise.
26758         * elf/sprof.c: Likewise.
26759         * iconv/dummy-repertoire.c: Likewise.
26760         * iconv/iconv_charmap.c: Likewise.
26761         * iconv/skeleton.c: Likewise.
26762         * iconvdata/8bit-generic.c: Likewise.
26763         * iconvdata/cp737.h: Likewise.
26764         * iconvdata/cp775.h: Likewise.
26765         * iconvdata/ibm1008.h: Likewise.
26766         * iconvdata/ibm1025.h: Likewise.
26767         * iconvdata/ibm1046.h: Likewise.
26768         * iconvdata/ibm1097.h: Likewise.
26769         * iconvdata/ibm1112.h: Likewise.
26770         * iconvdata/ibm1122.h: Likewise.
26771         * iconvdata/ibm1123.h: Likewise.
26772         * iconvdata/ibm1124.h: Likewise.
26773         * iconvdata/ibm1129.h: Likewise.
26774         * iconvdata/ibm1130.h: Likewise.
26775         * iconvdata/ibm1132.h: Likewise.
26776         * iconvdata/ibm1133.h: Likewise.
26777         * iconvdata/ibm1137.h: Likewise.
26778         * iconvdata/ibm1140.h: Likewise.
26779         * iconvdata/ibm1141.h: Likewise.
26780         * iconvdata/ibm1142.h: Likewise.
26781         * iconvdata/ibm1143.h: Likewise.
26782         * iconvdata/ibm1144.h: Likewise.
26783         * iconvdata/ibm1145.h: Likewise.
26784         * iconvdata/ibm1146.h: Likewise.
26785         * iconvdata/ibm1147.h: Likewise.
26786         * iconvdata/ibm1148.h: Likewise.
26787         * iconvdata/ibm1149.h: Likewise.
26788         * iconvdata/ibm1153.h: Likewise.
26789         * iconvdata/ibm1154.h: Likewise.
26790         * iconvdata/ibm1155.h: Likewise.
26791         * iconvdata/ibm1156.h: Likewise.
26792         * iconvdata/ibm1157.h: Likewise.
26793         * iconvdata/ibm1158.h: Likewise.
26794         * iconvdata/ibm1160.h: Likewise.
26795         * iconvdata/ibm1161.h: Likewise.
26796         * iconvdata/ibm1162.h: Likewise.
26797         * iconvdata/ibm1163.h: Likewise.
26798         * iconvdata/ibm1164.h: Likewise.
26799         * iconvdata/ibm1166.h: Likewise.
26800         * iconvdata/ibm1167.h: Likewise.
26801         * iconvdata/ibm12712.h: Likewise.
26802         * iconvdata/ibm1390.h: Likewise.
26803         * iconvdata/ibm1399.h: Likewise.
26804         * iconvdata/ibm16804.h: Likewise.
26805         * iconvdata/ibm4517.h: Likewise.
26806         * iconvdata/ibm4899.h: Likewise.
26807         * iconvdata/ibm4909.h: Likewise.
26808         * iconvdata/ibm4971.h: Likewise.
26809         * iconvdata/ibm5347.h: Likewise.
26810         * iconvdata/ibm803.h: Likewise.
26811         * iconvdata/ibm856.h: Likewise.
26812         * iconvdata/ibm901.h: Likewise.
26813         * iconvdata/ibm902.h: Likewise.
26814         * iconvdata/ibm9030.h: Likewise.
26815         * iconvdata/ibm9066.h: Likewise.
26816         * iconvdata/ibm921.h: Likewise.
26817         * iconvdata/ibm922.h: Likewise.
26818         * iconvdata/ibm9448.h: Likewise.
26819         * iconvdata/isiri-3342.h: Likewise.
26820         * iconvdata/jis0201.h: Likewise.
26821         * include/link.h: Likewise.
26822         * include/netdb.h: Likewise.
26823         * inet/check_native.c: Likewise.
26824         * inet/check_pf.c: Likewise.
26825         * inet/getipv4sourcefilter.c: Likewise.
26826         * inet/getnameinfo.c: Likewise.
26827         * inet/getsourcefilter.c: Likewise.
26828         * inet/htonl.c: Likewise.
26829         * inet/setipv4sourcefilter.c: Likewise.
26830         * inet/setsourcefilter.c: Likewise.
26831         * inet/test-inet6_opt.c: Likewise.
26832         * inet/tst-network.c: Likewise.
26833         * locale/C-collate.c: Likewise.
26834         * locale/C-ctype.c: Likewise.
26835         * locale/C-time.c: Likewise.
26836         * locale/C-translit.h: Likewise.
26837         * locale/loadarchive.c: Likewise.
26838         * locale/programs/3level.h: Likewise.
26839         * locale/programs/charmap.c: Likewise.
26840         * locale/programs/charmap.h: Likewise.
26841         * locale/programs/ld-address.c: Likewise.
26842         * locale/programs/ld-collate.c: Likewise.
26843         * locale/programs/ld-ctype.c: Likewise.
26844         * locale/programs/ld-identification.c: Likewise.
26845         * locale/programs/ld-measurement.c: Likewise.
26846         * locale/programs/ld-messages.c: Likewise.
26847         * locale/programs/ld-monetary.c: Likewise.
26848         * locale/programs/ld-name.c: Likewise.
26849         * locale/programs/ld-numeric.c: Likewise.
26850         * locale/programs/ld-paper.c: Likewise.
26851         * locale/programs/ld-telephone.c: Likewise.
26852         * locale/programs/ld-time.c: Likewise.
26853         * locale/programs/linereader.c: Likewise.
26854         * locale/programs/locale.c: Likewise.
26855         * locale/programs/locarchive.c: Likewise.
26856         * locale/programs/locfile.h: Likewise.
26857         * locale/programs/repertoire.c: Likewise.
26858         * locale/programs/simple-hash.c: Likewise.
26859         * locale/programs/simple-hash.h: Likewise.
26860         * malloc/memusage.c: Likewise.
26861         * malloc/memusagestat.c: Likewise.
26862         * nis/nis_defaults.c: Likewise.
26863         * nis/nis_hash.c: Likewise.
26864         * nis/nis_print.c: Likewise.
26865         * nis/nis_xdr.c: Likewise.
26866         * nscd/connections.c: Likewise.
26867         * nscd/hstcache.c: Likewise.
26868         * nscd/nscd_gethst_r.c: Likewise.
26869         * nscd/nscd_getserv_r.c: Likewise.
26870         * nscd/nscd_helper.c: Likewise.
26871         * nscd/servicescache.c: Likewise.
26872         * nss/makedb.c: Likewise.
26873         * nss/nss_db/db-XXX.c: Likewise.
26874         * nss/nss_db/db-initgroups.c: Likewise.
26875         * nss/nss_db/db-netgrp.c: Likewise.
26876         * nss/nss_files/files-network.c: Likewise.
26877         * nss/nss_files/files-parse.c: Likewise.
26878         * posix/bug-regex5.c: Likewise.
26879         * posix/fnmatch_loop.c: Likewise.
26880         * posix/regcomp.c: Likewise.
26881         * posix/regexec.c: Likewise.
26882         * posix/tst-rfc3484-2.c: Likewise.
26883         * posix/tst-rfc3484-3.c: Likewise.
26884         * posix/tst-rfc3484.c: Likewise.
26885         * resolv/nss_dns/dns-canon.c: Likewise.
26886         * resolv/nss_dns/dns-network.c: Likewise.
26887         * resolv/res_init.c: Likewise.
26888         * resolv/res_mkquery.c: Likewise.
26889         * resolv/tst-aton.c: Likewise.
26890         * stdlib/cxa_atexit.c: Likewise.
26891         * stdlib/cxa_finalize.c: Likewise.
26892         * stdlib/gen-fpioconst.c: Likewise.
26893         * stdlib/strtol_l.c: Likewise.
26894         * string/tst-endian.c: Likewise.
26895         * sunrpc/auth_des.c: Likewise.
26896         * sunrpc/clnt_udp.c: Likewise.
26897         * sunrpc/rtime.c: Likewise.
26898         * sunrpc/svcauth_des.c: Likewise.
26899         * sunrpc/xdr.c: Likewise.
26900         * sunrpc/xdr_intXX_t.c: Likewise.
26901         * sunrpc/xdr_rec.c: Likewise.
26902         * sysdeps/generic/ldconfig.h: Likewise.
26903         * sysdeps/generic/ldsodefs.h: Likewise.
26904         * sysdeps/generic/memusage.h: Likewise.
26905         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26906         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26907         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26908         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26909         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26910         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26911         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26912         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26913         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26914         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26915         * sysdeps/posix/getaddrinfo.c: Likewise.
26916         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26917         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26918         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26919         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26920         * sysdeps/powerpc/test-gettimebase.c: Likewise.
26921         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26922         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26923         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26924         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26925         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26926         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26927         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26928         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26929         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26930         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26931         * sysdeps/x86_64/dl-tls.h: Likewise.
26932         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26933         * time/alt_digit.c: Likewise.
26934         * time/era.c: Likewise.
26935         * wcsmbs/tst-c16c32-1.c: Likewise.
26936
26937 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26938
26939         * math/libm-test.inc (struct test_sincos_data): New type.
26940         (RUN_TEST_LOOP_sincos): New macro.
26941         (sincos_test_data): New variable.
26942         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26943
26944 2013-05-16  Richard Henderson  <rth@redhat.com>
26945
26946         * math/atest-exp2.c (LIMB64): New macro.
26947         (CONSTSZ): New macro.
26948         (mp_exp1, mp_exp_m1, mp_log2): New variables.
26949         (hexdig): Move ...
26950         (print_mpn_fp): ... to function scope.
26951         (read_mpn_hex): Remove.
26952         (get_log2): Remove.
26953         (exp2_mpn): Use mp_log2.
26954         (main): Use mp_exp1.
26955
26956 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26957
26958         * math/libm-test.inc: Remove comment about not testing "inexact"
26959         exceptions.
26960         (INEXACT_EXCEPTION): New macro.
26961         (NO_INEXACT_EXCEPTION): Likewise.
26962         (INVALID_EXCEPTION_OK): Update value.
26963         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26964         (OVERFLOW_EXCEPTION_OK): Likewise.
26965         (UNDERFLOW_EXCEPTION_OK): Likewise.
26966         (IGNORE_ZERO_INF_SIGN): Likewise.
26967         (ERRNO_UNCHANGED): Likewise.
26968         (ERRNO_EDOM): Likewise.
26969         (ERRNO_ERANGE): Likewise.
26970         (test_exceptions): Handle testing "inexact" exceptions.
26971         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26972         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26973         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26974         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26975         INEXACT_EXCEPTION.
26976         (rint_towardzero_test_data): Likewise.
26977         (rint_downward_test_data): Likewise.
26978         (rint_upward_test_data): Likewise.
26979
26980         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26981         with OVERFLOW_EXCEPTION.
26982         (exp10_test_data): Likewise.
26983         (exp2_test_data): Likewise.
26984         (expm1_test_data): Likewise.
26985         (lgamma_test_data): Likewise.
26986         (pow_test_data): Likewise.
26987         (tgamma_test_data): Likewise.
26988         (yn_test_data): Remove duplicate test of overflow.
26989
26990         * math/libm-test.inc (struct test_cc_c_data): New type.
26991         (RUN_TEST_LOOP_cc_c): New macro.
26992         (cpow_test_data): New variable.
26993         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26994
26995         * math/libm-test.inc (struct test_f_L_data): New type.
26996         (RUN_TEST_LOOP_f_L): New macro.
26997         (llrint_test_data): New variable.
26998         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26999         (llrint_tonearest_test_data): New variable.
27000         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27001         (llrint_towardzero_test_data): New variable.
27002         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27003         (llrint_downward_test_data): New variable.
27004         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27005         (llrint_upward_test_data): New variable.
27006         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27007         (llround_test_data): New variable.
27008         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27009
27010 2013-05-13  Peter Collingbourne  <pcc@google.com>
27011
27012         * math/atest-exp2.c (get_log2): Remove const attribute.
27013
27014 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27015
27016         * math/libm-test.inc (struct test_f_l_data): New type.
27017         (RUN_TEST_LOOP_f_l): New macro.
27018         (lrint_test_data): New variable.
27019         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27020         (lrint_tonearest_test_data): New variable.
27021         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27022         (lrint_towardzero_test_data): New variable.
27023         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27024         (lrint_downward_test_data): New variable.
27025         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27026         (lrint_upward_test_data): New variable.
27027         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27028         (lround_test_data): New variable.
27029         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27030
27031 2013-05-15  Peter Collingbourne  <pcc@google.com>
27032
27033         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27034         (EXTRACT_WORDS64) Use where appropriate.
27035         (INSERT_WORDS64) Likewise.
27036
27037         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27038         constraints with x constraints.
27039         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27040
27041         * malloc/obstack.c (_obstack_compat): Add initializer.
27042
27043 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27044
27045         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27046         si_trapno and add si_addr_lsb to _sifields.sigfault.
27047         (si_trapno): Remove macro.
27048         (si_addr_lsb): Define new macro.
27049         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27050
27051 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27052
27053         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27054         instead of TEST_f_l.
27055         (llrint_test_tonearest): Likewise.
27056         (llrint_test_towardzero): Likewise.
27057         (llrint_test_downward): Likewise.
27058         (llrint_test_upward): Likewise.
27059         (llround_test): Likewise.
27060
27061         * math/libm-test.inc (struct test_f_i_data): Add comment.
27062         (RUN_TEST_LOOP_f_b): New macro.
27063         (RUN_TEST_LOOP_f_b_tg): Likewise.
27064         (finite_test_data): New variable.
27065         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27066         (isfinite_test_data): New variable.
27067         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27068         (isinf_test_data): New variable.
27069         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27070         (isnan_test_data): New variable.
27071         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27072         (isnormal_test_data): New variable.
27073         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27074         (issignaling_test_data): New variable.
27075         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27076         (signbit_test_data): New variable.
27077         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27078
27079         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27080         with INVALID_EXCEPTION.
27081         (acosh_test_data): Likewise.
27082         (asin_test_data): Likewise.
27083         (atanh_test_data): Likewise.
27084         (fmod_test_data): Likewise.
27085         (log_test_data): Likewise.
27086         (log10_test_data): Likewise.
27087         (log2_test_data): Likewise.
27088         (pow_test_data): Likewise.
27089         (sqrt_test_data): Likewise.
27090         (y0_test_data): Likewise.
27091         (y1_test_data): Likewise.
27092         (yn_test_data): Likewise.
27093
27094         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27095         function contents.
27096
27097         * math/libm-test.inc (struct test_ff_i_data): New type.
27098         (RUN_TEST_LOOP_ff_i_tg): New macro.
27099         (isgreater_test_data): New variable.
27100         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27101         (isgreaterequal_test_data): New variable.
27102         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27103         (isless_test_data): New variable.
27104         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27105         (islessequal_test_data): New variable.
27106         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27107         (islessgreater_test_data): New variable.
27108         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27109         (isunordered_test_data): New variable.
27110         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27111
27112 2013-05-14  David S. Miller  <davem@davemloft.net>
27113
27114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27115
27116 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
27117
27118         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27119
27120         * math/libm-test.inc (struct test_fF_f1_data): Change type of
27121         extra_test to int.
27122         (struct test_f_i_data): Change type of max_ulp to int.
27123
27124         * math/libm-test.inc (test_ffI_f1_data): New type.
27125         (RUN_TEST_LOOP_ffI_f1): New macro.
27126         (remquo_test_data): New variable.
27127         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27128
27129         * setjmp/tst-setjmp-fp.c: New file.
27130         * setjmp/Makefile (tests): Add tst-setjmp-fp.
27131         (link-libm): New variable.
27132         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27133
27134         * math/libm-test.inc (struct test_f_i_data): New type.
27135         (RUN_TEST_LOOP_f_i): New macro.
27136         (RUN_TEST_LOOP_f_i_tg): Likewise.
27137         (fpclassify_test_data): New variable.
27138         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27139         (ilogb_test_data): New variable.
27140         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27141
27142         * math/libm-test.inc (scalbln_test): Correct function name in END
27143         call.
27144
27145         * math/libm-test.inc (struct test_f_f1_data): Add comment.
27146         (RUN_TEST_LOOP_fI_f1): New macro.
27147         (frexp_test_data): New variable.
27148         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27149
27150         * math/libm-test.inc (struct test_fF_f1_data): New type.
27151         (RUN_TEST_LOOP_fF_f1): New macro.
27152         (modf_test_data): New variable.
27153         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27154
27155         * math/libm-test.inc (struct test_f_f1_data): New type.
27156         (RUN_TEST_LOOP_f_f1): New macro.
27157         (gamma_test_data): New variable.
27158         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27159         (lgamma_test_data): New variable.
27160         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27161
27162 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
27163
27164         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27165         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27166         (main): Comment "tls" pseudo-hwcap.
27167
27168 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
27169
27170         * math/libm-test.inc (struct test_fl_f_data): New type.
27171         (RUN_TEST_LOOP_fl_f): New variable.
27172         (scalbln_test_data): New variable.
27173         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27174
27175         * math/libm-test.inc (struct test_fi_f_data): New type.
27176         (RUN_TEST_LOOP_fi_f): New macro.
27177         (ldexp_test_data): New variable.
27178         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27179         (scalbn_test_data): New variable.
27180         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27181
27182         * math/libm-test.inc (struct test_c_f_data): New type.
27183         (RUN_TEST_LOOP_c_f): New macro.
27184         (cabs_test_data): New variable.
27185         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27186         (carg_test_data): New variable.
27187         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27188         (cimag_test_data): New variable.
27189         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27190         (creal_test_data): New variable.
27191         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27192
27193         * math/libm-test.inc (struct test_if_f_data): New type.
27194         (RUN_TEST_LOOP_if_f): New macro.
27195         (jn_test_data): New variable.
27196         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27197         (yn_test_data): New variable.
27198         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27199
27200         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27201
27202 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27203
27204         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27205         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27206
27207 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27208
27209         * benchtests/Makefile (CPPFLAGS-nonlib): Add
27210         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27211         (bench-deps): Add bench-timing.h.
27212         * benchtests-bench-skeleton.c: Include bench-timing.h.
27213         (main): Use TIMING_* macros instead of clock_gettime.
27214         * benchtests/bench-timing.h: New file.
27215
27216         [BZ #14582]
27217         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27218         Renamed from _LIB_VERSION.
27219         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27220
27221 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
27222
27223         * math/libm-test.inc (struct test_fff_f_data): New type.
27224         (RUN_TEST_LOOP_fff_f): New macro.
27225         (fma_test_data): New variable.
27226         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27227         (fma_towardzero_test_data): New variable.
27228         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27229         (fma_downward_test_data): New variable.
27230         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27231         (fma_upward_test_data): New variable.
27232         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27233
27234         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27235         (struct test_c_c_data): New type.
27236         (RUN_TEST_LOOP_c_c): New macro.
27237         (cacos_test_data): New variable.
27238         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27239         (cacosh_test_data): New variable.
27240         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27241         (casin_test_data): New variable.
27242         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27243         (casinh_test_data): New variable.
27244         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27245         (catan_test_data): New variable.
27246         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27247         (catanh_test_data): New variable.
27248         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27249         (ccos_test_data): New variable.
27250         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27251         (ccosh_test_data): New variable.
27252         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27253         (cexp_test_data): New variable.
27254         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27255         (clog_test_data): New variable.
27256         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27257         (clog10_test_data): New variable.
27258         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27259         (conj_test_data): New variable.
27260         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27261         (cproj_test_data): New variable.
27262         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27263         (csin_test_data): New variable.
27264         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27265         (csinh_test_data): New variable.
27266         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27267         (csqrt_test_data): New variable.
27268         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27269         (ctan_test_data): New variable.
27270         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27271         (ctan_tonearest_test_data): New variable.
27272         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27273         (ctan_towardzero_test_data): New variable.
27274         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27275         (ctan_downward_test_data): New variable.
27276         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27277         (ctan_upward_test_data): New variable.
27278         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27279         (ctanh_test_data): New variable.
27280         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27281         (ctanh_tonearest_test_data): New variable.
27282         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27283         (ctanh_towardzero_test_data): New variable.
27284         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27285         (ctanh_downward_test_data): New variable.
27286         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27287         (ctanh_upward_test_data): New variable.
27288         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27289         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27290         of BUILD_COMPLEX.
27291
27292         * math/libm-test.inc (struct test_ff_f_data): New type.
27293         (struct test_ff_f_data_nexttoward): Likewise.
27294         (RUN_TEST_LOOP_2_f): New macro.
27295         (RUN_TEST_LOOP_ff_f): Likewise.
27296         (atan2_test_data): New variable.
27297         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27298         (copysign_test_data): New variable.
27299         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27300         (fdim_test_data): New variable.
27301         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27302         (fmax_test_data): New variable.
27303         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27304         (fmin_test_data): New variable.
27305         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27306         (fmod_test_data): New variable.
27307         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27308         (hypot_test_data): New variable.
27309         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27310         (nextafter_test_data): New variable.
27311         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27312         (nexttoward_test_data): New variable.
27313         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27314         (pow_test_data): New variable.
27315         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27316         (pow_tonearest_test_data): New variable.
27317         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27318         (pow_towardzero_test_data): New variable.
27319         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27320         (pow_downward_test_data): New variable.
27321         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27322         (pow_upward_test_data): New variable.
27323         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27324         (remainder_test_data): New variable.
27325         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27326         (scalb_test_data): New variable.
27327         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27328         * sysdeps/i386/fpu/libm-test-ulps: Update.
27329
27330 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
27331
27332         * math/libm-test.inc (fma_test): Use max_value instead of local
27333         variable fltmax.
27334         (nextafter_test): Likewise.
27335
27336         * math/libm-test.inc (acos_towardzero_test_data): New variable.
27337         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27338         (acos_downward_test_data): New variable.
27339         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27340         (acos_upward_test_data): New variable.
27341         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27342         (acosh_test_data): New variable.
27343         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27344         (asin_test_data): New variable.
27345         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27346         (asin_tonearest_test_data): New variable.
27347         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27348         (asin_towardzero_test_data): New variable.
27349         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27350         (asin_downward_test_data): New variable.
27351         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27352         (asin_upward_test_data): New variable.
27353         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27354         (asinh_test_data): New variable.
27355         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27356         (atan_test_data): New variable.
27357         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27358         (atanh_test_data): New variable.
27359         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27360         (cbrt_test_data): New variable.
27361         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27362         (ceil_test_data): New variable.
27363         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27364         (cos_test_data): New variable.
27365         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27366         (cos_tonearest_test_data): New variable.
27367         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27368         (cos_towardzero_test_data): New variable.
27369         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27370         (cos_downward_test_data): New variable.
27371         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27372         (cos_upward_test_data): New variable.
27373         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27374         (cosh_test_data): New variable.
27375         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27376         (cosh_tonearest_test_data): New variable.
27377         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27378         (cosh_towardzero_test_data): New variable.
27379         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27380         (cosh_downward_test_data): New variable.
27381         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27382         (cosh_upward_test_data): New variable.
27383         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27384         (erf_test_data): New variable.
27385         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27386         (erfc_test_data): New variable.
27387         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27388         (exp_test_data): New variable.
27389         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27390         (exp_tonearest_test_data): New variable.
27391         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27392         (exp_towardzero_test_data): New variable.
27393         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27394         (exp_downward_test_data): New variable.
27395         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27396         (exp_upward_test_data): New variable.
27397         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27398         (exp10_test_data): New variable.
27399         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27400         (exp2_test_data): New variable.
27401         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27402         (expm1_test_data): New variable.
27403         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27404         (fabs_test_data): New variable.
27405         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27406         (floor_test_data): New variable.
27407         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27408         (j0_test_data): New variable.
27409         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27410         (j1_test_data): New variable.
27411         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27412         (log_test_data): New variable.
27413         (log_test): Run tests with RUN_TEST_LOOP_f_f.
27414         (log10_test_data): New variable.
27415         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27416         (log1p_test_data): New variable.
27417         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27418         (log2_test_data): New variable.
27419         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27420         (logb_test_data): New variable.
27421         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27422         (logb_downward_test_data): New variable.
27423         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27424         (nearbyint_test_data): New variable.
27425         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27426         (rint_test_data): New variable.
27427         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27428         (rint_tonearest_test_data): New variable.
27429         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27430         (rint_towardzero_test_data): New variable.
27431         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27432         (rint_downward_test_data): New variable.
27433         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27434         (rint_upward_test_data): New variable.
27435         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27436         (round_test_data): New variable.
27437         (round_test): Run tests with RUN_TEST_LOOP_f_f.
27438         (sin_test_data): New variable.
27439         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27440         (sin_tonearest_test_data): New variable.
27441         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27442         (sin_towardzero_test_data): New variable.
27443         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27444         (sin_downward_test_data): New variable.
27445         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27446         (sin_upward_test_data): New variable.
27447         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27448         (sinh_test_data): New variable.
27449         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27450         (sinh_tonearest_test_data): New variable.
27451         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27452         (sinh_towardzero_test_data): New variable.
27453         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27454         (sinh_downward_test_data): New variable.
27455         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27456         (sinh_upward_test_data): New variable.
27457         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27458         (sqrt_test_data): New variable.
27459         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27460         (tan_test_data): New variable.
27461         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27462         (tan_tonearest_test_data): New variable.
27463         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27464         (tan_towardzero_test_data): New variable.
27465         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27466         (tan_downward_test_data): New variable.
27467         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27468         (tan_upward_test_data): New variable.
27469         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27470         (tanh_test_data): New variable.
27471         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27472         (tgamma_test_data): New variable.
27473         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27474         (trunc_test_data): New variable.
27475         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27476         (y0_test_data): New variable.
27477         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27478         (y1_test_data): New variable.
27479         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27480         (significand_test_data): New variable.
27481         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27482
27483 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
27484
27485         [BZ #12387]
27486         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27487
27488 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27489
27490         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27491
27492 2013-05-10  Andreas Jaeger  <aj@suse.de>
27493
27494         [BZ #15448]
27495         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27496         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27497
27498 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27499
27500         * math/gen-libm-test.pl (adjust_arg): New function.
27501         (special_functions): Handle generating output in both functions
27502         and arrays.
27503         (parse_args): Likewise.
27504         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
27505         $in_func argument to parse_args.
27506         * math/libm-test.inc (struct test_f_f_data): New type.
27507         (IF_ROUND_INIT_): New macro.
27508         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27509         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27510         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27511         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27512         (ROUND_RESTORE_): Likewise.
27513         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27514         (ROUND_RESTORE_FE_TONEAREST): Likewise.
27515         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27516         (ROUND_RESTORE_FE_UPWARD): Likewise.
27517         (RUN_TEST_LOOP_f_f): New macro.
27518         (acos_test_data): New variable.
27519         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27520         (acos_tonearest_test_data): New variable.
27521         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27522
27523 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27524
27525         * benchtests/bench-skeleton.c (startup): Fix coding style.
27526
27527 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27528
27529         [BZ #6809]
27530         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27531         negative infinity argument.
27532         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27533         negative infinity argument.
27534         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27535         negative infinity argument.
27536         * math/libm-test.inc (tgamma_test): Expect errno to be set for
27537         domain errors.
27538
27539 2013-05-10  Florian Weimer  <fweimer@redhat.com>
27540
27541         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27542         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27543         * iconv/iconv_prog.c (main): Likewise.
27544         * locale/programs/charmap-dir.c (charmap_readdir)
27545         (fopen_uncompressed): Likewise.
27546         * locale/programs/locfile.c (siblings_uncached)
27547         (write_locale_data): Use lstat64 instead of lstat.
27548         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27549         stat.
27550
27551 2013-05-10  Andreas Jaeger  <aj@suse.de>
27552
27553         [BZ #15395]
27554         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27555         localization.
27556         Include <locale.h>.
27557
27558 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
27559
27560         * elf/dl-close.c (_dl_close_worker): Add comments.
27561
27562 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
27563
27564         [BZ #15359]
27565         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27566         high part of pi/2.
27567         (__ieee754_rem_pio2l): Update comments.
27568
27569         [BZ #15429]
27570         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27571         high part of pi/2.
27572         (__ieee754_rem_pio2l): Update comments.
27573
27574         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27575         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27576
27577         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27578         M_PI_4l.
27579
27580         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27581         (M_PI_34_LOG10El): Likewise.
27582         (M_PI2_LOG10El): Likewise.
27583         (M_PI4_LOG10El): Likewise.
27584         (M_PI_LOG10El): Likewise.
27585
27586 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27587
27588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27589
27590 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
27591
27592         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27593         (MINUS_ZERO_INIT): Likewise.
27594         (PLUS_INFTY_INIT): Likewise.
27595         (MINUS_INFTY_INIT): Likewise.
27596         (QNAN_VALUE_INIT): Likewise.
27597         (MAX_VALUE_INIT): Likewise.
27598         (MIN_VALUE_INIT): Likewise.
27599         (MIN_SUBNORM_VALUE_INIT): Likewise.
27600         (plus_zero): Initialize with PLUS_ZERO_INIT.
27601         (minus_zero): Initialize with MINUS_ZERO_INIT.
27602         (plus_infty): Initialize with PLUS_INFTY_INIT.
27603         (minus_infty): Initialize with MINUS_INFTY_INIT.
27604         (qnan_value): Initialize with QNAN_VALUE_INIT.
27605         (max_value): Initialize with MAX_VALUE_INIT.
27606         (min_value): Initialize with MIN_VALUE_INIT.
27607         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27608
27609         * math/libm-test.inc (RUN_TEST_if_f): New macro.
27610         (jn_test): Use TEST_if_f instead of TEST_ff_f.
27611         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27612         (yn_test): Use TEST_if_f instead of TEST_ff_f.
27613
27614         * math/libm-test.inc (RUN_TEST_f_f): New macro.
27615         (RUN_TEST_2_f): Likewise.
27616         (RUN_TEST_ff_f): Likewise.
27617         (RUN_TEST_fi_f): Likewise.
27618         (RUN_TEST_fl_f): Likewise.
27619         (RUN_TEST_fff_f): Likewise.
27620         (RUN_TEST_c_f): Likewise.
27621         (RUN_TEST_f_f1): Likewise.
27622         (RUN_TEST_fF_f1): Likewise.
27623         (RUN_TEST_fI_f1): Likewise.
27624         (RUN_TEST_ffI_f1): Likewise.
27625         (RUN_TEST_c_c): Likewise.
27626         (RUN_TEST_cc_c): Likewise.
27627         (RUN_TEST_f_i): Likewise.
27628         (RUN_TEST_f_i_tg): Likewise.
27629         (RUN_TEST_ff_i_tg): Likewise.
27630         (RUN_TEST_f_b): Likewise.
27631         (RUN_TEST_f_b_tg): Likewise.
27632         (RUN_TEST_f_l): Likewise.
27633         (RUN_TEST_f_L): Likewise.
27634         (RUN_TEST_sincos): Likewise.
27635         * math/gen-libm-test.pl (new_test): Take new argument to indicate
27636         whether to show exceptions.  Do not include ");\n" in return
27637         value.
27638         (special_functions): Output call to RUN_TEST_sincos instead of
27639         check_float calls.  Update calls to new_test.
27640         (parse_args): Output call to single RUN_TEST_* macro instead of
27641         check_* calls and other assignments.  Update calls to new_test.
27642
27643         [BZ #2546]
27644         [BZ #2560]
27645         [BZ #5159]
27646         [BZ #15426]
27647         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27648         input to result for tgamma overflow.
27649         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27650         (gamma_coeff): New variable.
27651         (NCOEFF): New macro.
27652         (gamma_positive): New function.
27653         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27654         underflow here.  Use gamma_positive instead of exp (lgamma) for
27655         other arguments.
27656         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27657         (gamma_coeff): New variable.
27658         (NCOEFF): New macro.
27659         (gammaf_positive): New function.
27660         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27661         underflow here.  Use gamma_positive instead of exp (lgamma) for
27662         other arguments.
27663         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27664         (gamma_coeff): New variable.
27665         (NCOEFF): New macro.
27666         (gammal_positive): New function.
27667         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27668         underflow here.  Use gamma_positive instead of exp (lgamma) for
27669         other arguments.
27670         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27671         (gamma_coeff): New variable.
27672         (NCOEFF): New macro.
27673         (gammal_positive): New function.
27674         (__ieee754_gammal_r): Handle positive infinity, overflow and
27675         underflow here.  Handle NaN the same as positive infinity.  Remove
27676         check x < 0xffffffff for negative integers.  Use gamma_positive
27677         instead of exp (lgamma) for other arguments.
27678         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27679         (gamma_coeff): New variable.
27680         (NCOEFF): New macro.
27681         (gammal_positive): New function.
27682         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27683         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27684         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27685         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27686         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27687         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27688         * sysdeps/generic/math_private.h (__gamma_productf): New
27689         prototype.
27690         (__gamma_product): Likewise.
27691         (__gamma_productl): Likewise.
27692         * math/Makefile (libm-calls): Add gamma_product.
27693         * math/libm-test.inc (tgamma_test): Add more tests.
27694         * sysdeps/i386/fpu/libm-test-ulps: Update.
27695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27696
27697 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
27698
27699         * benchtests/bench-skeleton.c (main): Preheat CPU.
27700
27701 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
27702
27703         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27704
27705 2013-05-07  Roland McGrath  <roland@hack.frob.com>
27706
27707         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27708         and _dl_skip_args_internal.
27709
27710 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
27711
27712         * manual/message.texi (Message Translation): Talk about users.
27713         Message to key mapping impacts design.
27714
27715 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27716
27717         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27718
27719         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27720
27721         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27722         * sysdeps/wordsize-64/glob64.c: ... here.
27723
27724         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27725         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27726         New macros.
27727
27728         * debug/getlogin_r_chk.c: Moved to ...
27729         * login/getlogin_r_chk.c: ... here.
27730         * debug/Makefile (routines): Move getlogin_r_chk to ...
27731         * login/Makefile (routines): ... here.
27732         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27733         * login/Versions (libc: GLIBC_2.4): ... here.
27734
27735         * io/poll.c (__poll): Renamed from poll.
27736         Add libc_hidden_def.
27737         (poll): Define as weak alias.
27738
27739         * debug/ptsname_r_chk.c: Moved to ...
27740         * login/ptsname_r_chk.c: ... here.
27741         * debug/Makefile (routines): Move ptsname_r_chk to ...
27742         * login/Makefile (routines): ... here.
27743         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27744         * login/Versions (libc: GLIBC_2.4): ... here.
27745
27746         * posix/getlogin.c: Moved to ...
27747         * login/getlogin.c: ... here.
27748         * posix/getlogin_r.c: Moved to ...
27749         * login/getlogin_r.c: ... here.
27750         * posix/getlogin_r.c: Moved to ...
27751         * login/getlogin_r.c: ... here.
27752         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27753         * login/Makefile (routines): ... here.
27754         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27755         * login/Versions (libc: GLIBC_2.0): ... here.
27756
27757         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27758         (setrlimit): Define as weak alias.
27759
27760         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27761         Call __ names for open, ftruncate, and close.
27762         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27763         (truncate): Define as weak alias.
27764
27765 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
27766
27767         * math/gen-libm-test.pl (parse_args): Initialize x before each
27768         test of frexp, modf and remquo.
27769
27770         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27771         test signgam value.
27772
27773 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27774
27775         [BZ #15418]
27776         [BZ #15419]
27777         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27778         internal tests.
27779         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27780
27781 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27782
27783         * elf/dl-writev.h: New file.
27784         * elf/dl-misc.c: Include it.
27785         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27786         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27787
27788 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
27789
27790         * math/libm-test.inc (noXFails): Remove variable.
27791         (noXPasses): Likewise.
27792         (BUILD_COMPLEX_INT): Remove macro.
27793         (print_screen): Remove xfail argument.
27794         (print_screen_max_error): Likewise.
27795         (update_stats): Likewise.
27796         (print_max_error): Likewise.  Update calls to other affected
27797         functions.
27798         (print_complex_max_error): Likewise.
27799         (test_single_exception): Update calls to print_screen.
27800         (test_single_errno): Likewise.
27801         (check_float_internal): Remove xfail argument.  Update calls to
27802         other affected functions.
27803         (check_float): Likewise.
27804         (check_complex): Likewise.
27805         (check_int): Likewise.
27806         (check_long): Likewise.
27807         (check_bool): Likewise.
27808         (check_longlong): Likewise.
27809         (main): Don't print noXFails and noXPasses.
27810         * math/gen-libm-test.pl (top level): Don't mention expected
27811         failure handling in comment.
27812         (new_test): Don't handle expected failures.
27813         (parse_args): Don't mention expected failure handling in comment.
27814         (generate_testfile): Don't handle expected failures.
27815         (parse_ulps): Likewise.
27816         (print_ulps_file): Likewise.
27817         (get_failure): Remove function.
27818         (output_test): Don't handle expected failures.
27819         * make/README.libm-test: Don't mention expected failure handling.
27820
27821         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
27822         (minus_zero): Likewise.
27823         (plus_infty): Likewise.
27824         (minus_infty): Likewise.
27825         (qnan_value): Likewise.
27826         (max_value): Likewise.
27827         (min_value): Likewise.
27828         (min_subnorm_value): Likewise.
27829         (initialize): Do not initialize those variables dynamically.
27830
27831 2013-05-03  Roland McGrath  <roland@hack.frob.com>
27832
27833         * io/open.c (__open_2): Moved to ...
27834         * io/open_2.c: ... this new file.
27835         * io/open64.c (__open64_2): Moved to ...
27836         * io/open64_2.c: ... this new file.
27837         * io/openat.c (__openat_2): Moved to ...
27838         * io/openat_2.c: ... this new file.
27839         * io/openat64.c (__openat64_2): Moved to ...
27840         * io/openat64_2.c: ... this new file.
27841         * io/Makefile (routines): Add them.
27842         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27843         * sysdeps/unix/sysv/linux/open_2.c: File removed.
27844         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27845         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27846         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27847         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27848         (__openat64): Add hidden_ver.
27849         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27850         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27851
27852         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27853         Separately conditionalize setting of GLRO(dl_sysinfo) so
27854         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27855         as well, but the actual setting is only under [NEED_DL_SYSINFO].
27856
27857 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27858
27859         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27860         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27861         definition.
27862         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27863         * sysdeps/unix/sysv/linux/powerpc/init-first.c
27864         (_libc_vdso_platform_setup): Add __vdso_time initialization.
27865         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27866         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27867
27868 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
27869
27870         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27871         test signgam value.
27872
27873         * math/libm-test.inc (hypot_test): Do not use
27874         IGNORE_ZERO_INF_SIGN.
27875
27876 2013-05-03  Andreas Jaeger  <aj@suse.de>
27877
27878         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27879         Linux 3.9.
27880         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27881         (PF_MAX): Adjust for VSOCK change.
27882
27883 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27884
27885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27886
27887 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
27888
27889         [BZ #15264]
27890         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27891         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27892         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27893
27894 2013-05-02  David S. Miller  <davem@davemloft.net>
27895
27896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27897
27898 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
27899
27900         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27901
27902 2013-05-01  Roland McGrath  <roland@hack.frob.com>
27903
27904         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27905
27906 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
27907
27908         [BZ #14952]
27909         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27910         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27911         Use __attribute__ ((__gnu_inline__)).
27912         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27913         Don't use __attribute__ ((__gnu_inline__)).
27914
27915 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
27916
27917         [BZ #15423]
27918         * math/s_catan.c (__catan): Handle small real or imaginary part of
27919         input specially to avoid spurious underflow.
27920         * math/s_catanf.c (__catanf): Likewise.
27921         * math/s_catanh.c (__catanh): Likewise.
27922         * math/s_catanhf.c (__catanhf): Likewise.
27923         * math/s_catanhl.c (__catanhl): Likewise.
27924         * math/s_catanl.c (__catanl): Likewise.
27925         * math/libm-test.inc (catan_test): Add more tests.
27926         (catanh_test): Likewise.
27927         * sysdeps/i386/fpu/libm-test-ulps: Update.
27928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27929
27930 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27931
27932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27933
27934 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
27935
27936         [BZ #15416]
27937         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27938         accurately for denominator in atan2.
27939         * math/s_catanf.c (__catanf): Likewise.
27940         * math/s_catanh.c (__catanh): Likewise.
27941         * math/s_catanhf.c (__catanhf): Likewise.
27942         * math/s_catanhl.c (__catanhl): Likewise.
27943         * math/s_catanl.c (__catanl): Likewise.
27944         * math/libm-test.inc (catan_test): Add more tests.
27945         (catanh_test): Likewise.
27946         * sysdeps/i386/fpu/libm-test-ulps: Update.
27947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27948
27949 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27950
27951         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27952
27953         * benchtests/Makefile (bench): Remove slow benchmarks.
27954         * benchtests/atan-inputs: Add slow benchmark inputs.
27955         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27956         (BENCH_FUNC): Accept variant offset.
27957         (VARIANT): Define.
27958         * benchtests/bench-skeleton.c (main): Run benchmark for each
27959         variant.
27960         * benchtests/cos-inputs: Add slow benchmark inputs.
27961         * benchtests/exp-inputs: Likewise.
27962         * benchtests/pow-inputs: Likewise.
27963         * benchtests/sin-inputs: Likewise.
27964         * benchtests/slowatan-inputs: Remove.
27965         * benchtests/slowatan.c: Remove.
27966         * benchtests/slowcos-inputs: Remove.
27967         * benchtests/slowcos.c: Remove.
27968         * benchtests/slowexp-inputs: Remove.
27969         * benchtests/slowexp.c: Remove.
27970         * benchtests/slowpow-inputs: Remove.
27971         * benchtests/slowpow.c: Remove.
27972         * benchtests/slowsin-inputs: Remove.
27973         * benchtests/slowsin.c: Remove.
27974         * benchtests/slowtan-inputs: Remove.
27975         * benchtests/slowtan.c: Remove.
27976         * benchtests/tan-inputs: Add slow benchmark inputs.
27977         * scripts/bench.pl: Parse comments and directives.
27978
27979         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
27980         in CPPFLAGS.
27981         ($(objpfx)bench-%.c): Remove *-ITER.
27982         * benchtests/bench-modf.c: Remove definition of ITER.
27983         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27984         (main): Loop for DURATION seconds instead of fixed number of
27985         iterations.
27986         * scripts/bench.pl: Don't expect iterations in parameters.
27987
27988 2013-04-29  Roland McGrath  <roland@hack.frob.com>
27989
27990         * io/fchdir.c (__fchdir): Renamed from fchdir.
27991         (fchdir): Define as weak alias.
27992
27993 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27994
27995         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27996         (ERRNO_EDOM): Likewise.
27997         (ERRNO_ERANGE): Likewise.
27998         (noErrnoTests): New variable.
27999         (init_max_error): Set errno to 0.
28000         (test_single_errno): New function.
28001         (test_errno): Likewise.
28002         (check_float_internal): Call test_errno.  Set errno to 0.
28003         (check_complex): Refer to errno tests in comment.
28004         (check_int): Call test_errno.  Set errno to 0.
28005         (check_long): Likewise.
28006         (check_bool): Likewise.
28007         (check_longlong): Likewise.
28008         (cos_test): Use ERRNO_* flags for errno tests instead of
28009         check_int.
28010         (expm1_test): Likewise.
28011         (fmod_test): Likewise.
28012         (ilogb_test): Likewise.
28013         (lgamma_test): Likewise.
28014         (pow_test): Likewise.
28015         (remainder_test): Likewise.
28016         (sin_test): Likewise.
28017         (tan_test): Likewise.
28018         (yn_test): Likewise.
28019         (initialize): Set errno to 0.
28020         (main): Print number of errno tests.
28021         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28022
28023 2013-04-29  Andreas Jaeger  <aj@suse.de>
28024
28025         [BZ #15084]
28026         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28027         and RES_USEVC.
28028
28029         [BZ #15085]
28030         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28031         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28032         unimplemented.
28033
28034         [BZ #15380]
28035         * stdlib/random.c (__initstate): Return NULL if
28036         __initstate fails.
28037
28038         [BZ #15086]
28039         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28040         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28041         RES_SNGLKUPREOP.
28042
28043 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28044
28045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28046
28047 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28048
28049         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28050         of individual tests.
28051         (casin_test): Likewise.
28052         (casinh_test): Likewise.
28053
28054 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
28055
28056         [BZ #15409]
28057         * math/s_catan.c (__catan): Handle arguments with large real or
28058         imaginary part separately without squaring.
28059         * math/s_catanf.c (__catanf): Likewise.
28060         * math/s_catanh.c (__catanh): Likewise.
28061         * math/s_catanhf.c (__catanhf): Likewise.
28062         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28063         and redefine.
28064         (__catanhl): Handle arguments with large real or imaginary part
28065         separately without squaring.
28066         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28067         and redefine.
28068         (__catanl): Handle arguments with large real or imaginary part
28069         separately without squaring.
28070         * math/libm-test.inc (catan_test): Add more tests.
28071         (catanh_test): Likewise.
28072         * sysdeps/i386/fpu/libm-test-ulps: Update.
28073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28074
28075 2013-04-27  Andreas Jaeger  <aj@suse.de>
28076
28077         [BZ #15007]
28078         * stdlib/stdlib.h: Update guards for qecvt.
28079         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28080         <stdlib.h>.
28081
28082 2013-04-27  Allan McRae  <allan@archlinux.org>
28083
28084         * sysdeps/i386/fpu/libm-test-ulps: Update.
28085
28086 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
28087
28088         [BZ #15406]
28089         * math/s_catan.c: Include <float.h>.
28090         (__catan): Ensure underflow exception occurs for underflowed
28091         result.
28092         * math/s_catanf.c: Include <float.h>.
28093         (__catanf): Ensure underflow exception occurs for underflowed
28094         result.
28095         * math/s_catanh.c: Include <float.h>.
28096         (__catanh): Ensure underflow exception occurs for underflowed
28097         result.
28098         * math/s_catanhf.c: Include <float.h>.
28099         (__catanhf): Ensure underflow exception occurs for underflowed
28100         result.
28101         * math/s_catanhl.c: Include <float.h>.
28102         (__catanhl): Ensure underflow exception occurs for underflowed
28103         result.
28104         * math/s_catanl.c: Include <float.h>.
28105         (__catanl): Ensure underflow exception occurs for underflowed
28106         result.
28107         * math/libm-test.inc (catan_test): Add more tests.
28108         (catanh_test): Likewise.
28109
28110         [BZ #15405]
28111         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28112         underflowed result.
28113         * math/s_ccoshf.c (__ccoshf): Likewise.
28114         * math/s_ccoshl.c (__ccoshl): Likewise.
28115         * math/s_csin.c (__csin): Likewise.
28116         * math/s_csinf.c (__csinf): Likewise.
28117         * math/s_csinh.c (__csinh): Likewise.
28118         * math/s_csinhf.c (__csinhf): Likewise.
28119         * math/s_csinhl.c (__csinhl): Likewise.
28120         * math/s_csinl.c (__csinl): Likewise.
28121         * math/libm-test.inc (ccos_test): Add more tests.
28122         (ccosh_test): Likewise.
28123         (csin_test): Likewise.
28124         (csinh_test): Likewise.
28125
28126 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28127
28128         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28129         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28130         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28131         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28132         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28133         powerpc/power5+/fpu folders.
28134         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28135
28136
28137 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28138
28139         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28140
28141 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
28142
28143         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28144         additions to variable.
28145         [$(config-machine) = x86_64] (modules-names): Likewise.
28146         ($(objpfx)tst-audit3): Remove dependency.
28147         ($(objpfx)tst-audit3.out): Likewise.
28148         ($(objpfx)tst-audit4): Likewise.
28149         ($(objpfx)tst-audit4.out): Likewise.
28150         ($(objpfx)tst-audit5): Likewise.
28151         ($(objpfx)tst-audit5.out): Likewise.
28152         ($(objpfx)tst-audit6): Likewise.
28153         ($(objpfx)tst-audit6.out): Likewise.
28154         ($(objpfx)tst-audit7): Likewise.
28155         ($(objpfx)tst-audit7.out): Likewise.
28156         (tst-audit3-ENV): Remove variable.
28157         (tst-audit4-ENV): Likewise.
28158         (tst-audit5-ENV): Likewise.
28159         (tst-audit6-ENV): Likewise.
28160         (tst-audit7-ENV): Likewise.
28161         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28162         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28163         addition to variable.
28164         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28165         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28166         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28167         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28168         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28169         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28170         tst-audit3, tst-audit4 and tst-audit5.
28171         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28172         tst-audit6 and tst-audit7.
28173         [$(subdir) = elf] (modules-names): Add audit modules for those
28174         tests.
28175         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28176         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28177         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28178         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28179         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28180         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28181         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28182         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28183         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28184         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28185         [$(subdir) = elf] (tst-audit3-ENV): New variable.
28186         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28187         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28188         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28189         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28190         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28191         Likewise.
28192         [$(subdir) = elf && $(config-cflags-avx) = yes]
28193         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28194         [$(subdir) = elf && $(config-cflags-avx) = yes]
28195         (CFLAGS-tst-auditmod4a.c): Likewise.
28196         [$(subdir) = elf && $(config-cflags-avx) = yes]
28197         (CFLAGS-tst-auditmod4b.c): Likewise.
28198         [$(subdir) = elf && $(config-cflags-avx) = yes]
28199         (CFLAGS-tst-auditmod6b.c): Likewise.
28200         [$(subdir) = elf && $(config-cflags-avx) = yes]
28201         (CFLAGS-tst-auditmod6c.c): Likewise.
28202         [$(subdir) = elf && $(config-cflags-avx) = yes]
28203         (CFLAGS-tst-auditmod7b.c): Likewise.
28204         * elf/tst-audit3.c: Move to ...
28205         * sysdeps/x86_64/tst-audit3.c: ... here.
28206         * elf/tst-audit4.c: Move to ...
28207         * sysdeps/x86_64/tst-audit4.c: ... here.
28208         * elf/tst-audit5.c: Move to ...
28209         * sysdeps/x86_64/tst-audit5.c: ... here.
28210         * elf/tst-audit6.c: Move to ...
28211         * sysdeps/x86_64/tst-audit6.c: ... here.
28212         * elf/tst-audit7.c: Move to ...
28213         * sysdeps/x86_64/tst-audit7.c: ... here.
28214         * elf/tst-auditmod3a.c: Move to ...
28215         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28216         * elf/tst-auditmod3b.c: Move to ...
28217         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28218         * elf/tst-auditmod4a.c: Move to ...
28219         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28220         * elf/tst-auditmod4b.c: Move to ...
28221         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28222         * elf/tst-auditmod5a.c: Move to ...
28223         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28224         * elf/tst-auditmod5b.c: Move to ...
28225         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28226         * elf/tst-auditmod6a.c: Move to ...
28227         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28228         * elf/tst-auditmod6b.c: Move to ...
28229         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28230         * elf/tst-auditmod6c.c: Move to ...
28231         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28232         * elf/tst-auditmod7a.c: Move to ...
28233         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28234         * elf/tst-auditmod7b.c: Move to ...
28235         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28236
28237 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
28238
28239         [BZ #15366]
28240         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28241         define unconditionally.
28242         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28243         define unconditionally.
28244         (INT8_C, INT16_C, etc.): Likewise.
28245
28246 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
28247
28248         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28249         __ehdr_start with hidden visibility.
28250
28251         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28252
28253 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
28254
28255         * math/libm-test.inc (cos_test): Use accurate hex constants.
28256         (sincost_test): Likewise.
28257
28258 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
28259
28260         * math/libm-test.inc (catan_test): Add more tests.
28261         (catanh_test): Likewise.
28262
28263         * math/s_catanf.c (__catanf): Use suffixed floating-point
28264         constants.
28265         * math/s_catanhf.c (__catanhf): Likewise.
28266         * math/s_catanhl.c (__catanhl): Likewise.
28267         * math/s_catanl.c (__catanl): Likewise.
28268
28269         [BZ #15394]
28270         * math/s_catan.c (__catan): Calculate imaginary part of result
28271         with log1p not log unless computing log of number close to 0.
28272         * math/s_catanf.c (__catanf): Likewise.
28273         * math/s_catanl.c (__catanl): Likewise.
28274         * math/s_catanh.c (__catanh): Calculate real part of result with
28275         log1p not log unless computing log of number close to 0.
28276         * math/s_catanhf.c (__catanhf): Likewise.
28277         * math/s_catanhl.c (__catanhl): Likewise.
28278         * math/libm-test.inc (catan_test): Add more tests.
28279         (catanh_test): Likewise.
28280         * sysdeps/i386/fpu/libm-test-ulps: Update.
28281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28282
28283 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28284
28285         * benchtests/Makefile: Mention files in which fast and slow
28286         paths of math functions are implemented.
28287
28288 2013-04-23  Roland McGrath  <roland@hack.frob.com>
28289
28290         * sysdeps/posix/timespec_get.c: New file.
28291
28292 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28293
28294         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28295         POWER.
28296         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28297         for POWER.
28298         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28299         powerpc/power5/fpu folders.
28300         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28301         * benchtests/Makefile: Add modf testcase.
28302         * benchtests/bench-modf.c: New file: Benchmark test for mo
28303
28304 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28305
28306         [BZ #14888]
28307         * time/Makefile (tests): Add tst-strptime-whitespace.
28308         * time/strptime_l.c (get_number): Use ISSPACE.
28309         (__strptime_internal): Likewise.
28310         * time/tst-strptime-whitespace.c: New test case.
28311
28312 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
28313
28314         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28315         member.
28316         (_nss_files_init): Set it here.
28317
28318 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
28319
28320         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28321         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28322         unsigned.
28323
28324 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
28325
28326         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28327
28328 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28329
28330         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28331         size just once.
28332
28333 2013-04-21  David S. Miller  <davem@davemloft.net>
28334
28335         * po/ru.po: Update Russion translation from translation project.
28336
28337 2013-04-17  Adam Conrad  <adconrad@0c3.net>
28338
28339         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28340         and setfsgid.
28341
28342 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
28343
28344         * configure.in: Remove i386 configure warning. Remove i386 case.
28345         * configure: Regenerate.
28346         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28347         Add example to error message.
28348         * sysdeps/i386/configure: Regenerate.
28349
28350 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28351
28352         * benchtests/Makefile (bench): Add cos, tan, slowcos and
28353         slowtan.
28354         * benchtests/cos-inputs: New file.
28355         * benchtests/slowcos-inputs: New file.
28356         * benchtests/slowcos.c: New file.
28357         * benchtests/slowtan-inputs: New file.
28358         * benchtests/slowtan.c: New file.
28359         * benchtests/tan-inputs: New file.
28360
28361 2013-04-16  Roland McGrath  <roland@hack.frob.com>
28362
28363         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28364         considered kosher.
28365
28366 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28367
28368         * benchtests/Makefile: Include cppflags-iterator.mk to add
28369         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28370
28371         * Makefile.in (bench-clean): New target.
28372         * benchtests/Makefile (bench-clean): Likewise.
28373
28374 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
28375
28376         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28377
28378 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
28379
28380         * stdio-common/tstdiomisc.c: Fix coding-style violation.
28381
28382 2013-04-15  Andreas Schwab  <schwab@suse.de>
28383
28384         * nscd/grpcache.c (cache_addgr): Properly check for short write.
28385         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28386         * nscd/pwdcache.c (cache_addpw): Likewise.
28387         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
28388         more than recsize.
28389
28390 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28391
28392         * benchtests/Makefile (bench): Write all output to
28393         bench-out.tmp together.
28394
28395 2013-04-15  Andreas Schwab  <schwab@suse.de>
28396
28397         * nscd/nscd.c (main): Don't fork again after closing files.
28398
28399 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28400
28401         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28402
28403         * benchtests/Rules (bench-deps): Collect dependencies into a
28404         single variable.  Add Makefile to dependencies.
28405         ($(objpfx)bench-%.c): Depend on bench-deps.
28406
28407 2013-04-12  Roland McGrath  <roland@hack.frob.com>
28408             Xavier Roche  <roche+kml2@exalead.com>
28409
28410         [BZ #15361]
28411         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28412         just that it's a file descriptor.
28413         * manual/llio.texi (Synchronizing AIO Operations): Update description
28414         for EBADF error from aio_fsync.
28415
28416 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28417
28418         * Rules (bench): Move target definition...
28419         * benchtests/Makefile: ... here.
28420
28421 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
28422
28423         * math/libm-test.inc (cos_test): Fix PI/2 test.
28424         (sincos_test): Likewise.
28425         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28426         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28427
28428 2013-04-11  Andreas Schwab  <schwab@suse.de>
28429
28430         [BZ #13988]
28431         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28432         accept exponent character only when digits were seen.
28433         * stdio-common/Makefile (tests): Add bug26.
28434         * stdio-common/bug26.c: New file.
28435
28436         [BZ #14293]
28437         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28438         non-freeable.
28439
28440 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28441
28442         * Makeconfig (rtld-prefix): Define built linker prefix.
28443         * Rules (run-bench): Use it.
28444         * math/Makefile (run-regen-ulps): Likewise.
28445
28446         * Rules (bench): Remove eval.
28447
28448 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28449             Roland McGrath  <roland@hack.frob.com>
28450             Ondrej Bilka  <neleai@seznam.cz>
28451
28452         [BZ #15346]
28453         * time/getdate.c: Include ctype.h and alloca.h.
28454         (__getdate_r): Trim leading and trailing spaces of input.
28455         * time/tst-getdate.c (tests): Add tests with leading and
28456         trailing spaces.
28457
28458 2013-04-08  Roland McGrath  <roland@hack.frob.com>
28459
28460         [BZ #14280]
28461         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28462         when computing value.
28463
28464 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28465
28466         * math/README.libm-test (How can I generate "libm-test-ulps"?):
28467         Use testrun.sh to run libm tests.
28468
28469         [BZ #15309]
28470         * elf/dl-open.c (dl_open_worker): memset all of seen array.
28471
28472 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
28473
28474         [BZ #15264]
28475         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28476
28477 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28478
28479         * Makefile.in (regen-ulps): New target.
28480         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28481         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28482         [ifneq (no,$(PERL)] (regen-ulps): New target.
28483         [ifeq (no,$(PERL)] (regen-ulps): New target.
28484         * math/libm-test.inc (ulps_file_name): Define.
28485         (output_dir): New variable.
28486         (options): Add "output-dir" option.
28487         (parse_opt): Handle 'o' case.
28488         (main): If output_dir is non-NULL use it as a prefix
28489         otherwise use "".
28490         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28491
28492 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28493
28494         [BZ #10060, #10062]
28495         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28496         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28497         fail configure if __sync_val_compare_and_swap is not inlined.
28498         * sysdeps/i386/configure: Regenerate.
28499         * configure.in: Build for i686 when configured for i386.
28500         * configure: Regenerate.
28501         * README: Remove i386 reference.
28502
28503 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28504
28505         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28506         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28507
28508 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28509
28510         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28511         (lmsnanval): New variables.
28512         (F): Add conversion tests.
28513         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28514         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28515
28516         * stdio-common/tstdiomisc.c (F): Properly collect individual
28517         tests' results.
28518
28519         [BZ #14686, #15336]
28520         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28521         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28522         Instead, use input NaN values or generate a qNaN by arithmetic
28523         operation.  Also fix bugs to comply with the standard.
28524         * math/libm-test.inc (remainder_test): Add more tests.
28525
28526         [BZ #15335, #15342]
28527         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28528         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28529         input NaN values or generate a qNaN by arithmetic operation.
28530
28531         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28532         unreachable code.
28533
28534         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28535         definitions.
28536
28537 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
28538
28539         [BZ #14478]
28540         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28541         underflowed result.
28542         * math/s_cexpf.c (__cexpf): Likewise.
28543         * math/s_cexpl.c (__cexpl): Likewise.
28544         * math/libm-test.inc (cexp_test): Add more tests.
28545
28546 2013-04-03  Andreas Schwab  <schwab@suse.de>
28547
28548         [BZ #15330]
28549         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28550         order arrays from heap if bigger than alloca cutoff.
28551
28552 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
28553
28554         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28555         (SNAN_TESTS_double): Refer to GCC PR56831.
28556         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28557         GCC PR56828.
28558
28559 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28560
28561         * Rules (bench): Move bench.out after the run is complete.
28562
28563         * Rules (bench): Echo currently running benchmark.
28564
28565         * benchtests/Makefile (bench): Add atan and slowatan.
28566         * benchtests/atan-inputs: New file.
28567         * benchtests/slowatan-inputs: New file.
28568         * benchtests/slowatan.c: New file.
28569
28570         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28571         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28572         its value.
28573
28574         [BZ #15305]
28575         * sysdeps/unix/sysv/linux/kernel-features.h
28576         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28577         __ASSUME_XFS_RESTRICTED_CHOWN.
28578         * sysdeps/unix/sysv/linux/pathconf.c
28579         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28580         Save and restore errno.
28581
28582 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
28583
28584         [BZ #15327]
28585         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28586         arguments using __kernel_casinh.
28587         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28588         arguments using __kernel_casinhf.
28589         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28590         arguments using __kernel_casinhl.
28591         * math/libm-test.inc (cacosh_test): Add more tests.
28592         * sysdeps/i386/fpu/libm-test-ulps: Update.
28593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28594
28595 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28596
28597         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28598         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28599
28600         * bench/Makefile (bench): Add sin and slowsin.
28601         * benchtests/sin-inputs: New file.
28602         * benchtests/slowsin-inputs: New file.
28603         * benchtests/slowsin.c: New file.
28604
28605         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28606         (bench): Add slowexp and slowpow.
28607         (exp-ITER): Increase iterations.
28608         (pow-ITER): Likewise.
28609         * benchtests/exp-inputs: Change input.
28610         * benchtests/pow-inputs: Likewise.
28611         * benchtests/slowexp-inputs: New file.
28612         * benchtests/slowexp.c: New file.
28613         * benchtests/slowpow-inputs: New file.
28614         * benchtests/slowpow.c: New file.
28615
28616 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28617
28618         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28619         instructions.
28620         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28621         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28622         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28623         * benchtests/Makefile: Add rint benchtest.
28624         * benchtests/rint-inputs: Input for rint benchtest.
28625
28626 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28627
28628         * Versions.def (libm): Add GLIBC_2.18.
28629         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28630         hidden libm prototypes.
28631         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28632         * math/Makefile (libm-calls): Add s_issignaling.
28633         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28634         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
28635         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28636         declaration.
28637         * math/math.h [__USE_GNU] (issignaling): New macro.
28638         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28639         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28640         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28641         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28642         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28643         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28644         * manual/arith.texi (issignaling): New section.
28645         * manual/libm-err-tab.pl (@all_functions): Update comment.
28646         * math/gen-libm-test.pl (parse_args): Apply special handling for
28647         issignaling.
28648         * math/libm-test.inc (print_float, issignaling_test): New
28649         functions.
28650         (check_float_internal): Add issignaling checks.
28651         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28652         default definition.
28653         * sysdeps/powerpc/math-tests.h: New file.
28654         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28655         tests.
28656         * math/test-snan.c (TEST_FUNC): Likewise.
28657
28658 2013-03-30  David S. Miller  <davem@davemloft.net>
28659
28660         * po/de.po: Update from translation team.
28661
28662 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
28663
28664         [BZ #10357]
28665         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28666         imaginary part less than 1.0 and real part less than 0.5
28667         specially.
28668         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28669         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28670         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28671         (cacos_test): Add more tests.
28672         (casin_test): Likewise.
28673         (casinh_test): Likewise.
28674         * sysdeps/i386/fpu/libm-test-ulps: Update.
28675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28676
28677 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28678
28679         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28680         ONE with its value.
28681
28682         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28683         (__pow_mp): Replace ONE and MONE with their values.
28684         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28685         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28686         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28687         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28688         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28689         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28690
28691         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28692
28693         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28694         (__pow_mp): Replace ZERO and MZERO with their values.
28695         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28696         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28697         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28698         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28699         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28700         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28701         (__sqr): Likewise.
28702
28703         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28704
28705         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28706
28707 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28708
28709         * include/stdlib.h [!SHARED] (__call_tls_dtors):
28710         Declare with __attribute__ ((weak)).
28711         * stdlib/exit.c (__libc_atexit) [!SHARED]:
28712         Call __call_tls_dtors only if it's not NULL.
28713
28714 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28715
28716         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28717         didn't do it already, then set _dl_phdr and _dl_phnum based on the
28718         magic __ehdr_start linker symbol if it's defined.
28719         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28720         them up here if it was already done.
28721
28722         * elf/dl-support.c (_dl_phdr): Make pointer to const.
28723         (_dl_aux_init): Use const in cast when setting it.
28724         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28725         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28726         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28727
28728         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28729         Declare them here.
28730         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28731         * csu/libc-tls.c: Nor here.
28732         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28733
28734         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28735         (__libc_message): Never call vsyslog.
28736
28737 2013-03-28  Alan Modra  <amodra@gmail.com>
28738
28739         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28740         Define as empty.
28741         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28742         Likewise.
28743
28744 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28745
28746         [BZ #15214]
28747         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28748         underflow.
28749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28750
28751 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28752
28753         [BZ #15304]
28754         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28755         Don't add gid passed as argument.
28756
28757         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28758
28759 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
28760
28761         [BZ #15307]
28762         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28763         imaginary part between 1.0 and 1.5 and real part less than 0.5
28764         specially.
28765         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28766         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28767         * math/libm-test.inc (cacos_test): Add more tests.
28768         (casin_test): Likewise.
28769         (casinh_test): Likewise.
28770         * sysdeps/i386/fpu/libm-test-ulps: Update.
28771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28772
28773 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28774
28775         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28776         constants.
28777         (norm): Likewise.
28778         (denorm): Likewise.
28779         (__dbl_mp): Likewise.
28780         (add_magnitudes): Likewise.
28781         (sub_magnitudes): Likewise.
28782         (__add): Likewise.
28783         (__sub): Likewise.
28784         (__mul): Likewise.
28785         (__sqr): Likewise.
28786         (__inv): Likewise.
28787         (__dvd): Likewise.
28788
28789         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28790         commented code.
28791         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28792         (__dubcos): Likewise.
28793         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28794         (__ieee754_acos): Likewise.
28795         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28796         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28797         (__exp1): Likewise.
28798         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28799         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28800         (log1): Likewise.
28801         (my_log2): Likewise.
28802         (checkint): Likewise.
28803         * sysdeps/ieee754/dbl-64/e_remainder.c
28804         (__ieee754_remainder): Likewise.
28805         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28806         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28807         (bsloww): Likewise.
28808         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28809
28810         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28811         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28812         MANTISSA_STORE_T to store computations on mantissa.  Use
28813         macros for rounding and division.
28814         (denorm): Likewise.
28815         (__dbl_mp): Likewise.
28816         (add_magnitudes): Likewise.
28817         (sub_magnitudes): Likewise.
28818         (__mul): Likewise.
28819         (__sqr): Likewise.
28820         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28821         powers of two in terms of TWOPOW macro.
28822         (mp_no): Make type of mantissa as MANTISSA_T.
28823         [!RADIXI]: Define RADIXI.
28824         [!TWO52]: Define TWO52.
28825         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28826
28827 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28828
28829         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28830         llroundl symbol when building for PPC32.
28831
28832 2013-03-24  Mark H Weaver  <mhw@netris.org>
28833
28834         * manual/arith.texi (Normalization Functions): Fix prototypes for
28835         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28836
28837 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28838
28839         [BZ #13889]
28840         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28841         high value to check if expl overflow.
28842         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28843         to check for underflow and overflow.
28844         * math/libm-test.inc: Add exp test.
28845
28846 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
28847
28848         [BZ #11120]
28849         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28850         with NOT_IN_libc.
28851
28852 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28853
28854         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28855         symbol.
28856
28857 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28858
28859         * math/gen-libm-test.pl (parse_args, special_functions): Properly
28860         wrap blocks consisting of several statements.
28861
28862         * sysdeps/generic/math-tests.h: New file.
28863         * sysdeps/i386/fpu/math-tests.h: Likewise.
28864         * math/test-snan.c: Include it.
28865         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28866
28867 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
28868
28869         [BZ #15285]
28870         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28871         (__ieee754_j0l): Do not improve calculations using cos of twice
28872         input for inputs above LDBL_MAX / 2.0L.
28873         (__ieee754_y0l): Likewise.
28874         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28875         (__ieee754_j1l): Do not improve calculations using cos of twice
28876         input for inputs above LDBL_MAX / 2.0L.
28877         (__ieee754_y1l): Likewise.
28878         * math/libm-test.inc (j0_test): Add another test.
28879         (j1_test): Likewise.
28880         (y0_test): Likewise.
28881         (y1_test): Likewise.
28882         * sysdeps/i386/fpu/libm-test-ulps: Update.
28883
28884 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28885
28886         * Rules ($(objpfx)bench-%.c): Include code from a C source
28887         file.
28888
28889 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
28890
28891         [BZ #15287]
28892         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28893         imaginary part 1.0 and real part less than 0.5 specially.
28894         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28895         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28896         * math/libm-test.inc (cacos_test): Add more tests.
28897         (casin_test): Likewise.
28898         (casinh_test): Likewise.
28899         * sysdeps/i386/fpu/libm-test-ulps: Update.
28900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28901
28902 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28903
28904         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28905         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28906
28907 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
28908
28909         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28910         * config.make.in (config-cflags-sse4): Remove variable.
28911         (config-cflags-avx): Likewise.
28912         (config-cflags-sse2avx): Likewise.
28913         (config-cflags-novzeroupper): Likewise.
28914         (config-asflags-i686): Likewise.
28915         (have-mfma4): Likewise.
28916         (have-as-vis3): Likewise.
28917         (MIG): Likewise.
28918         * configure.in (MIG): Do not AC_SUBST.
28919         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28920         (libc_cv_cc_sse4): Do not AC_SUBST.
28921         (libc_cv_cc_avx): Likewise.
28922         (libc_cv_cc_sse2avx): Likewise.
28923         (libc_cv_cc_novzeroupper): Likewise.
28924         (libc_cv_cc_fma4): Likewise.
28925         (libc_cv_as_i686): Likewise.
28926         (libc_cv_sparc_as_vis3): Likewise.
28927         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28928         LIBC_CONFIG_VAR.
28929         (config-asflags-i686): Likewise.
28930         (config-cflags-avx): Likewise.
28931         (config-cflags-sse2avx): Likewise.
28932         (have-mfma4): Likewise.
28933         (config-cflags-novzeroupper): Likewise.
28934         * sysdeps/mach/configure.in (MIG): Likewise.
28935         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28936         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28937         LIBC_CONFIG_VAR.
28938         (config-cflags-avx): Likewise.
28939         (config-cflags-sse2avx): Likewise.
28940         (have-mfma4): Likewise.
28941         (config-cflags-novzeroupper): Likewise.
28942         * configure: Regenerated.
28943         * sysdeps/i386/configure: Likewise.
28944         * sysdeps/mach/configure: Likewise.
28945         * sysdeps/sparc/configure: Likewise.
28946         * sysdeps/x86_64/configure: Likewise.
28947
28948 2013-03-20  Roland McGrath  <roland@hack.frob.com>
28949
28950         [BZ #14812]
28951         * locale/programs/localedef.c (options): Put N_ translation marker
28952         on argument names, not just descriptions.
28953
28954 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28955
28956         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28957
28958 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
28959
28960         [BZ #14176]
28961         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28962
28963 2013-03-19  Roland McGrath  <roland@hack.frob.com>
28964
28965         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28966         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28967         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28968         [!BEFORE_ABORT] (before_abort): New function.
28969         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28970         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28971         (writev_for_fatal): New function.
28972         (WRITEV_FOR_FATAL): New macro; call that.
28973         (backtrace_and_maps): New function.
28974         (BEFORE_ABORT): New macro; call that.
28975         (struct str_list): Type removed.
28976         (__libc_message, __libc_fatal): Functions removed.
28977         Include <sysdeps/posix/libc_fatal.c> instead.
28978
28979 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
28980
28981         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28982         constants.
28983         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28984         double constants.
28985
28986 2013-03-19  Andreas Schwab  <schwab@suse.de>
28987
28988         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28989         * sysdeps/gnu/configure: Regenerate.
28990
28991         * configure.in: Substitute libc_cv_rtlddir.
28992         * configure: Regenerate.
28993         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28994         * Makeconfig (rtlddir, inst_rtlddir): New variables.
28995         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28996         * elf/Makefile (install-others, CFLAGS-interp.c)
28997         (ldso_install, common-ldd-rewrite): Likewise.
28998         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28999         $(inst_slibdir)/$(rtld-installed-name).
29000         * scripts/rellns-sh: Add -p option.
29001         * Makerules (make-shlib-link): Use rellns-sh to get relative name
29002         for source.
29003
29004 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29005
29006         * manual/nptl.texi: Renamed to ...
29007         * manual/threads.texi: ... this.
29008         * manual/Makefile (chapters): Update.
29009
29010 2013-03-18  Roland McGrath  <roland@hack.frob.com>
29011
29012         [BZ #14812]
29013         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29014         on argument names, not just descriptions.
29015         * malloc/memusagestat.c (options): Likewise.
29016         * nss/getent.c (options): Likewise.
29017
29018 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
29019
29020         [BZ #14812]
29021         * iconv/iconv_prog.c (options): Put N_ translation marker
29022         on argument names, not just descriptions.
29023         * iconv/iconvconfig.c (options): Likewise.
29024
29025 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
29026
29027         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29028         implementation which is faster on all x86_64 architectures.
29029         Tested on AMD, Intel Nehalem, SNB, IVB.
29030         * sysdeps/x86_64/strnlen.S: Likewise.
29031
29032         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29033         Remove all multiarch strlen and strnlen versions.
29034         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29035         Remove strlen and strnlen related parts.
29036
29037         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29038         Inline strlen part.
29039         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29040
29041         * sysdeps/x86_64/multiarch/strlen.S: Remove.
29042         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29043         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29044         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29045         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29046         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29047
29048 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
29049
29050         * manual/memory.texi (Malloc Tunable Parameters):
29051         Sort parameters alphabetically. Add comments for missing entries.
29052
29053 2013-03-17  David S. Miller  <davem@davemloft.net>
29054
29055         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29056
29057 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
29058
29059         [BZ #15283]
29060         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29061         for arguments at most half maximum finite value.
29062         * math/libm-test.inc (j0_test): Add more tests.
29063         (j1_test): Likewise.
29064         (y0_test): Likewise.
29065         (y1_test): Likewise.
29066         * sysdeps/i386/fpu/libm-test-ulps: Update.
29067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29068
29069         [BZ #14155]
29070         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29071         1 / x and functions P and Q for arguments above 0x1p256L.
29072         (__ieee754_y0l): Likewise.
29073         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29074         (__ieee754_y1l): Likewise.
29075         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29076         (j1_test): Likewise.
29077         (y0_test): Likewise.
29078         (y1_test): Likewise.
29079
29080 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
29081
29082         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29083         variable.
29084
29085 2013-03-15  Roland McGrath  <roland@hack.frob.com>
29086
29087         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29088         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29089         zero since it's initialized to EXEC_PAGESIZE.
29090
29091         * sysdeps/unix/sysv/linux/ldsodefs.h
29092         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29093         * sysdeps/generic/ldsodefs.h: ... here.
29094
29095 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
29096
29097         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29098
29099         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29100         math/test-snan.c.
29101         * math/test-snan.c: Renamed from
29102         sysdeps/powerpc/fpu/test-powerpc-snan.c.
29103         * math/Makefile (tests): Add test-snan.
29104         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29105         test-powerpc-snan.
29106
29107         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29108         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
29109         functions.
29110         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
29111         __builtin_nan family of functions.
29112         * math/libm-test.inc (initialize): Initialize qnan_value with
29113         __builtin_nan family of functions.
29114         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29115         Remove variables.
29116         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29117         Remove functions.
29118         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
29119         storage class.  Initialize qNaN_var and sNaN_var with
29120         __builtin_nan and __builtin_nans families of functions,
29121         respectively.
29122
29123         * math/libm-test.inc (acosh_test): Also test with qNaN input.
29124         (sqrt_test): Remove duplicate test with qNaN input.
29125         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29126         (round_test, signbit_test, significand_test): Note missing +/-Inf
29127         as well as qNaN tests.
29128
29129         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29130         qNaN_var.  Fix a few strings, too.
29131         * math/libm-test.inc (nan_value): Rename to qnan_value.
29132         * math/gen-libm-test.pl (%beautify): Adjust to that.
29133         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29134         * math/test-misc.c (main): Likewise.
29135         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29136         to __qnan_bytes, and __qnan_union, respectively.
29137         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29138         Likewise.
29139         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29140         and lqnanval, respectively.
29141         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29142         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29143         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29144         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29145
29146         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29147         * math/test-misc.c (main) [__x86_64__]: Enable test for long
29148         doubles.
29149
29150         * math/test-misc.c (main): Fix copy'n'pastos.
29151         * misc/tst-efgcvt.c (special): Likewise.
29152
29153         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29154         Remove declarations.
29155
29156 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29157
29158         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29159         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29160         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29161         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29162
29163 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29164
29165         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29166         macro to return vdso values correctly in IFUNC implementations.
29167         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29168         Optimization by using IFUNC.
29169
29170 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29171             Richard Henderson  <rth@redhat.com>
29172             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29173
29174         * Makefile.in (bench): New target.
29175         * NEWS: Mention the benchmark framework.
29176         * Rules (bench): Likewise.
29177         (binaries-bench): Generate binaries for functions to
29178         benchmark.
29179         * benchtests/Makefile: New makefile for benchmark tests.
29180         * benchtests/bench-skeleton.c: New skeleton file for benchmark
29181         programs.
29182         * benchtests/exp-inputs: New input file for EXP function.
29183         * benchtests/pow-inputs: New input file for POW function.
29184         * scripts/bench.pl: New script to generate source files for
29185         benchmark programs.
29186
29187 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29188
29189         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29190         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29191         computations on mantissa.  Use macros for rounding and
29192         division.
29193         (denorm): Likewise.
29194         (__dbl_mp): Likewise.
29195         (add_magnitudes): Likewise.
29196         (sub_magnitudes): Likewise.
29197         (__mul): Likewise.
29198         (__sqr): Likewise.
29199         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29200         powers of two in terms of TWOPOW macro.
29201         (mp_no): Make type of mantissa as MANTISSA_T.
29202         [!RADIXI]: Define RADIXI.
29203         [!TWO52]: Define TWO52.
29204         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29205
29206         * manual/nptl.texi (cindex): Modify threads to pthreads.
29207
29208 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
29209
29210         * sysdeps/x86_64/preconfigure: Regenerated.
29211
29212 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
29213
29214         [BZ #14155]
29215         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29216         0x1p28 and above.
29217         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29218         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29219         0x1p28 and above.
29220         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29221         * math/libm-test.inc (j0_test): Do not allow one spurious
29222         underflow exception.
29223         (y1_test): Likewise.
29224
29225 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29226
29227         * manual/Makefile (chapters): Add nptl.
29228         * manual/debug.texi (Debugging Support): Add link to Threads
29229         chapter.
29230         * manual/nptl.texi: New file.
29231
29232         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29233
29234 2013-03-14  Petr Baudis  <pasky@ucw.cz>
29235
29236         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29237         for non-NULL pointer before the memory validity test. Pointed
29238         out by Holger Brunck <holger.brunck@keymile.com>.
29239
29240 2013-03-13  Andreas Schwab  <schwab@suse.de>
29241
29242         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29243         instead of .os.
29244
29245 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
29246
29247         * timezone/zic.c: Update from tzcode 2013b.
29248
29249 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
29250
29251         * manual/install.texi (Configuring and compiling):
29252         Mention i686 and i586.
29253         * INSTALL: Regenerate.
29254
29255 2013-03-12  Roland McGrath  <roland@hack.frob.com>
29256
29257         * sysdeps/init_array/elf-init.c: New file.
29258         * csu/elf-init.c
29259         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29260         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29261
29262         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29263         __gmon_start__ as global, but as static with a .preinit_array pointer.
29264         * sysdeps/init_array/gmon-start.c: New file.  Use that.
29265         * sysdeps/init_array/crti.S: New file, empty except for comments.
29266         * sysdeps/init_array/crtn.S: Likewise.
29267
29268 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
29269
29270         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29271         definining bcopy.
29272         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29273         Remove Prefer_SSE_for_memop.
29274         * sysdeps/x86_64/multiarch/init-arch.h: Remove
29275         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29276         HAS_PREFER_SSE_FOR_MEMOP.
29277         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29278         memset-x86-64.
29279         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29280         Remove bzero, memset ifunc support.
29281         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29282         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29283         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29284         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29285
29286 2013-03-11  Andreas Schwab  <schwab@suse.de>
29287
29288         [BZ #15234]
29289         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29290         by SHLIB_COMPAT.
29291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29292         (GLIBC_2.16): Remove pthread_atfork.
29293
29294 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29295
29296         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29297         (ptestcases.h): Likewise.
29298
29299 2013-03-08  Roland McGrath  <roland@hack.frob.com>
29300
29301         * Makeconfig ($(common-objpfx)config.status): Depend on
29302         sysdeps/*/preconfigure{,.in} too.
29303
29304 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
29305
29306         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29307         (__free_hook): Use void * instead of __malloc_ptr_t.
29308         (__malloc_hook): Likewise.
29309         (__realloc_hook): Likewise.
29310         (__memalign_hook): Likewise.
29311         (__after_morecore_hook): Likewise.
29312         * malloc/arena.c (save_malloc_hook): Likewise.
29313         (save_free_hook): Likewise.
29314         * malloc/hooks.c (malloc_hook_ini): Likewise.
29315         (realloc_hook_ini): Likewise.
29316         (memalign_hook_ini): Likewise.
29317         * malloc/malloc.c (malloc_hook_ini): Likewise.
29318         (realloc_hook_ini): Likewise.
29319         (memalign_hook_ini): Likewise.
29320         (__free_hook): Likewise.
29321         (__malloc_hook): Likewise.
29322         (__realloc_hook): Likewise.
29323         (__memalign_hook): Likewise.
29324         (__libc_malloc): Likewise.
29325         (__libc_free): Likewise.
29326         (__libc_realloc): Likewise.
29327         (__libc_memalign): Likewise.
29328         (__libc_valloc): Likewise.
29329         (__libc_pvalloc): Likewise.
29330         (__libc_calloc): Likewise.
29331         (__posix_memalign): Likewise.
29332         * malloc/morecore.c (__sbrk): Likewise.
29333         (__default_morecore): Likewise.
29334
29335         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29336
29337         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29338         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29339         __malloc_ptrdiff_t.
29340
29341         * malloc/malloc.h (__malloc_size_t): Remove macro.
29342         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29343         __malloc_size_t.
29344         (old_memalign_hook): Likewise.
29345         (old_realloc_hook): Likewise.
29346         (struct hdr): Likewise.
29347         (flood): Likewise.
29348         (mallochook): Likewise.
29349         (memalignhook): Likewise.
29350         (reallochook): Likewise.
29351         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29352         (tr_old_realloc_hook): Likewise.
29353         (tr_old_memalign_hook): Likewise.
29354         (tr_mallochook): Likewise.
29355         (tr_reallochook): Likewise.
29356         (tr_memalignhook): Likewise.
29357
29358 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29359
29360         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29361         default_ldbl_pack and using as default implementation.
29362         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29363         implementation.
29364         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29365         redundant definition.
29366         (ldbl_insert_mantissa): Likewise.
29367         (ldbl_canonicalize): Likewise.
29368         (ldbl_nearbyint): Likewise.
29369         (ldbl_pack): Rename to ldbl_pack_ppc.
29370         (ldbl_unpack): Rename to ldbl_unpack_ppc.
29371         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29372         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29373
29374 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29375
29376         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29377         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29378         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29379         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29380         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29381         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29382         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29383         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29384
29385 2013-03-07  Andreas Jaeger  <aj@suse.de>
29386
29387         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29388         bits/mman-linux.h.
29389
29390 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29391
29392         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29393         Include mpa.h and declare __MPEXP.
29394         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29395         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29396         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29397         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29398         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29399         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29400         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29401
29402         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29403         (__slowpow): Use long double EXPL and LOGL functions to
29404         compute POW.
29405         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29406         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29407         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29408         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29409         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29410         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29411
29412         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29413         intermediate variable to calculate exponent.
29414         (__sqr): Likewise.
29415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29416         Likewise.
29417         (__sqr): Likewise.
29418
29419         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29420         [!NO__SQR]: Define __sqr.
29421         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29422         and NO__SQR.  Remove all code except __mul and __sqr.  Include
29423         sysdeps/ieee754/dbl-64/mpa.c.
29424         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29425
29426         [BZ #12723]
29427         * posix/Makefile (tests): Add tst-pathconf.
29428         * posix/tst-pathconf.c: New test case.
29429         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29430         _PC_PIPE_BUF.
29431         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29432
29433 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
29434
29435         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29436
29437 2013-03-06  Andreas Jaeger  <aj@suse.de>
29438
29439         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29440         definition via __MAP_ANONYMOUS.
29441
29442         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29443         it's not part of Linux headers.
29444
29445         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29446         (MAP_HUGE_MASK): Define.
29447
29448         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29449         Define.
29450         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29451         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29452         Define.
29453         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29454         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29455         Define.
29456         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29457         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29458         Define.
29459         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29460
29461         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29462         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29463         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29464         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29465         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29466         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29467
29468         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29469         Handle f2fs.
29470
29471         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29472         Handle f2fs and efivarfs.
29473
29474         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29475         f2fs.
29476
29477         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29478         (EFIVARFS_MAGIC): Add.
29479         (F2FS_LINK_MAX): Add.
29480
29481 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29482
29483         * stdio-common/vfprintf.c: Replace __builtin_expect with
29484         __glibc_unlikely.
29485
29486 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
29487
29488         [BZ #13550]
29489         * sysdeps/generic/bp-sym.h: Remove file.
29490         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29491         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29492         <bp-sym.h> and <bp-asm.h>.
29493         (__longjmp): Don't use BP_SYM.
29494         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29495         and <bp-asm.h>.
29496         (memcpy): Don't use BP_SYM.
29497         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29498         <bp-sym.h> and <bp-asm.h>.
29499         (memcpy): Don't use BP_SYM.
29500         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29501         <bp-asm.h>.
29502         (memcpy): Don't use BP_SYM.
29503         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29504         <bp-asm.h>.
29505         (memset): Don't use BP_SYM.
29506         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29507         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29508         (__bzero): Don't use BP_SYM.
29509         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29510         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29511         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29512         <bp-sym.h> and <bp-asm.h>.
29513         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29514         pointers.
29515         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29516         <bp-sym.h> and <bp-asm.h>.
29517         (memcpy): Don't use BP_SYM.
29518         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29519         <bp-sym.h> and <bp-asm.h>.
29520         (memset): Don't use BP_SYM.
29521         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29522         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29523         (__bzero): Don't use BP_SYM.
29524         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29525         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29526         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29527         <bp-sym.h> and <bp-asm.h>.
29528         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29529         pointers.
29530         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29531         <bp-sym.h> and <bp-asm.h>.
29532         (memcpy): Don't use BP_SYM.
29533         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29534         <bp-sym.h> and <bp-asm.h>.
29535         (memset): Don't use BP_SYM.
29536         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29537         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29538         (__bzero): Don't use BP_SYM.
29539         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29540         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29541         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29542         <bp-sym.h> and <bp-asm.h>.
29543         (__memchr): Don't use BP_SYM.
29544         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29545         <bp-sym.h> and <bp-asm.h>.
29546         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29547         pointers.
29548         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29549         <bp-sym.h> and <bp-asm.h>.
29550         (memcpy): Don't use BP_SYM.
29551         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29552         <bp-sym.h> and <bp-asm.h>.
29553         (__mempcpy): Don't use BP_SYM.
29554         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29555         <bp-sym.h> and <bp-asm.h>.
29556         (__memrchr): Don't use BP_SYM.
29557         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29558         <bp-sym.h> and <bp-asm.h>.
29559         (memset): Don't use BP_SYM.
29560         (__bzero): Likewise.
29561         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29562         <bp-sym.h> and <bp-asm.h>.
29563         (__rawmemchr): Don't use BP_SYM.
29564         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29565         <bp-sym.h> and <bp-asm.h>.
29566         (__STRCMP): Don't use BP_SYM.
29567         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29568         <bp-sym.h> and <bp-asm.h>.
29569         (strchr): Don't use BP_SYM.
29570         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29571         <bp-sym.h> and <bp-asm.h>.
29572         (__strchrnul): Don't use BP_SYM.
29573         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29574         <bp-sym.h> and <bp-asm.h>.
29575         (strlen): Don't use BP_SYM.
29576         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29577         <bp-sym.h> and <bp-asm.h>.
29578         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29579         pointers.
29580         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29581         <bp-sym.h> and <bp-asm.h>.
29582         (__strnlen): Don't use BP_SYM.
29583         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29584         <bp-sym.h> and <bp-asm.h>.
29585         (__GI__setjmp): Don't use BP_SYM.
29586         (_setjmp): Likewise.
29587         (__sigsetjmp): Likewise.
29588         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29589         (L(start_addresses)): Don't use BP_SYM.
29590         (_start): Likewise.
29591         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29592         <bp-asm.h>.
29593         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29594         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29595         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29596         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29597         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29598         <bp-asm.h>.
29599         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29600         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
29601         about bounded pointers.
29602         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29603         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29604         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29605         <bp-asm.h>.
29606         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29607         about bounded pointers.  Remove GKM FIXME comments.
29608         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29609         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29610         <bp-asm.h>.
29611         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29612         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
29613         Remove GKM FIXME comments.
29614         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29615         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29616         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29617         <bp-asm.h>.
29618         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29619         about bounded pointers.  Remove GKM FIXME comment.
29620         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29621         and <bp-asm.h>.
29622         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29623         pointers.
29624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29625         <bp-sym.h> and <bp-asm.h>.
29626         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29628         <bp-sym.h> and <bp-asm.h>.
29629         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29630         comment.
29631
29632 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29633
29634         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29635         call free(NULL).
29636
29637 2013-03-05  David S. Miller  <davem@davemloft.net>
29638
29639         * po/es.po: Update from translation team.
29640
29641 2013-03-05  Andreas Jaeger  <aj@suse.de>
29642
29643         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29644         <bits/mman-linux.h>.
29645         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29646         is fine.
29647         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29648         <bits/mman-linux.h> to end of file.
29649         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29650         is fine.
29651         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29652         <bits/mman-linux.h> to end of file.
29653         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29654         is fine.
29655         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29656         <bits/mman-linux.h> to end of file.
29657
29658         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29659         (MCL_CURRENT, MCL_FUTURE): Define here.
29660
29661 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29662
29663         [BZ #15232]
29664         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29665         attribute_hidden.
29666         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29667
29668 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29669
29670         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29671         fourth parameter needed for rt_sigprocmask syscall.
29672         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29673         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29674         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29675         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29676         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29677         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29678
29679 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
29680
29681         [BZ #13550]
29682         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29683         comment about bounded pointers.
29684         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29685         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29686
29687 2013-03-04  Andreas Jaeger  <aj@suse.de>
29688
29689         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29690         common definitions.
29691
29692         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29693         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29694         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29695         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29696         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29697         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29698
29699 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29700
29701         [BZ #15055]
29702         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29703         __ieee754_sqrl instead of __sqrl.
29704
29705 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
29706
29707         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29708         * sysdeps/powerpc/fpu_control.h: ... here.
29709         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29710         * sysdeps/powerpc/bits/fenvinline.h: ... here.
29711         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29712         * sysdeps/powerpc/bits/mathinline.h: ... here.
29713
29714 2013-03-01  Roland McGrath  <roland@hack.frob.com>
29715
29716         * elf/dl-hwcaps.c (_dl_important_hwcaps):
29717         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29718         to just [NEED_DL_SYSINFO_DSO].
29719         * elf/dl-support.c: Likewise.
29720         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29721         * elf/rtld.c (dl_main): Likewise.
29722         * elf/setup-vdso.h (setup_vdso): Likewise.
29723         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29724         * sysdeps/unix/sysv/linux/dl-sysdep.c
29725         (_dl_discover_osversion): Likewise.
29726
29727 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
29728
29729         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29730         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29731
29732 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29733
29734         * NEWS: Mention libm performance improvements and non-x86 PI
29735         futex support.
29736
29737         * csu/libc-start.c (__pthread_initialize_minimal): Change
29738         function arguments.
29739         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29740
29741 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
29742
29743         [BZ #13550]
29744         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29745         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29746         <bp-sym.h> and <bp-asm.h>.
29747         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29748         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29749         and <bp-asm.h>.
29750         (memcpy): Don't use BP_SYM.
29751         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29752         <bp-asm.h>.
29753         (__mpn_add_n): Don't use BP_SYM.
29754         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29755         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29756         and <bp-asm.h>.
29757         (__mpn_addmul_1): Don't use BP_SYM.
29758         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29759         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29760         <bp-sym.h>.
29761         (_setjmp): Don't use BP_SYM.
29762         (__novmx_setjmp): Likewise.
29763         (__GI__setjmp): Likewise.
29764         (__vmx_setjmp): Likewise.
29765         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29766         <bp-sym.h>.
29767         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29768         (__bzero): Don't use BP_SYM.
29769         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29770         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29771         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29772         <bp-sym.h> and <bp-asm.h>.
29773         (memcpy): Don't use BP_SYM.
29774         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29775         <bp-sym.h> and <bp-asm.h>.
29776         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29777         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29778         <bp-sym.h> and <bp-asm.h>.
29779         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29780         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29781         <bp-asm.h>.
29782         (__mpn_lshift): Don't use BP_SYM.
29783         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29784         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29785         <bp-asm.h>.
29786         (memset): Don't use BP_SYM.
29787         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29788         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29789         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29790         <bp-asm.h>.
29791         (__mpn_mul_1): Don't use BP_SYM.
29792         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29793         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29794         <bp-sym.h> and <bp-asm.h>.
29795         (memcmp): Don't use BP_SYM.
29796         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29797         <bp-sym.h> and <bp-asm.h>.
29798         (memcpy): Don't use BP_SYM.
29799         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29800         <bp-sym.h> and <bp-asm.h>.
29801         (memset): Don't use BP_SYM.
29802         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29803         <bp-sym.h> and <bp-asm.h>.
29804         (strncmp): Don't use BP_SYM.
29805         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29806         <bp-sym.h> and <bp-asm.h>.
29807         (memcpy): Don't use BP_SYM.
29808         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29809         <bp-sym.h> and <bp-asm.h>.
29810         (memset): Don't use BP_SYM.
29811         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29812         <bp-sym.h> and <bp-asm.h>.
29813         (__memchr): Don't use BP_SYM.
29814         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29815         <bp-sym.h> and <bp-asm.h>.
29816         (memcmp): Don't use BP_SYM.
29817         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29818         <bp-sym.h> and <bp-asm.h>.
29819         (memcpy): Don't use BP_SYM.
29820         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29821         <bp-sym.h> and <bp-asm.h>.
29822         (__mempcpy): Don't use BP_SYM.
29823         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29824         <bp-sym.h> and <bp-asm.h>.
29825         (__memrchr): Don't use BP_SYM.
29826         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29827         <bp-sym.h> and <bp-asm.h>.
29828         (memset): Don't use BP_SYM.
29829         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29830         <bp-sym.h> and <bp-asm.h>.
29831         (__rawmemchr): Don't use BP_SYM.
29832         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29833         <bp-sym.h> and <bp-asm.h>.
29834         (__STRCMP): Don't use BP_SYM.
29835         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29836         <bp-sym.h> and <bp-asm.h>.
29837         (strchr): Don't use BP_SYM.
29838         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29839         <bp-sym.h> and <bp-asm.h>.
29840         (__strchrnul): Don't use BP_SYM.
29841         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29842         <bp-sym.h> and <bp-asm.h>.
29843         (strlen): Don't use BP_SYM.
29844         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29845         <bp-sym.h> and <bp-asm.h>.
29846         (strncmp): Don't use BP_SYM.
29847         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29848         <bp-sym.h> and <bp-asm.h>.
29849         (__strnlen): Don't use BP_SYM.
29850         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29851         <bp-asm.h>.
29852         (__mpn_rshift): Don't use BP_SYM.
29853         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29854         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29855         <bp-sym.h> and <bp-asm.h>.
29856         (__sigsetjmp): Don't use BP_SYM.
29857         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29858         (L(start_addresses)): Don't use BP_SYM.
29859         (_start): Likewise.
29860         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29861         <bp-asm.h>.
29862         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29863         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29864         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29865         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29866         <bp-asm.h>.
29867         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29868         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29869         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29870         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29871         <bp-asm.h>.
29872         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
29873         comments.
29874         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29875         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29876         <bp-asm.h>.
29877         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
29878         FIXME comments.
29879         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29880         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29881         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29882         <bp-asm.h>.
29883         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
29884         comment.
29885         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29886         and <bp-asm.h>.
29887         (strncmp): Don't use BP_SYM,
29888         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29889         <bp-asm.h>.
29890         (__mpn_sub_n): Don't use BP_SYM.
29891         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29892         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29893         and <bp-asm.h>.
29894         (__mpn_submul_1): Don't use BP_SYM.
29895         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29897         <bp-sym.h> and <bp-asm.h>.
29898         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29900         <bp-sym.h> and <bp-asm.h>.
29901         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29902         comment.
29903
29904 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29905
29906         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29907         Use ZK to minimize writes to Z.
29908         (sub_magnitudes): Simplify code a bit.
29909         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29910         Use ZK to minimize writes to Z.
29911         (sub_magnitudes): Simplify code a bit.
29912
29913 2013-02-27  Roland McGrath  <roland@hack.frob.com>
29914
29915         * csu/gmon-start.c: Add special exception to license text.
29916
29917 2013-02-27  Richard Henderson  <rth@redhat.com>
29918
29919         * scripts/config.guess: Update from config.git.
29920         * scripts/config.sub: Likewise.
29921
29922 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29923
29924         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29925
29926         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29927
29928         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29929
29930         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29931
29932         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29933
29934 2013-02-26  Roland McGrath  <roland@hack.frob.com>
29935
29936         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29937         [$(build-shared = yes].
29938
29939 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29940
29941         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29942         (__mul): Reduce iterations for calculating mantissa.
29943
29944         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29945         MPTWO.
29946         (__mpranred): Likewise.
29947
29948         [BZ #15160]
29949         * malloc/memusagestat.c (main): Draw graphs for heap and stack
29950         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29951
29952 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
29953
29954         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29955         Define __attribute__.
29956
29957 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29958
29959         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29960         unused.
29961         * posix/regex_internal.h (__attribute): Remove.
29962         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29963         (re_string_context_at): Likewise.
29964         (bitset_not): Use __attribute__ and mark function as possibly
29965         unused.
29966         (bitset_merge): Likewise.
29967         (bitset_mask): Likewise.
29968         (re_string_char_size_at): Likewise.
29969         (re_string_wchar_at): Likewise.
29970         (re_string_elem_size_at): Likewise.
29971
29972 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29973
29974         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29975         code.
29976         (cc32): Likewise.
29977
29978         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29979         (__acr): Likewise.
29980         (__cpy): Likewise.
29981         (norm): Likewise.
29982         (denorm): Likewise.
29983         (__dbl_mp): Likewise.
29984         (add_magnitudes): Likewise.
29985         (sub_magnitudes): Likewise.
29986         (__mul): Likewise.
29987         (__inv): Likewise.
29988
29989         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29990         style.
29991
29992         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29993         style.
29994
29995         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29996         code.
29997
29998         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29999         up changes with default code.
30000         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30001         Likewise.
30002
30003 2013-02-24  Allan McRae  <allan@archlinux.org>
30004
30005         * manual/socket.texi (The Internet Namespace): Order menu items
30006         to match that in the file.
30007
30008         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30009         node listing of the info page menu.
30010
30011 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
30012
30013         [BZ #13550]
30014         * sysdeps/i386/bp-asm.h: Remove file.
30015         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30016         (PARMS): Do not use macros from bp-asm.h.
30017         (S1): Likewise.
30018         (S2): Likewise.
30019         (SIZE): Likewise.
30020         (__mpn_add_n): Do not use BP_SYM
30021         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30022         "bp-asm.h".
30023         (PARMS): Do not use macros from bp-asm.h.
30024         (S1): Likewise.
30025         (SIZE): Likewise.
30026         (__mpn_addmul_1): Do not use BP_SYM
30027         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30028         "bp-asm.h".
30029         (PARMS): Do not use macros from bp-asm.h.
30030         (SIGMSK): Likewise.
30031         (_setjmp): Likewise.  Do not use BP_SYM.
30032         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30033         "bp-asm.h".
30034         (PARMS): Do not use macros from bp-asm.h.
30035         (SIGMSK): Likewise.
30036         (setjmp): Likewise.  Do not use BP_SYM.
30037         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30038         "bp-asm.h".
30039         (PARMS): Do not use macros from bp-asm.h.
30040         (__frexp): Do not use BP_SYM.
30041         (frexp): Likewise.
30042         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30043         "bp-asm.h".
30044         (PARMS): Do not use macros from bp-asm.h.
30045         (__frexpf): Do not use BP_SYM.
30046         (frexpf): Likewise.
30047         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30048         "bp-asm.h".
30049         (PARMS): Do not use macros from bp-asm.h.
30050         (__frexpl): Do not use BP_SYM.
30051         (frexpl): Likewise.
30052         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30053         "bp-asm.h".
30054         (PARMS): Do not use macros from bp-asm.h.
30055         (__remquo): Do not use BP_SYM.
30056         (remquo): Likewise.
30057         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30058         "bp-asm.h".
30059         (PARMS): Do not use macros from bp-asm.h.
30060         (__remquof): Do not use BP_SYM.
30061         (remquof): Likewise.
30062         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30063         "bp-asm.h".
30064         (PARMS): Do not use macros from bp-asm.h.
30065         (__remquol): Do not use BP_SYM.
30066         (remquol): Likewise.
30067         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30068         "bp-asm.h".
30069         (PARMS): Do not use macros from bp-asm.h.
30070         (DEST): Likewise.
30071         (SRC): Likewise.
30072         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
30073         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30074         "bp-asm.h".
30075         (PARMS): Do not use macros from bp-asm.h.
30076         (strlen): Do not use BP_SYM.
30077         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30078         "bp-asm.h".
30079         (PARMS): Do not use macros from bp-asm.h.
30080         (S1): Likewise.
30081         (S2): Likewise.
30082         (SIZE): Likewise.
30083         (__mpn_add_n): Do not use BP_SYM.
30084         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30085         "bp-asm.h".
30086         (PARMS): Do not use macros from bp-asm.h.
30087         (S1): Likewise.
30088         (SIZE): Likewise.
30089         (__mpn_addmul_1): Do not use BP_SYM.
30090         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30091         weak_alias.
30092         (bzero): Likewise.
30093         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30094         "bp-asm.h".
30095         (PARMS): Do not use macros from bp-asm.h.
30096         (S): Likewise.
30097         (SIZE): Likewise.
30098         (__mpn_lshift): Do not use BP_SYM.
30099         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30100         "bp-asm.h".
30101         (PARMS): Do not use macros from bp-asm.h.
30102         (DEST): Likewise.
30103         (SRC): Likewise.
30104         (LEN): Likewise.
30105         (memcpy): Likewise.  Do not use BP_SYM.
30106         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30107         libc_hidden_def and weak_alias.
30108         (mempcpy): Do not use BP_SYM in weak_alias.
30109         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30110         "bp-asm.h".
30111         (PARMS): Do not use macros from bp-asm.h.
30112         (DEST): Likewise.
30113         (LEN): Likewise.
30114         [!BZERO_P] (CHR): Likewise.
30115         (memset): Likewise.  Do not use BP_SYM.
30116         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30117         "bp-asm.h".
30118         (PARMS): Do not use macros from bp-asm.h.
30119         (S1): Likewise.
30120         (SIZE): Likewise.
30121         (__mpn_mul_1): Do not use BP_SYM.
30122         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30123         "bp-asm.h".
30124         (PARMS): Do not use macros from bp-asm.h.
30125         (S): Likewise.
30126         (SIZE): Likewise.
30127         (__mpn_rshift): Do not use BP_SYM.
30128         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30129         "bp-asm.h".
30130         (PARMS): Do not use macros from bp-asm.h.
30131         (STR): Likewise.
30132         (CHR): Likewise.
30133         (strchr): Likewise.  Do not use BP_SYM.
30134         (index): Do not use BP_SYM in weak_alias.
30135         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30136         "bp-asm.h".
30137         (PARMS): Do not use macros from bp-asm.h.
30138         (DEST): Likewise.
30139         (SRC): Likewise.
30140         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
30141         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30142         "bp-asm.h".
30143         (PARMS): Do not use macros from bp-asm.h.
30144         (strlen): Do not use BP_SYM.
30145         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30146         "bp-asm.h".
30147         (PARMS): Do not use macros from bp-asm.h.
30148         (S1): Likewise.
30149         (S2): Likewise.
30150         (SIZE): Likewise.
30151         (__mpn_sub_n): Do not use BP_SYM.
30152         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30153         "bp-asm.h".
30154         (PARMS): Do not use macros from bp-asm.h.
30155         (S1): Likewise.
30156         (SIZE): Likewise.
30157         (__mpn_submul_1): Do not use BP_SYM.
30158         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30159         "bp-asm.h".
30160         (PARMS): Do not use macros from bp-asm.h.
30161         (S1): Likewise.
30162         (S2): Likewise.
30163         (SIZE): Likewise.
30164         (__mpn_add_n): Do not use BP_SYM.
30165         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30166         weak_alias.
30167         (bzero): Likewise.
30168         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30169         "bp-asm.h".
30170         (PARMS): Do not use macros from bp-asm.h.
30171         (BLK2): Likewise.
30172         (LEN): Likewise.
30173         (memcmp): Do not use BP_SYM.
30174         (bcmp): Do not use BP_SYM in weak_alias.
30175         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30176         "bp-asm.h".
30177         (PARMS): Do not use macros from bp-asm.h.
30178         (DEST): Likewise.
30179         (SRC): Likewise.
30180         (LEN): Likewise.
30181         (memcpy): Likewise.  Do not use BP_SYM.
30182         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30183         "bp-asm.h".
30184         (PARMS): Do not use macros from bp-asm.h.
30185         (DEST): Likewise.
30186         (SRC): Likewise.
30187         (LEN): Likewise.
30188         (memmove): Likewise.  Do not use BP_SYM.
30189         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30190         "bp-asm.h".
30191         (PARMS): Do not use macros from bp-asm.h.
30192         (DEST): Likewise.
30193         (SRC): Likewise.
30194         (LEN): Likewise.
30195         (__mempcpy): Likewise.  Do not use BP_SYM.
30196         (mempcpy): Do not use BP_SYM in weak_alias.
30197         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30198         "bp-asm.h".
30199         (PARMS): Do not use macros from bp-asm.h.
30200         (DEST): Likewise.
30201         (LEN): Likewise.
30202         [!BZERO_P] (CHR): Likewise.
30203         (memset): Likewise.  Do not use BP_SYM.
30204         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30205         "bp-asm.h".
30206         (PARMS): Do not use macros from bp-asm.h.
30207         (STR2): Likewise.
30208         (strcmp): Do not use BP_SYM.
30209         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30210         "bp-asm.h".
30211         (PARMS): Do not use macros from bp-asm.h.
30212         (STR): Likewise.
30213         (DELIM): Likewise.
30214         [USE_AS_STRTOK_R] (SAVE): Likewise.
30215         (FUNCTION): Likewise.  Do not use BP_SYM.
30216         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30217         aliases.
30218         (strtok_r): Likewise.
30219         (__GI___strtok_r): Likewise.
30220         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30221         (PARMS): Do not use macros from bp-asm.h.
30222         (S): Likewise.
30223         (SIZE): Likewise.
30224         (__mpn_lshift): Do not use BP_SYM.
30225         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30226         (PARMS): Do not use macros from bp-asm.h.
30227         (STR): Likewise.
30228         (CHR): Likewise.
30229         (__memchr): Do not use BP_SYM.
30230         (memchr): Do not use BP_SYM in weak_alias.
30231         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30232         (PARMS): Do not use macros from bp-asm.h.
30233         (BLK2): Likewise.
30234         (LEN): Likewise.
30235         (memcmp): Do not use BP_SYM.
30236         (bcmp): Do not use BP_SYM in weak_alias.
30237         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30238         (PARMS): Do not use macros from bp-asm.h.
30239         (S1): Likewise.
30240         (SIZE): Likewise.
30241         (__mpn_mul_1): Do not use BP_SYM.
30242         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30243         "bp-asm.h".
30244         (PARMS): Do not use macros from bp-asm.h.
30245         (STR): Likewise.
30246         (CHR): Likewise.
30247         (__rawmemchr): Do not use BP_SYM.
30248         (rawmemchr): Do not use BP_SYM in weak_alias.
30249         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30250         (PARMS): Do not use macros from bp-asm.h.
30251         (S): Likewise.
30252         (SIZE): Likewise.
30253         (__mpn_rshift): Do not use BP_SYM.
30254         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30255         (PARMS): Do not use macros from bp-asm.h.
30256         (SIGMSK): Likewise.
30257         (__sigsetjmp): Likewise.  Do not use BP_SYM.
30258         * sysdeps/i386/start.S: Do not include "bp-sym.h".
30259         (_start): Do not use BP_SYM.
30260         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30261         (PARMS): Do not use macros from bp-asm.h.
30262         (DEST): Likewise.
30263         (SRC): Likewise.
30264         (__stpcpy): Likewise.  Do not use BP_SYM.
30265         (stpcpy): Do not use BP_SYM in weak_alias.
30266         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30267         "bp-asm.h".
30268         (PARMS): Do not use macros from bp-asm.h.
30269         (DEST): Likewise.
30270         (SRC): Likewise.
30271         (LEN): Likewise.
30272         (__stpncpy): Likewise.  Do not use BP_SYM.
30273         (stpncpy): Do not use BP_SYM in weak_alias.
30274         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30275         (PARMS): Do not use macros from bp-asm.h.
30276         (STR): Likewise.
30277         (CHR): Likewise.
30278         (strchr): Likewise.  Do not use BP_SYM.
30279         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30280         "bp-asm.h".
30281         (PARMS): Do not use macros from bp-asm.h.
30282         (STR): Likewise.
30283         (CHR): Likewise.
30284         (__strchrnul): Likewise.  Do not use BP_SYM.
30285         (strchrnul): Do not use BP_SYM in weak_alias.
30286         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30287         "bp-asm.h".
30288         (PARMS): Do not use macros from bp-asm.h.
30289         (STOP): Likewise.
30290         (strcspn): Do not use BP_SYM.
30291         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30292         "bp-asm.h".
30293         (PARMS): Do not use macros from bp-asm.h.
30294         (STR): Likewise.
30295         (STOP): Likewise.
30296         (strpbrk): Likewise.  Do not use BP_SYM.
30297         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30298         "bp-asm.h".
30299         (PARMS): Do not use macros from bp-asm.h.
30300         (STR): Likewise.
30301         (CHR): Likewise.
30302         (strrchr): Likewise.  Do not use BP_SYM.
30303         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30304         (PARMS): Do not use macros from bp-asm.h.
30305         (SKIP): Likewise.
30306         (strspn): Do not use BP_SYM.
30307         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30308         (PARMS): Do not use macros from bp-asm.h.
30309         (STR): Likewise.
30310         (DELIM): Likewise.
30311         (SAVE): Likewise.
30312         (FUNCTION): Likewise.  Do not use BP_SYM.
30313         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30314         aliases.
30315         (strtok_r): Likewise.
30316         (__GI___strtok_r): Likewise.
30317         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30318         (PARMS): Do not use macros from bp-asm.h.
30319         (S1): Likewise.
30320         (S2): Likewise.
30321         (SIZE): Likewise.
30322         (__mpn_sub_n): Do not use BP_SYM.
30323         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30324         "bp-asm.h".
30325         (PARMS): Do not use macros from bp-asm.h.
30326         (S1): Likewise.
30327         (SIZE): Likewise.
30328         (__mpn_submul_1): Do not use BP_SYM.
30329         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30330         <bp-sym.h>.
30331         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30332         and <bp-asm.h>.
30333         (PARMS): Do not use macros from bp-asm.h.
30334         (FLAGS): Likewise.
30335         (PTID): Likewise.
30336         (TLS): Likewise.
30337         (CTID): Likewise.
30338         (__clone): Do not use BP_SYM.
30339         (clone): Do not use BP_SYM in weak_alias.
30340         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30341         and <bp-asm.h>.
30342         (PARMS): Do not use macros from bp-asm.h.
30343         (LEN): Likewise.
30344         (__mmap64): Do not use BP_SYM.
30345         (mmap64): Do not use BP_SYM in weak_alias.
30346         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30347         <bp-sym.h> and <bp-asm.h>.
30348         (PARMS): Do not use macros from bp-asm.h.
30349         (__posix_fadvise64_l64): Do not use BP_SYM.
30350         * sysdeps/unix/sysv/linux/i386/semtimedop.S
30351         (PARMS): Do not use macros from bp-asm.h.
30352         (NSOPS): Likewise.
30353         (semtimedop): Do not use BP_SYM.
30354         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30355         and <bp-asm.h>.
30356
30357 2013-02-21  Allan McRae  <allan@archlinux.org>
30358
30359         * manual/message.texi (Charset conversion in gettext):
30360         Move @end statement to beginning of line.
30361
30362 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30363
30364         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30365         static.
30366         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30367         Likewise.
30368
30369         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30370         (denorm): Likewise.
30371         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30372         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30373
30374 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30375
30376         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30377         tail-call to the resolved function if pltexit isn't needed.
30378
30379 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30380
30381         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30382         or Y being zero as being unlikely.
30383         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30384         Likewise.
30385
30386 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
30387
30388         * manual/nss.texi (System Databases and Name Service Switch):
30389         Remove frobnicate @pxref.
30390
30391 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30392
30393         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30394         __attribute__ ((unused)) to __attribute__ ((__unused__)).
30395
30396 2013-02-20  Petr Machata  <pmachata@redhat.com>
30397
30398         * elf/elf.h (R_ARM_TARGET1): New macro.
30399         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30400         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30401         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30402         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30403         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30404         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30405         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30406         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30407         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30408         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30409         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30410         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30411         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30412         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30413         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30414         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30415         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30416         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30417         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30418         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30419         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30420         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30421         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30422         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30423         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30424         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30425         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30426         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30427         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30428         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30429         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30430         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30431         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30432         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30433         (R_ARM_THM_GOT_BREL12): Likewise.
30434         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30435         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30436         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30437         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30438         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30439         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30440         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30441         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30442         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30443
30444 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30445
30446         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30447         __attribute_used__ to __attribute__ ((unused)).
30448
30449 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30450
30451         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30452         powerpc mpa.c.
30453         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30454         comment formatting.
30455         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30456
30457 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
30458
30459         [BZ #13550]
30460         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30461         Remove macro.
30462         (ENTER): Remove both macro definitions.
30463         (LEAVE): Likewise.
30464         (CHECK_BOUNDS_LOW): Likewise.
30465         (CHECK_BOUNDS_HIGH): Likewise.
30466         (CHECK_BOUNDS_BOTH): Likewise.
30467         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30468         (RETURN_BOUNDED_POINTER): Likewise.
30469         (RETURN_NULL_BOUNDED_POINTER): Likewise.
30470         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30471         (POP_ERRNO_LOCATION_RETURN): Likewise.
30472         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30473         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30474         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30475         macros.
30476         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30477         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30478         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30479         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30480         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30481         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30482         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30483         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30484         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30485         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30486         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30487         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30488         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30489         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30490         removed macros.
30491         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30492         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30493         macros.
30494         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30495         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30496         * sysdeps/i386/i586/memset.S (memset): Likewise.
30497         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30498         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30499         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30500         macros.
30501         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30502         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30503         Change uses of L(2) to L(out).
30504         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30505         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30506         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30507         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30508         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30509         removed macros.
30510         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30511         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30512         macros.
30513         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30514         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30515         (RETURN): Do not use macro LEAVE.
30516         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30517         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30518         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30519         * sysdeps/i386/i686/memset.S (memset): Likewise.
30520         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30521         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30522         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30523         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30524         Likewise.
30525         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30526         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
30527         L(1_2) and L(1_3) into L(1).
30528         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30529         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30530         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30531         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30532         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30533         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30534         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30535         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30536         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30537         macros.
30538         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30539         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30540         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30541         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30542         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30543         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30544         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30545         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30546         * sysdeps/i386/strcspn.S (strcspn): Likewise.
30547         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30548         * sysdeps/i386/strrchr.S (strrchr): Likewise.
30549         * sysdeps/i386/strspn.S (strspn): Likewise.
30550         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30551         conditional code.
30552         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30553         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30554         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30555         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
30556         L(1_3) into L(1_1).
30557         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30558         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30559         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30560         macros.
30561         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30562
30563 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
30564
30565         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30566         macro.
30567
30568 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30569
30570         * math/atest-exp.c (exp_mpn): Remove ROUND.
30571         * math/atest-exp2.c (exp_mpn): Likewise.
30572         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30573
30574         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30575         * stdlib/tst-tls-atexit-lib.c: Likewise.
30576         * stdlib/tst-tls-atexit.c: Likewise.
30577
30578 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30579
30580         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30581         and __attribute_alloc_size__.
30582
30583 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30584
30585         * include/programs/xmalloc.h: Change __attribute_alloc_size to
30586         __attribute_alloc_size__.
30587         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30588         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30589
30590 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30591
30592         * include/programs/xmalloc.h: New file.
30593         * catgets/gencat.c: Include it.
30594         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30595         * elf/pldd.c: Likewise.
30596         * iconv/iconv_charmap.c: Likewise.
30597         * iconv/iconvconfig.c: Likewise.
30598         * iconv/strtab.c: Likewise.
30599         * locale/programs/locale.c: Likewise.
30600         * locale/programs/localedef.h: Likewise.
30601         * locale/programs/simple-hash.c: Likewise.
30602         * nscd/nscd.h: Likewise.
30603         * nss/makedb.c: Likewise.
30604         * sysdeps/generic/ldconfig.h: Likewise.
30605
30606 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30607
30608         * Versions.def: Add GLIBC_2.18.
30609         * include/link.h (struct link_map): New member l_tls_dtor_count.
30610         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30611         (__call_tls_dtors): Likewise.
30612         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30613         __cxa_thread_atexit_impl.
30614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30615         Likewise.
30616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30617         Likewise.
30618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30619         Likewise.
30620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30621         Likewise.
30622         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30624         Likewise.
30625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30626         Likewise.
30627         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30629         Likewise.
30630         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30631         (tests): Add test case tst-tls-atexit.
30632         (modules-names): Add shared library for tst-tls-atexit.
30633         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30634         (GLIBC_PRIVATE): Add __call_tls_dtors.
30635         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30636         for libstdc++.
30637         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30638         * stdlib/tst-tls-atexit.c: New test case.
30639         * stdlib/tst-tls-atexit-lib.c: New test case.
30640
30641         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30642
30643         * elf/Versions (ld): Add _dl_find_dso_for_object.
30644         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30645         * elf/dl-open.c (_dl_find_dso_for_object): New function.
30646         (dl_open_worker): Use _dl_find_dso_for_object.
30647         * elf/dl-sym.c (do_sym): Likewise.
30648         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30649
30650 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30651
30652         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30653         Syntactic changes only.
30654         (_dl_runtime_profile): Do a tail-call to the resolved function.
30655
30656 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
30657
30658         [BZ #13550]
30659         * sysdeps/x86_64/bp-asm.h: Remove file.
30660         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30661         <bp-sym.h> and <bp-asm.h>.
30662         (__clone): Do not use BP_SYM.
30663         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30664         <bp-sym.h> and <bp-asm.h>.
30665         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30666         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30667         "bp-asm.h".
30668         (_setjmp): Do not use BP_SYM.
30669         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30670         "bp-asm.h".
30671         (setjmp): Do not use BP_SYM.
30672         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30673         libc_hidden_def.
30674         (mempcpy): Do not use BP_SYM in weak_alias.
30675         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30676         "bp-asm.h".
30677         (strchr): Do not use BP_SYM.
30678         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30679         "bp-asm.h".
30680         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30681         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30682         (_start): Do not use BP_SYM.
30683         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30684         "bp-asm.h".
30685         (strcat): Do not use BP_SYM.
30686         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30687         "bp-asm.h".
30688         (STRCMP): Do not use BP_SYM.
30689         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30690         "bp-asm.h".
30691         (STRCPY): Do not use BP_SYM.
30692         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30693         "bp-asm.h".
30694         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30695         "bp-asm.h".
30696         (FUNCTION): Do not use BP_SYM.
30697         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30698         weak_alias.
30699         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30700
30701 2013-02-17  Andreas Jaeger  <aj@suse.de>
30702
30703         * time/Versions: Sort entries.
30704         * string/Versions: Likewise.
30705         * resolv/Versions: Likewise.
30706         * posix/Versions: Likewise.
30707         * iconv/Versions: Likewise.
30708         * elf/Versions: Likewise.
30709         * wcsmbs/Versions: Likewise.
30710
30711 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30712
30713         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30714         loop termination condition.
30715
30716         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30717         variable to calculate EZ.
30718         (__sqr): Likewise.
30719
30720         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30721         the lower precision input.
30722
30723 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
30724
30725         [BZ #13550]
30726         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30727         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30728         (run-via-rtld-prefix): Do not handle %-bp tests.
30729         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30730         (all-object-suffixes): Remove .ob.
30731         (bppfx): Remove variable.
30732         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30733         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30734         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30735         [$(build-bounded) = yes] (libtype.ob): Likewise.
30736         * Makerules (elide-routines.ob): Remove variable.
30737         (do-tests-clean): Do not handle *-bp.out.
30738         (common-mostlyclean): Do not handle *-bp and *-bp.out.
30739         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30740         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30741         (tests): Do not include $(tests-bp.out).
30742         (xtests): Do not include $(xtests-bp.out).
30743         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30744         [$(build-bounded) = yes] ($(addprefix
30745         $(objpfx),$(binaries-bounded))): Remove rule.
30746         ($(objpfx)%-bp.out): Remove rule.
30747         * config.make.in (build-bounded): Remove variable.
30748         * crypt/Makefile [$(build-bounded) = yes]
30749         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30750         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30751         append to variable.
30752         [$(build-bounded) = yes] (install-lib): Likewise.
30753         [$(build-bounded) = yes] (generated): Likewise.
30754         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30755         Remove rule.
30756         * intl/Makefile [$(build-bounded) = yes]
30757         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30758         * math/Makefile [$(build-bounded) = yes]
30759         ($(tests:%=$(objpfx)%-bp): Likewise.
30760         * misc/Makefile [$(build-bounded) = yes]
30761         ($(objpfx)tst-tsearch-bp): Likewise.
30762         * nptl/Makeconfig (bounded-thread-library): Remove variable.
30763         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30764         Remove dependency.
30765         * string/Makefile (o-objects.ob): Remove variable.
30766         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30767         (CFLAGS-.ob): Remove variable.
30768         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30769         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30770         both definitions of variable.
30771         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30772         (ASFLAGS-.ob): Remove variable.
30773
30774 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
30775
30776         [BZ #13550]
30777         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30778         Remove __BOUNDED_POINTERS__ from condition.
30779         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30780         * string/bits/string2.h [!__NO_STRING_INLINES &&
30781         !__BOUNDED_POINTERS__]: Likewise.
30782         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30783         Likewise.
30784         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30785         Remove conditional code.
30786         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30787         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30788         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30789         condition.
30790
30791         [BZ #13550]
30792         * csu/libc-start.c: Do not include <bp-sym.h>.
30793         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30794         * elf/dl-open.c: Do not include <bp-sym.h>.
30795         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30796         * math/fegetenv.c: Do not include <bp-sym.h>.
30797         (fegetenv): Do not use BP_SYM in versioned symbols.
30798         * nptl/sysdeps/pthread/bits/libc-lockP.h
30799         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30800         <bp-sym.h>.
30801         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30802         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30803         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30804         (__pthread_mutex_destroy): Likewise.
30805         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30806         (__pthread_mutex_lock): Likewise.
30807         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30808         (__pthread_mutex_trylock): Likewise.
30809         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30810         (__pthread_mutex_unlock): Likewise.
30811         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30812         (__pthread_mutexattr_init): Likewise.
30813         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30814         (__pthread_mutexattr_destroy): Likewise.
30815         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30816         (__pthread_mutexattr_settype): Likewise.
30817         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30818         (__pthread_rwlock_init): Likewise.
30819         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30820         (__pthread_rwlock_destroy): Likewise.
30821         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30822         (__pthread_rwlock_rdlock): Likewise.
30823         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30824         (__pthread_rwlock_tryrdlock): Likewise.
30825         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30826         (__pthread_rwlock_wrlock): Likewise.
30827         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30828         (__pthread_rwlock_trywrlock): Likewise.
30829         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30830         (__pthread_rwlock_unlock): Likewise.
30831         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30832         (__pthread_key_create): Likewise.
30833         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30834         (__pthread_setspecific): Likewise.
30835         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30836         (__pthread_getspecific): Likewise.
30837         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30838         Likewise.
30839         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30840         (_pthread_cleanup_push_defer): Likewise.
30841         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30842         (_pthread_cleanup_pop_restore): Likewise.
30843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30844         (pthread_setcancelstate): Likewise.
30845         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30846         <bp-sym.h>.
30847         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30848         (memchr): Do not use BP_SYM in weak_alias.
30849         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30850         (fegetenv): Do not use BP_SYM in versioned symbols.
30851         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30852         (fesetenv): Do not use BP_SYM in versioned symbols.
30853         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30854         (feupdateenv): Do not use BP_SYM in versioned symbols.
30855         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30856         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30857         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30858         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30859         (open64): Do not use BP_SYM in weak_alias.
30860         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30861         (fegetenv): Do not use BP_SYM in versioned symbols.
30862         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30863         (fesetenv): Do not use BP_SYM in versioned symbols.
30864         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30865         (feupdateenv): Do not use BP_SYM in versioned symbols.
30866         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30867         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30868         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30869         (feraiseexcept): Do not use BP_SYM in versioned symbols.
30870         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30871         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30872         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30873         <bp-sym.h>.
30874         (__libc_start_main): Do not use BP_SYM.
30875
30876 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30877
30878         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30879         redundant return line.
30880         (norm): Likewise.
30881         (denorm): Likewise.
30882         (dbl_mp): Likewise.
30883         (sub_magnitudes): Likewise.
30884         (__add): Likewise.
30885         (__sub): Likewise.
30886         (__mul): Likewise.
30887         (__inv): Likewise.
30888         (__dvd): Likewise.
30889         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30890         (norm): Likewise.
30891         (denorm): Likewise.
30892         (dbl_mp): Likewise.
30893         (sub_magnitudes): Likewise.
30894         (__add): Likewise.
30895         (__sub): Likewise.
30896         (__mul): Likewise.
30897         (__inv): Likewise.
30898         (__dvd): Likewise.
30899
30900         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30901         instead of __mul.
30902         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30903         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30904         (cc32): Likewise.
30905
30906         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30907         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30908         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30909         of __mul for squares.
30910         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30911         function
30912         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30913         Likewise.
30914         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30915         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30916
30917 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
30918
30919         [BZ #13550]
30920         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30921         code.
30922         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30923         prototype or function definition.  Rename ubp_* variables and
30924         parameters.  Remove argv definitions conditional on
30925         [__BOUNDED_POINTERS__].
30926         * debug/backtrace.c (__backtrace): Do not use __unbounded.
30927         * elf/dl-runtime.c (_dl_fixup): Likewise.
30928         * include/set-hooks.h (RUN_HOOK): Likewise.
30929         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30930         definition.
30931         * string/strcpy.c (strcpy): Do not use __unbounded.
30932         * sysdeps/generic/frame.h (struct layout): Likewise.
30933         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30934         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30935         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30936         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30937         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30938         (__backtrace): Likewise.
30939         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30940         use __ptrvalue.
30941         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30942         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30943         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30944         Likewise.
30945         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30946         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30947         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30948         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30949         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30950         Do not use __unbounded.
30951         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30952         Rename __unboundedrlimits parameter to rlimits in prototype.
30953         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30954         Do not use __unbounded.
30955         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30956         not use __ptrvalue.
30957         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30958         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30959         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30960         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30961         __ptrvalue or __unbounded.
30962         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30963         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30964         use __unbounded.
30965         (__new_msgctl): Do not use __ptrvalue.
30966         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30967         __unbounded.
30968         (__libc_msgrcv): Do not use __ptrvalue.
30969         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30970         startup_info): Do not use __unbounded.
30971         (__libc_start_main): Likewise.  Rename ubp_* variables and
30972         parameters.  Remove argv definitions conditional on
30973         [__BOUNDED_POINTERS__].
30974         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30975         __ptrvalue.
30976         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30977         use __unbounded.
30978         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30979         or __ptrvalue.
30980         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30981         use __unbounded.
30982         (__new_shmctl): Do not use __ptrvalue.
30983         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30984         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30985         Likewise.
30986         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30987         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30988         (__libc_sigaction): Likewise.
30989         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30990         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30991         Likewise.
30992         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30993
30994 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
30995
30996         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30997
30998         * string/mempcpy.c: Implement by calling memcpy.
30999
31000 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31001
31002         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31003
31004         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31005         evaluation.
31006
31007         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31008         values in the mantissa.
31009
31010         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31011         minimize writes to Z.
31012         (sub_magnitudes): Simplify code a bit.
31013
31014 2013-02-12  Roland McGrath  <roland@hack.frob.com>
31015
31016         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31017         from the message.  The linker prefixes all warnings with that already.
31018
31019 2013-02-12  Andreas Schwab  <schwab@suse.de>
31020
31021         [BZ #15078]
31022         * posix/regexec.c (extend_buffers): Add parameter min_len.
31023         (check_matching): Pass minimum needed length.
31024         (clean_state_log_if_needed): Likewise.
31025         (get_subexp): Likewise.
31026         * posix/Makefile (tests): Add bug-regex34.
31027         (bug-regex34-ENV): Define.
31028         * posix/bug-regex34.c: New file.
31029
31030         [BZ #11561]
31031         * posix/regcomp.c (parse_bracket_exp): When looking up collating
31032         elements compare against the byte sequence of it, not its name.
31033         * posix/Makefile (tests): Add bug-regex35.
31034         (bug-regex35-ENV): Define.
31035         * posix/bug-regex35.c: New file.
31036
31037 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31038
31039         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
31040         comment.
31041         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31042         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31043         (CHECK_EOL): Add undef.
31044
31045 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
31046
31047         * bits/stdlib-bsearch.h: New file.
31048         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31049         * stdlib/stdlib.h: Likewise.
31050
31051 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31052
31053         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31054         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31055         declaration.
31056         * manual/search.texi (Array Search Function): Add missing const in
31057         lfind prototype.
31058         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31059         declaration to use rlim_t.
31060         (Basic Scheduling Functions): Remove erroneous const from
31061         sched_getparam prototype.  Remove erroneous * from
31062         sched_get_priority_max and sched_get_priority_min prototypes.
31063         (Resource Usage): Fix summary @comment on vtimes to refer to
31064         sys/vtimes.h rather than vtimes.h.
31065         Add missing *s in vtimes prototype.
31066         (Limits on Resources): Fix ulimit prototype to return long int.
31067         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31068         prototypes to use long int rather than double.
31069         (BSD Random): Fix initstate and setstate to use char *, not void *.
31070         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31071         prototype to make second argument 'struct aiocb64 *const[]'.
31072         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31073         (Status of AIO Operations): Remove erroneous const in aio_return and
31074         aio_return64 prototypes.
31075         (Synchronizing I/O): Fix sync prototype to return void.
31076         * manual/startup.texi (Suboptions): Remove an erroneous const in
31077         getsubopt prototype.
31078         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31079         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31080         use size_t rather than int.
31081         (Scanning All Users): Likewise for getpwent_r.
31082         (Setting Groups): Add missing const to setgroups prototype.
31083         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31084         * manual/socket.texi (Host Names): Fix gethostbyaddr and
31085         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31086         'const void *' rather than 'const char *'.
31087         (Host Address Functions): Likewise for inet_ntop.
31088         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31089         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31090         ssize_t for return value.
31091         (Sending Data): Likewise for send, sendto, sendmsg.
31092         (Socket Option Functions): Add a missing const in setsockopt prototype.
31093         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31094         use wchar_t for the argument.
31095         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31096         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31097         take no arguments.
31098         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31099         double/float/long double for second argument.
31100         Fix return types of significand, significandf, significandl.
31101         * manual/filesys.texi (Setting Permissions): Use mode_t for second
31102         argument in fchmod prototype.
31103         (File Owner): Use uid_t and gid_t in fchown prototype.
31104         (File Times): Add const to utimes, futimes, and lutimes prototypes.
31105         (Making Special Files): Use mode_t and dev_t in mknod prototype.
31106         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31107         use 'const struct dirent **' as argument types to CMP function pointer
31108         argument.
31109         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31110         (File Times): Fix summary magic @comment for struct utimbuf and utime
31111         to refer to utime.h, not time.h.
31112         * manual/string.texi (Argz Functions): Add missing const in
31113         argz_extract and argz_next prototypes.
31114         (Finding Tokens in a String): Likewise for basename.
31115         (String/Array Comparison): Fix typo in wcscasecmp prototype.
31116         (Copying and Concatenation): Fix typo in wmemmove prototype.
31117         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31118         (Signal Stack): Remove erroneous const in sigstack prototype.
31119         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31120         prototype.
31121         (Simple Calendar Time): Likewise for stime.
31122         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31123         prototype.
31124         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31125         say sys/sysctl.h instead.
31126         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31127         and vsyslog prototypes.
31128
31129 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31130
31131         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31132         Remove.
31133
31134 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31135
31136         * misc/sys/mman.h: Fix typo in mremap comment.
31137
31138 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31139
31140         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31141         the '\0' terminator.
31142
31143 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31144
31145         [BZ #13550]
31146         * debug/segfault.c: Don't include <bp-checks.h>.
31147         * sysdeps/generic/bp-checks.h: Remove file.
31148         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31149         (__GETDENTS): Don't use CHECK_N.
31150         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31151         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31152         (__getgroups): Don't use CHECK_N.
31153         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31154         (setgroups): Don't use CHECK_N.
31155         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31156         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31157         (__libc_msgrcv): Don't use CHECK_N.
31158         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31159         (__libc_msgsnd): Don't use CHECK_N.
31160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31161         <bp-checks.h>.
31162         (__libc_pread): Don't use CHECK_N.
31163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31164         include <bp-checks.h>.
31165         (__libc_pread64): Don't use CHECK_N.
31166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31167         include <bp-checks.h>.
31168         (__libc_pwrite): Don't use CHECK_N.
31169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31170         include <bp-checks.h>.
31171         (__libc_pwrite64): Don't use CHECK_N.
31172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31173         <bp-checks.h>.
31174         (__libc_pread): Don't use CHECK_N.
31175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31176         include <bp-checks.h>.
31177         (__libc_pread64): Don't use CHECK_N.
31178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31179         include <bp-checks.h>.
31180         (__libc_pwrite): Don't use CHECK_N.
31181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31182         include <bp-checks.h>.
31183         (__libc_pwrite64): Don't use CHECK_N.
31184         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31185         (do_pread): Don't use CHECK_N.
31186         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31187         (do_pread64): Don't use CHECK_N.
31188         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31189         (do_pwrite): Don't use CHECK_N.
31190         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31191         (do_pwrite64): Don't use CHECK_N.
31192         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31193         (__libc_readv): Don't use CHECK_N.
31194         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31195         (semop): Don't use CHECK_N.
31196         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31197         <bp-checks.h>.
31198         (semtimedop): Don't use CHECK_N.
31199         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31200         (__libc_pread): Don't use CHECK_N.
31201         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31202         <bp-checks.h>.
31203         (__libc_pread64): Don't use CHECK_N.
31204         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31205         <bp-checks.h>.
31206         (__libc_pwrite): Don't use CHECK_N.
31207         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31208         <bp-checks.h>.
31209         (__libc_pwrite64): Don't use CHECK_N.
31210         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31211         <bp-checks.h>.
31212         (__libc_msgrcv): Don't use CHECK_N.
31213         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31214         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
31215         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31216         (__libc_writev): Don't use CHECK_N.
31217
31218 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31219
31220         * string/strcpy.c: Removed unused variable.
31221
31222         * Makeconfig (+sysdep-includes): Define with := rather than =.
31223         Use an existing include/ subdir of each sysdeps dir before it.
31224
31225 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31226
31227         * nscd/connection.c (register_traced_file): Comment function.
31228         [HAVE_INOTIFY] (union __inev): Define.
31229         [HAVE_INOTIFY] (inotify_check_files): New function.
31230         [HAVE_INOTIFY] (clear_db_cache): Likewise.
31231         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31232         clear_db_cache.
31233         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31234
31235 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31236
31237         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31238         loaded if not already and that a failure is permanent.
31239
31240 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31241
31242         [BZ #15006]
31243         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31244         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31245
31246 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31247
31248         [BZ #13550]
31249         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31250         (CHECK_1_NULL_OK): Likewise.
31251         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31252         (__fxstat): Do not use CHECK_1.
31253         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31254         <bp-checks.h>.
31255         (___fxstat64): Do not use CHECK_1.
31256         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31257         <bp-checks.h>.
31258         (__fxstatat): Do not use CHECK_1.
31259         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31260         <bp-checks.h>.
31261         (__fxstatat64): Do not use CHECK_1.
31262         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31263         <bp-checks.h>.
31264         (__fxstat): Do not use CHECK_1.
31265         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31266         <bp-checks.h>.
31267         (__fxstatat): Do not use CHECK_1.
31268         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31269         <bp-checks.h>.
31270         (__getresgid): Do not use CHECK_1.
31271         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31272         <bp-checks.h>.
31273         (__getresuid): Do not use CHECK_1.
31274         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31275         <bp-checks.h>.
31276         (__lxstat): Do not use CHECK_1.
31277         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31278         <bp-checks.h>.
31279         (__old_msgctl): Do not use CHECK_1.
31280         (__new_msgctl): Likewise.
31281         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31282         <bp-checks.h>.
31283         (__new_setrlimit): Do not use CHECK_1.
31284         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31285         <bp-checks.h>.
31286         (__old_shmctl): Do not use CHECK_1.
31287         (__new_shmctl): Likewise.
31288         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31289         <bp-checks.h>.
31290         (__xstat): Do not use CHECK_1.
31291         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31292         (__lxstat): Do not use CHECK_1.
31293         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31294         <bp-checks.h>.
31295         (___lxstat64): Do not use CHECK_1.
31296         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31297         (__old_msgctl): Do not use CHECK_1.
31298         (__new_msgctl): Likewise.
31299         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31300         <bp-checks.h>.
31301         (__gettimeofday): Do not use CHECK_1.
31302         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31303         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31304         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31305         <bp-checks.h>.
31306         (__gettimeofday): Do not use CHECK_1.
31307         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31308         (__old_shmctl): Do not use CHECK_1_NULL_OK.
31309         (__new_shmctl): Do not use CHECK_1.
31310         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31311         <bp-checks.h>.
31312         (do_sigtimedwait): Do not use CHECK_1.
31313         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31314         <bp-checks.h>.
31315         (do_sigwaitinfo): Do not use CHECK_1.
31316         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31317         <bp-checks.h>.
31318         (msgctl): Do not use CHECK_1.
31319         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31320         <bp-checks.h>.
31321         (shmctl): Do not use CHECK_1.
31322         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31323         (ustat): Do not use CHECK_1.
31324         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31325         <bp-checks.h>.
31326         (__fxstat): Do not use CHECK_1.
31327         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31328         <bp-checks.h>.
31329         (__fxstatat): Do not use CHECK_1.
31330         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31331         <bp-checks.h>.
31332         (__lxstat): Do not use CHECK_1.
31333         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31334         <bp-checks.h>.
31335         (__xstat): Do not use CHECK_1.
31336         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31337         (__xstat): Do not use CHECK_1.
31338         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31339         (___xstat64): Do not use CHECK_1.
31340
31341         [BZ #13550]
31342         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31343         definitions.
31344         (CHECK_BOUNDS_HIGH): Likewise.
31345         * string/strcpy.c: Do not include <bp-checks.h>.
31346         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31347
31348 2013-02-07  Roland McGrath  <roland@hack.frob.com>
31349
31350         * nscd/nscd-client.h (__nscd_drop_map_ref):
31351         Add __attribute__ ((unused)).
31352         * nis/nss-nisplus.h (niserr2nss): Likewise.
31353
31354         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31355         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31356
31357         * csu/libc-tls.c (init_static_tls, init_slotinfo):
31358         Remove inline keyword.
31359         * include/rounding-mode.h (round_away): Likewise.
31360         * libio/wfileops.c (adjust_wide_data): Likewise.
31361         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31362         (__m128i_strloadu_tolower): Likewise.
31363         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31364         (__m128i_strloadu_tolower): Likewise.
31365         * time/mktime.c (ydhms_diff): Likewise.
31366         * locale/elem-hash.h (elem_hash): Likewise.
31367         * locale/setlocale.c (setdata): Likewise.
31368         * posix/regex_internal.h (re_string_char_size_at): Likewise.
31369         (re_string_wchar_at): Likewise.
31370         (bitset_not, bitset_merge, bitset_mask): Likewise.
31371         [!(__GNUC__ > 3)] (inline): Remove macro.
31372         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31373         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31374         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31375         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31376         * string/memcmp.c (memcmp_bytes): Likewise.
31377         * locale/programs/locarchive.c (compute_hashval): Likewise.
31378         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31379         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31380         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31381         * nss/getent.c (print_rpc, print_protocols): Likewise.
31382         (print_passwd, print_group, print_aliases): Likewise.
31383         * nis/nss-nisplus.h (niserr2nss): Likewise.
31384         * nscd/connections.c (restart_p): Likewise.
31385         Change return type to bool.
31386
31387 2013-02-05  Roland McGrath  <roland@hack.frob.com>
31388
31389         * Makeconfig (all-Depend-files): Add existing
31390         $(sorted-subdirs:=/Depend) files.
31391         (all-subdirs): Remove nss.
31392         * sysdeps/unix/inet/Subdirs: Add it here instead.
31393         * hesiod/Depend: New file.
31394
31395         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31396         instead of calling alloca.
31397
31398         * io/lseek.c (__lseek): Rename to __libc_lseek.
31399         Define __lseek as an alias.
31400
31401         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31402
31403 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
31404
31405         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31406         else clause and remove check for non-standard endianness.
31407
31408 2013-02-04  David S. Miller  <davem@davemloft.net>
31409
31410         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31411
31412 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
31413
31414         [BZ #13550]
31415         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31416         (__ubp_memchr): Remove prototype.
31417         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31418         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31419         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31420         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31421         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31422         Remove alias.
31423         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31424         (__ubp_memchr): Likewise.
31425         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31426         (__ubp_memchr): Likewise.
31427         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31428         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31429         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31430         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31431         CHECK_STRING.
31432         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31433         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31434         (__getcwd): Do not use CHECK_STRING.
31435         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31436         <bp-checks.h>.
31437         (__real_chown): Do not use CHECK_STRING.
31438         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31439         <bp-checks.h>.
31440         (fchownat): Do not use CHECK_STRING.
31441         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31442         CHECK_STRING.
31443         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31444         <bp-checks.h>.
31445         (__lchown): Do not use CHECK_STRING.
31446         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31447         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31448         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31449         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31451         include <bp-checks.h>.
31452         (truncate64): Do not use CHECK_STRING.
31453         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31454         <bp-checks.h>.
31455         (__real_chown): Do not use CHECK_STRING.
31456         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31457         <bp-checks.h>.
31458         (__lchown): Do not use CHECK_STRING.
31459         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31460         <bp-checks.h>.
31461         (__chown): Do not use CHECK_STRING.
31462         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31463         <bp-checks.h>.
31464         (truncate64): Do not use CHECK_STRING.
31465         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31466         Likewise.
31467         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31468         (__xmknod): Do not use CHECK_STRING.
31469         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31470         <bp-checks.h>.
31471         (__xmknodat): Do not use CHECK_STRING.
31472         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31473         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31474
31475 2013-02-04  Andreas Schwab  <schwab@suse.de>
31476
31477         [BZ #14142]
31478         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31479         * include/netdb.h: Likewise for h_errno.
31480         * elf/tst-stackguard1.c: Include <tls.h>.
31481
31482 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
31483
31484         * elf/link.h (struct link_map): Extend the l_addr comment.
31485         * include/link.h (struct link_map): Likewise.
31486
31487 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
31488
31489         [BZ #13550]
31490         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31491         (BOUNDED_1): Remove macro.
31492         * debug/backtrace.c: Don't include <bp-checks.h>.
31493         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31494         (__backtrace): Likewise.
31495         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31496         <bp-checks.h>.
31497         (__backtrace): Don't use BOUNDED_1.
31498         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31499         <bp-checks.h>.
31500         (__backtrace): Don't use BOUNDED_1.
31501         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31502         (__backtrace): Don't use BOUNDED_1.
31503         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31504         (shmat): Don't use BOUNDED_N.
31505
31506 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
31507
31508         [BZ #13550]
31509         * sysdeps/generic/bp-start.h: Remove file.
31510         * csu/libc-start.c: Don't include <bp-start.h>.
31511         (LIBC_START_MAIN): Set up __environ directly instead of using
31512         INIT_ARGV_and_ENVIRON.
31513         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31514         <bp-start.h>.
31515
31516         [BZ #13550]
31517         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31518         definitions.
31519         (CHECK_FCNTL): Likewise.
31520         (CHECK_N_PAGES): Likewise.
31521
31522         [BZ #13550]
31523         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31524         definitions.
31525         (CHECK_SIGSET_NULL_OK): Likewise.
31526         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31527         <bp-checks.h>.
31528         (sigpending): Don't use CHECK_SIGSET.
31529         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31530         <bp-checks.h>.
31531         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31532         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31533         <bp-checks.h>.
31534         (do_sigsuspend): Don't use CHECK_SIGSET.
31535         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31536         use CHECK_SIGSET.
31537         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31538         (do_sigwait): Don't use CHECK_SIGSET.
31539         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31540         use CHECK_SIGSET.
31541         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31542         include <bp-checks.h>.
31543         (sigpending): Don't use CHECK_SIGSET.
31544         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31545         include <bp-checks.h>.
31546         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31547         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31548         <bp-checks.h>.
31549         (sigpending): Don't use CHECK_SIGSET.
31550         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31551         <bp-checks.h>.
31552         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31553
31554         [BZ #13550]
31555         * sysdeps/generic/bp-semctl.h: Remove file.
31556         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31557         <bp-checks.h> and <bp-semctl.h>.
31558         (__old_semctl): Don't use CHECK_SEMCTL.
31559         (__new_semctl): Likewise.
31560         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31561         and <bp-semctl.h>.
31562         (__old_semctl): Don't use CHECK_SEMCTL.
31563         (__new_semctl): Likewise.
31564         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31565         <bp-checks.h> and <bp-semctl.h>.
31566         (__old_semctl): Don't use CHECK_SEMCTL.
31567         (__new_semctl): Likewise.
31568         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31569         <bp-checks.h> and <bp-semctl.h>.
31570         (semctl): Don't use CHECK_SEMCTL.
31571
31572         [BZ #13550]
31573         * Makerules (elide-bp-thunks): Remove variable.
31574         (elide-routines.oS): Don't use $(elide-bp-thunks).
31575         (elide-routines.os): Likewise.
31576         (elide-routines.o): Likewise.
31577         (elide-routines.op): Likewise.
31578         (elide-routines.og): Likewise.
31579         (objects): Don't use $(bp-thunks).
31580         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31581         include.
31582         (common-generated): Do not add s-proto-bp.d.
31583         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31584         (int): Likewise.
31585         (typ): Likewise.
31586         Do not generate makefile rules for bounded-pointer thunks.
31587         * sysdeps/generic/bp-thunks.h: Remove file.
31588         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31589         * sysdeps/unix/s-proto-bp.S: Likewise.
31590
31591         [BZ #15062]
31592         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31593         parts of result separately when argument is not close to line from
31594         -i to i and one part of argument is small.
31595         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31596         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31597         * math/libm-test.inc (cacos_test): Add more tests.
31598         (casin_test): Likewise.
31599         (casinh_test): Likewise.
31600         * sysdeps/i386/fpu/libm-test-ulps: Update.
31601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31602
31603 2013-01-31  David S. Miller  <davem@davemloft.net>
31604
31605         * po/de.po: Update from translation team.
31606
31607 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
31608
31609         * time/tzfile.c: Include stdint.h for SIZE_MAX.
31610
31611 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
31612
31613         * configure.in (_AC_PROG_CC_C89): New definition.
31614         * configure: Regenerate.
31615
31616         * configure.in (AC_PROG_CPP): New definition.
31617         * configure: Regenerate.
31618
31619 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31620
31621         * debug/tst-backtrace.h: New file.
31622         * debug/tst-backtrace2.c: Include tst-backtrace.h.
31623         (ret): Remove variable.
31624         (x): Likewise.
31625         (FAIL): Remove macro.
31626         (NO_INLINE): Likewise.
31627         (fn1): Use match function instead of strstr.
31628         * debug/tst-backtrace3.c: Include tst-backtrace.h.
31629         (ret): Remove variable.
31630         (x): Likewise.
31631         (FAIL): Remove macro.
31632         (NO_INLINE): Likewise.
31633         (fn): Use match function instead of strstr.
31634         * debug/tst-backtrace4.c: Include tst-backtrace.h.
31635         (ret): Remove variable.
31636         (x): Likewise.
31637         (FAIL): Remove macro.
31638         (NO_INLINE): Likewise.
31639         (handle_signal): Use match function instead of strstr.
31640         * debug/tst-backtrace5.c: Include tst-backtrace.h.
31641         (ret): Remove variable.
31642         (x): Likewise.
31643         (FAIL): Remove macro.
31644         (NO_INLINE): Likewise.
31645         (handle_signal): Use match function instead of strstr.
31646
31647 2013-01-23  Roland McGrath  <roland@hack.frob.com>
31648
31649         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31650
31651 2013-01-23  David S. Miller  <davem@davemloft.net>
31652
31653         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31654         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31655         argument of CAS if possible.
31656         * sysdeps/sparc/sparc64/bits/atomic.h
31657         (__arch_compare_and_exchange_val_32_acq): Likewise.
31658         (__arch_compare_and_exchange_val_64_acq): Likewise.
31659
31660 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
31661
31662         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31663         * sysdeps/posix/ulimit.c: ... this.
31664         Include <limits.h>.
31665         * sysdeps/unix/bsd/ulimit.c: Remove file.
31666
31667 2013-01-23  Adam Conrad  <adconrad@0c3.net>
31668
31669         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31670         (LDFLAGS-tst-array5): Likewise.
31671
31672 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31673
31674         [BZ #15036]
31675         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31676         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31677         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31678         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31679
31680 2013-01-21  David S. Miller  <davem@davemloft.net>
31681
31682         * sysdeps/sparc/backtrace.c: New file.
31683         * sysdeps/sparc/sparc32/backtrace.h: New file.
31684         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31685         * sysdeps/sparc/sparc64/backtrace.h: New file.
31686         * sysdeps/sparc/sparc64/backtrace.c: Delete.
31687         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31688         -funwind-tables.
31689
31690 2013-01-21  Andreas Schwab  <schwab@suse.de>
31691
31692         [BZ #15020]
31693         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31694         closed its stdout.
31695
31696 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
31697
31698         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31699         "mpa2.h".
31700         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31701
31702 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
31703             Mark Mitchell  <mark@codesourcery.com>
31704             Tom de Vries  <tom@codesourcery.com>
31705             Paul Pluzhnikov  <ppluzhnikov@google.com>
31706
31707         * debug/tst-backtrace2.c: New file.
31708         * debug/tst-backtrace3.c: Likewise.
31709         * debug/tst-backtrace4.c: Likewise.
31710         * debug/tst-backtrace5.c: Likewise.
31711         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31712         (CFLAGS-tst-backtrace3.c): Likewise.
31713         (CFLAGS-tst-backtrace4.c): Likewise.
31714         (CFLAGS-tst-backtrace5.c): Likewise.
31715         (LDFLAGS-tst-backtrace2): Likewise.
31716         (LDFLAGS-tst-backtrace3): Likewise.
31717         (LDFLAGS-tst-backtrace4): Likewise.
31718         (LDFLAGS-tst-backtrace5): Likewise.
31719         (tests): Add new tests tst-backtrace2, tst-backtrace3,
31720         tst-backtrace4 and tst-backtrace5.
31721
31722 2013-01-18  Anton Blanchard  <anton@samba.org>
31723             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31724
31725         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31726         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31727         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31728         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31730         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31731         "+r" and remove output regs list as redundant.  Add explicit inline
31732         asm to specify register of return val to work around compiler codegen
31733         bug.  Remove (int) cast on return value.  Add return type parameter to
31734         use in macro so that this macro does not truncate return value for
31735         64-bit values.
31736         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31737         pass to INTERNAL_VSYSCALL_NCS.
31738         (INLINE_VSYSCALL): Add 'long int' as return type to
31739         INTERNAL_VSYSCALL_NCS macro invocation.
31740         (INTERNAL_VSYSCALL): Add 'long int' as return type to
31741         INTERNAL_VSYSCALL_NCS macro invocation.
31742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31743
31744 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31745
31746         [BZ #14496]
31747         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31748         Fix application of SIMD FP exception mask.
31749
31750         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31751         mp_no from a power of two.
31752         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31753         __mpexp_twomm1.  Use __pow_mp.
31754
31755         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31756         multiplication.
31757
31758 2013-01-17  David S. Miller  <davem@davemloft.net>
31759
31760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31761
31762 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
31763
31764         [BZ #15023]
31765         * include/complex.h: Condition contents on [!_COMPLEX_H].
31766         (__kernel_casinhf): New prototype.
31767         (__kernel_casinh): Likewise.
31768         (__kernel_casinhl): Likewise.
31769         * math/Makefile (libm_calls): Add k_casinh.
31770         * math/k_casinh.c: New file.
31771         * math/k_casinhf.c: Likewise.
31772         * math/k_casinhl.c: Likewise.
31773         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31774         finite nonzero arguments.
31775         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31776         finite nonzero arguments.
31777         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31778         finite nonzero arguments.
31779         * math/s_casinh.c: Do not include <float.h>.
31780         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31781         * math/s_casinhf.c: Do not include <float.h>.
31782         (__casinhf): Move code for finite nonzero arguments to
31783         k_casinhf.c.
31784         * math/s_casinhl.c: Do not include <float.h>.
31785         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31786         redefine.
31787         (__casinhl): Move code for finite nonzero arguments to
31788         k_casinhl.c.
31789         * math/libm-test.inc (cacos_test): Add more tests.
31790         * sysdeps/i386/fpu/libm-test-ulps: Update.
31791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31792
31793 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
31794
31795         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31796         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31797         [!HAVE_MREMAP]: Remove [defined linux] case.
31798         * malloc/arena.c: Do not include <malloc-sysdep.h>.
31799
31800 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31801
31802         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31803
31804 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
31805
31806         * elf/elf.h (R_386_SIZE32): New relocation.
31807         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31808         R_386_SIZE32.
31809         (elf_machine_rela): Likewise.
31810         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31811         R_X86_64_SIZE64 and R_X86_64_SIZE32.
31812
31813 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
31814
31815         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31816         (FP_FAST_FMA): Do not define.
31817         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31818         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31819         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31820         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31821         !_SOFT_FLOAT]: Likewise.
31822         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31823         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31824         value.
31825         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31826         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31827         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31828         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31829         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31830         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31831         file.
31832
31833 2013-01-16  Andreas Schwab  <schwab@suse.de>
31834
31835         [BZ #14327]
31836         * include/stdlib.h (__mktemp): Add declaration.
31837         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31838         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31839
31840 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31841
31842         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31843         definitions.
31844         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31845         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31846         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31847         definitions here.
31848         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31849         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31850         definitions.
31851         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31852         and ONE.
31853         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31854         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31855         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31856         definitions.
31857         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31858         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31859         definitions.
31860         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31861
31862         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31863
31864 2013-01-15  David S. Miller  <davem@davemloft.net>
31865
31866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31867         trunc{,f} to libm-sysdep_routes.
31868         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31870         file.
31871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31873         file.
31874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31875         file.
31876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31878         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31879         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31880         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31881         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31882         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31883         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31884
31885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31886         nearbyint{,f} to libm-sysdep_routes.
31887         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31889         New file.
31890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31891         file.
31892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31893         New file.
31894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31895         file.
31896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31898         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31899         file.
31900         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31901         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31902         file.
31903         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31904         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31905         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31906
31907         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31908         libc_feholdexcept and libc_fesetenv.
31909
31910 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
31911
31912         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31913
31914 2013-01-14  David S. Miller  <davem@davemloft.net>
31915
31916         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31917         (SPARC_ASM_VIS2_IFUNC): Likewise.
31918         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31920         use of 'siam' instruction.
31921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31922         Likewise.
31923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31924         Likewise.
31925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31926         Likewise.
31927         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31928         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31929         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31930         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31932         file.
31933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31934         file.
31935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31936         file.
31937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31938         file.
31939         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31940         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31941         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31942         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31944         new VIS2 routines.
31945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31948         Likewise.
31949         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31950         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31951         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31952         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31954         routines to libm-sysdep_routines.
31955         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31956
31957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31958         fdim/fdimf to libm-sysdep_routines.
31959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31960         file.
31961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31963         file.
31964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31967         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31968         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31969         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31970         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31971
31972 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31973
31974         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31975         to optimize copies.
31976
31977         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31978         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31979         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31980
31981         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31982         local variable MPTWO.
31983         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31984         Likewise.
31985
31986 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31987
31988         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31989         GLOB_NOESCAPE.
31990
31991 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31992
31993         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31994
31995 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31996
31997         * manual/pattern.texi (glob_t): Document gl_flags.
31998         (glob64_t): Likewise.
31999
32000 2013-01-11  David S. Miller  <davem@davemloft.net>
32001
32002         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32003         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32004         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
32005         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32006         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32007         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32008         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32009         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32010         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32011         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32012         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32013         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32014         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32015
32016         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32017         sparc V9 rather than using V8 code.
32018         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32019         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32020
32021         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32022         Move to...
32023         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32024         Here.
32025
32026 2013-01-11  Roland McGrath  <roland@hack.frob.com>
32027
32028         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32029         not in the main loop.
32030         * configure: Regenerated.
32031
32032 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
32033
32034         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32035         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32036         to just #else.
32037         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
32038         [!__GLIBC_HAVE_LONG_LONG] case.
32039         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32040         condition to just #else.
32041         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32042         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32043         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32044         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32045         unconditional.
32046         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32047         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32048         #elif condition to just #else.
32049         * sysdeps/unix/sysv/linux/sys/sysmacros.h
32050         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32051         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32052         #elif condition to just #else.
32053
32054 2013-01-11  Steve Ellcey  <sellcey@mips.com>
32055
32056         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32057         (EF_MIPS_ARCH_64): Fix value.
32058         (EF_MIPS_ARCH_32R2): New.
32059         (EF_MIPS_ARCH_64R2): New.
32060
32061 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
32062
32063         * Makeconfig (+link-pie-before-libc): New.
32064         (+link-pie-after-libc): Likewise.
32065         (+link-pie-tests): Likewise.
32066         (+link-pie): Rewritten.
32067         (link-before-libc): Remove $(config-LDFLAGS).
32068         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32069         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32070         (config-LDFLAGS): Renamed to ...
32071         (rtld-LDFLAGS): This.
32072         (rtld-tests-LDFLAGS): New macro.
32073         (link-libc-rpath-link): Likewise.
32074         (link-libc-tests-rpath-link): Likewise.
32075         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32076         (link-libc): Prepand $(link-libc-rpath-link).
32077         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32078         (test-program-prefix): New macro.
32079         (test-via-rtld-prefix): Likewise.
32080         (test-program-cmd): Likewise.
32081         (host-test-program-cmd): Likewise.
32082         * Makefile ($(common-objpfx)testrun.sh): Replace
32083         $(run-program-prefix) with $(test-program-prefix).
32084         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32085         $(rtld-LDFLAGS).
32086         ($(common-objpfx)shlib.lds): Likewise.
32087         (build-module-helper): Likewise.
32088         ($(common-objpfx)format.lds): Likewise.
32089         * Rules (binaries-pie-tests): New.
32090         (binaries-pie-notests): Likewise.
32091         (binaries-pie): Rewritten.
32092         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32093         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32094         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32095         (make-test-out): Replace $(host-built-program-cmd) with
32096         $(host-test-program-cmd).
32097         * config.make.in (build-hardcoded-path-in-tests): New variable.
32098         * configure.in (--enable-hardcoded-path-in-tests): New configure
32099         option.
32100         (hardcoded_path_in_tests): New AC_SUBST.
32101         * configure: Regenerated.
32102         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32103         $(built-program-cmd) with $(test-program-cmd).
32104         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32105         (test_program_cmd): This.
32106         * elf/Makefile ($(objpfx)order.out): Run test with
32107         $(test-program-prefix).
32108         ($(objpfx)order2.out): Likewise.
32109         ($(objpfx)tst-initorder.out): Likewise.
32110         ($(objpfx)tst-initorder2.out): Likewise.
32111         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32112         $(test-program-cmd).
32113         ($(objpfx)tst-array1-static.out): Likewise.
32114         ($(objpfx)tst-array2.out): Likewise.
32115         ($(objpfx)tst-array3.out): Likewise.
32116         ($(objpfx)tst-array4.out): Likewise.
32117         ($(objpfx)tst-array5.out): Likewise.
32118         ($(objpfx)tst-array5-static.out): Likewise.
32119         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32120         $(test-program-cmd).
32121         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32122         $(run-program-prefix) with $(test-program-prefix).
32123         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32124         (test_program_prefix): This.
32125         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32126         $(run-program-prefix) with $(test-program-prefix).
32127         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32128         (test_program_prefix): This.
32129         * iconvdata/tst-tables.sh: Likewise.
32130         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32131         $(run-program-prefix) with $(test-program-prefix).
32132         ($(objpfx)tst-translit.out): Likewise.
32133         ($(objpfx)tst-gettext2.out): Likewise.
32134         ($(objpfx)tst-gettext4.out): Likewise.
32135         ($(objpfx)tst-gettext6.out): Likewise.
32136         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32137         (test_program_prefix): This.
32138         * intl/tst-gettext2.sh: Likewise.
32139         * intl/tst-gettext4.sh  Likewise.
32140         * intl/tst-gettext6.sh: Likewise.
32141         * intl/tst-translit.sh: Likewise.
32142         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32143         with $(test-program-cmd).
32144         * libio/Makefile ($(objpfx)test-freopen.out): Replace
32145         $(run-program-prefix) with $(test-program-prefix).
32146         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32147         (test_program_prefix): This.
32148         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32149         $(run-program-prefix) with $(test-program-prefix).
32150         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32151         (test_program_prefix): This.
32152         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32153         * posix/Makefile ($(objpfx)globtest.out): Replace
32154         $(run-via-rtld-prefix) and $(test-wrapper) with
32155         $(test-program-prefix) and $(test-via-rtld-prefix).
32156         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32157         $(test-program-prefix).
32158         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32159         $(host-test-program-cmd).
32160         (tst-spawn-ARGS): Likewise.
32161         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32162         $(test-program-prefix).
32163         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32164         (test_via_rtld_prefix): This.
32165         (test_wrapper): Renamed to ...
32166         (test_program_prefix): This.
32167         (run_program_prefix): Replaced by test_program_prefix.
32168         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32169         (test_program_prefix): This.
32170         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32171         with $(host-test-program-cmd).
32172         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32173         $(run-program-prefix) with $(test-program-prefix).
32174         ($(objpfx)tst-printf.out): Likewise.
32175         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32176         $(test-program-cmd).
32177         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32178         (test_program_prefix): This.
32179         * stdio-common/tst-unbputc.sh: Likewise.
32180         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32181         $(run-program-prefix) with $(test-program-prefix).
32182         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32183         (test_program_prefix): This.
32184         * string/Makefile ($(objpfx)tst-svc.out):  Replace
32185         $(built-program-cmd) with $(test-program-cmd).
32186
32187 2013-01-11  Andreas Jaeger  <aj@suse.de>
32188
32189         [BZ #15003]
32190         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32191         value. Sync with Linux 3.7.
32192
32193 2013-01-10  David S. Miller  <davem@davemloft.net>
32194
32195         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32196         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32197         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32198
32199 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32200
32201         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32202         never set.
32203         * configure: Regenerated.
32204
32205 2013-01-10  David S. Miller  <davem@davemloft.net>
32206
32207         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32208         sparc V9 rather than using V8 code.
32209         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32210         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32211
32212 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32213
32214         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32215         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32216         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32217         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32218         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32219         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32220         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32221         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32222         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32223         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32224         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32225         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32226         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32227         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32228         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32229         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32230         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32231         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32232         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32233         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32234         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32235         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32236         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32237         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32238         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32239         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32240         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32241
32242 2013-01-10  David S. Miller  <davem@davemloft.net>
32243
32244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32245
32246 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32247
32248         * posix/Makefile (tests-static): New variable.
32249         (tests): Add $(tests-static).
32250         (tst-exec-static-ARGS): New variable.
32251         (tst-spawn-static-ARGS): Likewise.
32252         * posix/tst-exec-static.c: New file.
32253         * posix/tst-spawn-static.c: Likewise.
32254         * posix/tst-exec.c: Support run directly.
32255         * posix/tst-spawn.c: Likewise.
32256
32257 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
32258
32259         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32260         long.
32261         * math/bits/mathcalls.h (llrint): Likewise.
32262         (llround): Likewise.
32263         * stdlib/stdlib.h (struct drand48_data): Likewise.
32264         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32265         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32266         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32267         Likewise.
32268         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32269         Likewise.
32270         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32271         (elf_greg_t): Likewise.
32272         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32273         (__jmp_buf): Likewise.
32274         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32275         definitions.
32276         (llrint): Likewise, for all definitions.
32277         (llrintl): Likewise.
32278
32279         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32280         Remove [__GNUC__] condition.
32281         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32282         condition to just [__USE_ISOC99].
32283         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32284
32285 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32286
32287         [BZ #14200]
32288         * sysdeps/unix/sysv/linux/x86/bits/environments.h
32289         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32290         defined.
32291         (_POSIX_V6_ILP32_OFF32): Likewise.
32292         (_XBS5_ILP32_OFF32): Likewise.
32293         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32294         (__ILP32_OFFBIG_LDFLAGS): Likewise.
32295
32296 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32297
32298         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32299
32300         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32301         doubles __mpexp_twomm1.  Adjust usage.
32302         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32303         Remove.
32304
32305 2013-01-10  Andreas Schwab  <schwab@suse.de>
32306
32307         [BZ #14964]
32308         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32309         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32310
32311 2013-01-09  David S. Miller  <davem@davemloft.net>
32312
32313         [BZ #15003]
32314         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32315         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32316         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32317         (TCP_FASTOPEN): Define.
32318         (tcp_repair_opt): New structure.
32319         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32320         enum values.
32321         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32322         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32323         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32324         (tcp_cookie_transactions): New structure.
32325
32326 2013-01-09  Anton Blanchard  <anton@samba.org>
32327
32328         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32329         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32330         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32331         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32332
32333 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
32334
32335         * include/features.h (__USE_ANSI): Remove.
32336
32337 2013-01-09  Roland McGrath  <roland@hack.frob.com>
32338
32339         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32340
32341         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32342
32343 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32344
32345         * sysdeps/s390/fpu/libm-test-ulps: Update.
32346
32347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32348
32349         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32350         (__acr): Likewise.
32351         (__cpy): Likewise.
32352         (norm): Likewise.
32353         (denorm): Likewise.
32354         (__mp_dbl): Likewise.
32355         (__dbl_mp): Likewise.
32356         (add_magnitudes): Likewise.
32357         (sub_magnitudes): Likewise.
32358         (__add): Likewise.
32359         (__sub): Likewise.
32360         (__mul): Likewise.
32361         (__inv): Likewise.
32362         (__dvd): Likewise.
32363         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32364         (__acr): Likewise.
32365         (__cpy): Likewise.
32366         (norm): Likewise.
32367         (denorm): Likewise.
32368         (__mp_dbl): Likewise.
32369         (__dbl_mp): Likewise.
32370         (add_magnitudes): Likewise.
32371         (sub_magnitudes): Likewise.
32372         (__add): Likewise.
32373         (__sub): Likewise.
32374         (__mul): Likewise.
32375         (__inv): Likewise.
32376         (__dvd): Likewise.
32377         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32378         (__acr): Likewise.
32379         (__cpy): Likewise.
32380         (norm): Likewise.
32381         (denorm): Likewise.
32382         (__mp_dbl): Likewise.
32383         (__dbl_mp): Likewise.
32384         (add_magnitudes): Likewise.
32385         (sub_magnitudes): Likewise.
32386         (__add): Likewise.
32387         (__sub): Likewise.
32388         (__mul): Likewise.
32389         (__inv): Likewise.
32390         (__dvd): Likewise.
32391
32392 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
32393
32394         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32395         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32396         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32397         2 && __USE_EXTERN_INLINES]: Likewise.
32398
32399 2013-01-08  Andreas Jaeger  <aj@suse.de>
32400
32401         [BZ# 14985]
32402         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32403         Remove.
32404         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32405         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32406
32407 2013-01-07  Anton Blanchard  <anton@samba.org>
32408
32409         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32410         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32411         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32412         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32413         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32414         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32415         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32416         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32417         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32418         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32419         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32420         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32421         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32422         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32423         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32424         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32425         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32426         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32427         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32428         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32429         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32430         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32431         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32432         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32433         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32434         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32435         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32436         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32437         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32438         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32439         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32440         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32441         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32442         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32443         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32444         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32445         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32446         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32447         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32448         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32449         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32450         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32451         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32452
32453 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
32454
32455         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32456         (__MALLOC_PMT): Likewise.
32457         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32458         [__GNUC__], only on [_LIBC].
32459         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32460         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32461         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32462         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32463         forward declaration.
32464         (realloc_hook_ini): Likewise.
32465         (memalign_hook_ini): Likewise.
32466         (__libc_memalign): Do not use __MALLOC_PMT in variable
32467         declaration.
32468         (__libc_valloc): Likewise.
32469         (__libc_pvalloc): Likewise.
32470         (__libc_calloc): Likewise.
32471         (__posix_memalign): Likewise.
32472
32473         [BZ #14996]
32474         * math/s_casinh.c: Include <float.h>.
32475         (__casinh): Do not do computation with squaring and square root
32476         for large arguments.
32477         * math/s_casinhf.c: Include <float.h>.
32478         (__casinhf): Do not do computation with squaring and square root
32479         for large arguments.
32480         * math/s_casinhl.c: Include <float.h>.
32481         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32482         (__casinhl): Do not do computation with squaring and square root
32483         for large arguments.
32484         * math/libm-test.inc (casin_test): Add more tests.
32485         (casinh_test): Likewise.
32486         * sysdeps/i386/fpu/libm-test-ulps: Update.
32487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32488
32489 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
32490
32491         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32492         (__x86_64_raw_data_cache_size): Likewise.
32493         (__x86_64_data_cache_size_half): Likewise.
32494         (__x86_64_raw_data_cache_size_half): Likewise.
32495         (__x86_64_shared_cache_size): Likewise.
32496         (__x86_64_raw_shared_cache_size): Likewise.
32497         (__x86_64_shared_cache_size_half): Likewise.
32498         (__x86_64_raw_shared_cache_size_half): Likewise.
32499         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32500         to ...
32501         (__x86_data_cache_size): This.
32502         (__x86_64_raw_data_cache_size): Renamed to ...
32503         (__x86_raw_data_cache_size): This.
32504         (__x86_64_data_cache_size_half): Renamed to ...
32505         (__x86_data_cache_size_half): This.
32506         (__x86_64_raw_data_cache_size_half): Renamed to ...
32507         (__x86_raw_data_cache_size_half): This.
32508         (__x86_64_shared_cache_size): Renamed to ...
32509         (__x86_shared_cache_size): This.
32510         (__x86_64_raw_shared_cache_size): Renamed to ...
32511         (__x86_raw_shared_cache_size): This.
32512         (__x86_64_shared_cache_size_half): Renamed to ...
32513         (__x86_shared_cache_size_half): This.
32514         (__x86_64_raw_shared_cache_size_half): Renamed to ...
32515         (__x86_raw_shared_cache_size_half): This.
32516         * sysdeps/x86_64/memcpy.S: Updated.
32517         * sysdeps/x86_64/memset.S: Likewise.
32518         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32519         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32520         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32521
32522 2013-01-04  David S. Miller  <davem@davemloft.net>
32523
32524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32525
32526 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
32527
32528         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32529         1 to avoid redefinition warning.
32530         (__USE_GNU): Don't define.
32531         (init_signaling_nan): Protoize.
32532
32533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32534
32535 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32536
32537         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32538         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32539         (__cpymn): Likewise.
32540         (norm): Remove commented code.
32541         (denorm): Likewise.
32542         (__mp_dbl): Likewise.
32543         (__inv): Likewise.
32544         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32545         (__cpymn): Likewise.
32546         (norm): Remove commented code.
32547         (denorm): Likewise.
32548         (__mp_dbl): Likewise.
32549         (__inv): Likewise.
32550
32551         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32552         mp_no value for 1.0 and 2.0.
32553         (norm): Use RADIXI instead of radixi.d.
32554         (denorm): Likewise.
32555         (__mul): Use 0.0 instead of zero.d.
32556         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32557         mp_no value for 1.0 and 2.0.
32558         (norm): Use RADIXI instead of radixi.d.
32559         (denorm): Likewise.
32560         (__mul): Use 0.0 instead of zero.d.
32561
32562 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
32563
32564         [BZ #14994]
32565         * math/s_casinh.c (__casinh): Reduce finite argument to first
32566         quadrant then set signs of results at the end.
32567         * math/s_casinhf.c (__casinhf): Likewise.
32568         * math/s_casinhl.c (__casinhl): Likewise.
32569         * math/libm-test.inc (casin_test): Add more tests.
32570         (casinh_test): Likewise.
32571         * sysdeps/i386/fpu/libm-test-ulps: Update.
32572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32573
32574 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32575
32576         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32577
32578         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32579
32580         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32581         declarations.
32582         (denorm): Likewise.
32583         (__mp_dbl): Likewise.
32584         (__inv): Likewise.
32585
32586         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32587         and adjust the header comment.
32588
32589         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32590         variable name from declaration.
32591
32592 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
32593
32594         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32595         Initialize COMMON_CPUID_INDEX_7 element.
32596         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32597         (CPUID_RTM): Likewise.
32598         (HAS_RTM): Likewise.
32599         (COMMON_CPUID_INDEX_7): New enum.
32600
32601 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
32602
32603         [BZ #14981]
32604         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32605         size is zero, record memory as freed.
32606
32607 2013-01-03  Andreas Jaeger  <aj@suse.de>
32608
32609         * po/ia.po: Add new Interlingua translation.
32610
32611 2012-01-03  Allan McRae  <allan@archlinux.org>
32612
32613         * locale/programs/localedef.c: Fix description of '--posix' flag.
32614
32615 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
32616
32617         * NEWS: Update dates in second copyright notice.
32618         * README: Update copyright dates in example.
32619         * manual/libc.texinfo: Update copyright dates.
32620         * scripts/test-installation.pl: Update copyright date in --version
32621         output.
32622
32623         * hurd/ctty-input.c: Fix copyright notice formatting.
32624         * hurd/ctty-output.c: Likewise.
32625         * hurd/dtable.c: Likewise.
32626         * hurd/hurd-raise.c: Likewise.
32627         * hurd/hurdprio.c: Likewise.
32628         * hurd/msgportdemux.c: Likewise.
32629         * misc/sys/file.h: Likewise.
32630         * misc/sys/ioctl.h: Likewise.
32631         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32632         * sysdeps/mach/hurd/chdir.c: Likewise.
32633         * sysdeps/mach/hurd/fchdir.c: Likewise.
32634         * sysdeps/mach/hurd/rename.c: Likewise.
32635         * sysdeps/mach/hurd/rmdir.c: Likewise.
32636         * sysdeps/mach/hurd/seekdir.c: Likewise.
32637         * sysdeps/mach/hurd/setsid.c: Likewise.
32638         * sysdeps/posix/wait3.c: Likewise.
32639
32640         * All files with FSF copyright notices: Update copyright dates
32641         using scripts/update-copyrights.
32642         * intl/plural.c: Regenerated.
32643         * locale/programs/charmap-kw.h: Likewise.
32644         * locale/programs/locfile-kw.h: Likewise.
32645
32646 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32647
32648         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32649         four values.
32650
32651         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32652         calculation loop and add branch prediction.
32653
32654         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32655         check access beyond bounds of m1np.
32656
32657         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32658         MPTWO.
32659         (__inv): Remove local variable MPTWO to use the global
32660         constant.
32661         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32662         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32663         variable MPTWO.
32664         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32665         MP3HALFS static const.
32666
32667 2013-01-01  David S. Miller  <davem@davemloft.net>
32668
32669         * po/ca.po: Update from translation team.
32670
32671 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
32672
32673         * scripts/update-copyrights: New file.
32674         * Makeconfig: Reformat copyright notice.
32675         * ctype/ctype.h: Likewise.
32676         * debug/swprintf_chk.c: Likewise.
32677         * elf/dl-cache.c: Likewise.
32678         * elf/dl-debug.c: Likewise.
32679         * elf/dl-object.c: Likewise.
32680         * grp/initgroups.c: Likewise.
32681         * hurd/Makefile: Likewise.
32682         * hurd/hurd/signal.h: Likewise.
32683         * hurd/hurdfault.c: Likewise.
32684         * hurd/hurdioctl.c: Likewise.
32685         * hurd/hurdlookup.c: Likewise.
32686         * hurd/intr-msg.c: Likewise.
32687         * iconv/gconv_open.c: Likewise.
32688         * libio/swprintf.c: Likewise.
32689         * locale/lc-ctype.c: Likewise.
32690         * locale/nl_langinfo.c: Likewise.
32691         * mach/Machrules: Likewise.
32692         * mach/Makefile: Likewise.
32693         * malloc/obstack.h: Likewise.
32694         * manual/Makefile: Likewise.
32695         * manual/tsort.awk: Likewise.
32696         * misc/bits/stab.def: Likewise.
32697         * nis/nis_print_group_entry.c: Likewise.
32698         * nis/nis_table.c: Likewise.
32699         * nis/nss_compat/compat-pwd.c: Likewise.
32700         * nis/nss_compat/compat-spwd.c: Likewise.
32701         * po/Makefile: Likewise.
32702         * posix/fnmatch.c: Likewise.
32703         * posix/regex.h: Likewise.
32704         * resolv/Makefile: Likewise.
32705         * resolv/nss_dns/dns-network.c: Likewise.
32706         * resolv/res_hconf.c: Likewise.
32707         * scripts/gen-sorted.awk: Likewise.
32708         * soft-fp/soft-fp.h: Likewise.
32709         * stdio-common/printf.h: Likewise.
32710         * stdlib/monetary.h: Likewise.
32711         * stdlib/random.c: Likewise.
32712         * stdlib/random_r.c: Likewise.
32713         * sysdeps/generic/Makefile: Likewise.
32714         * sysdeps/gnu/Makefile: Likewise.
32715         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32716         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32717         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32718         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32719         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32720         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32721         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32722         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32723         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32724         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32725         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32726         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32727         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32728         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32729         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32730         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32731         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32732         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32733         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32734         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32735         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32736         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32737         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32738         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32739         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32740         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32741         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32742         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32743         * sysdeps/mach/hurd/errnos.awk: Likewise.
32744         * sysdeps/mach/hurd/fork.c: Likewise.
32745         * sysdeps/mach/hurd/getcwd.c: Likewise.
32746         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32747         * sysdeps/mach/hurd/mmap.c: Likewise.
32748         * sysdeps/mach/hurd/utimes.c: Likewise.
32749         * sysdeps/mach/hurd/xmknod.c: Likewise.
32750         * sysdeps/posix/profil.c: Likewise.
32751         * sysdeps/posix/readdir_r.c: Likewise.
32752         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32753         * sysdeps/powerpc/bits/setjmp.h: Likewise.
32754         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32755         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32756         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32757         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32758         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32759         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32760         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32761         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32762         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32763         * sysdeps/pthread/lio_listio.c: Likewise.
32764         * sysdeps/sparc/dl-procinfo.h: Likewise.
32765         * sysdeps/unix/i386/sysdep.S: Likewise.
32766         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32767         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32768         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32769         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32771         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32772         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32773         * sysdeps/unix/sysv/linux/speed.c: Likewise.
32774         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32775         * sysdeps/wordsize-32/divdi3.c: Likewise.
32776         * time/sys/time.h: Likewise.
32777         * wcsmbs/Makefile: Likewise.
32778
32779 2013-01-01  David S. Miller  <davem@davemloft.net>
32780
32781         * po/fr.po: Update from translation team.
32782
32783         * catgets/gencat.c: Update copyright year.
32784         * csu/version.c: Likewise.
32785         * debug/catchsegv.sh: Likewise.
32786         * debug/pcprofiledump.c: Likewise.
32787         * debug/xtrace.sh: Likewise.
32788         * elf/ldconfig.c: Likewise.
32789         * elf/ldd.bash.in: Likewise.
32790         * elf/pldd.c: Likewise.
32791         * elf/sotruss.ksh: Likewise.
32792         * elf/sprof.c: Likewise.
32793         * iconv/iconv_prog.c: Likewise.
32794         * iconv/iconvconfig.c: Likewise.
32795         * locale/programs/locale.c: Likewise.
32796         * locale/programs/localedef.c: Likewise.
32797         * login/programs/pt_chown.c: Likewise.
32798         * malloc/memusage.sh: Likewise.
32799         * malloc/memusagestat.c: Likewise.
32800         * malloc/mtrace.pl: Likewise.
32801         * nscd/nscd.c: Likewise.
32802         * nss/getent.c: Likewise.
32803         * nss/makedb.c: Likewise.
32804         * posix/getconf.c: Likewise.
32805
32806 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32807
32808         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32809         numbers.
32810
32811 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
32812
32813         * math/bits/mathcalls.h (modf): Use __nonnull.
32814
32815 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32816
32817         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32818         (split): Use macro CN instead of the bare value.
32819         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32820         could be used.
32821         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32822         instead of the bare value.
32823         (power1): Likewise.
32824
32825 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32826
32827         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32828         __ATAN_TWOM.
32829         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32830
32831         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32832         their values.
32833         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32834         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32835         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32836         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32837
32838 2012-12-28  Andreas Jaeger  <aj@suse.de>
32839
32840         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
32841         values are from Linux 3.7.
32842
32843         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32844         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
32845
32846 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32847
32848         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32849         TRUE case.
32850
32851         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32852         (norm): Likewise.
32853         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32854         variables with preprocessor constants.
32855         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32856         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32857         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32858
32859 2012-12-27  Bruno Haible  <bruno@clisp.org>
32860
32861         [BZ #14317]
32862         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32863         only if needed.
32864
32865 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32866
32867         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32868         and use variable directly.
32869         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32870
32871         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32872         MPONE.
32873         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32874         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32875         variable MPONE.
32876         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32877         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32878         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32879         include directive.  Remove local variable MPONE.
32880         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32881         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32882         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32883
32884 2012-12-25  David S. Miller  <davem@davemloft.net>
32885
32886         * version.h (RELEASE): Set to "development".
32887         (VERSION): Set to "2.17.90".
32888         * NEWS: Add 2.18 section.
32889
32890 2012-12-21  David S. Miller  <davem@davemloft.net>
32891
32892         * po/hr.po: Update from translation team.
32893
32894 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32895
32896         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32897
32898 2012-12-19  Steve Ellcey  <sellcey@mips.com>
32899
32900         * NEWS:  Mention new memcpy for MIPS.
32901
32902 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32903
32904         * manual/contrib.texi (Contributors): Spelling correction.
32905
32906 2012-12-15  David S. Miller  <davem@davemloft.net>
32907
32908         * po/ru.po: Update from translation team.
32909
32910 2012-12-13  David S. Miller  <davem@davemloft.net>
32911
32912         * NEWS: Mention IFUNC testsuite enhancements.
32913
32914         * po/pl.po: Update from translation team.
32915         * po/bg.po: Likewise.
32916
32917         * manual/contrib.texi (Contributors): Update entries for Hongjiu
32918         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
32919
32920 2012-12-11  David S. Miller  <davem@davemloft.net>
32921
32922         * po/sv.po: Update from translation team.
32923
32924         * po/vi.po: Update from translation team.
32925
32926         * po/cs.po: Update from translation team.
32927
32928         * po/de.po: Update from translation team.
32929         * po/eo.po: Likewise.
32930         * po/nl.po: Likewise.
32931
32932 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32933
32934         [BZ #14246]
32935         * manual/argp.texi (Argp Helper Functions): Move node to follow
32936         Argp Parsing State.
32937
32938         [BZ #14872]
32939         * manual/conf.texi (Limits on File System Capacity): Mention if
32940         terminating null is included in the max size.
32941
32942 2012-12-10  Andreas Jaeger  <aj@suse.de>
32943
32944         * po/cs.po: Update from translation team.
32945
32946 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32947
32948         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32949         void pointer and cast to uintptr_t.
32950         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32951         path.
32952         * sysdeps/s390/s390-64/memcpy.S: Likewise.
32953         * sysdeps/s390/s390-64/memset.S: Likewise.
32954
32955 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
32956
32957         [BZ #14833]
32958         * menual/message.texi (Message Translation): Fix typos.
32959         (Helper programs for gettext): Likewise.
32960
32961 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
32962
32963         [BZ #14898]
32964         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32965         Change to -1.
32966
32967 2012-12-07  David S. Miller  <davem@davemloft.net>
32968
32969         * po/libc.pot: Update.
32970
32971 2012-12-07  Richard Henderson  <rth@redhat.com>
32972
32973         [BZ #10114]
32974         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32975         normal/normal case to before the switch.
32976         (_FP_DIV): Likewise.
32977
32978 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
32979             Mike Frysinger  <vapier@gentoo.org>
32980
32981         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32982         check for __NR_fadvise64_64.
32983
32984 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
32985
32986         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32987         0, not just to plain "0" as a statement.
32988         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32989         with cw.
32990
32991 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
32992
32993         * NEWS: Use sourceware.org in Bugzilla URL.
32994
32995 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32996
32997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32998         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32999
33000         * stdio-common/tst-put-error.c (do_test): Add newline to the
33001         padded test to ensure flush.
33002
33003 2012-12-05  Jeff Law  <law@redhat.com>
33004
33005         * sunrpc/etc.rpc (fedfs_admin): Add entry.
33006
33007 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
33008
33009         * README: Don't refer to ports add-on as distributed separately.
33010         Mention AArch64 in list of systems supported in the ports add-on.
33011
33012         * LICENSES: Add more non-FSF copyright and license notices.
33013
33014         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33015         ((unused)).
33016
33017         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33018
33019         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33020         10000 as width of padded output.
33021
33022 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33023
33024         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33025
33026         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33027         variable LX with __attribute__ ((unused)).
33028         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33029         Likewise.
33030         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33031         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33032         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33033         with __attribute__ ((unused)).
33034
33035 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
33036
33037         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33038
33039 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33040
33041         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33042         (CFLAGS-nldbl-acos.c): New variable.
33043         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33044         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33045         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33046         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33047         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33048         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33049         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33050         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33051         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33052         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33053         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33054         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33055         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33056         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33057         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33058         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33059         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33060         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33061         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33062         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33063         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33064         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33065         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33066         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33067         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33068         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33069         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33070         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33071         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33072         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33073         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33074         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33075         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33076         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33077         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33078         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33079         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33080         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33081         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33082         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33083         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33084         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33085         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33086         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33087         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33088         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33089         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33090         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33091         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33092         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33093         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33094         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33095         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33096         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33097         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33098         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33099         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33100         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33101         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33102         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33103         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33104         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33105         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33106         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33107         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33108         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33109         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33110         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33111         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33112         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33113         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33114         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33115         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33116         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33117         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33118         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33119         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33120         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33121         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33122         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33123         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33124         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33125         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33126         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33127         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33128         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33129         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33130         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33131         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33132         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33133         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33134         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33135         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33136         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33137         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33138         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33139         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33140
33141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33142         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33143
33144         [BZ #14914]
33145         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33146         whole low double instead of just low 47 bits when splitting values
33147         into two parts.
33148
33149 2012-12-03  Allan McRae  <allan@archlinux.org>
33150
33151         * manual/stdio.texi (Predefined Printf Handlers): Remove
33152         @hsep and @vsep usage.
33153
33154 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
33155
33156         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33157         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33158
33159 2012-12-03  Jeff Law  <law@redhat.com>
33160
33161         * time/sys/time.h (settimeofday): Do not mark TV argument
33162         as __nonnull.
33163
33164 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
33165
33166         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33167         when currently writing and seek to current position when not.
33168         * libio/Makefile (tests): Remove bug-fclose1.
33169         * libio/bug-fclose1.c: Delete.
33170
33171 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
33172
33173         * manual/arith.texi (feenableexcept): Fix typo.
33174         (fedisableexcept): Likewise.
33175
33176 2012-11-30  Roland McGrath  <roland@hack.frob.com>
33177
33178         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33179         second, differently-typed declaration, rather than a cast.
33180
33181 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33182
33183         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33184         * include/rpc/svc.h: ... here.
33185
33186 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
33187
33188         [BZ #13013]
33189         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33190         depending n and resplen2 to catch cases where answer
33191         equals answerp2.
33192
33193 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
33194
33195         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33196         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33197
33198 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
33199
33200         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33201
33202 2012-11-29  Roland McGrath  <roland@hack.frob.com>
33203
33204         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33205
33206 2012-11-28  Jeff Law  <law@redhat.com>
33207
33208         [BZ #13761]
33209         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33210         dataset_temporary.  Track alloca usage into alloca_used.
33211         If dataset is large allocate and release it via malloc/free.
33212
33213 2012-06-04  Florian Weimer  <fweimer@redhat.com>
33214
33215         [BZ #14197]
33216         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33217
33218 2012-11-28  David S. Miller  <davem@davemloft.net>
33219
33220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33221
33222 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33223
33224         [BZ #14803]
33225         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33226         of pi/2 rounded to nearest to 64 bits.
33227         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33228         nearest to 64 bits.
33229         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33230         bits.
33231
33232 2012-11-28  Jeff Law <law@redhat.com>
33233             Martin Osvald <mosvald@redhat.com>
33234
33235         [BZ #14889]
33236         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33237         * sunrpc/svc.c: Include time.h.
33238         (__svc_accept_failed): New function.
33239         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33240         any reason other than EINTR, call __svc_accept_failed.
33241         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33242         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33243
33244 2012-11-28  Andreas Schwab  <schwab@suse.de>
33245
33246         * scripts/abilist.awk: Also handle indirect functions in .opd
33247         section.
33248
33249 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33250
33251         [BZ #13881]
33252         * sysdeps/x86/fpu/powl_helper.c: New file.
33253         * sysdeps/x86/fpu/Makefile: Likewise.
33254         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33255         (p3): New object.
33256         (__ieee754_powl): Use __powl_helper for finite arguments except
33257         integer exponents below 8.
33258         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33259         (p3): New object.
33260         (__ieee754_powl): Use __powl_helper for finite arguments except
33261         integer exponents below 8.
33262         * math/libm-test.inc (pow_test): Add more tests and enable some
33263         previously disabled tests.
33264         * sysdeps/i386/fpu/libm-test-ulps: Update.
33265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33266
33267 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33268             Carlos O'Donell  <carlos_odonell@mentor.com>
33269
33270         * nss/makedb.c (is_prime): Assert that input is odd and greater
33271         than 4.  Note that fact in a comment too.
33272         (next_prime): Add 4 to input.
33273
33274 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33275
33276         [BZ #11741]
33277         * libio/Makefile (tests): Add test case tst-fwrite-error.
33278         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33279         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33280         * libio/tst-fwrite-error.c: New test case.
33281
33282 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
33283
33284         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33285         before casting to void *.
33286         * include/libc-internal.h (__pointer_type): New macro.
33287         (__integer_if_pointer_type_sub): Likewise.
33288         (__integer_if_pointer_type): Likewise.
33289         (cast_to_integer): Likewise.
33290         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33291         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33292         before casting to atomic64_t.
33293         (atomic_exchange_acq): Likewise.
33294         (__arch_exchange_and_add_body): Likewise.
33295         (__arch_add_body): Likewise.
33296         (atomic_add_negative): Likewise.
33297         (atomic_add_zero): Likewise.
33298
33299 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
33300
33301         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33302         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33303         (add_fdes): Likewise.
33304         (linear_search_fdes): Likewise.
33305         (binary_search_unencoded_fdes): Likewise.
33306
33307 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
33308
33309         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33310
33311 2012-11-24  Adam Conrad  <adconrad@0c3.net>
33312
33313         * configure.in: Autodetect C++ header directories.
33314         * configure: Regenerated.
33315
33316 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
33317
33318         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33319
33320 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
33321
33322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33323
33324 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
33325
33326         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33327         LDBL_MANT_DIG == 106]: Disable some tests.
33328         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33329         Likewise.
33330         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33331         Likewise.
33332
33333         [BZ #14871]
33334         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33335         input for small inputs.  Return +/- pi/2 for large inputs.
33336         * math/libm-test.inc (atan_test): Add more tests.
33337
33338         * sysdeps/generic/unwind-dw2-fde-glibc.c
33339         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33340         __attribute__ ((unused)).
33341
33342         [BZ #14645]
33343         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33344         x * y if x and y are nonzero and z is zero.
33345
33346         [BZ #14811]
33347         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33348         nonzero exponents with absolute value below 0x1p-117 to +/-
33349         0x1p-117.
33350
33351         [BZ #14869]
33352         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33353         up arguments below 2**-450, not just those below 2**-500.
33354         * math/libm-test.inc (hypot_test): Add another test.
33355
33356         [BZ #14868]
33357         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33358         Return a+b for ratio over 2**120, not 2**60.
33359         * math/libm-test.inc (hypot_test): Add another test.
33360
33361         * math/libm-test.inc (clog_test): Use
33362         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33363         (clog10_test): Likewise.
33364
33365         [BZ #6778]
33366         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33367
33368 2012-11-22  Andreas Schwab  <schwab@suse.de>
33369
33370         * sysdeps/i386/fpu/libm-test-ulps: Update.
33371
33372 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
33373
33374         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33375         printf output with newline.
33376
33377 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
33378
33379         [BZ #14865]
33380         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33381         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33382         -z nodlopen, -z initfirst and -z execstack support.
33383         * configure: Regenerated.
33384
33385         * elf/elf.h (DF_1_NODIRECT): New macro.
33386         (DF_1_IGNMULDEF): Likewise.
33387         (DF_1_NOKSYMS): Likewise.
33388         (DF_1_NOHDR): Likewise.
33389         (DF_1_EDITED): Likewise.
33390         (DF_1_NORELOC): Likewise.
33391         (DF_1_SYMINTPOSE): Likewise.
33392         (DF_1_GLOBAUDIT): Likewise.
33393         (DF_1_SINGLETON): Likewise.
33394         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33395         DT_1_SUPPORTED_MASK bits.
33396         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33397
33398 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
33399
33400         * sysdeps/unix/make-syscalls.sh: Document prefixes.
33401
33402 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
33403
33404         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33405         macro.
33406
33407         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33408         (sendmmsg): Move declarations...
33409         * socket/sys/socket.h: ... here.
33410         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33411         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33412         include it from...
33413         * socket/recvmmsg.c: ... this new file.
33414         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33415         (sendmmsg): Rename to __sendmmsg, create weak alias and make
33416         definition of __sendmmsg hidden.
33417         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33418         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33419         Move ENOSYS stub into and include it from...
33420         * socket/sendmmsg.c: ... this new file.
33421         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33422         (sysdep_routines): Move recvmmsg and sendmmsg...
33423         * socket/Makefile (routines): ... here.
33424         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33425         (GLIBC_PRIVATE): Add __sendmmsg.
33426         * include/sys/socket.h (__sendmmsg): Add declarations.
33427         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33428         sendmmsg.
33429
33430 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
33431
33432         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33433         variable I1 with __attribute__ ((unused)).
33434         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33435
33436 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33437
33438         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33439         DUMMY variables with __attribute__ ((unused)).
33440
33441         * bits/byteswap.h: Include <bits/types.h>.
33442         (__bswap_64): Use __uint64_t instead of unsigned long long int.
33443
33444 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33445
33446         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33447         string_t.  Do not manually set errno.
33448         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33449         length with __strnlen.  Make sure to both set errno and return it on
33450         failure.
33451
33452 2012-11-19  David S. Miller  <davem@davemloft.net>
33453
33454         With help from Joseph Myers.
33455         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33456         very large arguments properly.
33457         * math/libm-test.inc (atan_test): New tests.
33458         (atan2_test): New tests.
33459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33460         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33461
33462 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33463
33464         [BZ #14856]
33465         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33466         Define to 3.
33467
33468         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33469         [POSIX] (EADDRNOTAVAIL): Likewise.
33470         [POSIX] (EAFNOSUPPORT): Likewise.
33471         [POSIX] (EALREADY): Likewise.
33472         [POSIX] (ECONNABORTED): Likewise.
33473         [POSIX] (ECONNREFUSED): Likewise.
33474         [POSIX] (ECONNRESET): Likewise.
33475         [POSIX] (EDESTADDRREQ): Likewise.
33476         [POSIX] (EDQUOT): Likewise.
33477         [POSIX] (EHOSTUNREACH): Likewise.
33478         [POSIX] (EIDRM): Likewise.
33479         [POSIX] (EISCONN): Likewise.
33480         [POSIX] (ELOOP): Likewise.
33481         [POSIX] (EMULTIHOP): Likewise.
33482         [POSIX] (ENETDOWN): Likewise.
33483         [POSIX] (ENETUNREACH): Likewise.
33484         [POSIX] (ENOBUFS): Likewise.
33485         [POSIX] (ENODATA): Likewise.
33486         [POSIX] (ENOLINK): Likewise.
33487         [POSIX] (ENOMSG): Likewise.
33488         [POSIX] (ENOPROTOOPT): Likewise.
33489         [POSIX] (ENOSR): Likewise.
33490         [POSIX] (ENOSTR): Likewise.
33491         [POSIX] (ENOTCONN): Likewise.
33492         [POSIX] (ENOTSOCK): Likewise.
33493         [POSIX] (EOPNOTSUPP): Likewise.
33494         [POSIX] (EOVERFLOW): Likewise.
33495         [POSIX] (EPROTO): Likewise.
33496         [POSIX] (EPROTONOSUPPORT): Likewise.
33497         [POSIX] (EPROTOTYPE): Likewise.
33498         [POSIX] (ESTALE): Likewise.
33499         [POSIX] (ETIME): Likewise.
33500         [POSIX] (ETXTBSY): Likewise.
33501         [POSIX] (EWOULDBLOCK): Likewise.
33502         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33503         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33504         [POSIX] (SEEK_CUR): Likewise.
33505         [POSIX] (SEEK_END): Likewise.
33506         [POSIX || UNIX98] (mode_t): Do not require.
33507         [POSIX] (off_t): Likewise.
33508         [POSIX] (pid_t): Likewise.
33509         [POSIX] (sys/stat.h): Do not allow header.
33510         [POSIX] (unistd.h): Likewise.
33511         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33512         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33513         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33514         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33515         require.
33516         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33517         sigevent): Specify elements.
33518         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33519         entry.
33520         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33521         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33522
33523         * conform/data/cpio.h-data [POSIX]: Disable whole file.
33524         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33525         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33526         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33527         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33528         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33529         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33530         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33531         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33532         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33533         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33534         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33535         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33536         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33537         Likewise.
33538         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33539         Likewise.
33540         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33541         Likewise.
33542         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33543         Likewise.
33544         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33545         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33546         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33547         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33548         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33549         Specify lower bound on value.
33550         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33551         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33552         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33553         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33554         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33555         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33556         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33557         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33558         value.
33559         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33560         as optional.
33561         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33562         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33563         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33564         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33565         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33566         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33567         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33568         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33569         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33570         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33571         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33572         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33573         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33574         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33575         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33576         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33577         entry.
33578         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33579         optional.
33580         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33581         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33582         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33583         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33584         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33585         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33586         Likewise.
33587         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33588         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33589         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33590         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33591         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
33592         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33593         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33594         as optional.
33595         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33596         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33597         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33598         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33599         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33600         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33601         specify as optional.
33602         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33603         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33604         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33605         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33606         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33607         [XPG3] (NL_LANGMAX): Likewise.
33608         [POSIX || XPG3] (NL_MSGMAX): Likewise.
33609         [POSIX || XPG3] (NL_NMAX): Likewise.
33610         [POSIX || XPG3] (NL_SETMAX): Likewise.
33611         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33612         [XPG3] (NZERO): Likewise.
33613         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33614         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33615         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33616         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33617         (REG_ERANGE): Expect.
33618         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33619         optional-constant.
33620         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33621         Use (void) in prototype.
33622         [POSIX] (*_t): Allow.
33623         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33624         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33625         (WRDE_BADVAL): Expect.
33626
33627         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33628         expect.
33629         [XPG3 || XPG4] (O_RSYNC): Likewise.
33630         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33631         Likewise.
33632         [XPG3 || XPG4] (pthread_sigmask): Likewise.
33633         [XPG3 || XPG4] (sigqueue): Likewise.
33634         [XPG3 || XPG4] (sigtimedwait): Likewise.
33635         [XPG3 || XPG4] (sigwaitinfo): Likewise.
33636         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33637         [XPG3 || XPG4] (vsnprintf): Likewise.
33638         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33639         Likewise.
33640         [XPG3 || XPG4] (blksize_t): Likewise.
33641         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33642         Likewise.
33643         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33644         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33645         [XPG3 || XPG4] (struct itimerspec): Likewise.
33646         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33647         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33648         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33649         [XPG3 || XPG4] (clockid_t): Likewise.
33650         [XPG3 || XPG4] (timer_t): Likewise.
33651         [XPG3 || XPG4] (clock_getres): Likewise.
33652         [XPG3 || XPG4] (clock_gettime): Likewise.
33653         [XPG3 || XPG4] (clock_settime): Likewise.
33654         [XPG3 || XPG4] (nanosleep): Likewise.
33655         [XPG3 || XPG4] (timer_create): Likewise.
33656         [XPG3 || XPG4] (timer_delete): Likewise.
33657         [XPG3 || XPG4] (timer_gettime): Likewise.
33658         [XPG3 || XPG4] (timer_getoverrun): Likewise.
33659         [XPG3 || XPG4] (timer_settime): Likewise.
33660         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33661         [XPG3 || XPG4] (getlogin_r): Likewise.
33662         [XPG3 || XPG4] (pread): Likewise.
33663         [XPG3 || XPG4] (pthread_atfork): Likewise.
33664         [XPG3 || XPG4] (pwrite): Likewise.
33665
33666         [BZ #14835]
33667         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33668         <bits/siginfo.h>.
33669
33670 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33671
33672         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33673         finalizing MALLSTREAM.
33674
33675         * sysdeps/mach/hurd/syncfs.c: New file.
33676
33677 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33678
33679         [BZ #14719]
33680         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33681         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33682         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33683         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33684         (_nss_dns_gethostbyname4_r): Likewise.
33685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33686         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33687
33688 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
33689
33690         [BZ #13763]
33691         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33692
33693 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
33694
33695         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33696         * elf/cache.c (print_entry): Print ",AArch64" for
33697         FLAG_AARCH64_LIB64
33698
33699         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33700         * elf/cache.c (print_entry): Print ",hard-float" for
33701         FLAG_ARM_LIBHF.
33702
33703 2012-11-18  David S. Miller  <davem@davemloft.net>
33704
33705         With help from Joseph Myers.
33706         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33707         cutoff to 2**-13.
33708         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33709         cutoff to 2**-25.
33710         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33711         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33712         small.
33713         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33714         * math/libm-test.inc (y0_test): New tests.
33715         (y1_test): New tests.
33716         * sysdeps/i386/fpu/libm-test-ulps: Update.
33717         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33719
33720 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
33721
33722         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33723         64-bit targets.
33724         * configure: Regenerated.
33725
33726 2012-11-17  David S. Miller  <davem@davemloft.net>
33727
33728         [BZ #14811]
33729         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33730         nonzero exponents with absolute value below 0x1p-128 to +/-
33731         0x1p-128.
33732
33733 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
33734
33735         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33736
33737         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33738
33739         * posix/getconf-speclist.c: New file.
33740         * posix/posix-envs.def: Likewise.
33741         * posix/confstr.c (START_ENV_GROUP): New macro.
33742         (END_ENV_GROUP): Likewise.
33743         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33744         (KNOWN_PRESENT_ENV_STRING): Likewise.
33745         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33746         (UNKNOWN_ENVIRONMENT): Likewise.
33747         (confstr): Include posix-envs.def instead of handling
33748         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33749         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33750         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33751         (END_ENV_GROUP): Likewise.
33752         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33753         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33754         (UNKNOWN_ENVIRONMENT): Likewise.
33755         (__sysconf): Include posix-envs.def instead of handling associated
33756         cases directly here.
33757         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33758         preprocessing getconf-speclist.c rather than running getconf or
33759         generating empty file.
33760
33761 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
33762
33763         * scripts/check-local-headers.sh: Ignore 'mach' headers.
33764
33765 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
33766
33767         [BZ #14672]
33768         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33769
33770 2012-11-16  David S. Miller  <davem@davemloft.net>
33771
33772         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33773         smaller than LDBL_EPSILON/2.0L, just return xm1.
33774
33775 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
33776
33777         * elf/tst-array1.c (init): Set constructor priority to 1000.
33778         (fini): Set destructor priority to 1000.
33779         * elf/tst-array2dep.c: Likewise.
33780
33781 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33782
33783         [BZ #11741]
33784         * libio/fileops.c (_IO_new_file_write): Correctly return error.
33785         (_IO_new_file_xsputn): Also return EOF if none of the input
33786         data was written when overflow failed.
33787         * libio/iopadn.c (_IO_padn): Likewise.
33788         * libio/iowpadn.c (_IO_wpadn): Likewise.
33789         * stdio-common/tst-put-error.c: Add copyright notice.
33790         (do_test): Add case for printing padded string.
33791         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33792         _IO_padn returned error.
33793         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33794         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33795         return EOF.
33796
33797 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33798
33799         * libio/libioP.h: Add comment note that the references to C++
33800         bits are now obsolete.
33801
33802 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33803
33804         * math/libm-test.inc (check_complex): Use asprintf.
33805
33806 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
33807
33808         * debug/pcprofiledump.c (print_version): Update copyright year.
33809         * malloc/memusagestat.c (print_version): Likewise.
33810
33811 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
33812
33813         [BZ #14831]
33814         * elf/Makefile (tests): Add tst-audit8.
33815         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33816         ($(objpfx)tst-audit8.out): New target.
33817         (tst-audit8-ENV): New variable.
33818         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33819         audit if l_reloc_result is NULL.
33820         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33821         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33822         * elf/tst-audit8.c: New file.
33823
33824 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33825
33826         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33827         * misc/Makefile (CFLAGS-select.c): Define.
33828         * posix/Makefile (CFLAGS-pause.c): Define.
33829
33830 2012-11-13  David S. Miller  <davem@davemloft.net>
33831
33832         * crypt/Makefile: Move test targets after toplevel Rules
33833         inclusion.  Grab any necessary sysdep routines when linking.
33834         * crypt/md5.c (md5_process_block): Remove define, we will always
33835         name it __md5_process_block.
33836         (md5_finish_ctx): Update md5_process_block call.
33837         (md5_stream): Likewise.
33838         (md5_process_bytes): Likewise.
33839         (md5_process_block): Rename to __md5_process_block and move to ...
33840         * crypt/md5-block.c: ... here.
33841         * crypt/sha256.c (sha256_process_block): Move to ...
33842         * crypt/sha256-block.c: ... here.
33843         * crypt/sha512.c (sha512_process_block): Move to ...
33844         * crypt/sha512-block.c: ... here.
33845         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33846         path.
33847         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33848         * sysdeps/sparc/sparc64/multiarch/Makefile
33849         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33850         crypt subdir.
33851         (localedef-aux): Add md5 crypto assembler when in locale subdir.
33852         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33853         multiarch changes.
33854         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33855         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33856         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33857         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33858         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33859         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33860         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33861         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33862         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33863         file.
33864         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33865         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33866         file.
33867         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33868
33869 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
33870
33871         * timezone/tzselect.ksh: Update from tzcode git revision
33872         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33873         * timezone/zdump.c: Likewise.
33874         * timezone/zic.c: Likewise.
33875         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33876         in TZVERSION setting, not $(PKGVERSION).
33877         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
33878         REPORT_BUGS_TO settings.
33879
33880         [BZ #14838]
33881         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33882         macro.
33883
33884 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33885
33886         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33887         detection to immediately after _FP_ROUND().
33888         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33889         bits are 0.
33890
33891 2012-11-11  David S. Miller  <davem@davemloft.net>
33892
33893         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33894         inttypes.h
33895         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33896         __close rather than their public counterparts.
33897
33898 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
33899
33900         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33901         file.
33902         [UNIX98] (sem_timedwait): Do not expect.
33903         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33904         [XPG4 || UNIX98] (sockatmark): Do not expect.
33905         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33906         (clock_getcpuclockid): Do not expect.
33907         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33908         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33909         Do not expect.
33910         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33911         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33912         [UNIX98] (vwscanf): Likewise.
33913         [UNIX98] (vswscanf): Likewise.
33914
33915 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
33916
33917         * timezone/version.h: Remove file.
33918         * timezone/README: Do not refer to version.h.
33919         * timezone/Makefile ($(objpfx)zic.o): New dependency on
33920         $(objpfx)version.h.
33921         ($(objpfx)zdump.o): Likewise.
33922         ($(objpfx)version.h): New target.
33923
33924         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33925         2012i.
33926         * timezone/README: Don't mention modification to tzselect.ksh.
33927         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33928         work on unmodified tzselect.ksh.  Substitute version numbers in
33929         tzselect.ksh.
33930
33931         * Makefile (format-me): Remove.
33932         (INSTALL): Adjust indentation.  Use commands directly instead of
33933         using $(format-me).
33934
33935         * aclocal.m4 (ACX_PKGVERSION): New macro.
33936         (ACX_BUGURL): Likewise.
33937         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33938         (PKGVERSION): New AC_DEFINE_UNQUOTED.
33939         (REPORT_BUGS_TO): Likewise.
33940         * configure: Regenerated.
33941         * config.h.in (PKGVERSION): New macro.
33942         (REPORT_BUGS_TO): Likewise.
33943         * config.make.in (PKGVERSION): New variable.
33944         (PKGVERSION_TEXI): Likewise.
33945         (REPORT_BUGS_TO): Likewise.
33946         (REPORT_BUGS_TEXI): Likewise.
33947         * Makefile (format-me): Use -I$(common-objpfx)manual.
33948         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33949         ($(common-objpfx)manual/%): New target.
33950         (manual/%): Remove target.
33951         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33952         (print_version): Use PKGVERSION.
33953         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33954         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33955         and REPORT_BUGS_TO.
33956         ($(objpfx)xtrace): Likewise.
33957         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33958         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33959         (print_version): Use PKGVERSION.
33960         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33961         (do_version): Use PKGVERSION.
33962         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33963         REPORT_BUGS_TO.
33964         (common-ldd-rewrite): Likewise.
33965         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33966         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33967         (print_version): Use PKGVERSION.
33968         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33969         * elf/pldd.c (argp_program_bug_address): Remove variable.
33970         (more_help): New function.
33971         (argp): Use more_help.
33972         (print_version): Use PKGVERSION.
33973         * elf/sln.c (main): Use PKGVERSION.
33974         (usage): Use REPORT_BUGS_TO.
33975         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33976         (top level): Use PKGVERSION.
33977         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33978         (print_version): Use PKGVERSION.
33979         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33980         (print_version): Use PKGVERSION.
33981         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33982         (print_version): Use PKGVERSION.
33983         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33984         (print_version): Use PKGVERSION.
33985         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33986         (print_version): Use PKGVERSION.
33987         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33988         (print_version): Use PKGVERSION.
33989         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33990         and BUGURL.
33991         ($(objpfx)memusage): Likewise.
33992         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33993         (do_version): Use PKGVERSION.
33994         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33995         (print_version): Use PKGVERSION.
33996         * malloc/mtrace.pl ($PACKAGE): Remove variable.
33997         ($PKGVERSION): New variable.
33998         ($REPORT_BUGS_TO): Likewise.
33999         (usage): Use $REPORT_BUGS_TO.
34000         (top level): Use $PKGVERSION.
34001         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34002         ($(objpfx)pkgvers.texi): New rule.
34003         ($(objpfx)stamp-pkgvers): Likewise.
34004         * manual/install.texi: Include pkgvers.texi.
34005         (--with-pkgversion): Document new configure option.
34006         (--with-bugurl): Likewise.
34007         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34008         than necessarily for this particular distribution.  Use
34009         REPORT_BUGS_TO for where to report bugs.
34010         * INSTALL: Regenerated.
34011         * manual/libc.texinfo: Include pkgvers.texi.
34012         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34013         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34014         (print_version): Use PKGVERSION.
34015         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34016         (print_version): Use PKGVERSION.
34017         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34018         (print_version): Use PKGVERSION.
34019         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34020         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34021         macro.
34022         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34023         (print_version): Use PKGVERSION.
34024         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34025         (print_version): Use PKGVERSION.
34026         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34027         and PKGVERSION.
34028
34029         * timezone/checktab.awk: Update from tzcode 2012i.
34030         * timezone/ialloc.c: Likewise.
34031         * timezone/private.h: Likewise.
34032         * timezone/scheck.c: Likewise.
34033         * timezone/tzfile.h: Likewise.
34034         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34035         (TZVERSION): Hardcode tzcode version number.
34036         * timezone/zdump.c: Update from tzcode 2012i.
34037         * timezone/zic.c: Likewise.
34038         * timezone/version.h: New file.
34039         * timezone/README: Describe version.h.  Update upstream location.
34040
34041         [BZ #14824]
34042         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34043         (mktemp): Enable declaration.
34044         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34045         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34046         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34047         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34048         Likewise.
34049         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34050         Likewise.
34051         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34052         Likewise.
34053         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34054         Likewise.
34055         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34056         Likewise.
34057         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34058         Likewise.
34059
34060         [BZ #14821]
34061         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34062         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
34063         for copies of such integer values.
34064         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34065         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34066
34067 2012-11-09  Andreas Jaeger  <aj@suse.de>
34068
34069         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34070         definitions and declarations that are provided by
34071         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34072
34073 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34074
34075         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34076         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34077         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34078         definition.
34079
34080 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34081
34082         * elf/elf.h: Update comment before AArch64 relocations.
34083
34084 2012-11-07  David S. Miller  <davem@davemloft.net>
34085
34086         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34087         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34088         (__start_context): Declare.
34089         (__makecontext_ret): Delete.
34090         (__makecontext): Hook up __start_context instead of
34091         __makecontext_ret.
34092         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34093         (sysdep_routines): Add __start_context when in stdlib.
34094
34095 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34096
34097         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34098         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34099         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
34100         hardcoded "nm".
34101         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
34102         (READELF): New variable.  Use it instead of hardcoded "readelf".
34103
34104 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34105
34106         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34107         * sysdeps/x86/Makefile: Here.
34108         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34109         * sysdeps/x86/tst-xmmymm.sh: This.
34110
34111 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34112
34113         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34114         expectations.
34115         [UNIX98] (pthread_barrier_t): Do not expect.
34116         [UNIX98] (pthread_barrierattr_t): Likewise.
34117         [UNIX98] (pthread_spinlock_t): Likewise.
34118         [UNIX98] (pthread_barrier_destroy): Likewise.
34119         [UNIX98] (pthread_barrier_init): Likewise.
34120         [UNIX98] (pthread_barrier_wait): Likewise.
34121         [UNIX98] (pthread_barrierattr_destroy): Likewise.
34122         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34123         [UNIX98] (pthread_barrierattr_init): Likewise.
34124         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34125         [UNIX98] (pthread_getcpuclockid): Likewise.
34126         [UNIX98] (pthread_mutex_timedlock): Likewise.
34127         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34128         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34129         [UNIX98] (pthread_sigmask): Likewise.
34130         [UNIX98] (pthread_spin_destroy): Likewise.
34131         [UNIX98] (pthread_spin_init): Likewise.
34132         [UNIX98] (pthread_spin_lock): Likewise.
34133         [UNIX98] (pthread_spin_trylock): Likewise.
34134         [UNIX98] (pthread_spin_unlock): Likewise.
34135         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34136         Do not expect.
34137         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34138         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34139         [XPG3 || XPG4] (pthread_cond_t): Likewise.
34140         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34141         [XPG3 || XPG4] (pthread_key_t): Likewise.
34142         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34143         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34144         [XPG3 || XPG4] (pthread_once_t): Likewise.
34145         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34146         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34147         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34148         [XPG3 || XPG4] (pthread_t): Likewise.
34149
34150         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34151         not expect.
34152         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34153
34154         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34155         Change function return type to int.
34156
34157         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34158         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34159         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34160         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34161         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34162         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34163         [!POSIX] (posix_madvise): Likewise.
34164         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34165         && !UNIX98].
34166         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34167         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34168         (mode_t): Likewise.
34169         (posix_mem_offset): Likewise.
34170         (posix_typed_mem_get_info): Likewise.
34171         (posix_typed_mem_open): Likewise.
34172
34173         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34174         Change condition to [XOPEN2K8].
34175
34176         * conform/conformtest.pl: Preprocess allow-header data with -x c
34177         instead of from stdin.
34178         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34179         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34180         [C99-based standards] (cerfc): Likewise.
34181         [C99-based standards] (cexp2): Likewise.
34182         [C99-based standards] (cexpm1): Likewise.
34183         [C99-based standards] (clog10): Likewise.
34184         [C99-based standards] (clog1p): Likewise.
34185         [C99-based standards] (clog2): Likewise.
34186         [C99-based standards] (clgamma): Likewise.
34187         [C99-based standards] (ctgamma): Likewise.
34188         [C99-based standards] (cerff): Likewise.
34189         [C99-based standards] (cerfcf): Likewise.
34190         [C99-based standards] (cexp2f): Likewise.
34191         [C99-based standards] (cexpm1f): Likewise.
34192         [C99-based standards] (clog10f): Likewise.
34193         [C99-based standards] (clog1pf): Likewise.
34194         [C99-based standards] (clog2f): Likewise.
34195         [C99-based standards] (clgammaf): Likewise.
34196         [C99-based standards] (ctgammaf): Likewise.
34197         [C99-based standards] (cerfl): Likewise.
34198         [C99-based standards] (cerfcl): Likewise.
34199         [C99-based standards] (cexp2l): Likewise.
34200         [C99-based standards] (cexpm1l): Likewise.
34201         [C99-based standards] (clog10l): Likewise.
34202         [C99-based standards] (clog1pl): Likewise.
34203         [C99-based standards] (clog2l): Likewise.
34204         [C99-based standards] (clgammal): Likewise.
34205         [C99-based standards] (ctgammal): Likewise.
34206         * conform/data/inttypes.h-data [C99-based standards]: Include
34207         stdint.h-data.  Remove all expectations for stdint.h contents.
34208         [C99-based standards] (PRI*): Do not allow.
34209         [C99-based standards] (SCN*): Likewise.
34210         [C99-based standards] (*_t): Likewise.
34211         [C99-based-standards] (PRId8): Expect macro.
34212         [C99-based-standards] (PRIi8): Likewise.
34213         [C99-based-standards] (PRIo8): Likewise.
34214         [C99-based-standards] (PRIu8): Likewise.
34215         [C99-based-standards] (PRIx8): Likewise.
34216         [C99-based-standards] (PRIX8): Likewise.
34217         [C99-based-standards] (SCNd8): Likewise.
34218         [C99-based-standards] (SCNi8): Likewise.
34219         [C99-based-standards] (SCNo8): Likewise.
34220         [C99-based-standards] (SCNu8): Likewise.
34221         [C99-based-standards] (SCNx8): Likewise.
34222         [C99-based-standards] (PRIdLEAST8): Likewise.
34223         [C99-based-standards] (PRIiLEAST8): Likewise.
34224         [C99-based-standards] (PRIoLEAST8): Likewise.
34225         [C99-based-standards] (PRIuLEAST8): Likewise.
34226         [C99-based-standards] (PRIxLEAST8): Likewise.
34227         [C99-based-standards] (PRIXLEAST8): Likewise.
34228         [C99-based-standards] (SCNdLEAST8): Likewise.
34229         [C99-based-standards] (SCNiLEAST8): Likewise.
34230         [C99-based-standards] (SCNoLEAST8): Likewise.
34231         [C99-based-standards] (SCNuLEAST8): Likewise.
34232         [C99-based-standards] (SCNxLEAST8): Likewise.
34233         [C99-based-standards] (PRIdFAST8): Likewise.
34234         [C99-based-standards] (PRIiFAST8): Likewise.
34235         [C99-based-standards] (PRIoFAST8): Likewise.
34236         [C99-based-standards] (PRIuFAST8): Likewise.
34237         [C99-based-standards] (PRIxFAST8): Likewise.
34238         [C99-based-standards] (PRIXFAST8): Likewise.
34239         [C99-based-standards] (SCNdFAST8): Likewise.
34240         [C99-based-standards] (SCNiFAST8): Likewise.
34241         [C99-based-standards] (SCNoFAST8): Likewise.
34242         [C99-based-standards] (SCNuFAST8): Likewise.
34243         [C99-based-standards] (SCNxFAST8): Likewise.
34244         [C99-based-standards] (PRId16): Likewise.
34245         [C99-based-standards] (PRIi16): Likewise.
34246         [C99-based-standards] (PRIo16): Likewise.
34247         [C99-based-standards] (PRIu16): Likewise.
34248         [C99-based-standards] (PRIx16): Likewise.
34249         [C99-based-standards] (PRIX16): Likewise.
34250         [C99-based-standards] (SCNd16): Likewise.
34251         [C99-based-standards] (SCNi16): Likewise.
34252         [C99-based-standards] (SCNo16): Likewise.
34253         [C99-based-standards] (SCNu16): Likewise.
34254         [C99-based-standards] (SCNx16): Likewise.
34255         [C99-based-standards] (PRIdLEAST16): Likewise.
34256         [C99-based-standards] (PRIiLEAST16): Likewise.
34257         [C99-based-standards] (PRIoLEAST16): Likewise.
34258         [C99-based-standards] (PRIuLEAST16): Likewise.
34259         [C99-based-standards] (PRIxLEAST16): Likewise.
34260         [C99-based-standards] (PRIXLEAST16): Likewise.
34261         [C99-based-standards] (SCNdLEAST16): Likewise.
34262         [C99-based-standards] (SCNiLEAST16): Likewise.
34263         [C99-based-standards] (SCNoLEAST16): Likewise.
34264         [C99-based-standards] (SCNuLEAST16): Likewise.
34265         [C99-based-standards] (SCNxLEAST16): Likewise.
34266         [C99-based-standards] (PRIdFAST16): Likewise.
34267         [C99-based-standards] (PRIiFAST16): Likewise.
34268         [C99-based-standards] (PRIoFAST16): Likewise.
34269         [C99-based-standards] (PRIuFAST16): Likewise.
34270         [C99-based-standards] (PRIxFAST16): Likewise.
34271         [C99-based-standards] (PRIXFAST16): Likewise.
34272         [C99-based-standards] (SCNdFAST16): Likewise.
34273         [C99-based-standards] (SCNiFAST16): Likewise.
34274         [C99-based-standards] (SCNoFAST16): Likewise.
34275         [C99-based-standards] (SCNuFAST16): Likewise.
34276         [C99-based-standards] (SCNxFAST16): Likewise.
34277         [C99-based-standards] (PRId32): Likewise.
34278         [C99-based-standards] (PRIi32): Likewise.
34279         [C99-based-standards] (PRIo32): Likewise.
34280         [C99-based-standards] (PRIu32): Likewise.
34281         [C99-based-standards] (PRIx32): Likewise.
34282         [C99-based-standards] (PRIX32): Likewise.
34283         [C99-based-standards] (SCNd32): Likewise.
34284         [C99-based-standards] (SCNi32): Likewise.
34285         [C99-based-standards] (SCNo32): Likewise.
34286         [C99-based-standards] (SCNu32): Likewise.
34287         [C99-based-standards] (SCNx32): Likewise.
34288         [C99-based-standards] (PRIdLEAST32): Likewise.
34289         [C99-based-standards] (PRIiLEAST32): Likewise.
34290         [C99-based-standards] (PRIoLEAST32): Likewise.
34291         [C99-based-standards] (PRIuLEAST32): Likewise.
34292         [C99-based-standards] (PRIxLEAST32): Likewise.
34293         [C99-based-standards] (PRIXLEAST32): Likewise.
34294         [C99-based-standards] (SCNdLEAST32): Likewise.
34295         [C99-based-standards] (SCNiLEAST32): Likewise.
34296         [C99-based-standards] (SCNoLEAST32): Likewise.
34297         [C99-based-standards] (SCNuLEAST32): Likewise.
34298         [C99-based-standards] (SCNxLEAST32): Likewise.
34299         [C99-based-standards] (PRIdFAST32): Likewise.
34300         [C99-based-standards] (PRIiFAST32): Likewise.
34301         [C99-based-standards] (PRIoFAST32): Likewise.
34302         [C99-based-standards] (PRIuFAST32): Likewise.
34303         [C99-based-standards] (PRIxFAST32): Likewise.
34304         [C99-based-standards] (PRIXFAST32): Likewise.
34305         [C99-based-standards] (SCNdFAST32): Likewise.
34306         [C99-based-standards] (SCNiFAST32): Likewise.
34307         [C99-based-standards] (SCNoFAST32): Likewise.
34308         [C99-based-standards] (SCNuFAST32): Likewise.
34309         [C99-based-standards] (SCNxFAST32): Likewise.
34310         [C99-based-standards] (PRId64): Likewise.
34311         [C99-based-standards] (PRIi64): Likewise.
34312         [C99-based-standards] (PRIo64): Likewise.
34313         [C99-based-standards] (PRIu64): Likewise.
34314         [C99-based-standards] (PRIx64): Likewise.
34315         [C99-based-standards] (PRIX64): Likewise.
34316         [C99-based-standards] (SCNd64): Likewise.
34317         [C99-based-standards] (SCNi64): Likewise.
34318         [C99-based-standards] (SCNo64): Likewise.
34319         [C99-based-standards] (SCNu64): Likewise.
34320         [C99-based-standards] (SCNx64): Likewise.
34321         [C99-based-standards] (PRIdLEAST64): Likewise.
34322         [C99-based-standards] (PRIiLEAST64): Likewise.
34323         [C99-based-standards] (PRIoLEAST64): Likewise.
34324         [C99-based-standards] (PRIuLEAST64): Likewise.
34325         [C99-based-standards] (PRIxLEAST64): Likewise.
34326         [C99-based-standards] (PRIXLEAST64): Likewise.
34327         [C99-based-standards] (SCNdLEAST64): Likewise.
34328         [C99-based-standards] (SCNiLEAST64): Likewise.
34329         [C99-based-standards] (SCNoLEAST64): Likewise.
34330         [C99-based-standards] (SCNuLEAST64): Likewise.
34331         [C99-based-standards] (SCNxLEAST64): Likewise.
34332         [C99-based-standards] (PRIdFAST64): Likewise.
34333         [C99-based-standards] (PRIiFAST64): Likewise.
34334         [C99-based-standards] (PRIoFAST64): Likewise.
34335         [C99-based-standards] (PRIuFAST64): Likewise.
34336         [C99-based-standards] (PRIxFAST64): Likewise.
34337         [C99-based-standards] (PRIXFAST64): Likewise.
34338         [C99-based-standards] (SCNdFAST64): Likewise.
34339         [C99-based-standards] (SCNiFAST64): Likewise.
34340         [C99-based-standards] (SCNoFAST64): Likewise.
34341         [C99-based-standards] (SCNuFAST64): Likewise.
34342         [C99-based-standards] (SCNxFAST64): Likewise.
34343         [C99-based-standards] (PRIdMAX): Likewise.
34344         [C99-based-standards] (PRIiMAX): Likewise.
34345         [C99-based-standards] (PRIoMAX): Likewise.
34346         [C99-based-standards] (PRIuMAX): Likewise.
34347         [C99-based-standards] (PRIxMAX): Likewise.
34348         [C99-based-standards] (PRIXMAX): Likewise.
34349         [C99-based-standards] (SCNdMAX): Likewise.
34350         [C99-based-standards] (SCNiMAX): Likewise.
34351         [C99-based-standards] (SCNoMAX): Likewise.
34352         [C99-based-standards] (SCNuMAX): Likewise.
34353         [C99-based-standards] (SCNxMAX): Likewise.
34354         [C99-based-standards] (PRIdPTR): Likewise.
34355         [C99-based-standards] (PRIiPTR): Likewise.
34356         [C99-based-standards] (PRIoPTR): Likewise.
34357         [C99-based-standards] (PRIuPTR): Likewise.
34358         [C99-based-standards] (PRIxPTR): Likewise.
34359         [C99-based-standards] (PRIXPTR): Likewise.
34360         [C99-based-standards] (SCNdPTR): Likewise.
34361         [C99-based-standards] (SCNiPTR): Likewise.
34362         [C99-based-standards] (SCNoPTR): Likewise.
34363         [C99-based-standards] (SCNuPTR): Likewise.
34364         [C99-based-standards] (SCNxPTR): Likewise.
34365         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34366         allow.
34367         * conform/data/stdint.h-data: Update comments to clarify
34368         requirements.
34369         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
34370         type.
34371         [C99-based standards] (INT8_MAX): Likewise.
34372         [C99-based standards] (INT16_MIN): Likewise.
34373         [C99-based standards] (INT16_MAX): Likewise.
34374         [C99-based standards] (INT32_MIN): Likewise.
34375         [C99-based standards] (INT32_MAX): Likewise.
34376         [C99-based standards] (INT64_MIN): Likewise.
34377         [C99-based standards] (INT64_MAX): Likewise.
34378         [C99-based standards] (UINT8_MAX): Likewise.
34379         [C99-based standards] (UINT16_MAX): Likewise.
34380         [C99-based standards] (UINT32_MAX): Likewise.
34381         [C99-based standards] (UINT64_MAX): Likewise.
34382         [C99-based standards] (INT_LEAST8_MIN): Likewise.
34383         [C99-based standards] (INT_LEAST8_MAX): Likewise.
34384         [C99-based standards] (INT_LEAST16_MIN): Likewise.
34385         [C99-based standards] (INT_LEAST16_MAX): Likewise.
34386         [C99-based standards] (INT_LEAST32_MIN): Likewise.
34387         [C99-based standards] (INT_LEAST32_MAX): Likewise.
34388         [C99-based standards] (INT_LEAST64_MIN): Likewise.
34389         [C99-based standards] (INT_LEAST64_MAX): Likewise.
34390         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34391         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34392         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34393         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34394         [C99-based standards] (INT_FAST8_MIN): Likewise.
34395         [C99-based standards] (INT_FAST8_MAX): Likewise.
34396         [C99-based standards] (INT_FAST16_MIN): Likewise.
34397         [C99-based standards] (INT_FAST16_MAX): Likewise.
34398         [C99-based standards] (INT_FAST32_MIN): Likewise.
34399         [C99-based standards] (INT_FAST32_MAX): Likewise.
34400         [C99-based standards] (INT_FAST64_MIN): Likewise.
34401         [C99-based standards] (INT_FAST64_MAX): Likewise.
34402         [C99-based standards] (UINT_FAST8_MAX): Likewise.
34403         [C99-based standards] (UINT_FAST16_MAX): Likewise.
34404         [C99-based standards] (UINT_FAST32_MAX): Likewise.
34405         [C99-based standards] (UINT_FAST64_MAX): Likewise.
34406         [C99-based standards] (INTPTR_MIN): Likewise.
34407         [C99-based standards] (INTPTR_MAX): Likewise.
34408         [C99-based standards] (UINTPTR_MAX): Likewise.
34409         [C99-based standards] (INTMAX_MIN): Likewise.
34410         [C99-based standards] (INTMAX_MAX): Likewise.
34411         [C99-based standards] (UINTMAX_MAX): Likewise.
34412         [C99-based standards] (PTRDIFF_MIN): Likewise.
34413         [C99-based standards] (PTRDIFF_MAX): Likewise.
34414         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34415         [C99-based standards] (SIZE_MAX): Likewise.
34416         [C99-based standards] (WCHAR_MAX): Likewise.
34417         [C99-based standards] (WINT_MAX): Likewise.
34418         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
34419         constraint on value.
34420         [C99-based standards] (WCHAR_MIN): Likewise.
34421         [C99-based standards] (WINT_MIN): Likewise.
34422         [C99-based standards] (*_t): Allow.
34423         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34424         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34425         Include math.h-data and complex.h-data.  Remove all expectations
34426         of math.h and complex.h contents.
34427         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34428         at end of line.
34429         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34430         (struct tm): Expect tag.
34431         [C99-based-standards] (wcstof): Expect function.
34432         [C99-based-standards] (wcstold): Likewise.
34433         [C99-based-standards] (wcstoll): Likewise.
34434         [C99-based-standards] (wcstoull): Likewise.
34435         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34436         macro-int-constant.  Specify type.
34437         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
34438         constraint on value.
34439         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34440         Specify type.
34441         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34442         Specify value.
34443         [ISO C standards]: Do not allow headers.
34444         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34445         wcs[abcdefghijklmnopqrstuvwxyz]*.
34446         [ISO C standards] (*_t): Do not allow.
34447         * conform/data/wctype.h-data [C99-based standards] (iswblank):
34448         Expect function.
34449         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34450         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34451         Specify type.
34452         [ISO C standards]: Do not allow headers.
34453         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34454         is[abcdefghijklmnopqrstuvwxyz]*.
34455         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34456         to[abcdefghijklmnopqrstuvwxyz]*.
34457         [ISO C standards] (*_t): Do not allow.
34458         * conform/data/stdalign.h-data: New file.
34459         * conform/data/stdbool.h-data: Likewise.
34460         * conform/data/stdnoreturn.h-data: Likewise.
34461
34462 2012-11-07  Roland McGrath  <roland@hack.frob.com>
34463
34464         [BZ #14815]
34465         * manual/filesys.texi (Directory Entries): Typo fix.
34466         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34467
34468 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34469
34470         * elf/elf.h (EM_AARCH64): New macro.
34471         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34472         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34473         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34474         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34475         (R_AARCH64_TLSDESC): Likewise.
34476         (NT_ARM_TLS): Likewise.
34477         (NT_ARM_HW_BREAK): Likewise.
34478         (NT_ARM_HW_WATCH): Likewise.
34479
34480 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34481
34482         [BZ #14811]
34483         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34484         (__ieee754_powl): Saturate nonzero exponents with absolute value
34485         below 0x1p-79 to +/- 0x1p-79.
34486         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34487         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34488         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34489         nonzero exponents with absolute value below 0x1p-32 to +/-
34490         0x1p-32.
34491         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34492         (__ieee754_powl): Saturate nonzero exponents with absolute value
34493         below 0x1p-79 to +/- 0x1p-79.
34494         * math/libm-test.inc (pow_test): Add more tests.
34495
34496 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34497
34498         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34499         _dl_s390_cap_flags with kernel. Increase string length.
34500         (_dl_s390_platforms): Add z196 and zEC12.
34501
34502 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34503
34504         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34505         Change XOPEN21K to XOPEN2K.
34506
34507 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
34508
34509         * string/memmove.c: Use memcpy when possible.
34510
34511 2012-11-06  Andreas Jaeger  <aj@suse.de>
34512
34513         * po/eo.po: Update from translation team.
34514
34515 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
34516
34517         [BZ #14793]
34518         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34519         exponent and small x and y exponents, scale x or y up.  Increase
34520         by 2 the exponent used in scaling up.
34521         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34522         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34523         * math/libm-test.inc (fma_test): Add more tests.
34524         (fma_test_towardzero): Likewise.
34525         (fma_test_downward): Likewise.
34526         (fma_test_upward): Likewise.
34527
34528 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
34529
34530         [BZ #14805]
34531         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34532         fenv_t *.
34533
34534         [BZ #14801]
34535         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34536         namespace for names of struct fields.
34537         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34538         fenv_t fields.
34539         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34540         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34541
34542 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34543
34544         [BZ #3665]
34545         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34546
34547 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34548
34549         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34550         PTR_DEMANGLE.
34551
34552         [BZ #5246]
34553         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34554         PTR_DEMANGLE.
34555
34556 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
34557
34558         [BZ #14797]
34559         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34560         definitely overflow as x * y not x * y + z.
34561         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34562         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34563         * math/libm-test.inc (fma_test): Add more tests.
34564         (fma_test_towardzero): Likewise.
34565         (fma_test_downward): Likewise.
34566         (fma_test_upward): Likewise.
34567
34568 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34569
34570         [BZ #157]
34571
34572         * include/stub-tag.h: Remove file.
34573         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34574         '#include' of it.
34575         * manual/maint.texi (Porting): Don't reference it.
34576         * Makerules ($(objpfx)stubs): Likewise.
34577         * dirent/closedir.c: Don't include <stub-tag.h>.
34578         * dirent/dirfd.c: Likewise.
34579         * dirent/fdopendir.c: Likewise.
34580         * dirent/getdents.c: Likewise.
34581         * dirent/getdents64.c: Likewise.
34582         * dirent/opendir.c: Likewise.
34583         * dirent/readdir.c: Likewise.
34584         * dirent/readdir64.c: Likewise.
34585         * dirent/readdir64_r.c: Likewise.
34586         * dirent/readdir_r.c: Likewise.
34587         * dirent/rewinddir.c: Likewise.
34588         * dirent/seekdir.c: Likewise.
34589         * dirent/telldir.c: Likewise.
34590         * gmon/profil.c: Likewise.
34591         * grp/setgroups.c: Likewise.
34592         * inet/if_index.c: Likewise.
34593         * io/access.c: Likewise.
34594         * io/chdir.c: Likewise.
34595         * io/chmod.c: Likewise.
34596         * io/chown.c: Likewise.
34597         * io/close.c: Likewise.
34598         * io/dup.c: Likewise.
34599         * io/dup2.c: Likewise.
34600         * io/dup3.c: Likewise.
34601         * io/euidaccess.c: Likewise.
34602         * io/faccessat.c: Likewise.
34603         * io/fchdir.c: Likewise.
34604         * io/fchmod.c: Likewise.
34605         * io/fchmodat.c: Likewise.
34606         * io/fchown.c: Likewise.
34607         * io/fchownat.c: Likewise.
34608         * io/fcntl.c: Likewise.
34609         * io/flock.c: Likewise.
34610         * io/fstatfs.c: Likewise.
34611         * io/fstatfs64.c: Likewise.
34612         * io/fstatvfs.c: Likewise.
34613         * io/fstatvfs64.c: Likewise.
34614         * io/futimens.c: Likewise.
34615         * io/fxstat.c: Likewise.
34616         * io/fxstat64.c: Likewise.
34617         * io/fxstatat.c: Likewise.
34618         * io/fxstatat64.c: Likewise.
34619         * io/getcwd.c: Likewise.
34620         * io/isatty.c: Likewise.
34621         * io/lchmod.c: Likewise.
34622         * io/lchown.c: Likewise.
34623         * io/link.c: Likewise.
34624         * io/linkat.c: Likewise.
34625         * io/lseek.c: Likewise.
34626         * io/lseek64.c: Likewise.
34627         * io/lxstat64.c: Likewise.
34628         * io/mkdir.c: Likewise.
34629         * io/mkdirat.c: Likewise.
34630         * io/mkfifo.c: Likewise.
34631         * io/mkfifoat.c: Likewise.
34632         * io/open.c: Likewise.
34633         * io/open64.c: Likewise.
34634         * io/openat.c: Likewise.
34635         * io/openat64.c: Likewise.
34636         * io/pipe.c: Likewise.
34637         * io/pipe2.c: Likewise.
34638         * io/poll.c: Likewise.
34639         * io/posix_fadvise.c: Likewise.
34640         * io/posix_fadvise64.c: Likewise.
34641         * io/posix_fallocate.c: Likewise.
34642         * io/posix_fallocate64.c: Likewise.
34643         * io/read.c: Likewise.
34644         * io/readlink.c: Likewise.
34645         * io/readlinkat.c: Likewise.
34646         * io/rmdir.c: Likewise.
34647         * io/sendfile.c: Likewise.
34648         * io/sendfile64.c: Likewise.
34649         * io/statfs.c: Likewise.
34650         * io/statfs64.c: Likewise.
34651         * io/statvfs.c: Likewise.
34652         * io/statvfs64.c: Likewise.
34653         * io/symlink.c: Likewise.
34654         * io/symlinkat.c: Likewise.
34655         * io/ttyname.c: Likewise.
34656         * io/ttyname_r.c: Likewise.
34657         * io/umask.c: Likewise.
34658         * io/unlink.c: Likewise.
34659         * io/unlinkat.c: Likewise.
34660         * io/utime.c: Likewise.
34661         * io/utimensat.c: Likewise.
34662         * io/write.c: Likewise.
34663         * io/xmknod.c: Likewise.
34664         * io/xmknodat.c: Likewise.
34665         * io/xstat.c: Likewise.
34666         * io/xstat64.c: Likewise.
34667         * login/getpt.c: Likewise.
34668         * login/grantpt.c: Likewise.
34669         * login/unlockpt.c: Likewise.
34670         * math/e_acoshl.c: Likewise.
34671         * math/e_acosl.c: Likewise.
34672         * math/e_asinl.c: Likewise.
34673         * math/e_atan2l.c: Likewise.
34674         * math/e_atanhl.c: Likewise.
34675         * math/e_coshl.c: Likewise.
34676         * math/e_expl.c: Likewise.
34677         * math/e_fmodl.c: Likewise.
34678         * math/e_gammal_r.c: Likewise.
34679         * math/e_hypotl.c: Likewise.
34680         * math/e_j0l.c: Likewise.
34681         * math/e_j1l.c: Likewise.
34682         * math/e_jnl.c: Likewise.
34683         * math/e_lgammal_r.c: Likewise.
34684         * math/e_log10l.c: Likewise.
34685         * math/e_log2l.c: Likewise.
34686         * math/e_logl.c: Likewise.
34687         * math/e_powl.c: Likewise.
34688         * math/e_rem_pio2l.c: Likewise.
34689         * math/e_sinhl.c: Likewise.
34690         * math/e_sqrtl.c: Likewise.
34691         * math/fclrexcpt.c: Likewise.
34692         * math/fedisblxcpt.c: Likewise.
34693         * math/feenablxcpt.c: Likewise.
34694         * math/fegetenv.c: Likewise.
34695         * math/fegetexcept.c: Likewise.
34696         * math/fegetround.c: Likewise.
34697         * math/feholdexcpt.c: Likewise.
34698         * math/fesetenv.c: Likewise.
34699         * math/fesetround.c: Likewise.
34700         * math/feupdateenv.c: Likewise.
34701         * math/fgetexcptflg.c: Likewise.
34702         * math/fraiseexcpt.c: Likewise.
34703         * math/fsetexcptflg.c: Likewise.
34704         * math/ftestexcept.c: Likewise.
34705         * math/k_cosl.c: Likewise.
34706         * math/k_rem_pio2l.c: Likewise.
34707         * math/k_sinl.c: Likewise.
34708         * math/k_tanl.c: Likewise.
34709         * math/s_asinhl.c: Likewise.
34710         * math/s_atanl.c: Likewise.
34711         * math/s_cbrtl.c: Likewise.
34712         * math/s_erfl.c: Likewise.
34713         * math/s_expm1l.c: Likewise.
34714         * math/s_log1pl.c: Likewise.
34715         * math/s_tanhl.c: Likewise.
34716         * misc/acct.c: Likewise.
34717         * misc/brk.c: Likewise.
34718         * misc/chflags.c: Likewise.
34719         * misc/chroot.c: Likewise.
34720         * misc/fchflags.c: Likewise.
34721         * misc/fgetxattr.c: Likewise.
34722         * misc/flistxattr.c: Likewise.
34723         * misc/fremovexattr.c: Likewise.
34724         * misc/fsetxattr.c: Likewise.
34725         * misc/fsync.c: Likewise.
34726         * misc/ftruncate.c: Likewise.
34727         * misc/futimes.c: Likewise.
34728         * misc/futimesat.c: Likewise.
34729         * misc/getdomain.c: Likewise.
34730         * misc/getdtsz.c: Likewise.
34731         * misc/gethostid.c: Likewise.
34732         * misc/gethostname.c: Likewise.
34733         * misc/getloadavg.c: Likewise.
34734         * misc/getpagesize.c: Likewise.
34735         * misc/getsysstats.c: Likewise.
34736         * misc/getxattr.c: Likewise.
34737         * misc/gtty.c: Likewise.
34738         * misc/ioctl.c: Likewise.
34739         * misc/lgetxattr.c: Likewise.
34740         * misc/listxattr.c: Likewise.
34741         * misc/llistxattr.c: Likewise.
34742         * misc/lremovexattr.c: Likewise.
34743         * misc/lsetxattr.c: Likewise.
34744         * misc/lutimes.c: Likewise.
34745         * misc/madvise.c: Likewise.
34746         * misc/mincore.c: Likewise.
34747         * misc/mlock.c: Likewise.
34748         * misc/mlockall.c: Likewise.
34749         * misc/mmap.c: Likewise.
34750         * misc/mprotect.c: Likewise.
34751         * misc/msync.c: Likewise.
34752         * misc/munlock.c: Likewise.
34753         * misc/munlockall.c: Likewise.
34754         * misc/munmap.c: Likewise.
34755         * misc/preadv.c: Likewise.
34756         * misc/preadv64.c: Likewise.
34757         * misc/ptrace.c: Likewise.
34758         * misc/pwritev.c: Likewise.
34759         * misc/pwritev64.c: Likewise.
34760         * misc/readv.c: Likewise.
34761         * misc/reboot.c: Likewise.
34762         * misc/remap_file_pages.c: Likewise.
34763         * misc/removexattr.c: Likewise.
34764         * misc/revoke.c: Likewise.
34765         * misc/select.c: Likewise.
34766         * misc/setdomain.c: Likewise.
34767         * misc/setegid.c: Likewise.
34768         * misc/seteuid.c: Likewise.
34769         * misc/sethostid.c: Likewise.
34770         * misc/sethostname.c: Likewise.
34771         * misc/setregid.c: Likewise.
34772         * misc/setreuid.c: Likewise.
34773         * misc/setxattr.c: Likewise.
34774         * misc/sstk.c: Likewise.
34775         * misc/stty.c: Likewise.
34776         * misc/swapoff.c: Likewise.
34777         * misc/swapon.c: Likewise.
34778         * misc/sync.c: Likewise.
34779         * misc/syncfs.c: Likewise.
34780         * misc/syscall.c: Likewise.
34781         * misc/truncate.c: Likewise.
34782         * misc/ualarm.c: Likewise.
34783         * misc/usleep.c: Likewise.
34784         * misc/ustat.c: Likewise.
34785         * misc/utimes.c: Likewise.
34786         * misc/vhangup.c: Likewise.
34787         * misc/writev.c: Likewise.
34788         * posix/_exit.c: Likewise.
34789         * posix/alarm.c: Likewise.
34790         * posix/execve.c: Likewise.
34791         * posix/fexecve.c: Likewise.
34792         * posix/fork.c: Likewise.
34793         * posix/fpathconf.c: Likewise.
34794         * posix/getaddrinfo.c: Likewise.
34795         * posix/getegid.c: Likewise.
34796         * posix/geteuid.c: Likewise.
34797         * posix/getgid.c: Likewise.
34798         * posix/getgroups.c: Likewise.
34799         * posix/getlogin.c: Likewise.
34800         * posix/getlogin_r.c: Likewise.
34801         * posix/getpgid.c: Likewise.
34802         * posix/getpid.c: Likewise.
34803         * posix/getppid.c: Likewise.
34804         * posix/getresgid.c: Likewise.
34805         * posix/getresuid.c: Likewise.
34806         * posix/getsid.c: Likewise.
34807         * posix/getuid.c: Likewise.
34808         * posix/glob64.c: Likewise.
34809         * posix/nanosleep.c: Likewise.
34810         * posix/pathconf.c: Likewise.
34811         * posix/pause.c: Likewise.
34812         * posix/posix_madvise.c: Likewise.
34813         * posix/pread.c: Likewise.
34814         * posix/pread64.c: Likewise.
34815         * posix/pwrite.c: Likewise.
34816         * posix/pwrite64.c: Likewise.
34817         * posix/sched_getaffinity.c: Likewise.
34818         * posix/sched_getp.c: Likewise.
34819         * posix/sched_gets.c: Likewise.
34820         * posix/sched_primax.c: Likewise.
34821         * posix/sched_primin.c: Likewise.
34822         * posix/sched_rr_gi.c: Likewise.
34823         * posix/sched_setaffinity.c: Likewise.
34824         * posix/sched_setp.c: Likewise.
34825         * posix/sched_sets.c: Likewise.
34826         * posix/sched_yield.c: Likewise.
34827         * posix/setgid.c: Likewise.
34828         * posix/setlogin.c: Likewise.
34829         * posix/setpgid.c: Likewise.
34830         * posix/setresgid.c: Likewise.
34831         * posix/setresuid.c: Likewise.
34832         * posix/setsid.c: Likewise.
34833         * posix/setuid.c: Likewise.
34834         * posix/sleep.c: Likewise.
34835         * posix/spawni.c: Likewise.
34836         * posix/sysconf.c: Likewise.
34837         * posix/times.c: Likewise.
34838         * posix/wait.c: Likewise.
34839         * posix/wait3.c: Likewise.
34840         * posix/wait4.c: Likewise.
34841         * posix/waitpid.c: Likewise.
34842         * resolv/gai_sigqueue.c: Likewise.
34843         * resource/getpriority.c: Likewise.
34844         * resource/getrlimit.c: Likewise.
34845         * resource/getrusage.c: Likewise.
34846         * resource/nice.c: Likewise.
34847         * resource/setpriority.c: Likewise.
34848         * resource/setrlimit.c: Likewise.
34849         * resource/ulimit.c: Likewise.
34850         * rt/aio_cancel.c: Likewise.
34851         * rt/aio_fsync.c: Likewise.
34852         * rt/aio_read.c: Likewise.
34853         * rt/aio_sigqueue.c: Likewise.
34854         * rt/aio_suspend.c: Likewise.
34855         * rt/aio_write.c: Likewise.
34856         * rt/clock_getres.c: Likewise.
34857         * rt/clock_gettime.c: Likewise.
34858         * rt/clock_nanosleep.c: Likewise.
34859         * rt/clock_settime.c: Likewise.
34860         * rt/lio_listio.c: Likewise.
34861         * rt/mq_close.c: Likewise.
34862         * rt/mq_getattr.c: Likewise.
34863         * rt/mq_notify.c: Likewise.
34864         * rt/mq_open.c: Likewise.
34865         * rt/mq_receive.c: Likewise.
34866         * rt/mq_send.c: Likewise.
34867         * rt/mq_setattr.c: Likewise.
34868         * rt/mq_timedreceive.c: Likewise.
34869         * rt/mq_timedsend.c: Likewise.
34870         * rt/mq_unlink.c: Likewise.
34871         * rt/shm_open.c: Likewise.
34872         * rt/shm_unlink.c: Likewise.
34873         * rt/timer_create.c: Likewise.
34874         * rt/timer_delete.c: Likewise.
34875         * rt/timer_getoverr.c: Likewise.
34876         * rt/timer_gettime.c: Likewise.
34877         * rt/timer_settime.c: Likewise.
34878         * setjmp/__longjmp.c: Likewise.
34879         * setjmp/setjmp.c: Likewise.
34880         * signal/kill.c: Likewise.
34881         * signal/killpg.c: Likewise.
34882         * signal/raise.c: Likewise.
34883         * signal/sigaction.c: Likewise.
34884         * signal/sigaltstack.c: Likewise.
34885         * signal/sigblock.c: Likewise.
34886         * signal/sigignore.c: Likewise.
34887         * signal/sigintr.c: Likewise.
34888         * signal/signal.c: Likewise.
34889         * signal/sigpause.c: Likewise.
34890         * signal/sigpending.c: Likewise.
34891         * signal/sigqueue.c: Likewise.
34892         * signal/sigreturn.c: Likewise.
34893         * signal/sigset.c: Likewise.
34894         * signal/sigsetmask.c: Likewise.
34895         * signal/sigstack.c: Likewise.
34896         * signal/sigsuspend.c: Likewise.
34897         * signal/sigtimedwait.c: Likewise.
34898         * signal/sigvec.c: Likewise.
34899         * signal/sigwait.c: Likewise.
34900         * signal/sigwaitinfo.c: Likewise.
34901         * signal/sysv_signal.c: Likewise.
34902         * socket/accept.c: Likewise.
34903         * socket/accept4.c: Likewise.
34904         * socket/bind.c: Likewise.
34905         * socket/connect.c: Likewise.
34906         * socket/getpeername.c: Likewise.
34907         * socket/getsockname.c: Likewise.
34908         * socket/getsockopt.c: Likewise.
34909         * socket/isfdtype.c: Likewise.
34910         * socket/listen.c: Likewise.
34911         * socket/recv.c: Likewise.
34912         * socket/recvfrom.c: Likewise.
34913         * socket/recvmsg.c: Likewise.
34914         * socket/send.c: Likewise.
34915         * socket/sendmsg.c: Likewise.
34916         * socket/sendto.c: Likewise.
34917         * socket/setsockopt.c: Likewise.
34918         * socket/shutdown.c: Likewise.
34919         * socket/sockatmark.c: Likewise.
34920         * socket/socket.c: Likewise.
34921         * socket/socketpair.c: Likewise.
34922         * stdio-common/ctermid.c: Likewise.
34923         * stdio-common/cuserid.c: Likewise.
34924         * stdio-common/remove.c: Likewise.
34925         * stdio-common/rename.c: Likewise.
34926         * stdio-common/renameat.c: Likewise.
34927         * stdio-common/tempname.c: Likewise.
34928         * stdlib/getcontext.c: Likewise.
34929         * stdlib/makecontext.c: Likewise.
34930         * stdlib/setcontext.c: Likewise.
34931         * stdlib/swapcontext.c: Likewise.
34932         * stdlib/system.c: Likewise.
34933         * streams/fattach.c: Likewise.
34934         * streams/fdetach.c: Likewise.
34935         * streams/getmsg.c: Likewise.
34936         * streams/getpmsg.c: Likewise.
34937         * streams/putmsg.c: Likewise.
34938         * streams/putpmsg.c: Likewise.
34939         * sysdeps/unix/bsd/getpt.c: Likewise.
34940         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34941         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34942         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34944         Likewise.
34945         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34946         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34947         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34948         * sysvipc/msgctl.c: Likewise.
34949         * sysvipc/msgget.c: Likewise.
34950         * sysvipc/msgrcv.c: Likewise.
34951         * sysvipc/msgsnd.c: Likewise.
34952         * sysvipc/semctl.c: Likewise.
34953         * sysvipc/semget.c: Likewise.
34954         * sysvipc/semop.c: Likewise.
34955         * sysvipc/semtimedop.c: Likewise.
34956         * sysvipc/shmat.c: Likewise.
34957         * sysvipc/shmctl.c: Likewise.
34958         * sysvipc/shmdt.c: Likewise.
34959         * sysvipc/shmget.c: Likewise.
34960         * termios/tcdrain.c: Likewise.
34961         * termios/tcflow.c: Likewise.
34962         * termios/tcflush.c: Likewise.
34963         * termios/tcgetattr.c: Likewise.
34964         * termios/tcgetpgrp.c: Likewise.
34965         * termios/tcsendbrk.c: Likewise.
34966         * termios/tcsetattr.c: Likewise.
34967         * termios/tcsetpgrp.c: Likewise.
34968         * time/adjtime.c: Likewise.
34969         * time/clock.c: Likewise.
34970         * time/getitimer.c: Likewise.
34971         * time/gettimeofday.c: Likewise.
34972         * time/setitimer.c: Likewise.
34973         * time/settimeofday.c: Likewise.
34974         * time/stime.c: Likewise.
34975         * time/time.c: Likewise.
34976
34977 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
34978
34979         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34980         /usr/old/bin.
34981
34982         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34983         instead of spaces.
34984         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34985
34986 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
34987
34988         [BZ #14796]
34989         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34990         FE_TONEAREST before applying Dekker multiplication and Knuth
34991         addition.  Clear inexact exceptions and check for exact zero
34992         results afterwards.
34993         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34994         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34995         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34996         * math/libm-test.inc (fma_test): Add more tests.
34997         (fma_test_towardzero): Likewise.
34998         (fma_test_downward): Likewise.
34999         (fma_test_upward): Likewise.
35000         * sysdeps/generic/math_private.h (default_libc_fesetround): New
35001         function.
35002         (libc_fesetround): New macro.
35003         (libc_fesetroundf): Likewise.
35004         (libc_fesetroundl): Likewise.
35005         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35006         function.
35007         (libc_fesetround_387): Likewise.
35008         (libc_fesetroundf): New macro.
35009         (libc_fesetround): Likewise.
35010         (libc_fesetroundl): Likewise.
35011         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35012         function.
35013         (libc_fesetroundf): New macro.
35014         (libc_fesetround): Likewise.
35015         (libc_fesetroundl): Likewise.
35016         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35017         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35018         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35019         libm_hidden_ver.
35020         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35021         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35022         libm_hidden_def.
35023         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35024         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35025         libm_hidden_ver.
35026         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35027         libm_hidden_def.
35028
35029         [BZ #3439]
35030         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35031         integer constant usable in #if and use that to give value to enum
35032         constant.
35033         (FE_DIVBYZERO): Likewise.
35034         (FE_UNDERFLOW): Likewise.
35035         (FE_OVERFLOW): Likewise.
35036         (FE_INVALID): Likewise.
35037         (FE_INVALID_SNAN): Likewise.
35038         (FE_INVALID_ISI): Likewise.
35039         (FE_INVALID_IDI): Likewise.
35040         (FE_INVALID_ZDZ): Likewise.
35041         (FE_INVALID_IMZ): Likewise.
35042         (FE_INVALID_COMPARE): Likewise.
35043         (FE_INVALID_SOFTWARE): Likewise.
35044         (FE_INVALID_SQRT): Likewise.
35045         (FE_INVALID_INTEGER_CONVERSION): Likewise.
35046         (FE_TONEAREST): Likewise.
35047         (FE_TOWARDZERO): Likewise.
35048         (FE_UPWARD): Likewise.
35049         (FE_DOWNWARD): Likewise.
35050         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35051         (FE_DIVBYZERO): Likewise.
35052         (FE_OVERFLOW): Likewise.
35053         (FE_UNDERFLOW): Likewise.
35054         (FE_INEXACT): Likewise.
35055         (FE_TONEAREST): Likewise.
35056         (FE_DOWNWARD): Likewise.
35057         (FE_UPWARD): Likewise.
35058         (FE_TOWARDZERO): Likewise.
35059         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35060         (FE_UNDERFLOW): Likewise.
35061         (FE_OVERFLOW): Likewise.
35062         (FE_DIVBYZERO): Likewise.
35063         (FE_INVALID): Likewise.
35064         (FE_TONEAREST): Likewise.
35065         (FE_TOWARDZERO): Likewise.
35066         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35067         (FE_OVERFLOW): Likewise.
35068         (FE_UNDERFLOW): Likewise.
35069         (FE_DIVBYZERO): Likewise.
35070         (FE_INEXACT): Likewise.
35071         (FE_TONEAREST): Likewise.
35072         (FE_TOWARDZERO): Likewise.
35073         (FE_UPWARD): Likewise.
35074         (FE_DOWNWARD): Likewise.
35075         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35076         (FE_DIVBYZERO): Likewise.
35077         (FE_OVERFLOW): Likewise.
35078         (FE_UNDERFLOW): Likewise.
35079         (FE_INEXACT): Likewise.
35080         (FE_TONEAREST): Likewise.
35081         (FE_DOWNWARD): Likewise.
35082         (FE_UPWARD): Likewise.
35083         (FE_TOWARDZERO): Likewise.
35084
35085 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
35086
35087         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35088
35089 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
35090
35091         * scripts/cross-test-ssh.sh (command): Use newlines to separate
35092         commands.  Quote $PWD.
35093         (blacklist_exports): Don't use remove_newlines.  Replace "declare
35094         -x" by "export".
35095         (remove_newlines): Remove.
35096
35097 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
35098
35099         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35100         * stdlib/stdlib.h (atof): Moved to ...
35101         * include/bits/stdlib-float.h: Here.  New file.
35102         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35103         * stdlib/bits/stdlib-float.h: New file.
35104         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35105         -mno-sse -mno-mmx.
35106         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35107         <xmmintrin.h>.
35108
35109 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35110
35111         * conform/conformtest.pl (@headers): Add fenv.h.
35112         * conform/data/fenv.h-data: New file.
35113         * include/fenv.h [_ISOMAC]: Disable all contents of file except
35114         include of <math/fenv.h>.
35115
35116         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35117         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35118         && !UNIX98].  Enables tests for XOPEN2K8.
35119         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35120         POSIX2008]: Likewise.
35121
35122         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35123         (struct rusage): Do not expect type or its members.
35124
35125         [BZ #3439]
35126         * math/math.h (FP_NAN): Define macro to integer constant usable in
35127         #if and use that to give value to enum constant.
35128         (FP_INFINITE): Likewise.
35129         (FP_ZERO): Likewise.
35130         (FP_SUBNORMAL): Likewise.
35131         (FP_NORMAL): Likewise.
35132
35133 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
35134
35135         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35136         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35137         arguments.
35138
35139 2012-11-02  Roland McGrath  <roland@hack.frob.com>
35140
35141         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35142         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35143         autoconf-time if not.
35144         * configure.in: Remove AC_PREREQ.
35145
35146 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35147
35148         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35149         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35150         of the internal implementation.
35151
35152 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35153
35154         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35155         except include of <misc/sys/syslog.h>.
35156
35157 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35158
35159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35160         function returns with a NULL context exit with zero.
35161
35162 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35163
35164         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35165
35166 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
35167
35168         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35169         (run_program_cmd): This.
35170         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35171         (tst_langinfo): New variable.  Use it.
35172
35173 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
35174
35175         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35176         floating point opcodes.
35177
35178 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35179
35180         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35181         variable.
35182
35183         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35184
35185         * sysdeps/mach/hurd/powerpc: Remove directory.
35186         * sysdeps/mach/powerpc: Likewise.
35187
35188 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35189
35190         * scripts/check-local-headers.sh: Ignore c++ headers.
35191
35192 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35193
35194         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35195         __libc_cleanup_region_start argument.
35196
35197 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
35198
35199         [BZ #14784]
35200         [BZ #14785]
35201         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35202         x * y using scaling, not as x * y + z.
35203         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35204         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35205         * math/libm-test.inc (fma_test): Add more tests.
35206         (fma_test_towardzero): Likewise.
35207         (fma_test_downward): Likewise.
35208         (fma_test_upward): Likewise.
35209
35210 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35211
35212         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35213
35214 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35215
35216         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35217         New variable.
35218
35219 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
35220
35221         * rt/tst-shm.c (worker): Correct checking for mmap failure.
35222
35223 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35224
35225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35226         Fix sort order.
35227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35228         Likewise.
35229
35230 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35231
35232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35233         Fix the order of the list for glibc 2.17.
35234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35235         Likewise.
35236
35237 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35238
35239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35240
35241 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35242
35243         [BZ #14610]
35244         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35245         for low part of x being zero before using __atanl (y).
35246         * math/libm-test.inc (atan2_test): Add another test.
35247
35248         * manual/install.texi (Configuring and compiling): Document
35249         general use of test-wrapper and test-wrapper-env.
35250         * INSTALL: Regenerated.
35251
35252         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35253         (__fma): Do not extract and scale down low bits on after-rounding
35254         systems when result rounded to normal precision would have normal
35255         exponent.
35256         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35257         (__fmal): Do not extract and scale down low bits on after-rounding
35258         systems when result rounded to normal precision would have normal
35259         exponent.
35260         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35261         (__fmal): Do not extract and scale down low bits on after-rounding
35262         systems when result rounded to normal precision would have normal
35263         exponent.
35264         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35265         macro.
35266         (fma_test): Add more tests.
35267         (fma_test_towardzero): Likewise.
35268         (fma_test_downward): Likewise.
35269         (fma_test_upward): Likewise.
35270
35271 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
35272
35273         * sysdeps/i386/tininess.h: Renamed to ...
35274         * sysdeps/x86/tininess.h: This.
35275         * sysdeps/x86_64/tininess.h: Removed.
35276
35277 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35278
35279         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35280         input.  Use $(build-program-cmd).
35281         ($(objpfx)tst-array1-static.out): Likewise.
35282         ($(objpfx)tst-array2.out): Likewise.
35283         ($(objpfx)tst-array3.out): Likewise.
35284         ($(objpfx)tst-array4.out): Likewise.
35285         ($(objpfx)tst-array5.out): Likewise.
35286         ($(objpfx)tst-array5-static.out): Likewise.
35287
35288 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
35289
35290         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35291         if defined.
35292
35293         * nss/nsswitch.h (nss_interface_function): Provide new
35294         macro for use with NSS functions.
35295         * grp/initgroups.c: Use new macro.
35296         * nss/getXXbyYY.c: Likewise.
35297         * nss/getXXbyYY_r.c: Likewise.
35298         * nss/getXXent.c: Likewise.
35299         * nss/getXXent_r.c: Likewise.
35300         * sysdeps/posix/getaddrinfo.c: Likewise.
35301
35302 2012-10-30  Andreas Jaeger  <aj@suse.de>
35303
35304         * po/ru.po: Update Russion translation from translation project.
35305
35306 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35307
35308         [BZ #14152]
35309         [BZ #14783]
35310         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35311         result and shift together with sticky bit instead of replicating
35312         round-to-nearest rounding.
35313         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35314         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35315         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
35316         missing underflow exceptions.
35317         (fma_test_towardzero): Add more tests.
35318         (fma_test_downward): Likewise.
35319         (fma_test_upward): Likewise.
35320
35321         [BZ #14047]
35322         * sysdeps/generic/tininess.h: New file.
35323         * sysdeps/i386/tininess.h: Likewise.
35324         * sysdeps/sh/tininess.h: Likewise.
35325         * sysdeps/x86_64/tininess.h: Likewise.
35326         * stdlib/tst-strtod-underflow.c: Likewise.
35327         * stdlib/tst-tininess.c: Likewise.
35328         * stdlib/strtod_l.c: Include <tininess.h>.
35329         (round_and_return): Do not set errno for exact underflow cases.
35330         Force an underflow exception when setting errno for underflow.
35331         Determine underflow based on rounding to normal precision if
35332         TININESS_AFTER_ROUNDING.
35333         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35334         ERANGE for exact underflow cases.
35335         * stdlib/Makefile (tests): Add tst-tininess and
35336         tst-strtod-underflow.
35337         ($(objpfx)tst-tininess): Use $(link-libm).
35338         ($(objpfx)tst-strtod-underflow): Likewise.
35339
35340 2012-10-30  Andreas Jaeger  <aj@suse.de>
35341
35342         [BZ#14767]
35343         * elf/Makefile (tests): Remove conditional for have-initfini-array
35344         since this is now always required and the variable does not exist
35345         anymore.
35346         (tests-static): Likewise.
35347         (modules-names): Likewise.
35348
35349         * po/eo.po: Add Esperanto translation from translation project.
35350
35351         * elf/tst-array1.c (fini_array): Make writeable so that it can be
35352         merged with constructor/destructor.
35353         (init_array): Likewise.
35354         * elf/tst-array2dep.c (fini_array): Likewise.
35355         (init_array): Likewise.
35356
35357 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
35358
35359         * manual/message.texi: Delete @cartouche tags.
35360
35361 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
35362
35363         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35364         EOPNOTSUPP.
35365         * sysdeps/mach/hurd/fsync.c: Likewise.
35366
35367         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35368         [_POSIX_REALTIME_SIGNALS]: Change condition to
35369         [_POSIX_REALTIME_SIGNALS > 0].
35370
35371 2012-10-27  Andreas Jaeger  <aj@suse.de>
35372
35373         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35374         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35375         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35376         [__WORDSIZE != 64]: Likewise.
35377
35378 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
35379
35380         *  iconvdata/tst-table.sh: Remove ${SHELL}.
35381         *  iconvdata/tst-tables.sh: Likewise.
35382
35383 2012-10-25  David S. Miller  <davem@davemloft.net>
35384
35385         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35386         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35387         of strtoull.
35388
35389         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35390         ifunc-impl-list.c
35391         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35392         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35393         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35394         file.
35395
35396 2012-10-25  Roland McGrath  <roland@hack.frob.com>
35397
35398         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35399         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35400         __getdirentries.
35401
35402 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35403             Jim Blandy  <jimb@codesourcery.com>
35404
35405         * scripts/cross-test-ssh.sh: New file.
35406         * manual/install.texi (Configuring and compiling): Document use of
35407         cross-test-ssh.sh.
35408         * INSTALL: Regenerated.
35409
35410 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
35411
35412         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35413         EOPNOTSUPP.
35414
35415 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35416
35417         * Makeconfig (run-program-prefix): Fix comment.
35418
35419 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35420             Jim Blandy  <jimb@codesourcery.com>
35421
35422         * Makeconfig (test-wrapper): New variable,
35423         (test-wrapper-env): Likewise.
35424         [$(cross-compiling) = yes && $(test-wrapper) != ""]
35425         (run-built-tests): Define to yes.
35426         (run-program-prefix): Use $(test-wrapper).
35427         (built-program-cmd): Likewise.
35428         * Rules (make-test-out): Use $(test-wrapper-env) and
35429         $(host-built-program-cmd).
35430         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35431         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35432         tst-pathopt.sh.
35433         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35434         $(test-wrapper-env) to tst-rtld-load-self.sh.
35435         ($(objpfx)order2.out): Use $(test-wrapper).
35436         ($(objpfx)tst-initorder.out): Likewise.
35437         ($(objpfx)tst-initorder2.out): Likewise.
35438         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35439         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35440         (test_wrapper_env): New variable.  Use it to run ld.so.
35441         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35442         Use it to run ld.so.
35443         (test_wrapper_env): Likewise.
35444         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35445         $(test-wrapper) to run-iconv-test.sh.
35446         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35447         (ICONV): Use $test_wrapper.
35448         * posix/Makefile ($(objpfx)globtest.out): Pass
35449         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35450         globtest.sh, not $(run-program-prefix).
35451         * posix/globtest.sh (run_via_rtld_prefix): New variable.
35452         (test_wrapper): Likewise.
35453         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
35454         set together with run_via_rtld_prefix.
35455         (run_program_prefix): Define in terms of test_wrapper and
35456         run_via_rtld_prefix.
35457
35458 2012-10-24  Roland McGrath  <roland@hack.frob.com>
35459
35460         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35461         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35462         Targets removed.
35463
35464         [BZ #14743]
35465         * include/time.h: Remove librt_hidden_proto (clock_gettime).
35466         Declare __clock_getres, __clock_gettime, __clock_settime,
35467         __clock_nanosleep, and __clock_getcpuclockid.
35468         * rt/clock_gettime.c: Define __clock_gettime as an alias.
35469         Remove librt_hidden_def (clock_gettime).
35470         * sysdeps/unix/clock_gettime.c: Likewise.
35471         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35472         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35473         * rt/clock_getres.c: Define __clock_getres as an alias.
35474         * sysdeps/posix/clock_getres.c: Likewise.
35475         * rt/clock_settime.c: Define __clock_settime as an alias.
35476         * sysdeps/unix/clock_settime.c: Likewise.
35477         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35478         * sysdeps/unix/clock_nanosleep.c: Likewise.
35479         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35480         * rt/clock-compat.c: New file.
35481         * rt/Makefile (librt-routines): Add clock-compat and move
35482         $(clock-routines) to ...
35483         (routines): ... here, new variable.
35484         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35485         Don't add get_clockfreq here.
35486         * rt/Versions (libc: GLIBC_2.17): New version set.
35487         Add clock_* symbols here.
35488         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
35489         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35490         (GLIBC_2.17): Add clock_* symbols.
35491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35492         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35493         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35495         Likewise.
35496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35497         Likewise.
35498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35499         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35502         * NEWS: Mention the move.
35503
35504         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35505         Use __open, __read, __close rather than their public counterparts.
35506         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35507         (__get_clockfreq_via_cpuinfo): Likewise.
35508         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35509         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35510
35511         * config.h.in (HAVE_IFUNC): New #undef.
35512         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35513         was successful.
35514         * configure: Regenerated.
35515
35516 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35517
35518         * configure.in: Move READELF check to start of file.
35519         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35520         libc_cv_asm_gnu_indirect_function in the process.
35521         * configure: Regenerated.
35522
35523 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35524
35525         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35526         send the output to /dev/null.
35527         (libc_cv_cc_with_libunwind): Likewise.
35528         (libc_cv_as_noexecstack): Likewise.
35529         * configure: Regenerate.
35530
35531 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35532
35533         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35534
35535         * posix/globtest.sh (TMPDIR): Do not set.
35536         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35537         (testout): Likewise.
35538
35539 2012-10-24  Andreas Jaeger  <aj@suse.de>
35540
35541         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35542         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35543         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35544         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35545         posix_fadvise64, posix_fallocate64.
35546
35547         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35548         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35549         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35550         Likewise.
35551         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35552         Likewise.
35553         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35554
35555         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35556         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35557         <bits/fcntl-linux.h>.
35558         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35559
35560         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35561         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35562         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35563         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35564         [__WORDSIZE != 64]: Likewise.
35565
35566 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35567
35568         * Makeconfig (run-built-tests): New variable.
35569         * Rules [$(cross-compiling) = yes]: Change condition to
35570         [$(run-built-tests) = no].
35571         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35572         to [$(run-built-tests) = yes].
35573         * elf/Makefile [$(cross-compiling) = no]: Likewise
35574         * grp/Makefile [$(cross-compiling) = no]: Likewise.
35575         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35576         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35577         * intl/Makefile [$(cross-compiling) = no]: Likewise.
35578         * io/Makefile [$(cross-compiling) = no]: Likewise.
35579         * libio/Makefile [$(cross-compiling) = no]: Likewise.
35580         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35581         * misc/Makefile [$(cross-compiling) = no]: Likewise.
35582         * posix/Makefile [$(cross-compiling) = no]: Likewise.
35583         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35584         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35585         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35586         * string/Makefile [$(cross-compiling) = no]: Likewise.
35587
35588         * posix/Makefile ($(objpfx)globtest.out): Pass
35589         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35590         $(rtld-installed-name).
35591         * posix/globtest.sh (elf_objpfx): Remove variable.
35592         (rtld_installed_name): Likewise.
35593         (library_path): Likewise.
35594         (run_program_prefix): New variable.  Use for running globtest
35595         binary.
35596
35597 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
35598             Joseph Myers  <joseph@codesourcery.com>
35599
35600         * Makeconfig (host-built-program-cmd): New variable.
35601         * elf/Makefile (tst-stackguard1-ARGS): Use
35602         $(host-built-program-cmd).
35603         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35604         (tst-spawn-ARGS): Likewise.
35605         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35606
35607 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35608             Jim Blandy  <jimb@codesourcery.com>
35609
35610         * Makeconfig (run-via-rtld-prefix): New variable.
35611         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35612         (built-program-cmd): Likewise.
35613
35614 2012-10-22  Andreas Jaeger  <aj@suse.de>
35615
35616         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35617         __O_RSYNC if it exists, otherwise to O_SYNC.
35618
35619 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
35620             Joseph Myers  <joseph@codesourcery.com>
35621
35622         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35623         /dev/null.
35624         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35625         from /dev/null
35626         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35627         /dev/null.
35628
35629 2012-10-22  Andreas Jaeger  <aj@suse.de>
35630
35631         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35632         Define always.
35633         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35634
35635         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35636         bits/fcntl-linux.h.
35637
35638         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35639         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35640
35641         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35642         to __O_LARGEFILE.
35643         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35644         to __O_LARGEFILE.
35645
35646 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
35647             Joseph Myers  <joseph@codesourcery.com>
35648
35649         * config.make.in (NM): New variable.
35650
35651 2012-10-21  Andreas Jaeger  <aj@suse.de>
35652
35653         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35654         definitions and declarations that are provided by
35655         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35656
35657 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35658
35659         [BZ #14683]
35660         * elf/Makefile (tests-static): Add tst-leaks1-static.
35661         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35662         ($(objpfx)tst-leaks1-static): New rule.
35663         ($(objpfx)tst-leaks1-static-mem): Likewise.
35664         (tst-leaks1-static-ENV): New macro.
35665         * elf/dl-open.c (dl_open_worker): Check the main application
35666         only if SHARED is defined.
35667         * elf/tst-leaks1-static.c: New file.
35668
35669 2012-10-20  Andreas Jaeger  <aj@suse.de>
35670
35671         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35672         generic values for Linux.
35673         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35674         and declarations that are provided by <bits/fcntl-linux.h> and
35675         include <bits/fcntl-linux.h>.
35676         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35677         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35678
35679 2012-10-20  Roland McGrath  <roland@hack.frob.com>
35680
35681         * io/fcntl.h: Move include of <bits/types.h> to the top and
35682         include it unconditionally.
35683
35684 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35685
35686         * wcsmbs/Makefile (tests-ifunc): New variable.
35687         (tests): Add $(tests-ifunc).
35688         * wcsmbs/test-wcschr-ifunc.c: New file.
35689         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35690         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35691         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35692         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35693         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35694
35695         * string/Makefile (tests-ifunc): New variable.
35696         (tests): Add $(tests-ifunc).
35697         * string/test-memccpy.c (TEST_NAME): New macro.
35698         * string/test-memchr.c (TEST_NAME): Likewise.
35699         * string/test-memcmp.c (TEST_NAME): Likewise.
35700         * string/test-memcpy.c (TEST_NAME): Likewise.
35701         * string/test-memmem.c (TEST_NAME): Likewise.
35702         * string/test-memmove.c (TEST_NAME): Likewise.
35703         * string/test-memset.c (TEST_NAME): Likewise.
35704         * string/test-rawmemchr.c (TEST_NAME): Likewise.
35705         * string/test-stpcpy.c (TEST_NAME): Likewise.
35706         * string/test-stpncpy.c (TEST_NAME): Likewise.
35707         * string/test-strcasecmp.c (TEST_NAME): Likewise.
35708         * string/test-strcasestr.c (TEST_NAME): Likewise.
35709         * string/test-strcat.c (TEST_NAME): Likewise.
35710         * string/test-strchr.c (TEST_NAME): Likewise.
35711         * string/test-strcmp.c(TEST_NAME): Likewise.
35712         * string/test-strcpy.c (TEST_NAME): Likewise.
35713         * string/test-strcspn.c (TEST_NAME): Likewise.
35714         * string/test-strlen.c (TEST_NAME): Likewise.
35715         * string/test-strncasecmp.c (TEST_NAME): Likewise.
35716         * string/test-strncmp.c (TEST_NAME): Likewise.
35717         * string/test-strncpy.c (TEST_NAME): Likewise.
35718         * string/test-strnlen.c (TEST_NAME): Likewise.
35719         * string/test-strpbrk.c (TEST_NAME): Likewise.
35720         * string/test-strrchr.c (TEST_NAME): Likewise.
35721         * string/test-strspn.c (TEST_NAME): Likewise.
35722         * string/test-strstr.c (TEST_NAME): Likewise.
35723         * string/test-bcopy-ifunc.c: New file.
35724         * string/test-bzero-ifunc.c: Likewise.
35725         * string/test-memccpy-ifunc.c: Likewise.
35726         * string/test-memchr-ifunc.c: Likewise.
35727         * string/test-memcmp-ifunc.c: Likewise.
35728         * string/test-memcpy-ifunc.c: Likewise.
35729         * string/test-memmem-ifunc.c: Likewise.
35730         * string/test-memmove-ifunc.c: Likewise.
35731         * string/test-mempcpy-ifunc.c: Likewise.
35732         * string/test-memset-ifunc.c: Likewise.
35733         * string/test-rawmemchr-ifunc.c: Likewise.
35734         * string/test-stpcpy-ifunc.c: Likewise.
35735         * string/test-stpncpy-ifunc.c: Likewise.
35736         * string/test-strcasecmp-ifunc.c: Likewise.
35737         * string/test-strcasestr-ifunc.c: Likewise.
35738         * string/test-strcat-ifunc.c: Likewise.
35739         * string/test-strchr-ifunc.c: Likewise.
35740         * string/test-strchrnul-ifunc.c: Likewise.
35741         * string/test-strcmp-ifunc.c: Likewise.
35742         * string/test-strcpy-ifunc.c: Likewise.
35743         * string/test-strcspn-ifunc.c: Likewise.
35744         * string/test-strlen-ifunc.c: Likewise.
35745         * string/test-strncasecmp-ifunc.c: Likewise.
35746         * string/test-strncat-ifunc.c: Likewise.
35747         * string/test-strncmp-ifunc.c: Likewise.
35748         * string/test-strncpy-ifunc.c: Likewise.
35749         * string/test-strnlen-ifunc.c: Likewise.
35750         * string/test-strpbrk-ifunc.c: Likewise.
35751         * string/test-strrchr-ifunc.c: Likewise.
35752         * string/test-strspn-ifunc.c: Likewise.
35753         * string/test-strstr-ifunc.c: Likewise.
35754
35755         * debug/Makefile (tests-ifunc): New variable.
35756         (tests): Add $(tests-ifunc).
35757         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35758         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35759         * debug/test-stpcpy_chk-ifunc.c: New file.
35760         * debug/test-strcpy_chk-ifunc.c: Likewise.
35761
35762 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35763
35764         [BZ #13601]
35765         * elf/dl-load.c (open_verify): Retry read if the entire ELF
35766         header is not read in.
35767
35768 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
35769
35770         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
35771         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
35772         directly.  Pass built executable to script as
35773         $(built-program-cmd).
35774         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
35775         $testprogram without using LD_LIBRARY_PATH and $ldso.
35776
35777         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35778         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35779         $(rtld-installed-name).
35780         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35781         (rtld_installed_name): Likewise.
35782         (library_path): Likewise.
35783         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
35784         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35785         $(run-program-prefix) to tst-tables.sh.
35786         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
35787         it to run tst-table-from and tst-table-to.
35788         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35789         Pass it to tst-table.sh.
35790         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35791         $(run-program-prefix) to tst-gettext.sh.
35792         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35793         tst-translit.sh.
35794         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35795         tst-gettext2.sh.
35796         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
35797         to run tst-gettext.
35798         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
35799         to run tst-gettext2.
35800         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
35801         to run tst-translit.
35802         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35803         $(run-program-prefix) to tst-mtrace.sh.
35804         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
35805         to run tst-mtrace.
35806         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35807         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35808         $(rtld-installed-name).
35809         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35810         (rtld_installed_name): Likewise.
35811         (run_program_prefix): New variable.  Use it to run wordexp-test.
35812
35813         * Makeconfig (ARCH): Remove all definitions.
35814         (machine): Likewise.
35815         [ARCH]: Remove conditional code.
35816         [!objdir]: Give error.
35817         [!objdir] (objpfx): Remove.
35818         [!objdir] (common-objpfx): Likewise.
35819         [!objdir] (common-objdir): Likewise.
35820         * configure.in (config_makefile): Remove.  Hardcode Makefile in
35821         AC_CONFIG_FILES call.
35822         * configure: Regenerated.
35823
35824         [BZ #13888]
35825         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35826         or TMPDIR.
35827         (testout): Likewise.
35828
35829         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35830         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35831         $(rtld-installed-name).
35832         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35833         (rtld_installed_name): Likwise.
35834         (runit): Remove function.
35835         (run_getconf): New variable,  Use it for running getconf binary.
35836
35837 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
35838
35839         [BZ #14716]
35840         * string/test-memmem.c (check_result): New function.
35841         (do_one_test): Use it.
35842         (check1): New function.
35843         (test_main): Use it.
35844
35845 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
35846
35847         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35848
35849 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
35850
35851         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35852         (_G_LSEEK64): Likewise.
35853         (_G_MMAP64): Likewise.
35854         (_G_FSTAT64): Likewise.
35855         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35856         (_G_LSEEK64): Likewise.
35857         (_G_MMAP64): Likewise.
35858         (_G_FSTAT64): Likewise.
35859         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35860         unconditional.  Call __mmap64 directly.
35861         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35862         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
35863         __lseek64 directly.
35864         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35865         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
35866         __mmap64 directly.
35867         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35868         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
35869         __lseek64 directly.
35870         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35871         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
35872         __lseek64 directly.
35873         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35874         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
35875         __lseek64 directly.
35876         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35877         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
35878         __fxstat64 directly.
35879         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35880         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35881         unconditional.
35882         (freopen64) [!_G_OPEN64]: Remove conditional code.
35883         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35884         unconditional.
35885         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35886         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35887         unconditional.
35888         (ftello64) [!_G_LSEEK64]: Remove conditional code.
35889         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35890         unconditional.
35891         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35892         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35893         unconditional.
35894         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35895         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35896         unconditional.
35897         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35898         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35899         unconditional.
35900         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35901         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35902         unconditional.
35903         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35904
35905 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35906
35907         [BZ #12140]
35908         * manual/memory.texi (Malloc Tunable Parameters): Add note
35909         about free list pointers overwriting some perturb bytes.
35910         Wording suggested by Roland McGrath.
35911
35912 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
35913
35914         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35915         (lgamma_test): Likewise.
35916         (tgamma_test): Likewise.
35917
35918 2012-10-16  Florian Weimer  <fweimer@redhat.com>
35919
35920         [BZ #14700]
35921         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35922         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35923
35924 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
35925
35926         * NEWS: Mention BZ #14716.
35927         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35928         when removing AVAILABLE1_USES_J macro.
35929
35930 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
35931
35932         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35933         (__bswap_64): __uint64_t for unsigned 64-bit int.
35934
35935 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
35936
35937         * include/string.h (memmem): Declare libc hidden alias.
35938         * string/memmem.c (memmem): Define libc hidden alias.
35939         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35940         __read, __close instead of open, read, close.
35941
35942 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
35943
35944         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35945         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35946         global and hidden.
35947         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35948         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35949         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35950         Likewise.
35951         (__rawmemchr_sse2): Likewise.
35952         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35953         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35954         (__strchr_sse2): Likewise.
35955         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35956         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35957         (__strcasecmp_sse2): Likewise.
35958         (__strncasecmp_sse2): Likewise.
35959         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35960         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35961         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35962         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35963         (__strrchr_sse2): Likewise.
35964         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35965         ifunc-impl-list.c.
35966         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35967         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35968         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35969         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35970         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35971         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35972         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35973         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35974         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35975         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35976         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35977         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35978         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35979         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35980         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35981         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35982         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35983         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35984         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35985         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35986         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35987         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35988         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35989         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35990         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35991         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35992         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35993         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35994         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35995         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35996
35997         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35998         global and hidden.
35999         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36000         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36001         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36002         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36003         Likewise.
36004         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36005         Likewise.
36006         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36007         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36008         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36009         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36010         ifunc-impl-list.c.
36011         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36012         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36013         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36014         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36015         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36016         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36017         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36018         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36019         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36020         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36021         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36022         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36023         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36024         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36025         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36026         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36027         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36028         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36029         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36030         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36031         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36032         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36033         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36034         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36035         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36036         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36037         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36038         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36039         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36040         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36041         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36042         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36043         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36044         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36045         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36046         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36047         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36048         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36049         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36050         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36051         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36052
36053         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36054         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36055         * include/ifunc-impl-list.h: New file.
36056         * misc/ifunc-impl-list.c: Likewise.
36057         * misc/Makefile (routines): Add ifunc-impl-list.
36058         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36059         * string/test-string.h: Include <ifunc-impl-list.h>.
36060         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36061         TEST_NAME]: New variables.
36062         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36063         are defined.
36064         (test_init): Call __libc_ifunc_impl_list to initialize
36065         func_list if TEST_IFUNC and TEST_NAME are defined.
36066
36067         * string/Makefile (strop-tests): Add bcopy and bzero.
36068         * string/test-bcopy.c: New file.
36069         * string/test-bzero.c: Likewise.
36070         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36071         defined.
36072         * string/test-memset.c: Support bzero test if TEST_BZERO is
36073         defined.
36074         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36075         __libc_memmove.
36076         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36077         __libc_memset.
36078         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36079         of memset.
36080
36081 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
36082
36083         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36084         * configure: Regenerated.
36085
36086         * Makeconfig (+link-static-before-libc): Don't include
36087         $(link-static-libc).
36088
36089         * libio/libio.h (_IO_pos_t): Remove.
36090
36091 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36092
36093         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
36094         McGrath.
36095
36096 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36097
36098         * crypt/crypt-entry.c: Include fips-private.h.
36099         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36100         * crypt/md5c-test.c (main): Tolerate disabled MD5.
36101         * sysdeps/unix/sysv/linux/fips-private.h: New file.
36102         * sysdeps/generic/fips-private.h: New file, dummy fallback.
36103
36104 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36105
36106         * crypt/crypt-private.h: Include stdbool.h.
36107         (_ufc_setup_salt_r): Return bool.
36108         * crypt/crypt-entry.c: Include errno.h.
36109         (__crypt_r): Return NULL with EINVAL for bad salt.
36110         * crypt/crypt_util.c (bad_for_salt): New.
36111         (_ufc_setup_salt_r): Check that salt is long enough and within
36112         the specified alphabet.
36113         * crypt/badsalttest.c: New file.
36114         * crypt/Makefile (tests): Add it.
36115         ($(objpfx)badsalttest): New.
36116
36117 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
36118
36119         * NEWS: Add entry for BZ #14602.
36120
36121 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36122
36123         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36124         type-generic.
36125         * math/libm-test.inc: Update comment listing what functions and
36126         macros are tested.
36127         (isgreater_test): New function.
36128         (isgreaterequal_test): Likewise.
36129         (isless_test): Likewise.
36130         (islessequal_test): Likewise.
36131         (islessgreater_test): Likewise.
36132         (isunordered_test): Likewise.
36133         (main): Call the new functions.
36134
36135 2012-10-09  Roland McGrath  <roland@hack.frob.com>
36136
36137         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36138         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36139         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36140         * sysdeps/i386/configure: Regenerated.
36141         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36142         * sysdeps/mach/configure: Regenerated.
36143         * sysdeps/mach/hurd/configure: Regenerated.
36144         * sysdeps/powerpc/configure: Regenerated.
36145         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36146         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36147         * sysdeps/s390/s390-32/configure: Regenerated.
36148         * sysdeps/s390/s390-64/configure: Regenerated.
36149         * sysdeps/sh/configure: Regenerated.
36150         * sysdeps/sparc/configure: Regenerated.
36151         * sysdeps/unix/sysv/linux/configure: Regenerated.
36152         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36153         * sysdeps/x86_64/configure: Regenerated.
36154
36155         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36156         defined.  Don't check if MAP is NULL.
36157
36158 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36159
36160         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36161         (_G_stat64): Likewise.
36162         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36163         (_G_stat64): Likewise.
36164         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36165         instead of struct _G_stat64.
36166         * libio/fileops.c (mmap_remap_check): Likewise.
36167         (decide_maybe_mmap): Likewise.
36168         (_IO_new_file_seekoff): Likewise.
36169         (_IO_file_stat): Likewise.
36170         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36171         _G_off64_t.
36172         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36173         instead of struct _G_stat64.
36174         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36175
36176 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
36177
36178         [BZ #14602]
36179         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36180         Replace with ...
36181         (CHECK_EOL): New macro.
36182         (two_way_short_needle): Check beginning of haystack for EOL.  Use
36183         CHECK_EOL.
36184         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36185         Replace with CHECK_EOL.
36186         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36187         Replace with CHECK_EOL.
36188
36189 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
36190
36191         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36192         type-generic.
36193         * math/libm-test.inc: Update comment listing what functions and
36194         macros are tested.
36195         (finite_test): New function.
36196         (isinf_test): Likewise.
36197         (isnan_test): Likewise.
36198         (fpclassify_test): Test subnormal input.
36199         (isfinite_test): Likewise.
36200         (isnormal_test): Likewise.
36201         (main): Call the new functions.
36202
36203 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
36204
36205         [BZ #14660]
36206         * Makerules (%.dynsym): Force C locale when running
36207         $(OBJDUMP) --dynamic-syms.
36208
36209 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
36210
36211         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36212         <stdint.h>.
36213
36214 2012-10-06  David S. Miller  <davem@davemloft.net>
36215
36216         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36217         upper 32-bits of the length value in %o2 since we use branch-on-register
36218         tests which consider the entire 64-bit register.
36219
36220 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
36221
36222         * string/test-strstr.c (check2): Add a test for page boundary.
36223
36224 2012-10-05  David S. Miller  <davem@davemloft.net>
36225
36226         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36227         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36228         file.
36229         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36230         sysdep_routines.
36231         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36232         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36233         and bzero when HWCAP_SPARC_CRYPTO is present.
36234
36235 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
36236
36237         [BZ #14602]
36238         * string/test-strstr.c (check2): New function.
36239         (test_main): Call check2.
36240
36241         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36242         and bug-strchr1.
36243         * string/bug-strcasestr1.c (do_test): Moved to ...
36244         * string/test-strcasestr.c (check1): Here.  New function.
36245         (do_one_test): Break out result checking code into ...
36246         (check_result): This.  New function.
36247         (do_one_test): Call check_result.
36248         (test_main): Call check1.
36249         * string/bug-strchr1.c (do_test): Moved to ...
36250         * string/test-strchr.c (check1): Here.  New function.
36251         (do_one_test): Break out result checking code into ...
36252         (check_result): This.  New function.
36253         (do_one_test): Call check_result.
36254         (test_main): Call check1.
36255         * string/bug-strstr1.c (main): Moved to ...
36256         * string/test-strstr.c (check1): Here.  New function.
36257         (do_one_test): Break out result checking code into ...
36258         (check_result): This.  New function.
36259         (do_one_test): Call check_result.
36260         (test_main): Call check1.
36261         * string/bug-strcasestr1.c: Removed.
36262         * string/bug-strchr1.c: Likewise.
36263         * string/bug-strstr1.c: Likewise.
36264
36265         * elf/Makefile (dl-routines): Add hwcaps.
36266         * elf/dl-support.c (_dl_important_hwcaps): Removed.
36267         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36268         (_dl_important_hwcaps): Moved to ...
36269         * elf/dl-hwcaps.c: Here.  New file.
36270         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36271
36272         [BZ #14557]
36273         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36274         if IS_IN_rtld isn't defined.
36275
36276         * elf/dl-support.c (_dl_sysinfo_map): New.
36277         Include "get-dynamic-info.h" and "setup-vdso.h".
36278         (_dl_non_dynamic_init): Call setup_vdso.
36279         * elf/dynamic-link.h: Don't include <assert.h>.
36280         (elf_get_dynamic_info): Moved to ...
36281         * elf/get-dynamic-info.h: Here.  New file.
36282         * elf/dynamic-link.h: Include "get-dynamic-info.h".
36283         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36284         * elf/setup-vdso.h: Here.  New file.
36285         * elf/rtld.c: Include "setup-vdso.h".
36286         (dl_main): Call setup_vdso.
36287
36288 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
36289
36290         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36291         creal in comment listing functions tested.  List finite, isinf,
36292         isnan, isless, islessequal, isgreater, isgreaterequal,
36293         islessgreater, isunordered, lgamma_r and pow10 as functions and
36294         macros not tested.  Mention which functions not tested are aliases
36295         for other functions.  Fix typo.  Note that signs of NaNs are not
36296         tested.
36297
36298         * scripts/config.guess: Update from config.git.
36299         * scripts/config.sub: Likewise.
36300
36301 2012-10-04  Roland McGrath  <roland@hack.frob.com>
36302
36303         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36304         * misc/madvise.c (madvise): Renamed to __madvise.
36305         Make madvise a weak alias.
36306         * include/sys/mman.h: Declare __madvise.
36307         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36308         * sysdeps/unix/syscalls.list
36309         (madvise): Make __madvise the strong name, and madvise a weak alias.
36310         * sysdeps/unix/sysv/linux/syscalls.list
36311         (madvise, mmap): Remove redundant entries.
36312         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36313         * malloc/malloc.c (mtrim): Likewise.
36314         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36315
36316 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36317
36318         * sysdeps/mach/hurd/dl-cache.c: File removed.
36319         * config.h.in (USE_LDCONFIG): New #undef.
36320         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36321         * configure: Regenerated.
36322         * elf/Makefile (dl-routines): Add dl-cache only under
36323         [$(use-ldconfig) = yes].
36324         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36325         cache on [USE_LDCONFIG].
36326         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36327         [USE_LDCONFIG].
36328         * elf/rtld.c (dl_main): Likewise.
36329
36330 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
36331
36332         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36333         _SC_LEVEL4_CACHE_LINESIZE.
36334
36335 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36336
36337         * sysdeps/unix/bsd/confstr.h: File removed.
36338
36339 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
36340
36341         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36342         sys/sdt-config.h.
36343
36344 2012-10-02  Roland McGrath  <roland@hack.frob.com>
36345
36346         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36347         Make 'mapoff' field ElfW(Off) rather than off_t.
36348
36349 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
36350
36351         * nscd/Makefile: Remove nscd-cflags and all its users.
36352         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36353         (CFLAGS-nonlib): Add compiler flags for nscd modules.
36354
36355         [BZ #10631]
36356         * malloc.c (malloc_printerr): Clarify error message.
36357
36358 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
36359
36360         [BZ #14648]
36361         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36362         Set bit_FMA_Usable if FMA is supported.
36363         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36364         macro.
36365         (bit_FMA4_Usable): Updated.
36366         (index_FMA_Usable): New macro.
36367         (CPUID_FMA): Likewise
36368         (HAS_FMA): Defined with bit_FMA_Usable.
36369
36370 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36371
36372         * bits/types.h (__swblk_t): Type removed.
36373         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36374         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36375         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36376         (__SWBLK_T_TYPE): Likewise.
36377         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36378         (__SWBLK_T_TYPE): Likewise.
36379         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36380         (__SWBLK_T_TYPE): Likewise.
36381         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36382         (__SWBLK_T_TYPE): Likewise.
36383
36384 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
36385             Honza Horak <hhorak@redhat.com>
36386
36387         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36388         (xdr_mapname): Use YPMAXMAP as maxsize.
36389         (xdr_peername): Use YPMAXPEER as maxsize.
36390         (xdr_keydat): Use YPAXRECORD as maxsize.
36391         (xdr_valdat): Use YPMAXRECORD as maxsize.
36392
36393 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36394
36395         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36396
36397         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36398         * csu/init-first.c: ... here.
36399         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36400         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36401         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36402         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36403         * sysdeps/i386/init-first.c: File removed.
36404         * sysdeps/sh/init-first.c: File removed.
36405
36406 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
36407
36408         [BZ #14645]
36409         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36410         if x * y might underflow to zero and z is zero.
36411         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36412         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36413         * math/libm-test.inc (min_subnorm_value): New variable.
36414         (fma_test): Add more tests.
36415         (fma_test_towardzero): Likewise.
36416         (fma_test_downward): Likewise
36417         (fma_test_upward): Likewise.
36418         (initialize): Set min_subnorm_value.
36419
36420 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
36421
36422         [BZ #14638]
36423         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36424         0 + 0.
36425         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36426         mode for addition resulting in exact zero.
36427         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36428         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36429         exact 0 + 0.
36430         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36431         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36432         * math/libm-test.inc (fma_test): Add more tests.
36433         (fma_test_towardzero): New function.
36434         (fma_test_downward): Likewise.
36435         (fma_test_upward): Likewise.
36436         (main): Call the new functions.
36437
36438 2012-09-28  David S. Miller  <davem@davemloft.net>
36439
36440         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36441
36442 2012-09-28  Roland McGrath  <roland@hack.frob.com>
36443
36444         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36445         instead of SIGALRM.
36446
36447         * sysdeps/gnu/_G_config.h: Moved to ...
36448         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36449         * sysdeps/mach/hurd/_G_config.h: Moved to ...
36450         * sysdeps/generic/_G_config.h: ... here.
36451
36452         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
36453
36454         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36455
36456         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36457         Conditionalize target on [libnss_test1.so-version].
36458
36459         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36460
36461         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36462         (elfobjdir): Move out of conditionals.
36463
36464         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36465         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36466         (__nss_lookup_function): Conditionalize label remove_from_tree on
36467         [!DO_STATIC_NSS || SHARED], matching its only use.
36468
36469 2012-09-28  David S. Miller  <davem@davemloft.net>
36470
36471         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36472         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36473         file.
36474         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36475         sysdep_routines.
36476         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36477         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36478         when HWCAP_SPARC_CRYPTO is present.
36479
36480 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36481
36482         * io/tst-mknodat.c: Create a FIFO instead of a socket.
36483
36484 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
36485
36486         [BZ #6530]
36487         * stdio-common/vfprintf.c (process_string_arg): Revert
36488         2000-07-22 change.
36489
36490 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
36491
36492         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36493         for testcase.
36494         * stdio-common/tst-sprintf.c: Include <locale.h>
36495         (main): Test sprintf's handling of incomplete multibyte
36496         characters.
36497
36498 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
36499
36500         * elf/dl-runtime.c (VERSYMIDX): Removed.
36501         * elf/dl-version.c (VERSYMIDX): Likewise.
36502         * elf/do-rel.h (VERSYMIDX): Likewise.
36503         (VALIDX): Likewise.
36504         * elf/dynamic-link.h (VERSYMIDX): Likewise.
36505         * elf/rtld.c (VALIDX): Likewise.
36506         (ADDRIDX): Likewise.
36507         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36508         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36509         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36510         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36511         (VALIDX): Likewise.
36512         (ADDRIDX): Likewise.
36513
36514 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36515
36516         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36517
36518 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
36519
36520         [BZ #11438]
36521         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36522         to global scope.
36523         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36524         addresses are in the same scope as 192.0.2/24.
36525         * posix/gai.conf: Document new scope table defaults.
36526
36527 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36528
36529         [BZ #5298]
36530         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36531         for ftell.  Compute offsets from write pointers instead.
36532         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36533
36534 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36535
36536         [BZ #14543]
36537         * libio/Makefile (tests): New test case tst-fseek.
36538         * libio/tst-fseek.c: New test case to verify that fseek/ftell
36539         combination works in wide mode.
36540         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36541         state when the external buffer state changes.
36542
36543 2012-09-27  David S. Miller  <davem@davemloft.net>
36544
36545         [BZ #14376]
36546         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36547         pass reloc->r_addend in as the 'high' argument to
36548         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36549
36550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36551
36552 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36553
36554         * rt/tst-aio2.c: Include <pthread.h>.
36555         * rt/tst-aio3.c: Likewise.
36556
36557 2012-09-27  Steve Ellcey  <sellcey@mips.com>
36558
36559         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36560
36561 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
36562
36563         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36564         contents on [SHARED].
36565
36566 2012-09-26  Marek Polacek  <polacek@redhat.com>
36567
36568         [BZ #14530]
36569         [BZ #13741]
36570         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36571         for C++ and GCC <4.3 as well as for non GCC compilers.
36572
36573 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36574
36575         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36576
36577 2012-09-25  Roland McGrath  <roland@hack.frob.com>
36578
36579         * Makefile.in (all, install): Declare with .PHONY.
36580         Reported by Michael Hope <michael.hope@linaro.org>.
36581
36582 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36583
36584         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36585         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36586         system header.
36587         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36588         Likewise.
36589         (sydep_routines): Add the new and the internal functions.
36590         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36591         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36593         (GLIBC_2.17): Add the new function.
36594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36595         (GLIBC_2.17): Likewise.
36596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36597         (GLIBC_2.17): Likewise.
36598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36599         (GLIBC_2.17): Likewise.
36600         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36601
36602 2012-09-25  Alan Modra  <amodra@gmail.com>
36603
36604         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36605         Add release barrier before setting once_control to say
36606         initialisation is done.  Add hints on lwarx.  Use macro in
36607         place of isync.
36608         (clear_once_control): Add release barrier.
36609
36610 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36611
36612         [BZ #13629]
36613         * math/s_clog.c (__clog): Handle more values close to |z| = 1
36614         specially.
36615         * math/s_clog10.c (__clog10): Likewise.
36616         * math/s_clog10f.c (__clog10f): Likewise.
36617         * math/s_clog10l.c (__clog10l): Likewise.
36618         * math/s_clogf.c (__clogf): Likewise.
36619         * math/s_clogl.c (__clogl): Likewise.
36620         * math/Makefile (libm-calls): Add x2y2m1.
36621         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36622         (__x2y2m1): Likewise.
36623         (__x2y2m1l): Likewise.
36624         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36625         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36626         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36627         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36628         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36629         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36630         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36631         * sysdeps/i386/fpu/libm-test-ulps: Update.
36632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36633
36634         [BZ #14621]
36635         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36636         int as type of variable DEPTH.
36637         (glob): Use size_t instead of int as type of variables NEWCOUNT
36638         and OLD_PATHC.
36639
36640 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36641
36642         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36643         Add s_sincosf-sse2.
36644         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36645         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36646         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36647         macros for using routine as __sincosf_ia32.
36648         Use macro for function declaration and weak_alias.
36649         * sysdeps/i386/fpu/libm-test-ulps: Update.
36650
36651         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36653
36654         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36655         subnormal argument.
36656         * math/s_cexpf.c (__cexpf): Likewise.
36657         * math/s_csinf.c (__csinf): Likewise.
36658         * math/s_csinhf.c (__csinhf): Likewise.
36659         * math/s_ctanf.c (__ctanf): Likewise.
36660         * math/s_ctanhf.c (__ctanhf): Likewise.
36661         * math/s_ccosh.c (__ccoshf): Likewise.
36662         * math/s_cexp.c (__cexpl): Likewise.
36663         * math/s_csin.c (__csin): Likewise.
36664         * math/s_csinh.c (__csinh): Likewise.
36665         * math/s_ctan.c (__ctan): Likewise.
36666         * math/s_ctanh.c (ctanh): Likewise.
36667         * math/s_ccoshl.c (__ccoshl): Likewise.
36668         * math/s_cexpl.c (__cexpl): Likewise.
36669         * math/s_csinl.c (__csinl): Likewise.
36670         * math/s_csinhl.c (__csinhl): Likewise.
36671         * math/s_ctanl.c (__ctanl): Likewise.
36672         * math/s_ctanhl.c (__ctanhl): Likewise.
36673
36674 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36675
36676         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36677         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36678         (_IO_off_t): Define to __off_t, not _G_off_t.
36679         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36680         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36681         (_IO_wint_t): Define to wint_t, not _G_wint_t.
36682         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36683         type of __dummy and __dummy2 fields.
36684         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36685         (_G_ssize_t): Likewise.
36686         (_G_off_t): Likewise.
36687         (_G_pid_t): Likewise.
36688         (_G_uid_t): Likewise.
36689         (_G_wchar_t): Likewise.
36690         (_G_wint_t): Likewise.
36691         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36692         (_G_ssize_t): Likewise.
36693         (_G_off_t): Likewise.
36694         (_G_pid_t): Likewise.
36695         (_G_uid_t): Likewise.
36696         (_G_wchar_t): Likewise.
36697         (_G_wint_t): Likewise.
36698         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36699         (_G_ssize_t): Likewise.
36700         (_G_off_t): Likewise.
36701         (_G_pid_t): Likewise.
36702         (_G_uid_t): Likewise.
36703         (_G_wchar_t): Likewise.
36704         (_G_wint_t): Likewise.
36705
36706 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36707
36708         * malloc/arena.c: Include malloc-sysdep.h.
36709         (shrink_heap): Use check_may_shrink_heap to decide if madvise
36710         is sufficient to shrink the heap or an unmap is needed.
36711         * sysdeps/generic/malloc-sysdep.h: New file.  Define
36712         new function check_may_shrink_heap.
36713         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
36714         new function check_may_shrink_heap.
36715
36716 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36717
36718         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36719         comments.
36720
36721 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
36722
36723         * catgets/test-gencat.sh: Add "set -e".
36724         * elf/tst-pathopt.sh: Likewise.
36725         * grp/tst_fgetgrent.sh: Likewise.
36726         * iconvdata/run-iconv-test.sh: Likewise.
36727         * intl/tst-gettext.sh: Likewise.
36728         * intl/tst-gettext2.sh: Likewise.
36729         * intl/tst-gettext4.sh: Likewise.
36730         * intl/tst-gettext6.sh: Likewise.
36731         * intl/tst-translit.sh: Likewise.
36732         * io/ftwtest-sh: Likewise.
36733         * libio/test-freopen.sh: Likewise.
36734         * malloc/tst-mtrace.sh: Likewise.
36735         * posix/globtest.sh: Likewise.
36736         * posix/tst-getconf.sh: Likewise.
36737         * posix/wordexp-tst.sh: Likewise.
36738         * stdio-common/tst-printf.sh: Likewise.
36739         * stdio-common/tst-unbputc.sh: Likewise.
36740         * stdlib/tst-fmtmsg.sh: Likewise.
36741         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36742         * catgets/Makefile: Do not specify -e option when running
36743         testsuite shell scripts.
36744         * elf/Makefile: Likewise.
36745         * grp/Makefile: Likewise.
36746         * iconvdata/Makefile: Likewise.
36747         * intl/Makefile: Likewise.
36748         * io/Makefile: Likewise.
36749         * libio/Makefile: Likewise.
36750         * malloc/Makefile: Likewise.
36751         * posix/Makefile: Likewise.
36752         * stdio-common/Makefile: Likewise.
36753         * stdlib/Makefile: Likewise.
36754         * sysdeps/x86_64/Makefile: Likewise.
36755
36756         * io/ftwtest-sh: Add copyright header.
36757         * posix/globtest.sh: Likewise.
36758         * posix/tst-getconf.sh: Likewise.
36759         * posix/wordexp-tst.sh: Likewise.
36760         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36761
36762 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
36763
36764         [BZ #13679]
36765         * Makeconfig (+link): Defined as $(+link-static) if
36766         $(build-shared) isn't yes.
36767         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36768         isn't yes.
36769         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36770
36771         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36772
36773         [BZ #14562]
36774         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36775         new chunk size with MALLOC_ALIGN_MASK.
36776
36777 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
36778
36779         [BZ #5044]
36780         * stdio-common/printf_fphex.c: Include <stdbool.h> and
36781         <rounding-mode.h>.
36782         (__printf_fphex): Determine rounding using get_rounding_mode and
36783         round_away.
36784         * stdio-common/tst-printf-round.c (struct hex_test): New
36785         structure.
36786         (hex_tests): New variable.
36787         (test_hex_in_one_mode): New function.
36788         (do_test): Also run tests for hex float output.
36789
36790 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
36791
36792         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36793         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36794         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36795         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36796         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36797         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36798         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36799         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36800
36801 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
36802
36803         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36804         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36805         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36806         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36807
36808 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
36809
36810         [BZ #14579]
36811         * elf/rtld.c (dl_main): Limit the check for self loading to normal
36812         mode only.
36813         * elf/tst-rtld-load-self.sh: New test.
36814         * elf/Makefile: Run it.
36815
36816 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
36817
36818         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36819         (tst-writev-ENV): Remove.
36820         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36821
36822 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
36823
36824         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36825
36826 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
36827
36828         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36829         unconditional.
36830         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36831         Likewise.
36832         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36833         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36834         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36835         Likewise.
36836
36837 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
36838
36839         [BZ #14587]
36840         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36841         * config.make.in (have-cpp-asm-debuginfo): Removed.
36842         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36843         * configure: Regenerated.
36844
36845 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
36846
36847         [BZ #5044]
36848         * stdio-common/printf_fp.c: Include <stdbool.h> and
36849         <rounding-mode.h>.
36850         (___printf_fp): Determine rounding using get_rounding_mode and
36851         round_away.
36852         * stdio-common/tst-printf-round.c: New file.
36853         * stdio-common/Makefile (tests): Add tst-printf-round.
36854         (link-libm): New variable.
36855         ($(objpfx)tst-printf-round): Depend in $(link-libm).
36856
36857 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
36858
36859         [BZ #14576]
36860         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36861         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36862         Likewise.
36863         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36864         Likewise.
36865
36866 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
36867
36868         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36869         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36870         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36871         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36872
36873 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
36874
36875         [BZ #14518]
36876         * include/rounding-mode.h: New file.
36877         * sysdeps/generic/get-rounding-mode.h: Likewise.
36878         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36879         * stdlib/strtod_l.c: Include <rounding-mode.h>.
36880         (MAX_VALUE): New macro.
36881         (MIN_VALUE): Likewise.
36882         (overflow_value): New function.
36883         (underflow_value): Likewise.
36884         (round_and_return): Use overflow_value and underflow_value to
36885         determine return values in overflow and underflow cases.  Use
36886         round_away to determine rounding depending on rounding mode.
36887         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36888         determine return values in overflow and underflow cases.
36889         * stdlib/tst-strtod-round.c: Include <fenv.h>.
36890         (struct test_results): New structure.
36891         (struct test): Use struct test_results to store expected results
36892         for all rounding modes.
36893         (TEST): Include expected results for all rounding modes.
36894         (test_in_one_mode): New function.
36895         (do_test): Use test_in_one_mode to compute and check results.
36896         Check results for all rounding modes.
36897         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36898         $(link-libm).
36899
36900 2012-12-09  Allan McRae  <allan@archlinux.org>
36901
36902         * sysdeps/i386/fpu/libm-test-ulps: Update
36903
36904 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
36905
36906         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36907         (_G_int32_t): Likewise.
36908         (_G_uint16_t): Likewise.
36909         (_G_uint32_t): Likewise.
36910         (_G_HAVE_BOOL): Likewise.
36911         (_G_HAVE_ATEXIT): Likewise.
36912         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36913         (_G_HAVE_IO_FILE_OPEN): Likewise.
36914         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36915         (_G_int32_t): Likewise.
36916         (_G_uint16_t): Likewise.
36917         (_G_uint32_t): Likewise.
36918         (_G_HAVE_BOOL): Likewise.
36919         (_G_HAVE_ATEXIT): Likewise.
36920         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36921         (_G_HAVE_IO_FILE_OPEN): Likewise.
36922         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36923         (_G_int32_t): Likewise.
36924         (_G_uint16_t): Likewise.
36925         (_G_uint32_t): Likewise.
36926         (_G_HAVE_BOOL): Likewise.
36927         (_G_HAVE_ATEXIT): Likewise.
36928         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36929         (_G_HAVE_IO_FILE_OPEN): Likewise.
36930
36931 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
36932
36933         * csu/libc-tls.c: Update copyright years.
36934
36935 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
36936
36937         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36938         [!_G_USING_THUNKS]: Remove conditional code.
36939         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36940         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36941
36942         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36943         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36944         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36945         (_G_VTABLE_LABEL_PREFIX): Likewise.
36946         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36947         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36948         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36949         (_G_VTABLE_LABEL_PREFIX): Likewise.
36950         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36951         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36952         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36953         (_G_VTABLE_LABEL_PREFIX): Likewise.
36954         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36955
36956 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
36957
36958         * libio/Makefile: Include ../Makeconfig before tests.
36959         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36960         only if $(build-shared) is yes.
36961
36962         * iconv/gconv_db.c: Update copyright years.
36963
36964 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36965
36966         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36967         unwind info if defined PIC. Fix special cases description.
36968         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36969
36970         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36971         DP_HI_MASK entry.
36972         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36973
36974 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
36975
36976         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36977
36978         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36979         is NULL.
36980
36981         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36982         (LDLIBS-tst-chk4): This.
36983         (LDFLAGS-tst-chk5): Renamed to ...
36984         (LDLIBS-tst-chk5): This.
36985         (LDFLAGS-tst-chk6): Renamed to ...
36986         (LDLIBS-tst-chk6): This.
36987         (LDFLAGS-tst-lfschk4): Renamed to ...
36988         (LDLIBS-tst-lfschk4): This.
36989         (LDFLAGS-tst-lfschk5): Renamed to ...
36990         (LDLIBS-tst-lfschk5): This.
36991         (LDFLAGS-tst-lfschk6): Renamed to ...
36992         (LDLIBS-tst-lfschk6): This.
36993
36994         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36995         on $(common-objpfx)soversions.mk.
36996
36997 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
36998
36999         [BZ #10014]
37000         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37001         example host name.
37002
37003 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37004
37005         * malloc/arena.c (arena_get_retry): New function that gets
37006         another arena for the caller to try its request on.
37007         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37008         current arena cannot fulfill the request.
37009         (__libc_memalign): Likewise.
37010         (__libc_memalign): Likewise.
37011         (__libc_pvalloc): Likewise.
37012         (__libc_calloc): Likewise.
37013
37014 2012-09-05  John Tobey  <john.tobey@gmail.com>
37015
37016         [BZ #13542]
37017         * manual/arith.texi (Operations on Complex): Fix description
37018         of carg branch cut.
37019
37020 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37021
37022         [BZ #10014]
37023         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37024         host name.
37025
37026         [BZ #10038]
37027         * manual/memory.texi (Memory): Make order of menu items match
37028         order of sections.
37029
37030 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37031
37032         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37033         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
37034         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37035
37036 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37037
37038         * csu/libc-tls.c (static_dtv): Renamed to ...
37039         (_dl_static_dtv): This.  Make it global.
37040         (_dl_initial_dtv): Removed.
37041         (__libc_setup_tls): Updated.
37042         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37043         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37044         DL_INITIAL_DTV.
37045
37046 2012-09-06  Petr Machata  <pmachata@redhat.com>
37047
37048         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37049         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37050         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37051         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37052
37053 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37054
37055         [BZ #14545]
37056         * csu/libc-tls.c (_dl_initial_dtv): New variable.
37057         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37058         freeing dtv[-1].
37059
37060 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37061
37062         [BZ #14544]
37063         * Makeconfig (link-static-before-libc): Replace $(+prector)
37064         with $(+prectorT).
37065         (link-static-after-libc): Replace $(+postctor) with
37066         $(+postctorT).
37067         (link-bounded): Replace $(+prector)/$(+postctor) with
37068         $(+prectorT)/$(+postctorT).
37069         (+prectorT): New macro.
37070         (+postctorT): Likewise.
37071
37072 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37073
37074         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37075         (round_str): Handle values above the maximum for IBM long double
37076         as inexact.
37077         * stdlib/tst-strtod-round.c (tests): Regenerated.
37078
37079 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37080
37081         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37082         assembler flag.
37083         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37084         zarch_nohighgprs around the zarch optimized routines.
37085         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37086         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37087         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37088         for zarch.
37089
37090 2012-09-05  David S. Miller  <davem@davemloft.net>
37091
37092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37093
37094         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37095         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37096         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37097         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37098         entries.
37099
37100 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37101
37102         * malloc/arena.c: Fold copyright years.
37103         * malloc/mcheck.c, malloc/memusage.c: Likewise.
37104
37105 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37106
37107         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37108
37109 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37110
37111         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
37112
37113 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37114
37115         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37116         change internal state upon failure.
37117
37118 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37119
37120         * malloc/mcheck.c (mcheck_check_all): Fix typo.
37121         * malloc/memusage.c (mmap): Likewise.
37122         (mmap64, mremap): Likewise.  Adjust name in comment.
37123
37124 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37125
37126         * libio/fileops.c: Fix typos in comments.
37127         * libio/oldfileops.c: Likewise.
37128         * libio/wfileops.c: Likewise.
37129
37130 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37131
37132         [BZ #1349]
37133         * malloc/Makefile (tests): Add tst-malloc-usable test case.
37134         (tst-malloc-usable-ENV): Set environment for test case.
37135         * malloc/hooks.c (malloc_check_get_size): New function to get
37136         requested size.
37137         * malloc/malloc.c (musable): Use malloc_check_get_size.
37138         * malloc/tst-malloc-usable.c: New test case.
37139
37140 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37141
37142         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37143
37144 2012-09-05  Allan McRae  <allan@archlinux.org>
37145
37146         [BZ #13966]
37147         * configure.in (CXX_SYSINCLUDES): Use compiler output to
37148         determine header location.
37149         * configure: Regenerated.
37150
37151 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37152
37153         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37154         float format.
37155         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37156         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37157         format.
37158         (test): Regenerate.
37159
37160 2012-09-04  David S. Miller  <davem@davemloft.net>
37161
37162         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37163         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37164         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37165
37166 2012-09-04  Florian Weimer  <fweimer@redhat.com>
37167
37168         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37169         failures.
37170
37171         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37172
37173 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
37174
37175         [BZ #9914]
37176         * libio/iogetdelim.c: Include <limits.h>.
37177         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37178         + len + 1 would overflow.
37179
37180 2012-09-03  Andreas Jaeger  <aj@suse.de>
37181
37182         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37183         * sysdeps/i386/fpu/libm-test-ulps: Update.
37184
37185 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37186
37187         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37188         Add s_sinf-sse2, s_conf-sse2.
37189
37190         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37191         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37192         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37193         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37194
37195         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37196         for using routine as __sinf_ia32.
37197         Use macro for function declaration and weak_alias.
37198         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37199         for using routine as __cosf_ia32.
37200         Use macro for function declaration and weak_alias.
37201
37202         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37203         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37204
37205         * sysdeps/x86_64/fpu/s_sinf.S: New file.
37206         * sysdeps/x86_64/fpu/s_cosf.S: New file.
37207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37208
37209         * math/libm-test.inc (cos_test): Add more test cases.
37210         (sin_test): Likewise.
37211         (sincos_test): Likewise.
37212
37213 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37214
37215         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37216         (IFUNC_RESOLVE): Make pointers to the specialized implementations
37217         hidden.
37218         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37219
37220 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
37221
37222         [BZ #14538]
37223         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37224         first element of the GOT.
37225         (elf_machine_load_address): Return the difference between
37226         the runtime address of _DYNAMIC and elf_machine_dynamic ().
37227
37228 2012-09-01  Allan McRae  <allan@archlinux.org>
37229
37230         [BZ #13412]
37231         * configure.in (AWK): Require gawk version 3.0 or later.
37232         * configure: Regenerated.
37233
37234 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
37235
37236         * sysdeps/unix/sysv/linux/kernel-features.h
37237         (__ASSUME_POSIX_CPU_TIMERS): Remove.
37238         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37239         [__NR_clock_getres]: Make code unconditional.
37240         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37241         (clock_getcpuclockid): Remove code left unreachable by removal of
37242         conditionals.
37243         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37244         code unconditional.
37245         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37246         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37247         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37248         Make code unconditional.
37249         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37250         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37251         * sysdeps/unix/sysv/linux/clock_settime.c
37252         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37253         conditional code.
37254         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37255         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37256
37257 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
37258
37259         [BZ #14476]
37260         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37261         scripts/test-installation.pl.
37262
37263         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37264         and $ld_so_version if it is set.
37265
37266 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37267
37268         [BZ #14516]
37269         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37270         failure if reading from procfs failed.
37271         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37272
37273 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37274
37275         * sysdeps/unix/sysv/linux/kernel-features.h
37276         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37277         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37278         Remove conditional code.
37279         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37280         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37281         Remove conditional code.
37282         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37283         * sysdeps/unix/sysv/linux/i386/fxstat.c
37284         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37285         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37286         * sysdeps/unix/sysv/linux/i386/fxstatat.c
37287         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37288         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37289         * sysdeps/unix/sysv/linux/i386/lxstat.c
37290         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37291         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37292         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37293         Remove conditional code.
37294         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37295         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37296         Remove conditional code.
37297         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37298         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37299         <kernel-features.h>.
37300         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37301         Remove.
37302         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37303         Remove conditional code.
37304         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37305         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37306         Remove conditional.
37307
37308 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
37309
37310         [BZ #5400]
37311         * NEWS: Add fixed bug number.
37312
37313 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37314
37315         [BZ #14519]
37316         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37317         underflowing exponent in case of negative sign.
37318         * stdlib/tst-strtod-round-data: Add more tests.
37319         * stdlib/tst-strtod-round.c (tests): Regenerated.
37320
37321         [BZ #3479]
37322         * stdlib/strtod_l.c (NDIG): Remove.
37323         (HEXNDIG): Likewise.
37324         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37325         smallest representable value.
37326         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37327         lie within an exact representation of 1/2 ulp of the result.
37328         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37329         unconditionally.
37330         (TENS_P9_IDX): Define unconditionally.
37331         (TENS_P9_SIZE): Likewise.
37332         (TENS_P10_IDX): Likewise.
37333         (TENS_P10_SIZE): Likewise.
37334         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37335         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37336         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37337         entries for 10^2^13 and 10^2^14.
37338         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37339         (TENS_P13_IDX): Define.
37340         (TENS_P13_SIZE): Likewise.
37341         (TENS_P14_IDX): Likewise.
37342         (TENS_P14_SIZE): Likewise.
37343         (_fpioconst_pow10): Change array size to
37344         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
37345         unconditional.
37346         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37347         1024]: Add entries for 10^2^13 and 10^2^14.
37348         [LAST_POW10 > _LAST_POW10]: Remove #error.
37349         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37350         (_fpioconst_pow10): Change array size to
37351         FPIOCONST_POW10_ARRAY_SIZE.
37352         * stdlib/gen-fpioconst.c: New file.
37353         * stdlib/gen-tst-strtod-round.c: Likewise.
37354         * stdlib/tst-strtod-round-data: Likewise.
37355         * stdlib/tst-strtod-round.c: Likewise.
37356         * stdlib/Makefile (tests): Add tst-strtod-round.
37357
37358         [BZ #14459]
37359         * stdlib/strtod_l.c: Include <stdint.h>.
37360         (NDEBUG): Do not define.
37361         (round_and_return): Change EXPONENT parameter to type intmax_t.
37362         Rearrange calculations to avoid internal overflow possibilities.
37363         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37364         Rearrange calculations to avoid internal overflow possibilities.
37365         Assert that number fits inside MPNSIZE limbs.
37366         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37367         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
37368         calculations and add assertions to avoid internal overflow
37369         possibilities.  Add casts to avoid signed/unsigned operations.
37370         * stdlib/tst-strtod-overflow.c: New file.
37371         * stdlib/Makefile (tests): Add tst-strtod-overflow.
37372
37373 2012-08-25  Marek Polacek  <polacek@redhat.com>
37374
37375         * time/time.h: Fix some typos in comments.
37376
37377 2012-08-23  Roland McGrath  <roland@hack.frob.com>
37378
37379         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37380         * posix/tst-rfc3484-2.c: Likewise.
37381         * posix/tst-rfc3484-3.c: Likewise.
37382
37383 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
37384
37385         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37386         (EF_ARM_ABI_FLOAT_HARD): Likewise.
37387
37388 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
37389
37390         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37391         #include of fxstatat64.c.
37392
37393 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37394
37395         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37396         * shadow/getspent_r.c: Likewise.
37397         * shadow/getspnam.c: Likewise.
37398         * shadow/getspnam_r.c: Likewise.
37399         * gshadow/getsgent.c: Likewise.
37400         * gshadow/getsgent_r.c: Likewise.
37401         * gshadow/getsgnam.c: Likewise.
37402         * gshadow/getsgnam_r.c: Likewise.
37403         * inet/getnetbyad.c: Likewise.
37404         * inet/getnetbyad_r.c: Likewise.
37405         * inet/getnetbynm.c: Likewise.
37406         * inet/getnetbynm_r.c: Likewise.
37407         * inet/getnetent.c: Likewise.
37408         * inet/getnetent_r.c: Likewise.
37409         * inet/getproto.c: Likewise.
37410         * inet/getproto_r.c: Likewise.
37411         * inet/getprtent.c: Likewise.
37412         * inet/getprtent_r.c: Likewise.
37413         * inet/getprtname.c: Likewise.
37414         * inet/getprtname_r.c: Likewise.
37415         * inet/getrpcbyname.c: Likewise.
37416         * inet/getrpcbyname_r.c: Likewise.
37417         * inet/getrpcbynumber.c: Likewise.
37418         * inet/getrpcbynumber_r.c: Likewise.
37419         * inet/getrpcent.c: Likewise.
37420         * inet/getrpcent_r.c: Likewise.
37421         * inet/getaliasent.c: Likewise.
37422         * inet/getaliasent_r.c: Likewise.
37423         * inet/getaliasname.c: Likewise.
37424         * inet/getaliasname_r.c: Likewise.
37425         * nscd/getgrgid_r.c: Likewise.
37426         * nscd/getgrnam_r.c: Likewise.
37427         * nscd/gethstbyad_r.c: Likewise.
37428         * nscd/gethstbynm3_r.c: Likewise.
37429         * nscd/getpwnam_r.c: Likewise.
37430         * nscd/getpwuid_r.c: Likewise.
37431         * nscd/getsrvbynm_r.c: Likewise.
37432         * nscd/getsrvbypt_r.c: Likewise.
37433         * nscd/gai.c: Likewise.
37434
37435         * configure.in (build_nscd): New substituted variable, set
37436         by --disable-build-nscd and defaults to $use_nscd.
37437         * configure: Regenerated.
37438         * config.make.in (build-nscd): New substituted variable.
37439         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37440         Change conditional to require [$(build-nscd) = yes] as well.
37441         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37442
37443         [BZ# 13696]
37444         * configure.in (use_nscd): New substituted variable, set by
37445         --disable-nscd.  If enabled, define USE_NSCD.
37446         * configure: Regenerated.
37447         * config.h.in: Add USE_NSCD.
37448         * config.make.in (use-nscd): New substituted variable.
37449         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37450         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37451         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37452         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37453         (CFLAGS-getgrnam_r.c): Likewise.
37454         (CFLAGS-initgroups.c): Likewise.
37455         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37456         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37457         Variables removed.
37458         * inet/getnetgrent_r.c
37459         (nscd_setnetgrent): New function, broken out of ...
37460         (setnetgrent): ... here.  Call it.
37461         (innetgr): Conditionalize nscd bits on [USE_NSCD].
37462         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37463         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37464         * nscd/Makefile (routines, aux): Move definitions after include of
37465         Makeconfig.  Conditionalize on [$(use-nscd) != no].
37466         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37467         Conditionalize on [USE_NSCD].
37468         (is_nscd, nscd_init_cb): Likewise.
37469         (nss_load_library): Conditionalize init callback on [USE_NSCD].
37470         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37471         * nss/nss_db/db-init.c: Likewise.
37472         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37473         [USE_NSCD].
37474         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37475         (make_request): Use it.
37476         (cache_valid_p): New function.
37477         (__check_pf): Use it.
37478         * NEWS: Add item for --disable-nscd.
37479
37480 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
37481
37482         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37483         to support sed >= 4.2.1-20-ga9bf076.
37484         * configure: Regenerated.
37485
37486 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37487
37488         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37489         Conditionalize whole body on [IREL].
37490
37491 2012-08-22  Jeff Law <law@redhat.com>
37492
37493         [BZ #14505]
37494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37495         if the family is PF_UNSPEC.
37496
37497 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
37498
37499         * Makerules (lib-version): Rename from V.
37500         (install-lib-nosubdir): Change V to lib-version.
37501
37502 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
37503
37504         [BZ #14252]
37505         * powerpc32/power6/wcschr.c: New file.
37506         * powerpc32/power6/wcscpy.c: New file.
37507         * powerpc32/power6/wcsrchr.c: New file.
37508         * powerpc64/power6/wcschr.c: New file.
37509         * powerpc64/power6/wcscpy.c: New file.
37510         * powerpc64/power6/wcsrchr.c: New file.
37511
37512 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37513
37514         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37515         (two_way_short_needle): Use it.
37516         * string/strstr.c (AVAILABLE1_USES_J): Define.
37517         * string/strcasestr.c: Likewise.
37518
37519         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37520         array references.
37521         * string/strcasestr.c (TOLOWER): Make side-effect safe.
37522
37523         [BZ #11607]
37524         * NEWS: Add an entry.
37525         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37526         define their defaults.
37527         (two_way_short_needle): Detect end-of-string on-the-fly.
37528         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37529         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37530         * string/bug-strcasestr1.c: New test.
37531         * string/Makefile: Run it.
37532
37533 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37534
37535         [BZ #11607]
37536         * string/str-two-way.h (two_way_short_needle): Optimize matching of
37537         the first character.
37538
37539 2012-08-21  Roland McGrath  <roland@hack.frob.com>
37540
37541         * csu/elf-init.c (__libc_csu_irel): Function removed.
37542         * csu/libc-start.c (apply_irel): New function.
37543         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37544
37545 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
37546
37547         * sysdeps/unix/sysv/linux/kernel-features.h
37548         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37549         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37550         <kernel-features.h>.
37551         [__NR_fadvise64_64]: Make code unconditional.
37552         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37553         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37554         !__NR_fadvise64_64)]: Likewise.
37555         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37556         !__NR_fadvise64_64))]: Likewise.
37557         [__NR_fadvise64]: Make code unconditional.
37558         [!__NR_fadvise64]: Remove conditional code.
37559         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37560         <kernel-features.h>.
37561         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37562         unconditional.
37563         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37564         conditional code.
37565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37566         not include <kernel-features.h>.
37567         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37568         unconditional.
37569         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37570         conditional code.
37571         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37572         include <kernel-features.h>.
37573         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37574         unconditional.
37575         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37576         conditional code.
37577
37578 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
37579
37580         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37581         slight instruction rearrangements per scrollpipe analysis.
37582         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37583
37584 2012-08-20  Roland McGrath  <roland@hack.frob.com>
37585
37586         * manual/syslog.texi (syslog; vsyslog, closelog):
37587         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37588         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37589
37590         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37591         DSOCAPS to match condition on defining it.
37592
37593 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
37594
37595         * sysdeps/unix/sysv/linux/kernel-features.h
37596         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37598         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37599         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37601         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37602         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37604         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37605         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37606
37607         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37608         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37609
37610         * sysdeps/unix/sysv/linux/kernel-features.h
37611         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37612         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37613         unconditional.
37614         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37615         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37616         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37617         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37618         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37619         Make code unconditional.
37620         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37621         (__mmap64) [!__NR_mmap2]: Likewise.
37622         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37623         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37624         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37625         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37626         [__NR_mmap2]: Make code unconditional.
37627         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37628         (__mmap64) [!__NR_mmap2]: Likewise.
37629
37630 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37631
37632         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37633
37634 2012-08-18  Andreas Jaeger  <aj@suse.de>
37635
37636         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37637
37638 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37639
37640         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37641         * include/unistd.h (__have_sock_cloexec): Likewise.
37642         (__have_pipe2): Likewise.
37643         (__have_dup3): Likewise.
37644
37645 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37646
37647         [BZ #9685]
37648         * include/unistd.h (__have_pipe2): Change define into an extern int.
37649         (__have_dup3): Likewise.
37650         * socket/have_sock_cloexec.c: Include fcntl.h.
37651         (__have_pipe2): New variable.
37652         (__have_dup3): Likewise.
37653
37654 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
37655
37656         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37657
37658 2012-08-17  Marek Polacek  <polacek@redhat.com>
37659
37660         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37661         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37662
37663 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37664
37665         * configure.in: Add AC_SUBST for sysheaders.
37666         * configure: Regenerated.
37667         * config.make.in (sysheaders): New substituted variable.
37668
37669         * sysdeps/unix/mkfifo.c: Moved ...
37670         * sysdeps/posix/mkfifo.c: ... here.
37671         * sysdeps/unix/mkfifoat.c: Moved ...
37672         * sysdeps/posix/mkfifoat.c: ... here.
37673
37674         * sysdeps/unix/utime.c: Moved ...
37675         * sysdeps/posix/utime.c: ... here.
37676
37677         * sysdeps/unix/time.c: Moved ...
37678         * sysdeps/posix/time.c: ... here.
37679         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37680         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37681
37682         * sysdeps/unix/nice.c: Moved ...
37683         * sysdeps/posix/nice.c: ... here.
37684
37685         * sysdeps/unix/alarm.c: Moved ...
37686         * sysdeps/posix/alarm.c: ... here.
37687
37688         * intl/Makefile ($(codeset_mo)): Depend on the input file.
37689
37690 2012-08-17  Jeff Law <law@redhat.com>
37691
37692         * intl/Makefile (codeset_mo): New variable.
37693         ($(codeset_mo)): New target.
37694         (tst-codeset.out): Depend on that.  Remove explicit rule.
37695         (tst-gettext3.out, tst-gettext5.out): Likewise.
37696         (LOCPATH-ENV, tst-codeset-ENV): New variables.
37697         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37698         * intl/tst-codeset.sh: Remove.
37699         * intl/tst-gettext3.sh: Likewise.
37700         * intl/tst-gettext5.sh: Likewise.
37701
37702 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37703
37704         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
37705         * sysdeps/unix/syscalls.list: ... here.
37706
37707         * sysdeps/posix/getaddrinfo.c
37708         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37709         (gaiconf_init, gaiconf_reload): Use them.
37710         [!_STATBUF_ST_NSEC]
37711         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37712         Define using time_t rather than struct timespec.
37713
37714         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37715         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37716         Macros removed.
37717         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37718         [!NO_THREADS].
37719         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37720         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37721         Likewise.
37722
37723         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37724         __libc_cleanup_push argument.
37725
37726         * bits/param.h: New file.
37727         * misc/sys/param.h: New file.
37728         * include/sys/param.h: New file.
37729         * misc/Makefile (headers): Add bits/param.h.
37730         * sysdeps/generic/sys/param.h: File removed.
37731         * sysdeps/unix/sysv/linux/bits/param.h: New file.
37732         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37733         * sysdeps/mach/hurd/bits/param.h: New file.
37734         * sysdeps/mach/hurd/sys/param.h: File removed.
37735
37736         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37737         last change.
37738
37739         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37740         [_IO_MTSAFE_IO].
37741         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37742         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37743         New macros.
37744
37745         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37746         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37747         rather than -D_IO_MTSAFE_IO conditionally.
37748         * stdio-common/Makefile (CPPFLAGS): Likewise.
37749         * wcsmbs/Makefile (CPPFLAGS): Likewise.
37750         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37751         Use $(libio-mtsafe).
37752         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37753         of -D_IO_MTSAFE_IO.
37754         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37755         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37756         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37757         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37758         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37759         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37760         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37761         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37762         (CFLAGS-fread_u_chk.c): Likewise.
37763         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37764         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37765         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37766         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37767         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37768         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37769         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37770         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37771         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37772
37773         * libio/Makefile: Test [$(libc-reentrant) = yes]
37774         instead of [$(filter %REENTRANT, $(defines)) nonempty].
37775
37776         * Makeconfig
37777         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37778         * sysdeps/pthread/configure: File removed.
37779         * sysdeps/pthread/Makeconfig: New file.
37780         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37781         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37782
37783 2012-08-16  Gary Benson  <gbenson@redhat.com>
37784
37785         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37786         unmapping the first object in a namespace.
37787
37788 2012-08-16  Roland McGrath  <roland@hack.frob.com>
37789
37790         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37791         (__internal_setnetgrent): ... this.  Add internal_function to
37792         definition.  Add libc_hidden_def.
37793         (setnetgrent): Update caller.
37794         (internal_endnetgrent): Renamed to ...
37795         (__internal_endnetgrent): ... this.  Add internal_function to
37796         definition.  Add libc_hidden_def.
37797         (endnetgrent): Update caller.
37798         (internal_getnetgrent_r): Renamed to ...
37799         (__internal_getnetgrent_r): ... this.  Add internal_function to
37800         definition.  Add libc_hidden_def.
37801         (__getnetgrent_r): Update caller.
37802         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
37803
37804 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
37805
37806         * stdlib/longlong.h: Update from GCC.
37807
37808 2012-08-16  Roland McGrath  <roland@hack.frob.com>
37809
37810         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37811         on _QL, which is set by umul_ppmm but never used.
37812         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37813         variables, which are set by GMP macros but never used.
37814         * stdio-common/_itowa.c (_itowa): Likewise.
37815         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37816         * stdlib/mod_1.c (mpn_mod_1): Likewise.
37817
37818 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
37819
37820         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37821         struct La_sh_regs is not constant.
37822         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37823         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37824         and struct La_sparc64_regs are not constant.
37825
37826 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
37827
37828         * sysdeps/unix/sysv/linux/kernel-features.h
37829         (__ASSUME_POSIX_TIMERS): Remove.
37830         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37831         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37832         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37833         Make code unconditional.
37834         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37835         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37836         Make code unconditional.
37837         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37838         * sysdeps/unix/sysv/linux/clock_nanosleep.c
37839         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37840         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37841         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37842         Make code unconditional.
37843         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37844         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37845         (__libc_missing_posix_timers): Remove.
37846
37847 2012-08-15  Roland McGrath  <roland@hack.frob.com>
37848
37849         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37850         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37851
37852         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37853
37854         * elf/dl-sym.c: Include <stdlib.h>.
37855
37856         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37857         constants, which avoids warnings in 32-bit builds.
37858
37859         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37860         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37861
37862         * misc/lseek.c: File moved to ...
37863         * io/lseek.c: ... here.
37864
37865         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37866
37867         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37868         shifting LEN more than 31 bits at once.
37869
37870 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37871
37872         [BZ #14195]
37873         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37874         segmentation fault for a case of two empty input strings.
37875         * string/test-strncasecmp.c (check1): Renamed to...
37876         (bz12205): ...this.
37877         (bz14195): Add new testcase for two empty input strings and N > 0.
37878         (test_main): Call new testcase, adapt for renamed function.
37879
37880 2012-08-15  Andreas Jaeger  <aj@suse.de>
37881
37882         [BZ #14090]
37883         * crypt/md5test2.c: New test, based on test supplied by Serge
37884         Belyshev <belyshev@depni.sinp.msu.ru>.
37885         * crypt/Makefile (xtests): Add md5test-giant..
37886         * crypt/Makefile ($(objpfx)md5test-giant): Add.
37887
37888 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
37889
37890         [BZ #14090]
37891         * crypt/md5.c (md5_process_block): Don't assume the buffer
37892         length is less than 2**32.
37893         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37894         length is less than 2**64.
37895
37896 2012-08-15  Roland McGrath  <roland@hack.frob.com>
37897
37898         * string/str-two-way.h: Include <sys/param.h>.
37899         (MAX): Macro removed.
37900
37901         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37902         Move #define and #undef of memmove to just before and after
37903         including <string.h>.
37904
37905         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37906         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37907         and after including <string.h>.  Move declarations of
37908         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37909         to before #include "string/memmove.c".
37910
37911         * include/dirent.h: Declare __getdirentries.
37912
37913         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37914         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37915
37916 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
37917
37918         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37919         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37920         * sysdeps/i386/configure: Regenerated.
37921         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37922         STABS_CURRENT_FILE, and STABS_FUN.
37923         (END): Remove call to STABS_FUN_END.
37924         (STABS_CURRENT_FILE1): Delete.
37925         (STABS_CURRENT_FILE): Likewise.
37926         (STABS_FUN): Likewise.
37927         (STABS_FUN_END): Likewise.
37928         (STABS_FUN2): Likewise.
37929         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37930         * sysdeps/x86_64/configure: Regenerated.
37931
37932 2012-08-14  Roland McGrath  <roland@hack.frob.com>
37933
37934         * elf/dl-open.c: Include <atomic.h>.
37935         * elf/dl-lookup.c: Likewise.
37936
37937 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
37938
37939         * sysdeps/unix/sysv/linux/kernel-features.h
37940         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37941         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37942         unconditionally.
37943         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37944         unconditionally.
37945         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37946         condition on __ASSUME_CLONE_THREAD_FLAGS.
37947
37948 2012-08-14  Andreas Jaeger  <aj@suse.de>
37949
37950         * sysdeps/i386/fpu/libm-test-ulps: Update.
37951
37952 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
37953
37954         * include/atomic.h (atomic_exchange_and_add): Split into ...
37955         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37956         New atomic macros.
37957
37958 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
37959
37960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37961
37962 2012-08-13  Jeff Law <law@redhat.com>
37963
37964         * manual/stdio.texi (snprintf): Clarify handling of the trailing
37965         null byte in the output string.
37966
37967 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
37968
37969         * sysdeps/unix/sysv/linux/kernel-features.h
37970         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37971         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37972         (__ASSUME_ARG_MAX_STACK_BASED): Define.
37973         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37974         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37975         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
37976         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37977
37978 2012-08-09  Jeff Law <law@redhat.com>
37979
37980         [BZ #13939]
37981         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37982         When avoid_arena is set, don't retry in the that arena.  Pick the
37983         next one, whatever it might be.
37984         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37985         (arena_lock): Pass in new parameter to arena_get2.
37986         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37987         arena_get2.
37988         (__libc_malloc): Unify retrying after main arena failure with
37989         __libc_memalign version.
37990         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37991
37992 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
37993
37994         [BZ #14166]
37995         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37996         to __redirect_strstr.
37997         (__strstr_sse42): Use typeof __redirect_strstr.
37998         (__strstr_ia32): Likewise.
37999         (__libc_strstr): New prototype.
38000         (strstr): Renamed to ...
38001         (__libc_strstr): This.
38002         (strstr): New strong alias of __libc_strstr.
38003         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38004         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38005         __redirect_time.
38006         Include <time.h>.
38007         (__libc_time): New prototype.
38008         (time_ifunc): Replace time with __libc_time.
38009         (time): New strong alias and hidden definition of __libc_time.
38010         (__GI_time): Remove strong alias.
38011         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38012         Include <stddef.h>.
38013         (memmove): Redefined to __redirect_memmove.
38014         (__memmove_sse2): Use typeof __redirect_memmove.
38015         (__memmove_ssse3): Likewise.
38016         (__memmove_ssse3_back): Likewise.
38017         (__libc_memmove): New prototype.
38018         (memmove): Renamed to ...
38019         (__libc_memmove): This.
38020         (memmove): New strong alias of __libc_memmove.
38021
38022 2012-08-08  Mark Salter  <msalter@redhat.com>
38023
38024         * elf/elf.h
38025         (R_MN10300_TLS_GD): Define.
38026         (R_MN10300_TLS_LD): Likewise.
38027         (R_MN10300_TLS_LDO): Likewise.
38028         (R_MN10300_TLS_GOTIE): Likewise.
38029         (R_MN10300_TLS_IE): Likewise.
38030         (R_MN10300_TLS_LE): Likewise.
38031         (R_MN10300_TLS_DTPMOD): Likewise.
38032         (R_MN10300_TLS_DTPOFF): Likewise.
38033         (R_MN10300_TLS_TPOFF): Likewise.
38034         (R_MN10300_SYM_DIFF): Likewise.
38035         (R_MN10300_ALIGN): Likewise.
38036         (R_MN10300_NUM): Update.
38037
38038 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
38039
38040         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38041         Remove.
38042
38043 2012-08-08  Roland McGrath  <roland@hack.frob.com>
38044
38045         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38046
38047         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38048         sysdeps/unix -> sysdeps/posix move.
38049         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38050
38051 2012-08-07      Allan McRae     <allan@archlinux.org>
38052
38053         [BZ #14303]
38054         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38055         (SUNOS_CPP): Likewise.
38056         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38057         not found.
38058         (open_input): Call CPP using execvp.
38059
38060 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38061
38062         * sysdeps/unix/sysv/linux/kernel-features.h
38063         (__ASSUME_PROT_GROWSUPDOWN): Remove.
38064         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38065         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38066         (__ASSUME_WAITID_SYSCALL): Likewise.
38067         * sysdeps/unix/sysv/linux/dl-execstack.c
38068         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38069         code unconditional.
38070         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38071         conditional code.
38072         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38073         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38074         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38075         code.
38076         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38077         unconditional.
38078         [__ASSUME_WAITID_SYSCALL]: Likewise.
38079         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38080
38081 2012-08-07  Roland McGrath  <roland@hack.frob.com>
38082
38083         * sysdeps/unix/closedir.c: Renamed to ...
38084         * sysdeps/posix/closedir.c: ... here.
38085         * sysdeps/unix/dirfd.c: Renamed to ...
38086         * sysdeps/posix/dirfd.c: ... here.
38087         * sysdeps/unix/dirstream.h: Renamed to ...
38088         * sysdeps/posix/dirstream.h: ... here.
38089         * sysdeps/unix/fdopendir.c: Renamed to ...
38090         * sysdeps/posix/fdopendir.c: ... here.
38091         * sysdeps/unix/opendir.c: Renamed to ...
38092         * sysdeps/posix/opendir.c: ... here.
38093         * sysdeps/unix/readdir.c: Renamed to ...
38094         * sysdeps/posix/readdir.c: ... here.
38095         * sysdeps/unix/readdir_r.c: Renamed to ...
38096         * sysdeps/posix/readdir_r.c: ... here.
38097         * sysdeps/unix/rewinddir.c: Renamed to ...
38098         * sysdeps/posix/rewinddir.c: ... here.
38099         * sysdeps/unix/seekdir.c: Renamed to ...
38100         * sysdeps/posix/seekdir.c: ... here.
38101         * sysdeps/unix/telldir.c: Renamed to ...
38102         * sysdeps/posix/telldir.c: ... here.
38103         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38104         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38105         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38106         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38107
38108         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38109         * bits/fcntl.h: ... here.
38110
38111         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38112         not 0.
38113         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38114         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38115         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38116         (struct flock): Move l_start, l_len to the beginning.
38117         Use __pid_t for l_pid.
38118         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38119         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38120         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38121         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38122         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38123         [__USE_LARGEFILE64] (struct flock64): New type.
38124         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38125
38126         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38127         * bits/dirent.h: ... here.
38128
38129         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38130         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38131
38132 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38133
38134         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38135         Change from 2.6.0 to 2.6.16.
38136         * sysdeps/unix/sysv/linux/configure: Regenerated.
38137         * sysdeps/unix/sysv/linux/kernel-features.h
38138         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38139         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38140         version.
38141         (__ASSUME_UTIMES): Likewise.
38142         (__ASSUME_CLONE_STOPPED): Remove.
38143         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38144         architectures, not kernel version.
38145         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38146         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38147         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38148         (__ASSUME_WAITID_SYSCALL): Likewise.
38149         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38150         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38151         * README: State 2.6.16 as minimum Linux kernel version.  Do not
38152         refer to older versions.
38153
38154 2012-08-06  Roland McGrath  <roland@hack.frob.com>
38155
38156         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38157         Define alphasort64 as an alias.
38158         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38159         Define versionsort64 as an alias.
38160         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38161         Define scandir64 as an alias.
38162         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38163         Define scandirat64 as an alias.
38164         * dirent/alphasort64.c (alphasort64):
38165         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38166         * dirent/versionsort64.c: Likewise.
38167         * dirent/scandir64.c: Likewise.
38168         * dirent/scandirat64.c: Likewise.
38169         * sysdeps/wordsize-64/alphasort.c: File removed.
38170         * sysdeps/wordsize-64/alphasort64.c: File removed.
38171         * sysdeps/wordsize-64/scandir.c: File removed.
38172         * sysdeps/wordsize-64/scandir64.c: File removed.
38173         * sysdeps/wordsize-64/scandirat.c: File removed.
38174         * sysdeps/wordsize-64/scandirat64.c: File removed.
38175         * sysdeps/wordsize-64/versionsort.c: File removed.
38176         * sysdeps/wordsize-64/versionsort64.c: File removed.
38177         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38178         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38179         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38180         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38181         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38182         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38183         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38184         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38185
38186         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38187         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38188         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38189         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38190         [defined __arch64__ || defined __sparcv9]
38191         (__INO_T_MATCHES_INO64_T): New macro.
38192         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38193         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38194         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38195         * sysdeps/unix/sysv/linux/bits/dirent.h
38196         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38197         (_DIRENT_MATCHES_DIRENT64): New macro.
38198
38199         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38200         Define lockf64 as an alias.
38201         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38202         Define fseeko64 as an alias.
38203         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38204         Define ftello64 as an alias.
38205         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38206         Define _IO_fgetpos64 and fgetpos64 as aliases.
38207         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38208         Define _IO_fsetpos64 and fsetpos64 as aliases.
38209         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38210         Conditionalize body on this.
38211         * libio/fseeko64.c: Likewise.
38212         * libio/ftello64.c: Likewise.
38213         * libio/iofgetpos64.c: Likewise.
38214         * libio/iofsetpos64.c: Likewise.
38215         * sysdeps/wordsize-64/lockf.c: File removed.
38216         * sysdeps/wordsize-64/lockf64.c: File removed.
38217         * sysdeps/wordsize-64/fseeko.c: File removed.
38218         * sysdeps/wordsize-64/fseeko64.c: File removed.
38219         * sysdeps/wordsize-64/ftello.c: File removed.
38220         * sysdeps/wordsize-64/ftello64.c: File removed.
38221         * sysdeps/wordsize-64/iofgetpos.c: File removed.
38222         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38223         * sysdeps/wordsize-64/iofsetpos.c: File removed.
38224         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38225         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38226         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38227         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38228         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38229         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38230         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38231         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38232         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38233         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38234         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38235
38236         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38237         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38238         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38239         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38240         [defined __arch64__ || defined __sparcv9]
38241         (__OFF_T_MATCHES_OFF64_T): New macro.
38242         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38243         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38244         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38245         (__OFF_T_MATCHES_OFF64_T): New macro.
38246
38247 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38248
38249         * stdlib/secure-getenv.c (__secure_getenv): Replace
38250         GLIBC_2_16 with GLIBC_2_17.
38251
38252 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38253
38254         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38255         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38256
38257 2012-08-03  David S. Miller  <davem@davemloft.net>
38258
38259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38260
38261 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38262
38263         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38264         Remove.
38265         (__ASSUME_CORRECT_SI_PID): Likewise.
38266         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38267         (__ASSUME_TMPFS_NAME): Likewise.
38268         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38269         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38270         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38271         (HAVE_AUX_SECURE): Make definition unconditional.
38272         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38273         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38274
38275 2012-08-03  Roland McGrath  <roland@hack.frob.com>
38276
38277         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38278         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38279         * sysdeps/mach/hurd/eloop-threshold.h: New file.
38280         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38281         __eloop_threshold instead of SYMLOOP_MAX.
38282
38283         * sysdeps/generic/eloop-threshold.h: New file.
38284         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38285         of MAXSYMLINKS.
38286         * elf/chroot_canon.c (chroot_canon): Likewise.
38287
38288 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38289
38290         [BZ #13717]
38291         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38292         Change to 2.6.0 everywhere.
38293         * sysdeps/unix/sysv/linux/configure: Regenerated.
38294         * sysdeps/unix/sysv/linux/kernel-features.h
38295         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38296         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38297         kernel versions.
38298         (__ASSUME_POSIX_TIMERS): Define unconditionally.
38299         (__ASSUME_FUTEX_REQUEUE): Remove.
38300         (__ASSUME_STATFS64): Define unconditionally.
38301         (__ASSUME_AT_SECURE): Likewise.
38302         (__ASSUME_CORRECT_SI_PID): Likewise.
38303         (__ASSUME_TGKILL): Define without depending on kernel version for
38304         i386.
38305         (__ASSUME_UTIMES): Likewise.
38306         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38307         kernel version.
38308         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38309         (__ASSUME_TMPFS_NAME): Likewise.
38310         * README: Update reference to Linux kernel versions.
38311
38312 2012-08-02  Marek Polacek  <polacek@redhat.com>
38313
38314         [BZ# 14150]
38315         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
38316         libc_cv_asm_type_prefix with %.
38317         * configure: Regenerated.
38318         * include/libc-symbols.h: Remove comment about
38319         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38320         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38321         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38322         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38323         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38324         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38325         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38326         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38327         * elf/tst-unique2mod1.c: Likewise.
38328         * elf/tst-unique1mod2.c: Likewise.
38329         * elf/tst-unique1mod1.c: Likewise.
38330         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38331         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38332         Replace ASM_TYPE_DIRECTIVE with .type.
38333         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38334         * sysdeps/i386/sysdep.h: Likewise.
38335         * sysdeps/x86_64/sysdep.h: Likewise.
38336         * sysdeps/sh/sysdep.h: Likewise.
38337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38338         Do not define ASM_TYPE_DIRECTIVE.
38339         * sysdeps/powerpc/sysdep.h: Likewise.
38340         * sysdeps/powerpc/powerpc32/sysdep.h:
38341         Replace ASM_TYPE_DIRECTIVE with .type.
38342         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38343         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38344         * sysdeps/i386/fpu/e_powf.S: Likewise.
38345         * sysdeps/i386/fpu/e_expl.S: Likewise.
38346         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38347         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38348         * sysdeps/i386/fpu/e_pow.S: Likewise.
38349         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38350         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38351         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38352         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38353         * sysdeps/i386/fpu/e_log2.S: Likewise.
38354         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38355         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38356         * sysdeps/i386/fpu/e_powl.S: Likewise.
38357         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38358         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38359         * sysdeps/i386/fpu/e_logl.S: Likewise.
38360         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38361         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38362         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38363         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38364         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38365         * sysdeps/i386/fpu/e_log.S: Likewise.
38366         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38367         * sysdeps/i386/fpu/e_logf.S: Likewise.
38368         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38369         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38370         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38371         * sysdeps/i386/fpu/e_log10.S: Likewise.
38372         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38373         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38374         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38375         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38376         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38377         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38378         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38379         * sysdeps/i386/i686/strtok.S: Likewise.
38380         * sysdeps/i386/i386-mcount.S: Likewise.
38381         * sysdeps/i386/strtok.S: Likewise.
38382         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38383         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38384         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38385         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38386         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38387         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38388         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38389         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38390         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38391         * sysdeps/x86_64/_mcount.S: Likewise.
38392         * sysdeps/x86_64/strtok.S: Likewise.
38393         * sysdeps/sh/_mcount.S: Likewise.
38394
38395 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38396
38397         * libio/iofopen.c: Include <fcntl.h>.
38398         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38399         (_IO_fopen64, fopen64): Define as aliases.
38400         * libio/iofopen64.c: Include <fcntl.h>.
38401         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38402         Conditionalize body on this.
38403         * sysdeps/wordsize-64/iofopen.c: File removed.
38404         * sysdeps/wordsize-64/iofopen64.c: File removed.
38405
38406 2012-08-01  Marek Polacek  <polacek@redhat.com>
38407
38408         * libc/Makeconfig: Use elf in place of binfmt-subdir.
38409         Use dlfcn directly instead of a variable.
38410         (binfmt-subdir): Do not define.
38411         (dlfcn): Likewise.
38412
38413 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
38414
38415         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38416         Remove all definitions.
38417         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38418         <kernel-features.h>.
38419         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38420         (miss_F_GETOWN_EX): Remove all definitions.
38421         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38422         macro definition.
38423         [!__ASSUME_FCNTL64]: Remove conditional code.
38424         [__ASSUME_FCNTL64]: Make code unconditional.
38425         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38426         <kernel-features.h>.
38427         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38428         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38429         (lockf64) [__NR_fcntl64]: Make code unconditional.
38430         (lockf64) [__ASSUME_FCNTL64]: Likewise.
38431
38432         * sysdeps/unix/sysv/linux/kernel-features.h
38433         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38434         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38435         Make code unconditional.
38436         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38437         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38439         [__NR_vfork]: Make code unconditional.
38440         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38441         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38443         [__NR_vfork]: Make code unconditional.
38444         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38445         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38446
38447 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38448
38449         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38450         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38451
38452         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38453         Define mkstemp64 as an alias.
38454         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38455         Define mkstemps64 as an alias.
38456         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38457         Define mkostemp64 as an alias.
38458         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38459         Define mkostemps64 as an alias.
38460         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38461         Conditionalize body on this.
38462         * misc/mkostemp64.c: Likewise.
38463         * misc/mkostemps64.c: Likewise.
38464         * misc/mkstemps64.c: Likewise.
38465         * sysdeps/wordsize-64/mkstemp64.c: File removed.
38466         * sysdeps/wordsize-64/mkostemp64.c: File removed.
38467         * sysdeps/wordsize-64/mkostemp.c: File removed.
38468         * sysdeps/wordsize-64/mkstemp.c: File removed.
38469         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38470         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38471         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38472         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38473
38474         [BZ #14138]
38475         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38476         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38477         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38478         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38479
38480         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38481         compat_symbol macros from <shlib-compat.h> rather than the underlying
38482         default_symbol_version and symbol_version macros, so that DEFAULT
38483         lines in shlib-versions are respected.
38484         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38485
38486 2012-08-01  Florian Weimer  <fweimer@redhat.com>
38487
38488         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38489         Declare with warn_unused_result.
38490         (setgid, setregid, setegid, setresgid): Likewise.
38491         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38492         Likewise.
38493         * WUR-REPORT: Remove set*id functions.
38494
38495 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
38496
38497         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38498
38499 2012-07-31  Roland McGrath  <roland@hack.frob.com>
38500
38501         [BZ #10191]
38502         * include/sys/socket.h (__libc_accept, __libc_accept4):
38503         Add attribute_hidden.
38504         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38505
38506         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38507         use of PTR_MANGLE.
38508         * inet/getnetgrent_r.c (setup): Likewise.
38509
38510         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38511
38512 2012-07-31  David S. Miller  <davem@davemloft.net>
38513
38514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38515
38516 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
38517
38518         [BZ #13629]
38519         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38520         value between 1.0 and 2.0 and smaller part has absolute value less
38521         than 1.0.
38522         * math/s_clog10.c (__clog10): Likewise.
38523         * math/s_clog10f.c (__clog10f): Likewise.
38524         * math/s_clog10l.c (__clog10l): Likewise.
38525         * math/s_clogf.c (__clogf): Likewise.
38526         * math/s_clogl.c (__clogl): Likewise.
38527         * math/libm-test.inc (clog_test): Add more tests.
38528         (clog10_test): Likewise.
38529         * sysdeps/i386/fpu/libm-test-ulps: Update.
38530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38531
38532 2012-07-31  Florian Weimer  <fweimer@redhat.com>
38533
38534         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38535         Exit with zero in case no suitable GID is found, and write a
38536         message to standard error.
38537
38538 2012-07-30  Roland McGrath  <roland@hack.frob.com>
38539
38540         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38541         rather than to 1.
38542         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38543         (MAXPATHLEN): Removed.
38544         (NOGROUP, NODEV): New macros.
38545         (setbit, clrbit, isset, isclr): New macros.
38546         (howmany, roundup, powerof2): New macros.
38547         (DEV_BSIZE): New macro.
38548
38549         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38550         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38551
38552         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38553         definition on [!__NO_LONG_DOUBLE_MATH].
38554
38555         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38556         PTR_MANGLE and PTR_DEMANGLE.
38557
38558         * socket/accept4.c (accept4): Rename to __libc_accept4.
38559         Define accept4 as a weak alias.
38560
38561         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38562         on [_DIRENT_HAVE_D_TYPE].
38563         * io/ftw.c (ftw_dir): Likewise.
38564
38565         * io/xmknod.c (__xmknod): Don't check PATH for being null.
38566
38567         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38568
38569         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38570         Use the BSD numbers rather than the arbitrary ones we had.
38571         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38572         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38573         (SIGXCPU, SIGXFSZ): New macros.
38574         (_NSIG): Now 32.
38575
38576         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38577         initializer on [_LIBC_REENTRANT].
38578
38579         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38580         definitions inside [_POSIX_MAPPED_FILES].
38581
38582         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38583
38584         * dirent/opendir.c: Include <fcntl.h>.
38585
38586         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38587         (__libc_getspecific): Likewise.
38588         (__libc_key_create): Likewise.
38589
38590         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38591         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38592         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38593         (tmpfile64): Define as alias.
38594         * sysdeps/wordsize-64/tmpfile.c: File removed.
38595         * sysdeps/wordsize-64/tmpfile64.c: File removed.
38596         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38597         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38598
38599         * stdio-common/vfscanf.c: Include <stdbool.h>.
38600         * nss/makedb.c: Likewise.
38601         * stdio-common/_i18n_number.h: Likewise.
38602         * argp/argp-help.c: Likewise.
38603         * posix/wordexp.c: Likewise.
38604         * sysdeps/posix/spawni.c: Likewise.
38605         * nss/nss_files/files-initgroups.c: Likewise.
38606         * stdio-common/reg-modifier.c: Include <stdlib.h>.
38607         * nss/nss_files/files-initgroups.c: Likewise.
38608         * nss/nss_db/db-netgrp.c: Likewise.
38609         * nss/nss_db/db-initgroups.c: Likewise.
38610         * io/fchmodat.c: Include <sys/stat.h>.
38611
38612         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38613         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38614
38615         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38616         [HAVE_MMAP].
38617
38618         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38619         Add multiple inclusion protection.
38620
38621 2012-07-27  David S. Miller  <davem@davemloft.net>
38622
38623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38624
38625 2012-07-27  Gary Benson  <gbenson@redhat.com>
38626
38627         [BZ #14298]
38628         * elf/rtld.c: Include <stap-probe.h>.
38629         (dl_main): Added static probes "init_start" and "init_complete".
38630         * elf/dl-load.c: Include <stap-probe.h>.
38631         (lose): Take new parameter "nsid".
38632         Added static probe "map_failed".
38633         (_dl_map_object_from_fd): Pass namespace id to lose.
38634         Added static probe "map_start".
38635         (open_verify): Pass namespace id to lose.
38636         * elf/dl-open.c: Include <stap-probe.h>.
38637         (dl_open_worker) Added static probes "map_complete", "reloc_start"
38638         and "reloc_complete".
38639         * elf/dl-close.c: Include <stap-probe.h>.
38640         (_dl_close_worker): Added static probes "unmap_start" and
38641         "unmap_complete".
38642         * elf/rtld-debugger-interface.txt: New file documenting the above.
38643
38644 2012-07-26  Roland McGrath  <roland@hack.frob.com>
38645
38646         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38647         rather than a string variable.
38648         * sunrpc/rpc_main.c (h_output): Likewise.
38649         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38650
38651 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
38652
38653         * inet/check_native.c: New file.
38654
38655 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
38656
38657         [BZ #13629]
38658         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38659         if larger part has absolute value 1.0.
38660         * math/s_clog10.c (__clog10): Likewise.
38661         * math/s_clog10f.c (__clog10f): Likewise.
38662         * math/s_clog10l.c (__clog10l): Likewise.
38663         * math/s_clogf.c (__clogf): Likewise.
38664         * math/s_clogl.c (__clogl): Likewise.
38665         * math/libm-test.inc (clog_test): Add more tests.
38666         (clog10_test): Likewise.
38667         * sysdeps/i386/fpu/libm-test-ulps: Update.
38668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38669
38670         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38671         (pltexit): Likewise.
38672         (La_regs): Likewise.
38673         (La_retval): Likewise.
38674         (int_retval): Likewise.
38675         Update #error for removed macros to refer only to definitions in
38676         tst-audit.h.
38677         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38678         macro.
38679         (pltexit): Likewise.
38680         (La_regs): Likewise.
38681         (La_retval): Likewise.
38682         (int_retval): Likewise.
38683         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38684         macro.
38685         (pltexit): Likewise.
38686         (La_regs): Likewise.
38687         (La_retval): Likewise.
38688         (int_retval): Likewise.
38689         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38690         macro.
38691         (pltexit): Likewise.
38692         (La_regs): Likewise.
38693         (La_retval): Likewise.
38694         (int_retval): Likewise.
38695         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38696         macro.
38697         (pltexit): Likewise.
38698         (La_regs): Likewise.
38699         (La_retval): Likewise.
38700         (int_retval): Likewise.
38701         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38702         macro.
38703         (pltexit): Likewise.
38704         (La_regs): Likewise.
38705         (La_retval): Likewise.
38706         (int_retval): Likewise.
38707         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38708         macro.
38709         (pltexit): Likewise.
38710         (La_regs): Likewise.
38711         (La_retval): Likewise.
38712         (int_retval): Likewise.
38713         * sysdeps/generic/tst-audit.h: Update comment to refer only to
38714         macro definitions in tst-audit.h.
38715         * sysdeps/i386/tst-audit.h: New file.
38716         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38717         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38718         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38719         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38720         * sysdeps/sh/tst-audit.h: Likewise.
38721         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38722         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38723         * sysdeps/x86_64/tst-audit.h: Likewise.
38724
38725 2012-07-26  Andreas Jaeger  <aj@suse.de>
38726
38727         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38728         ptrace.
38729
38730         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38731         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38732         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38733         PTRACE_O_MASK.
38734         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38735         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38736         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38737
38738         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38739         value.
38740
38741         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38742         _sigsys.
38743         (si_call_addr, si_syscall, si_arch): Define new macro.
38744         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38745         _sigsys.
38746         (si_call_addr, si_syscall, si_arch): Define new marcro.
38747         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38748         _sigsys.
38749         (si_call_addr, si_syscall, si_arch): Define new macro.
38750         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38751         _sigsys.
38752         (si_call_addr, si_syscall, si_arch): Define new macro.
38753
38754 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
38755
38756         [BZ #13717]
38757         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38758         Change to 2.4.21 where previously 2.4.1.
38759         * sysdeps/unix/sysv/linux/configure: Regenerated.
38760         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38761         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38762         Linux kernel version.
38763         (__ASSUME_STD_AUXV): Remove.
38764         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38765         kernel version.
38766         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38767         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38768         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38769         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38770         (__ASSUME_NETLINK_SUPPORT): Likewise.
38771         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38772         (__no_netlink_support): Remove conditional definition.
38773         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38774         Remove.
38775         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38776         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38777         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38778         (if_nameindex_ioctl): Remove.
38779         (if_nameindex_netlink): Do not handle __no_netlink_support.
38780         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38781         code.
38782         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38783         Remove conditional code.
38784         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38785         code.
38786         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38787         unconditional.
38788         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38789         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38790         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38791         Remove.
38792         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38793         [!__ASSUME_STD_AUXV]: Remove conditional code.
38794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38795         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38796         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38798         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38799         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38800         code.
38801         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38803         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38804         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38805         conditional code.
38806         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38808         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38809         code.
38810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38811         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38812         conditional code.
38813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38814         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38815         code unconditional.
38816         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38817         conditional code.
38818         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38819         unconditional.
38820         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38821         conditional code.
38822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38823         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38824         unconditional.
38825         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38826         conditional code.
38827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38828         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38829         code unconditional.
38830         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38831         conditional code.
38832         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38833         unconditional.
38834         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38835         conditional code.
38836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38837         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38838         code unconditional.
38839         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38840         conditional code.
38841         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38842         unconditional.
38843         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38844         conditional code.
38845
38846 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
38847
38848         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38849         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38850         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38851         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38852         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38853         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38854         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38855         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38856         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38857         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38858         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38859         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38860         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38861         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38862         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38863         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38864         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38865         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38866         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38867         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38868         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38869         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38870         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38871
38872 2012-07-25  Florian Weimer  <fweimer@redhat.com>
38873
38874         * Versions.def: Add GLIBC_2.17.
38875         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38876         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38877         Introduce __libc_secure_getenv.
38878         * stdlib/Versions (2.17): Add secure_getenv
38879         (GLIBC_PRIVATE): Add __libc_secure_getenv.
38880         * stdlib/secure-getenv.c: Rename __secure_getenv to
38881         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
38882         symbol __secure_getenv for GLIBC_2.0.
38883         * stdlib/tst-secure-getenv.c: New.
38884         * stdlib/Makefile (tests): Add testcase.
38885         * manual/startup.texi (Environment Access): Document
38886         secure_getenv.
38887         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38888         __libc_secure_getenv.
38889         * inet/ruserpass.c (ruserpass): Likewise.
38890         * malloc/mtrace.c (mtrace): Likewise.
38891         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38892         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38893         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38894         * sysdeps/posix/tempname.c: Likewise.  Evaluate
38895         HAVE_SECURE_GETENV.
38896         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38897         __secure_getenv to __libc_secure_getenv.
38898         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38900         Likewise.
38901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38902         Likewise.
38903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38905         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38910
38911 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
38912
38913         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38914         (struct La_i86_retval): Likewise.
38915         (struct La_x86_64_regs): Likewise.
38916         (struct La_x86_64_retval): Likewise.
38917         (struct La_x32_regs): Likewise.
38918         (struct La_x32_retval): Likewise.
38919         (struct La_ppc32_regs): Likewise.
38920         (struct La_ppc32_retval): Likewise.
38921         (struct La_ppc64_regs): Likewise.
38922         (struct La_ppc64_retval): Likewise.
38923         (struct La_sh_regs): Likewise.
38924         (struct La_sh_retval): Likewise.
38925         (struct La_s390_32_regs): Likewise.
38926         (struct La_s390_32_retval): Likewise.
38927         (struct La_s390_64_regs): Likewise.
38928         (struct La_s390_64_retval): Likewise.
38929         (struct La_sparc32_regs): Likewise.
38930         (struct La_sparc32_retval): Likewise.
38931         (struct La_sparc64_regs): Likewise.
38932         (struct La_sparc64_retval): Likewise.
38933         (struct audit_ifaces): Remove architecture-specific pltenter and
38934         pltexit members.
38935         * sysdeps/i386/ldsodefs.h: New file.
38936         * sysdeps/powerpc/ldsodefs.h: Likewise.
38937         * sysdeps/s390/ldsodefs.h: Likewise.
38938         * sysdeps/sh/ldsodefs.h: Likewise.
38939         * sysdeps/sparc/ldsodefs.h: Likewise.
38940         * sysdeps/x86_64/ldsodefs.h: Likewise.
38941
38942 2012-07-25  Marek Polacek  <polacek@redhat.com>
38943
38944         [BZ #6808]
38945         * math/libm-test.inc (yn_test): Add another test.
38946         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38947         to ERANGE when the result is +-Inf.
38948         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38949         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38950         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38951         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38952
38953 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
38954
38955         * conform/data/time.h-data (NULL): Use macro-constant.  Require
38956         equal to 0.
38957         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
38958         clock_t.
38959         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
38960
38961 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
38962
38963         * configure.in <sysdeps resolving>: Correct printing
38964         Implies_before.
38965         * configure: Regenerate.
38966
38967 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
38968
38969         * math/w_ilogb.c: Include <limits.h>.
38970         * math/w_ilogbl.c: Likewise.
38971
38972 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38973
38974         * manual/lang.texi (__va_copy): Document primarily as ISO C99
38975         va_copy.  Document allowing for unavailable va_copy only as
38976         pre-C99 compatibility.
38977         * manual/string.texi (Copying and Concatenation): Use va_copy
38978         instead of __va_copy in concat example.
38979
38980 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
38981
38982         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38983         (__sendto): Use create_address_port.  Initialize APORT and deallocate
38984         it if not null.
38985
38986         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38987         with O_NOLINK passed to __file_name_lookup.
38988
38989         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38990         with O_NOLINK passed to __file_name_lookup.
38991
38992         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38993         negative N or less than NGIDS.
38994
38995         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38996         type to string_t.  Set ERANGE as errno and return it if NAME is not big
38997         enough.  Use memcpy instead of strncpy.
38998
38999 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39000
39001         * elf/Makefile (check-data): Remove.
39002         (localplt.data): New vpath directive.
39003         ($(objpfx)check-localplt.out): Use localplt.data from vpath
39004         instead of $(check-data).
39005         * scripts/data/localplt-generic.data: Move to ...
39006         * sysdeps/generic/localplt.data: ... here.
39007         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39008         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39009         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39011         ... here.
39012         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39014         ... here.
39015         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39017         ... here.
39018         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39020         ... here.
39021         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39023         ... here.
39024         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39026         ... here.
39027
39028 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39029
39030         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39031         PPC32 and PPC64 files.
39032         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39033         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39034
39035 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39036
39037         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39038         __makecontext_ret to ...
39039         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39040         ... here and call exit if uc_link is NULL.  New file.
39041         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39042         __makecontext_ret.S.
39043         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39044         __makecontext_ret to ...
39045         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39046         ... here and call exit if uc_link is NULL.  New file.
39047         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39048         __makecontext_ret.S.
39049
39050 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39051
39052         * elf/elf.h (R_390_IRELATIVE): New definition.
39053         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39054         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
39055         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39056         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39057         (elf_machine_lazy_rel): Likewise.
39058         * sysdeps/s390/dl-irel.h: New file.
39059         * sysdeps/s390/s390-64/memcpy.S: New asm code.
39060         * sysdeps/s390/s390-64/memset.S: New asm code.
39061         * sysdeps/s390/s390-64/memcmp.S: New asm code.
39062         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39063         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39064         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39065         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39066         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39067         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39068         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39069         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39070         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39071         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39072         * sysdeps/s390/s390-32/memcpy.S: New asm code.
39073         * sysdeps/s390/s390-32/memset.S: New asm code.
39074         * sysdeps/s390/s390-32/memcmp.S: New asm code.
39075
39076 2012-07-17  Marek Polacek  <polacek@redhat.com>
39077
39078         [BZ #14349]
39079         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39080         * sysdeps/s390/s390-64/configure.in: Likewise.
39081         * sysdeps/sparc/configure.in: Likewise.
39082         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39083         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39084         * sysdeps/i386/configure.in: Likewise.
39085         * sysdeps/x86_64/configure.in: Likewise.
39086         * sysdeps/sh/configure.in: Likewise.
39087         * sysdeps/s390/s390-32/configure: Regenerated.
39088         * sysdeps/s390/s390-64/configure: Likewise.
39089         * sysdeps/x86_64/configure: Likewise.
39090         * sysdeps/sh/configure: Likewise.
39091         * sysdeps/powerpc/powerpc64/configure: Likewise.
39092         * sysdeps/powerpc/powerpc32/configure: Likewise.
39093         * sysdeps/sparc/configure: Likwise.
39094         * sysdeps/i386/configure: Likewise.
39095
39096         * elf/dl-open.c: Comment fixes.
39097
39098 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
39099
39100         * Makefile [CXX] (check-data): Remove.
39101         [CXX] (c++-types.data): New vpath directive.
39102         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39103         vpath.  Do not allow for C++ type data being missing.
39104         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39105         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39106         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39107         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39108         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39109         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39110         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39112         ... here.
39113         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39115         ... here.
39116         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39118         ... here.
39119         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39121         ... here.
39122         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39124         ... here.
39125         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39127         ... here.
39128         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39130         ... here.
39131         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39133
39134         * elf/tls-macros.h (TLS_LE): Move architecture-specific
39135         definitions to architecture-specific files.
39136         (TLS_IE): Likewise.
39137         (TLS_LD): Likewise.
39138         (TLS_GD): Likewise.
39139         * sysdeps/i386/tls-macros.h: New file.
39140         * sysdeps/powerpc/tls-macros.h: Likewise.
39141         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39142         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39143         * sysdeps/sh/tls-macros.h: Likewise.
39144         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39145         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39146         * sysdeps/x86_64/tls-macros.h: Likewise.
39147
39148 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39149
39150         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39151         zero value for regular exit case.
39152
39153         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39154         (__start_context): Preserve zero value for regular exit case.
39155
39156 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39157             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39158
39159         * manual/setjmp.texi (setcontext): Clarify normal process
39160         termination when uc_link is the null pointer.
39161         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39162         exit call.
39163
39164 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
39165
39166         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39167         preprocessor.  Test for each exception mask separately.
39168
39169 2012-07-16  Andreas Jaeger  <aj@suse.de>
39170
39171         * po/ru.po: Update from translation team.
39172
39173 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
39174
39175         * conform/data/string.h-data (NULL): Use macro-constant.  Require
39176         equal to 0.
39177         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39178         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39179         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39180         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39181         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39182
39183 2012-07-13  Andreas Jaeger  <aj@suse.de>
39184
39185         * po/fr.po: Update from translation team.
39186
39187 2012-07-12  Marek Polacek  <polacek@redhat.com>
39188
39189         [BZ #14173]
39190         * math/libm-test.inc (yn_test): Add test for BZ #14173.
39191         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39192         loop condition.
39193
39194 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
39195
39196         [BZ #13717]
39197         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39198         Change to 2.4.1 where previously 2.4.0.
39199         * sysdeps/unix/sysv/linux/configure: Regenerated.
39200         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39201         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39202         version.
39203         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39204         (__ASSUME_AT_CLKTCK): Remove.
39205         (__ASSUME_AT_PAGESIZE): Likewise.
39206         (__ASSUME_AT_XID): Likewise.
39207         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39208         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39209         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39210         unconditionally.
39211         (HAVE_AUX_PAGESIZE): Likewise.
39212         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39213         [__ASSUME_AT_CLKTCK]: Make code unconditional.
39214         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39215
39216 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
39217
39218         [BZ #14307]
39219         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39220         the temporary buffer used to invoke __gethostbyname2_r,
39221         __gethostbyaddr_r and gethostbyname4_r to make room for struct
39222         host_data / struct gaih_addrtuple.
39223         * resolv/nss_dns/dns-host.c (global scope): Move definition of
39224         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39225         header file nss/nsswitch.h.
39226         * nss/nsswitch.h (global scope): Add definition of implementation
39227         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39228         resolv/nss_dns/dns-host.c).
39229
39230 2012-07-11  Andreas Jaeger  <aj@suse.de>
39231
39232         * po/fr.po: Update from translation team.
39233
39234         * po/sv.po: Update from translation team
39235         * po/fr.po: Another update from translation team.
39236
39237 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39238
39239         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39240         for subnormals or multiply small sinh result by itself.
39241         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39243
39244 2012-07-11  David S. Miller  <davem@davemloft.net>
39245
39246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39247
39248 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
39249
39250         [BZ #14347]
39251         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39252         (INTERNAL_MARK): Shift it here.
39253
39254 2012-07-10  Marek Polacek  <polacek@redhat.com>
39255
39256         [BZ #14151]
39257         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
39258         libc_cv_asm_global_directive with .globl.
39259         * configure: Regenerated.
39260         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39261         with .globl.
39262         * sysdeps/i386/configure: Regenerated.
39263         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39264         with .globl.
39265         * sysdeps/x86_64/configure: Regenerated.
39266         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39267         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39268         * elf/tst-unique2mod2.c: Likewise.
39269         * elf/tst-unique2mod1.c: Likewise.
39270         * elf/tst-unique1mod2.c: Likewise.
39271         * elf/tst-unique1mod1.c: Likewise.
39272         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39273         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39274         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39275         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39276         * sysdeps/mach/sysdep.h: Likewise.
39277         * sysdeps/i386/sysdep.h: Likewise.
39278         * sysdeps/i386/i386-mcount.S: Likewise.
39279         * sysdeps/x86_64/_mcount.S: Likewise.
39280         * sysdeps/x86_64/sysdep.h: Likewise.
39281         * sysdeps/sh/_mcount.S: Likewise.
39282         * sysdeps/sh/sysdep.h: Likewise.
39283         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39284         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39285         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39286         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39287         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39288         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39289         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39290         * locale/localeinfo.h: Likewise.
39291         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39292         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39293
39294 2012-07-09  Roland McGrath  <roland@hack.frob.com>
39295
39296         [BZ #14336]
39297         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39298         system".
39299         * manual/message.texi (The Uniforum approach): Likewise.
39300         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39301         (glibc iconv Implementation): Likewise.
39302
39303 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
39304
39305         [BZ #14337]
39306         * math/s_clog.c (__clog): Avoid scaling a value down where that
39307         could result in underflow.
39308         * math/s_clog10.c (__clog10): Likewise.
39309         * math/s_clog10f.c (__clog10f): Likewise.
39310         * math/s_clog10l.c (__clog10l): Likewise.
39311         * math/s_clogf.c (__clogf): Likewise.
39312         * math/s_clogl.c (__clogl): Likewise.
39313         * math/libm-test.inc (clog_test): Add more tests.
39314         (clog10_test): Likewise.
39315         * sysdeps/i386/fpu/libm-test-ulps: Update.
39316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39317
39318 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
39319
39320         [BZ #14283]
39321         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39322         by 7 not 8 to examine high bit of fractional part.
39323
39324         [BZ #14042]
39325         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39326         for call to __mcount_internal.
39327         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39328         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39329         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39330
39331 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
39332
39333         [BZ #14154]
39334         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39335         approximation for values within 0x1p-13f of an odd multiple of
39336         pi/4.
39337         * math/libm-test.inc (tan_test): Do not allow spurious underflow
39338         exception.  Add more tests.
39339         * sysdeps/i386/fpu/libm-test-ulps: Update.
39340
39341         [BZ #6778]
39342         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39343         inputs and return -1 for them.  Do not check for +Inf in case not
39344         reachable for +Inf.
39345         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39346         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39347         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39348         and return -1 for them.  Do not check for +Inf in case not
39349         reachable for +Inf.
39350         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39351         define.
39352         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39353         and return -1 for them.  Do not check for +Inf in case not
39354         reachable for +Inf.
39355         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
39356         spurious underflow.
39357         * sysdeps/i386/fpu/libm-test-ulps: Update.
39358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39359
39360 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
39361
39362         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39363
39364 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
39365
39366         [BZ #14157]
39367         [BZ #14331]
39368         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39369         could result in spurious underflow.  Scale down values above
39370         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39371         * math/s_csqrtf.c (__csqrtf): Likewise.
39372         * math/s_csqrtl.c (__csqrtl): Likewise.
39373         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
39374         spurious underflow.
39375         * sysdeps/i386/fpu/libm-test-ulps: Update.
39376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39377
39378 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
39379
39380         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39381         xopen-msg.sed.
39382         * catgets/xopen-msg.awk: New file.
39383         * catgets/xopen-msg.sed: Removed.
39384
39385         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39386         po2text.sed.
39387         * intl/po2test.awk: New file.
39388         * intl/po2test.sed: Removed.
39389
39390 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
39391
39392         [BZ #14328]
39393         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39394         or multiply small sinh result by itself.
39395         * math/s_ctanf.c (__ctanf): Likewise.
39396         * math/s_ctanh.c (__ctanh): Likewise.
39397         * math/s_ctanhf.c (__ctanhf): Likewise.
39398         * math/s_ctanhl.c (__ctanhl): Likewise.
39399         * math/s_ctanl.c (__ctanl): Likewise.
39400         * math/libm-test.inc (ctan_test_tonearest): New function.
39401         (ctan_test_towardzero): Likewise.
39402         (ctan_test_downward): Likewise.
39403         (ctan_test_upward): Likewise.
39404         (ctanh_test_tonearest): Likewise.
39405         (ctanh_test_towardzero): Likewise.
39406         (ctanh_test_downward): Likewise.
39407         (ctanh_test_upward): Likewise.
39408         (main): Call these new functions.
39409         * sysdeps/i386/fpu/libm-test-ulps: Update.
39410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39411
39412 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
39413
39414         * .gitignore: Delete /ports entry.
39415
39416 2012-07-03  Andreas Jaeger  <aj@suse.de>
39417
39418         * po/bg.po: Update from translation team.
39419         * po/cs.po: Likewise.
39420         * po/de.po: Likewise.
39421         * po/hr.po: Likewise.
39422         * po/nl.pl: Likewise.
39423         * po/pl.po: Likewise.
39424         * po/vi.po: Likewise.
39425
39426 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
39427
39428         * Makeconfig [!+link] (+link-before-libc): New variable.
39429         [!+link] (+link-after-libc): Likewise.
39430         [!+link] (+link-tests): Likewise.
39431         [!+link] (+link): Define in terms of $(+link-before-libc) and
39432         $(+link-after-libc).
39433         [!+link-static] (+link-static-before-libc): New variable.
39434         [!+link-static] (+link-static-after-libc): Likewise.
39435         [!+link-static] (+link-static-tests): Likewise.
39436         [!+link-static] (+link-static): Define in terms of
39437         $(+link-static-before-libc) and $(+link-static-after-libc).
39438         [build-shared] (link-libc-before-gnulib): New variable.
39439         [build-shared] (link-libc-tests): Likewise.
39440         [build-shared] (link-libc): Define in terms of
39441         $(link-libc-before-gnulib).
39442         [!build-shared] (link-libc-tests): New variable.
39443         (link-libc-static-tests): New variable.
39444         [!gnulib] (gnulib-arch): New variable.
39445         [!gnulib] (gnulib-tests): Likewise.
39446         [!gnulib] (static-gnulib-arch): Likewise.
39447         [!gnulib] (static-gnulib-tests): Likewise.
39448         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
39449         Define with "=" instead of ":=".
39450         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
39451         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
39452         * Rules (binaries-all-notests): New variable.
39453         (binaries-all-tests): Likewise.
39454         (binaries-static-notests): Likewise.
39455         (binaries-static-tests): Likewise.
39456         (binaries-all): Define using $(binaries-all-notests) and
39457         $(binaries-all-tests).
39458         (binaries-static): Define using $(binaries-static-notests) and
39459         $(binaries-static-tests).
39460         (binaries-shared-tests): New variable.
39461         (binaries-shared-notests): Likewise.
39462         (binaries-shared): Remove variable.
39463         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39464         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39465         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39466         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39467         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39468         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39469         * elf/Makefile (sln-modules): New variable.
39470         (extra-objs): Add $(sln-modules:=.o).
39471         (ldconfig-modules): Add static-stubs.
39472         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39473         * elf/static-stubs.c: New file.
39474
39475         [BZ #14283]
39476         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39477         by 7 not 8 to examine high bit of fractional part.  Use volatile
39478         variables when splitting into final array of floats if
39479         __FLT_EVAL_METHOD__ != 0.
39480         * math/libm-test.inc (cos_test): Add another test.
39481         (sin_test): Likewise.
39482         * sysdeps/i386/fpu/libm-test-ulps: Update.
39483
39484         [BZ #14273]
39485         * math/libm-test.inc (cosh_test): Add more tests.
39486
39487         * version.h (RELEASE): Set to "development".
39488         (VERSION): Set to "2.16.90".
39489
39490 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
39491
39492         * NEWS: Update copyright. Remove last-updated date.
39493         Mention math library bug fixes and timezone data changes.
39494         * README: Mention GNU/Hurd, x32, and HPPA support status.
39495
39496 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
39497
39498         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39499
39500 2012-06-27  Andreas Jaeger  <aj@suse.de>
39501
39502         * manual/contrib.texi (Contributors): Add Samuel Thibault.
39503
39504 2012-06-25  Andreas Jaeger  <aj@suse.de>
39505
39506         * sysdeps/s390/fpu/libm-test-ulps: Update.
39507
39508 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
39509             Thomas Schwinge  <thomas@codesourcery.com>
39510
39511         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39512         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39513         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39514         fanotify_mark.
39515
39516 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
39517
39518         * sysdeps/mach/start.c: Remove file.
39519         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39520         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39521         * sysdeps/sh/init-first.c: Likewise.
39522
39523         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39524         registers for frame unwinding purposes, add CFI directives.
39525         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39526         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39527         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39528         Likewise.
39529
39530         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39531         __fortify_fail returning.
39532         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39533
39534         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39535         sysdeps/sh/____longjmp_chk.S.
39536         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39537         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39538         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39539         (gen-as-const-headers): Append sigaltstack-offsets.sym.
39540
39541         * sysdeps/sh/abort-instr.h: New file.
39542         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39543         process in case exit returns.
39544
39545         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39546         initialize the GOT register before use.
39547
39548         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39549         calculation of ARGC > 4.
39550
39551         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39552         meaningful names to some local labels.
39553
39554 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39555             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39556
39557         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39558         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39559         (__arch_compare_and_exchange_val_16_acq): Likewise.
39560         (__arch_compare_and_exchange_val_32_acq): Likewise.
39561         (atomic_exchange_and_add): Fix gUSA sequence.
39562         (atomic_add): Likewise.
39563         (atomic_add_negative): Likewise.
39564         (atomic_add_zero): Likewise.
39565         (atomic_bit_test_set): Likewise.
39566
39567 2012-06-22  Andreas Schwab  <schwab@redhat.com>
39568
39569         [BZ #13579]
39570         * include/link.h (struct link_map): Add l_free_initfini.
39571         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39572         l_initfini.
39573         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39574         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39575         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39576         set.
39577
39578 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
39579
39580         * configure.in: Use AC_LANG_SOURCE.
39581         * configure: Regenerate.
39582
39583 2012-06-22  Roland McGrath  <roland@hack.frob.com>
39584
39585         * configure.in (libc_cv_localstatedir): New substituted variable.
39586         * configure: Regenerated.
39587         * config.make.in (localstatedir): New variable, substituted from
39588         libc_cv_localstatedir.
39589         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39590         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39591         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39592         * sysdeps/gnu/configure: Regenerated.
39593
39594 2012-06-21  Jeff Law  <law@redhat.com>
39595
39596         [BZ #14277]
39597         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39598         free.  Simplify list management for _LIBC case.
39599
39600 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
39601
39602         [BZ #14273]
39603         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39604         Clear sign bit of 64-bit integer value before comparing against
39605         overflow value.
39606
39607         * sysdeps/mach/configure: Regenerated.
39608
39609 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
39610
39611         [BZ #14278]
39612         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39613
39614 2012-06-21  Jeff Law  <law@redhat.com>
39615
39616         [BZ #13882]
39617         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
39618         uint16_t for elements in the "seen" array to avoid char overflows.
39619         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39620         * elf/dl-open.c (dl_open_worker): Likewise.
39621
39622 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
39623
39624         * scripts/list-sources.sh: Scan PORTS for translations.
39625         * po/libc.pot: Regenerated.
39626
39627 2012-06-21  Andreas Jaeger  <aj@suse.de>
39628
39629         [BZ #12194]
39630         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39631         warning.
39632         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39633         * bits/byteswap-16.h (__bswap_16): Likewise.
39634         * bits/byteswap.h (__bswap_constant_16): Likewise.
39635
39636 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
39637
39638         [BZ #14117]
39639         * sysdeps/i386/fpu_control.h: Removed.
39640         * sysdeps/x86_64/fpu_control.h: Moved to ...
39641         * sysdeps/x86/fpu_control.h: Here.
39642
39643         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39644         (_FPU_SETCW): Likewise.
39645
39646 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
39647
39648         [BZ #14117]
39649         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39650         * sysdeps/x86/fpu/bits/mathinline.h: This.
39651         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39652
39653         [BZ #14050]
39654         [BZ #14117]
39655         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39656         functions if __x86_64__ is defined.
39657
39658 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
39659
39660         * string/endian.h: Add !__ASSEMBLER__ condition for including
39661         conversion interfaces.
39662
39663 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
39664
39665         [BZ #14241]
39666         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39667         of ABS(x) in calculating zero to negative powers other than odd
39668         integers.
39669         * math/libm-test.inc (pow_test): Add more tests.
39670
39671 2012-06-15  Andreas Jaeger  <aj@suse.de>
39672
39673         * manual/contrib.texi (Contributors): Update entry of Liubov
39674         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39675         Machado Filho.
39676
39677 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
39678
39679         * string/string.h: Add __wur to GNU version of strerror_r.
39680
39681 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
39682
39683         [BZ #14229]
39684         * string/Makefile (tests): Add tst-strtok_r.
39685         * string/tst-strtok_r.c: New file.
39686         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39687         RAX_LP/RDX_LP on SAVE_PTR.
39688
39689 2012-06-14  Roland McGrath  <roland@hack.frob.com>
39690
39691         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39692
39693 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
39694
39695         * libm_test.inc (csqrt_test): Allow more spurious underflow
39696         exceptions.
39697         (j0_test): Likewise.
39698         (j1_test): Likewise.
39699         (y0_test): Likewise.
39700         (y1_test): Likewise.
39701
39702 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
39703
39704         * po/Makefile (libc.pot): Use UTF-8 charset.
39705
39706 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
39707
39708         [BZ #14210]
39709         Suppress sign-conversion warning from FD_SET.
39710         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39711         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39712         not unsigned long int.
39713         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39714
39715 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
39716
39717         [BZ #14050]
39718         [BZ #14117]
39719         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39720         __extern_always_inline instead of __extern_inline.
39721         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39722         (__signbit): Likewise.
39723         (__signbitl): Support C++ namespace.
39724         (lrintf): New inline function.
39725         (lrint): Likewise.
39726         (llrintf): Likewise.
39727         (llrint): Likewise.
39728         (fmaxf): Likewise.
39729         (fmax): Likewise.
39730         (fminf): Likewise.
39731         (fmin): Likewise.
39732         (rint): Likewise.
39733         (rintf): Likewise.
39734         (ceil): Likewise.
39735         (ceilf): Likewise.
39736         (floor): Likewise.
39737         (floorf): Likewise.
39738         (nearbyint): Likewise.
39739         (nearbyintf): Likewise.
39740
39741 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
39742
39743         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39744         non-default versions.
39745
39746 2012-06-11  Roland McGrath  <roland@hack.frob.com>
39747
39748         [BZ #14218]
39749         * manual/argp.texi (Argp): Reword argp_parse description slightly.
39750
39751 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
39752
39753         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39754         (FE_UPWARD, FE_DOWNWARD): Don't define.
39755         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39756         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39757
39758         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39759         reading it.
39760         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39761         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39762
39763 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39764
39765         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39766         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39767         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39768         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39769
39770 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
39771
39772         [BZ #14117]
39773         * sysdeps/i386/fpu/bits/fenv.h: Removed.
39774         * sysdeps/i386/fpu/Implies: New file.
39775         * sysdeps/x86_64/fpu/Implies: Likewise.
39776         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39777         * sysdeps/x86/fpu/bits/fenv.h: This.
39778
39779         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39780         __SSE_MATH__.
39781
39782 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39783
39784         [BZ #14134]
39785         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39786         character 0xffff that matches the last element of the
39787         conversion table.
39788
39789 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39790
39791         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39792         fmodl commit.
39793
39794 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39795
39796         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39797         values higher than 25.6283.
39798
39799 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39800
39801         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39802         subnormal exponent extraction and add some __builtin_expect.
39803         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39804         Fix for subnormal mantissa calculation.
39805
39806 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
39807
39808         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39809         cpu2 is -1 and errno is not ENOSYS.
39810
39811 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
39812
39813         [BZ #14117]
39814         * sysdeps/i386/i486/bits/string.h: Renamed to ...
39815         * sysdeps/x86/bits/string.h: This.
39816         * sysdeps/x86_64/bits/string.h: Removed.
39817
39818         * sysdeps/i386/i486/bits/string.h: Define inline functions only
39819         if not compiling for x86-64, but compiling for >= i486.
39820
39821         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39822         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39823
39824         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39825         New macro from Linux kernel 3.4.0.
39826         (FP_XSTATE_MAGIC2): Likewise.
39827         (FP_XSTATE_MAGIC2_SIZE): Likewise.
39828         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39829         (struct _fpx_sw_bytes): New struct.
39830         (struct _xsave_hdr): Likewise.
39831         (struct _ymmh_state): Likewise.
39832         (struct _xstate): Likewise.
39833
39834         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39835         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39836         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39837         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39838         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39839         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39840
39841         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39842         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39843         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39844         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39845         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39846         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39847
39848 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39849
39850         [BZ #13743]
39851         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39852         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39853         (sysdep_headers): Include sys/platform/ppc.h.
39854         * sysdeps/powerpc/test-gettimebase.c: Test for
39855         __ppc_get_timebase() to catch future ISA opcode/insn changes.
39856         * manual/Makefile (appendices): Include platform.texi.
39857         * manual/contrib.texi (Contributors): Update @node pointers.
39858         * manual/maint.texi (Maintenance): Likewise.
39859         (Platform): New node.
39860         * manual/platform.texi: New file.  Document the new features.
39861
39862 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39863             Jakub Jelinek  <jakub@redhat.com>
39864
39865         [BZ #14188]
39866         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39867         where __builtin_expect is unavailable.
39868
39869 2012-06-03  David S. Miller  <davem@davemloft.net>
39870
39871         * stdlib/longlong.h: Updated from GCC.
39872
39873 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
39874
39875         [BZ #14042]
39876         * sysdeps/powerpc/powerpc32/mcount.c: New file.
39877         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39878         __mcount_internal.
39879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39880         (GLIBC_2.16): Likewise.
39881
39882 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39883
39884         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39885
39886 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
39887
39888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39889         (default-abi): New variable.
39890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39891         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39892         variable.
39893         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39894         Likewise.
39895         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39896         Likewise.
39897         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39898         Likewise.
39899
39900         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39901         definition.  Document in comment.
39902
39903 2012-06-01  David S. Miller  <davem@davemloft.net>
39904
39905         * stdlib/longlong.h: Updated from GCC.
39906
39907 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39908
39909         [BZ #14117]
39910         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39911         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39912         sys/debugreg.h sys/io.h here.
39913         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39914         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39915         sys/io.h.
39916         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39917         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39918         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39919         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39920         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39921         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39922
39923         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39924         Define only if __x86_64__ is defined.
39925
39926 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
39927
39928         [BZ #14048]
39929         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39930         Use int64_t for variable i.
39931         * math/libm-test.inc (fmod_test): Add more tests.
39932
39933         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39934         z computation is not scheduled after fetestexcept.
39935         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39936         Use math_force_eval instead of asm to ensure calculation scheduled
39937         before exception test.
39938         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39939         Ensure a1 + u.d computation is not scheduled after fetestexcept.
39940
39941 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
39942
39943         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39944         computation is not scheduled after fetestexcept.
39945
39946 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
39947
39948         [BZ #14117]
39949         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39950         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39951
39952 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39953
39954         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39955         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39956
39957 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39958
39959         [BZ #14117]
39960         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39961         <bits/wordsize.h>.
39962         (__WCHAR_MIN): Support __WORDSIZE == 64.
39963         (__WCHAR_MAX): Likewise.
39964
39965         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39966         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39967
39968         [BZ #14183]
39969         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39970         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39971
39972         [BZ #14117]
39973         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39974         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39975
39976         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39977         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39978
39979         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39980         Defined to 1 if __x86_64__ isn't defined.
39981         (_STAT_VER_LINUX_OLD): New.
39982         (st_atime): Remove duplicate.
39983         (st_mtime): Likewise.
39984         (st_ctime): Likewise.
39985
39986 2012-05-31  David S. Miller  <davem@davemloft.net>
39987
39988         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39989         entries.
39990
39991 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
39992
39993         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39994         gen-libm-test.pl.
39995
39996         [BZ #14132]
39997         * elf/dl-reloc.c: Include <_itoa.h>.
39998         (_dl_reloc_bad_type): Remove use of INTUSE.
39999         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40000         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40001         * stdio-common/psiginfo.c (psiginfo): Likewise.
40002         * stdio-common/psignal.c (psignal): Likewise.
40003         * string/strsignal.c (strsignal): Likewise.
40004         * include/signal.h (_sys_siglist): Declare hidden proto.
40005         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
40006         INTVARDEF with libc_hidden_data_def.
40007         * stdio-common/itoa-udigits.c: Likewise.
40008         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40009         (_itoa_lower_digits_internal): Remove declaration.
40010         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40011         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40012         (_sys_sigabbrev_internal): Remove aliases.
40013         (_sys_siglist): Define hidden alias.
40014
40015 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
40016
40017         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40018         bits/sysctl.h.
40019
40020 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40021
40022         [BZ #14117]
40023         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40024         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40025
40026         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40027         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40028         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40029         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40030         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40031         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40032
40033         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40034         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40035         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40036
40037         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40038         with __addr.
40039         (insw): Likewise.
40040         (insl): Likewise.
40041         (outsb): Likewise.
40042         (outsw): Likewise.
40043         (outsl): Likewise.
40044
40045         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40046         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40047         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40048
40049         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40050         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40051         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40052         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40053         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40054         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40055
40056         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40057         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40058
40059         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40060         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40061
40062         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40063         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40064         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40065
40066         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40067         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40068         to ...
40069         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40070
40071         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40072         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40073         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40074
40075         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40076         for x86-64.
40077         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40078
40079 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
40080
40081         * math/math.h (M_El): Use two more decimal places.
40082         (M_LOG2El): Likewise.
40083         (M_LOG10El): Likewise.
40084         (M_LN2l): Likewise.
40085         (M_LN10l): Likewise.
40086         (M_PIl): Likewise.
40087         (M_PI_2l): Likewise.
40088         (M_PI_4l): Likewise.
40089         (M_1_PIl): Likewise.
40090         (M_2_PIl): Likewise.
40091         (M_2_SQRTPIl): Likewise.
40092         (M_SQRT2l): Likewise.
40093         (M_SQRT1_2l): Likewise.
40094
40095 2012-05-31  David S. Miller  <davem@davemloft.net>
40096
40097         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40098         values between float registers.
40099         * sysdeps/sparc/sparc64/memset.S: Likewise.
40100         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40101
40102 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
40103
40104         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40105         -D_FORTIFY_SOURCE=1.
40106         (CPPFLAGS-tst-longjmp_chk.c): Define.
40107         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40108         (CPPFLAGS-tst-longjmp_chk2.c): Define.
40109         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40110         CFLAGS-tst-wchar-h.c.
40111
40112 2012-05-31  Marek Polacek  <polacek@redhat.com>
40113
40114         [BZ #14132]
40115         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40116         __endmntent_internal): Remove declaration.
40117         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40118         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40119         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40120
40121 2012-05-30  David S. Miller  <davem@davemloft.net>
40122
40123         * sysdeps/sparc/sparc32/soft-fp/q_util.c
40124         (___Q_simulate_exceptions): Use real FP ops rather than writing
40125         into the %fsr.
40126         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40127         Likewise.
40128
40129 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40130
40131         [BZ #14117]
40132         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40133         * sysdeps/x86/bits/xtitypes.h: This.
40134
40135         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40136         * sysdeps/x86/bits/wordsize.h: This.
40137
40138         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40139         * sysdeps/x86/bits/huge_vall.h: This.
40140
40141         * sysdeps/i386/bits/select.h: Removed.
40142         * sysdeps/x86_64/bits/select.h: Renamed to ...
40143         * sysdeps/x86/bits/select.h: This.
40144
40145         * sysdeps/i386/bits/setjmp.h: Removed.
40146         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40147         * sysdeps/x86/bits/setjmp.h: This.
40148
40149         * sysdeps/i386/bits/mathdef.h: Removed.
40150         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40151         * sysdeps/x86/bits/mathdef.h: This.
40152
40153 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
40154
40155         [BZ #14132]
40156         * include/sys/socket.h (__connect_internal)
40157         (__libc_sa_len_internal): Remove declaration.
40158         (__connect, __libc_sa_len): Declare hidden_proto.
40159         (SA_LEN): Remove use of INTUSE.
40160         * socket/connect.c: Add libc_hidden_def.
40161         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40162         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40163         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40164         alias.
40165         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40166         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40167         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40168         of adding _internal alias.
40169
40170 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40171
40172         [BZ #14117]
40173         * sysdeps/i386/bits/link.h: Removed.
40174         * sysdeps/i386/bits/linkmap.h: Likewise.
40175         * sysdeps/x86_64/bits/link.h: Renamed to ...
40176         * sysdeps/x86/bits/link.h: This.
40177         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40178         * sysdeps/x86/bits/linkmap.h: This.
40179
40180         * sysdeps/i386/bits/endian.h: Removed.
40181         * sysdeps/x86_64/bits/endian.h: Renamed to ...
40182         * sysdeps/x86/bits/endian.h: This.
40183
40184         * sysdeps/i386/bits/byteswap.h: Removed.
40185         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40186         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40187         * sysdeps/x86/bits/byteswap.h: This.
40188         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40189         * sysdeps/x86/bits/byteswap-16.h: This.
40190         * sysdeps/i386/Implies: Add x86.
40191         * sysdeps/x86_64/Implies: Likewise.
40192
40193 2012-05-30  David S. Miller  <davem@davemloft.net>
40194
40195         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40196         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40197         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40198         (FP_TRAPPING_EXCEPTIONS): Define.
40199         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40200         (FP_TRAPPING_EXCEPTIONS): Define.
40201         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40202         subnormals only when inexact has been signalled or underflow
40203         exceptions are enabled.
40204         (_FP_PACK_CANONICAL): Likewise.
40205
40206 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40207
40208         [BZ #14183]
40209         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40210         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40211
40212 2012-05-30  Richard Henderson  <rth@twiddle.net>
40213
40214         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40215         with #ifndef NOT_IN_libc.
40216
40217         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
40218         marked to avoid plt entry.
40219
40220 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40221
40222         [BZ #14112]
40223         * Makeconfig (default-abi): New macro.
40224         (abi-includes): Likewise.
40225         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
40226         $(abi-$(default-abi)-lib-soname) for soname if defined.
40227         ($(common-objpfx)gnu/lib-names.stmp): Generate from
40228         abi-variants.
40229         * Makefile (installed-stubs): Likewise.
40230         * include/stubs-biarch.h: Removed.
40231         * scripts/lib-names.awk: Only handle one library at a time.
40232         * scripts/soversions.awk: Remove WORDSIZE support.
40233         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40234         entries.
40235         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40236         Removed.
40237         (syscall-list-default-condition): Likewise.
40238         (syscall-list-default-condition): Likewise.
40239         (syscall-list-includes): Likewise.
40240         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40241         syscall-list-* with abi-*.  Handle undefined abi-variants.
40242         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40243         * sysdeps/unix/sysv/linux/i386/Implies: New file.
40244         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40245         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40246         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40247         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40248         Removed.
40249         (syscall-list-32-options): Likewise.
40250         (syscall-list-32-condition): Likewise.
40251         (syscall-list-64-options): Likewise.
40252         (syscall-list-64-condition): Likewise.
40253         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40254         macro.
40255         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40256         Renamed to ...
40257         (abi-*): This.
40258         (abi-64-ld-soname): New macro.
40259         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40260         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40261         Renamed to ...
40262         (abi-*): This.
40263         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40264         * sysdeps/x86_64/x32/shlib-versions: Likewise.
40265
40266 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
40267
40268         * sysdeps/unix/sysv/linux/kernel-features.h
40269         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40270         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40271         include <kernel-features.h>.
40272         [!__NR_ftruncate64]: Remove conditional code.
40273         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40274         [__NR_ftruncate64]: Make code unconditional.
40275         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40276         * sysdeps/unix/sysv/linux/truncate64.c: Do not
40277         include <kernel-features.h>.
40278         [!__NR_ftruncate64]: Remove conditional code.
40279         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40280         [__NR_ftruncate64]: Make code unconditional.
40281         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40283         include <kernel-features.h>.
40284         [!__NR_ftruncate64]: Remove conditional code.
40285         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40286         [__NR_ftruncate64]: Make code unconditional.
40287         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40289         include <kernel-features.h>.
40290         [!__NR_ftruncate64]: Remove conditional code.
40291         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40292         [__NR_ftruncate64]: Make code unconditional.
40293         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40294
40295         * configure.in (libc_cv_fpie): Weaken to a compile test using
40296         LIBC_TRY_CC_OPTION.
40297         * configure: Regenerated.
40298
40299 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40300
40301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40305         Refreshed.
40306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40312         Refreshed.
40313
40314 2012-05-27  David S. Miller  <davem@davemloft.net>
40315
40316         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40317         (___Q_zero): New.
40318         (__Q_simulate_exceptions): Return void.  Change to simulate
40319         exceptions by writing into the %fsr.
40320         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40321         (__Qp_handle_exceptions): Likewise.
40322         (numbers): Delete.
40323         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40324         __Qp_handle_exceptions.
40325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40326         __Qp_handle_exceptions.
40327         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40328         as unused and give dummy FP_RND_NEAREST initializer.
40329         (FP_INHIBIT_RESULTS): Define.
40330         (___Q_simulate_exceptions): Update declaration.
40331         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40332         formatting.
40333         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40334         as unused and give dummy FP_RND_NEAREST initializer.
40335         (__Qp_handle_exceptions): Update declaration.
40336         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40337         formatting.
40338
40339 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
40340
40341         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40342         the temporary FPU control word.
40343         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40344         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40345         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40346         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40347         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40348         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40349         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40350         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40351         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40352         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40353         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40354
40355 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40356
40357         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40358         fields.
40359
40360 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
40361
40362         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40363         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40364         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40365         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40366         Likewise.
40367         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40368         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40369         Likewise.
40370
40371 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
40372
40373         * po/h.po: Update from translation team.
40374
40375 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
40376
40377         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40378
40379         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40380         handling of denormals.
40381         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40382         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40383         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40384         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40385         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40386         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40387         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40388         Likewise.
40389
40390 2012-05-26  Marek Polacek  <polacek@redhat.com>
40391
40392         [BZ #14152]
40393         * math/libm-test.inc (fma_test): Don't always expect underflow
40394         exception.
40395
40396 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40397
40398         [BZ #12416]
40399         * elf/tst-execstack.c: Include stackinfo.h.
40400         (do_test): Adjust test case to ensure that pthread_getattr_np
40401         behaviour remains the same after marking stack executable.
40402
40403 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40404
40405         * sysdeps/unix/sysv/linux/kernel-features.h
40406         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40407         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40408         kernel-features.h.
40409         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40410         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40411         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40412         kernel-features.h.
40413         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40414         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40415
40416 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
40417
40418         * configure.in: Define the default includes to being none.
40419         * configure: Regenerated.
40420
40421 2012-05-25  Roland McGrath  <roland@hack.frob.com>
40422
40423         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40424         * sysdeps/x86_64/setjmp.S: Likewise.
40425         * sysdeps/i386/bsd-setjmp.S: Likewise.
40426         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40427         * sysdeps/i386/setjmp.S: Likewise.
40428         * sysdeps/i386/__longjmp.S: Likewise.
40429         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40430         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40431
40432         * include/stap-probe.h: New file.
40433         * configure.in: Handle --enable-systemtap.
40434         * configure: Regenerated.
40435         * config.h.in (USE_STAP_PROBE): New #undef.
40436         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40437         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40438         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40439
40440 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40441
40442         [BZ #13717]
40443         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40444         to 2.4.0 where earlier.
40445         * sysdeps/unix/sysv/linux/configure: Regenerated.
40446         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40447         <kernel-features.h>.
40448         [__ASSUME_32BITUIDS]: Make code unconditional.
40449         [!__ASSUME_32BITUIDS]: Remove conditional code.
40450         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40451         <kernel-features.h>.
40452         [__ASSUME_32BITUIDS]: Make code unconditional.
40453         [!__ASSUME_32BITUIDS]: Remove conditional code.
40454         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40455         [__ASSUME_32BITUIDS]: Make code unconditional.
40456         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40457         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40458         <kernel-features.h>.
40459         [__ASSUME_32BITUIDS]: Make code unconditional.
40460         [!__ASSUME_32BITUIDS]: Remove conditional code.
40461         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40462         <kernel-features.h>.
40463         [__ASSUME_32BITUIDS]: Make code unconditional.
40464         [!__ASSUME_32BITUIDS]: Remove conditional code.
40465         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40466         <kernel-features.h>.
40467         [__ASSUME_32BITUIDS]: Make code unconditional.
40468         [!__ASSUME_32BITUIDS]: Remove conditional code.
40469         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40470         <kernel-features.h>.
40471         [__ASSUME_32BITUIDS]: Make code unconditional.
40472         [!__ASSUME_32BITUIDS]: Remove conditional code.
40473         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40474         <kernel-features.h>.
40475         [__ASSUME_32BITUIDS]: Make code unconditional.
40476         [!__ASSUME_32BITUIDS]: Remove conditional code.
40477         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40478         <kernel-features.h>.
40479         [__ASSUME_32BITUIDS]: Make code unconditional.
40480         [!__ASSUME_32BITUIDS]: Remove conditional code.
40481         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40482         <kernel-features.h>.
40483         [__ASSUME_32BITUIDS]: Make code unconditional.
40484         [!__ASSUME_32BITUIDS]: Remove conditional code.
40485         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40486         <kernel-features.h>.
40487         [__ASSUME_32BITUIDS]: Make code unconditional.
40488         [!__ASSUME_32BITUIDS]: Remove conditional code.
40489         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40490         <kernel-features.h>.
40491         [__ASSUME_32BITUIDS]: Make code unconditional.
40492         [!__ASSUME_32BITUIDS]: Remove conditional code.
40493         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40494         <kernel-features.h>.
40495         [__ASSUME_32BITUIDS]: Make code unconditional.
40496         [!__ASSUME_32BITUIDS]: Remove conditional code.
40497         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40498         <kernel-features.h>.
40499         [__NR_setresgid] (__setresgid): Do not declare.
40500         [__ASSUME_32BITUIDS]: Make code unconditional.
40501         [!__ASSUME_32BITUIDS]: Remove conditional code.
40502         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40503         <kernel-features.h>.
40504         [__NR_setresuid] (__setresuid): Do not declare.
40505         [__ASSUME_32BITUIDS]: Make code unconditional.
40506         [!__ASSUME_32BITUIDS]: Remove conditional code.
40507         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40508         <kernel-features.h>.
40509         [__ASSUME_32BITUIDS]: Make code unconditional.
40510         [!__ASSUME_32BITUIDS]: Remove conditional code.
40511         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40512         <kernel-features.h>.
40513         [__ASSUME_32BITUIDS]: Make code unconditional.
40514         [!__ASSUME_32BITUIDS]: Remove conditional code.
40515         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40516         <kernel-features.h>.
40517         [__ASSUME_32BITUIDS]: Make code unconditional.
40518         [!__ASSUME_32BITUIDS]: Remove conditional code.
40519         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40520         <kernel-features.h>.
40521         [__ASSUME_32BITUIDS]: Make code unconditional.
40522         [!__ASSUME_32BITUIDS]: Remove conditional code.
40523         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40524         <kernel-features.h>.
40525         [__ASSUME_32BITUIDS]: Make code unconditional.
40526         [!__ASSUME_32BITUIDS]: Remove conditional code.
40527         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40528         <kernel-features.h>.
40529         [__ASSUME_32BITUIDS]: Make code unconditional.
40530         [!__ASSUME_32BITUIDS]: Remove conditional code.
40531         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40532         <kernel-features.h>.
40533         [__ASSUME_32BITUIDS]: Make code unconditional.
40534         [!__ASSUME_32BITUIDS]: Remove conditional code.
40535         * sysdeps/unix/sysv/linux/i386/setreuid.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/setuid.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/shmctl.c: Do not include
40544         <kernel-features.h>.
40545         [__ASSUME_32BITUIDS]: Make code unconditional.
40546         [!__ASSUME_32BITUIDS]: Remove conditional code.
40547         * sysdeps/unix/sysv/linux/kernel-features.h
40548         (__ASSUME_SETRESUID_SYSCALL): Remove.
40549         (__ASSUME_SETRESGID_SYSCALL): Likewise.
40550         (__ASSUME_32BITUIDS): Likewise.
40551         (__ASSUME_LDT_WORKS): Likewise.
40552         (__ASSUME_O_DIRECTORY): Likewise.
40553         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40554         architecture but not kernel version.
40555         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40556         (__ASSUME_MMAP2_SYSCALL): Likewise.
40557         (__ASSUME_STAT64_SYSCALL): Likewise.
40558         (__ASSUME_IPC64): Likewise.
40559         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40560         <kernel-features.h>.
40561         [__ASSUME_32BITUIDS]: Make code unconditional.
40562         [!__ASSUME_32BITUIDS]: Remove conditional code.
40563         * sysdeps/unix/sysv/linux/opendir.c: Do not include
40564         <kernel-features.h>.
40565         [__ASSUME_O_DIRECTORY]: Make code unconditional.
40566         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40567         132096]: Remove conditional code.
40568         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40569         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40570         <kernel-features.h>.
40571         [__ASSUME_32BITUIDS]: Make code unconditional.
40572         [!__ASSUME_32BITUIDS]: Remove conditional code.
40573         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40574         <kernel-features.h>.
40575         [__ASSUME_32BITUIDS]: Make code unconditional.
40576         [!__ASSUME_32BITUIDS]: Remove conditional code.
40577         * sysdeps/unix/sysv/linux/setegid.c: Do not include
40578         <kernel-features.h>.
40579         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40580         unconditional.
40581         (__setresgid): Do not declare.
40582         [__ASSUME_32BITUIDS]: Make code unconditional.
40583         [!__ASSUME_32BITUIDS]: Remove conditional code.
40584         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40585         <kernel-features.h>.
40586         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40587         unconditional.
40588         (__setresuid): Do not declare.
40589         [__ASSUME_32BITUIDS]: Make code unconditional.
40590         [!__ASSUME_32BITUIDS]: Remove conditional code.
40591         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40592         <kernel-features.h>.
40593         [__ASSUME_32BITUIDS]: Make code unconditional.
40594         [!__ASSUME_32BITUIDS]: Remove conditional code.
40595         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40596         <kernel-features.h>.
40597         [__ASSUME_32BITUIDS]: Make code unconditional.
40598         [!__ASSUME_32BITUIDS]: Remove conditional code.
40599
40600 2012-05-25  Richard Henderson  <rth@twiddle.net>
40601
40602         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40603         dl_hwcap to ifunc resolver.
40604         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40605         elf_ifunc_invoke.
40606         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40607         dl_hwcap to ifunc resolver.
40608         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40609
40610 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40611
40612         [BZ #14153]
40613         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40614         for |x| <= 2**-26, not 2**-57.
40615         * math/libm-test.inc (acos_test): Do not allow spurious underflow
40616         exception.
40617
40618 2012-05-24  Jeff Law  <law@redhat.com>
40619
40620         * stdio-common/Makefile (tests): Add bug25.
40621         * stdio-common/bug25.c: New test.
40622
40623 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40624
40625         [BZ #13576]
40626         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40627         multiple of MALLOC_ALIGNMENT in size.
40628         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40629
40630 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40631
40632         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40633         Require >= 256.
40634         (FILENAME_MAX): Use macro-int-constant.
40635         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
40636         (_IOFBF): Use macro-int-constant.
40637         (_IOLBF): Likewise.
40638         (_IONBF): Likewise.
40639         (SEEK_CUR): Likewise.
40640         (SEEK_END): Likewise.
40641         (SEEK_SET): Likewise.
40642         (TMP_MAX): Likewise.
40643         (EOF): Use macro-int-constant.  Require < 0.
40644         (NULL): Use macro-constant.  Require == 0.
40645         (stdin): Require type to be FILE *.
40646         (stdout): Likewise.
40647         (stderr): Likewise.
40648         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40649         macro-int-constant.
40650         (EXIT_SUCCESS): Likewise.
40651         (NULL): Use macro-constant.  Require == 0.
40652         (RAND_MAX): Use macro-int-constant.
40653         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40654         [C99-based standards] (strtof): Require function.
40655         [C99-based standards] (strtold): Likewise.
40656         [C99-based standards] (strtoll): Likewise.
40657         [C99-based standards] (strtoull): Likewise.
40658         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40659         [ISO || ISO99 || ISO11] (limits.h): Likewise.
40660         [ISO || ISO99 || ISO11] (math.h): Likewise.
40661         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40662         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40663         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40664
40665 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
40666
40667         [BZ #14132]
40668         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40669         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40670         * intl/dgettext.c (DCGETTEXT): Likewise.
40671         * intl/gettext.c (DCGETTEXT): Likewise.
40672         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40673         * posix/regex_internal.h (gettext): Likewise.
40674         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40675         Remove declaration.
40676         * include/argz.h (__argz_count_internal)
40677         (__argz_stringify_internal): Remove declaration.
40678         (__argz_count, __argz_stringify): Declare hidden proto.
40679         * intl/dcgettext.c: Remove use of INTDEF.
40680         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40681         * string/argz-stringify.c: Likewise.
40682         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40683         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40684         Declare hidden proto.
40685         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40686         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40687         Declare hidden proto.
40688         * include/stdio.h (__asprintf_internal): Don't declare.
40689         (__asprintf): Don't define as macro.  Declare hidden proto.
40690         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40691         (__fsetlocking): Declare hidden proto.
40692         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40693         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40694         hidden proto.
40695         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40696         (_IO_setlinebuf): Remove use of INTUSE.
40697         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40698         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40699         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40700         Remove declaration.
40701         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40702         (_IO_do_flush): Remove use of INTUSE.
40703         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40704         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40705         (_IO_adjust_column, _IO_least_wmarker)
40706         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40707         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40708         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40709         (_IO_default_doallocate, _IO_wdefault_doallocate)
40710         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40711         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40712         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40713         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40714         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40715         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40716         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40717         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40718         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40719         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40720         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40721         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40722         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40723         proto.
40724         (_IO_flush_all_internal, _IO_adjust_column_internal)
40725         (_IO_default_uflow_internal, _IO_default_finish_internal)
40726         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40727         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40728         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40729         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40730         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40731         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40732         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40733         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40734         (_IO_file_close_internal, _IO_file_close_it_internal)
40735         (_IO_file_underflow_internal, _IO_file_overflow_internal)
40736         (_IO_file_init_internal, _IO_file_attach_internal)
40737         (_IO_file_fopen_internal, _IO_file_read_internal)
40738         (_IO_file_sync_internal, _IO_file_seek_internal)
40739         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40740         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40741         (_IO_str_underflow_internal, _IO_str_overflow_internal)
40742         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40743         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40744         (_IO_list_all_internal, _IO_link_in_internal)
40745         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40746         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40747         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40748         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40749         (_IO_do_write_internal, _IO_padn_internal)
40750         (_IO_getline_info_internal, _IO_getline_internal)
40751         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40752         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40753         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40754         (_IO_vfscanf_internal, _IO_vfprintf_internal)
40755         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40756         (_IO_init_internal, _IO_un_link_internal): Don't declare.
40757         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40758         with libc_hidden_ver, remove use of INTUSE.
40759         * libio/genops.c: Likewise.
40760         * libio/freopen.c: Likewise.
40761         * libio/freopen64.c: Likewise.
40762         * libio/iofclose.c: Likewise.
40763         * libio/iofdopen.c: Likewise.
40764         * libio/iofflush.c: Likewise.
40765         * libio/iofflush_u.c: Likewise.
40766         * libio/iofgets.c: Likewise.
40767         * libio/iofgets_u.c: Likewise.
40768         * libio/iofopen.c: Likewise.
40769         * libio/iofopncook.c: Likewise.
40770         * libio/iofread.c: Likewise.
40771         * libio/iofread_u.c: Likewise.
40772         * libio/ioftell.c: Likewise.
40773         * libio/iofwrite.c: Likewise.
40774         * libio/iogetline.c: Likewise.
40775         * libio/iogets.c: Likewise.
40776         * libio/iogetwline.c: Likewise.
40777         * libio/iopadn.c: Likewise.
40778         * libio/iopopen.c: Likewise.
40779         * libio/ioseekoff.c: Likewise.
40780         * libio/ioseekpos.c: Likewise.
40781         * libio/iosetbuffer.c: Likewise.
40782         * libio/iosetvbuf.c: Likewise.
40783         * libio/ioungetc.c: Likewise.
40784         * libio/ioungetwc.c: Likewise.
40785         * libio/iovdprintf.c: Likewise.
40786         * libio/iovsprintf.c: Likewise.
40787         * libio/iovsscanf.c: Likewise.
40788         * libio/memstream.c: Likewise.
40789         * libio/obprintf.c: Likewise.
40790         * libio/oldfileops.c: Likewise.
40791         * libio/oldiofclose.c: Likewise.
40792         * libio/oldiofdopen.c: Likewise.
40793         * libio/oldiofopen.c: Likewise.
40794         * libio/oldiopopen.c: Likewise.
40795         * libio/oldstdfiles.c: Likewise.
40796         * libio/putc.c: Likewise.
40797         * libio/setbuf.c: Likewise.
40798         * libio/setlinebuf.c: Likewise.
40799         * libio/stdfiles.c: Likewise.
40800         * libio/strops.c: Likewise.
40801         * libio/vasprintf.c: Likewise.
40802         * libio/vscanf.c: Likewise.
40803         * libio/vsnprintf.c: Likewise.
40804         * libio/vswprintf.c: Likewise.
40805         * libio/wfiledoalloc.c: Likewise.
40806         * libio/wfileops.c: Likewise.
40807         * libio/wgenops.c: Likewise.
40808         * libio/wmemstream.c: Likewise.
40809         * libio/wstrops.c: Likewise.
40810         * libio/__fpurge.c: Likewise.
40811         * libio/__fsetlocking.c: Likewise.
40812         * assert/assert.c: Likewise.
40813         * debug/fgets_chk.c: Likewise.
40814         * debug/fgets_u_chk.c: Likewise.
40815         * debug/fread_chk.c: Likewise.
40816         * debug/fread_u_chk.c: Likewise.
40817         * debug/gets_chk.c: Likewise.
40818         * debug/obprintf_chk.c: Likewise.
40819         * debug/vasprintf_chk.c: Likewise.
40820         * debug/vdprintf_chk.c: Likewise.
40821         * debug/vsnprintf_chk.c: Likewise.
40822         * debug/vsprintf_chk.c: Likewise.
40823         * malloc/mtrace.c: Likewise.
40824         * misc/error.c: Likewise.
40825         * misc/syslog.c: Likewise.
40826         * stdio-common/asprintf.c: Likewise.
40827         * stdio-common/fxprintf.c: Likewise.
40828         * stdio-common/getw.c: Likewise.
40829         * stdio-common/isoc99_fscanf.c: Likewise.
40830         * stdio-common/isoc99_scanf.c: Likewise.
40831         * stdio-common/isoc99_vfscanf.c: Likewise.
40832         * stdio-common/isoc99_vscanf.c: Likewise.
40833         * stdio-common/isoc99_vsscanf.c: Likewise.
40834         * stdio-common/printf-prs.c: Likewise.
40835         * stdio-common/printf_fp.c: Likewise.
40836         * stdio-common/printf_fphex.c: Likewise.
40837         * stdio-common/printf_size.c: Likewise.
40838         * stdio-common/putw.c: Likewise.
40839         * stdio-common/scanf.c: Likewise.
40840         * stdio-common/sprintf.c: Likewise.
40841         * stdio-common/tmpfile.c: Likewise.
40842         * stdio-common/vfprintf.c: Likewise.
40843         * stdio-common/vfscanf.c: Likewise.
40844         * stdlib/strfmon_l.c: Likewise.
40845         * sunrpc/openchild.c: Likewise.
40846         * sunrpc/xdr_stdio.c: Likewise.
40847         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40848         * sysdeps/mach/hurd/tmpfile.c: Likewise.
40849
40850 2012-05-24  Roland McGrath  <roland@hack.frob.com>
40851
40852         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40853
40854         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40855         in the third column, to generate for the shared library an IFUNC
40856         that uses _dl_vdso_vsym.
40857         * Makerules (COMPILE.c, compile-stdin.c): New variables.
40858         * Makeconfig (object-suffixes-noshared): New variable.
40859
40860         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40861         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40862         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40863         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40864
40865         [BZ #14132]
40866         * include/sys/time.h (__gettimeofday): Remove macro.
40867         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40868         * time/gettimeofday.c (__gettimeofday): Remove #undef.
40869         Remove INTDEF.
40870         (__gettimeofday): Add libc_hidden_def.
40871         (gettimeofday): Add libc_hidden_weak.
40872         * sysdeps/mach/gettimeofday.c: Likewise.
40873         * sysdeps/posix/gettimeofday.c: Likewise.
40874         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40875         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40876         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40877         (__gettimeofday_internal): Remove strong_alias.
40878         (__gettimeofday): Add libc_hidden_def.
40879         (gettimeofday): Add libc_hidden_weak.
40880         * sysdeps/unix/syscalls.list (gettimeofday):
40881         Remove __gettimeofday_internal alias.
40882
40883 2012-05-24  Daniel Jacobowitz  <drow@false.org>
40884             H.J. Lu  <hongjiu.lu@intel.com>
40885
40886         [BZ #12495]
40887         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40888         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40889         (largebin_index_32_big): New.
40890         (largebin_index): Use it for 16-byte alignment.
40891         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
40892         correction with front_misalign.
40893
40894 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40895
40896         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40898         Likewise.
40899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40900         Likewise.
40901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40902         Likewise.
40903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40904         Likewise.
40905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40906         Likewise.
40907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40908         Likewise.
40909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40910         Likewise.
40911         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40912         Likewise.
40913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40914         Likewise.
40915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40916         Likewise.
40917         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40918         Likewise.
40919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40920         Likewise.
40921
40922         * scripts/data/c++-types-x32-linux-gnu.data: New file.
40923         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40924
40925 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40926
40927         [BZ #10846]
40928         [BZ #14036]
40929         * math/libm-test.inc (exp_test): Add test from bug 14036.
40930         (pow_test): Add test from bug 10846.
40931
40932         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40933         and other flags.
40934         (special_function): Do not include flags in test name.
40935         (parse_args): Likewise.
40936         * sysdeps/i386/fpu/libm-test-ulps: Update.
40937         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40938         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40939         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40941
40942         * math/gen-libm-test.pl (%beautify): Add entries for underflow
40943         exceptions.
40944         * math/libm-test.inc ("Philosophy"): Update comment about
40945         exception testing.
40946         (UNDERFLOW_EXCEPTION): New macro.
40947         (UNDERFLOW_EXCEPTION_OK): Likewise.
40948         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40949         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40950         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40951         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40952         (INVALID_EXCEPTION_OK): Update value.
40953         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40954         (OVERFLOW_EXCEPTION_OK): Likewise.
40955         (IGNORE_ZERO_INF_SIGN): Likewise.
40956         (test_exceptions): Handle underflow exceptions.
40957         (acos_test): Update for underflow exception expectations.
40958         (cexp_test): Likewise.
40959         (clog_test): Likewise.
40960         (clog10_test): Likewise.
40961         (csqrt_test): Likewise.
40962         (ctan_test): Likewise.
40963         (ctanh_test): Likewise.
40964         (exp_test): Likewise.
40965         (exp10_test): Likewise.
40966         (exp2_test): Likewise.
40967         (expm1_test): Likewise.
40968         (fma_test): Likewise.
40969         (j0_test): Likewise.
40970         (jn_test): Likewise.
40971         (nexttoward_test): Likewise.
40972         (pow_test): Likewise.
40973         (scalbn_test): Likewise.
40974         (scalbln_test): Likewise.
40975         (tan_test): Likewise.
40976         (y1_test): Likewise.
40977         * sysdeps/i386/fpu/libm-test-ulps: Update.
40978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40979
40980 2012-05-23  David S. Miller  <davem@davemloft.net>
40981
40982         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40983         (__libc_sigaction): Remove unused local variables.
40984
40985 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40986
40987         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40988
40989 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
40990
40991         mktime: avoid signed integer overflow
40992         * time/mktime.c (__mktime_internal): Do not mishandle the case
40993         where diff == INT_MIN.
40994
40995         mktime: simplify computation of average
40996         * time/mktime.c (ranged_convert): Use new time_t_avg function
40997         instead of rolling our own (probably-slower) code.
40998
40999         mktime: do not assume signed right shift propagates sign bit
41000         * time/mktime.c (isdst_differ): New static function.
41001         (__mktime_internal): No need to normalize tm_isdst now.
41002         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41003         tm_isdst values.
41004
41005         mktime: merge another wrapv change from gnulib
41006         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41007         from some compilers.
41008
41009         mktime: remove incorrect attempt at unusual arithmetics
41010         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41011         The code didn't really work on such machines anyway.
41012         (TYPE_MINIMUM): Assume two's complement.
41013         (twos_complement_arithmetic): Verify that long_int and time_t
41014         are two's complement (or unsigned, in the latter case).
41015
41016         mktime: check signed shifts on long_int and time_t, too
41017         * time/mktime.c (SHR): Check that shifts work as desired
41018         on the types long_int and time_t too, as SHR is used on
41019         such types.
41020
41021         mktime: do not assume 'long' is wide enough
41022         * time/mktime.c (verify): Move decl up.
41023         (long_int): New type.
41024         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41025         to remove assumption in the code that 'long' is wide enough to
41026         store year values.  This assumption is not true on x32 and on
41027         some non-glibc platforms.
41028
41029         mktime: merge wrapv change from gnulib
41030         * time/mktime.c (WRAPV): New macro.
41031         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41032         (guess_time_tm, __mktime_internal): Do not assume that signed
41033         integer overflow wraps around; modern compilers generate code
41034         where this assumption is no longer valid.
41035
41036 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41037
41038         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41039         Replace "jmp L(pseudo_end)" with "ret".
41040         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41041         Likewise.
41042
41043 2012-05-23  Andreas Jaeger  <aj@suse.de>
41044
41045         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41046         * sysdeps/unix/sysv/linux/poll.c: Remove file.
41047
41048 2012-05-23  Andreas Jaeger  <aj@suse.de>
41049             Maximilian Attems  <max@stro.at>
41050
41051         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41052         New macros.
41053
41054 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41055
41056         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41057         code so that pseudo_end is just ret and the stack pointer is
41058         correct also for static library in error case.
41059
41060 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
41061
41062         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41063         move to syscalls.list.
41064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41068
41069         * manual/install.texi (Running make install): Do not mention Linux
41070         kernel version for which pt_chown is not needed.
41071         (Linux): Do not mention problems with nscd with 2.0 kernels.
41072         * INSTALL: Regenerated.
41073
41074 2012-05-23  Andreas Jaeger  <aj@suse.de>
41075
41076         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41077         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41078         macro.
41079         * sysdeps/unix/sysv/linux/s390/bits/mman.h
41080         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41081         * sysdeps/unix/sysv/linux/sh/bits/mman.h
41082         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41083         * sysdeps/unix/sysv/linux/i386/bits/mman.h
41084         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41085         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41086         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41087         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41088         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41089         * sysdeps/unix/sysv/linux/bits/in.h
41090         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41091
41092 2012-05-22  Roland McGrath  <roland@hack.frob.com>
41093
41094         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41095         (PREPARE_VERSION): Just use assert instead, it will be elided
41096         under [NDEBUG] anyway.
41097
41098 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41099
41100         * sysdeps/unix/sysv/linux/Makefile: Include
41101         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41102         (sysdep_routines): Remove sysctl.
41103         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41104         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41105         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41106         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41107         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41108
41109 2012-05-22  Andreas Jaeger  <aj@suse.de>
41110
41111         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41112         that pseudo_end is just ret and the stack pointer is correct also
41113         for static library in error case.
41114
41115 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
41116
41117         [BZ #14122]
41118         * nss/nsswitch.c (defconfig_entries): New variable.
41119         (__nss_database_lookup): Don't leak defconfig entries.
41120         (nss_parse_service_list): Don't leak on error paths.
41121         (free_database_entries): New function.
41122         (free_defconfig): New function.
41123         (free_mem): Move common code to free_database_entries.
41124
41125 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41126
41127         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41128         Add arch_prctl.
41129         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41130
41131         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41132         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41133         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41134         New macro.
41135         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41136         (INTERNAL_SYSCALL_TYPES): Likewise.
41137         (LOAD_ARGS_TYPES_[1-6]): Likewise.
41138         (LOAD_REGS_TYPES_[1-6]): Likewise.
41139         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41140         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41141
41142 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41143
41144         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41145         copysignl for GLIBC_2_0.
41146         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41147         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41148         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41149         logbl for GLIBC_2_0.
41150         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41151         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41152
41153 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41154
41155         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41156         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41157
41158         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41159         Use "neg %eax".
41160
41161         * time/mktime.c: Update copyright years.
41162
41163 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
41164
41165         mktime: merge comment-quoting-style change from gnulib
41166         * time/mktime.c: Quote 'like this' in comments.
41167         The GNU coding standards suggest that we no longer quote `like this',
41168         as "`" and "'" are typically rendered asymmetrically nowadays.
41169         The typical gnulib style is to quote 'like this' when quoting
41170         code, and "like this" when quoting English.
41171
41172         * time/mktime.c (compile-command): Add "-I.".
41173
41174         mktime: merge mktime-internal.h change from gnulib
41175         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41176
41177         mktime: merge time_r change from gnulib
41178         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41179
41180         mktime: merge DEBUG change from gnulib
41181         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41182         case system <time.h> has a #define.
41183
41184         mktime: merge <sys/types.h> change from gnulib
41185         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41186         since <time.t> is now guaranteed to define time_t.
41187
41188         mktime: merge HAVE_CONFIG_H change from gnulib
41189         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41190
41191 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41192
41193         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41194         Use "neg %eax".
41195
41196         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41197         __rlim_t cast.
41198         (struct rusage): Use anonymous union to pad each field to
41199         __syscall_slong_t.
41200
41201 2012-05-21  David S. Miller  <davem@davemloft.net>
41202
41203         * Makefules (o-iterator): Remove .s cases.
41204         (compile-command.s): Delete.
41205         (COMPILE.s): Delete.
41206         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41207
41208 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
41209
41210         * configure.in (libc_cv_predef_stack_protector): Only consider
41211         "foobar" and "__stack_chk_fail" lines in libc_undefs.
41212         * configure: Regenerated.
41213
41214 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41215
41216         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41217         New macro.  Use R*LP on int and pointer.
41218         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41219         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41220         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41221         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41222
41223         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41224         [__WORDSIZE_TIME64_COMPAT32] instead of
41225         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41226         (struct utmp): Likewise.
41227         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41228         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41229         Renamed to ...
41230         (__WORDSIZE_TIME64_COMPAT32): This.
41231         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41232         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41233         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41234         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41235         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41236         (__WORDSIZE_TIME64_COMPAT32): New macro.
41237
41238 2012-05-21  Andreas Jaeger  <aj@suse.de>
41239
41240         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41241         only if [SHARED]. Add prototype for __wcschr_ia32.
41242
41243 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41244
41245         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41246         of %rbp unmolested in the jmp_buf while mangling the low bits.
41247         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41248         unmolested high bits of %rbp while demangling the low bits.
41249         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41250
41251 2012-05-21  Andreas Jaeger  <aj@suse.de>
41252
41253         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41254         * sunrpc/svc_simple.c: Use it for registerrpc.
41255         * sunrpc/xcrypt.c: Use it for passwd2des.
41256
41257         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41258
41259 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41260
41261         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41262         Don't define if [__SYSCALL_WORDSIZE != 32].
41263         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41264         New macro.
41265
41266 2012-05-21  Bruno Haible  <bruno@clisp.org>
41267             Andreas Jaeger  <aj@suse.de>
41268
41269         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41270         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41271         inptr and inend for must_buffer_ch.
41272         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41273         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41274         * stdio-common/Makefile (tests): Remove bug15.
41275         (bug15-ENV): Remove macro.
41276         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41277         anymore.
41278
41279 2012-05-19  Andreas Jaeger  <aj@suse.de>
41280             Roland McGrath  <roland@hack.frob.com>
41281
41282         * manual/contrib.texi: Completely rewritten. It contains now an
41283         alphabetical list of contributors and their contributions.
41284
41285 2012-05-21  Richard Henderson  <rth@twiddle.net>
41286
41287         * misc/getauxval.c (__getauxval): Use unsigned long int.
41288         * misc/sys/auxv.h: Include <sys/cdefs.h>.
41289         (getauxval): Use unsigned long int.
41290
41291 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41292
41293         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41294
41295 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41296
41297         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41298         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41299         __alignof__ (long double).
41300
41301 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41302
41303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41304
41305 2012-05-20  Richard Henderson  <rth@twiddle.net>
41306
41307         * misc/getauxval.c: New file.
41308         * misc/sys/auxv.h: New file.
41309         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41310         (routines): Add getauxval.
41311         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41312         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41313         * elf/dl-sysdep.c (_dl_auxv): Remove.
41314         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41315         * elf/dl-support.c (_dl_auxv): New variable.
41316         (_dl_aux_init): Initialize it.
41317         * manual/startup.texi (Auxiliary Vector): New node.
41318         * sysdeps/generic/bits/hwcap.h: New file.
41319         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41320         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
41321         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41322         * sysdeps/sparc/sysdep.h: ... here.  Include it.
41323         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41324         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41326         Update.
41327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41330         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41335
41336 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41337
41338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41339
41340 2012-05-19  David S. Miller  <davem@davemloft.net>
41341
41342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41343
41344 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41345
41346         [BZ #14123]
41347         * math/s_ccosh.c: Include <float.h>
41348         (__ccosh): Avoid internal overflow calculating sinh and cosh
41349         values before multiplying by sin and cos values.
41350         * math/s_ccoshf.c: Likewise.
41351         * math/s_ccoshl.c: Likewise.
41352         * math/s_csin.c: Likewise.
41353         * math/s_csinf.c: Likewise.
41354         * math/s_csinl.c: Likewise.
41355         * math/s_csinh.c: Likewise.
41356         * math/s_csinhf.c: Likewise.
41357         * math/s_csinhl.c: Likewise.
41358         * math/libm-test.inc (ccos_test): Add more tests.
41359         (ccosh_test): Likewise.
41360         (csin_test): Likewise.
41361         (csinh_test): Likewise.
41362         * sysdeps/i386/fpu/libm-test-ulps: Update.
41363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41364
41365 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
41366
41367         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41368         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41369
41370         * sysdeps/x86_64/x32/_itoa.h: Add comment.
41371
41372 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41373
41374         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41375         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41376         * sysdeps/powerpc/soft-fp/Versions: Likewise.
41377         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41378         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41379         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41380         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41381         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41382         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41383         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41384         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41385         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41386         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41387         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41388         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41389         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41390         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41391         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41392         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41393         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41394         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41395         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41396         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41397         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41398         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41399         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41400         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41401         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41402         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41403         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41404         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41405
41406 2012-05-18  Andreas Jaeger  <aj@suse.de>
41407
41408         * csu/.gitignore: Delete.
41409
41410 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41411
41412         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41413         (timex): Use __syscall_slong_t.
41414
41415 2012-05-18  Andreas Jaeger  <aj@suse.de>
41416             Carlos O'Donell  <carlos_odonell@mentor.com>
41417
41418         * manual/install.texi (Configuring and compiling): Update
41419         description about files modified in the source directory.
41420         * INSTALL: Regenerated.
41421
41422 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41423
41424         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41425         value.  Use "or" to set return value to -1.
41426         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41427         negate return value.
41428
41429 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41430
41431         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41432         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41433         failure if the compiler has Graphite support disabled.
41434         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41435         Likewise.
41436         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41437         (CFLAGS-memmove.c): Likewise.
41438         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41439         Likewise.
41440
41441 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41442
41443         * sysdeps/x86_64/x32/_itoa.h: New file.
41444
41445         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41446         getdents system call only if kernel and user dirents have the
41447         same d_ino and d_off.
41448
41449         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41450         LLONG_MAX != LONG_MAX.
41451         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41452         (_fitoa_word): Likewise.
41453
41454         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41455         years.
41456         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41457         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41458         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41459
41460         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41461         include <bits/wordsize.h>.  Check __x86_64__ instead of
41462         __WORDSIZE.
41463         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41464         if __x86_64__ is defined.  Use anonymous union on fpstate.
41465
41466         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41467         anonymous union.
41468
41469 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
41470
41471         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41472         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41473         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41474         Refer to _rtld_local_ro instead of _rtld_global_ro.
41475         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41476         Likewise.
41477         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41478         Likewise.
41479         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41480         Likewise.
41481         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41482         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41483         of _rtld_global, and rtld_progname instead of _dl_argv[0].
41484
41485         * sysdeps/powerpc/powerpc32/dl-machine.c
41486         (__elf_machine_runtime_setup) [PROF]: Don't reference
41487         _dl_prof_resolve.
41488
41489 2012-05-18  Andreas Jaeger  <aj@suse.de>
41490
41491         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41492         function only available for GCCs before 3.4 since GCC 3.4
41493         introduced a builtin.
41494         (lrint): Likewise.
41495         (llrintf): Likewise.
41496         (llrint): Likewise.
41497         (fmaxf): Likewise.
41498         (fmax): Likewise.
41499         (fminf): Likewise.
41500         (fmin): Likewise.
41501         (rint): Likewise.
41502         (rintf): Likewise.
41503         (nearbyint): Likewise.
41504         (nearbyintf): Likewise.
41505         (ceil): Likewise.
41506         (ceilf): Likewise.
41507         (floor): Likewise.
41508         (floorf): Likewise.
41509
41510 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41511
41512         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41513         on both fields and cast pointer to __syscall_ulong_t.
41514
41515         * bits/types.h (__fsword_t): New type.
41516         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41517         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41518         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41519         (__FSWORD_T_TYPE): Likewise.
41520         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41521         (__FSWORD_T_TYPE): Likewise.
41522         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41523         (__FSWORD_T_TYPE): Likewise.
41524         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41525         (__FSWORD_T_TYPE): Likewise.
41526         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41527         __SWORD_TYPE with __fsword_t.
41528         (statfs64): Likewise.
41529
41530 2012-05-17  David S. Miller  <davem@davemloft.net>
41531
41532         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41533
41534 2012-05-17  Andreas Jaeger  <aj@suse.de>
41535
41536         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41537         warning.
41538
41539 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41540
41541         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41542
41543 2012-05-17  Andreas Jaeger  <aj@suse.de>
41544
41545         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41546         when it is used.
41547
41548 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41549
41550         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41551
41552 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41553
41554         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41555         * sysdeps/x86_64/tst-mallocalign1.c: New file.
41556
41557 2012-05-17  Andreas Jaeger  <aj@suse.de>
41558             Carlos O'Donell  <carlos_odonell@mentor.com>
41559
41560         [BZ #14059]
41561         * sysdeps/x86_64/multiarch/init-arch.h
41562         (bit_YMM_Usable): Rename to...
41563         (bit_AVX_Usable): ... this.
41564         (bit_FMA4_Usable): New macro.
41565         (bit_XMM_state): New macro.
41566         (bit_YMM_state): New macro.
41567         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41568         [__ASSEMBLER__] (index_AVX_Usable): ... this.
41569         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41570         (CPUID_OSXSAVE): New macro.
41571         (CPUID_AVX): New macro.
41572         (CPUID_FMA4): New macro.
41573         (index_YMM_Usable): Rename to...
41574         (index_AVX_Usable): ... this.
41575         (HAS_AVX): Use HAS_ARCH_FEATURE.
41576         (HAS_FMA4): Likewise.
41577         (HAS_YMM_USABLE): Remove.
41578         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41579         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41580         are present.
41581         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41582         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41583         * sysdeps/x86_64/multiarch/Makefile: Likewise.
41584         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41585         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41586
41587 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41588
41589         * math/libm-test.c: Support platforms without multiple rounding modes.
41590         * math/bug-nextafter.c: Support platforms without FP exceptions.
41591         * math/bug-nexttoward.c: Likewise.
41592         * math/test-fenv.c: Likewise.
41593         * math/test-misc.c: Likewise.
41594         * stdlib/bug-getcontext.c: Likewise.
41595
41596 2012-05-17  Andreas Jaeger  <aj@suse.de>
41597
41598         * manual/examples/search.c (critter_cmp): Change signature to
41599         avoid warnings.
41600         * manual/string.texi (Collation Functions): Likewise.
41601
41602 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41603
41604         * bits/types.h: Fold copyright years.
41605         * bits/typesizes.h: Likewise.
41606         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41607         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41608         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41609         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41610         * time/time.h: Likewise.
41611
41612 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
41613
41614         [BZ #208]
41615         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41616         in instead of returning them.  Return void.
41617         (__libc_mallinfo): Accumulate over all arenas.
41618         (__malloc_stats): Adjust for change in int_mallinfo interface.
41619
41620 2012-05-16  Roland McGrath  <roland@hack.frob.com>
41621
41622         [BZ #10375]
41623         * configure.in (NM): Add AC_CHECK_TOOL for it.
41624         (libc_extra_cflags): New substituted variable.
41625         Check for -fstack-protector being used implicitly.
41626         * configure: Regenerated.
41627         * config.make.in (config-extra-cflags): New variable,
41628         gets @libc_extra_cflags@.
41629         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41630
41631         [BZ #10375]
41632         * configure.in: Check for _FORTIFY_SOURCE being predefined.
41633         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41634         * configure: Regenerated.
41635         * config.make.in (CPPUNDEFS): New substituted variable.
41636         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41637         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41638         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41639
41640 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41641
41642         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41643         (mq_attr): Use __syscall_slong_t.
41644
41645 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41646
41647         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41648         Check __x86_64__ instead of __WORDSIZE.
41649         (_STAT_VER_LINUX): Likewise.
41650         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
41651         __syscall_ulong_t and __syscall_slong_t.
41652         (stat64): Likewise.
41653
41654 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41655
41656         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41657
41658 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41659
41660         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41661
41662 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41663
41664         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41665         __syscall_ulong_t.
41666
41667         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41668         include <bits/wordsize.h>.  Check __x86_64__ instead of
41669         __WORDSIZE.
41670         (greg_t): Use "__extension__ long long int" if __x86_64__ is
41671         defined.
41672         (mcontext_t): Replace "unsigned long" with "unsigned long long".
41673
41674         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41675         include <bits/wordsize.h>.  Check __x86_64__ instead of
41676         __WORDSIZE.
41677         (user_regs_struct): Use "__extension__ unsigned long long"
41678         instead of "unsigned long" if __x86_64__ is defined.
41679         (user): Likewise.  Pad after pointer field if __ILP32__ is
41680         defined.
41681
41682 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
41683
41684         * configure.in (makeinfo): Require version 4.5 or later.  Allow
41685         versions 5 to 9.
41686         * configure: Regenerated.
41687         * manual/install.texi (texinfo): Increase version requirement to
41688         4.5 or later.
41689         * INSTALL: Regenerated.
41690
41691         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41692
41693 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41694
41695         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41696
41697         * sysdeps/x86_64/x32/ffs.c: New file.
41698
41699         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41700         __syscall_ulong_t.
41701         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41702         defined.  Use __syscall_ulong_t.
41703         (shminfo): Use __syscall_ulong_t.
41704         (shm_info): Likewise.
41705
41706         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41707         __syscall_ulong_t.
41708
41709         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41710         <bits/wordsize.h>.
41711         (msgqnum_t): Use __syscall_ulong_t.
41712         (msglen_t): Likewise.
41713         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
41714         __syscall_ulong_t.
41715
41716         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41717         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41718
41719         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41720
41721         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41722         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41723
41724         * sysvipc/sys/msg.h (msgbuf): Replace long int with
41725         __syscall_slong_t.
41726
41727         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41728         include <bits/wordsize.h>.  Check __x86_64__ instead of
41729         __WORDSIZE.
41730
41731         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41732         "unsigned long long int" if __x86_64__ is defined.
41733         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41734
41735         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41736         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41737         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41738
41739         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41740         <stdint.h>.
41741         (GET_PC): Cast to uintptr_t first.
41742         (GET_FRAME): Likewise.
41743         (GET_STACK): Likewise.
41744
41745         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41746         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41747         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41748         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41749         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41750         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41751         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41752         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41753         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41754         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41755         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41756         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41757         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41758         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41759         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41760         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41761         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41762         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41763         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41764         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41765         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41766         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41767         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41768         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41769         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41770         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41771         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41772         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41773         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41774
41775 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
41776
41777         * Makerules (+depfiles): Also collect depfiles from .oS in
41778         $(extra-objs).
41779         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41780         .oS, $(libnldbl-routines)).
41781
41782         * Makerules (native-compile-mkdep-flags): Define.
41783         * sunrpc/Makefile (extra-objs): Add $(addprefix
41784         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41785         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41786         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
41787         calling $(make-target-directory).
41788
41789 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41790
41791         * bits/types.h (__snseconds_t): Removed.
41792         * time/time.h (struct timespec): Replace __snseconds_t with
41793         __syscall_slong_t.
41794         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41795         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41796         Likewise.
41797         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41798         (__SNSECONDS_T_TYPE): Likewise.
41799         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41800         (__SNSECONDS_T_TYPE): Likewise.
41801         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41802         (__SNSECONDS_T_TYPE): Likewise.
41803
41804 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41805
41806         * sysdeps/mach/hurd/bits/typesizes.h
41807         (__SYSCALL_SLONG_TYPE): New macro.
41808         (__SYSCALL_ULONG_TYPE): Likewise.
41809
41810 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41811
41812         * bits/types.h (__syscall_slong_t): New type.
41813         (__syscall_ulong_t): Likewise.
41814
41815         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41816         (__SYSCALL_ULONG_TYPE): Likewise.
41817         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41818         (__SYSCALL_SLONG_TYPE): Likewise.
41819         (__SYSCALL_ULONG_TYPE): Likewise.
41820         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41821         (__SYSCALL_SLONG_TYPE): Likewise.
41822         (__SYSCALL_ULONG_TYPE): Likewise.
41823         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41824         (__SYSCALL_SLONG_TYPE): Likewise.
41825         (__SYSCALL_ULONG_TYPE): Likewise.
41826
41827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41828
41829         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41830         Add sigaltstack-offsets.sym.
41831         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41832         <sigaltstack-offsets.h>.
41833         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
41834         longjmp_msg pointer.
41835         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
41836         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41837         signal stack.
41838         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41839
41840 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41841
41842         * elf/stackguard-macros.h: Remove file.
41843         * sysdeps/generic/stackguard-macros.h: New file.
41844         * sysdeps/i386/stackguard-macros.h: Likewise.
41845         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41846         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41847         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41848         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41849         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41850         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41851         * sysdeps/x86_64/stackguard-macros.h: Likewise.
41852         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41853         <elf/stackguard-macros.h>.
41854
41855         [BZ #14109]
41856         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41857         __aligned__ in attribute.
41858         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41859         (gregset_t): Likewise.
41860
41861 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41862
41863         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41864         * sysdeps/x86_64/64/Implies-after: Here.  New file.
41865         * sysdeps/x86_64/x32/Implies-after: New file.
41866
41867 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41868
41869         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41870         and access return value for _dl_profile_fixup.  Use R10_LP to
41871         load frame size.
41872
41873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41874
41875         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41876
41877 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41878
41879         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41880         * sysdeps/x86_64/x32/sysdep.h: New file.
41881
41882 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41883
41884         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41885         * sysdeps/x86_64/setjmp.S: Likewise.
41886
41887 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41888
41889         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41890         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41891         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41892         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41893         remove unused global constant.
41894
41895 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
41896
41897         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41898         include of <not-cancel.h>.
41899
41900 2012-05-15  Roland McGrath  <roland@hack.frob.com>
41901
41902         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41903
41904 2012-05-15  Jeff Law  <law@redhat.com>
41905             Andreas Jaeger  <aj@suse.de>
41906
41907         [BZ #13594]
41908         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41909         out from...
41910         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41911         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41912         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41913         code changing __hst_map_handle.map.
41914
41915 2012-05-15  Roland McGrath  <roland@hack.frob.com>
41916
41917         * configure.in (sysnames): Look for Implies-before and Implies-after
41918         files.
41919         * configure: Regenerated.
41920
41921 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41922
41923         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41924         8-byte data alignment with LP_SIZE alignment.
41925
41926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41927
41928         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41929         into R10_LP.
41930
41931 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41932
41933         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41934
41935 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41936
41937         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41938         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41939         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41940         Likewise.
41941         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41942
41943 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41944
41945         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41946         (stackinfo_sub_sp): Likewise.
41947
41948 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41949
41950         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41951         RAX_LP.
41952
41953 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41954
41955         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41956         into R*_LP.
41957
41958 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41959
41960         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41961         sizes into R*_LP.
41962
41963 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41964
41965         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41966
41967 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41968
41969         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41970         into R11_LP and load __x86_64_shared_cache_size_half into
41971         R8_LP.
41972
41973 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41974
41975         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41976         R8_LP.
41977
41978 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41979
41980         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41981         logb for POWER7.
41982         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41983         logbf for POWER7.
41984         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41985         logbl for POWER7.
41986         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41987         powerpc32/power7/fpu/s_logb.c via #include.
41988         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41989         powerpc32/power7/fpu/s_logbf.c via #include.
41990         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41991         powerpc32/power7/fpu/s_logbl.c via #include.
41992
41993 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41994
41995         * README.libm: Remove file.
41996
41997 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41998
41999         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42000         count for x32.  Use R*_LP and omit operand-size suffix.
42001
42002 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42003
42004         * shlib-versions: Move x86_64-.*-linux.* entries to ...
42005         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
42006         * sysdeps/x86_64/x32/shlib-versions: New file.
42007
42008 2012-05-14  Roland McGrath  <roland@hack.frob.com>
42009
42010         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42011         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42012         Use _dl_fatal_printf instead.
42013
42014 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42015
42016         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42017         set if not set by the user.  Do not allow for being unset.
42018         * sysdeps/unix/sysv/linux/configure: Regenerated.
42019
42020 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42021
42022         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42023         the `q' suffix from lea and replace .quad with ASM_ADDR.
42024
42025 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42026
42027         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42028         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
42029         instead of $17.
42030         (PTR_DEMANGLE): Likewise.
42031
42032 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42033
42034         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42035         (LP_OP): Likewise.
42036         (ASM_ADDR): Likewise.
42037         (RAX_LP): Likewise.
42038         (RBP_LP): Likewise.
42039         (RBX_LP): Likewise.
42040         (RCX_LP): Likewise.
42041         (RDI_LP): Likewise.
42042         (RSI_LP): Likewise.
42043         (RSP_LP): Likewise.
42044         (R8_LP): Likewise.
42045         (R9_LP): Likewise.
42046         (R10_LP): Likewise.
42047         (R10_LP): Likewise.
42048         (R11_LP): Likewise.
42049         (R12_LP): Likewise.
42050         (R13_LP): Likewise.
42051         (R14_LP): Likewise.
42052         (R15_LP): Likewise.
42053
42054 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42055
42056         * sysdeps/x86_64/x32/dl-machine.h: New file.
42057
42058 2012-05-14  Andreas Jaeger  <aj@suse.de>
42059
42060         * manual/Makefile (subdir): Remove export of subdir.
42061         (all): Remove target.
42062         (.PHONY): Remove all from list.
42063         (mkinstalldirs): Remove.
42064         (.PHONY): Remove installdirs from list.
42065         ($(inst_infodir)/libc.info): Use make-target-directory.
42066         (installdirs): Remove.
42067         (subdir_%): Remove.
42068         (glibc-targets): Remove.
42069         (lib): Remove.
42070         (stubs): Remove.
42071         ($(objpfx)stubs ../po/manual.pot): Remove.
42072         ($(objpfx)stamp%): Remove.
42073         (make-target-directory): Remove.
42074         (subdir_install): Remove.
42075         (routines): Remove.
42076         (aux): Remove.
42077         (sources): Remove.
42078         (objects): Remove.
42079         (headers): Remove.
42080
42081         [BZ #13750]
42082         * manual/.gitignore: Remove, it's not needed anymore.
42083         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42084         all files in it.
42085         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42086         directory.
42087         (texis): Renamed to $(objpfx)texis.
42088         (texis-path): New, contains path to generated files.
42089         (chapters.%): Use texis-path for complete path, add extra argument
42090         libc-texinfo.sh.
42091         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42092         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42093         (summary,texi, stamp-summary): Use complete path of
42094         files. Generate files in build dir.
42095         (dir-add.texi): Build in build dir.
42096         (libm-err.texi,stamp-libm-err): Likewise.
42097         (version.texi, stamp-version): Likewise.
42098         (.%c.texi): Likewise.
42099         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42100         (mostlyclean): Remove target.
42101         (realclean): Remove target.
42102         (generated): Add new variable with contents from mostlyclean and
42103         realclean, remove entries duplicated in common-mostlyclean, add
42104         stamp-libm-err and stamp-version.
42105         (generated-dirs): Add libc directory.
42106         ($(inst_infodir)/libc.info): Install files from build dir.
42107
42108         * manual/install.texi (Configuring and compiling): Adjust since
42109         the info files are not part of the tar ball anymore.
42110
42111 2012-05-14  Andreas Jaeger  <aj@suse.de>
42112
42113         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42114         variable.
42115
42116 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42117
42118         [BZ #13717]
42119         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42120         to 2.2.0 where earlier.
42121         * sysdeps/unix/sysv/linux/configure: Regenerated.
42122         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42123         Remove conditional code.
42124         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42125         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42126         Remove conditional code.
42127         [!__NR_lchown]: Likewise.
42128         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42129         [__NR_lchown]: Likewise.
42130         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42131         comment referencing __ASSUME_LCHOWN_SYSCALL.
42132         * sysdeps/unix/sysv/linux/i386/sigaction.c
42133         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42134         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42135         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42136         Remove conditional code.
42137         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42138         (__protocol_available): Remove #if 0 code.
42139         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42140         conditional code.
42141         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42142         * sysdeps/unix/sysv/linux/kernel-features.h
42143         (__ASSUME_GETCWD_SYSCALL): Don't define.
42144         (__ASSUME_REALTIME_SIGNALS): Likewise.
42145         (__ASSUME_PREAD_SYSCALL): Likewise.
42146         (__ASSUME_PWRITE_SYSCALL): Likewise.
42147         (__ASSUME_POLL_SYSCALL): Likewise.
42148         (__ASSUME_LCHOWN_SYSCALL): Likewise.
42149         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42150         non-SPARC.
42151         (__ASSUME_SIOCGIFNAME): Don't define.
42152         (__ASSUME_MSG_NOSIGNAL): Likewise.
42153         (__ASSUME_SENDFILE): Define unconditionally.
42154         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42155         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42156         conditional code.
42157         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42158         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42159         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42160         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42161         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42162         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42163         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42165         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42166         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42168         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42169         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42171         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42172         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42174         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42175         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42177         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42178         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42180         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42181         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42183         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42184         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42186         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42187         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42188         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42189         Remove conditional code.
42190         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42191         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42192         Remove conditional code.
42193         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42194         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42195         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42196         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42197         Remove conditional code.
42198         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42199         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42200         Remove conditional code.
42201         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42202         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42203         Remove conditional code.
42204         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42205         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42206         Remove conditional code.
42207         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42208         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42209         Remove conditional code.
42210         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42211         * sysdeps/unix/sysv/linux/sh/pwrite64.c
42212         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42213         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42214         * sysdeps/unix/sysv/linux/sigaction.c
42215         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42216         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42217         * sysdeps/unix/sysv/linux/sigpending.c
42218         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42219         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42220         * sysdeps/unix/sysv/linux/sigprocmask.c
42221         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42222         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42223         * sysdeps/unix/sysv/linux/sigsuspend.c
42224         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42225         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42226         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42227         (__libc_missing_rt_sigs): Remove.
42228         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42229         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42230         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42231         Remove conditional code.
42232         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42233         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42234         return 1.
42235         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42236         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42237         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42238         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42239
42240 2012-05-14  Andreas Jaeger  <aj@suse.de>
42241
42242         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42243         it's not used in glibc.
42244         (__coshm1): Likewise.
42245         (__acosh1p): Likewise.
42246         (__sgn): Likewise.
42247
42248         * manual/string.texi (Copying and Concatenation): Add missing
42249         variable in concat example.
42250         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42251
42252 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42253
42254         [BZ #14103]
42255         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42256         __builtin_clzl with __builtin_clzll.
42257
42258 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42259
42260         [BZ #14104]
42261         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42262         libc_freeres_ptr.
42263
42264 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42265
42266         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42267         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42268         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42269         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42270
42271 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
42272
42273         * NEWS: Update ia64 info.
42274
42275 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
42276
42277         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42278         used as bcopy.
42279
42280 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
42281
42282         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42283         * sysdeps/unix/syscalls.list (dup3): Likewise.
42284         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42285         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42286
42287 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42288
42289         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42290         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42291
42292 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42293
42294         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42295         thread pointer.
42296         (TLS_IE): Use mov/add instead of movq/addq to load thread
42297         pointer.
42298         (TLS_GD_PREFIX): New.
42299         (TLS_GD): Use it.
42300
42301 2012-05-11  David S. Miller  <davem@davemloft.net>
42302
42303         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42304         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42305         (_FPU_SETCW): Likewise.
42306
42307 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42308
42309         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42310         is 32-byte aligned.
42311
42312 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
42313
42314         [BZ #11837]
42315         * iconvdata/gb18030.c: Update tables.
42316         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
42317         characters specially.
42318         (BODY for TO_LOOP): Add encoding of missing ranges.
42319
42320 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
42321
42322         [BZ #13673]
42323         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42324         * sysdeps/mach/hurd/dup3.c: Likewise.
42325         * sysdeps/mach/hurd/readlinkat.c: Likewise.
42326         * sysdeps/powerpc/memmove.c:: Likewise.
42327
42328 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42329
42330         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42331         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42332
42333 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42334
42335         * elf/elf.h (R_X86_64_RELATIVE64): New.
42336         (R_X86_64_NUM): Updated.
42337         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42338         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
42339         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42340         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42341         tst-quad1pie tst-quad2pie
42342         (modules-names): Add tst-quadmod1 tst-quadmod2.
42343         ($(objpfx)tst-quad1): New dependency.
42344         ($(objpfx)tst-quad2): Likewise.
42345         ($(objpfx)tst-quad1pie): Likewise.
42346         ($(objpfx)tst-quad2pie): Likewise.
42347         * sysdeps/x86_64/tst-quad1.c: New file.
42348         * sysdeps/x86_64/tst-quad1pie.c: New file.
42349         * sysdeps/x86_64/tst-quad2.c: Likewise.
42350         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42351         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42352         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42353         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42354         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42355
42356 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42357
42358         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42359         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42360         * streams/stropts.h (t_scalar_t): Define type.
42361
42362         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42363         (_PATH_PRESERVE): Set to "/var/lib".
42364         (_PATH_RWHODIR): Set to "/var/spool/rwho".
42365
42366         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42367         instead of int.
42368
42369         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42370         if __dir_mkfile succeeded.
42371
42372         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42373         checking for _hurd_dtablesize.  Unlock it right after having
42374         finished _hurd_dtable allocation.
42375
42376 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42377
42378         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42379         * sysdeps/mach/hurd/configure: Regenerated.
42380         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42381         special-casing to...
42382         * sysdeps/gnu/configure.in: ... this new file.
42383         * sysdeps/unix/sysv/linux/configure: Regenerated.
42384         * sysdeps/gnu/configure: New generated file.
42385
42386         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42387         for Linux: use nsec instead of usec, as well as:
42388         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42389         members of type struct timespec.
42390         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42391         New macros.
42392         (struct stat64): Likewise.
42393         (_STATBUF_ST_NSEC): New macro.
42394         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42395
42396         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42397         __strtoul_internal rather than strtoul.
42398
42399 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42400
42401         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42402         and reject them.
42403
42404 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42405
42406         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42407         which preserves existing values.
42408         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42409
42410 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42411
42412         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42413         TIMEOUT values.  Return EINVAL for NFDS values either negative or
42414         greater than FD_SETSIZE.
42415
42416 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42417
42418         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42419         allocated, call __vm_protect to finish enabling the existing space, and
42420         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42421         allocate the remainder.
42422
42423 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42424
42425         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42426         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
42427
42428 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42429
42430         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42431         sysdeps/mach/hurd/readlink.c.
42432
42433         * posix/tst-sysconf.c (posix_options): Only use
42434         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42435         _POSIX_SYNCHRONIZED_IO when they are defined
42436         * sysdeps/mach/hurd/bits/posix_opt.h:
42437         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42438         (_XOPEN_REALTIME): Undefine macro.
42439         (_XOPEN_REALTIME_THREADS): Undefine macro.
42440         (_XOPEN_SHM): Undefine macro.
42441         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42442         macro to -1.
42443         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42444         macro to -1.
42445         (_POSIX_ASYNC_IO): Undefine macro.
42446         (_POSIX_PRIORITIZED_IO): Undefine macro.
42447         (_POSIX_SPIN_LOCKS): Define macro to -1.
42448
42449         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42450         SA_NODEFER, SA_RESETHAND.
42451         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42452         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42453         F_DUPFD_CLOEXEC.
42454
42455 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42456
42457         * elf/Makefile (pldd-modules): Define unconditionally.
42458
42459 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42460
42461         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42462
42463 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42464
42465         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42466         Return ENOENT when name is empty.
42467         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42468
42469 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42470
42471         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42472
42473         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42474
42475 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42476
42477         Fix mlock in all cases except non-readable pages.
42478         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42479         instead of VM_PROT_ALL as parameter to __vm_wire function.
42480
42481         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42482         (__mkdir): When path is `/', just fail with EEXIST.
42483         * sysdeps/mach/hurd/mkdirat.c: Likewise.
42484
42485 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42486
42487         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42488         <sys/uio.h> (for writev).
42489         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42490         and <sys/param.h> (for MIN).
42491
42492 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42493
42494         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42495         REQUESTED_TIME.  Properly set the remaining time and return EINTR
42496         if interrupted.
42497
42498 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42499
42500         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42501         Depend on against $(link-rpcuserlibs).
42502
42503 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42504
42505         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42506         (__libc_stack_end): Do not use attribute_relro.
42507         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42508         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42509         to libthread-provided value.
42510         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42511         attribute_relro.
42512
42513 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42514
42515         [BZ #3748]
42516         * bits/libc-lock.h (__libc_once_get): New macro.
42517         * sysdeps/mach/bits/libc-lock.h: Likewise.
42518         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42519         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42520         instead of using implementation details.
42521
42522         * libio/fileops.c: Unconditionally include <kernel-features.h>.
42523         * libio/freopen.c: Likewise.
42524         * libio/freopen64.c: Likewise.
42525         * misc/syslog.c: Likewise.
42526         * nscd/connections.c: Likewise.
42527         * nscd/netgroupcache.c: Likewise.
42528         * sysdeps/posix/getcwd.c: Likewise.
42529
42530 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42531
42532         * math/w_ilogbf.c: Add #include <limits.h>.
42533
42534 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42535
42536         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42537         path instead of returning without unlocking.
42538
42539         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42540         immediate-write ioctls.
42541         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42542
42543 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42544
42545         * sysdeps/mach/hurd/i386/init-first.c (init): Use
42546         __builtin_frame_address instead of making assumptions about the
42547         location of the return address relative to DATA.  Force early load of
42548         the return address.
42549         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42550         __builtin_frame_address.
42551
42552         dup3 for GNU Hurd.
42553         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42554         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
42555         implement dup3 and do some further code clean-ups.
42556         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42557         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42558
42559 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42560
42561         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42562
42563         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42564         HURD_CRITICAL_END around holding _hurd_dtable_lock.
42565         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42566         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42567         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42568         d->port.lock.
42569
42570         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42571         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
42572         when handler == SIG_ERR, not when handler != SIG_ERR.
42573
42574 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42575
42576         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42577         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42578         definitions.
42579
42580         accept4 for GNU Hurd.
42581         * include/sys/socket.h (__libc_accept4): New prototype.
42582         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
42583         to implement __libc_accept4.
42584         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42585         __libc_accept4.
42586         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42587
42588         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42589         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42590         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42591         signal-defines.sym.
42592
42593 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42594
42595         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42596
42597 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42598
42599         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42600         assertion on O_CLOEXEC flag.
42601         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42602         * hurd/intern-fd.c: Likewise.
42603         * hurd/port2fd.c: Likewise.
42604
42605 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42606
42607         [BZ #3906]
42608         * bits/in.h (IPV6_PKTINFO): Define new macro.
42609         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42610
42611 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42612
42613         [BZ #13954]
42614         [BZ #13955]
42615         [BZ #13956]
42616         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42617         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42618         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42619         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42620         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42621         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42622         * math/libm-test.inc (logb_test) : Additional logb tests.
42623
42624 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
42625             Andreas Jaeger  <aj@suse.de>
42626
42627         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42628         * configure: Regenerated.
42629         * config.h.in (LINK_OBSOLETE_RPC): New macro.
42630         * config.make.in (link-obsolete-rpc): New substituted variable.
42631         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42632         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42633         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42634         (shared-only-routines): Don't set it under [link-obsolete-rpc],
42635         so that libc.a contains the symbols.
42636         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42637         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42638         * sunrpc/auth_none.c: Likewise.
42639         * sunrpc/auth_unix.c: Likewise.
42640         * sunrpc/authdes_prot.c: Likewise.
42641         * sunrpc/authuxprot.c: Likewise.
42642         * sunrpc/clnt_gen.c: Likewise.
42643         * sunrpc/clnt_perr.c: Likewise.
42644         * sunrpc/clnt_raw.c: Likewise.
42645         * sunrpc/clnt_simp.c: Likewise.
42646         * sunrpc/clnt_tcp.c: Likewise.
42647         * sunrpc/clnt_udp.c: Likewise.
42648         * sunrpc/clnt_unix.c: Likewise.
42649         * sunrpc/des_crypt.c: Likewise.
42650         * sunrpc/des_soft.c: Likewise.
42651         * sunrpc/get_myaddr.c: Likewise.
42652         * sunrpc/key_call.c: Likewise.
42653         * sunrpc/key_prot.c: Likewise.
42654         * sunrpc/netname.c: Likewise.
42655         * sunrpc/pm_getmaps.c: Likewise.
42656         * sunrpc/pm_getport.c: Likewise.
42657         * sunrpc/pmap_clnt.c: Likewise.
42658         * sunrpc/pmap_prot.c: Likewise.
42659         * sunrpc/pmap_prot2.c: Likewise.
42660         * sunrpc/pmap_rmt.c: Likewise.
42661         * sunrpc/publickey.c: Likewise.
42662         * sunrpc/rpc_cmsg.c: Likewise.
42663         * sunrpc/rpc_common.c: Likewise.
42664         * sunrpc/rpc_dtable.c: Likewise.
42665         * sunrpc/rpc_prot.c: Likewise.
42666         * sunrpc/rpc_thread.c: Likewise.
42667         * sunrpc/rtime.c: Likewise.
42668         * sunrpc/svc.c: Likewise.
42669         * sunrpc/svc_auth.c: Likewise.
42670         * sunrpc/svc_raw.c: Likewise.
42671         * sunrpc/svc_run.c: Likewise.
42672         * sunrpc/svc_tcp.c: Likewise.
42673         * sunrpc/svc_udp.c: Likewise.
42674         * sunrpc/svc_unix.c: Likewise.
42675         * sunrpc/svcauth_des.c: Likewise.
42676         * sunrpc/xcrypt.c: Likewise.
42677         * sunrpc/xdr.c: Likewise.
42678         * sunrpc/xdr_array.c: Likewise.
42679         * sunrpc/xdr_float.c: Likewise.
42680         * sunrpc/xdr_intXX_t.c: Likewise.
42681         * sunrpc/xdr_mem.c: Likewise.
42682         * sunrpc/xdr_rec.c: Likewise.
42683         * sunrpc/xdr_ref.c: Likewise.
42684         * sunrpc/xdr_sizeof.c: Likewise.
42685         * sunrpc/xdr_stdio.c: Likewise.
42686
42687 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42688
42689         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42690         change.  Update copyright years.
42691
42692 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42693
42694         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42695
42696 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
42697             Joseph Myers  <joseph@codesourcery.com>
42698             Paul Pluzhnikov  <ppluzhnikov@google.com>
42699
42700         [BZ #14012]
42701         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42702         requiring rpcgen.
42703         [cross-compiling] (extra-libs): Likewise.
42704         [cross-compiling] (extra-libs-others): Likewise.
42705         [cross-compiling] (librpcsvc-routines): Likewise.
42706         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42707         [cross-compiling] (omit-deps): Likewise.
42708         (sunrpc-CPPFLAGS): New variable.
42709         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42710         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42711         (cross-rpcgen-objs): New variable.
42712         (extra-objs): Append $(cross-rpcgen-objs).
42713         ($(cross-rpcgen-objs)): New rule.
42714         ($(objpfx)cross-rpcgen): Likewise.
42715         (rpcgen-cmd): Define to use $(built-program-file).  Expand
42716         comment.
42717         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42718         ($(objpfx)x%.stmp): Likewise.
42719         * sunrpc/proto.h [IS_IN_build] (_): Define.
42720         [IS_IN_build] (_libc_intl_domainname): Likewise.
42721
42722 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42723
42724         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42725         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42726         and R_X86_64_TPOFF64.
42727
42728 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42729
42730         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42731         sysdeps/unix/sysv/syscalls.list.
42732         (stime): Likewise.
42733         (utime): Likewise.
42734         * sysdeps/unix/sysv/syscalls.list: Remove file.
42735
42736 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
42737
42738         [BZ #3440]
42739         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42740         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42741         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42742         (__LC_IDENTIFICATION): Make these macros useful in #if
42743         expressions, as required by C99.
42744
42745 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
42746
42747         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42748         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
42749         after this.
42750
42751 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
42752
42753         * stdlib/longlong.h: Updated from GCC.
42754
42755 2012-05-09  Andreas Jaeger  <aj@suse.de>
42756
42757         * nscd/nscd.c (run_modes): Make named enum, reorder so that
42758         default is first entry.
42759         (run_mode): Set type.
42760         (main): Remove informal message about syslog.
42761         (options): Fix typo.
42762
42763         [BZ #14053]
42764         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42765         to asm.
42766         (lrint): Likewise.
42767         (llrintf): Likewise.
42768         (llrint): Likewise.
42769         (rint): Likewise.
42770         (rintf): Likewise.
42771         (nearbyint): Likewise.
42772         (nearbyintf): Likewise.
42773
42774 2012-05-09  Andreas Jaeger  <aj@suse.de>
42775             Pedro Alves  <palves@redhat.com>
42776
42777         * nscd/nscd.c (run_mode): Use enum.
42778         (main): Cleanup coding style issue.
42779
42780 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
42781             Andreas Jaeger  <aj@suse.de>
42782
42783         * nscd/nscd.c (go_background): Replaced with...
42784         (run_mode): ... this.
42785         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42786         (options): Add -F --foreground.
42787         (main): Implement it.
42788         (parse_opt): Parse it.
42789
42790 2012-05-09  Andreas Jaeger  <aj@suse.de>
42791
42792         [BZ #14083]
42793         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42794         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42795         -Wconversion warning.
42796         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42797         Likewise.
42798
42799 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
42800
42801         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
42802         == 0.
42803         (LC_ALL): Use macro-int-constant.
42804         (LC_COLLATE): Likewise.
42805         (LC_CTYPE): Likewise.
42806         (LC_MESSAGES): Likewise.
42807         (LC_MONETARY): Likewise.
42808         (LC_NUMERIC): Likewise.
42809         (LC_TIME): Likewise.
42810         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42811         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42812         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42813         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42814         Specify type.
42815         [C99-based standards] (float_t): Expect type.
42816         [C99-based standards] (double_t): Expect type.
42817         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
42818         type.
42819         [C99-based standards] (HUGE_VALL): Likewise.
42820         [C99-based standards] (INFINITY): Likewise.
42821         [C99-based standards] (NAN): Likewise.
42822         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42823         [C99-based standards] (FP_NAN): Likewise.
42824         [C99-based standards] (FP_NORMAL): Likewise.
42825         [C99-based standards] (FP_SUBNORMAL): Likewise.
42826         [C99-based standards] (FP_ZERO): Likewise.
42827         [C99-based standards] (FP_FAST_FMA): Use
42828         optional-macro-int-constant.  Specify type.  Require == 1.
42829         [C99-based standards] (FP_FAST_FMAF): Likewise.
42830         [C99-based standards] (FP_FAST_FMAL): Likewise.
42831         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42832         [C99-based standards] (FP_ILOGBNAN): Likewise.
42833         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42834         Specify type.
42835         [C99-based standards] (MATH_ERREXCEPT): Likewise.
42836         [C99-based standards] (math_errhandling): Specify type.
42837         [ISO99 || ISO11] (signgam): Do not allow.
42838         [non-C99-based standards] (copysignf): Do not allow.
42839         [non-C99-based standards] (exp2f): Likewise.
42840         [non-C99-based standards] (log2f): Likewise.
42841         [non-C99-based standards] (modff): Allow.
42842         [non-C99-based standards] (erff): Do not allow.
42843         [non-C99-based standards] (erfcf): Likewise.
42844         [non-C99-based standards] (gammaf): Likewise.
42845         [non-C99-based standards] (hypotf): Likewise.
42846         [non-C99-based standards] (j0f): Likewise.
42847         [non-C99-based standards] (j1f): Likewise.
42848         [non-C99-based standards] (jnf): Likewise.
42849         [non-C99-based standards] (lgammaf): Likewise.
42850         [non-C99-based standards] (tgammaf): Likewise.
42851         [non-C99-based standards] (y0f): Likewise.
42852         [non-C99-based standards] (y1f): Likewise.
42853         [non-C99-based standards] (ynf): Likewise.
42854         [non-C99-based standards] (isnanf): Likewise.
42855         [non-C99-based standards] (acoshf): Likewise.
42856         [non-C99-based standards] (asinhf): Likewise.
42857         [non-C99-based standards] (atanhf): Likewise.
42858         [non-C99-based standards] (cbrtf): Likewise.
42859         [non-C99-based standards] (expm1f): Likewise.
42860         [non-C99-based standards] (ilogbf): Likewise.
42861         [non-C99-based standards] (log1pf): Likewise.
42862         [non-C99-based standards] (logbf): Likewise.
42863         [non-C99-based standards] (nextafterf): Likewise.
42864         [non-C99-based standards] (remainderf): Likewise.
42865         [non-C99-based standards] (rintf): Likewise.
42866         [non-C99-based standards] (scalbf): Likewise.
42867         [non-C99-based standards] (copysignl): Likewise.
42868         [non-C99-based standards] (exp2l): Likewise.
42869         [non-C99-based standards] (log2l): Likewise.
42870         [non-C99-based standards] (modfl): Allow.
42871         [non-C99-based standards] (erfl): Do not allow.
42872         [non-C99-based standards] (erfcl): Likewise.
42873         [non-C99-based standards] (gammal): Likewise.
42874         [non-C99-based standards] (hypotl): Likewise.
42875         [non-C99-based standards] (j0l): Likewise.
42876         [non-C99-based standards] (j1l): Likewise.
42877         [non-C99-based standards] (jnl): Likewise.
42878         [non-C99-based standards] (lgammal): Likewise.
42879         [non-C99-based standards] (tgammal): Likewise.
42880         [non-C99-based standards] (y0l): Likewise.
42881         [non-C99-based standards] (y1l): Likewise.
42882         [non-C99-based standards] (ynl): Likewise.
42883         [non-C99-based standards] (isnanl): Likewise.
42884         [non-C99-based standards] (acoshl): Likewise.
42885         [non-C99-based standards] (asinhl): Likewise.
42886         [non-C99-based standards] (atanhl): Likewise.
42887         [non-C99-based standards] (cbrtl): Likewise.
42888         [non-C99-based standards] (expm1l): Likewise.
42889         [non-C99-based standards] (ilogbl): Likewise.
42890         [non-C99-based standards] (log1pl): Likewise.
42891         [non-C99-based standards] (logbl): Likewise.
42892         [non-C99-based standards] (nextafterl): Likewise.
42893         [non-C99-based standards] (remainderl): Likewise.
42894         [non-C99-based standards] (rintl): Likewise.
42895         [non-C99-based standards] (scalbl): Likewise.
42896         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42897         [non-C99-based standards] (FP_*): Do not allow.
42898         [C99-based standards] (FP_*): Change to
42899         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42900         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42901         allow.
42902         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42903         (SIG_ERR): Likewise.
42904         [X/Open-based standards] (SIG_HOLD): Likewise.
42905         (SIG_IGN): Likewise.
42906         (SIGABRT): Use macro-int-constant.  Specify type.  Require
42907         positive value.
42908         (SIGFPE): Likewise.
42909         (SIGILL): Likewise.
42910         (SIGINT): Likewise.
42911         (SIGSEGV): Likewise.
42912         (SIGTER): Likewise.
42913         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42914         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42915         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42916         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42917         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42918         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42919         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42920         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42921         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42922         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42923         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42924         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42925         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42926         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42927         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42928         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42929         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42930         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42931         [X/Open-based standards] (SIGTRAP): Likewise.
42932         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42933         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42934         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42935         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42936         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42937         allow.
42938
42939 2012-05-08  Ian Wienand  <ianw@vmware.com>
42940
42941         [BZ #14080]
42942         * time/tzset.c (__tzset_parse_tz): Update default rules for
42943         daylight time changes in the Energy Policy Act of 2005.
42944
42945 2012-05-09  Andreas Jaeger  <aj@suse.de>
42946
42947         [BZ #13983]
42948         * elf/ldconfig.c (parse_conf): Change string to make clear that
42949         ldconfig only issued a warning if ld.so.conf does not exist.
42950
42951 2012-05-08  David S. Miller  <davem@davemloft.net>
42952
42953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42954         movxtod instead of popping the value on the stack.
42955
42956         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42957
42958 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
42959
42960         * config.h.in: Add HAVE_ARM_PCS_VFP.
42961
42962 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
42963
42964         [BZ #13979]
42965         * include/features.h: Warn if user requests __FORTIFY_SOURCE
42966         checking but the checks are disabled for any reason.
42967
42968 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
42969
42970         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42971         and ELF64_R_TYPE with ELFW(R_TYPE).
42972
42973 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
42974
42975         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42976         (ulimit): Likewise.
42977
42978         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42979         (settimeofday): Likewise.
42980
42981 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
42982
42983         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
42984         a struct th_u2 inside the union, and move tu_block/tu_code into
42985         a new th_u3 union of tu_block/tu_code inside of that.  Move
42986         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
42987         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
42988         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42989         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42990         (th_stuff): Change to th_u1.tu_stuff.
42991         (th_data): Define.
42992         (th_msg): Change to th_u1.th_u2.tu_data.
42993
42994 2012-05-07  David S. Miller  <davem@davemloft.net>
42995
42996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42997
42998         [BZ #14074]
42999         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43000         (SETUP_PIC_REG): Use it.
43001         (SETUP_PIC_REG_LEAF): Use it.
43002
43003 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
43004
43005         [BZ #13885]
43006         [BZ #13923]
43007         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43008         USE_AS_EXPM1L.
43009         (EXPL_FINITE): Likewise.
43010         (FLDLOG): Likewise.
43011         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43012         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43013         e_expl.S.
43014         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43015         USE_AS_EXPM1L.
43016         (EXPL_FINITE): Likewise.
43017         (FLDLOG): Likewise.
43018         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43019         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43020         e_expl.S.
43021         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
43022         test of -max_value argument for long double.
43023         * sysdeps/i386/fpu/libm-test-ulps: Update.
43024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43025
43026 2012-05-06  David S. Miller  <davem@davemloft.net>
43027
43028         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43029         quad soft-float symbols whose references which are compiler
43030         generated.
43031         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43032
43033 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
43034
43035         [BZ #13884]
43036         [BZ #13914]
43037         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43038         USE_AS_EXP10L.
43039         (EXPL_FINITE): Likewise.
43040         (FLDLOG): Likewise.
43041         (c0): Likewise.
43042         (c1): Likewise.
43043         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43044         Adjust comments for base varying.
43045         (__expl_finite): Change alias to EXPL_FINITE.
43046         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43047         e_expl.S.
43048         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43049         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43050         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43051         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43052         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43053         USE_AS_EXP10L.
43054         (EXPL_FINITE): Likewise.
43055         (FLDLOG): Likewise.
43056         (c0): Likewise.
43057         (c1): Likewise.
43058         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43059         Adjust comments for base varying.
43060         (__expl_finite): Change alias to EXPL_FINITE.
43061         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
43062         tests for bugs.
43063         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43064
43065         [BZ #14064]
43066         * math/libm-test.inc (check_float_internal): Correct ulp
43067         calculation for subnormal expected results.
43068
43069 2012-05-06  Andreas Jaeger  <aj@suse.de>
43070
43071         * Makeconfig (+math-flags): New, set to -frounding-math.
43072         (+cflags): Add +math-flags so that all of glibc gets compiled with
43073         it.
43074
43075         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43076
43077 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
43078
43079         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43080         Disable one test.
43081
43082         [BZ #13787]
43083         [BZ #13922]
43084         [BZ #14036]
43085         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43086         (__ieee754_expl): Allow for and saturate large arguments.
43087         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43088         (u_threshold): Likewise.
43089         (__exp): Call __ieee754_exp before checking for overflow and
43090         underflow.
43091         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43092         (u_threshold): Likewise.
43093         (__expf): Call __ieee754_expf before checking for overflow and
43094         underflow.
43095         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43096         (u_threshold): Likewise.
43097         (__expl): Call __ieee754_expl before checking for overflow and
43098         underflow.
43099         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43100         (__ieee754_expl): Allow for and saturate large arguments.
43101         * math/libm-test.inc (exp_test): Add another test.  Do not allow
43102         missing overflow exception on overflow.
43103         (expm1_test): Do not allow missing overflow exception on overflow.
43104
43105         * sysdeps/i386/fpu/e_expl.c: Move to ...
43106         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
43107         rather than using inline asm.
43108         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43109         * sysdeps/x86_64/fpu/e_expl.S: Copy from
43110         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43111
43112         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43113         (nice): Likewise.
43114         (poll): Likewise.
43115         (signal): Likewise.
43116         (time): Likewise.
43117         (times): Likewise.
43118
43119 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43120
43121         * sysdeps/unix/syscalls.list (adjtime): Add entry from
43122         sysdeps/unix/common/syscalls.list.
43123         (fchmod): Likewise.
43124         (fchown): Likewise.
43125         (ftruncate): Likewise.
43126         (getrusage): Likewise.
43127         (gettimeofday): Likewise.
43128         (setpgid): Likewise.
43129         (setregid): Likewise.
43130         (setreuid): Likewise.
43131         (sigaction): Likewise.
43132         (truncate): Likewise.
43133         (vhangup): Likewise.
43134         * sysdeps/unix/common/syscalls.list: Remove file.
43135         * sysdeps/unix/bsd/Implies: Don't include unix/common.
43136         * sysdeps/unix/sysv/linux/Implies: Likewise.
43137
43138 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
43139
43140         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43142         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43143         Moved to ...
43144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43145         Here.
43146         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43147         to ...
43148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43149         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43150         to ...
43151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43152         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43153         to ...
43154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43155         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43156         to ...
43157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43158         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43159         to ...
43160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43161         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43162         to ...
43163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43164         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43165         to ...
43166         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43167         Here.
43168         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43169         to ...
43170         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43171         Here.
43172         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43173         to ...
43174         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43175         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43176         Moved to ...
43177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43178         Here.
43179         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43180         to ...
43181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43182
43183 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43184
43185         * sysdeps/unix/common/bits/dirent.h: Remove file.
43186         * sysdeps/unix/common/bits/fcntl.h: Likewise.
43187
43188         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43189         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43190         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43191         * sysdeps/unix/bsd/isatty.c: Likewise.
43192         * sysdeps/unix/bsd/tcdrain.c: Likewise.
43193         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43194         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43195
43196 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43197
43198         [BZ #13563]
43199         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43200         long double comparison inaccuracies.
43201         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43203
43204 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
43205
43206         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43207         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43208
43209 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43210
43211         [BZ #14049]
43212         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43213         nonzero digits before rounding a hex value.
43214         * stdlib/tst-strtod.c (tests): Add another test.
43215
43216 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43217
43218         * sysdeps/s390/fpu/libm-test-ulps: Update.
43219
43220 2012-05-03  Andreas Jaeger  <aj@suse.de>
43221
43222         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43223         does not get optimized out.
43224         (malloc_opt_barrier): New.
43225
43226 2012-05-03  Andreas Jaeger  <aj@suse.de>
43227             Roland McGrath  <roland@hack.frob.com>
43228
43229         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43230         intermediate file deletion.
43231         (generated): Add .symlist files.
43232
43233 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
43234
43235         [BZ #13775]
43236         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43237         Redirect under this condition.
43238         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43239         [__USE_GNU] (__dprintf_chk): Not under this condition.
43240         [__USE_GNU] (__vdprintf_chk): Likewise.
43241         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43242         under this condition.
43243         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43244         [__USE_XOPEN2K8] (dprintf): Define under this condition.
43245         [__USE_XOPEN2K8] (vdprintf): Likewise.
43246         [__USE_GNU] (__dprintf_chk): Not under this condition.
43247         [__USE_GNU] (__vdprintf_chk): Likewise.
43248         [__USE_GNU] (dprintf): Likewise.
43249         [__USE_GNU] (vdprintf): Likewise.
43250
43251 2012-05-03  Roland McGrath  <roland@hack.frob.com>
43252
43253         * elf/Makefile (common-generated): Set this instead of generated for
43254         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
43255         $(all-built-dso)-derived lists.
43256
43257 2012-05-03  Andreas Jaeger  <aj@suse.de>
43258
43259         * sysdeps/i386/fpu/libm-test-ulps: Update.
43260
43261         * FAQ: Removed.
43262         * FAQ.in: Likewise.
43263         * scripts/gen-FAQ.pl: Likewise.
43264         * manual/install.texi (Installation): Point to online location of
43265         FAQ.
43266         * Makefile (files-for-dist): Remove FAQ.
43267         (FAQ): Remove.
43268
43269 2012-05-02  Allan McRae  <allan@archlinux.org>
43270
43271         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43272         (LDFLAGS-reldepmod5.so): Likewise.
43273         (LDFLAGS-reldep6mod1.so): Likewise.
43274         (LDFLAGS-reldep6mod4.so): Likewise.
43275         (LDFLAGS-reldep8mod3.so): Likewise.
43276         (LDFLAGS-unload4mod1.so): Likewise.
43277         (LDFLAGS-unload4mod2.so): Likewise.
43278         (LDFLAGS-tst-initorder): Likewise.
43279         (LDFLAGS-tst-initordera2.so): Likewise.
43280         (LDFLAGS-tst-initordera3.so): Likewise.
43281         (LDFLAGS-tst-initordera4.so): Likewise.
43282         (LDFLAGS-tst-initorderb2.so): Likewise.
43283         (LDFLAGS-noload): Likewise.
43284         (LDFLAGS-next): Likewise.
43285         (LDFLAGS-order2mod1.so): Likewise.
43286         (LDFLAGS-order2mod2.so): Likewise.
43287         (LDFLAGS-tst-initorder2): Likewise.
43288         (LDFLAGS-tst-initorder2a.so): Likewise.
43289         (LDFLAGS-tst-initorder2b.so): Likewise.
43290         (LDFLAGS-tst-initorder2c.so): Likewise.
43291         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43292
43293 2012-05-02  David S. Miller  <davem@davemloft.net>
43294
43295         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43296
43297 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
43298
43299         [BZ #14055]
43300         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43301
43302 2012-05-02  Andreas Jaeger  <aj@suse.de>
43303
43304         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43305         since we manipulate rounding mode.
43306         (CPPFLAGS-test-idouble.c): Likewise.
43307         (CPPFLAGS-test-ifloat.c): Likewise.
43308         (CFLAGS-test-ldouble.c): Likewise.
43309         (CFLAGS-test-double.c): Likewise.
43310         (CFLAGS-test-float.c): Likewise.
43311         (CFLAGS-test-misc.c): Likewise.
43312         (CFLAGS-test-test-fenv.c): Likewise.
43313
43314 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43315
43316         [BZ #2550]
43317         [BZ #2570]
43318         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43319         comparisons to determine direction to adjust input.
43320
43321 2012-05-01  Roland McGrath  <roland@hack.frob.com>
43322
43323         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43324         output to the target.
43325
43326         * scripts/localplt.awk: New file.
43327         * elf/Makefile ($(objpfx)check-localplt): Target removed.
43328         (check-localplt-CFLAGS): Variable removed.
43329         ($(all-built-dso:=.jmprel)): New static pattern rule.
43330         (generated): Add those targets.
43331         (localplt-built-dso): New variable.
43332         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43333
43334         * elf/check-localplt.c: File removed.
43335
43336         * scripts/check-execstack.awk: New file.
43337         * elf/Makefile ($(objpfx)check-execstack): Target removed.
43338         (check-execstack-CFLAGS): Variable removed.
43339         ($(objpfx)check-execstack.h): Target removed.
43340         ($(objpfx)execstack-default): New target.
43341         (generated): Add that instead of check-execstack.h.
43342         ($(all-built-dso:=.phdr)): New static pattern rule.
43343         (generated): Add those targets.
43344         * elf/check-execstack.c: File removed.
43345
43346         * scripts/check-textrel.awk: New file.
43347         * elf/Makefile ($(objpfx)check-textrel): Target removed.
43348         (check-textrel-CFLAGS): Variable removed.
43349         (all-built-dso): Use := to define.o
43350         ($(all-built-dso:=.dyn)): New static pattern rule.
43351         (generated): Add those targets.
43352         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43353         * config.make.in (READELF): New substituted variable.
43354         * elf/check-textrel.c: File removed.
43355
43356 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43357
43358         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43359         allow.
43360         * conform/data/ctype.h-data [C99-based standards] (isblank):
43361         Expect function.
43362         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43363         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43364         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43365         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43366         Specify type.  Require positive value.
43367         (EILSEQ): Likewise.
43368         (ERANGE): Likewise.
43369         [ISO || POSIX] (EILSEQ): Do not expect.
43370         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43371         Specify type.  Require positive value.
43372         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43373         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43374         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43375         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43376         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43377         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43378         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43379         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43380         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43381         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43382         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43383         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43384         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43385         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43386         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43387         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43388         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43389         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43390         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43391         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43392         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43393         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43394         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43395         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43396         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43397         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43398         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43399         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43400         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43401         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43402         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43403         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43404         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43405         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43406         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43407         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43408         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43409         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43410         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43411         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43412         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43413         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43414         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43415         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43416         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43417         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43418         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43419         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43420         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43421         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43422         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43423         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43424         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43425         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43426         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43427         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43428         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43429         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43430         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43431         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43432         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43433         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43434         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43435         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43436         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43437         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43438         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43439         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43440         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43441         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43442         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43443         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43444         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43445         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43446         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43447         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43448         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43449         Require >= 2.
43450         (FLT_ROUNDS): Expect as macro, not constant.
43451         (FLT_MANT_DIG): Use macro-int-constant.
43452         (DBL_MANT_DIG): Likewise.
43453         (LDBL_MANT_DIG): Likewise.
43454         (FLT_DIG): Likewise.
43455         (DBL_DIG): Likewise.
43456         (LDBL_DIG): Likewise.
43457         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
43458         (DBL_MIN_EXP): Likewise.
43459         (LDBL_MIN_EXP): Likewise.
43460         (FLT_MAX_EXP): Use macro-int-constant.
43461         (DBL_MAX_EXP): Likewise.
43462         (LDBL_MAX_EXP): Likewise.
43463         (FLT_MAX_10_EXP): Likewise.
43464         (DBL_MAX_10_EXP): Likewise.
43465         (LDBL_MAX_10_EXP): Likewise.
43466         (FLT_MAX): Use macro-constant.
43467         (DBL_MAX): Likewise.
43468         (LDBL_MAX): Likewise.
43469         (FLT_EPSILON): Use macro-constant.  Give upper bound.
43470         (DBL_EPSILON): Likewise.
43471         (LDBL_EPSILON): Likewise.
43472         (FLT_MIN): Likewise.
43473         (DBL_MIN): Likewise.
43474         (LDBL_MIN): Likewise.
43475         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43476         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43477         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43478         [ISO11] (FLT_HAS_SUBNORM): Likewise.
43479         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43480         [ISO11] (DBL_DECIMAL_DIG): Likewise.
43481         [ISO11] (FLT_DECIMAL_DIG): Likewise.
43482         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43483         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43484         [ISO11] (FLT_TRUE_MIN): Likewise.
43485         [ISO11] (LDBL_TRUE_MIN): Likewise.
43486         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43487         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43488         (SCHAR_MIN): Use macro-int-constant.  Specify type.
43489         (SCHAR_MAX): Likewise.
43490         (UCHAR_MAX): Likewise.
43491         (CHAR_MIN): Likewise.
43492         (CHAR_MAX): Likewise.
43493         (MB_LEN_MAX): Use macro-int-constant.
43494         (SHRT_MIN): Use macro-int-constant.  Specify type.
43495         (SHRT_MAX): Likewise.
43496         (USHRT_MAX): Likewise.
43497         (INT_MAX): Likewise.
43498         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
43499         bound negative.
43500         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43501         bound with "U".
43502         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43503         bound with "L".
43504         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
43505         bound negative.  Suffix upper bound with "L".
43506         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43507         bound with "UL".
43508         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43509         Specify type.
43510         [C99-based standards] (LLONG_MAX): Likewise.
43511         [C99-based standards] (ULLONG_MAX): Likewise.
43512         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
43513         == 0.
43514         [ISO11] (max_align_t): Require type.
43515         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43516
43517         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43518         from $CFLAGS, without defining away __attribute__ calls.
43519         (checknamespace): Use $CFLAGS_namespace.
43520
43521         * conform/conformtest.pl (@keywords): Only include C99 keywords
43522         for standards based on C99 or C11.
43523
43524         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43525         Disable tests.
43526         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43527         UNIX98]: Likewise.
43528
43529         * conform/conformtest.pl: Handle "macro-int-constant" and test for
43530         usability of symbols in #if.
43531
43532         * conform/conformtest.pl: If macro or constant types start
43533         "promoted:", expect the symbol to be of the following type
43534         promoted by the integer promotions.
43535
43536         * conform/conformtest.pl: Parse all "constant" and "macro" lines
43537         in one place.  Also handle "macro-constant".
43538
43539         * conform/conformtest.pl: Only accept expected macro values with
43540         "==".  Parse all "macro" lines in one place.
43541         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43542
43543         * conform/conformtest.pl: Handle braced types on "constant" lines
43544         instead of handling "typed-constant".
43545         * conform/data/signal.h-data: Use "constant" instead of
43546         "typed-constant".
43547
43548         * conform/conformtest.pl: Handle "optional-" at start of lines in
43549         one place rather than duplicating several cases.  Handle each
43550         format of "macro" line with initial "optional-".
43551
43552         * conform/conformtest.pl: Only accept expected constant or
43553         optional-constant values with "==".  Parse all "constant" lines in
43554         one place.  Parse all "optional-constant" lines in one place.
43555         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43556         * conform/data/fmtmsg.h-data: Likewise.
43557         * conform/data/netinet/in.h-data: Likewise.
43558         * conform/data/tar.h-data: Likewise.
43559         * conform/data/limits.h-data: Use "==" form on "constant" and
43560         "optional-constant" lines.
43561
43562         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43563         Use -std=c99 for XOPEN2K.
43564         (@knownproblems): Remove.
43565         (newtoken): Don't check %isknown.
43566
43567         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43568         Do not expect macro.
43569         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43570         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43571         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43572         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43573         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43574         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43575         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43576         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43577         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43578         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43579         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43580         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43581         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43582         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43583         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43584         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43585         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43586         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43587         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43588         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43589         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43590         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43591         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43592         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43593         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43594         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43595         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43596         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43597         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43598         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43599         [XPG3] (acosh): Likewise.
43600         [XPG3] (asinh): Likewise.
43601         [XPG3] (atanh): Likewise.
43602         [XPG3] (cbrt): Likewise.
43603         [XPG3] (expm1): Likewise.
43604         [XPG3] (ilogb): Likewise.
43605         [XPG3] (log1p): Likewise.
43606         [XPG3] (logb): Likewise.
43607         [XPG3] (nextafter): Likewise.
43608         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43609         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43610         [XPG3] (remainder): Likewise.
43611         [XPG3] (rint): Likewise.
43612         [XPG3 || XPG4 || UNIX98] (round): Likewise.
43613         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43614         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43615         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43616         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43617         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43618         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43619         [UNIX98 || XOPEN2K] (scalb): Expect.
43620         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43621         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43622         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43623         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43624         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43625         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43626         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43627         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43628         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43629         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43630         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43631         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43632         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43633         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43634         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43635         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43636         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43637         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43638         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43639         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43640         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43641         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43642         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43643         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43644         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43645         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43646         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43647         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43648         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43649         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43650         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43651         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43652         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43653         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43654         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43655         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43656         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43657         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43658         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43659         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43660         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43661         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43662         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43663         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43664         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43665         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43666         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43667         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43668         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43669         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43670         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43671         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43672         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43673         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43674         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43675         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43676         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43677         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43678         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43679         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43680         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43681         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43682         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43683         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43684         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43685         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43686         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43687         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43688         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43689         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43690         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43691         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43692         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43693         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43694         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43695         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43696         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43697         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43698         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43699         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43700         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43701         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43702         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43703         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43704         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43705         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43706         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43707         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43708         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43709         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43710         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43711         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43712         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43713         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43714         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43715         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43716         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43717         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43718         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43719         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43720         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43721         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43722         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43723         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43724         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43725         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43726         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43727         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43728         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43729         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43730         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43731         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43732         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43733         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43734         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43735         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43736         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43737         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43738         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43739         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43740         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43741         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43742         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43743         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43744         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43745         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43746         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43747         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43748         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43749         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43750         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43751         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43752         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43753         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43754         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43755         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43756         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43757
43758         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43759         _XOPEN_SOURCE_EXTENDED for XPG4.
43760
43761         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43762
43763         * Makeconfig (localtime): Remove variable.
43764         (inst_localtime-file): Likewise.
43765
43766 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43767
43768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43769         Update.
43770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43771         Update.
43772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43773         Update.
43774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43775         Update.
43776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43777         Update.
43778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43779         Update.
43780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43781         Update.
43782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43783         Update.
43784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43785         Update.
43786
43787 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43788
43789         [BZ #2550]
43790         [BZ #2570]
43791         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43792         comparisons to determine direction to adjust input.
43793         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43794         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43795         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43796         Likewise.
43797         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43798         Likewise.
43799         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43800         Likewise.
43801         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43802         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43803         Likewise.
43804         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43805         Likewise.
43806         * math/libm-test.inc (nexttoward_test): Add more tests.
43807
43808 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
43809
43810         [BZ #14040]
43811         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43812         in version GLIBC_2.1, not GLIBC_2.0.
43813         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43814         Likewise.
43815
43816 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
43817
43818         [BZ #13942]
43819         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43820         (1 - x) * (1 + x).
43821         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43822         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43823         * math/libm-test.inc (acos_test): Add more tests.
43824         (asin_test): Likewise.
43825         * sysdeps/i386/fpu/libm-test-ulps: Update.
43826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43827
43828         [BZ #14034]
43829         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43830         of square root.
43831         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43832         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43833         * math/libm-test.inc (acos_test_tonearest): New function.
43834         (acos_test_towardzero): Likewise.
43835         (acos_test_downward): Likewise.
43836         (acos_test_upward): Likewise.
43837         (asin_test_tonearest): Likewise.
43838         (asin_test_towardzero): Likewise.
43839         (asin_test_downward): Likewise.
43840         (asin_test_upward): Likewise.
43841         (main): Call the new functions.
43842         * sysdeps/i386/fpu/libm-test-ulps: Update.
43843         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43844
43845         [BZ #13884]
43846         [BZ #13924]
43847         * math/e_exp10.c: Include <float.h>.
43848         (__ieee754_exp10): Handle underflow here rather than multiplying
43849         large negative argument by M_LN10.
43850         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43851         of __ieee754_expf.
43852         * math/e_exp10l.c: Include <float.h>.
43853         (__ieee754_exp10l): Handle underflow here rather than multiplying
43854         large negative argument by M_LN10l.
43855         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
43856         spurious overflow exception on underflow.
43857
43858 2012-04-29  Marek Polacek  <polacek@redhat.com>
43859
43860         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43861         (__fortify_function): New macro.
43862         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43863         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43864         __extern_always_inline.
43865         * libio/bits/stdio2.h: Likewise.
43866         * libio/bits/stdio.h: Likewise.
43867         * string/string.h: Likewise.
43868         * string/bits/string3.h: Likewise.
43869         * include/stdio.h: Likewise.
43870         * stdlib/bits/stdlib.h: Likewise.
43871         * stdlib/stdlib.h: Likewise.
43872         * rt/bits/mqueue2.h: Likewise.
43873         * rt/mqueue.h: Likewise.
43874         * posix/bits/unistd.h: Likewise.
43875         * posix/unistd.h: Likewise.
43876         * io/bits/poll2.h: Likewise.
43877         * io/bits/fcntl2.h: Likewise.
43878         * io/fcntl.h: Likewise.
43879         * io/sys/poll.h: Likewise.
43880         * misc/bits/syslog.h: Likewise.
43881         * misc/bits/syslog-ldbl.h: Likewise.
43882         * misc/sys/syslog.h: Likewise.
43883         * socket/bits/socket2.h: Likewise.
43884         * socket/sys/socket.h: Likewise.
43885         * debug/tst-chk1.c: Likewise.
43886         * wcsmbs/bits/wchar2.h: Likewise.
43887         * wcsmbs/bits/wchar-ldbl.h: Likewise.
43888         * wcsmbs/wchar.h: Likewise.
43889
43890 2012-04-29  Andreas Jaeger  <aj@suse.de>
43891
43892         * Makerules (tests): Remove enable-check-abi protection.
43893         (check-abi-warn): Remove.
43894         (check-abi-%): Remove check-abi-warn usage.
43895
43896         * configure.in: Remove check-abi configure option.
43897         * configure: Regenerated.
43898         * config.make.in (enable-check-abi): Remove.
43899
43900 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
43901
43902         [BZ #14033]
43903         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43904         double functions to double *_finite functions.
43905
43906         [BZ #13941]
43907         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43908         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43909         LDBL_MIN_EXP.
43910         * stdio-common/Makefile (tests): Add tst-sprintf3.
43911         * stdio-common/tst-sprintf3.c: New file.
43912
43913         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43914         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43915
43916 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43917
43918         * conform/conformtest.pl: Remove duplicate typed-constant
43919         handling.
43920
43921 2012-04-28  David S. Miller  <davem@davemloft.net>
43922
43923         * Makerules (%.abilist): Add vpath on sysdep_dirs.
43924         (check-abi-%): Remove AWK script prerequisite and explicit
43925         abilist directory.
43926         (check-abi): Rewrite to just diff the symlist with the abilist.
43927         (config-tls, config-abi-config): Delete, no longer used.
43928         (update-abi-%): Remove AWK script and explicit abilist directory.
43929         (update-abi): Rewrite to simply compare and conditionally copy the
43930         symlist and the sysdep abilist file.  Remove update-abi-config
43931         checks.
43932         * abilist/ld.abilist: Remove.
43933         * abilist/libBrokenLocale.abilist: Remove.
43934         * abilist/libanl.abilist: Remove.
43935         * abilist/libcrypt.abilist: Remove.
43936         * abilist/libdl.abilist: Remove.
43937         * abilist/librt.abilist: Remove.
43938         * abilist/libthread_db.abilist: Remove.
43939         * abilist/libutil.abilist: Remove.
43940         * scripts/extract-abilist.awk: Remove.
43941         * scripts/merge-abilist.awk: Remove.
43942         * sysdeps/generic/libcidn.abilist: New file.
43943         * sysdeps/generic/libnss_compat.abilist: New file.
43944         * sysdeps/generic/libnss_db.abilist: New file.
43945         * sysdeps/generic/libnss_dns.abilist: New file.
43946         * sysdeps/generic/libnss_files.abilist: New file.
43947         * sysdeps/generic/libnss_hesiod.abilist: New file.
43948         * sysdeps/generic/libnss_nis.abilist: New file.
43949         * sysdeps/generic/libnss_nisplus.abilist: New file.
43950         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43951         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43952         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43953         file.
43954         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43955         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43956         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43957         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43958         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43959         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43960         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43961         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43962         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43963         file.
43964         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43965         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43966         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43967         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43968         file.
43969         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43970         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43971         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43972         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43973         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43974         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43975         file.
43976         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43977         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43978         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43979         file.
43980         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43981         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43982         New file.
43983         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43984         New file.
43985         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43986         New file.
43987         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43988         New file.
43989         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43990         New file.
43991         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43992         New file.
43993         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43994         New file.
43995         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43996         New file.
43997         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43998         New file.
43999         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44000         New file.
44001         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44002         New file.
44003         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44004         New file.
44005         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44006         New file.
44007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44008         file.
44009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44010         New file.
44011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44012         New file.
44013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44014         file.
44015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44016         New file.
44017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44018         New file.
44019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44020         file.
44021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44022         New file.
44023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44024         New file.
44025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44026         New file.
44027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44028         New file.
44029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44030         New file.
44031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44032         New file.
44033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44035         file.
44036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44037         New file.
44038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44039         file.
44040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44041         file.
44042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44043         file.
44044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44045         file.
44046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44047         file.
44048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44049         New file.
44050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44051         file.
44052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44053         file.
44054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44055         New file.
44056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44057         file.
44058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44060         file.
44061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44062         New file.
44063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44064         file.
44065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44066         file.
44067         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44068         file.
44069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44070         file.
44071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44072         file.
44073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44074         New file.
44075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44076         file.
44077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44078         file.
44079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44080         New file.
44081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44082         file.
44083         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44084         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44085         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44086         file.
44087         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44088         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44089         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44090         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44091         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44092         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44093         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44094         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44095         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44096         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44098         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44099         file.
44100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44101         New file.
44102         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44103         file.
44104         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44105         file.
44106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44107         file.
44108         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44109         file.
44110         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44111         file.
44112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44113         New file.
44114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44115         New file.
44116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44117         file.
44118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44119         New file.
44120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44121         file.
44122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44124         file.
44125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44126         New file.
44127         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44128         file.
44129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44130         file.
44131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44132         file.
44133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44134         file.
44135         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44136         file.
44137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44138         New file.
44139         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44140         New file.
44141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44142         file.
44143         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44144         New file.
44145         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44146         file.
44147
44148 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44149
44150         * conform/conformtest.pl: Fix typo in handling typed-constant from
44151         allow-header.
44152
44153 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44154
44155         * README: Cut down references to pre-2.6 Linux kernels and
44156         Linuxthreads.  Update lists of configurations in libc and ports
44157         and sort alphabetically.  Say "or newer" with Linux kernel version
44158         requirements.
44159
44160         * config.h.in [IS_IN_build]: Allow compiling without optimization.
44161
44162 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44163
44164         [BZ #887]
44165         * math/libm-test.inc (logb_test_downward): New test to expose
44166         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44167         rounding mode.
44168
44169 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44170
44171         [BZ #14027]
44172         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44173         to be done.
44174         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44175         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44176
44177 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
44178
44179         * sysdeps/unix/i386/brk.S: Remove file.
44180         * sysdeps/unix/i386/dl-brk.S: Likewise.
44181         * sysdeps/unix/i386/pipe.S: Likewise.
44182         * sysdeps/unix/i386/sigreturn.S: Likewise.
44183         * sysdeps/unix/i386/syscall.S: Likewise.
44184         * sysdeps/unix/i386/vfork.S: Likewise.
44185         * sysdeps/unix/i386/wait.S: Likewise.
44186
44187         * sysdeps/unix/common/tcsendbrk.c: Move to ...
44188         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44189
44190         * configure.in (arm*-none*): Do not allow without
44191         --enable-hacker-mode.
44192         (netbsd*): Remove case setting base_os.
44193         (386bsd*): Likewise.
44194         (freebsd*): Likewise.
44195         (bsdi*): Likewise.
44196         (osf*): Likewise.
44197         (sunos*): Likewise.
44198         (ultrix*): Likewise.
44199         (newsos*): Likewise.
44200         (dynix*): Likewise.
44201         (*bsd*): Likewise.
44202         (sysv*): Likewise.
44203         (isc*): Likewise.
44204         (esix*): Likewise.
44205         (sco*): Likewise.
44206         (minix*): Likewise.
44207         (irix4*): Likewise.
44208         (irix6*): Likewise.
44209         (solaris[2-9]*): Likewise.
44210         (none): Likewise.
44211         * configure: Regenerated.
44212
44213 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44214
44215         [BZ #11521]
44216         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44217         overflow or cancellation in calculating denominator.
44218         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44219         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44220         down expression to avoid unexpected rounding in newer GCCs.
44221         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44222
44223 2012-04-26  David S. Miller  <davem@davemloft.net>
44224
44225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44226         long-double compat symbols.
44227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44240
44241 2012-04-25  David S. Miller  <davem@davemloft.net>
44242
44243         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44244         HWCAP_* values only after the memory barriers have been defined.
44245         (atomic_full_barrier): Define.
44246         (atomic_read_barrier): Define.
44247         (atomic_write_barrier): Define.
44248
44249 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44250
44251         * shlib-versions: Add libgcc_s version information.
44252         * sysdeps/generic/libgcc_s.h: Remove.
44253         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44254         libgcc_s.h.
44255         * sysdeps/gnu/unwind-resume.c: Likewise.
44256         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44257
44258 2012-04-25  David S. Miller  <davem@davemloft.net>
44259
44260         * sysdeps/unix/sparc/brk.S: Delete.
44261         * sysdeps/unix/sparc/dl-brk.S: Delete.
44262         * sysdeps/unix/sparc/pipe.S: Delete.
44263         * sysdeps/unix/sparc/sysdep.S: Delete.
44264         * sysdeps/unix/sparc/sysdep.h: Delete.
44265         * sysdeps/unix/sparc/vfork.S: Delete.
44266         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44267         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44268         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44269         (ret_ERRVAL, r0, r1, MOVE): Define.
44270         (JUMPTARGET): Remove.
44271         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44272         sysdeps/unix/sparc/sysdep.h
44273         (ENTRY, END): Remove.
44274         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44275
44276 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
44277
44278         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44279         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44280         -DIS_IN_build.
44281
44282         * timezone/README: Update upstream location and email address for
44283         tzcode and tzdata.
44284         * timezone/zdump.c: Update from tzcode 2012b.
44285         * timezone/zic.c: Likewise.
44286
44287         * configure.in (libc_cv_as_needed): Remove test.
44288         * configure: Regenerated.
44289         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44290         conditional definition.
44291         [$(have-as-needed) != yes] (no-as-needed): Likewise.
44292         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44293         * config.make.in (have-as-needed): Remove variable.
44294
44295 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44296             Paul Pluzhnikov  <ppluzhnikov@google.com>
44297
44298         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44299         strings correctly.
44300
44301 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
44302
44303         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44304         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44305         * sysdeps/sh/strlen.S: Likewise.
44306
44307 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44308
44309         * sysdeps/unix/fork.S: Remove file.
44310         * sysdeps/unix/i386/fork.S: Likewise.
44311         * sysdeps/unix/sparc/fork.S: Likewise.
44312
44313         * sysdeps/unix/system.c: Remove file.
44314         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44315
44316         * sysdeps/unix/getegid.S: Remove file.
44317         * sysdeps/unix/geteuid.S: Likewise.
44318
44319 2012-04-24  Roland McGrath  <roland@hack.frob.com>
44320
44321         * scripts/check-localplt.awk: New file.
44322         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44323         of diff.
44324         * scripts/data/localplt-generic.data: Add a comment.
44325
44326         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44327         NODE when __dir_mkfile failed.
44328         * sysdeps/mach/hurd/symlinkat.c: Likewise.
44329         Reported by Ludovic Courtès <ludo@gnu.org>.
44330
44331 2012-04-24  Andreas Jaeger  <aj@suse.de>
44332
44333         * Makerules (common-clean): Also remove gen-as-const-headers
44334         files.
44335
44336 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44337
44338         * Makerules (native-compile): Do not change working directory for
44339         build.  Use $(OUTPUT_OPTION) in command.
44340         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44341
44342 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44343
44344         [BZ #13886]
44345         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44346         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44347         * math/libm-test.inc (floor_test): Add more tests.
44348         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44349
44350 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44351
44352         * sysdeps/unix/getdents.c: Remove file.
44353         * sysdeps/unix/sysv/getdents.c: Likewise.
44354         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44355
44356         * sysdeps/unix/syscalls.list (madvise): Add syscall from
44357         sysdeps/unix/mman/syscalls.list.
44358         (mmap): Likewise.
44359         (mprotect): Likewise.
44360         (msync): Likewise.
44361         (munmap): Likewise.
44362         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44363         * sysdeps/unix/mman/syscalls.list: Remove.
44364         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44365
44366         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44367         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44368         * configure: Regenerated.
44369         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44370         $(libgcc_s_suffix).
44371         * config.make.in (libgcc_s_suffix): Remove variable.
44372
44373 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
44374
44375         * sysdeps/unix/sysv/gethostname.c: Move to ...
44376         * sysdeps/posix/gethostname.c: ... here.
44377
44378         * sysdeps/unix/execve.S: Remove file.
44379
44380         * sysdeps/unix/_exit.S: Remove file.
44381
44382 2012-04-23  Andreas Jaeger  <aj@suse.de>
44383
44384         [BZ #13739]
44385         * manual/Makefile: Remove make dist support, there's no
44386         need for a stand-alone documentation tar ball.
44387         (TEXI2DVI): Define always, it's not in Makeconfig.
44388         (dist): Removed.
44389         (tar-it): Removed.
44390         (edition): Removed.
44391         (glibc-doc-$(edition).tar): Removed
44392         (%.Z): Removed.
44393         (%.gz): Removed.
44394         (%.uu): Removed.
44395         (ETAGS): Remove, it's in Makeconfig.
44396         (move-if-change): Remove, it's in Makeconfig.
44397
44398 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
44399
44400         [BZ #13970]
44401         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44402         (strtod, strtof, strtold, strtol, strtoul, strtoq)
44403         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44404         (strtod_l, strtof_l, strtold_l): Remove __wur.
44405         It is not necessarily an error to ignore strtol's return value.
44406         One can reliably look at the stored endptr to decide whether
44407         the number had valid syntax.
44408
44409 2012-04-21  Andreas Jaeger  <aj@suse.de>
44410
44411         [BZ #13739]
44412         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44413
44414 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
44415
44416         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44417         * sysdeps/unix/sysv/Versions: Remove file.
44418
44419 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
44420
44421         [BZ #13927]
44422         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44423
44424 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
44425
44426         [BZ #7064]
44427         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44428         version from __vm86.
44429
44430 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
44431
44432         * sysdeps/unix/common/lxstat.c: Remove file.
44433         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44434
44435         * sysdeps/unix/sysv/Makefile: Remove file.
44436
44437         * sysdeps/unix/sysv/direct.h: Remove file.
44438
44439         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44440         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44441         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44442         * sysdeps/unix/sysv/bits/signum.h: Likewise.
44443         * sysdeps/unix/sysv/bits/stat.h: Likewise.
44444         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44445         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44446
44447         * sysdeps/unix/sysv/setrlimit.c: Remove file.
44448
44449         * sysdeps/unix/xmknod.c: Remove file.
44450         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44451
44452         * sysdeps/unix/sysv/settimeofday.c: Remove file.
44453
44454         * sysdeps/unix/sysv/i386/time.S: Remove file.
44455
44456         * sysdeps/unix/fxstat.c: Remove file.
44457         * sysdeps/unix/xstat.c: Likewise.
44458         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44459
44460         * sysdeps/unix/sysv/sigaction.c: Remove file.
44461
44462         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44463         (sysdep_headers): Remove variable.
44464         [termio.h not in sysdep_headers] (generated): Likewise.
44465         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44466         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44467         * sysdeps/unix/sysv/tcdrain.c: Likewise.
44468         * sysdeps/unix/sysv/tcflow.c: Likewise.
44469         * sysdeps/unix/sysv/tcflush.c: Likewise.
44470         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44471         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44472         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44473         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44474         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44475
44476         * sysdeps/unix/siglist.c: Remove file.
44477
44478         * sysdeps/unix/getppid.S: Remove file.
44479
44480         * sysdeps/unix/mkdir.c: Remove file.
44481         * sysdeps/unix/rmdir.c: Likewise.
44482
44483 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
44484
44485         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44486         ERR_MAX value.
44487         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44488         errlist-compat value.
44489
44490 2012-04-18  David S. Miller  <davem@davemloft.net>
44491
44492         * sysdeps/generic/memcopy.h (reg_char): Delete.
44493         * debug/strcat_chk.c: Use char, not reg_char.
44494         * debug/strcpy_chk.c: Likewise.
44495         * debug/strncat_chk.c: Likewise.
44496         * debug/strncpy_chk.c: Likewise.
44497         * string/memchr.c: Likewise.
44498         * string/memrchr.c: Likewise.
44499         * string/rawmemchr.c: Likewise.
44500         * string/strcat.c: Likewise.
44501         * string/strchr.c: Likewise.
44502         * string/strchrnul.c: Likewise.
44503         * string/strcmp.c: Likewise.
44504         * string/strcpy.c: Likewise.
44505         * string/strncat.c: Likewise.
44506         * string/strncmp.c: Likewise.
44507         * string/strncpy.c: Likewise.
44508
44509 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44510
44511         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44512         __builtin_memcopy is called when src and dest ranges are known to not
44513         overlap.
44514
44515 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44516
44517         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44518         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44519         fwd_align_merge macro call.
44520         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44521         bwd_align_merge macro call.
44522         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44523
44524 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44525
44526         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44527         bwd_align_merge macros.
44528         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44529         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44530         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44531
44532 2012-04-18  David S. Miller  <davem@davemloft.net>
44533
44534         * sysdeps/sparc/sparc64/memcopy.h: Delete.
44535
44536 2012-04-18  Andreas Jaeger  <aj@suse.de>
44537
44538         [BZ# 6794]
44539         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44540         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44541         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44542
44543         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44544         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44545         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44546
44547         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44548         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44549         Adjust for changed ldbl-128 files.
44550
44551         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44552         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44553         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44554
44555 2012-04-17  David S. Miller  <davem@davemloft.net>
44556
44557         * sysdeps/sparc/sparc32/memcopy.h: Delete.
44558
44559 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
44560
44561         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44562         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44563         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44564         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44565         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44566         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44567
44568 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44569
44570         [BZ #6794]
44571         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44572         * math/libm-test.inc: Add ilogb errno and exception tests.
44573         * math/w_ilogb.c: New file: ilogb wrapper.
44574         * math/w_ilogbf.c: New file: ilogbf wrapper.
44575         * math/w_ilogbl.c: New file: ilogbl wrapper.
44576         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44577         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44578         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44579         exception being thrown with 0.0 as argument.
44580         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44581         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44582         exception being thrown with 0.0 as argument.
44583         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44584         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44585         exception being thrown with 0.0 as argument.
44586         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44587         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44588         exception being thrown with 0.0 as argument.
44589         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44590         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44591         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44592         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44593         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44594         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44595         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44596         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44597         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44598
44599 2012-04-17  Petr Baudis  <pasky@ucw.cz>
44600
44601         * include/sys/uio.h: Change __vector to __iovec to avoid clash
44602         with altivec.
44603
44604 2012-04-16  Marek Polacek  <polacek@redhat.com>
44605
44606         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44607
44608 2012-04-16  Marek Polacek  <polacek@redhat.com>
44609
44610         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44611         operands of fdivp instruction.
44612
44613 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44614
44615         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44616         * elf/tst-auditmod3b.c: Likewise.
44617         * elf/tst-auditmod4b.c: Likewise.
44618         * elf/tst-auditmod5b.c: Likewise.
44619         * elf/tst-auditmod6b.c: Likewise.
44620         * elf/tst-auditmod6c.c: Likewise.
44621         * elf/tst-auditmod7b.c: Likewise.
44622         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44623         * sysdeps/x86_64/preconfigure.in: Likewise.
44624         * sysdeps/x86_64/preconfigure: Regenerated.
44625
44626 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44627
44628         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44629         __ILP32__.
44630
44631 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
44632
44633         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44634         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44635
44636 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
44637
44638         [BZ #13973]
44639         * locale/iso-639.def: Fix gl language name. Spotted by
44640         Yaron Shahrabani.
44641
44642 2012-04-12  Roland McGrath  <roland@hack.frob.com>
44643
44644         [BZ #2074]
44645         * libio/libio.h (__io_write_fn): Update comment.
44646
44647 2012-04-12  Petr Baudis  <pasky@ucw.cz>
44648
44649         [BZ #2074]
44650         * stdio.texi (Hook Functions): The user provided writer function
44651         is not allowed to return -1.
44652
44653 2012-04-11  David S. Miller  <davem@davemloft.net>
44654
44655         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44656
44657 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
44658
44659         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44660         Add a leading slash to rtkaio.
44661
44662 2012-04-11  Jim Meyering  <meyering@redhat.com>
44663
44664         [BZ #11959]
44665         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44666         It is not necessarily an error to ignore fwrite's return
44667         value.  One can reliably use ferror to test for errors after
44668         the fact.
44669
44670 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44671
44672         * bits/types.h (__snseconds_t): New type.
44673         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44674
44675         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44676         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44677         (__SNSECONDS_T_TYPE): Likewise.
44678         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44679         (__SNSECONDS_T_TYPE): Likewise.
44680         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44681         (__SNSECONDS_T_TYPE): Likewise.
44682
44683 2012-04-10  Andreas Jaeger  <aj@suse.de>
44684
44685         [BZ #2636]
44686         * manual/time.texi (Processor Time): Return type of times is
44687         elapsed real time since an arbitrary point in the past.
44688         (CPU Time): Move CLK_TCK from here...
44689         (Processor Time): ...to here.  Correct description.
44690         * manual/conf.texi (Constants for Sysconf): Correct description of
44691         _SC_CLK_TCK.
44692
44693 2012-04-10  David S. Miller  <davem@davemloft.net>
44694
44695         [BZ #13967]
44696         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44697         where the is a gap between DT_REL(A) and DT_JMPREL.
44698
44699 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44700
44701         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44702         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44703         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44704
44705 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44706
44707         * elf/dl-support.c (_dl_inhibit_cache): New variable.
44708         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44709         (dl_main): Handle --inhibit-cache.
44710         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44711         _dl_inhibit_cache.
44712         * elf/dl-load.c (_dl_map_object): Use it.
44713         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44714
44715 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44716
44717         [BZ #13872]
44718         * sysdeps/i386/fpu/e_powl.S (p78): New object.
44719         (__ieee754_powl): Saturate large exponents rather than testing for
44720         overflow of y*log2(x).
44721         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44722         * math/libm-test.inc (pow_test): Do not permit spurious overflow
44723         exceptions.
44724
44725         [BZ #11521]
44726         * math/s_ctan.c: Include <float.h>.
44727         (__ctan): Avoid internal overflow or cancellation in calculating
44728         denominator.
44729         * math/s_ctanf.c: Likewise.
44730         * math/s_ctanl.c: Likewise.
44731         * math/s_ctanh.c: Likewise.
44732         * math/s_ctanhf.c: Likewise.
44733         * math/s_ctanhl.c: Likewise.
44734         * math/libm-test.inc (ctan_test): Add more tests.
44735         (ctanh_test): Likewise.
44736         * sysdeps/i386/fpu/libm-test-ulps: Update.
44737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44738
44739 2012-04-09  Andreas Jaeger  <aj@suse.de>
44740
44741         [BZ #6894]
44742         * manual/filesys.texi (Directory Entries): Mention that d_namlen
44743         is an optional BSD extension.
44744
44745         [BZ #10254]
44746         * manual/stdio.texi (Opening Streams): Document additional fopen
44747         parameters.
44748
44749 2012-04-09  Roland McGrath  <roland@hack.frob.com>
44750
44751         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44752         %eax without telling the compiler.
44753
44754 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
44755
44756         [BZ # 13963]
44757         * manual/install.texi: Use sourceware.org.
44758
44759 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44760
44761         [BZ #13873]
44762         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44763         (__ieee754_pow): Generate overflow and underflow using huge*huge
44764         and tiny*tiny rather than just returning constant infinity or zero
44765         for large exponents.
44766         * math/libm-test.inc (pow_test): Require overflow exceptions for
44767         applicable cases of large exponents.
44768
44769         [BZ #706]
44770         * sysdeps/i386/fpu/e_pow.S (p10): New object.
44771         (__ieee754_pow): Use iterative multiplication algorithm only for
44772         integer exponents with absolute value below 1024.  Check for odd
44773         integer exponents when using algorithm for real exponents.
44774         * math/libm-test.inc (pow_test): Add more tests.
44775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44776
44777 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
44778
44779         [BZ #13705]
44780         * math/libm-test.inc (exp_test): Do not allow overflow exception
44781         on underflow test.
44782
44783 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
44784
44785         [BZ #13705]
44786         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44787         instead of __kernel_standard_f.
44788
44789 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
44790
44791         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44792         * sysdeps/x86_64/memset_chk.S: Likewise.
44793
44794 2012-04-08  Andreas Jaeger  <aj@suse.de>
44795
44796         [BZ #10153]
44797         * manual/startup.texi (Environment Access): Describe return value
44798         for putenv and setenv.
44799
44800         [BZ #6895]
44801         * manual/filesys.texi (Directory Entries): Add description for
44802         DT_LNK.
44803
44804         [BZ #6890]
44805         * manual/filesys.texi (Directory Entries): Clarify that it's file
44806         system not operating system in the description of DT_UNKNOWN.
44807
44808         [BZ #6578]
44809         * manual/syslog.texi (closelog): Fix reference, it's openlog.
44810
44811 2012-04-08  Stephen Compall  <s11@member.fsf.org>
44812
44813         [BZ #6649]
44814         * manual/llio.texi (Opening and Closing Files): Add cross
44815         reference to explain mode argument.
44816
44817 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
44818
44819         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44820         * sysdeps/x86_64/memset_chk.S: Likewise.
44821
44822 2012-04-07  David S. Miller  <davem@davemloft.net>
44823
44824         * elf/elf.h (R_SPARC_WDISP10): Define.
44825         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44826         R_SPARC_SIZE32.
44827         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44828         R_SPARC_SIZE64 and R_SPARC_H34.
44829
44830 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
44831
44832         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44833         conditions and remove no longer applicable assertion.
44834
44835 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
44836
44837         * bits/byteswap.h: Include <features.h>.
44838         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44839         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44840
44841 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
44842
44843         * bits/byteswap.h (__bswap_16): Removed.
44844         Include <bits/byteswap-16.h> to get __bswap_16.
44845         * sysdeps/i386/bits/byteswap.h: Likewise.
44846         * sysdeps/s390/bits/byteswap.h: Likewise.
44847         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44848         * bits/byteswap-16.h: New file.
44849         * sysdeps/i386/bits/byteswap-16.h: Likewise.
44850         * sysdeps/s390/bits/byteswap-16.h: Likewise.
44851         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44852         * string/Makefile (headers): Add bits/byteswap-16.h.
44853
44854 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44855
44856         [BZ #13895]
44857         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44858         extra indirection.
44859         * nss/Makefile (tests-static, tests): Add tst-nss-static.
44860         * nss/tst-nss-static.c: New.
44861
44862 2012-04-06  Robert Millan  <rmh@gnu.org>
44863
44864         [BZ #6486]
44865         * manual/llio.texi (File Position Primitive): lseek
44866         refers to WHENCE when it really means OFFSET.
44867
44868 2012-04-06  Andreas Jaeger  <aj@suse.de>
44869
44870         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44871         strncmp declarations.
44872
44873         * abilist/libc.abilist: Add __poll and __ppoll.
44874
44875 2012-04-05  David S. Miller  <davem@davemloft.net>
44876
44877         * scripts/check-local-headers.sh: Accept a host triplet in the
44878         path matched by the exclude regexp.
44879
44880         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44881         definition.
44882         * sysdeps/powerpc/powerpc32/dl-machine.h
44883         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44884         * sysdeps/s390/s390-32/dl-machine.h
44885         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44886         * sysdeps/sparc/sparc32/dl-machine.h
44887         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44888         * sysdeps/sparc/sparc64/dl-machine.h
44889         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44890
44891         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44892         lazy binding.
44893         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44894         undefined symbol errors.
44895
44896         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44897         DT_NEEDED entries.
44898
44899 2012-04-05  Michael Matz  <matz@suse.de>
44900
44901         [BZ #13592]
44902         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44903
44904 2012-04-05  Andreas Jaeger  <aj@suse.de>
44905
44906         [BZ #13908]
44907         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44908         comment.
44909
44910 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44911
44912         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44913         which ROUND is no valid rounding mode.
44914
44915 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44916
44917         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44918         read again.
44919         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44920
44921 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44922
44923         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44924         an exception using FPU order intentionally.
44925
44926 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44927
44928         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44929         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44930         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44931         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44932
44933 2012-04-05  Simon Josefsson  <simon@josefsson.org>
44934
44935         [BZ #12340]
44936         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44937         EINVAL when BUFLEN is too smal.
44938
44939 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
44940
44941         [BZ #13553]
44942         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44943         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44944
44945 2012-04-03  Andreas Jaeger  <aj@suse.de>
44946
44947         [BZ #13938]
44948         * manual/setjmp.texi (System V contexts): Fix sentence.
44949
44950         [BZ #13926]
44951         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44952         New macro for this case.
44953         [!__GNUC__] (__bswap_64): New inline function for this case.
44954         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44955         * bits/byteswap.h: Likewise.
44956         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44957         ull, guard with __GLIBC_HAVE_LONG_LONG.
44958
44959         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44960         __GLIBC_HAVE_LONG_LONG.
44961
44962         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44963         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44964
44965 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44966
44967         [BZ #13691]
44968         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44969         inptr and inend, rather than using last_ch.
44970
44971 2012-04-02  David S. Miller  <davem@davemloft.net>
44972
44973         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44974         * stdio-common/printf-parse.h (read_int): Change return type to
44975         'int', return -1 on INT_MAX overflow.
44976         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44977         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
44978         overflows INT_MAX.  Check for overflow of in-format-string precision
44979         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
44980         SIZE_MAX not INT_MAX for integer overflow test.
44981         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44982         skip the construct in the format string but do not record anything.
44983         * stdio-common/bug22.c: Adjust to test both width/prevision
44984         INT_MAX overflow as well as total length INT_MAX overflow.  Check
44985         explicitly for proper errno values.
44986
44987 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44988
44989         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44990         CHAR_MAX.
44991         * string/test-strcmp.c [! WIDE]: Likewise.
44992         * time/tst-mktime2.c: Likewise for INT_MAX.
44993         * string/test-string.h: #include <sys/param.h> for MIN.
44994
44995         * csu/init-first.c (__libc_init_first): Call __ctype_init.
44996         * sysdeps/i386/init-first.c (init): Likewise.
44997         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44998         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44999         * sysdeps/sh/init-first.c (init): Likewise.
45000
45001 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
45002
45003         * po/ru.po: Update from translation team.
45004         * po/vi.po: Likewise.
45005
45006 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45007
45008         * resolv/nss_dns/dns-host.c: Merge copyright years.
45009
45010 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45011
45012         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45013         Optimize memcpy with prefetch if
45014         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
45015         src, dst pointers have unequal 16 byte alignments.
45016
45017 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45018
45019         [BZ #13928]
45020         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45021         from a CNAME entry and return the minimum ttl for the query.
45022         (gaih_getanswer_slice): Likewise.
45023
45024 2012-03-30  Jeff Law  <law@redhat.com>
45025
45026         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45027         due to long keys.
45028         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45029         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45030
45031         * resolv/nss_dns/dns-host.c: Update copyright year.
45032
45033 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
45034
45035         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45036         requests to save a system call.  Fix check that all bytes are sent.
45037
45038         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45039         comments for sendmmsg.
45040
45041 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45042
45043         [BZ #13691]
45044         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45045         with only 1 character between 0x0041 and 0x01b0.
45046         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45047         * wcsmbs/tst-mbsnrtowcs.c: New file.
45048
45049 2012-03-29  David S. Miller  <davem@davemloft.net>
45050
45051         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45052         small copies by hand.
45053
45054 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45055
45056         [BZ #13761]
45057         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45058         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45059         group memberships.
45060
45061 2012-03-28  David S. Miller  <davem@davemloft.net>
45062
45063         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45064         that branches into memcpy.
45065         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45066         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45067         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45068         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45069         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45070         bits.
45071         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45072         implementation too.
45073         * sysdeps/sparc/mempcpy.S: New file.
45074
45075         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45076         the IFUNC routine in the libc case.
45077         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45078
45079         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45080         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45081         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45082         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45083         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45084         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45085         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45086         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45087
45088         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45089         loop to 256 bytes instead of 64 bytes and fix test signedness.
45090
45091         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45092         * sysdeps/sparc/sparc32/Makefile: rather than here...
45093         * sysdeps/sparc/sparc64/Makefile: and here.
45094
45095 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
45096
45097         * malloc/mallocbug.c: Avoid warnings about unused variables.
45098
45099 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45100
45101         [BZ #13760]
45102         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45103         in the right place. Discard and retry query if response is
45104         larger than input buffer size.
45105
45106 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
45107
45108         [BZ #369]
45109         [BZ #2678]
45110         [BZ #3866]
45111         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45112         x for large integer exponent.
45113         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45114         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
45115         sign of result as needed afterwards.
45116         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45117         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45118         result for underflowing pow the same as for overflow.
45119         (__kernel_standard_l): Handle powl overflow and underflow here
45120         rather than calling __kernel_standard.
45121         * math/libm-test.inc (pow_test): Add more tests.
45122
45123         [BZ #3868]
45124         [BZ #13879]
45125         [BZ #13910]
45126         [BZ #13911]
45127         [BZ #13912]
45128         [BZ #13913]
45129         [BZ #13915]
45130         [BZ #13916]
45131         [BZ #13917]
45132         [BZ #13918]
45133         [BZ #13919]
45134         [BZ #13920]
45135         [BZ #13921]
45136         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45137         * sysdeps/ieee754/k_standard.c: Include <float.h>.
45138         (__kernel_standard_l): New function.
45139         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45140         __kernel_standard.
45141         * math/w_acosl.c (__acosl): Likewise.
45142         * math/w_asinl.c (__asinl): Likewise.
45143         * math/w_atan2l.c (__atan2l): Likewise.
45144         * math/w_atanhl.c (__atanhl): Likewise.
45145         * math/w_coshl.c (__coshl): Likewise.
45146         * math/w_exp10l.c (__exp10l): Likewise.
45147         * math/w_exp2l.c (__exp2l): Likewise.
45148         * math/w_fmodl.c (__fmodl): Likewise.
45149         * math/w_hypotl.c (__hypotl): Likewise.
45150         * math/w_j0l.c (__j0l, __y0l): Likewise.
45151         * math/w_j1l.c (__j1l, __y1l): Likewise.
45152         * math/w_jnl.c (__jnl, __ynl): Likewise.
45153         * math/w_lgammal.c (__lgammal): Likewise.
45154         * math/w_log10l.c (__log10l): Likewise.
45155         * math/w_log2l.c (__log2l): Likewise.
45156         * math/w_logl.c (__logl): Likewise.
45157         * math/w_powl.c (__powl): Likewise.
45158         * math/w_remainderl.c (__remainderl): Likewise.
45159         * math/w_scalbl.c (sysv_scalbl): Likewise.
45160         * math/w_sinhl.c (__sinhl): Likewise.
45161         * math/w_sqrtl.c (__sqrtl): Likewise.
45162         * math/w_tgammal.c (__tgammal): Likewise.
45163         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45164         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45165         * math/libm-test.inc (acos_test): Add more tests.
45166         (acosh_test): Likewise.
45167         (asin_test): Likewise.
45168         (atanh_test): Likewise.
45169         (exp_test): Likewise.
45170         (exp10_test): Likewise.
45171         (exp2_test): Likewise.
45172         (expm1_test): Likewise.
45173         (lgamma_test): Likewise.
45174         (log_test): Likewise.
45175         (log10_test): Likewise.
45176         (log1p_test): Likewise.
45177         (log2_test): Likewise.
45178         (pow_test): Do not allow some spurious overflow exceptions.
45179         (sqrt_test): Add more tests.
45180         (tgamma_test): Likewise.
45181         (y0_test): Likewise.
45182         (y1_test): Likewise.
45183         (yn_test): Likewise.
45184
45185 2012-03-27  Anton Blanchard  <anton@samba.org>
45186
45187         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45188         MAP_HUGETLB.
45189         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45190         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45191         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45192
45193 2012-03-27  David S. Miller  <davem@davemloft.net>
45194
45195         * conform/Makefile: Run run-conformtest.sh using $(BASH).
45196
45197         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45198         have-as-vis3 check.
45199
45200 2012-03-27  Andreas Jaeger  <aj@suse.de>
45201
45202         * sysdeps/x86_64/elf/configure.in: Moved to ...
45203         * sysdeps/x86_64/configure.in: ... here.
45204         * sysdeps/x86_64/elf/start.S: Moved to ...
45205         * sysdeps/x86_64/start.S: ... here.
45206         * sysdeps/x86_64/elf/configure: Delete.
45207
45208         * sysdeps/x86_64/configure.in: Merge contents from
45209         sysdeps/i386/configure.in (without i686 check).
45210
45211         * sysdeps/i386/elf/Versions: Merge into ...
45212         * sysdeps/i386/Versions: ... this.
45213         * sysdeps/i386/elf/Versions: Delete file.
45214         * sysdeps/i386/elf/start.S: Moved to ...
45215         * sysdeps/i386/start.S: ...here.
45216         * sysdeps/i386/elf/configure.in: Merge into...
45217         * sysdeps/i386/configure.in: ...here.
45218         * sysdeps/i386/elf/configure.in: Delete file.
45219         * sysdeps/i386/elf/configure: Delete file.
45220
45221         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45222         * debug/backtracesyms.c: ... here.
45223         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45224         * debug/backtracesymsfd.c: ... here.
45225         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45226         * sysdeps/generic/ifunc-sel.h: ... here.
45227
45228         * sysdeps/unix/i386/start.c: Delete file.
45229         * sysdeps/unix/sparc/start.c: Delete file.
45230         * sysdeps/unix/start.c: Delete file.
45231
45232         * sysdeps/sh/elf/configure.in: Moved to ...
45233         * sysdeps/sh/configure.in: ... here.
45234         * sysdeps/sh/elf/start.S: Moved to ...
45235         * sysdeps/sh/start.S: ... here.
45236         * sysdeps/sh/elf/configure: Delete file.
45237
45238         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45239         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45240         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45241         * sysdeps/powerpc/powerpc64/entry.h: ... here.
45242         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45243         * sysdeps/powerpc/powerpc64/start.S: here.
45244         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45245         * sysdeps/powerpc/powerpc64/Makefile: ... this.
45246         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45247         * sysdeps/powerpc/powerpc64/configure.in: ... this.
45248         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45249
45250         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45251         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45252         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45253         * sysdeps/powerpc/powerpc32/start.S: ... here.
45254         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45255         * sysdeps/powerpc/powerpc32/configure.in: ... this.
45256         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45257
45258         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45259         * sysdeps/powerpc/ifunc-sel.h: ... here.
45260         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45261         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45262
45263         * sysdeps/sparc/elf/configure.in: Moved to ...
45264         * sysdeps/sparc/configure.in: ... here.
45265         * sysdeps/sparc/elf/configure: Delete file.
45266         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45267         * sysdeps/sparc/sparc32/start.S: ... here.
45268         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45269         * sysdeps/sparc/sparc64/start.S: ... here.
45270         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45271         * sysdeps/sparc/sparc32/Makefile: ... this.
45272         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45273         * sysdeps/sparc/sparc64/Makefile: ... this.
45274
45275         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45276         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45277         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45278         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45279         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45280         * sysdeps/s390/s390-32/setjmp.S: ... here.
45281         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45282         * sysdeps/s390/s390-32/configure.in: ... here.
45283         * sysdeps/s390/s390-32/elf/configure: Delete file.
45284         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45285         * sysdeps/s390/s390-32/start.S: ... here.
45286
45287         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45288         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45289         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45290         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45291         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45292         * sysdeps/s390/s390-64/setjmp.S: ... here.
45293         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45294         * sysdeps/s390/s390-64/configure.in: ... here
45295         * sysdeps/s390/s390-64/elf/configure: Delete file.
45296         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45297         * sysdeps/s390/s390-64/start.S: ... here.
45298         * sysdeps/s390/s390-64/elf/configure: Delete.
45299
45300         * configure.in: Remove support for elf directories in sysdeps.
45301
45302         * configure: Regenerated.
45303         * sysdeps/i386/configure: Regenerated.
45304         * sysdeps/powerpc/powerpc32/configure: Regenerated.
45305         * sysdeps/powerpc/powerpc64/configure: Regenerated.
45306         * sysdeps/s390/s390-32/configure: Regenerated.
45307         * sysdeps/s390/s390-64/configure: Regenerated.
45308         * sysdeps/sh/configure: Regenerated.
45309         * sysdeps/sparc/configure: Regenerated.
45310         * sysdeps/x86_64/configure: Regenerated.
45311
45312 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
45313
45314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45315
45316         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45317         denormal result into account.
45318
45319 2012-03-25  Roland McGrath  <roland@hack.frob.com>
45320
45321         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45322         Reported by Allan McRae <allan@archlinux.org>.
45323
45324 2012-03-23  Jeff Law  <law@redhat.com>
45325
45326         * nss/getnssent.c (__nss_getent): Fix typo.
45327
45328 2012-03-23  David S. Miller  <davem@davemloft.net>
45329
45330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45331
45332 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
45333
45334         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45335         to pad to uint64_t for each field.
45336         (dl_tls_index): Replace unsigned long with uint64_t.
45337
45338 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
45339         Paul Pluzhnikov  <ppluzhnikov@google.com>
45340
45341         [BZ #6528]
45342         * grp/Makefile (otherlibs): Don't set it.
45343         * inet/Makefile (otherlibs): Likewise.
45344         * login/Makefile (otherlibs): Likewise.
45345         * nscd/Makefile (otherlibs): Likewise.
45346         * posix/Makefile (otherlibs): Likewise.
45347         * pwd/Makefile (otherlibs): Likewise.
45348         * rt/Makefile (otherlibs): Likewise.
45349         * sunrpc/Makefile (otherlibs): Likewise.
45350         * nss/Makefile (otherlibs): Likewise.
45351         Add libnss_files to routines and static-only-routines.
45352         ($(objpfx)getent): Remove rule.
45353         * resolv/Makefile: Add libnss_dns and libresolv to routines and
45354         static-only-routines.
45355
45356 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45357
45358         [BZ #13892]
45359         * math/s_cexp.c: Include <float.h>.
45360         (__cexp): Handle exp result overflowing not necessarily
45361         overflowing both real and imaginary parts of result.
45362         * math/s_cexpf.c: Likewise.
45363         * math/s_cexpl.c: Likewise.
45364         * math/libm-test.inc (cexp_test): Add more tests.
45365         * sysdeps/i386/fpu/libm-test-ulps: Update.
45366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45367
45368 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45369
45370         * include/link.h (ELFW): New macro.
45371         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45372         Replace ELF64_R_TYPE with ELFW(R_TYPE).
45373
45374 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45375
45376         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45377         with uint64_t.
45378
45379 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45380
45381         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45382         declaration.
45383         (struct La_x32_retval): Likewise.
45384
45385 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45386
45387         * sysdeps/x86_64/preconfigure.in: New file.
45388         * sysdeps/x86_64/preconfigure: New generated file.
45389
45390 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45391
45392         [BZ #13824]
45393         * math/e_exp2l.c: Include <float.h>.
45394         (__ieee754_exp2l): Handle overflow and underflow cases
45395         separately.  Only pass fractional part of argument to
45396         __ieee754_expl.
45397         * math/libm-test.inc (exp2_test): Add more tests.
45398
45399         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45400         negating x to take absolute value.
45401         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45402         Likewise.
45403         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45404         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45405         Likewise.
45406         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45407         computing low part if x was negated.
45408         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45409
45410 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45411
45412         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45413         la_x32_gnu_pltexit.
45414         (pltexit): Cast int_retval to ptrdiff_t.
45415         * elf/tst-auditmod3b.c: Likewise.
45416         * elf/tst-auditmod4b.c: Likewise.
45417         * elf/tst-auditmod5b.c: Likewise.
45418         * elf/tst-auditmod6b.c: Likewise.
45419         * elf/tst-auditmod6c.c: Likewise.
45420         * elf/tst-auditmod7b.c: Likewise.
45421
45422         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45423         and x32_gnu_pltexit.
45424
45425         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45426         __ELF_NATIVE_CLASS.
45427         (La_x32_regs): New macro.
45428         (La_x32_retval): Likewise.
45429         (la_x32_gnu_pltenter): New function prototype.
45430         (la_x32_gnu_pltexit): Likewise.
45431
45432 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
45433
45434         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45435         exponent.
45436
45437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45438
45439         * configure.in (libc_cv_cc_nofma): Check for option to disable
45440         generation of FMA instructions.
45441         * configure: Regenerate.
45442         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45443         * sysdeps/ieee754/dbl-64/Makefile: New file.
45444         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45445         Remove brandred-fma4.
45446         (CFLAGS-brandred-fma4.c): Remove.
45447         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45448         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45449         define.
45450         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45451         define.
45452
45453 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45454
45455         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45456         LLONG_MAX != LONG_MAX.
45457         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45458         (_fitoa_word): Likewise.
45459         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45460         LLONG_MAX != LONG_MAX.
45461         * stdio-common/_itowa.h: Include <_itoa.h>.
45462         (_itowa_word): Use _ITOA_WORD_TYPE on value.
45463         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
45464         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
45465         only if not defined.
45466         (_ITOA_WORD_TYPE): Likewise.
45467         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45468         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45469
45470 2012-03-21  David S. Miller  <davem@davemloft.net>
45471
45472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45473
45474 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45475
45476         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45477         of x86_64 when setting libc_cv_slibdir, libdir and
45478         libc_cv_localedir.
45479         * sysdeps/unix/sysv/linux/configure: Regenerated.
45480
45481 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45482
45483         * manual/lang.texi (Old Varargs): Remove section.
45484         (How Variadic): Update menu.
45485         (va_start): Do not mention varargs.h.
45486
45487 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45488             Joseph Myers  <joseph@codesourcery.com>
45489
45490         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45491         link test.
45492         * configure: Regenerated.
45493
45494 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45495
45496         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45497         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45498         conformtest.pl
45499
45500 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45501
45502         * NOTES: Remove.
45503         * Makefile (files-for-dist): Remove NOTES.
45504         (NOTES): Remove rule.
45505         * README: Don't refer to NOTES.
45506         * manual/creature.texi: Don't include macros.texi.
45507         * manual/intro.texi (creature.texi): Remove comment referring to
45508         NOTES.
45509
45510         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45511         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45512         * configure: Regenerated.
45513         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45514         LIBC_TRY_CC_OPTION.
45515         (libc_cv_as_i686): Likewise.
45516         (libc_cv_cc_avx): Likewise.
45517         (libc_cv_cc_sse2avx): Likewise.
45518         (libc_cv_cc_fma4): Likewise.
45519         (libc_cv_cc_novzeroupper): Likewise.
45520         * sysdeps/i386/configure: Regenerated.
45521
45522         [BZ #13883]
45523         * sysdeps/i386/fpu/s_cexp.S: Remove.
45524         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45525         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45526         * math/libm-test.inc (cexp_test): Add more tests.
45527         * sysdeps/i386/fpu/libm-test-ulps: Update.
45528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45529
45530 2012-03-21  Allan McRae  <allan@archlinux.org>
45531
45532         * timezone/Makefile: Do not install iso3166.tab and zone.tab
45533
45534 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45535
45536         [BZ #13871]
45537         * math/w_exp2.c: Do not include <float.h>.
45538         (o_threshold, u_threshold): Remove.
45539         (__exp2): Calculate result before checking finiteness and calling
45540         __kernel_standard.
45541         * math/w_exp2f.c: Likewise.
45542         * math/w_exp2l.c: Likewise.
45543         * math/libm-test.inc (exp2_test): Require overflow exception for
45544         1e6 input.
45545
45546         [BZ #3866]
45547         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45548         range of signed 64-bit integers before using fistpll.  Remove
45549         checks for whether integers fit in mantissa bits.
45550         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45551         the range of signed 32-bit integers before using fistpl.  Remove
45552         checks for whether integers fit in mantissa bits.
45553         * sysdeps/i386/fpu/e_powl.S (p64): New object.
45554         (__ieee754_powl): Test for y outside the range of signed 64-bit
45555         integers before using fistpll.  Reduce 64-bit values to 63-bit
45556         ones as needed.
45557         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45558         divide-by-zero is raised for zero to large negative powers.
45559         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45560         (__ieee754_powl): Test for y outside the range of signed 64-bit
45561         integers before using fistpll.  Reduce 64-bit values to 63-bit
45562         ones as needed.
45563         * math/libm-test.inc (pow_test): Add more tests.
45564
45565 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45566
45567         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45568         <stdio-common/_itoa.h>.
45569         * debug/segfault.c: Likewise.
45570         * elf/dl-cache.c: Likewise.
45571         * elf/dl-minimal.c: Likewise.
45572         * elf/dl-misc.c: Likewise.
45573         * elf/dl-sysdep.c: Likewise.
45574         * elf/dl-version.c: Likewise.
45575         * elf/rtld.c: Likewise.
45576         * hurd/hurdsock.c: Likewise.
45577         * hurd/lookup-retry.c: Likewise.
45578         * malloc/malloc.c: Likewise.
45579         * malloc/mtrace.c: Likewise.
45580         * nscd/nscd_getgr_r.c: Likewise.
45581         * nscd/nscd_getpw_r.c: Likewise.
45582         * nscd/nscd_getserv_r.c: Likewise.
45583         * posix/getopt_init.c: Likewise.
45584         * posix/wordexp.c: Likewise.
45585         * stdio-common/_itoa.c: Likewise.
45586         * stdio-common/printf_fphex.c: Likewise.
45587         * stdio-common/vfprintf.c: Likewise.
45588         * string/_strerror.c: Likewise.
45589         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45590         * sysdeps/i386/i686/hp-timing.h: Likewise.
45591         * sysdeps/mach/_strerror.c: Likewise.
45592         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45593         * sysdeps/mach/hurd/sethostid.c: Likewise.
45594         * sysdeps/mach/hurd/xmknodat.c: Likewise.
45595         * sysdeps/mach/xpg-strerror.c: Likewise.
45596         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45597         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45598         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45599         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45600         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45601         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45602         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45603         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45604         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45605         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45606         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45607         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45608         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45609         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45610         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45611         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45612         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45613         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45614         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45615         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45616         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45617
45618         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45619
45620         * stdio-common/_itoa.h: Moved to ...
45621         * sysdeps/generic/_itoa.h: Here.
45622
45623         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45624
45625         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45626         instead of "_itoa.h" and "_itowa.h".
45627         * stdio-common/vfprintf.: Likewise.
45628
45629 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45630
45631         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45632         <bits/wordsize.h>.
45633         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45634         (__signbit): Likwise.
45635         (llrintf): Likwise.
45636         (llrint): Likwise.
45637
45638 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45639
45640         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45641         __WORDSIZE != 64.
45642
45643 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
45644
45645         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45646         OVERFLOW_EXCEPTION_OK.
45647         * math/libm-test.inc ("Philosophy"): Update comment about
45648         exception testing.
45649         (OVERFLOW_EXCEPTION): Define.
45650         (OVERFLOW_EXCEPTION_OK): Likewise.
45651         (INVALID_EXCEPTION_OK): Renumber.
45652         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45653         (IGNORE_ZERO_INF_SIGN): Likewise.
45654         (test_exceptions): Handle FE_OVERFLOW.
45655         (exp10_test): Expect overflow exceptions.
45656         (exp2_test): Likewise.
45657         (expm1_test): Likewise.
45658         (nextafter_test): Likewise.
45659         (pow_test): Likewise.
45660         (scalbn_test): Likewise.
45661         (scalbln_test): Likewise.
45662
45663 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45664
45665         * sysdeps/x86_64/bits/atomic.h
45666         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45667         64bit integer.
45668         (atomic_exchange_acq): Likewise.
45669         (__arch_exchange_and_add_body): Likewise.
45670         (__arch_add_body): Likewise.
45671         (atomic_add_negative): Likewise.
45672         (atomic_add_zero): Likewise.
45673
45674 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45675
45676         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45677         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45678
45679 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45680
45681         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45682         Check __x86_64__ instead of __WORDSIZE.
45683
45684 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45685
45686         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45687
45688 2012-03-19  David S. Miller  <davem@davemloft.net>
45689
45690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45691
45692         * sysdeps/sparc/fpu/fenv_private.h: New file.
45693         * sysdeps/sparc/fpu/math_private.h: Use it.
45694         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45695         Remove.
45696         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45697         (libc_feholdexcept_setroundl): Remove.
45698         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45699         Remove.
45700         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45701         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45702
45703 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45704
45705         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45706         int64_t instead of long int.
45707         (INSERT_WORDS64): Likwise.
45708
45709 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45710
45711         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45712         _Unwind_GetCFA return to _Unwind_Ptr first.
45713
45714 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
45715
45716         [BZ #13629]
45717         * math/s_clog.c: Include <float.h>.
45718         (__clog): Scale large or subnormal inputs.
45719         * math/s_clogf.c: Likewise.
45720         * math/s_clogl.c: Likewise.
45721         * math/s_clog10.c: Include <float.h>.
45722         (M_LOG10_2): Define.
45723         (__clog10): Scale large or subnormal inputs.
45724         * math/s_clog10f.c: Likewise.
45725         * math/s_clog10l.c: Likewise.
45726         * math/libm-test.inc (clog_test): Add more tests.
45727         (clog10_test): Likewise.
45728         * sysdeps/i386/fpu/libm-test-ulps: Update.
45729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45730
45731         [BZ #11451]
45732         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45733         x and y.
45734         * math/libm-test.inc (atan2_test): Add another test.
45735
45736         * Makerules (common-objdir-compile): Remove.
45737         * sysdeps/unix/Makefile (config-generated): Do not add
45738         $(unix-generated) to variable.
45739         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45740         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45741         Remove rule.
45742         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45743         Likewise.
45744         [generic bits/local_lim.h] (before-compile): Do not append to
45745         variable.
45746         [generic bits/local_lim.h] (common-generated): Likewise.
45747         [generic sys/param.h] (before-compile): Do not append to variable.
45748         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45749         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45750         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45751         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45752         include.
45753         [generic sys/param.h] (sys/param.h-includes): Remove variable.
45754         [generic sys/param.h] (sys/param.h-includes): Remove rule.
45755         [generic sys/param.h] ($(addprefix
45756         $(common-objpfx),$(sys/param.h-includes))): Likewise.
45757         [generic sys/param.h] (common-generated): Do not append to
45758         variable.
45759         [generic sys/param.h] (sysdep_headers): Likewise.
45760         [generic bits/errno.h] (before-compile): Do not append to
45761         variable.
45762         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45763         rule.
45764         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45765         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45766         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45767         [generic bits/errno.h] (common-generated): Do not append to
45768         variable.
45769         [generic bits/ioctls.h] (before-compile): Do not append to
45770         variable.
45771         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45772         rule.
45773         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45774         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45775         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45776         rule.
45777         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45778         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45779         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45780         [generic bits/ioctls.h] (common-generated): Do not append to
45781         variable.
45782         [generic sys/syscall.h] (syscall.h): Remove variable.
45783         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45784         rule.
45785         [generic sys/syscall.h] (before-compile): Do not append to
45786         variable.
45787         [generic sys/syscall.h] (common-generated): Likewise.
45788         * sysdeps/unix/errnos-tmpl.c: Remove file.
45789         * sysdeps/unix/errnos.awk: Likewise.
45790         * sysdeps/unix/ioctls-tmpl.c: Likewise.
45791         * sysdeps/unix/ioctls.awk: Likewise.
45792         * sysdeps/unix/mk-local_lim.c: Likewise.
45793         * sysdeps/unix/snarf-ioctls: Likewise.
45794
45795 2012-03-19  Richard Henderson  <rth@twiddle.net>
45796
45797         * sysdeps/i386/fpu/fenv_private.h: New file.
45798         * sysdeps/i386/fpu/math_private.h: Use it.
45799         (math_opt_barrier, math_force_eval): Remove.
45800         (libc_feholdexcept_setround_53bit): Remove.
45801         (libc_feupdateenv_53bit): Remove.
45802         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45803         (math_opt_barrier, math_force_eval): Remove.
45804         (libc_feholdexcept): Remove.
45805         (libc_feholdexcept_setround): Remove.
45806         (libc_fetestexcept, libc_fesetenv): Remove.
45807         (libc_feupdateenv_test): Remove.
45808         (libc_feupdateenv, libc_feholdsetround): Remove.
45809         (libc_feresetround): Remove.
45810
45811         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45812         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45813
45814         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45815         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45816         (libc_feupdateenv_testl): New.
45817         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45818         (libc_feupdateenv_testf): New.
45819         (libc_feupdateenv): Use libc_feupdateenv_test.
45820         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45821         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45822
45823         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45824         (libc_feholdsetroundf, libc_feholdsetroundl): New.
45825         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45826         (libc_feresetround_noex): New.
45827         (libc_feresetround_noexf): New.
45828         (libc_feresetround_noexl): New.
45829         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45830         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45831         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45832         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45833         SET_RESTORE_ROUND.
45834         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45835         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45836         (__cos): Likewise.
45837         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45838         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45839         SET_RESTORE_ROUND_NOEX.
45840         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45841         SET_RESTORE_ROUND_NOEXF.
45842         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45843         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45844         (libc_feholdsetroundf): New.
45845         (libc_feresetround, libc_feresetroundf): New.
45846
45847         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45848         (libc_feholdexcept_setround_53bit): Convert from macro to function.
45849         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
45850
45851         * sysdeps/generic/math_private.h: Include <fenv.h>.
45852         (default_libc_feholdexcept): New.
45853         (default_libc_feholdexcept_setround): New.
45854         (default_libc_fesetenv, default_libc_feupdateenv): New.
45855         (libc_feholdexcept): Only define if undefined.
45856         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45857         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45858         (libc_feholdexcept_setroundl): Likewise.
45859         (libc_feholdexcept_setround_53bit): Likewise.
45860         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45861         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45862         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45863         (libc_feupdateenv_53bit): Likewise.
45864         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45865         (libc_feholdexcept): Convert from macro to inline function.
45866         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45867         (libc_fesetenv, libc_feupdateenv): Likewise.
45868
45869         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45870         not previously defined.
45871         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45872         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45873         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45874         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45875         * sysdeps/ieee754/flt-32/math_private.h: New file.
45876         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45877         math_private.h below SET_FLOAT_WORD.
45878         (__isnan, __isinf_ns, __finite): Remove.
45879         (__isnanf, __isinf_nsf, __finitef): Remove.
45880
45881 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
45882
45883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45884
45885 2012-03-17  David S. Miller  <davem@davemloft.net>
45886
45887         [BZ #6471]
45888         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45889         for 2.16.
45890
45891 2012-03-16  David S. Miller  <davem@davemloft.net>
45892
45893         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45894         warnings.
45895
45896         [BZ #6471]
45897         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45898         properly.
45899         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45900         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45901         sysdep_routines when subdir is sysvipc.
45902         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45903         __getshmlba helper.
45904
45905         * sysdeps/sparc/fpu/libm-test/ulps: Update.
45906
45907 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45908
45909         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45910         [__LP64__].
45911
45912 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45913
45914         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45915         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45916         (__lround): Renamed to ...
45917         (__llround): This.  Replace long int with long long int.
45918         Define lround functions as aliases of llround functions.
45919         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45920
45921 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45922
45923         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45924         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
45925         adresses to uintptr_t.  Replace "long int" and "unsigned long
45926         int" with "greg_t" on va_arg.
45927
45928 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45929
45930         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45931         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45932
45933         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45934         Move e_machine check before EI_CLASS check.  Handle x32
45935         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45936         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45937         SKIP_EM_IA_64 and include
45938         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45939
45940         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45941         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45942         (add_system_dir): New macro.
45943
45944         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45945         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45946
45947 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
45948
45949         [BZ #2551]
45950         [BZ #2552]
45951         [BZ #2553]
45952         [BZ #2554]
45953         [BZ #2562]
45954         [BZ #2563]
45955         [BZ #2565]
45956         [BZ #2566]
45957         [BZ #2576]
45958         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45959         (y0): Likewise.
45960         * math/w_j0f.c (j0f): Likewise.
45961         (y0f): Likewise.
45962         * math/w_j0l.c (__j0l): Likewise.
45963         (__y0l): Likewise.
45964         * math/w_j1.c (j1): Likewise.
45965         (y1): Likewise.
45966         * math/w_j1f.c (j1f): Likewise.
45967         (y1f): Likewise.
45968         * math/w_j1l.c (__j1l): Likewise.
45969         (__y1l): Likewise.
45970         * math/w_jn.c (jn): Likewise.
45971         (yn): Likewise.
45972         * math/w_jnf.c (jnf): Likewise.
45973         (ynf): Likewise.
45974         * math/w_jnl.c (__jnl): Likewise.
45975         (__ynl): Likewise.
45976         * math/libm-test.inc (j0_test): Add more tests.
45977         (j1_test): Likewise.
45978         (jn_test): Likewise.  Add trailing semicolon to existing test.
45979         (y0_test): Likewise.
45980         (y1_test): Likewise.
45981         * sysdeps/i386/fpu/libm-test-ulps: Update.
45982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45983
45984         [BZ #13851]
45985         [BZ #13854]
45986         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45987         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45988         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45989         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45990         (__tanl): Set errno for infinite argument.
45991         * sysdeps/i386/fpu/mptan.c: Remove.
45992         * sysdeps/i386/fpu/s_tan.S: Likewise.
45993         * sysdeps/i386/fpu/s_tanl.S: Likewise.
45994         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45995         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45996         * math/libm-test.inc (tan_test): Add more tests and enable more
45997         tests for double and long double.
45998         * sysdeps/i386/fpu/libm-test-ulps: Update.
45999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46000
46001 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
46002
46003         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46004         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46005
46006 2012-03-16  Roland McGrath  <roland@hack.frob.com>
46007
46008         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46009         * configure.in: Use it for both main tree and add-ons.
46010         * configure: Regenerated.
46011
46012 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46013
46014         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46015
46016 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46017
46018         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46019         in comment.
46020
46021         [BZ #13851]
46022         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46023         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46024         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46025         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46026         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46027         infinite argument.
46028         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46029         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46030         != 0 for prec == 2.
46031         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46032         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46033         * sysdeps/i386/fpu/s_cosl.S: Likewise.
46034         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46035         * sysdeps/i386/fpu/s_sinl.S: Likewise.
46036         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46037         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46038         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46039         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46040         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46041         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46042         * math/libm-test.inc (cos_test): Add more tests and enable more
46043         tests for long double.
46044         (sin_test): Likewise.
46045         (sincos_test): Likewise.
46046         * sysdeps/i386/fpu/libm-test-ulps: Update.
46047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46048
46049 2012-03-16  David S. Miller  <davem@davemloft.net>
46050
46051         * sysdeps/sparc/fpu/math_private.h: New file.
46052
46053 2012-03-15  David S. Miller  <davem@davemloft.net>
46054
46055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46056         file.
46057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46059         file.
46060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46061         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46062         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46063         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46064         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46065         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46066         sysdep routines.
46067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46068
46069         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46070         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46071
46072         * sysdeps/sparc/sparc-ifunc.h: New file.
46073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46074         sparc-ifunc.h
46075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46077         Likewise.
46078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46079         Likewise.
46080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46084         Likewise.
46085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46090         Likewise.
46091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46092         Likewise.
46093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46097         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46098         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46099         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46100         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46101         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46102         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46103         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46104         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46105         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46106         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46107         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46108         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46109         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46110         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46111         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46112         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46113         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46114         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46115         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46116         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46117
46118 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46119
46120         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46121         scaling.
46122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46123
46124 2012-03-15  Andreas Jaeger  <aj@suse.de>
46125
46126         [BZ #13852]
46127         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46128         ieee754/flt-32 implementation for sin, cos and sincos.
46129         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46130         * sysdeps/i386/fpu/s_cosf.S: Likewise.
46131         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46132         * sysdeps/i386/fpu/s_sinf.S: Likewise.
46133         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46134         ieee754/flt-32 implementation for tan.
46135
46136         * math/libm-test.inc (cos_test): Enable some large input tests for
46137         float as well
46138         (sin_test): Likewise.
46139         (sincos_test): Likewise.
46140         (tan_test): Add tests for large input.
46141
46142         * sysdeps/i386/fpu/libm-test-ulps: Update.
46143
46144 2012-03-15  Andreas Jaeger  <aj@suse.de>
46145
46146         [BZ #13658]
46147         * math/libm-test.inc (cos_test): Add more test cases.
46148         (sin_test): Likewise.
46149         (sincos_test): Likewise.
46150
46151 2012-03-15  Andreas Jaeger  <aj@suse.de>
46152
46153         [BZ #13837]
46154         * math/libm-test.inc (cos_test): Add a test case for large input
46155         value.
46156         (sin_test): Likewise.
46157         (sincos_test): Likewise.
46158
46159 2012-03-15  Andreas Jaeger  <aj@suse.de>
46160             Joseph Myers  <joseph@codesourcery.com>
46161
46162         [BZ #13658]
46163         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46164         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46165         * sysdeps/i386/fpu/branred.c: Likewise.
46166         * sysdeps/i386/fpu/dosincos.c: Likewise.
46167         * sysdeps/i386/fpu/mpa.c: Likewise.
46168         * sysdeps/i386/fpu/s_cos.S: Likewise.
46169         * sysdeps/i386/fpu/s_sin.S: Likewise.
46170         * sysdeps/i386/fpu/s_sincos.S: Likewise.
46171         * sysdeps/i386/fpu/sincos32.c: Likewise.
46172
46173         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46174         Define.
46175         (libc_feupdateenv_53bit): Define.
46176         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46177         Define.
46178         (libc_feupdateenv_53bit): Define.
46179
46180         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46181         53 bit (without extend i386 double precision).
46182
46183         * math/libm-test.inc (sincos_test): Add tests for large input.
46184         (sin): Likewise.
46185         (cos): Likewise.
46186
46187         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46188
46189 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46190
46191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46192
46193 2012-03-15  David S. Miller  <davem@davemloft.net>
46194
46195         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46196         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46197         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46198         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46203         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46204         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46205         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46206         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46207         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46208         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46209         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46211         file.
46212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46214         file.
46215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46217         file.
46218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46220         file.
46221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46222         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46223         fmin/fmax sysdep routines.
46224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46225
46226 2012-03-14  David S. Miller  <davem@davemloft.net>
46227
46228         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46229         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46230         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46231         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46232         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46233         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46234         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46235         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46236         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46237         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46238         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46239         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46240         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46241         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46242         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46243         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46244         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46245         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46246         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46247         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46248         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46249         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46250         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46251         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46252         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46253         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46254         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46255         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46256         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46257         routines.
46258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46259         file.
46260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46262         file.
46263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46265         file.
46266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46268         file.
46269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46271         file.
46272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46274         file.
46275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46276         file.
46277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46278         file.
46279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46280         file.
46281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46282         New file.
46283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46284         file.
46285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46286         file.
46287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46289         file.
46290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46292         file.
46293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46295         file.
46296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46298         VIS3 routines.
46299
46300         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46301         New file.
46302
46303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46304
46305         * sysdeps/sparc/configure.in: New file.
46306         * sysdeps/sparc/configure: Generate.
46307         * configure.in (libc_cv_sparc_as_vis3): Substitute.
46308         * configure: Regenerate.
46309         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46310         * config.make.in (have-as-vis3): New.
46311         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46312         available use -Av9d instead of -Av9a.
46313         * sysdeps/sparc/sparc64/Makefile: Likewise.
46314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46316         New file.
46317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46318         file.
46319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46320         New file.
46321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46322         file.
46323         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46324         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46325         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46326         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46327         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46328
46329         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46330         fzeros/fnegs to load 0x80000000 into a float register instead of
46331         using the stack.
46332         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46333
46334 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46335
46336         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46337         bits/syscall.h.
46338         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46339         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46340         ($(inst_includedir)/bits/syscall.h): Remove rule.
46341         ($(objpfx)bits/syscall.d): Include instead of
46342         $(objpfx)syscall-list.d.
46343         (generated): Change syscall-list.h and syscall-list.d to
46344         bits/syscall.h and bits/syscall.d.
46345
46346 2012-03-14  Roland McGrath  <roland@hack.frob.com>
46347
46348         [BZ #13846]
46349         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46350
46351 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46352
46353         [BZ #13841]
46354         * math/s_csqrt.c: Include <float.h>.
46355         (__csqrt): Scale large or subnormal inputs.
46356         * math/s_csqrtf.c: Likewise.
46357         * math/s_csqrtl.c: Likewise.
46358         * math/libm-test.inc (csqrt_test): Add more tests.
46359         * sysdeps/i386/fpu/libm-test-ulps: Update.
46360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46361
46362         [BZ #13840]
46363         * math/libm-test.inc (hypot_test): Add more tests.
46364
46365 2012-03-13  David S. Miller  <davem@davemloft.net>
46366
46367         [BZ #13840]
46368         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46369         double-precision for the calculation instead of scaling.
46370
46371 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
46372
46373         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46374         manipulate bits before adding and subtracting TWO52[sx].
46375         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46376         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46377         Likewise.
46378         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46379
46380 2012-03-13  David S. Miller  <davem@davemloft.net>
46381
46382         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46383         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46384         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46385         rtld-global-offsets.h
46386         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46387
46388         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46389         large parameters.
46390
46391         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46392
46393         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46394         'err' in the ifdef scope in which it is actually used.
46395
46396         * nss/nss_db/db-init.c: Include string.h
46397
46398 2012-03-12  David S. Miller  <davem@davemloft.net>
46399
46400         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46401         masking out of the most significant byte of random value used.
46402         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46403         Fix coding style in previous change.
46404
46405         * sysdeps/unix/sysv/linux/kernel-features.h
46406         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46407         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46408         expression.
46409         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46410         later.
46411
46412 2012-03-11  David S. Miller  <davem@davemloft.net>
46413
46414         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46415         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46416         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46417         for 'resultvar' otherwise things get truncated on 64-bit.
46418
46419         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46420         Fix masking out of the most significant byte of random value used.
46421
46422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46423
46424 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
46425
46426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46427
46428 2012-03-09  David S. Miller  <davem@davemloft.net>
46429
46430         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46431         variables with appropriate CPP guards.
46432         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46433         from the frame pointer, not the stack pointer.  Correct layout
46434         comments.  Fix test on resulting framesize and the management of
46435         the outregs buffer for pltexit.  Preserve floating point return
46436         values across _dl_call_pltexit call.
46437         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46438         framesize and the management of the outregs buffer for pltexit.
46439         Preserve floating point return values across _dl_call_pltexit
46440         call.
46441         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46442         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46443         (la_sparc64_gnu_pltexit): New functions.
46444         (print_exit): Fix format string for return register value.
46445
46446 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
46447
46448         * sunrpc/Makefile (others): Add rpcgen.
46449         ($(objpfx)rpcgen): Remove special build rule and dependency on
46450         libc.
46451         * sunrpc/rpcgen.c: New file.
46452
46453 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
46454
46455         [BZ #13673]
46456         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46457         * stdio-common/bug-vfprintf-nargs.c: Likewise.
46458         * sysdeps/i386/crti.S: Likewise.
46459         * sysdeps/i386/crtn.S: Likewise.
46460         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46461         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46462         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46463         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46464         * sysdeps/sh/crti.S: Likewise.
46465         * sysdeps/sh/crtn.S: Likewise.
46466         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46467
46468         [BZ #13673]
46469         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46470         with URL.
46471         * locale/programs/locfile-kw.gperf: Likewise.
46472         * locale/programs/charmap-kw.h: Regenerated.
46473         * locale/programs/locfile-kw.h: Likewise.
46474
46475         [BZ #13673]
46476         * intl/plural.y: Replace FSF snail mail address with URL.
46477         * intl/plural.c: Regenerated.
46478
46479 2012-03-09  Richard Henderson  <rth@twiddle.net>
46480
46481         * include/math_private.h: Remove file.
46482         * math/math_private.h: Move file ...
46483         * sysdeps/generic/math_private.h: ... here.
46484
46485         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46486         * sysdeps/powerpc/fpu/math_private.h: Likewise.
46487         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46488
46489         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46490         and <math_private.h>.
46491         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46492         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46493         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46494         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46495         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46496         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46497         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46498         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46499         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46500         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46501         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46502         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46503         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46504         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46505         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46506         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46507         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46508         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46509         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46510         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46511         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46512         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46513         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46514         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46515         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46516         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46517         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46518         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46519         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46520         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46521         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46522         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46523         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46524         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46525         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46526         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46527         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46528         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46529         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46530         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46531         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46532         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46533         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46534         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46535         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46536         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46537         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46538         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46539         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46540         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46541         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46542         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46543         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46544         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46545         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46546         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46547         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46548         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46549         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46550         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46551         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46552         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46553         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46554         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46555         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46556         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46557         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46558         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46559         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46560         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46561         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46562         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46563         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46564         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46565         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46566         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46567         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46568         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46569         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46570         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46571         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46572         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46573         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46574         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46575         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46576         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46577         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46578         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46579         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46580         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46581         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46582         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46583         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46584         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46585         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46586         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46587         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46588         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46589         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46590         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46591         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46592         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46593         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46594         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46595         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46596         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46597         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46598         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46599         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46600         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46601         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46602         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46603         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46604         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46605         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46606         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46607         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46608         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46609         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46610         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46611         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46612         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46613         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46614         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46615         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46616         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46617         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46618         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46619         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46620         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46621         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46622         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46623         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46624         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46625         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46626         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46627         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46628         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46629         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46630         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46631         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46632         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46633         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46634         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46635         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46636         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46637         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46638         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46639         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46640         * sysdeps/ieee754/k_standard.c: Likewise.
46641         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46642         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46643         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46644         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46645         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46646         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46647         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46648         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46649         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46650         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46651         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46652         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46653         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46654         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46655         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46656         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46657         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46658         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46659         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46660         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46661         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46662         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46663         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46664         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46665         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46666         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46667         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46668         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46669         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46670         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46671         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46672         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46673         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46674         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46675         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46676         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46677         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46678         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46679         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46680         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46681         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46682         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46683         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46684         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46685         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46686         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46687         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46688         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46689         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46690         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46691         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46692         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46693         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46694         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46695         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46696         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46697         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46698         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46699         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46700         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46701         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46702         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46703         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46704         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46705         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46706         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46707         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46708         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46709         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46710         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46711         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46712         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46713         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46714         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46715         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46716         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46717         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46718         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46719         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46720         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46721         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46722         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46723         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46724         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46725         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46726         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46727         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46728         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46729         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46730         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46731         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46732         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46733         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46734         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46735         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46736         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46737         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46738         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46739         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46740         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46741         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46742         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46743         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46744         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46745         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46746         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46747         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46748         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46749         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46750         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46751         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46752         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46753         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46754         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46755         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46756         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46757         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46758         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46759         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46760         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46761         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46762         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46763         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46764         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46765         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46766         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46767         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46768         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46769         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46770         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46771         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46772         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46773         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46774         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46775         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46776         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46777         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46778         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46779         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46780         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46781         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46782         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46783         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46784         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46785         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46786         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46787         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46788         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46789         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46790         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46791         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46792         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46793         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46794         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46795         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46796         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46797         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46798         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46799         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46800         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46801         * sysdeps/ieee754/s_lib_version.c: Likewise.
46802         * sysdeps/ieee754/s_matherr.c: Likewise.
46803         * sysdeps/ieee754/s_signgam.c: Likewise.
46804         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46805         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46806         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46807         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46808         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46809         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46810         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46811         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46812         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46813         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46814         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46815         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46816         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46817         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46818         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46819         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46820         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46821         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46822         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46823         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46824         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46825
46826 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
46827
46828         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46829         * sunrpc/rpc_main.c: Likewise.
46830         * sunrpc/rpc_svcout.c: Likewise.
46831
46832 2012-03-09  David S. Miller  <davem@davemloft.net>
46833
46834         * include/math_private.h: New file.
46835
46836 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
46837
46838         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46839         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46840         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46841         from <bits/socket_type.h>.
46842         (enum __socket_type): Don't define here.
46843         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46844         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46845         bits/socket_type.h.
46846
46847         [BZ #13566]
46848         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46849         checking __USE_GNU.
46850
46851         * Makerules ($(inst_includedir)/%.h): New rule.
46852         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46853         (install-others): Remove variable setting.
46854         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46855
46856 2012-03-08  Richard Henderson  <rth@twiddle.net>
46857
46858         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46859         from macro to inline function; merge with the
46860         !__LIBC_INTERNAL_MATH_INLINES version.
46861         (__ieee754_sqrtf): Likewise.
46862
46863         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46864         to inline function.
46865         (__rintf, __floor, __floorf): Likewise.
46866
46867         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46868         macro to inline function.
46869         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46870
46871         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46872         not <math/math_private.h>.
46873
46874 2012-03-08  David S. Miller  <davem@davemloft.net>
46875
46876         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46877         copyright year.
46878         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46879
46880 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
46881
46882         * resolv/gai_misc.c (handle_requests): Fix struct timespec
46883         normalization.
46884         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46885         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46886
46887 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
46888
46889         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
46890         be defined individually, they must be defined as a block.  Define
46891         S for printing a string instead of hidint the different by using a
46892         macro for adding the 'l'.
46893         * stdio-common/tst-fphex-wide.c: Adjust.
46894
46895 2012-03-07  Marek Polacek  <polacek@redhat.com>
46896
46897         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46898
46899 2012-03-08  Marek Polacek  <polacek@redhat.com>
46900
46901         [BZ #13806]
46902         * stdio-common/Makefile (tests): Add tst-fphex-wide.
46903         * stdio-common/tst-fphex.c: Define a few macros to make the
46904         test reusable.  Use them.
46905         * stdio-common/tst-fphex-wide.c: New file.
46906
46907 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
46908
46909         [BZ #6911]
46910         * manual/macros.texi (gnusystems): New macro.
46911         (nongnusystems): Likewise.
46912         (gnulinuxhurdsystems): Likewise.
46913         (gnuhurdsystems): Likewise..
46914         (gnulinuxsystems): Likewise.
46915         * manual/charset.texi: Use new macros or @theglibc{} to refer to
46916         variants of the GNU system, not "GNU system".
46917         * manual/conf.texi: Likewise.
46918         * manual/errno.texi: Likewise.  Update example of errno macro
46919         expansion.
46920         * manual/filesys.texi: Likewise.
46921         (getumask): Document as specific to GNU/Hurd.
46922         * manual/install.texi: Likewise.  Reword some references to
46923         GNU/Linux.
46924         * manual/intro.texi: Likewise.
46925         * manual/io.texi: Likewise.
46926         (File Name Portability): Detail which constraints are inapplicable
46927         to all GNU systems and which are only inapplicable to GNU/Hurd.
46928         * manual/job.texi: Likewise.
46929         * manual/llio.texi: Likewise.
46930         (O_NOCTTY): Document as present on GNU/Linux.
46931         * manual/maint.texi: Likewise.
46932         * manual/memory.texi: Likewise.
46933         * manual/pattern.texi: Likewise.
46934         * manual/pipe.texi: Likewise.
46935         * manual/process.texi: Likewise.
46936         * manual/resource.texi: Likewise.
46937         (RUSAGE_CHILDREN): Remove statement about specifying a particular
46938         child on GNU/Hurd.
46939         * manual/setjmp.texi: Likewise.
46940         * manual/signal.texi: Likewise.
46941         * manual/startup.texi: Likewise.
46942         * manual/stdio.texi: Likewise.
46943         * manual/terminal.texi: Likewise.
46944         (ONLCR): Document as POSIX.
46945         (OXTABS): Document availability on GNU/Linux as XTABS.
46946         (ONOEOT): Document availability separately from other bits.
46947         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46948         * manual/time.texi: Likewise.
46949         * manual/users.texi: Likewise.
46950         * INSTALL: Regenerated.
46951         * sysdeps/gnu/errlist.c: Regenerated.
46952
46953         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46954         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46955         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
46956         puts.
46957         * configure: Regenerated.
46958
46959 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
46960
46961         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46962         default includes instead of AC_HEADER_CHECK.
46963         * sysdeps/i386/configure: Regenerated.
46964
46965         [BZ #10716]
46966         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46967         * math/s_cacoshf.c (__cacoshf): Likewise.
46968         * math/s_cacoshl.c (__cacoshl): Likewise.
46969         * math/s_casinh.c (__casinh): Set signs of result from argument.
46970         * math/s_casinhf.c (__casinhf): Likewise.
46971         * math/s_casinhl.c (__casinhl): Likewise.
46972         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46973         (casinh_test): Add more tests.
46974         * sysdeps/i386/fpu/libm-test-ulps: Update.
46975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46976
46977 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
46978
46979         * po/zh_TW.po: Update from translation team.
46980
46981         * login/Makefile (distribute): Remove variable.
46982         * catgets/Makefile: Likewise.
46983         * mach/Makefile: Likewise.
46984         * malloc/Makefile: Likewise.
46985         * misc/Makefile: Likewise.
46986         * iconv/Makefile: Likewise.
46987         * nscd/Makefile: Likewise.
46988         * hurd/Makefile: Likewise.
46989         * manual/Makefile: Likewise.
46990         * locale/Makefile: Likewise.
46991         * intl/Makefile: Likewise.
46992         * conform/Makefile: Likewise.
46993         * nss/Makefile: Likewise.
46994         * time/Makefile: Likewise.
46995         * soft-fp/Makefile: Likewise.
46996         * dirent/Makefile: Likewise.
46997         * gmon/Makefile: Likewise.
46998         * po/Makefile: Likewise.
46999         * rt/Makefile: Likewise.
47000         * socket/Makefile: Likewise.
47001         * math/Makefile: Likewise.
47002         * signal/Makefile: Likewise.
47003         * debug/Makefile: Likewise.
47004         * elf/Makefile: Likewise.
47005         * timezone/Makefile: Likewise.
47006         * stdlib/Makefile: Likewise.
47007         * iconvdata/Makefile: Likewise.
47008         * sunrpc/Makefile: Likewise.
47009         * io/Makefile: Likewise.
47010         * argp/Makefile: Likewise.
47011         * inet/Makefile: Likewise.
47012         * hesiod/Makefile: Likewise.
47013         * grp/Makefile: Likewise.
47014         * csu/Makefile: Likewise.
47015         * wctype/Makefile: Likewise.
47016         * crypt/Makefile: Likewise.
47017         * libio/Makefile: Likewise.
47018         * string/Makefile: Likewise.
47019         * nis/Makefile: Likewise.
47020         * resolv/Makefile: Likewise.
47021         * stdio-common/Makefile: Likewise.
47022         * wcsmbs/Makefile: Likewise.
47023         * dlfcn/Makefile: Likewise.
47024         * posix/Makefile: Likewise.
47025
47026         [BZ #6959]
47027         * timezone/Makefile: Don't install timezone files, just the programs
47028         and scripts.
47029
47030 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
47031
47032         * nss/databases.def: Add missing gshadow entry.
47033
47034         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
47035
47036 2012-03-06  Marek Polacek  <polacek@redhat.com>
47037
47038         [BZ #13726]
47039         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47040         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47041         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47042         * stdio-common/tst-long-dbl-fphex.c: New file.
47043
47044 2012-03-06  David S. Miller  <davem@davemloft.net>
47045
47046         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47047         (set_obp_int): New function.
47048         (get_obp_int): New function.
47049         (__get_clockfreq_via_dev_openprom): Likewise.
47050         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47051         Avoid unused variable warnings on 'val' and use builtin_expect.
47052         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47053         __builtin_expect.
47054         (INLINE_CLONE_SYSCALL): Likewise.
47055
47056 2012-03-05  David S. Miller  <davem@davemloft.net>
47057
47058         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47059
47060 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
47061
47062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47063
47064         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47065         only for |x| >= 40.
47066         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47067
47068 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
47069
47070         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47071         Replace gettimeofday with __vdso_gettimeofday.
47072
47073         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47074         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47075         __vdso_clock_gettime and __vdso_getcpu.
47076
47077         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47078         time with __vdso_time.
47079
47080 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47081
47082         * manual/lang.texi (size_t): Note types to which size_t may be
47083         equivalent with the GNU C Library, but do not describe when
47084         differences between them are significant.
47085
47086 2012-03-05  Andreas Jaeger  <aj@suse.de>
47087
47088         * sysdeps/i386/fpu/libm-test-ulps: Update.
47089
47090 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47091
47092         [BZ #3976]
47093         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47094         (__ieee754_pow): Save and restore rounding mode and use
47095         round-to-nearest for main computations.
47096         * math/libm-test.inc (pow_test_tonearest): New function.
47097         (pow_test_towardzero): Likewise.
47098         (pow_test_downward): Likewise.
47099         (pow_test_upward): Likewise.
47100         (main): Call the new functions.
47101         * sysdeps/i386/fpu/libm-test-ulps: Update.
47102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47103
47104         [BZ #3976]
47105         * math/libm-test.inc (cosh_test_tonearest): New function.
47106         (cosh_test_towardzero): Likewise.
47107         (cosh_test_downward): Likewise.
47108         (cosh_test_upward): Likewise.
47109         (sinh_test_tonearest): Likewise.
47110         (sinh_test_towardzero): Likewise.
47111         (sinh_test_downward): Likewise.
47112         (sinh_test_upward): Likewise.
47113         (main): Call the new functions.
47114         * sysdeps/i386/fpu/libm-test-ulps: Update.
47115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47116
47117 2012-03-05  Tom de Vries  <tom@codesourcery.com>
47118
47119         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47120         default stack guard is set in last bytes.
47121         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47122
47123 2012-03-05  Kees Cook  <keescook@chromium.org>
47124
47125         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47126
47127         [BZ #13656]
47128         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47129         possibly allocate from heap instead of stack.
47130         * stdio-common/bug-vfprintf-nargs.c: New file.
47131         * stdio-common/Makefile (tests): Add nargs overflow test.
47132
47133 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
47134
47135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47136
47137 2012-03-03  Marek Polacek  <polacek@redhat.com>
47138
47139         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47140         * math/math_private.h: Likewise.
47141         * stdlib/tst-strtod.c: Likewise.
47142         * sysdeps/i386/i486/bits/atomic.h: Likewise.
47143         * sysdeps/x86_64/bits/atomic.h: Likewise.
47144
47145 2012-03-02  David S. Miller  <davem@davemloft.net>
47146
47147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47151         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47152         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47153         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47154         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47155
47156 2012-03-02  Roland McGrath  <roland@hack.frob.com>
47157
47158         [BZ #13792]
47159         * manual/examples/README: New file, says the example source files
47160         can be used under GPL>=2.
47161         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47162         line containing just "*/".
47163         * manual/examples/add.c: Add copyright header (GPL>=2).
47164         * manual/examples/argp-ex1.c: Likewise.
47165         * manual/examples/argp-ex2.c: Likewise.
47166         * manual/examples/argp-ex3.c: Likewise.
47167         * manual/examples/argp-ex4.c: Likewise.
47168         * manual/examples/atexit.c: Likewise.
47169         * manual/examples/db.c: Likewise.
47170         * manual/examples/dir.c: Likewise.
47171         * manual/examples/dir2.c: Likewise.
47172         * manual/examples/execinfo.c: Likewise.
47173         * manual/examples/filecli.c: Likewise.
47174         * manual/examples/filesrv.c: Likewise.
47175         * manual/examples/fmtmsgexpl.c: Likewise.
47176         * manual/examples/genpass.c: Likewise.
47177         * manual/examples/inetcli.c: Likewise.
47178         * manual/examples/inetsrv.c: Likewise.
47179         * manual/examples/isockad.c: Likewise.
47180         * manual/examples/longopt.c: Likewise.
47181         * manual/examples/memopen.c: Likewise.
47182         * manual/examples/memstrm.c: Likewise.
47183         * manual/examples/mkfsock.c: Likewise.
47184         * manual/examples/mkisock.c: Likewise.
47185         * manual/examples/mygetpass.c: Likewise.
47186         * manual/examples/pipe.c: Likewise.
47187         * manual/examples/popen.c: Likewise.
47188         * manual/examples/rprintf.c: Likewise.
47189         * manual/examples/search.c: Likewise.
47190         * manual/examples/select.c: Likewise.
47191         * manual/examples/setjmp.c: Likewise.
47192         * manual/examples/sigh1.c: Likewise.
47193         * manual/examples/sigusr.c: Likewise.
47194         * manual/examples/stpcpy.c: Likewise.
47195         * manual/examples/strdupa.c: Likewise.
47196         * manual/examples/strftim.c: Likewise.
47197         * manual/examples/strncat.c: Likewise.
47198         * manual/examples/subopt.c: Likewise.
47199         * manual/examples/swapcontext.c: Likewise.
47200         * manual/examples/termios.c: Likewise.
47201         * manual/examples/testopt.c: Likewise.
47202         * manual/examples/testpass.c: Likewise.
47203         * manual/examples/timeval_subtract.c: Likewise.
47204
47205         [BZ #13792]
47206         * manual/time.texi (Elapsed Time): Move timeval_subtract example
47207         function to ...
47208         * manual/timeval_subtract.c.texi: ... here, new file.
47209
47210 2012-03-02  David S. Miller  <davem@davemloft.net>
47211
47212         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47213
47214 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
47215
47216         [BZ #3976]
47217         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47218         (__sin): Save and restore rounding mode and use round-to-nearest
47219         for all computations.
47220         (__cos): Save and restore rounding mode and use round-to-nearest
47221         for all computations.
47222         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47223         <fenv.h>.
47224         (tan): Save and restore rounding mode and use round-to-nearest for
47225         all computations.
47226         * math/libm-test.inc (cos_test_tonearest): New function.
47227         (cos_test_towardzero): Likewise.
47228         (cos_test_downward): Likewise.
47229         (cos_test_upward): Likewise.
47230         (sin_test_tonearest): Likewise.
47231         (sin_test_towardzero): Likewise.
47232         (sin_test_downward): Likewise.
47233         (sin_test_upward): Likewise.
47234         (tan_test_tonearest): Likewise.
47235         (tan_test_towardzero): Likewise.
47236         (tan_test_downward): Likewise.
47237         (tan_test_upward): Likewise.
47238         (main): Call the new functions.
47239         * sysdeps/i386/fpu/libm-test-ulps: Update.
47240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47241
47242         [BZ #10135]
47243         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47244         small n, then large n, before computing and testing k+n.
47245         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47246         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47247         Likewise.
47248         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47249         Likewise.
47250         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47251         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47252         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47253         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47254         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47255         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47256         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47257         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47258         * math/libm-test.inc (scalbn_test): Add more tests.
47259         (scalbln_test): Likewise.
47260
47261         * manual/filesys.texi (mode_t): Describe constraints on size and
47262         signedness, not exact equivalence to a particular type.
47263         (ino_t): Likewise.
47264         (ino64_t): Likewise.
47265         (dev_t): Likewise.
47266         (nlink_t): Likewise.
47267         (blkcnt_t): Likewise.
47268         (blkcnt64_t): Likewise.
47269         * manual/llio.texi (off_t): Likewise.
47270
47271         [BZ #3976]
47272         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47273         (__ieee754_exp): Save and restore rounding mode and use
47274         round-to-nearest for all computations.
47275         * math/libm-test.inc (exp_test_tonearest): New function.
47276         (exp_test_towardzero): Likewise.
47277         (exp_test_downward): Likewise.
47278         (exp_test_upward): Likewise.
47279         (main): Call the new functions.
47280         * sysdeps/i386/fpu/libm-test-ulps: Update.
47281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47282
47283 2012-03-01  Chris Demetriou  <cgd@google.com>
47284
47285         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47286         have predictable order.
47287
47288 2012-03-01  David S. Miller  <davem@davemloft.net>
47289
47290         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47291
47292         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47293         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47294         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47295         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47296
47297         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47298         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47299         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47301         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47302         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47303         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47304         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47305         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47306
47307         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47308
47309         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47310         * sysdeps/sparc/fpu/libm-test-ulps: to here.
47311         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47312
47313         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47314         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47315         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47316         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47317         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47318         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47319         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47320         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47321         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47322         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47323         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47324         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47325         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47326         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47327         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47328         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47329         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47330         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47331         * sysdeps/sparc/elf/configure: Regenerated.
47332
47333 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
47334
47335         * configure.in (AS, LD): Require binutils 2.20 or later.
47336         * configure: Regenerated.
47337         * manual/install.texi (Tools for Compilation): Give binutils 2.20
47338         as required minimum version.
47339         * INSTALL: Regenerated.
47340
47341         [BZ #2541]
47342         [BZ #4108]
47343         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47344         before squaring exponent.
47345         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47346         bottom long double and 27 bits of top long double before squaring
47347         exponent.
47348         * math/libm-test.inc (erfc_test): Add more tests.
47349         * sysdeps/i386/fpu/libm-test-ulps: Update.
47350         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47352
47353 2012-03-01  Kai Tietz  <ktietz@redhat.com>
47354
47355         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47356         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47357         containing bit-fields.
47358         * soft-fp/extended.h (_FP_UNION_E): Likewise.
47359         * soft-fp/single.h (_FP_UNION_S): Likewise.
47360         * soft-fp/double.h (_FP_UNION_D): Likewise.
47361
47362 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47363
47364         [BZ #13786]
47365         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47366         not include ../strcmp.S.
47367         [USE_AS_STRNCASECMP_L]: Likewise.
47368         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47369         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47370         * sysdeps/i386/i686/multiarch/strncase_l-c.c
47371         (__strncasecmp_l_ia32): Define as alias to
47372         __strncasecmp_l_nonascii.
47373
47374         [BZ #5794]
47375         * math/libm-test.inc (expm1_test): Add test for bug 5794.
47376         * sysdeps/i386/fpu/libm-test-ulps: Update.
47377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47378
47379         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47381
47382 2012-02-29  Jeff Law  <law@redhat.com>
47383
47384         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47385         out of bounds read.
47386
47387 2012-02-29  Marek Polacek  <polacek@redhat.com>
47388
47389         [BZ #13706]
47390         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47391         * elf/Makefile: Add rules to run tst-unused-dep.out.
47392
47393 2012-02-28  David S. Miller  <davem@davemloft.net>
47394
47395         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47396         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47397         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47398         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47399         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47400         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47401
47402 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47403
47404         * math/libm-test.inc (llround_test): Move one test from
47405         lround_test.  Use TEST_f_L in moved test.
47406         (lround_test): Move misplaced test to llround_test.  Add testcase
47407         from bug 2561.
47408
47409 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
47410
47411         * sysdeps/x86_64/fpu/e_expf.S: New file.
47412         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47413
47414 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
47415
47416         [BZ #13637]
47417         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47418         of remain_len that may cause incomplete multi-byte character and
47419         false match.
47420         * posix/bug-regex33.c: New file.
47421         * posix/Makefile (tests): Add bug-regex33.
47422
47423 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
47424
47425         * manual/macros.texi: New file.
47426         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47427         * manual/libc.texinfo: Include macros.texi.
47428         * manual/creatute.texi: Likewise.
47429         * manual/install.texi: Likewise.
47430         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47431         @glibcadj{} in references to the GNU C Library.
47432         * manual/charset.texi: Likewise.
47433         * manual/conf.texi: Likewise.
47434         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
47435         when not using those macros.
47436         * manual/creature.texi: Likewise.
47437         * manual/crypt.texi: Likewise.
47438         * manual/errno.texi: Likewise.
47439         * manual/filesys.texi: Likewise.
47440         * manual/header.texi: Likewise.
47441         * manual/install.texi: Likewise.
47442         * manual/intro.texi: Likewise.
47443         * manual/io.texi: Likewise.
47444         * manual/job.texi: Likewise.
47445         * manual/lang.texi: Likewise.
47446         * manual/libc.texiinfo: Likewise.
47447         * manual/llio.texi: Likewise.
47448         * manual/locale.texi: Likewise.
47449         * manual/maint.texi: Likewise.
47450         * manual/math.texi: Likewise.
47451         * manual/memory.texi: Likewise.
47452         * manual/message.texi: Likewise.
47453         * manual/nss.texi: Likewise.
47454         * manual/pattern.texi: Likewise.
47455         * manual/process.texi: Likewise.
47456         * manual/resource.texi: Likewise.
47457         * manual/search.texi: Likewise.
47458         * manual/setjmp.texi: Likewise.
47459         * manual/signal.texi: Likewise.
47460         * manual/socket.texi: Likewise.
47461         * manual/startup.texi: Likewise.
47462         * manual/stdio.texi: Likewise.
47463         * manual/string.texi: Likewise.
47464         * manual/sysinfo.texi: Likewise.
47465         * manual/syslog.texi: Likewise.
47466         * manual/terminal.texi: Likewise.
47467         * manual/time.texi: Likewise.
47468         * manual/users.texi: Likewise.
47469         * INSTALL: Regenerated.
47470         * NOTES: Regenerated.
47471         * sysdeps/gnu/errlist.c: Regenerated.
47472
47473 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
47474
47475         * include/dirent.h: Include <dirstream.h> before
47476         <dirent/dirent.h>.
47477
47478 2012-02-28  David S. Miller  <davem@davemloft.net>
47479
47480         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47481         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47482         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47483         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47484
47485 2012-02-27  David S. Miller  <davem@davemloft.net>
47486
47487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47489         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47490         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47491
47492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47493         frame pointer instead of stack pointer relative arg slot.
47494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47495         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47496         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47497
47498 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
47499
47500         [BZ #3992]
47501         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47502
47503 2012-02-27  David S. Miller  <davem@davemloft.net>
47504
47505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47509         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47510         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47511         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47512         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47513
47514 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47515
47516         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47517         later.  Allow versions 5-9.
47518         * configure: Regenerated.
47519         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47520         required minimum version and 4.6 as recommended version.  Do not
47521         mention bugs in GCC 2.7 and 2.8.
47522         * INSTALL: Regenerated.
47523
47524 2012-02-27  David S. Miller  <davem@davemloft.net>
47525
47526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47530         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47531         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47532         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47533         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47534
47535         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47536         manipulate bits before adding and subtracting TWO112[sx].
47537         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47538
47539 2012-02-27  Roland McGrath  <roland@hack.frob.com>
47540
47541         [BZ #13775]
47542         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47543         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47544         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47545         being in POSIX, because they are in 1003.1-2008.
47546
47547         * rt/tst-aio.c: Include <fcntl.h>.
47548         * rt/tst-aio7.c: Likewise.
47549         * rt/tst-aio64.c: Likewise.
47550
47551         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47552
47553 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47554
47555         * manual/install.texi (--with-headers): Describe headers as
47556         interface headers, not private headers.
47557         (Specific advice for GNU/Linux systems): Describe use of headers
47558         from "make headers_install", not private headers from older
47559         kernels.
47560         * INSTALL: Regenerated.
47561         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47562         Change to 2.6.19.
47563         * sysdeps/unix/sysv/linux/configure: Regenerated.
47564
47565         * manual/llio.texi (fclean): Remove documentation.
47566
47567         * manual/Makefile (libc-texi-generated): New variable.  Include
47568         version.texi.
47569         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47570         $(libc-texi-generated), not duplicated list of files.
47571         (version.texi, stamp-version): New rules.
47572         (realclean): Remove $(libc-texi-generated), not individual files
47573         from that list.  Do not remove dir-add.texinfo.
47574         * manual/libc.texinfo: Comment out uses of edition numbers and
47575         references to printed manual.  Remove last-updated dates.
47576         (EDITION): Comment out.
47577         (ISBN): Likewise.
47578         (VERSION, UPDATED): Remove.
47579         (version.texi): Include.
47580
47581 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
47582
47583         * sysdeps/posix/spawni.c: Include <signal.h>.
47584         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47585         * sysdeps/pthread/aio_fsync.c: Likewise.
47586
47587 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
47588
47589         * conform/Makefile (tests): Run only when not cross-compiling and
47590         when fast-check is not defined.
47591
47592         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47593         * conform/data/limits.h-data: Fixes for POSIX2008.
47594         * conform/run-conformtest.sh: Run all tests.
47595         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47596         headers.
47597         * include/bits/dlfcn.h: Likewise.
47598         * include/langinfo.h: Likewise.
47599         * include/monetary.h: Likewise.
47600         * include/sys/poll.h: Likewise.
47601
47602         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47603         for __USE_GNU.
47604         * posix/spawn.h: Define __need_sigset_t.
47605         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47606         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47607         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
47608         to get sigevent_t only.
47609         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47610         only for __USE_GNU.
47611         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47612         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47613         process_vm_writev only for __USE_GNU.
47614         * termios/termios.h: Declare tcgetsid also for POSIX2008.
47615
47616         * conform/Makefile: For now ignore errors from run-conformtest.
47617         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
47618         POSIX to avoid namespace pollution.  Don't prepend headers.
47619         * conform/data/aio.h-data: Fixes for POSIX testing.
47620         * conform/data/fcntl.h-data: Likewise.
47621         * conform/data/glob.h-data: Likewise.
47622         * conform/data/grp.h-data: Likewise.
47623         * conform/data/pthread.h-data: Likewise.
47624         * conform/data/pwd.h-data: Likewise.
47625         * conform/data/signal.h-data: Likewise.
47626         * conform/data/spawn.h-data: Likewise.
47627         * conform/data/stdio.h-data: Likewise.
47628         * conform/data/stdlib.h-data: Likewise.
47629         * conform/data/stropts.h-data: Likewise.
47630         * conform/data/sys/mman.h-data: Likewise.
47631         * conform/data/sys/stat.h-data: Likewise.
47632         * conform/data/sys/types.h-data: Likewise.
47633         * conform/data/sys/wait.h-data: Likewise.
47634         * conform/data/time.h-data: Likewise.
47635         * conform/data/unistd.h-data: Likewise.
47636         * conform/data/utime.h-data: Likewise.
47637
47638         * io/sys/stat.h: fchmod was always in POSIX.
47639         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47640         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47641         * rt/aio.h: Define __need_timespec before including <time.h>.
47642         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47643         struct.  Add forward declaration of pthread_attr_t and use it in
47644         sigevent.
47645         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47646         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47647         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47648         always remove CLK_TCK definition.
47649
47650 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
47651
47652         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47653
47654 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
47655
47656         * conform/run-conformtest.sh: New file.
47657         * conform/Makefile: Run run-conformtest for tests.
47658         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
47659         support.
47660
47661         * conform/data/uchar.h-data: New file.
47662         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47663         * conform/data/arpa/inet.h-data: Likewise.
47664         * conform/data/assert.h-data: Likewise.
47665         * conform/data/complex.h-data: Likewise.
47666         * conform/data/cpio.h-data: Likewise.
47667         * conform/data/ctype.h-data: Likewise.
47668         * conform/data/dirent.h-data: Likewise.
47669         * conform/data/dlfcn.h-data: Likewise.
47670         * conform/data/errno.h-data: Likewise.
47671         * conform/data/fcntl.h-data: Likewise.
47672         * conform/data/float.h-data: Likewise.
47673         * conform/data/fmtmsg.h-data: Likewise.
47674         * conform/data/fnmatch.h-data: Likewise.
47675         * conform/data/ftw.h-data: Likewise.
47676         * conform/data/glob.h-data: Likewise.
47677         * conform/data/grp.h-data: Likewise.
47678         * conform/data/iconv.h-data: Likewise.
47679         * conform/data/inttypes.h-data: Likewise.
47680         * conform/data/langinfo.h-data: Likewise.
47681         * conform/data/libgen.h-data: Likewise.
47682         * conform/data/limits.h-data: Likewise.
47683         * conform/data/locale.h-data: Likewise.
47684         * conform/data/math.h-data: Likewise.
47685         * conform/data/monetary.h-data: Likewise.
47686         * conform/data/mqueue.h-data: Likewise.
47687         * conform/data/ndbm.h-data: Likewise.
47688         * conform/data/net/if.h-data: Likewise.
47689         * conform/data/netdb.h-data: Likewise.
47690         * conform/data/netinet/in.h-data: Likewise.
47691         * conform/data/nl_types.h-data: Likewise.
47692         * conform/data/poll.h-data: Likewise.
47693         * conform/data/pthread.h-data: Likewise.
47694         * conform/data/pwd.h-data: Likewise.
47695         * conform/data/regex.h-data: Likewise.
47696         * conform/data/sched.h-data: Likewise.
47697         * conform/data/search.h-data: Likewise.
47698         * conform/data/semaphore.h-data: Likewise.
47699         * conform/data/setjmp.h-data: Likewise.
47700         * conform/data/signal.h-data: Likewise.
47701         * conform/data/spawn.h-data: Likewise.
47702         * conform/data/stdarg.h-data: Likewise.
47703         * conform/data/stdio.h-data: Likewise.
47704         * conform/data/stdlib.h-data: Likewise.
47705         * conform/data/string.h-data: Likewise.
47706         * conform/data/strings.h-data: Likewise.
47707         * conform/data/stropts.h-data: Likewise.
47708         * conform/data/sys/ipc.h-data: Likewise.
47709         * conform/data/sys/mman.h-data: Likewise.
47710         * conform/data/sys/msg.h-data: Likewise.
47711         * conform/data/sys/resource.h-data: Likewise.
47712         * conform/data/sys/select.h-data: Likewise.
47713         * conform/data/sys/sem.h-data: Likewise.
47714         * conform/data/sys/shm.h-data: Likewise.
47715         * conform/data/sys/socket.h-data: Likewise.
47716         * conform/data/sys/stat.h-data: Likewise.
47717         * conform/data/sys/statvfs.h-data: Likewise.
47718         * conform/data/sys/time.h-data: Likewise.
47719         * conform/data/sys/timeb.h-data: Likewise.
47720         * conform/data/sys/times.h-data: Likewise.
47721         * conform/data/sys/types.h-data: Likewise.
47722         * conform/data/sys/uio.h-data: Likewise.
47723         * conform/data/sys/un.h-data: Likewise.
47724         * conform/data/sys/utsname.h-data: Likewise.
47725         * conform/data/sys/wait.h-data: Likewise.
47726         * conform/data/syslog.h-data: Likewise.
47727         * conform/data/tar.h-data: Likewise.
47728         * conform/data/termios.h-data: Likewise.
47729         * conform/data/utime.h-data: Likewise.
47730         * conform/data/utmpx.h-data: Likewise.
47731         * conform/data/varargs.h-data: Likewise.
47732         * conform/data/wchar.h-data: Likewise.
47733         * conform/data/wctype.h-data: Likewise.
47734         * conform/data/wordexp.h-data: Likewise.
47735
47736         * include/stropts.h: New file.
47737         * include/uchar.h: New file.
47738         * include/aio.h: Changes to allow conformtest.pl to use the headers.
47739         * include/assert.h: Likewise.
47740         * include/ctype.h: Likewise.
47741         * include/dirent.h: Likewise.
47742         * include/dlfcn.h: Likewise.
47743         * include/fcntl.h: Likewise.
47744         * include/fnmatch.h: Likewise.
47745         * include/glob.h: Likewise.
47746         * include/grp.h: Likewise.
47747         * include/libio.h: Likewise.
47748         * include/locale.h: Likewise.
47749         * include/math.h: Likewise.
47750         * include/net/if.h: Likewise.
47751         * include/netdb.h: Likewise.
47752         * include/netinet/in.h: Likewise.
47753         * include/pthread.h: Likewise.
47754         * include/pwd.h: Likewise.
47755         * include/regex.h: Likewise.
47756         * include/sched.h: Likewise.
47757         * include/search.h: Likewise.
47758         * include/setjmp.h: Likewise.
47759         * include/signal.h: Likewise.
47760         * include/stdio.h: Likewise.
47761         * include/stdlib.h: Likewise.
47762         * include/string.h: Likewise.
47763         * include/sys/cdefs.h: Likewise.
47764         * include/sys/mman.h: Likewise.
47765         * include/sys/msg.h: Likewise.
47766         * include/sys/resource.h: Likewise.
47767         * include/sys/select.h: Likewise.
47768         * include/sys/socket.h: Likewise.
47769         * include/sys/stat.h: Likewise.
47770         * include/sys/statvfs.h: Likewise.
47771         * include/sys/time.h: Likewise.
47772         * include/sys/times.h: Likewise.
47773         * include/sys/uio.h: Likewise.
47774         * include/sys/utsname.h: Likewise.
47775         * include/sys/wait.h: Likewise.
47776         * include/termios.h: Likewise.
47777         * include/time.h: Likewise.
47778         * include/ulimit.h: Likewise.
47779         * include/unistd.h: Likewise.
47780         * include/utime.h: Likewise.
47781         * include/wchar.h: Likewise.
47782         * include/wctype.h: Likewise.
47783         * include/wordexp.h: Likewise.
47784
47785         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47786
47787         * time/time.h: TIME_UTC must be a macro.
47788         Make timespec_get available for ISO C11 only as well.
47789
47790 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
47791
47792         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47793         Reported by Peng Haitao <penght@cn.fujitsu.com>.
47794
47795 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47796
47797         * configure.in: Use -o not -a in test for unsupported multi-arch.
47798
47799 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47800
47801         * manual/texinfo.tex: Update to version 2012-01-19.16.
47802
47803 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
47804
47805         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47806
47807 2012-02-24  Roland McGrath  <roland@hack.frob.com>
47808
47809         [BZ #13738]
47810         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47811         * manual/fdl-1.3.texi: New file.
47812         * manual/fdl-1.1.texi: File removed.
47813
47814         [BZ #13738]
47815         * manual/libc.texinfo (FDL_VERSION): New @set.
47816         Use it for mention of FDL in cover text.
47817         (Documentation License): Use it in @include file name.
47818
47819 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47820             Roland McGrath  <roland@hack.frob.com>
47821
47822         [BZ #5461]
47823         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47824         (not LONG_LONG_MAX and LONG_LONG_MIN.
47825         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47826         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
47827         name.
47828         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47829
47830 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47831
47832         [BZ #2547]
47833         [BZ #11365]
47834         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47835         manipulate bits before adding and subtracting TWO23[sx].
47836         * math/libm-test.inc (nearbyint_test): Add more tests.
47837
47838 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47839
47840         [BZ #2548]
47841         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47842         bits before adding and subtracting TWO23[sx].
47843         * math/libm-test.inc (rint_test): Add more tests.
47844         (rint_test_tonearest): Likewise.
47845         (rint_test_towardzero): Likewise.
47846         (rint_test_downward): Likewise.
47847         (rint_test_upward: Likewise.
47848
47849 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47850
47851         [BZ #10110]
47852         * include/stdc-predef.h: New file.  Extracted from features.h.
47853         * include/features.h: Include stdc-predef.h.
47854         * Makefile (headers): Add stdc-predef.h.
47855         * CONFORMANCE (Compiler limitations): Update.
47856
47857 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
47858
47859         * manual/libc.texinfo (VERSION, UPDATED): Revert.
47860
47861 2012-02-21  David S. Miller  <davem@davemloft.net>
47862
47863         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47864         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47865
47866 2012-02-20  David S. Miller  <davem@davemloft.net>
47867
47868         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47869         using a normal save/restore sequence, rather than allocating a
47870         dummy stack frame just to store a frame pointer and restore.
47871         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47872
47873 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47874
47875         * manual/install.texi: Fix stray word in line-wrapped comment.
47876
47877 2012-02-20  David S. Miller  <davem@davemloft.net>
47878
47879         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47880         both binutils and gcc support GOTDATA.
47881
47882         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47883         "rd %pc" in the PIC register setup sequences.
47884
47885         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47886         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47887         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47888         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47889         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47890         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47891         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47892         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47893         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47894         (SYSCALL_ERROR_HANDLER): Likewise.
47895         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47896         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47897         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47898         (SYSCALL_ERROR_HANDLER): Likewise.
47899
47900         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47901         (HAVE_GCC_GOTDATA): New.
47902         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47903         relocation support in both binutils and gcc.
47904         * sysdeps/sparc/elf/configure: Regenerate.
47905
47906         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47907         * sysdeps/sparc/sparc32/elf/configure: Delete.
47908         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47909         * sysdeps/sparc/sparc64/elf/configure: Delete.
47910         * sysdeps/sparc/elf/configure.in: New file.
47911         * sysdeps/sparc/elf/configure: Generate.
47912
47913         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47914         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47915         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47916         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47917         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47918
47919 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47920
47921         * manual/install.texi: Do not mention specific glibc version
47922         numbers.
47923         * manual/libc.texinfo (VERSION, UPDATED): Update.
47924         (@copying): Use @copyright{} and range of years.
47925
47926 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
47927
47928         [BZ #13695]
47929         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47930         [crti.S not in sysdirs] (generated): Do not append.
47931         [crti.S not in sysdirs] (omit-deps): Likewise.
47932         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47933         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47934         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47935         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47936         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47937         Likewise.
47938         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47939         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47940         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47941         * csu/defs.awk: Remove file.
47942         * sysdeps/generic/initfini.c: Likewise.
47943         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47944         variable.
47945         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47946         Likewise.
47947
47948 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47949
47950         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47951         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47952         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47953         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47954         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47955         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47956         <bits/epoll.h>.
47957         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47958         (__EPOLL_PACKED): Define to empty if not defined by
47959         <bits/epoll.h>.
47960         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47961         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47962         bits/epoll.h.
47963
47964 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47965
47966         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47967         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47968         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47969         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47970         <bits/timerfd.h>.
47971         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47972         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47973         bits/timerfd.h.
47974
47975 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47976
47977         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47978         in C locale.
47979         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47980         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47981         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47983
47984 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
47985
47986         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47987         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47988
47989 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
47990
47991         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47992         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47993         defined.
47994         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47995         Likewise.
47996         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47997         entry for 2.16.
47998
47999 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
48000
48001         * math/w_acos.c: Use non-signaling floating-point comparisons.
48002         * math/w_acosf.c: Likewise.
48003         * math/w_acosh.c: Likewise.
48004         * math/w_acoshf.c: Likewise.
48005         * math/w_acoshl.c: Likewise.
48006         * math/w_acosl.c: Likewise.
48007         * math/w_asin.c: Likewise.
48008         * math/w_asinf.c: Likewise.
48009         * math/w_asinl.c: Likewise.
48010         * math/w_atanh.c: Likewise.
48011         * math/w_atanhf.c: Likewise.
48012         * math/w_atanhl.c: Likewise.
48013         * math/w_exp2.c: Likewise.
48014         * math/w_exp2f.c: Likewise.
48015         * math/w_exp2l.c: Likewise.
48016         * math/w_j0.c: Likewise.
48017         * math/w_j0f.c: Likewise.
48018         * math/w_j0l.c: Likewise.
48019         * math/w_j1.c: Likewise.
48020         * math/w_j1f.c: Likewise.
48021         * math/w_j1l.c: Likewise.
48022         * math/w_jn.c: Likewise.
48023         * math/w_jnf.c: Likewise.
48024         * math/w_log.c: Likewise.
48025         * math/w_log10.c: Likewise.
48026         * math/w_log10f.c: Likewise.
48027         * math/w_log10l.c: Likewise.
48028         * math/w_log2.c: Likewise.
48029         * math/w_log2f.c: Likewise.
48030         * math/w_log2l.c: Likewise.
48031         * math/w_logf.c: Likewise.
48032         * math/w_logl.c: Likewise.
48033         * math/w_sqrt.c: Likewise.
48034         * math/w_sqrtf.c: Likewise.
48035         * math/w_sqrtl.c: Likewise.
48036         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48037         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48038         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48039         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48040         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48041
48042 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48043
48044         [BZ #9739]
48045         * manual/string.texi (strnlen): Use correct parameter name in
48046         equivalent expression.
48047
48048 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48049
48050         [BZ #11174]
48051         * manual/users.texi (seteuid): Consistently use neweuid for
48052         argument name.
48053
48054 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48055
48056         [BZ #13704]
48057         * manual/nss.texi (Services in the NSS configuration): Correct
48058         list of services in example configuration file.
48059
48060 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
48061
48062         [BZ #11322]
48063         * manual/arith.texi: Remove statements about negative zero
48064         behaving identically to zero.
48065
48066 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48067
48068         [BZ #5993]
48069         * manual/install.texi: Do not document upgrading from libc5.
48070
48071 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48072
48073         [BZ #4596]
48074         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48075
48076 2012-02-18  David S. Miller  <davem@davemloft.net>
48077
48078         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48079         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48080         %o7 across the call.
48081         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48082         instead.
48083         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48084         SETUP_PIC_REG_LEAF.
48085         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48086         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48087         * sysdeps/sparc/crtn.S: Likewise.
48088
48089 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
48090
48091         * aout/Makefile: Remove.
48092
48093 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
48094
48095         [BZ #13058]
48096         * manual/examples/argp-ex1.c (main): Format definition in GNU
48097         style.
48098         * manual/examples/argp-ex2.c (main): Likewise.
48099         * manual/examples/argp-ex3.c (main): Likewise.
48100         * manual/examples/argp-ex4.c (main): Likewise.
48101         * manual/examples/longopt.c (main): Use new-style prototype
48102         definition.
48103         * manual/examples/strncat.c (main): Specify return type and use
48104         (void) for arguments.
48105         * manual/examples/subopt.c (main): Use char **argv argument.
48106
48107 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48108
48109         [BZ #5077]
48110         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48111         rounding modes.
48112
48113 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
48114
48115         [BZ #6907]
48116         * manual/string.texi (strchr): Change when strchrnul is
48117         recommended.
48118
48119 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
48120
48121         [BZ #174]
48122         * manual/locale.texi (setlocale): Document LOCPATH.
48123
48124 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48125
48126         [BZ #10210]
48127         * manual/process.texi (execle): Move @dots{} before last argument.
48128
48129 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
48130
48131         [BZ #12047]
48132         * manual/charset.texi (Generic Charset Conversion): Fix typo
48133         (LC_TYPE -> LC_CTYPE).
48134
48135 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
48136
48137         [BZ #5805]
48138         * manual/arith.texi (scalbn): Use @var{} on parameter names.
48139         (scalbnf): Likewise.
48140         (scalbnl): Likewise.
48141         (scalbln): Likewise.
48142         (scalblnf): Likewise.
48143         (scalblnl): Likewise.
48144         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48145         (vwarnx): Likewise.
48146         (verr): Likewise.
48147         (verrx): Likewise.
48148         * manual/filesys.texi (telldir): Use braces around return type.
48149         * manual/llio.texi (mmap): Add space after comma.
48150         (mmap64): Likewise.
48151         * manual/math.texi (jn): Use @var{} on parameter names.
48152         (jnf): Likewise.
48153         (jnl): Likewise.
48154         (yn): Likewise.
48155         (ynf): Likewise.
48156         (ynl): Likewise.
48157         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48158         line.
48159         * manual/resource.texi (ulimit): Use @dots{} instead of literal
48160         "...".
48161         (sched_get_priority_min): Remove semicolon on @deftypefun line.
48162         (sched_get_priority_max): Likewise.
48163         * manual/signal.texi (sigvec): Add space after comma.
48164         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48165         names.
48166         (if_indextoname): Likewise.
48167         (if_freenameindex): Likewise.
48168         (sendto): Use ',' instead of '.' in prototype.
48169         * manual/startup.texi (syscall): Use @dots{} instead of literal
48170         "...".
48171         * manual/stdio.texi (__fpending): Separate initial words of
48172         paragraph from @deftypefun line.
48173         * manual/syslog.texi (syslog): Use @dots{} instead of literal
48174         "...".
48175         (vsyslog): Use @var{} on parameter names.
48176         * manual/terminal.texi (stty): Use @var{} on parameter names.
48177         * manual/users.texi (getutmp): Use @var{} on parameter names.
48178         (getutmpx): Likewise.
48179
48180 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48181
48182         [BZ #6884]
48183         * manual/stdio.texi (fopen): Fix typos in description of
48184         ",ccs=STRING".
48185
48186 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
48187
48188         [BZ #4026]
48189         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48190         get clock_id definition.
48191
48192 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
48193
48194         [BZ #4822]
48195         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48196         (madvise): Cast every argument to void on its own.
48197
48198 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48199
48200         [BZ #9902]
48201         * manual/startup.texi (Exit Status): Fix typo.
48202
48203 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48204
48205         [BZ #10140]
48206         * manual/examples/argp-ex1.c: Include <stdlib.h>.
48207         * manual/examples/argp-ex2.c: Likewise.
48208         * manual/examples/argp-ex3.c: Likewise.
48209
48210 2012-02-16  Richard Henderson  <rth@redhat.com>
48211
48212         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48213         * sysdeps/s390/s390-32/initfini.c: Remove.
48214         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48215         * sysdeps/s390/s390-64/initfini.c: Remove.
48216
48217 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48218
48219         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48220         compiler output for sysdeps/generic/initfini.c.
48221         * sysdeps/sh/elf/initfini.c: Remove file.
48222
48223 2012-02-16  David S. Miller  <davem@davemloft.net>
48224
48225         [BZ #11494]
48226         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48227
48228         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48229         * sysdeps/sparc/crti.S: New file.
48230         * sysdeps/sparc/crtn.S: New file.
48231         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48232         * sysdeps/sparc/sparc64/Makefile: Likewise.
48233
48234 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
48235
48236         [BZ #3335]
48237         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48238
48239 2012-02-15  Roland McGrath  <roland@hack.frob.com>
48240
48241         [BZ #4822]
48242         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48243
48244         * mach/devstream.c (cookie_io_functions_t): Macro removed.
48245         (write, read, close): Likewise.
48246         Patch by Aurelien Jarno <aurelien@aurel32.net>.
48247
48248 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
48249
48250         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48251         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48252         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48253         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48254         <bits/signalfd.h>.
48255         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48256         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48257         bits/signalfd.h.
48258
48259 2012-02-14  Marek Polacek  <polacek@redhat.com>
48260
48261         * sysdeps/x86_64/crti.S: New file.
48262         * sysdeps/x86_64/crtn.S: New file.
48263         * sysdeps/x86_64/elf/initfini.c: Remove file.
48264
48265 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48266
48267         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48268         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48269         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48270         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48271         <bits/inotify.h>.
48272         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48273         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48274         bits/inotify.h.
48275
48276 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48277
48278         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48279         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48280         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48281         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48282         <bits/eventfd.h>.
48283         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48284         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48285         bits/eventfd.h.
48286
48287 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
48288
48289         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48290         __feraiseexcept instead of feraiseexcept.
48291
48292         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48293         nanosleep invocations.
48294         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48295         strings, and add error checking for a nanosleep invocations.
48296
48297 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
48298
48299         Replace FSF snail mail address with URLs, as per GNU coding standards.
48300         Most of the snail mail addresses were wrong anyway, and omitting
48301         them makes the source code easier to maintain.  Almost all of the
48302         changes are to license notices and to locale LC_IDENTIFICATION
48303         addresses, except for this one:
48304         * manual/libc.texinfo: In "Published by", give the FSF's URL,
48305         not its snail mail address.
48306
48307 2012-02-09  Richard Henderson  <rth@twiddle.net>
48308
48309         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48310         of kernel-features.h.
48311
48312         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48313
48314 2012-02-08  Marek Polacek  <polacek@redhat.com>
48315
48316         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48317         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48318         * sysdeps/gnu/_G_config.h: Likewise.
48319         * sysdeps/generic/_G_config.h: Likewise.
48320
48321 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
48322
48323         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48324         tests.
48325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48326
48327         * sysdeps/powerpc/powerpc32/crti.S: New file.
48328         * sysdeps/powerpc/powerpc32/crtn.S: New file.
48329         * sysdeps/powerpc/powerpc64/crti.S: New file.
48330         * sysdeps/powerpc/powerpc64/crtn.S: New file.
48331
48332         * Makeconfig (have-initfini): Don't set.
48333         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48334         * configure.in (nopic_initfini): Don't substitute.
48335         * config.h.in (HAVE_INITFINI): Don't #undef.
48336         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48337         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48338
48339 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
48340
48341         Support crti.S and crtn.S provided directly by architectures.
48342         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48343         [crti.S in sysdirs] (omit-deps): Likewise.
48344         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48345         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48346         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48347         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48348         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48349         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48350         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48351         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48352         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48353         compiler output for sysdeps/generic/initfini.c.
48354         * sysdeps/i386/elf/Makefile: Remove file.
48355         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48356
48357 2012-02-07  Marek Polacek  <polacek@redhat.com>
48358
48359         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48360         * sysdeps/gnu/_G_config.h: Likewise.
48361         * sysdeps/mach/hurd/_G_config.h: Likewise.
48362
48363 2012-02-07  Marek Polacek  <polacek@redhat.com>
48364
48365         * math/Makefile (tests): Add tst-CMPLX2.
48366         * math/tst-CMPLX2.c: New file.
48367
48368 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
48369
48370         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48371
48372         * math/libm-test.inc (jn_test): Add missing L suffix.
48373
48374 2012-02-06  Marek Polacek  <polacek@redhat.com>
48375
48376         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48377         * sysdeps/i386/fpu/e_powf.S: Likewise.
48378         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48379         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48380         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48381         * sysdeps/i386/fpu/e_pow.S: Likewise.
48382         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48383         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48384         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48385         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48386         * sysdeps/i386/fpu/e_log2.S: Likewise.
48387         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48388         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48389         * sysdeps/i386/fpu/e_powl.S: Likewise.
48390         * sysdeps/i386/fpu/s_log1p.S: Likewise.
48391         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48392         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48393         * sysdeps/i386/fpu/e_logl.S: Likewise.
48394         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48395         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48396         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48397         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48398         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48399         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48400         * sysdeps/i386/fpu/e_log.S: Likewise.
48401         * sysdeps/i386/fpu/s_cexp.S: Likewise.
48402         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48403         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48404         * sysdeps/i386/fpu/e_logf.S: Likewise.
48405         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48406         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48407         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48408         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48409         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48410         * sysdeps/i386/fpu/e_log10.S: Likewise.
48411         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48412         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48413         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48414         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48415         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48416         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48417         * sysdeps/i386/asm-syntax.h: Likewise.
48418         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48419         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48420         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48421         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48422         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48423         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48424         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48425         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48426         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48427         * sysdeps/powerpc/sysdep.h: Likewise.
48428         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48429         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48430
48431 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48432
48433         [BZ #411]
48434         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48435
48436 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48437
48438         * sysdeps/i386/sysdep.h: Include <features.h>.
48439         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48440         version.
48441
48442 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
48443
48444         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48445         Define.
48446         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48447         LOAD_PIC_REG_STR.
48448
48449 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48450
48451         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48452         (SETUP_PIC_REG): Use GET_PC_THUNK.
48453         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48454         macro.
48455
48456 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48457
48458         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48459         for non-PIC compilation.
48460         (SETUP_PIC_REG): Add .p2align directive.
48461         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48462         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48463         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48464         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48465         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48466         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48467         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48468         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48469         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48470         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48471         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48472         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48473         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48474         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48475         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48476         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48477         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48478         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48479         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48480         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48481         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48482         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48483         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48484         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48485         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48486         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48487         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48488         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48489         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48490         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48491         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48492         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48493         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48494         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48495         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48496         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48497         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48498         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48499         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48500         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48501         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48502
48503 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48504
48505         * math/tst-CMPLX.c: Include <stdio.h>.
48506
48507 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
48508
48509         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48510         float.
48511         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48512         * sysdeps/sparc/bits/mathdef.h: Likewise.
48513
48514 2012-01-31  Marek Polacek  <polacek@redhat.com>
48515
48516         * libio/libio.h: Don't define _PARAMS.
48517         * locale/programs/config.h: Don't define PARAMS.
48518         * stdlib/strtol_l.c: Likewise.
48519         (__strtol_l): Remove PARAMS from the prototype.
48520
48521 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
48522
48523         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
48524         names.  Just use the correct names.  Remove unnecessary wrapper
48525         functions.
48526         * malloc/arena.c: Likewise.
48527         * malloc/hooks.c: Likewise.
48528
48529         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48530         ARENA_TEST says not to.  Simplify test for creation of a new arena.
48531         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48532
48533 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
48534
48535         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48536         into tail calls.
48537         (update_get_addr): New function.
48538         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48539         GET_ADDR_MODULE parameter.
48540
48541 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48542
48543         * crypt/cert.c: Remove __STDC__ conditionals.
48544         * crypt/crypt-entry.c: Likewise.
48545         * crypt/crypt_util.c: Likewise.
48546         * libio/filedoalloc.c: Likewise.
48547         * libio/fileops.c: Likewise.
48548         * libio/genops.c: Likewise.
48549         * libio/iofclose.c: Likewise.
48550         * libio/iofdopen.c: Likewise.
48551         * libio/iofopen.c: Likewise.
48552         * libio/iofopen64.c: Likewise.
48553         * libio/iogetdelim.c: Likewise.
48554         * libio/iopopen.c: Likewise.
48555         * libio/obprintf.c: Likewise.
48556         * libio/oldfileops.c: Likewise.
48557         * libio/oldiofclose.c: Likewise.
48558         * libio/oldiofdopen.c: Likewise.
48559         * libio/oldiofopen.c: Likewise.
48560         * libio/oldiopopen.c: Likewise.
48561         * libio/wfiledoalloc.c: Likewise.
48562         * libio/wgenops.c: Likewise.
48563         * locale/programs/xmalloc.c: Likewise.
48564         * misc/syslog.c: Likewise.
48565         * stdio-common/xbug.c: Likewise.
48566         * string/memchr.c: Likewise.
48567         * string/memcmp.c: Likewise.
48568         * string/memrchr.c: Likewise.
48569         * string/rawmemchr.c: Likewise.
48570         * sysdeps/posix/getcwd.c: Likewise.
48571         * time/strftime_l.c: Likewise.
48572
48573 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48574
48575         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48576         * config.make.in (config-cflags-sse2avx): Define.
48577         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48578         Fix typo.
48579
48580 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
48581
48582         * scripts/config.guess: Update from upstream config git repository.
48583         * scripts/config.sub: Likewise.
48584
48585 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
48586
48587         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48588         (EM_NUM): Update.
48589         (R_TILEPRO_*, R_TILEGX_*): New macros.
48590
48591         * scripts/firstversions.awk: Fix bug in version range handling.
48592
48593         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48594
48595         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48596
48597         * include/sys/epoll.h: New file.
48598         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48599         libc_hidden_def.
48600
48601 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
48602
48603         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48604         Avoid unnecessary __WORDSIZE == 64 test.
48605         (fmaxf): Use VEX format if possible.
48606         (fmax): Likewise.
48607         (fminf): Likewise.
48608         (fmin): Likewise.
48609
48610         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48611         * math/math_private.h: Remove libc_fegetround* and
48612         libc_fesetround*.
48613         * sysdeps/i386/configure.in: Check for -msse2avx.
48614         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48615         also if SSE2AVX is defined.
48616         Remove libc_fegetround* and libc_fesetround*.
48617         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48618         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
48619         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48620         of HAS_YMM_USABLE.
48621         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48622         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48623         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48624         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48625         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48626
48627         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48628
48629 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48630
48631         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48632         size is not set.
48633         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48634
48635 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
48636
48637         [BZ #13618]
48638         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48639         relocation.
48640         * Makeconfig (libm): Define.
48641         * elf/Makefile: Add rules to build and run tst-relsort1.
48642         * elf/tst-relsort1.c: New file.
48643         * elf/tst-relsort1mod1.c: New file.
48644         * elf/tst-relsort1mod2.c: New file.
48645
48646 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
48647
48648         * math/s_ldexp.c: Remove __STDC__ conditionals.
48649         * math/s_ldexpf.c: Likewise.
48650         * math/s_ldexpl.c: Likewise.
48651         * math/s_nextafter.c: Likewise.
48652         * math/s_nexttowardf.c: Likewise.
48653         * math/s_significand.c: Likewise.
48654         * math/s_significandf.c: Likewise.
48655         * math/s_significandl.c: Likewise.
48656         * math/w_jnl.c: Likewise.
48657         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48658         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48659         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48660         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48661         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48662         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48663         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48664         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48665         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48666         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48667         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48668         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48669         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48670         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48671         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48672         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48673         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48674         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48675         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48676         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48677         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48678         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48679         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48680         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48681         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48682         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48683         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48684         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48685         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48686         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48687         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48688         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48689         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48690         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48691         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48692         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48693         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48694         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48695         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48696         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48697         * sysdeps/ieee754/k_standard.c: Likewise.
48698         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48699         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48700         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48701         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48702         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48703         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48704         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48705         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48706         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48707         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48708         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48709         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48710         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48711         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48712         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48713         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48714         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48715         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48716         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48717         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48718         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48719         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48720         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48721         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48722         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48723         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48724         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48725         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48726         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48727         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48728         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48729         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48730         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48731         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48732         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48733         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48734         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48735         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48736         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48737         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48738         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48739         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48740         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48741         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48742         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48743         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48744         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48745         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48746         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48747         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48748         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48749         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48750         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48751         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48752         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48753         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48754         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48755         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48756         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48757         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48758         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48759         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48760         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48761         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48762         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48763         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48764         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48765         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48766         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48767         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48768         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48769         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48770         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48771         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48772         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48773         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48774         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48775         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48776         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48777         * sysdeps/ieee754/s_matherr.c: Likewise.
48778         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48779         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48780         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48781         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48782
48783 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
48784
48785         * crypt/md5.h: Remove __STDC__ conditionals.
48786         * libio/libioP.h: Likewise.
48787         * locale/programs/config.h: Likewise.
48788         * sysdeps/generic/sysdep.h: Likewise.
48789         * sysdeps/i386/asm-syntax.h: Likewise.
48790         * sysdeps/s390/asm-syntax.h: Likewise.
48791         * sysdeps/unix/sysdep.h: Likewise.
48792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48794
48795 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
48796
48797         * libio/libio.h: Remove __STDC__ conditionals.
48798         * malloc/obstack.h: Likewise.
48799         * math/complex.h: Likewise.
48800         * math/math.h: Likewise.
48801         * sysdeps/generic/_G_config.h: Likewise.
48802         * sysdeps/gnu/_G_config.h: Likewise.
48803         * sysdeps/mach/hurd/_G_config.h: Likewise.
48804         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48805         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48806         * sysdeps/sparc/bits/mathdef.h: Likewise.
48807
48808 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
48809
48810         [BZ #13583]
48811         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48812         Clean up HAS_* macros.
48813         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48814         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48815         possible.
48816         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48817         HAS_AVX.
48818         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48819         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48820         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48821         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48822         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48823
48824 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
48825
48826         * elf/tst-unique3.cc (gets): Remove declaration.
48827         * elf/tst-unique3lib.cc (gets): Likewise.
48828         * elf/tst-unique3lib2.cc (gets): Likewise.
48829         * elf/tst-unique4.cc (gets): Likewise.
48830
48831 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
48832
48833         * include/stdio.h: Add C++ protection.  Add gets declarations and
48834         definitions.
48835         * debug/tst-chk1.c: Don't declare gets here.
48836         * stdio-common/tst-gets.c: Likewise.
48837
48838 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
48839
48840         * posix/glob: Remove directory.
48841
48842 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
48843
48844         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48845
48846 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
48847
48848         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48849         of the non-standard EPFNOSUPPORT.
48850
48851 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48852
48853         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48854         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48855         ANYWHERE set to 1 only on KERN_NO_SPACE error.
48856
48857 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
48858
48859         * wcsmbs/uchar.h: Test __STDC_VERSION__.
48860
48861 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
48862
48863         * nscd/aicache.c (addhstaiX): Do not cache negative results of
48864         transient errors.
48865         * nscd/grpcache.c (cache_addgr): Likewise.
48866         * nscd/hstcache.c (cache_addhst): Likewise.
48867         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48868         * nscd/pwdcache.c (cache_addpw): Likewise.
48869         * nscd/servicescache.c (cache_addserv): Likewise.
48870
48871 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
48872
48873         * malloc/malloc.c: Various cleanups.
48874         * malloc/hooks.c: Likewise.
48875
48876         * stdlib/Makefile (tests): Add bug-fmtmsg1.
48877         * stdlib/bug-fmtmsg1.c: New file.
48878
48879         * stdlib/fmtmsg.c (init): Add missing unlock.
48880         Patch by Peng Haitao <penght@cn.fujitsu.com>.
48881
48882 2012-01-12  Marek Polacek  <polacek@redhat.com>
48883
48884         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48885         and _GNU_SOURCE.
48886
48887 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
48888
48889         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48890         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48891         macro to ensure uniqueness of label name.
48892         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48893         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48894
48895 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
48896
48897         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48898
48899         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48900         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48901         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48902         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48903
48904 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
48905
48906         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48907
48908         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48909         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48910         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48911
48912         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48913
48914         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48915         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48916         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48917         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48918
48919         * math/bits/math-finite.h: Add ldexp support.
48920
48921 2012-01-10  Marek Polacek  <polacek@redhat.com>
48922
48923         * locale/programs/localedef.h (show_archive_content): Add noreturn
48924         attribute.
48925
48926 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
48927
48928         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48929
48930 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48931
48932         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48933
48934         * io/Makefile (headers): Add bits/poll2.h.
48935
48936 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
48937
48938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48939         typo #include statement.
48940
48941 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48942
48943         * include/sys/cdefs.h: Define __attribute_alloc_size.
48944         * catgets/gencat.c: Add alloc_size attribute and apply consistently
48945         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48946         * elf/pldd.c: Likewise.
48947         * iconv/iconv_charmap.c: Likewise.
48948         * iconv/iconvconfig.c: Likewise.
48949         * iconv/strtab.c: Likewise.
48950         * locale/programs/locale.c: Likewise.
48951         * locale/programs/localedef.h: Likewise.
48952         * locale/programs/simple-hash.c: Likewise.
48953         * nscd/nscd.h: Likewise.
48954         * nss/makedb.c: Likewise.
48955         * sysdeps/generic/ldconfig.h: Likewise.
48956         * locale/programs/localedef.c: Remove xmalloc prototype.
48957         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48958
48959 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48960
48961         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48962         appropriate.
48963
48964 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48965
48966         * math/Makefile (tests): Add tst-CMPLX.
48967         * math/tst-CMPLX.c: New file.
48968
48969         * math/complex.h (CMPLXL): Fix typo.
48970
48971         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48972         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48973         GLIBC_2.16.
48974         * debug/tst-chk1.c: Add poll and ppoll tests.
48975         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48976         * include/sys/poll.h: Add hidden proto for ppoll.
48977         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48978         * sysdeps/mach/hurd/ppoll.c: Likewise.
48979         * io/ppoll.c: Likewise.
48980         * debug/poll_chk.c: New file.
48981         * debug/ppoll_chk.c: New file.
48982         * include/bits/poll2.h: New file.
48983         * io/bits/poll2.h: New file.
48984
48985         [BZ #1350]
48986         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48987
48988         * configure.in: static is always set to yes.  Remove.
48989         * config.make.in: Don't set build-static.
48990         * Makeconfig: Remove use of build-static.
48991         * dlfcn/Makefile: Likewise.
48992         * elf/Makefile: Likewise.
48993         * math/Makefile: Likewise.
48994         * misc/Makefile: Likewise.
48995         * nptl/Makefile: Likewise.
48996         * sysdeps/mach/hurd/Makefile: Likewise.
48997
48998         * configure.in: PWD_P is not used anymore.
48999         * config.make.in: Remove PWD_P entry.
49000
49001         * configure.in: Remove last remnants of RANLIB.
49002         No need to check for signed size_t anymore.
49003         Don't set libc_commonpagesize and libc_relro_required here for Alpha
49004         and IA-64.
49005         Remove __builtin_expect test because we require at least gcc 3.4.
49006         * aclocal.m4: Likewise.
49007
49008         * wcsmbs/mbrtoc16.c: Implement using towc function.
49009         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49010         * wcsmbs/wcsmbsload.c: Likewise.
49011         * iconv/gconv_simple.c: Likewise.
49012         * iconv/gconv_int.h: Likewise.
49013         * iconv/gconv_builtin.h: Likewise.
49014         * iconv/iconv_prog.c: Remove CHAR16 handling.
49015
49016         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49017
49018         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49019
49020         * configure.in: Remove --with-elf and --enable-bounded options.
49021         Dont set base_machine for ia64.  More non-ELF conditions removed.
49022         Remove testing and setting of leading underscore information.
49023         * config.make.in (build-bounded): Set to no.
49024         * config.h.in: Remove NO_UNDERSCORES entry.
49025         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
49026         them.
49027         * csu/start.c: Remove !NO_UNDERSCORE code.
49028         * locale/localeinfo.h: Likewise.
49029         * sysdeps/generic/machine-gmon.h: Likewise.
49030         * sysdeps/generic/sysdep.h: Likewise.
49031         * sysdeps/i386/sysdep.h: Likewise.
49032         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49033         * sysdeps/mach/sysdep.h: Likewise.
49034         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49035         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49036         * sysdeps/sh/sysdep.h: Likewise.
49037         * sysdeps/sparc/sparc32/alloca.S: Likewise.
49038         * sysdeps/unix/i386/sysdep.S: Likewise.
49039         * sysdeps/unix/sparc/start.c: Likewise.
49040         * sysdeps/unix/sparc/sysdep.S: Likewise.
49041         * sysdeps/unix/sparc/sysdep.h: Likewise.
49042         * sysdeps/unix/start.c: Likewise.
49043         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49044         * sysdeps/x86_64/sysdep.h: Likewise.
49045
49046 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
49047
49048         [BZ #13553]
49049         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49050         for non-gcc.
49051         * argp/argp-fmtstream.h: Use const instead __const.
49052         * argp/argp.h: Likewise.
49053         * assert/assert.h: Likewise.
49054         * bits/fenv.h: Likewise.
49055         * bits/sched.h: Likewise.
49056         * bits/sigset.h: Likewise.
49057         * bits/sigthread.h: Likewise.
49058         * catgets/nl_types.h: Likewise.
49059         * conform/data/pthread.h-data: Likewise.
49060         * crypt/crypt-private.h: Likewise.
49061         * crypt/crypt.h: Likewise.
49062         * crypt/crypt_util.c: Likewise.
49063         * ctype/ctype.h: Likewise.
49064         * debug/execinfo.h: Likewise.
49065         * debug/mbsnrtowcs_chk.c: Likewise.
49066         * debug/mbsrtowcs_chk.c: Likewise.
49067         * debug/wcsnrtombs_chk.c: Likewise.
49068         * debug/wcsrtombs_chk.c: Likewise.
49069         * debug/wcstombs_chk.c: Likewise.
49070         * dirent/dirent.h: Likewise.
49071         * dlfcn/dlfcn.h: Likewise.
49072         * elf/neededtest4.c: Likewise.
49073         * grp/grp.h: Likewise.
49074         * gshadow/gshadow.h: Likewise.
49075         * iconv/gconv.h: Likewise.
49076         * iconv/gconv_int.h: Likewise.
49077         * iconv/gconv_simple.c: Likewise.
49078         * iconv/iconv.h: Likewise.
49079         * iconv/loop.c: Likewise.
49080         * iconv/skeleton.c: Likewise.
49081         * include/aio.h: Likewise.
49082         * include/aliases.h: Likewise.
49083         * include/argz.h: Likewise.
49084         * include/arpa/inet.h: Likewise.
49085         * include/assert.h: Likewise.
49086         * include/dirent.h: Likewise.
49087         * include/dlfcn.h: Likewise.
49088         * include/execinfo.h: Likewise.
49089         * include/fcntl.h: Likewise.
49090         * include/fenv.h: Likewise.
49091         * include/glob.h: Likewise.
49092         * include/grp.h: Likewise.
49093         * include/libintl.h: Likewise.
49094         * include/mntent.h: Likewise.
49095         * include/netdb.h: Likewise.
49096         * include/pwd.h: Likewise.
49097         * include/rpc/netdb.h: Likewise.
49098         * include/sched.h: Likewise.
49099         * include/search.h: Likewise.
49100         * include/shadow.h: Likewise.
49101         * include/signal.h: Likewise.
49102         * include/stdio.h: Likewise.
49103         * include/stdlib.h: Likewise.
49104         * include/string.h: Likewise.
49105         * include/sys/socket.h: Likewise.
49106         * include/sys/stat.h: Likewise.
49107         * include/sys/statfs.h: Likewise.
49108         * include/sys/statvfs.h: Likewise.
49109         * include/sys/syslog.h: Likewise.
49110         * include/sys/time.h: Likewise.
49111         * include/sys/uio.h: Likewise.
49112         * include/time.h: Likewise.
49113         * include/unistd.h: Likewise.
49114         * include/utmp.h: Likewise.
49115         * include/wchar.h: Likewise.
49116         * include/wctype.h: Likewise.
49117         * inet/aliases.h: Likewise.
49118         * inet/arpa/inet.h: Likewise.
49119         * inet/netinet/ether.h: Likewise.
49120         * inet/netinet/in.h: Likewise.
49121         * intl/libintl.h: Likewise.
49122         * io/bits/fcntl2.h: Likewise.
49123         * io/fcntl.h: Likewise.
49124         * io/ftw.h: Likewise.
49125         * io/sys/poll.h: Likewise.
49126         * io/sys/stat.h: Likewise.
49127         * io/sys/statfs.h: Likewise.
49128         * io/sys/statvfs.h: Likewise.
49129         * io/utime.h: Likewise.
49130         * libio/bits/stdio.h: Likewise.
49131         * libio/bits/stdio2.h: Likewise.
49132         * libio/libio.h: Likewise.
49133         * libio/libioP.h: Likewise.
49134         * libio/stdio.h: Likewise.
49135         * locale/lc-ctype.c: Likewise.
49136         * locale/locale.h: Likewise.
49137         * login/utmp.h: Likewise.
49138         * malloc/arena.c: Likewise.
49139         * malloc/malloc.c: Likewise.
49140         * malloc/malloc.h: Likewise.
49141         * malloc/mcheck.c: Likewise.
49142         * malloc/mtrace.c: Likewise.
49143         * math/bits/mathcalls.h: Likewise.
49144         * math/fenv.h: Likewise.
49145         * math/math_private.h: Likewise.
49146         * misc/bits/error.h: Likewise.
49147         * misc/bits/syslog.h: Likewise.
49148         * misc/err.h: Likewise.
49149         * misc/error.h: Likewise.
49150         * misc/fstab.h: Likewise.
49151         * misc/mntent.h: Likewise.
49152         * misc/regexp.h: Likewise.
49153         * misc/search.h: Likewise.
49154         * misc/sgtty.h: Likewise.
49155         * misc/sys/mman.h: Likewise.
49156         * misc/sys/syslog.h: Likewise.
49157         * misc/sys/uio.h: Likewise.
49158         * misc/sys/xattr.h: Likewise.
49159         * misc/ttyent.h: Likewise.
49160         * nis/rpcsvc/ypclnt.h: Likewise.
49161         * nss/nss.h: Likewise.
49162         * posix/bits/unistd.h: Likewise.
49163         * posix/fnmatch.h: Likewise.
49164         * posix/glob.h: Likewise.
49165         * posix/sched.h: Likewise.
49166         * posix/spawn.h: Likewise.
49167         * posix/sys/wait.h: Likewise.
49168         * posix/unistd.h: Likewise.
49169         * posix/wordexp.h: Likewise.
49170         * pwd/pwd.h: Likewise.
49171         * resolv/netdb.h: Likewise.
49172         * resource/sys/resource.h: Likewise.
49173         * rt/aio.h: Likewise.
49174         * rt/bits/mqueue2.h: Likewise.
49175         * rt/mqueue.h: Likewise.
49176         * shadow/shadow.h: Likewise.
49177         * signal/signal.h: Likewise.
49178         * socket/send.c: Likewise.
49179         * socket/sendto.c: Likewise.
49180         * socket/sys/socket.h: Likewise.
49181         * stdio-common/printf.h: Likewise.
49182         * stdlib/bits/stdlib.h: Likewise.
49183         * stdlib/fmtmsg.h: Likewise.
49184         * stdlib/monetary.h: Likewise.
49185         * stdlib/stdlib.h: Likewise.
49186         * stdlib/ucontext.h: Likewise.
49187         * streams/stropts.h: Likewise.
49188         * string/argz.h: Likewise.
49189         * string/bits/string2.h: Likewise.
49190         * string/string.h: Likewise.
49191         * string/strings.h: Likewise.
49192         * sunrpc/rpc/auth.h: Likewise.
49193         * sunrpc/rpc/auth_des.h: Likewise.
49194         * sunrpc/rpc/clnt.h: Likewise.
49195         * sunrpc/rpc/netdb.h: Likewise.
49196         * sunrpc/rpc/pmap_clnt.h: Likewise.
49197         * sunrpc/rpc/xdr.h: Likewise.
49198         * sysdeps/generic/inttypes.h: Likewise.
49199         * sysdeps/generic/net/if.h: Likewise.
49200         * sysdeps/generic/sys/swap.h: Likewise.
49201         * sysdeps/gnu/net/if.h: Likewise.
49202         * sysdeps/gnu/utmpx.h: Likewise.
49203         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49204         * sysdeps/i386/i486/bits/string.h: Likewise.
49205         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49206         * sysdeps/s390/bits/string.h: Likewise.
49207         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49208         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49209         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49210         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49211         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49212         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49213         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49214         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49215         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49216         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49217         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49218         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49219         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49220         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49221         * sysdeps/unix/sysv/linux/readv.c: Likewise.
49222         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49223         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49224         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49225         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49226         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49227         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49228         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49229         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49230         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49231         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49232         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49233         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49234         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49235         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49236         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49237         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49238         * sysvipc/sys/ipc.h: Likewise.
49239         * sysvipc/sys/msg.h: Likewise.
49240         * sysvipc/sys/sem.h: Likewise.
49241         * sysvipc/sys/shm.h: Likewise.
49242         * termios/termios.h: Likewise.
49243         * time/sys/time.h: Likewise.
49244         * time/time.h: Likewise.
49245         * wcsmbs/bits/wchar2.h: Likewise.
49246         * wcsmbs/uchar.h: Likewise.
49247         * wcsmbs/wchar.h: Likewise.
49248         * wctype/wctype.h: Likewise.
49249
49250         [BZ #13551]
49251         * Makeconfig: Remove all but ELF support including AIX support.
49252         * Makerules: Likewise.
49253         * config.h.in: Likewise.
49254         * config.make.in: Likewise.
49255         * configure: Likewise.
49256         * configure.in: Likewise.
49257         * csu/Makefile: Likewise.
49258         * csu/version.c: Likewise.
49259         * debug/Makefile: Likewise.
49260         * dlfcn/Makefile: Likewise.
49261         * elf/Makefile: Likewise.
49262         * extra-lib.mk: Likewise.
49263         * iconv/Makefile: Likewise.
49264         * include/libc-symbols.h: Likewise.
49265         * include/shlib-compat.h: Likewise.
49266         * resolv/Makefile: Likewise.
49267         * resolv/res_libc.c: Likewise.
49268         * rt/Makefile: Likewise.
49269         * sysdeps/i386/asm-syntax.h: Likewise.
49270         * sysdeps/i386/sysdep.h: Likewise.
49271         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49272         * sysdeps/mach/sysdep.h: Likewise.
49273         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49274         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49275         * sysdeps/s390/asm-syntax.h: Likewise.
49276         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49277         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49278         * sysdeps/sh/sysdep.h: Likewise.
49279         * sysdeps/unix/sparc/sysdep.h: Likewise.
49280         * sysdeps/wordsize-32/divdi3.c: Likewise.
49281         * sysdeps/x86_64/sysdep.h: Likewise.
49282
49283         * argp/Versions: Remove _argp_unlock_xxx.
49284
49285         [BZ #13559]
49286         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
49287         * abilist/libBrokenLocale.abilist: Likewise.
49288         * abilist/libanl.abilist: Likewise.
49289         * abilist/libc.abilist: Likewise.
49290         * abilist/libcrypt.abilist: Likewise.
49291         * abilist/libdl.abilist: Likewise.
49292         * abilist/libm.abilist: Likewise.
49293         * abilist/libnsl.abilist: Likewise.
49294         * abilist/libpthread.abilist: Likewise.
49295         * abilist/libresolv.abilist: Likewise.
49296         * abilist/librt.abilist: Likewise.
49297         * abilist/libthread_db.abilist: Likewise.
49298         * abilist/libutil.abilist: Likewise.
49299         * abilist/libnss_db.abilist: New file.
49300
49301         * scripts/abilist.awk: Add support for indirect functions.
49302
49303         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49304
49305         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49306
49307         * shlib-versions: Remove entries for ports architectures.
49308
49309         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
49310         files in ports.
49311         * elf/stackguard-macros.h: Remove support for IA-64.
49312         * elf/tst-auditmod1.c: Likewise.
49313         * sysdeps/generic/ldsodefs.h: Likewise.
49314
49315         * sysdeps/unix/sysv/linux/configure.in: Ports should define
49316         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49317         configure files.
49318
49319         [BZ #13552]
49320         * configure.in: Remove --enable-omitfp support.
49321         * FAQ.in: Adjust.
49322         * config.make.in: Likewise.
49323         * Makeconfig: Likewise.
49324         * manual/install.texi: Likewise.
49325
49326         In case anyone cares, the IA-64 architecture could move to ports.
49327         * sysdeps/ia64/*: Removed.
49328         * sysdeps/unix/sysv/linux/ia64/*: Removed.
49329         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49330
49331         [BZ #13555]
49332         * configure.in: Remove entries for unsupported architectures.
49333
49334         [BZ #13533]
49335         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49336         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
49337         routines.
49338         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49339         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49340         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
49341         fall back to using wcrtomb.
49342         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49343         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
49344         renaming.
49345         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49346         * wcsmbs/tst-c16c32-1.c: New file.
49347
49348         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49349         local variable.
49350
49351         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49352
49353         * elf/tst-unique3.cc: Add explicit declaration of gets.
49354         * elf/tst-unique3lib.cc: Likewise.
49355         * elf/tst-unique3lib2.cc: Likewise.
49356         * elf/tst-unique4.cc: Likewise.
49357
49358         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49359
49360 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
49361
49362         [BZ #13566]
49363         * assert/assert.h (static_assert): Don't define for C++.
49364         * libio/stdio.h (gets): Do declare for C++ <= C++11.
49365         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49366
49367 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
49368
49369         * iconv/loop.c (single loop): Fix assertion in storing of
49370         remaining bytes.
49371
49372         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49373
49374 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
49375
49376         * posix/getconf.c: Update copyright year.
49377         * nss/getent.c: Likewise.
49378         * nss/makedb.c: Likewise.
49379         * iconv/iconvconfig.c: Likewise.
49380         * iconv/iconv_prog.c: Likewise.
49381         * elf/ldconfig.c: Likewise.
49382         * elf/pldd.c: Likewise.
49383         * elf/sotruss.ksh: Likewise.
49384         * catgets/gencat.c: Likewise.
49385         * csu/version.c: Likewise.
49386         * elf/ldd.bash.in: Likewise.
49387         * elf/sprof.c (print_version): Likewise.
49388         * locale/programs/locale.c: Likewise.
49389         * locale/programs/localedef.c: Likewise.
49390         * login/programs/pt_chown.c: Likewise.
49391         * nscd/nscd.c (print_version): Likewise.
49392         * debug/xtrace.sh: Likewise.
49393         * malloc/memusage.sh: Likewise.
49394         * malloc/mtrace.pl: Likewise.
49395         * debug/catchsegv.sh: Likewise.
49396
49397 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
49398
49399         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49400         pure attribute.
49401
49402 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
49403
49404         [BZ #13533]
49405         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49406         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49407         transformations.
49408         * iconv/gconv_int.h: Likewise.
49409         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49410         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49411         from libc for GLIBC_2.16.
49412         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49413         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49414         * wcsmbs/uchar.h: Really define mbstate_t.
49415         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49416         * wcsmbs/c16rtomb.c: New file.
49417         * wcsmbs/mbrtoc16.c: New file.
49418         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49419         for C/POSIX locale.
49420         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49421         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49422
49423         * wcsmbs/wchar.h: Add missing __restrict.
49424
49425 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49426
49427         [BZ #13532]
49428         * time/Makefile (routines): Add timespec_get.
49429         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49430         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
49431         timespec for ISO C11.
49432         * time/timespec_get.c: New file.
49433         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49434         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49435
49436         [BZ #13531]
49437         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49438         * stdlib/stdlib.h: Declare aligned_alloc.
49439         * Versions.def: Add GLIBC_2.16 for libc.
49440         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49441
49442         [BZ 13527]
49443         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49444         ISO C11.
49445
49446         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49447         code.
49448
49449         [BZ #13528]
49450         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49451
49452         [BZ #13529]
49453         * assert/assert.h (static_assert): Define.
49454
49455         * version.h: Update for 2.16 development version.
49456
49457         [BZ #13526]
49458         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49459         _ISOC11_SOURCE.
49460
49461         * version.h (RELEASE): Bump for 2.15 release.
49462         * include/features.h (__GLIBC_MINOR__): Bump to 15.
49463
49464         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49465         Patch by Marek Polacek <mpolacek@redhat.com>.
49466
49467         * bits/byteswap.h: Protect long long constants with __extension__.
49468         * sysdeps/i386/bits/byteswap.h: Likewise.
49469         * sysdeps/ia64/bits/byteswap.h: Likewise.
49470         * sysdeps/s390/bits/byteswap.h: Likewise.
49471         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49472
49473 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49474
49475         [BZ #13540]
49476         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49477         destination buffer.
49478         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49479
49480 2011-12-23  Marek Polacek  <polacek@redhat.com>
49481
49482         * elf/dl-addr.c (determine_info): Add inline keyword.
49483         * elf/tst-auditmod4b.c (check_avx): Likewise.
49484         * elf/tst-auditmod6b.c (check_avx): Likewise.
49485         * elf/tst-auditmod6c.c (check_avx): Likewise.
49486         * elf/tst-auditmod7b.c (check_avx): Likewise.
49487
49488 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49489
49490         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49491         !__SSE_MATH__.
49492
49493 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49494
49495         [BZ #13540]
49496         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49497         processing for last bytes.
49498
49499 2011-08-06  Bruno Haible  <bruno@clisp.org>
49500
49501         [BZ #13061]
49502         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49503         U+0385, not to U+1FEE.
49504
49505         [BZ #13062]
49506         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49507         entry for U+00A5 U+0301.
49508
49509 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49510
49511         [BZ #13166]
49512         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49513         buffer for the output is too small.
49514
49515         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49516         optimization.
49517
49518         [BZ #13185]
49519         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49520         SSE flags if possible.
49521
49522 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49523
49524         [BZ #13540]
49525         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49526         processing for last bytes.
49527
49528 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
49529
49530         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49531         (syscall-list-default-options, syscall-list-default-condition)
49532         (syscall-list-includes): Define.
49533         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49534         list of ABIs and options and #if conditions for each ABI.  Do not
49535         handle common syscalls between ABIs specially.
49536         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49537         Remove.
49538         (syscall-list-variants, syscall-list-32bit-options)
49539         (syscall-list-32bit-condition, syscall-list-64bit-options)
49540         (syscall-list-64bit-condition): Define.
49541         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49542         (syscall-list-variants, syscall-list-32bit-options)
49543         (syscall-list-32bit-condition, syscall-list-64bit-options)
49544         (syscall-list-64bit-condition): Define.
49545         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49546         Remove.
49547         (syscall-list-variants, syscall-list-32bit-options)
49548         (syscall-list-32bit-condition, syscall-list-64bit-options)
49549         (syscall-list-64bit-condition): Define.
49550         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49551         Remove.
49552         (syscall-list-variants, syscall-list-32bit-options)
49553         (syscall-list-32bit-condition, syscall-list-64bit-options)
49554         (syscall-list-64bit-condition): Define.
49555
49556 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49557
49558         * locale/iso-639.def: Add brx entry.
49559
49560         [BZ #13328]
49561         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49562         Proposed by Mariusz_Cukr <marcukr@op.pl>.
49563
49564         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49565         __feraiseexcept_renamed.
49566
49567 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49568
49569         [BZ #13538]
49570         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49571         EPOLLET with unsigned values.
49572         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49573         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49574
49575         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49576         to large cancellation.
49577         * math/s_cacoshf.c: Likewise.
49578         * math/s_cacoshl.c: Likewise.
49579
49580 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
49581
49582         [BZ #13305]
49583         [BZ #12786]
49584         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49585         * math/s_cacoshf.c: Likewise.
49586         * math/s_cacoshl.c: Likewise.
49587
49588 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49589
49590         [BZ #13439]
49591         * iconv/gconv.h: Define __GCONV_SWAP.
49592         * iconvdata/unicode.c: The swap bit must be stored in __flags.
49593         * iconvdata/utf-16.c: Likewise.
49594         * iconvdata/utf-32.c: Likewise.
49595
49596 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
49597
49598         [BZ #13524]
49599         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49600         numerator after shifting it by one limb.
49601
49602 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
49603
49604         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49605         under [__USE_EXTERN_INLINES].
49606
49607 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49608
49609         [BZ #13446]
49610         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49611
49612 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49613
49614         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49615         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49616         optimized code.
49617         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49618         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49619         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49620         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49621         for strncasecmp/strncasecmp_l compilation.
49622         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49623         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49624
49625 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
49626
49627         [BZ #13484]
49628         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49629         of __asm__.
49630
49631 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49632
49633         [BZ #13506]
49634         * time/tzfile.c (__tzfile_read): Check values from file header.
49635
49636 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
49637
49638         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49639         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49640         * powerpc/powerpc32/dl-start.S: Likewise.
49641         * powerpc/powerpc32/elf/start.S: Likewise.
49642         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49643         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49644         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49645         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49646         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49647         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49648         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49649         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49650         * powerpc/powerpc32/fpu/s_round.S: Likewise.
49651         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49652         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49653         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49654         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49655         * powerpc/powerpc32/memset.S: Likewise.
49656         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49657         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49658         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49659         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49660         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49661         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49662         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49663         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49664         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49665         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49666         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49667         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49668         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49669
49670 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49671
49672         * math/libm-test.inc: Added more nearbyint tests.
49673         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49674         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49675         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49676         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49677
49678 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
49679
49680         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49681         FD_CLOEXEC.
49682
49683 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49684
49685         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49686         Add wcscpy-ssse3 wcscpy-c.
49687         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49688         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49689         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49690         * sysdeps/x86_64/wcschr.S: New file.
49691         * sysdeps/x86_64/wcsrchr.S: New file.
49692         * string/test-strcmp.c: Remove checking of wcscmp function for
49693         wrong alignments.
49694         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49695         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49696         wcsrchr-sse2 wcsrchr-c.
49697         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49698         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49699         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49700         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49701         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49702         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49703         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49704         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49705         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49706         * wcsmbc/wcschr.c (WCSCHR): New macro.
49707
49708 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49709
49710         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49711         * wcsmbs/test-wcsrchr.c: New file.
49712         * string/test-strrchr.c: Add wcsrchr support.
49713         (WIDE): New macro.
49714         * wcsmbs/test-wcscpy.c: New file.
49715         * string/test-strcpy.c: Add wcscpy support.
49716         (WIDE): New macro.
49717
49718 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
49719
49720         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49721         the inner loop.
49722
49723 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
49724
49725         [BZ #13472]
49726         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49727
49728 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
49729
49730         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49731         Minor optimizations.
49732
49733         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49734         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49735         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49736
49737 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
49738
49739         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49740         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49741         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49742         for gcc to avoid warnings.
49743         * inet/Makefile (tests): Add tst-checks.
49744         * inet/tst-checks.c: New file.
49745
49746         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49747         warning.
49748
49749         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49750         __wmemcmp_sse2.
49751
49752         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49753         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49754
49755         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49756
49757 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
49758
49759         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49760         problem.
49761
49762         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49763
49764 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
49765
49766         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49767         conditional on GCC version.
49768         (__arch_compare_and_exchange_val_8_acq)
49769         (__arch_compare_and_exchange_val_16_acq)
49770         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49771         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49772         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49773
49774 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
49775
49776         * sysdeps/sh/backtrace.c: New file.
49777
49778 2011-12-02  Andreas Schwab  <schwab@redhat.com>
49779
49780         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
49781         parenthesis.
49782
49783 2011-12-01  Andreas Schwab  <schwab@redhat.com>
49784
49785         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49786         falling back to utime.
49787
49788 2011-11-30  Andreas Schwab  <schwab@redhat.com>
49789
49790         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49791         expectations for float.
49792
49793 2011-11-29  Andreas Schwab  <schwab@redhat.com>
49794
49795         * locale/weight.h (findidx): Add parameter len.
49796         * locale/weightwc.h (findidx): Likewise.
49797         * posix/fnmatch_loop.c (FCT): Adjust caller.
49798         * posix/regcomp.c (build_equiv_class): Likewise.
49799         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49800         * posix/regexec.c (check_node_accept_bytes): Likewise.
49801         * string/strcoll_l.c (STRCOLL): Likewise.
49802         * string/strxfrm_l.c (STRXFRM): Likewise.
49803
49804 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
49805
49806         * Makefile.in: Remove CVSOPT handling.
49807         * configure.in: Remove use of AC_REVISION.
49808         * iconvdata/Makefile (distribute): No need to filter out CVS.
49809         * scripts/list-sources.sh: Remove CVS, subversion and monotone
49810         handling.
49811
49812 2011-11-16  Andreas Schwab  <schwab@redhat.com>
49813
49814         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49815         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49816         [USE_AS_STRNCASECMP_L]: Likewise.
49817         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49818         NO_TLS_DIRECT_SEG_REFS.
49819         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49820         Fix argument offsets for non-PIC.
49821         [USE_AS_STRNCASECMP_L]: Likewise.
49822         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49823         NO_TLS_DIRECT_SEG_REFS.
49824
49825 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
49826
49827         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49828         O_CLOEXEC.
49829         * locale/loadlocale.c (_nl_load_locale): Likewise.
49830
49831 2011-11-15  Andreas Schwab  <schwab@redhat.com>
49832
49833         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49834         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49835         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49836         (SYSCALL_GETTIME): Set errno on error.
49837
49838         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49839         count references to noai6ai_cached.
49840
49841 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
49842
49843         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49844
49845         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49846         FD_CLOEXEC for /proc/self/maps.
49847
49848         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49849         FD_CLOEXEC for /proc/meminfo.
49850
49851         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49852         gai.conf.
49853
49854         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
49855         FD_CLOEXEC for given file.
49856
49857         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49858
49859         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49860         FD_CLOEXEC for /etc/hosts.
49861         (_gethtent): Likewise.
49862
49863         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49864
49865         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49866         cancellation and set FD_CLOEXEC for /etc/netgroup.
49867
49868         * nss/nss_files/files-key.c (search): Don't allow cancellation when
49869         reading /etc/publickey.
49870
49871         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49872         allow cancellation when reading /etc/group.
49873
49874         * nss/nss_files/files-alias.c (internal_setent): Don't allow
49875         cancellation.
49876         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
49877
49878         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49879         when using data file.
49880
49881         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49882
49883         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49884         (write_nis_obj): Use "c" and "e" in fopen.
49885
49886         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49887
49888         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49889
49890         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49891
49892         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49893
49894         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49895         locale.alias.
49896
49897         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49898
49899         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49900
49901         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49902
49903         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49904         file parsing and set FD_CLOEXEC.
49905
49906 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49907
49908         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49909
49910 2011-11-14  Andreas Schwab  <schwab@redhat.com>
49911
49912         * malloc/arena.c (arena_get2): Don't call reused_arena when
49913         _int_new_arena failed.
49914
49915 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
49916
49917         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49918         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49919         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49920         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49921         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49922         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49923         to compile strcasecmp and strncasecmp.
49924         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49925         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49926
49927         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49928
49929 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
49930
49931         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49932         locale-defines.sym to gen-as-const-headers.
49933         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49934         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49935         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49936         to compile strcasecmp and strncasecmp.
49937         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49938         strcasecmp_l and strncasecmp_l.
49939         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49940         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49941         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49942         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49943         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49944         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49945         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49946         * sysdeps/i386/i686/multiarch/strncase.S: New file.
49947         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49948         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49949         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49950
49951 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
49952
49953         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49954         result of SYSDEP_GETTIME_CPU to retval.
49955         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49956         parameter list to macro.  Remove trailing semicolon.  Adjust users.
49957
49958         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49959         variable.
49960
49961         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49962         mantissa words.
49963         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49964
49965         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49966         from unused variable.
49967
49968         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49969         DWARF definitions.
49970         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49971         for assembling.
49972
49973         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49974         over namespaces.
49975
49976         * sunrpc/rpc_prot.c (rejected): Fix case value.
49977
49978         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49979         unsigned long long int to avoid warnings in shift.
49980
49981         * posix/regex_internal.c (re_string_reconstruct): Actually use result
49982         of use of trans.
49983         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49984         variable tmp.
49985
49986         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49987         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49988         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49989
49990         * nis/nis_table.c (nis_list): Use variable of correct type for
49991         result of __follow_path call.
49992
49993 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49994
49995         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49996         of math functions ceil, trunc, floor, round, and sqrt, when
49997         avaliable on the platform.
49998         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49999         name clash.
50000         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50001         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50002         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50003
50004 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
50005
50006         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50007         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50008
50009 2011-11-11  Roland McGrath  <roland@hack.frob.com>
50010
50011         * include/unistd.h: Fix __readlink return type.
50012         Reported by Chris Metcalf <cmetcalf@tilera.com>.
50013
50014 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
50015
50016         * stdlib/ucontext.h: Undo last change for makecontext.
50017
50018 2011-11-11  Andreas Schwab  <schwab@redhat.com>
50019
50020         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50021
50022         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50023         * setjmp/setjmp.h: Mark functions as non-leaf.
50024         * setjmp/bits/setjmp2.h: Likewise.
50025         * stdlib/ucontext.h: Likewise.
50026
50027 2011-11-10  Andreas Schwab  <schwab@redhat.com>
50028
50029         * malloc/arena.c (_int_new_arena): Don't increment narenas.
50030         (reused_arena): Don't check arena limit.
50031         (arena_get2): Atomically check arena limit.
50032
50033 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
50034
50035         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50036         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50037
50038         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50039         instructions.
50040
50041 2011-11-07  Andreas Schwab  <schwab@redhat.com>
50042
50043         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50044         handler when locking.
50045
50046         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50047         Fix size of allocated buffer.
50048
50049 2011-11-04  Andreas Schwab  <schwab@redhat.com>
50050
50051         [BZ #10103]
50052         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50053         declarations for long double functions.
50054         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50055
50056         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50057
50058 2011-11-03  Andreas Schwab  <schwab@redhat.com>
50059
50060         * nscd/nscd.c (main): Don't start AVC thread until credentials are
50061         installed.
50062
50063         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50064         is disabled.
50065
50066 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50067
50068         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50069
50070 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50071
50072         * include/alloca.h (stackinfo_alloca_round): Define.
50073         (extend_alloca): Use it.
50074         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50075         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50076         here.
50077
50078         * scripts/check-local-headers.sh: Ignore libaudit.h.
50079
50080         * nscd/Makefile (extra-objs): Make recursively expanded.
50081
50082 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
50083
50084         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50085         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50086
50087         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50088         * posix/tst-rfc3484-2.c: Likewise.
50089         * posix/tst-rfc3484-3.c: Likewise.
50090
50091         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50092         process_vm_writev.
50093         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50094         process_vm_writev.
50095         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50096         process_vm_writev from libc using GLIBC_2.15 version.
50097
50098         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50099
50100 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
50101
50102         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50103         stack usage.
50104
50105 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
50106
50107         [BZ #13367]
50108         * nss/getent.c (initgroups_keys): Show error message in case no group
50109         names are given.
50110
50111         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50112         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50113         __bump_nl_timestamp.
50114         * nscd/connections (nscd_init): When host database is served open
50115         netlink socket and request notification about configuration changes.
50116         (main_loop_poll): Track netlink file descriptor and bump timestamp
50117         in case data becomes available.
50118         (main_loop_epoll): Likewise.
50119         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50120         (database_pers_head): Add extra_data fileds.
50121         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50122         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50123         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50124         Adjust caller.
50125         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50126         in6ai data, call __free_in6ai.
50127         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50128         Add -DHAVE_NETLINK.
50129         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
50130         interface information.  Reuse previous data if netlink timestamp
50131         is not changed.
50132         (__bump_nl_timestamp): New function.
50133         (__free_in6ai): New function.
50134
50135 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
50136
50137         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50138         close_not_cancel_no_status here.
50139         (__check_pf): Reorganize code a bit to not call close twice if OOM.
50140
50141 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50142
50143         [BZ #13276]
50144         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50145         return value.
50146
50147         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50148         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50149         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50150
50151 2011-07-03  Andreas Jaeger  <aj@suse.de>
50152
50153         [BZ #10709]
50154         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50155         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50156         * math/libm-test.inc (sin_test): Add test case.
50157
50158 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50159
50160         [BZ #13337]
50161         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50162         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50163
50164         * elf/chroot_canon.c (chroot_canon): Cleanups.
50165
50166         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50167
50168         [BZ #13335]
50169         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50170         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50171
50172         * string/test-strchr.c: Make usable for strchrnul testing.
50173         * string/test-strchrnul.c: New file.
50174         * string/Makefile (strop-tests): Add strchrnul.
50175
50176         * po/it.po: Update from translation team.
50177         * po/es.po: Likewise.
50178
50179 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
50180
50181         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50182         the three constants needed as parameters.  Drop the others.
50183         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50184         __m128i_strloadu_tolower.
50185         Create and initialize variable zero and use it in all the places
50186         where _mm_setzero_si128 was used.
50187
50188         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50189         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50190         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50191         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50192         anymore.
50193         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50194         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50195         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50196         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50197         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50198         __mpranred, __mptan.
50199         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50200         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50201         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50202         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50203         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50204         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50205         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50206         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50207         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50208
50209 2011-10-28  Andreas Schwab  <schwab@redhat.com>
50210
50211         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50212         redefine if SHARED.
50213         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50214
50215         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50216         wide char related routines to wcsmbs subdir.
50217
50218 2011-10-27  Andreas Schwab  <schwab@redhat.com>
50219
50220         [BZ #13344]
50221         * misc/sys/cdefs.h (__THROWNL): Define.
50222         * posix/unistd.h: Use __THREADNL instead of __THREAD
50223         for memory synchronization functions.
50224
50225 2011-10-26  Roland McGrath  <roland@hack.frob.com>
50226
50227         [BZ #13349]
50228         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50229         doesn't exist.
50230         * manual/stdio.texi (Obstack Streams): Node removed.
50231
50232 2011-10-26  Andreas Schwab  <schwab@redhat.com>
50233
50234         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50235         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50236         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50237
50238         * math/math_private.h (math_force_eval): Allow non-addressable
50239         arguments.
50240         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50241
50242 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50243
50244         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50245         file is not needed.
50246
50247         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50248         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50249         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50250         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50251         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50252         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50253         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50254         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50255         Add AVX variants.
50256         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50257         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50258         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50259         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50260         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50261         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50262         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50263         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50264         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50265         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50266         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50267         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50268         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50269         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50270         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50271         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50272         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50273         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50274         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50275
50276         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50277         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
50278
50279         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50280         place.  Use VEX encoding when compiling for AVX.
50281
50282 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50283
50284         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50285         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50286
50287         * string/test-strchr.c (do_test): Don't generate NUL bytes.
50288
50289 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50290
50291         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50292         useless if() expression.
50293         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50294         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50295         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50296         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50297         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50298         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50299         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50300         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50301         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50302         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50303         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50304         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50305         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50306         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50307         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50308         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50309         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50310         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50311         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50312
50313         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50314
50315 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50316
50317         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50318         condition.
50319         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50320
50321 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50322
50323         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50324         .text section.  Avoid duplicate constants.
50325         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50326         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50327         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50328         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50329         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50330         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50331         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50332         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50333         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50334         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50335         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50336         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50337         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50338         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50339         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50340         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50341         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50342         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50343         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50344         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50345         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50346         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50347         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50348         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50349         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50350         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50351         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50352         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50353         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50354         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50355         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50356         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50357         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50358         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50359         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50360         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50361         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50362         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50363         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50364         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50365         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50366         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50367         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50368         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50369         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50370
50371 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
50372
50373         * sysdeps/x86_64/dla.h: Move to ...
50374         * sysdeps/x86_64/fpu/dla.h: ...here.
50375         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50376         situations.  Use __builtin_fma only for gcc 4.6 and up.
50377
50378         * config.make.in: Add have-mfma4 entry.
50379         * configure.in: Substitute libc_cv_cc_fma4.
50380         * math/Makefile (dbl-only-routines): Add sincostab.
50381         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50382         Use __sincostab not sincos.
50383         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50384         name is a macro.
50385         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50386         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50387         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50388         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
50389         using __copysign.
50390         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
50391         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
50392         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50393         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50394         and __inv.
50395         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50396         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50397         __copysign.
50398         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
50399         define aliases when function name is a macro.
50400         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50401         sysdeps/ieee754/dbl-64/sincos.tbl.
50402         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50403         fma4-enabled routines.
50404         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50405         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50406         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50407         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50408         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50409         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50410         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50411         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50412         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50413         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50414         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50415         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50416         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50417         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50418         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50419         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50420         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50421         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50422         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50423         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50424         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50425         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50426         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50427         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50428         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50429         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50430         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50431         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50432         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50433         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50434
50435         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50436         rename.
50437         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50438         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50439         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50440         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50441         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50442         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50443         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50444         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50445
50446 2011-10-24  Andreas Schwab  <schwab@redhat.com>
50447
50448         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50449
50450 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50451
50452         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50453
50454         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50455         prediction.
50456         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50457
50458         * string/strnlen.c: Don't define STRNLEN, reverse logic.
50459         Remove unused variable magic_bits.
50460         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50461
50462         * string/strnlen.c: Define and use STRNLEN macro.
50463         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50464         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50465         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50466         * wcsmbs/wcslen.c: Define and use WCSLEN.
50467         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50468         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50469         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50470         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50471         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50472         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50473         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50474
50475 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50476
50477         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50478         strnlen-sse2-no-bsf.
50479         Rename strlen-no-bsf to strlen-sse2-no-bsf.
50480         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50481         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50482         Add strnlen support.
50483         (USE_AS_STRNLEN): New macro.
50484         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50485         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50486         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50487         * sysdeps/x86_64/wcslen.S: New file.
50488
50489 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
50490
50491         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50492         XMM-moves are used for copying on small sizes.
50493
50494 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50495
50496         * wcsmbs/Makefile (strop-tests): Add wcschr.
50497         * wcsmbs/test-wcschr.c: New file.
50498         * string/test-strchr.c: Update.
50499         Add wcschr support.
50500         (WIDE): New macro.
50501
50502 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50503
50504         * wcsmbs/Makefile (strop-tests): Add wcslen.
50505         * wcsmbs/test-wcslen.c: New file.
50506         * string/test-strlen.c: Update.
50507         Add wcslen support.
50508         (WIDE): New macro.
50509
50510 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50511
50512         * po/it.po: Update from translation team.
50513
50514 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50515
50516         * sysdeps/x86_64/wcscmp.S: Update.
50517         Fix wrong comparison semantics.
50518         wcscmp shall use signed comparison not unsigned.
50519         Don't use substraction to avoid overflow bug.
50520         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50521         * wcsmbc/wcscmp.c: Likewise.
50522         * string/test-strcmp.c: Likewise.
50523         Add new tests to check cases with negative values.
50524
50525 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50526
50527         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50528         * sysdeps/x86_64/dla.h: ...here.  New file.
50529         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50530         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50531         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50532         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50533         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50534         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50535         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50536         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50537         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50538
50539 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
50540
50541         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50542         __ynl_finite aliases.
50543
50544 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50545
50546         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50547
50548         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50549         define DLA_FMA.
50550         [DLA_FMA] (EMULV): Use DLA_FMA.
50551         [DLA_FMA] (MUL12): Use EMULV.
50552         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50553         that are not needed.
50554         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50555         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50556         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50557         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50558         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50559         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50560         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50561
50562 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
50563
50564         * math/s_nan.c: Undef __nan.
50565         * math/s_nanf.c: Undef __nanf.
50566         * math/s_nanl.c: Undef __nanl.
50567         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50568         "math_private.h".
50569
50570 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50571
50572         * math/s_catan.c: Add branch predictions.
50573         * math/s_catanf.c: Likewise.
50574         * math/s_catanh.c: Likewise.
50575         * math/s_catanhf.c: Likewise.
50576         * math/s_catanhl.c: Likewise.
50577         * math/s_catanl.c: Likewise.
50578         * math/s_cexp.c: Likewise.
50579         * math/s_cexpf.c: Likewise.
50580         * math/s_cexpl.c: Likewise.
50581         * math/s_clog.c: Likewise.
50582         * math/s_clog10.c: Likewise.
50583         * math/s_clog10f.c: Likewise.
50584         * math/s_clog10l.c: Likewise.
50585         * math/s_clogf.c: Likewise.
50586         * math/s_clogl.c: Likewise.
50587         * math/s_csqrt.c: Likewise.
50588         * math/s_csqrtf.c: Likewise.
50589         * math/s_csqrtl.c: Likewise.
50590         * math/s_ctanf.c: Likewise.
50591         * math/s_ctanh.c: Likewise.
50592         * math/s_ctanhf.c: Likewise.
50593         * math/s_ctanhl.c: Likewise.
50594         * math/s_ctanl.c: Likewise.
50595
50596         * math/math_private.h: Define __nan, __nanf, __nanl.
50597         * math/s_cacosh.c: Include <math_private.h>.
50598         * math/s_cacoshl.c: Likewise.
50599         * math/s_casinh.c: Likewise.
50600         * math/s_casinhf.c: Likewise.
50601         * math/s_casinhl.c: Likewise.
50602         * math/s_ccos.c: Rely entire on ccosh.
50603         * math/s_ccosf.c: Rely entire on ccoshf.
50604         * math/s_ccosl.c: Rely entirely on ccoshl.
50605         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
50606         Remove tests for FE_INVALID.
50607         * math/s_ccoshf.c: Likewise.
50608         * math/s_ccoshl.c: Likewise.
50609         * math/s_csin.c: Likewise.
50610         * math/s_csinf.c: Likewise.
50611         * math/s_csinh.c Likewise.
50612         * math/s_csinhf.c: Likewise.
50613         * math/s_csinhl.c: Likewise.
50614         * math/s_csinl.c: Likewise.
50615         * math/s_ctan.c: Likewise.
50616         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50617         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50618         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50619
50620 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
50621
50622         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50623         compilation problems.
50624
50625         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50626         __builtin_expect.
50627
50628 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
50629
50630         * sysdeps/i386/configure.in: Test for -mfma4 option.
50631         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50632         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50633         COMMON_CPUID_INDEX_80000001.
50634         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50635         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50636         use it if FMA3 is not supported.
50637         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50638
50639         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50640         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50641
50642 2011-10-20  Andreas Schwab  <schwab@redhat.com>
50643
50644         [BZ #12892]
50645         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50646         it would create a cycle with a link time dependency.
50647
50648 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
50649
50650         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50651         instruction.
50652         * string/Makefile (strop-tests): Add rawmemchr.
50653         * string/test-rawmemchr.c: New file.
50654
50655         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50656         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
50657         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
50658         when compiling str{,n}casecmp and when AVX is available.  Hook up
50659         new optimized code in initializers.
50660
50661 2011-10-19  Andreas Schwab  <schwab@redhat.com>
50662
50663         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50664         __feraiseexcept instead of feraiseexcept.
50665
50666 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
50667
50668         * math/math_private.h: Define defaults for libc_fetestexcept and
50669         libc_feupdateenv.
50670         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50671         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50672         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50673         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50674         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50675         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50676         libc_fetestexcept and libc_feupdateenv.
50677
50678         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50679         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50680         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50681         * sysdeps/x86_64/fpu/math_private.h: Define special version of
50682         libc_feholdexcept_setround.
50683
50684         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50685         Add s_nearbyint-c and s_nearbyintf-c.
50686         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50687         nearbyintf inlines.
50688         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50689         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50690         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50691         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50692
50693         * math/math_private.h: Define defaults for libc_fegetround,
50694         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50695         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50696         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50697         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50698         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50699         standard functions.
50700         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50701         Remove comments and hacks for old compiler versions.
50702         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50703         libc_fegetround, libc_fesetround, libc_feholdexcept, and
50704         libc_feholdexceptl.
50705
50706 2011-10-18  Andreas Schwab  <schwab@redhat.com>
50707
50708         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50709         (__feraiseexcept_renamed): Add __NTH.
50710         (feraiseexcept): Add __NTH.  Rename local variables to fix
50711         namespace violations.
50712
50713 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
50714
50715         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50716
50717         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50718
50719         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50720         recently added interfaces.
50721         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50722
50723         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50724         about macro parameter expansion.
50725
50726         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50727         __NO_MATH_INLINES is defined.  Cleanups.
50728
50729         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50730         and __floorf is target has SSE4.1.
50731         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50732         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50733         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50734         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50735
50736         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50737         name.
50738         (floorf): Likewise.
50739
50740         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50741
50742 2011-10-17  Andreas Schwab  <schwab@redhat.com>
50743
50744         * misc/sys/cdefs.h: Fix last change.
50745
50746         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50747         database lookup.
50748
50749 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
50750
50751         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50752
50753         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50754         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50755         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50756         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50757         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50758         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50759         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50760         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50761         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50762         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50763         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50764         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50765         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50766         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50767         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50768         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50769         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50770         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50771         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50772         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50773         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50774         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50775
50776         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50777         ceil, ceilf, floor, floorf.
50778
50779         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50780         Perform IRELATIVE relocations last.
50781
50782         * elf/do-rel.h: Add another parameter nrelative, replacing the
50783         local variable with the same name.  Change name of the function
50784         to end in Rel or Rela (uppercase).
50785         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50786         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
50787         elf_dynamic_do_##reloc function.
50788
50789 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
50790
50791         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50792         is sufficient, at least on modern CPUs.
50793
50794         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50795
50796         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50797         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50798
50799         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50800         __expl_finite.
50801         * math/bits/math-finite.h: Add entries for exp.
50802         * math/e_expl.c: Add __*_finite alias.
50803         * sysdeps/i386/fpu/e_exp.S: Likewise.
50804         * sysdeps/i386/fpu/e_expf.S: Likewise.
50805         * sysdeps/i386/fpu/e_expl.c: Likewise.
50806         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50807         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50808         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50809         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50810         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50811         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50812         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50813
50814         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50815         is sufficient, at least on modern CPUs.
50816
50817         * ctype/ctype-info.c (__ctype_init): Define.
50818         * include/ctype.h (__ctype_init): Declare.
50819         (__ctype_b_loc): The variable is always initialized.
50820         (__ctype_toupper_loc): Likewise.
50821         (__ctype_tolower_loc): Likewise.
50822         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50823         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50824
50825 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
50826
50827         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50828
50829         * configure.in: Also look in $cxxmachine/include for C++ system
50830         headers.
50831
50832 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50833
50834         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50835         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50836         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50837         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
50838         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50839         (USE_AS_WMEMCMP): New macro.
50840         Fixing indents.
50841         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50842         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50843         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50844         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50845         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50846         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50847         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50848         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50849         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50850         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50851         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50852         (USE_AS_WMEMCMP): New macro.
50853         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50854         * sysdeps/string/test-memcmp.c: Update.
50855         Fix simple_wmemcmp.
50856         Add new tests.
50857         * wcsmbs/wmemcmp.c: Update.
50858         (WMEMCMP): New macro.
50859         Fix overflow bug.
50860
50861 2011-10-12  Andreas Jaeger  <aj@suse.de>
50862
50863         [BZ #13268]
50864         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50865
50866 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
50867
50868         * libio/iofwide.c (do_length): Avoid warning.
50869
50870         * ctype/ctype.h (__isctype_f): Add missing __THROW.
50871
50872 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
50873
50874         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50875
50876         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50877         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50878         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50879         * sysdeps/i386/i686/fpu/e_log.S: New file.
50880         * sysdeps/i386/i686/fpu/e_logf.S: New file.
50881         * sysdeps/i386/i686/fpu/e_logl.S: New file.
50882
50883         * ctype/ctype.h: Add support for inlined isXXX functions when
50884         compiling C++ code.
50885
50886 2011-10-14  Andreas Schwab  <schwab@redhat.com>
50887
50888         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50889
50890         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50891
50892 2011-10-13  Roland McGrath  <roland@hack.frob.com>
50893
50894         [BZ #13291]
50895         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50896
50897 2011-10-13  Andreas Schwab  <schwab@redhat.com>
50898
50899         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50900         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50901         feraiseexcept.
50902
50903         * sysdeps/x86_64/memrchr.S: Check for zero size.
50904
50905         * string/stratcliff.c: Add memrchr tests.
50906
50907 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50908
50909         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50910         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50911         rawmemchr-sse2 rawmemchr-sse2-bsf.
50912         * sysdeps/i386/i686/multiarch/memchr.S: New file.
50913         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50914         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50915         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50916         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50917         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50918         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50919         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50920         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50921         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50922         * string/memrchr.c (MEMRCHR): New macro.
50923
50924 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
50925
50926         Add integration with gcc's -ffinite-math-only and optimize wrapper
50927         functions in libm.
50928         * Versions.def: Define GLIBC_2.15 version for libm.
50929         * math/Makefile (headers): Add bits/math-finite.h.
50930         * math/bits/math-finite.h: New file.
50931         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50932         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50933         * math/e_acoshl.c: Add __*_finite alias.
50934         * math/e_acosl.c: Likewise.
50935         * math/e_asinl.c: Likewise.
50936         * math/e_atan2l.c: Likewise.
50937         * math/e_atanhl.c: Likewise.
50938         * math/e_coshl.c: Likewise.
50939         * math/e_exp10.c: Likewise.
50940         * math/e_exp10f.c: Likewise.
50941         * math/e_exp10l.c: Likewise.
50942         * math/e_exp2l.c: Likewise.
50943         * math/e_fmodl.c: Likewise.
50944         * math/e_gammal_r.c: Likewise.
50945         * math/e_hypotl.c: Likewise.
50946         * math/e_j0l.c: Likewise.
50947         * math/e_j1l.c: Likewise.
50948         * math/e_jnl.c: Likewise.
50949         * math/e_lgammal_r.c: Likewise.
50950         * math/e_log10l.c: Likewise.
50951         * math/e_log2l.c: Likewise.
50952         * math/e_logl.c: Likewise.
50953         * math/e_powl.c: Likewise.
50954         * math/e_sinhl.c: Likewise.
50955         * math/e_sqrtl.c: Likewise.
50956         * math/e_scalb.c: Completely rewritten and optimized.
50957         * math/e_scalbf.c: Likewise.
50958         * math/e_scalbl.c: Likewise.
50959         * math/w_acos.c: Likewise.
50960         * math/w_acosf.c: Likewise.
50961         * math/w_acosl.c: Likewise.
50962         * math/w_acosh.c: Likewise.
50963         * math/w_acoshf.c: Likewise.
50964         * math/w_acoshl.c: Likewise.
50965         * math/w_asin.c: Likewise.
50966         * math/w_asinf.c: Likewise.
50967         * math/w_asinl.c: Likewise.
50968         * math/w_atan2.c: Likewise.
50969         * math/w_atan2f.c: Likewise.
50970         * math/w_atan2l.c: Likewise.
50971         * math/w_atanh.c: Likewise.
50972         * math/w_atanhf.c: Likewise.
50973         * math/w_atanhl.c: Likewise.
50974         * math/w_exp10.c: Likewise.
50975         * math/w_exp10f.c: Likewise.
50976         * math/w_exp10l.c: Likewise.
50977         * math/w_fmod.c: Likewise.
50978         * math/w_fmodf.c: Likewise.
50979         * math/w_fmodl.c: Likewise.
50980         * math/w_j0.c: Likewise.
50981         * math/w_j0f.c: Likewise.
50982         * math/w_j0l.c: Likewise.
50983         * math/w_j1.c: Likewise.
50984         * math/w_j1f.c: Likewise.
50985         * math/w_j1l.c: Likewise.
50986         * math/w_jn.c: Likewise.
50987         * math/w_jnf.c: Likewise.
50988         * math/w_log.c: Likewise.
50989         * math/w_logf.c: Likewise.
50990         * math/w_logl.c: Likewise.
50991         * math/w_log10.c: Likewise.
50992         * math/w_log10f.c: Likewise.
50993         * math/w_log10l.c: Likewise.
50994         * math/w_log2.c: Likewise.
50995         * math/w_log2f.c: Likewise.
50996         * math/w_log2l.c: Likewise.
50997         * math/w_pow.c: Likewise.
50998         * math/w_powf.c: Likewise.
50999         * math/w_powl.c: Likewise.
51000         * math/w_remainder.c: Likewise.
51001         * math/w_remainderf.c: Likewise.
51002         * math/w_remainderl.c: Likewise.
51003         * math/w_scalb.c: Likewise.
51004         * math/w_scalbf.c: Likewise.
51005         * math/w_scalbl.c: Likewise.
51006         * math/w_sqrt.c: Likewise.
51007         * math/w_sqrtf.c: Likewise.
51008         * math/w_sqrtl.c: Likewise.
51009         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51010         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
51011         used.
51012         * math/math_private.h: Declare __kernel_standard_f.
51013         * math/w_cosh.c: Remove cruft and optimize a bit.
51014         * math/w_coshf.c: Likewise.
51015         * math/w_coshl.c: Likewise.
51016         * math/w_exp2.c: Likewise.
51017         * math/w_exp2f.c: Likewise.
51018         * math/w_exp2l.c: Likewise.
51019         * math/w_hypot.c: Likewise.
51020         * math/w_hypotf.c: Likewise.
51021         * math/w_hypotl.c: Likewise.
51022         * math/w_lgamma.c: Likewise.
51023         * math/w_lgamma_r.c: Likewise.
51024         * math/w_lgammaf.c: Likewise.
51025         * math/w_lgammaf_r.c: Likewise.
51026         * math/w_lgammal.c: Likewise.
51027         * math/w_lgammal_r.c: Likewise.
51028         * math/w_sinh.c: Likewise.
51029         * math/w_sinhf.c: Likewise.
51030         * math/w_sinhl.c: Likewise.
51031         * math/w_tgamma.c: Likewise.
51032         * math/w_tgammaf.c: Likewise.
51033         * math/w_tgammal.c: Likewise.
51034         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51035         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51036         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51037         Minor optimizations.  Pretty printing.  Remove cruft.
51038         * sysdeps/i386/fpu/e_acosf.S: Likewise.
51039         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51040         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51041         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51042         * sysdeps/i386/fpu/e_acosl.c: Likewise.
51043         * sysdeps/i386/fpu/e_asin.S: Likewise.
51044         * sysdeps/i386/fpu/e_asinf.S: Likewise.
51045         * sysdeps/i386/fpu/e_atan2.S: Likewise.
51046         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51047         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51048         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51049         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51050         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51051         * sysdeps/i386/fpu/e_exp10.S: Likewise.
51052         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51053         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51054         * sysdeps/i386/fpu/e_exp2.S: Likewise.
51055         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51056         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51057         * sysdeps/i386/fpu/e_fmod.S: Likewise.
51058         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51059         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51060         * sysdeps/i386/fpu/e_hypot.S: Likewise.
51061         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51062         * sysdeps/i386/fpu/e_log.S: Likewise.
51063         * sysdeps/i386/fpu/e_log10.S: Likewise.
51064         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51065         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51066         * sysdeps/i386/fpu/e_log2.S: Likewise.
51067         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51068         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51069         * sysdeps/i386/fpu/e_logf.S: Likewise.
51070         * sysdeps/i386/fpu/e_logl.S: Likewise.
51071         * sysdeps/i386/fpu/e_pow.S: Likewise.
51072         * sysdeps/i386/fpu/e_powf.S: Likewise.
51073         * sysdeps/i386/fpu/e_powl.S: Likewise.
51074         * sysdeps/i386/fpu/e_remainder.S: Likewise.
51075         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51076         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51077         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51078         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51079         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51080         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51081         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51082         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51083         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51084         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51085         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51086         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51087         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51088         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51089         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51090         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51091         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51092         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51093         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51094         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51095         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51096         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51097         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51098         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51099         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51100         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51101         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51102         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51103         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51104         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51105         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51106         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51107         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51108         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51109         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51110         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51111         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51112         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51113         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51114         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51115         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51116         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51117         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51118         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51119         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51120         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51121         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51122         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51123         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51124         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51125         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51126         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51127         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51128         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51129         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51130         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51131         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51132         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51133         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51134         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51135         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51136         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51137         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51138         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51139         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51140         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51141         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51142         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51143         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51144         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51145         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51146         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51147         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51148         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51149         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51150         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51151         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51152         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51153         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51154         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51155         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51156         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51157         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51158         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51159         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51160         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51161         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51162         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51163         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51164         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51165         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51166         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51167         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51168         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51169         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51170         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51171         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51172         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51173         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51174         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51175         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51176         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51177         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51178         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51179         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51180         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51181         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51182         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51183         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51184         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51185         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51186         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51187         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51188         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51189         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51190         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51191         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51192         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51193         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
51194         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51195         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51196         (__isnanf): Likewise.
51197         (__isinf_ns): Likewise.
51198         (__isinf_nsf): Likewise.
51199         (__finite): Likewise.
51200         (__finitef): Likewise.
51201         (__ieee754_sqrt): Define as macro.
51202         (__ieee754_sqrtf): Define as macro.
51203         (__ieee754_sqrtl): Define as macro.
51204         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51205         inlined copy.
51206         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51207         __FINITE_MATH_ONLY__ consistent.
51208         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51209
51210 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
51211
51212         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51213         of rawmemchr.
51214
51215         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51216
51217 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
51218
51219         * po/ja.po: Update from translation team.
51220
51221 2011-10-08  Roland McGrath  <roland@hack.frob.com>
51222
51223         * locale/programs/locarchive.c (prepare_address_space): New function.
51224         (create_archive, enlarge_archive, open_archive): Use it.
51225
51226         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51227         inside [SHARED], where it is used.
51228
51229         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51230
51231         * nss/getent.c (netgroup_keys): Remove unused variable.
51232         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51233
51234 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
51235
51236         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51237         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51238         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51239         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51240         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51241         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51242         * math/Makefile (libm-calls): Add s_isinf_ns.
51243         * math/divtc3.c: Use __isinf_nsl instead of isinf.
51244         * math/multc3.c: Likewise.
51245         * math/s_casin.c: Likewise.
51246         * math/s_casinf.c: Likewise.
51247         * math/s_casinl.c: Likewise.
51248         * math/s_ccos.c: Likewise.
51249         * math/s_ccosf.c: Likewise.
51250         * math/s_ccosl.c: Likewise.
51251         * math/s_ctan.c: Likewise.
51252         * math/s_ctanf.c: Likewise.
51253         * math/s_ctanh.c: Likewise.
51254         * math/s_ctanhf.c: Likewise.
51255         * math/s_ctanhl.c: Likewise.
51256         * math/s_ctanl.c: Likewise.
51257         * math/w_fmod.c: Likewise.
51258         * math/w_fmodf.c: Likewise.
51259         * math/w_fmodl.c: Likewise.
51260         * math/w_remainder.c: Likewise.
51261         * math/w_remainderf.c: Likewise.
51262         * math/w_remainderl.c: Likewise.
51263         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51264         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51265         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51266         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51267         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51268         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51269         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51270         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51271
51272         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51273         of the number.
51274         * stdio-common/printf_fphex.c: Likewise.
51275         * stdio-common/printf_size.c: Likewise.
51276
51277         * math/e_exp10.c: Include math_private.h using <...> not "...".
51278         * math/e_exp10f.c: Likewise.
51279         * math/e_exp10l.c: Likewise.
51280         * math/e_exp2l.c: Likewise.
51281         * math/e_j0l.c: Likewise.
51282         * math/e_j1l.c: Likewise.
51283         * math/e_jnl.c: Likewise.
51284         * math/e_lgammal_r.c: Likewise.
51285         * math/e_rem_pio2l.c: Likewise.
51286         * math/e_scalb.c: Likewise.
51287         * math/e_scalbf.c: Likewise.
51288         * math/e_scalbl.c: Likewise.
51289         * math/k_cosl.c: Likewise.
51290         * math/k_sinl.c: Likewise.
51291         * math/k_tanl.c: Likewise.
51292         * math/s_cacoshf.c: Likewise.
51293         * math/s_catan.c: Likewise.
51294         * math/s_catanf.c: Likewise.
51295         * math/s_catanh.c: Likewise.
51296         * math/s_catanhf.c: Likewise.
51297         * math/s_catanhl.c: Likewise.
51298         * math/s_catanl.c: Likewise.
51299         * math/s_ccosh.c: Likewise.
51300         * math/s_ccoshf.c: Likewise.
51301         * math/s_ccoshl.c: Likewise.
51302         * math/s_cexp.c: Likewise.
51303         * math/s_cexpf.c: Likewise.
51304         * math/s_cexpl.c: Likewise.
51305         * math/s_clog.c: Likewise.
51306         * math/s_clog10.c: Likewise.
51307         * math/s_clog10f.c: Likewise.
51308         * math/s_clog10l.c: Likewise.
51309         * math/s_clogf.c: Likewise.
51310         * math/s_clogl.c: Likewise.
51311         * math/s_csin.c: Likewise.
51312         * math/s_csinf.c: Likewise.
51313         * math/s_csinh.c: Likewise.
51314         * math/s_csinhf.c: Likewise.
51315         * math/s_csinhl.c: Likewise.
51316         * math/s_csinl.c: Likewise.
51317         * math/s_csqrt.c: Likewise.
51318         * math/s_csqrtf.c: Likewise.
51319         * math/s_csqrtl.c: Likewise.
51320         * math/s_ctan.c: Likewise.
51321         * math/s_ctanf.c: Likewise.
51322         * math/s_ctanh.c: Likewise.
51323         * math/s_ctanhf.c: Likewise.
51324         * math/s_ctanhl.c: Likewise.
51325         * math/s_ctanl.c: Likewise.
51326         * math/s_ldexp.c: Likewise.
51327         * math/s_ldexpf.c: Likewise.
51328         * math/s_ldexpl.c: Likewise.
51329         * math/s_significand.c: Likewise.
51330         * math/s_significandf.c: Likewise.
51331         * math/s_significandl.c: Likewise.
51332         * math/w_acos.c: Likewise.
51333         * math/w_acosf.c: Likewise.
51334         * math/w_acosh.c: Likewise.
51335         * math/w_acoshf.c: Likewise.
51336         * math/w_acoshl.c: Likewise.
51337         * math/w_acosl.c: Likewise.
51338         * math/w_asin.c: Likewise.
51339         * math/w_asinf.c: Likewise.
51340         * math/w_asinl.c: Likewise.
51341         * math/w_atan2.c: Likewise.
51342         * math/w_atan2f.c: Likewise.
51343         * math/w_atan2l.c: Likewise.
51344         * math/w_atanh.c: Likewise.
51345         * math/w_atanhf.c: Likewise.
51346         * math/w_atanhl.c: Likewise.
51347         * math/w_cosh.c: Likewise.
51348         * math/w_coshf.c: Likewise.
51349         * math/w_coshl.c: Likewise.
51350         * math/w_dremf.c: Likewise.
51351         * math/w_exp10.c: Likewise.
51352         * math/w_exp10f.c: Likewise.
51353         * math/w_exp10l.c: Likewise.
51354         * math/w_exp2.c: Likewise.
51355         * math/w_exp2f.c: Likewise.
51356         * math/w_fmod.c: Likewise.
51357         * math/w_fmodf.c: Likewise.
51358         * math/w_fmodl.c: Likewise.
51359         * math/w_hypot.c: Likewise.
51360         * math/w_hypotf.c: Likewise.
51361         * math/w_hypotl.c: Likewise.
51362         * math/w_j0.c: Likewise.
51363         * math/w_j0f.c: Likewise.
51364         * math/w_j0l.c: Likewise.
51365         * math/w_j1.c: Likewise.
51366         * math/w_j1f.c: Likewise.
51367         * math/w_j1l.c: Likewise.
51368         * math/w_jn.c: Likewise.
51369         * math/w_jnf.c: Likewise.
51370         * math/w_jnl.c: Likewise.
51371         * math/w_lgamma.c: Likewise.
51372         * math/w_lgamma_r.c: Likewise.
51373         * math/w_lgammaf.c: Likewise.
51374         * math/w_lgammaf_r.c: Likewise.
51375         * math/w_lgammal.c: Likewise.
51376         * math/w_lgammal_r.c: Likewise.
51377         * math/w_log.c: Likewise.
51378         * math/w_log10.c: Likewise.
51379         * math/w_log10f.c: Likewise.
51380         * math/w_log10l.c: Likewise.
51381         * math/w_log2.c: Likewise.
51382         * math/w_log2f.c: Likewise.
51383         * math/w_log2l.c: Likewise.
51384         * math/w_logf.c: Likewise.
51385         * math/w_logl.c: Likewise.
51386         * math/w_pow.c: Likewise.
51387         * math/w_powf.c: Likewise.
51388         * math/w_powl.c: Likewise.
51389         * math/w_remainder.c: Likewise.
51390         * math/w_remainderf.c: Likewise.
51391         * math/w_remainderl.c: Likewise.
51392         * math/w_scalb.c: Likewise.
51393         * math/w_scalbf.c: Likewise.
51394         * math/w_scalbl.c: Likewise.
51395         * math/w_sinh.c: Likewise.
51396         * math/w_sinhf.c: Likewise.
51397         * math/w_sinhl.c: Likewise.
51398         * math/w_sqrt.c: Likewise.
51399         * math/w_sqrtf.c: Likewise.
51400         * math/w_sqrtl.c: Likewise.
51401         * math/w_tgamma.c: Likewise.
51402         * math/w_tgammaf.c: Likewise.
51403         * math/w_tgammal.c: Likewise.
51404
51405         * po/ja.po: Update from translation team.
51406
51407 2011-09-29  Andreas Jaeger  <aj@suse.de>
51408
51409         [BZ #13179]
51410         * sunrpc/netname.c (netname2host): Fix logic.
51411
51412         [BZ #6779]
51413         [BZ #6783]
51414         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51415         correctly.
51416         * math/w_remainder.c (__remainder): Likewise.
51417         * math/w_remainderf.c (__remainderf): Likewise.
51418         * math/libm-test.inc (remainder_test): Add test cases.
51419
51420 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51421
51422         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
51423         sdiv_qrnnd.
51424
51425 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51426
51427         * string/test-memcmp.c: Avoid unncessary #defines.
51428         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51429
51430 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51431
51432         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51433         Use new sse2 version for core i3 - i7 as it's faster
51434         than sse42 version.
51435         (bit_Prefer_PMINUB_for_stringop): New.
51436         * sysdeps/x86_64/rawmemchr.S: Update.
51437         Replace with faster SSE2 version.
51438         * sysdeps/x86_64/memrchr.S: New file.
51439         * sysdeps/x86_64/memchr.S: Update.
51440         Replace with faster SSE2 version.
51441
51442 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
51443
51444         * elf/dl-load.c (lose): Add cast to avoid warning.
51445
51446 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51447
51448         * po/ca.po: Update from translation team.
51449
51450         * inet/getnetgrent_r.c: Hook up nscd.
51451         * nscd/Makefile (routines): Add nscd_netgroup.
51452         (nscd-modules): Add netgroupcache.
51453         (CFLAGS-netgroupcache.c): Define.
51454         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51455         (cache_search): Add const to second parameter.
51456         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51457         INNETGR.
51458         (dbs): Add netgrdb entry.
51459         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51460         (verify_persistent_db): Handle netgrdb.
51461         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51462         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51463         GETFDNETGR.
51464         (netgroup_response_header): Define.
51465         (innetgroup_response_header): Define.
51466         (datahead): Add netgroup_response_header and innetgroup_response_header
51467         elements.
51468         * nscd/nscd.conf: Add entries for netgroup cache.
51469         * nscd/nscd.h (dbtype): Add netgrdb.
51470         (_PATH_NSCD_NETGROUP_DB): Define.
51471         (netgroup_iov_disabled): Declare.
51472         (xmalloc, xcalloc, xrealloc): Move declarations here.
51473         (cache_search): Adjust prototype.
51474         Add netgroup-related prototypes.
51475         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51476         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51477         (__nscd_innetgr): Declare.
51478         * nscd/selinux.c (perms): Use access_vector_t as element type and
51479         add netgroup-related initializers.
51480         * nscd/netgroupcache.c: New file.
51481         * nscd/nscd_netgroup.c: New file.
51482         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51483         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51484         For four parameters use innetgr.
51485         * nss/nss_files/files-init.c: Add definition and callback for netgr.
51486         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51487         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51488         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51489
51490         * nscd/connections.c (register_traced_file): Don't register file
51491         for disabled databases.
51492
51493 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
51494
51495         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51496
51497         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51498         from tree and freeing node.
51499
51500 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
51501
51502         * nss/nsswitch.c (__nss_database_lookup): Handle
51503         nss_parse_service_list out of memory case.
51504
51505 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
51506
51507         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51508         out of memory case.
51509
51510 2011-10-04  Andreas Schwab  <schwab@redhat.com>
51511
51512         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51513         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51514         pass it down.
51515         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51516         elf_machine_rela, elf_machine_lazy_rel.
51517         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51518         (ELF_DYNAMIC_DO_REL): Likewise.
51519         (ELF_DYNAMIC_DO_RELA): Likewise.
51520         (ELF_DYNAMIC_RELOCATE): Likewise.
51521         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51522         to ELF_DYNAMIC_DO_REL.
51523         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51524         (dl_main): In trace mode always set __RTLD_NOIFUNC.
51525         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51526         elf_machine_rela.
51527         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51528         skip_ifunc, don't call ifunc function if non-zero.
51529         (elf_machine_rela): Likewise.
51530         (elf_machine_lazy_rel): Likewise.
51531         (elf_machine_lazy_rela): Likewise.
51532         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51533         (elf_machine_lazy_rel): Likewise.
51534         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51535         Likewise.
51536         (elf_machine_lazy_rel): Likewise.
51537         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51538         Likewise.
51539         (elf_machine_lazy_rel): Likewise.
51540         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51541         (elf_machine_lazy_rel): Likewise.
51542         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51543         (elf_machine_lazy_rel): Likewise.
51544         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51545         (elf_machine_lazy_rel): Likewise.
51546         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51547         (elf_machine_lazy_rel): Likewise.
51548         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51549         (elf_machine_lazy_rel): Likewise.
51550         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51551         (elf_machine_lazy_rel): Likewise.
51552
51553 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
51554
51555         * nss/nss_files/files-init.c (_nss_files_init): Use static
51556         initialization for all the *_traced_file variables.
51557
51558 2011-09-28  Andreas Schwab  <schwab@redhat.com>
51559
51560         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51561
51562 2011-09-27  Roland McGrath  <roland@hack.frob.com>
51563
51564         [BZ #13226]
51565         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51566
51567 2011-09-27  Andreas Schwab  <schwab@redhat.com>
51568
51569         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51570         Reread the line before reparsing it.
51571
51572 2011-09-26  Andreas Schwab  <schwab@redhat.com>
51573
51574         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51575
51576 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
51577             Maxim Kuvyrkov  <maxim@codesourcery.com>
51578             Joseph Myers  <joseph@codesourcery.com>
51579
51580         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51581         if needed for __stack_chk_guard.
51582
51583 2011-09-19  Roland McGrath  <roland@hack.frob.com>
51584
51585         * sysdeps/posix/spawni.c (script_execute): Always define it.
51586         It will be optimized away if unused.
51587         (maybe_script_execute): New function.
51588         (__spawni): Call it.
51589
51590         * Makerules: Don't include tls.make.
51591         (config-tls): Always set to thread.
51592         * tls.make.c: File removed.
51593
51594 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
51595
51596         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51597         * config.make.in (CPPFLAGS-config): New substituted variable.
51598
51599 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51600
51601         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51602
51603         [BZ #13192]
51604         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51605         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51606
51607 2011-09-15  Roland McGrath  <roland@hack.frob.com>
51608
51609         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51610         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51611         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51612         (CALL_FAIL): Likewise.
51613         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51614         (CALL_FAIL): Macro removed.
51615         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51616
51617 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51618
51619         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51620         for __FINITE_MATH_ONLY__ == 1.
51621
51622 2011-09-15  Andreas Schwab  <schwab@redhat.com>
51623
51624         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51625         __ieee754_sqrt instead of sqrt.
51626         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51627         __ieee754_sqrtf instead of sqrtf.
51628         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51629         __floorf instead of floorf.
51630         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51631         __floorf, __truncf instead of floorf, truncf.
51632
51633 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
51634
51635         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51636
51637         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51638         __extern_always_inline.
51639         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51640         32-bit.
51641
51642 2011-09-14  Andreas Schwab  <schwab@redhat.com>
51643
51644         * elf/rtld.c (dl_main): Also relocate in dependency order when
51645         doing symbol dependency testing.
51646
51647 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
51648
51649         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51650         Always define `refsym'.
51651
51652 2011-09-13  Andreas Schwab  <schwab@redhat.com>
51653
51654         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51655         (__FD_ELT): Renamed from __FDELT.
51656         * misc/bits/select2.h (__FD_ELT): Likewise.
51657         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51658         __FD_MASK instead of __FDELT, __FDMASK.
51659         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51660         Likewise.
51661         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51662         Likewise.
51663
51664         * elf/Makefile (gen-ldd): Fix pattern.
51665
51666         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51667         (init_tls): Likewise.
51668
51669 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
51670
51671         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51672
51673 2011-09-12  Andreas Schwab  <schwab@redhat.com>
51674
51675         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51676         `struct cmsghdr *' instead of `void *'.
51677         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51678         Likewise.
51679
51680 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
51681
51682         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51683         if non-absolute.
51684         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51685         ldd_rewrite_script.
51686
51687 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
51688
51689         * configure.in: Remove --with-tls option.
51690         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51691         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51692         out in case it is missing.
51693         * sysdeps/ia64/elf/configure.in: Likewise.
51694         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51695         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51696         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51697         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51698         * sysdeps/sh/elf/configure.in: Likewise.
51699         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51700         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51701         * sysdeps/x86_64/elf/configure.in: Likewise.
51702         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51703         * sysdeps/mach/hurd/tls.h: Likewise.
51704
51705         [BZ #13067]
51706         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51707
51708         [BZ #13090]
51709         * configure.in: Fix use of AC_INIT.
51710
51711         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51712
51713 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
51714
51715         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51716         __set_errno.
51717         * malloc/hooks.c: Likewise.
51718
51719         [BZ #11929]
51720         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
51721         variables statically.
51722         (narenas): Initialize.
51723         (list_lock): Initialize.
51724         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
51725         initializtion of main_arena and list_lock.  Small cleanups.
51726         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51727         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
51728         Add initializers to main_arena and mp_.
51729         (malloc_state): Remove pagesize member.  Change all users to use
51730         GLRO(dl_pagesize).
51731
51732         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51733         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
51734         is always initialized.
51735
51736         * malloc/malloc.c: Removed unused configurations and dead code.
51737         * malloc/arena.c: Likewise.
51738         * malloc/hooks.c: Likewise.
51739         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51740
51741         * include/tls.h: Removed.  USE___THREAD must always be defined.
51742         * bits/libc-tsd.h: Don't handle !USE___THREAD.
51743         * elf/dl-libc.c: Likewise.
51744         * elf/dl-tsd.c: Likewise.
51745         * include/errno.h: Likewise.
51746         * include/netdb.h: Likewise.
51747         * include/resolv.h: Likewise.
51748         * inet/herrno-loc.c: Likewise.
51749         * inet/herrno.c: Likewise.
51750         * malloc/arena.c: Likewise.
51751         * malloc/hooks.c: Likewise.
51752         * malloc/malloc.c: Likewise.
51753         * resolv/res-state.c: Likewise.
51754         * resolv/res_libc.c: Likewise.
51755         * sysdeps/i386/dl-machine.h: Likewise.
51756         * sysdeps/ia64/dl-machine.h: Likewise.
51757         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51758         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51759         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51760         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51761         * sysdeps/sh/dl-machine.h: Likewise.
51762         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51763         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51764         * sysdeps/unix/i386/sysdep.S: Likewise.
51765         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51766         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51767         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51768         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51769         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51770         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51771         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51772         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51773         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51774         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51775         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51776         * sysdeps/x86_64/dl-machine.h: Likewise.
51777         * tls.make.c: Likewise.
51778
51779         * configure.in: Remove --with-__thread option.  Make tests for
51780         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51781         tls_model attribute fail if no support is available.  Remove
51782         USE_IN_LIBIO.
51783         * Makeconfig: Adjust for dropped configure option.  All features are
51784         now mandatory.
51785         * Makerules: Likewise.
51786         * Versions.def: Likewise.
51787         * argp/argp-fmtstream.c: Likewise.
51788         * argp/argp-fmtstream.h: Likewise.
51789         * argp/argp-help.c: Likewise.
51790         * assert/assert.c: Likewise.
51791         * config.h.in: Likewise.
51792         * config.make.in: Likewise.
51793         * configure: Likewise.
51794         * configure.in: Likewise.
51795         * csu/Versions: Likewise.
51796         * csu/init.c: Likewise.
51797         * elf/tst-audit2.c: Likewise.
51798         * elf/tst-tls10.c: Likewise.
51799         * elf/tst-tls10.h: Likewise.
51800         * elf/tst-tls11.c: Likewise.
51801         * elf/tst-tls12.c: Likewise.
51802         * elf/tst-tls14.c: Likewise.
51803         * elf/tst-tlsmod11.c: Likewise.
51804         * elf/tst-tlsmod12.c: Likewise.
51805         * elf/tst-tlsmod13.c: Likewise.
51806         * elf/tst-tlsmod13a.c: Likewise.
51807         * elf/tst-tlsmod14a.c: Likewise.
51808         * elf/tst-tlsmod15b.c: Likewise.
51809         * elf/tst-tlsmod16a.c: Likewise.
51810         * elf/tst-tlsmod16b.c: Likewise.
51811         * elf/tst-tlsmod7.c: Likewise.
51812         * elf/tst-tlsmod8.c: Likewise.
51813         * elf/tst-tlsmod9.c: Likewise.
51814         * gmon/gmon.c: Likewise.
51815         * grp/fgetgrent_r.c: Likewise.
51816         * grp/putgrent.c: Likewise.
51817         * hurd/fopenport.c: Likewise.
51818         * include/libc-symbols.h: Likewise.
51819         * include/tls.h: Likewise.
51820         * intl/gettextP.h: Likewise.
51821         * intl/loadinfo.h: Likewise.
51822         * locale/global-locale.c: Likewise.
51823         * locale/localeinfo.h: Likewise.
51824         * mach/devstream.c: Likewise.
51825         * malloc/arena.c: Likewise.
51826         * malloc/set-freeres.c: Likewise.
51827         * misc/err.c: Likewise.
51828         * misc/getttyent.c: Likewise.
51829         * misc/mntent_r.c: Likewise.
51830         * posix/getopt.c: Likewise.
51831         * posix/wordexp.c: Likewise.
51832         * pwd/fgetpwent_r.c: Likewise.
51833         * resolv/Versions: Likewise.
51834         * resolv/res_hconf.c: Likewise.
51835         * shadow/fgetspent_r.c: Likewise.
51836         * shadow/putspent.c: Likewise.
51837         * stdio-common/printf_fphex.c: Likewise.
51838         * stdio-common/tmpfile.c: Likewise.
51839         * stdlib/abort.c: Likewise.
51840         * stdlib/fmtmsg.c: Likewise.
51841         * sunrpc/auth_unix.c: Likewise.
51842         * sunrpc/clnt_perr.c: Likewise.
51843         * sunrpc/clnt_tcp.c: Likewise.
51844         * sunrpc/clnt_udp.c: Likewise.
51845         * sunrpc/clnt_unix.c: Likewise.
51846         * sunrpc/openchild.c: Likewise.
51847         * sunrpc/svc_simple.c: Likewise.
51848         * sunrpc/svc_tcp.c: Likewise.
51849         * sunrpc/svc_udp.c: Likewise.
51850         * sunrpc/svc_unix.c: Likewise.
51851         * sunrpc/xdr.c: Likewise.
51852         * sunrpc/xdr_array.c: Likewise.
51853         * sunrpc/xdr_rec.c: Likewise.
51854         * sunrpc/xdr_ref.c: Likewise.
51855         * sunrpc/xdr_stdio.c: Likewise.
51856
51857 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51858
51859         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51860
51861 2011-07-03  Andreas Jaeger  <aj@suse.de>
51862
51863         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51864         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51865         regenerate with gen-libm-tests.pl.
51866
51867 2010-05-12  Petr Baudis  <pasky@suse.cz>
51868
51869         [BZ #11589]
51870         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51871         around j0() zero points by switching to j1().
51872         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51873         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51874         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51875         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51876
51877 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51878
51879         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51880         instead of 0.
51881         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51882         instead of 0.
51883         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51884         Patch in part by Pavel Roskin <proski@gnu.org>.
51885
51886         [BZ #13138]
51887         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51888         realloc.
51889         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
51890         Free memory block if necessary.
51891
51892         [BZ #12847]
51893         * libio/genops.c (INTDEF): For string streams the _lock pointer can
51894         be NULL.  Don't lock in this case.
51895
51896 2011-09-09  Roland McGrath  <roland@hack.frob.com>
51897
51898         * elf/elf.h (ELFOSABI_GNU): New macro.
51899         (ELFOSABI_LINUX): Define to that.
51900
51901 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
51902
51903         * string/strncat.c (strncat): Undef the symbol in case it has been
51904         defined in bits/string.h.
51905
51906 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
51907
51908         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51909
51910         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51911         link map.
51912
51913 2011-08-17  Andreas Jaeger  <aj@suse.de>
51914
51915         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51916
51917 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
51918             Ian Lance Taylor  <iant@google.com>
51919
51920         * math/libm-test.inc (lround_test): New testcase.
51921         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51922
51923 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
51924
51925         * Makefile: Remove support for automatic cvs check-ins.
51926         * Makerules: Likewise.
51927         * config.make.in: Likewise.
51928         * configure.in: Likewise.
51929         * intl/Makefile: Likewise.
51930         * locale/Makefile: Likewise.
51931         * po/Makefile: Likewise.
51932         * posix/Makefile: Likewise.
51933         * sysdeps/gnu/Makefile: Likewise.
51934         * sysdeps/mach/hurd/Makefile: Likewise.
51935         * sysdeps/sparc/sparc32/Makefile: Likewise.
51936
51937         [BZ #13118]
51938         * posix/Makefile (bug-regex32-ENV): Define.
51939         Patch by John Stanley <jpsinthemix@verizon.net>.
51940
51941         * misc/Makefile (headers): Add bits/select2.h.
51942         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51943         * misc/bits/select2.h: New file.
51944         * include/bits/select2.h: New file.
51945         * debug/Makefile (routines): Add fdelt_chk.
51946         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51947         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51948         FD_ISSET.
51949         * debug/fdelt_chk.c: New file.
51950
51951         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
51952         * wcsmbs/test-wmemcmp.c: Likewise.
51953         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51954         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51955
51956 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51957
51958         * string/Makefile (strop-tests): Add memcmp.
51959         * string/test-wmemcmp.c: New file.
51960         * string/test-memcmp.c: Add wmemcmp support.
51961
51962 2011-09-08  Roland McGrath  <roland@hack.frob.com>
51963
51964         [BZ #13153]
51965         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51966         2011-07-19 change.
51967
51968         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51969         garbage value in a __mach_port_mod_refs call in the cases of the
51970         task-self and thread-self ports.
51971
51972 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51973
51974         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51975
51976 2011-09-08  Andreas Schwab  <schwab@redhat.com>
51977
51978         * elf/dl-load.c (lose): Check for non-null L.
51979
51980 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51981
51982         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51983
51984         * elf/dl-libc.c (dlerror_run): Pass back error code from
51985         dl_catch_error.
51986
51987         [BZ #13123]
51988         * elf/dl-load.c (lose): Free l_origin if it is valid.
51989
51990         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51991         names.
51992         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51993         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51994         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51995         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51996         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51997         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51998
51999 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52000
52001         * sysdeps/powerpc/fpu/e_hypot.c: New file.
52002         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52003         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52004         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52005         * sysdeps/powerpc/fpu/k_cosf.c: New file.
52006         * sysdeps/powerpc/fpu/k_sinf.c: New file.
52007         * sysdeps/powerpc/fpu/s_cosf.c: New file.
52008         * sysdeps/powerpc/fpu/s_sinf.c: New file.
52009         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52010         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52011
52012 2011-08-15  Alan Modra  <amodra@gmail.com>
52013
52014         [BZ #13092]
52015         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52016         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52017         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
52018         ppc_mcount to static-only-routines.
52019         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52020         __mcount_internal.
52021         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52022         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
52023
52024 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
52025
52026         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52027         for finite and infinity parameters.
52028
52029 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
52030
52031         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52032         and add nop instructions for throughput optimization.
52033         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52034
52035 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
52036
52037         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52038         aligned copy for power7 with vector-scalar instructions.
52039         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52040
52041 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
52042
52043         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52044         AVX check.
52045
52046 2011-09-07  Andreas Schwab  <schwab@redhat.com>
52047
52048         [BZ #13144]
52049         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52050         last change.
52051
52052 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52053
52054         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52055         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52056         syscall wrapper around clock_gettime in __vdso_clock_gettime.
52057         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52058         clock_gettime.
52059
52060 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52061
52062         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52063         Forgot to demangle the pointer.
52064
52065         * sysdeps/i386/sysdep.h: Define atom_text_section.
52066         * sysdeps/x86_64/sysdep.h: Likewise.
52067         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52068         section with atom_text_section.
52069         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52070         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52071         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52072         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52073         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52074
52075         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52076         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52077         already be defined.  Change to take two parameters and don't assign
52078         result to variable.  Adjust all users.
52079         Define INTERNAL_GETTIME if not already defined.
52080         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52081         call.
52082         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52083         HAVE_CLOCK_GETTIME_VSYSCALL.
52084         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52085
52086         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52087         gettimeofday vsyscall, just use time.
52088
52089 2011-09-06  Andreas Schwab  <schwab@redhat.com>
52090
52091         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52092         <errno.h>.
52093
52094 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52095
52096         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52097         syscall on x86-64.
52098         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52099         syscall.
52100         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52101         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52102         syscall if possible.
52103
52104 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52105
52106         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52107         e_ident.  Don't pass to find_mapsXX.
52108         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52109
52110 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52111
52112         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52113         strchr-sse2-no-bsf strrchr-sse2-no-bsf
52114         * sysdeps/x86_64/multiarch/strchr.S: Update.
52115         Check bit_slow_BSF bit.
52116         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52117         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52118         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52119
52120 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52121
52122         [BZ #13134]
52123         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52124         before glibc 2.15.
52125         (tryshell): Define.
52126         (__spawni): Change last parameter to be flag.  Test
52127         SPAWN_XFLAGS_USE_PATH flag to use path or not.
52128         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52129         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52130         * posix/spawni.c: Likewise.
52131         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52132         * posix/spawnp.c: Likewise.  Change normal version to use
52133         SPAWN_XFLAGS_USE_PATH.
52134         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52135         SPAWN_XFLAGS_TRY_SHELL.
52136
52137         [BZ #13150]
52138         * posix/glob.h: Remove gcc 1.x support.
52139
52140         [BZ #13068]
52141         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52142
52143 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52144
52145         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52146         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52147         strrchr-sse2-bsf
52148         * sysdeps/i386/i686/multiarch/strchr.S: New file.
52149         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52150         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52151         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52152         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52153         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52154
52155 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52156
52157         * sysdeps/x86_64/wcscmp.S: New file.
52158
52159         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52160         wcscmp-c wcscmp-sse2
52161         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52162         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52163         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52164         * wcsmbs/wcscmp.c: Allow renaming.
52165
52166 2011-09-05  David S. Miller  <davem@davemloft.net>
52167
52168         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52169         stack slot, rather than the struct return pointer slot.
52170         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52171         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52173         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52174
52175 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52176
52177         * po/ja.po: Update from translation team.
52178
52179         [BZ #13144]
52180         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52181         kernel in 64-bit binaries.
52182
52183 2011-09-01  David S. Miller  <davem@davemloft.net>
52184
52185         * elf/elf.h (HWCAP_SPARC_*): Move to..
52186         * sysdeps/sparc/sysdep.h: this new file and add new values.
52187         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52188         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52189         _DL_HWCAP_COUNT to 24.
52190         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52191         entries.
52192         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52193         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52194         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52195         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52196         instead of magic constants.
52197         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52198
52199 2011-08-31  David S. Miller  <davem@davemloft.net>
52200
52201         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52202         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52203         Reimplement to do errno handling inline.
52204         (SYSCALL_ERROR_HANDLER): New macro.
52205         (__SYSCALL_STRING): Do not do errno handling in asm.
52206         (__CLONE_SYSCALL_STRING): Delete.
52207         (__INTERNAL_SYSCALL_STRING): Delete.
52208         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52209         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52210         (PSEUDO): Reimplement to do errno handling inline.
52211         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52212         (SYSCALL_ERROR_HANDLER): New macro.
52213         (__SYSCALL_STRING): Do not do errno handling in asm.
52214         (__CLONE_SYSCALL_STRING): Delete.
52215         (__INTERNAL_SYSCALL_STRING): Delete.
52216         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52217         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52218         i386.
52219         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52220         (inline_syscall*): Add 'err' argument.
52221         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52222         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52223         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52224         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52225
52226         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52227         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52228
52229 2011-08-30  Andreas Schwab  <schwab@redhat.com>
52230
52231         * elf/rtld.c (dl_main): Relocate objects in dependency order.
52232
52233 2011-08-29  Jiri Olsa <jolsa@redhat.com>
52234
52235         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52236         directive.
52237
52238 2011-08-24  David S. Miller  <davem@davemloft.net>
52239
52240         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52241
52242 2011-08-24  Andreas Schwab  <schwab@redhat.com>
52243
52244         * elf/Makefile: Add rules to build and run unload8 test.
52245         * elf/unload8.c: New file.
52246         * elf/unload8mod1.c: New file.
52247         * elf/unload8mod1x.c: New file.
52248         * elf/unload8mod2.c: New file.
52249         * elf/unload8mod3.c: New file.
52250
52251         * elf/dl-close.c (_dl_close_worker): Reset private search list if
52252         it wasn't used.
52253
52254 2011-08-23  David S. Miller  <davem@davemloft.net>
52255
52256         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52257         subtract stack bias.
52258         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52259         %sp not %fp in calculations.
52260         (_JMPBUF_UNWINDS_ADJ): Likewise.
52261
52262         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52263         (aio_suspend): Call it to force an exception region around the
52264         AIO_MISC_WAIT() invocation.
52265
52266 2011-08-23  Andreas Schwab  <schwab@redhat.com>
52267
52268         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52269         backslash.
52270
52271 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
52272
52273         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52274         protection macro.
52275         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52276         and <dl-machine.h>.
52277         (Elf64_FuncDesc): Remove.
52278
52279 2011-08-22  David S. Miller  <davem@davemloft.net>
52280
52281         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52282         sigaltstack check, add missing cfi directives.
52283         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52284         missing cfi directives, and sigaltstack handling.
52285
52286 2011-08-16  Andreas Schwab  <schwab@redhat.com>
52287
52288         [BZ #11724]
52289         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52290         object is seen twice.
52291         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52292
52293         * elf/Makefile (distribute): Add tst-initorder2.c.
52294         (tests): Add tst-initorder2.
52295         (modules-names): Add tst-initorder2a tst-initorder2b
52296         tst-initorder2c tst-initorder2d.  Add rules to build them.
52297         ($(objpfx)tst-initorder2.out): New rule.
52298         * elf/tst-initorder2.c: New file.
52299         * elf/tst-initorder2.exp: New file.
52300
52301 2011-08-22  Andreas Schwab  <schwab@redhat.com>
52302
52303         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52304
52305         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52306         dependencies back to end of function.
52307
52308         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52309         $(elfobjdir)/ld.so.
52310
52311 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
52312
52313         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52314         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52315         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52316         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52317         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52318         of __vdso_gettimeofday.
52319         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52320         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
52321         attribute_hidden.
52322         (_libc_vdso_platform_setup): Remove initialization of
52323         __vdso_gettimeofday and __vdso_time.
52324
52325 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52326
52327         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52328         and fgetc_unlocked.
52329         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52330         getc_unlocked.
52331
52332         * elf/dl-open.c (add_to_global): Report additions to the global scope
52333         for LD_DEBUG=scopes.
52334         (dl_open_worker): Also print scope of newly loaded dependencies.
52335         (_dl_show_scope): Indicate if there is no scope.
52336
52337         [BZ #13114]
52338         * stdio-common/Makefile (tests): Add bug24.
52339         * stdio-common/bug24.c: New file.
52340
52341 2011-08-19  Andreas Jaeger  <aj@suse.de>
52342
52343         [BZ #13114]
52344         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52345         non-existant file when using close-on-exec mode.
52346
52347 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52348
52349         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52350         the very first instruction.
52351
52352         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52353         the CFI state in the end.
52354         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52355         inclusion of dl-trampoline.h.
52356         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52357
52358 2011-08-19  Andreas Schwab  <schwab@redhat.com>
52359
52360         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52361         expectations for long double.
52362
52363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52364         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52365
52366 2011-08-14  David S. Miller  <davem@davemloft.net>
52367
52368         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52369         artificual limit depends upon the system page size.
52370
52371 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52372
52373         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52374         * resolv/Makefile: Define CFLAGS-libresolv.
52375
52376 2011-08-17  Andreas Schwab  <schwab@redhat.com>
52377
52378         * nss/makedb.c (compute_tables): Make variables used in nested
52379         function static.
52380
52381 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52382
52383         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52384         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52385         if buffer was too small.
52386
52387         * elf/pldd.c (main): Attach to all threads in the process.
52388         Rewrite /proc handling to use *at functions.
52389
52390 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
52391
52392         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52393         specifies first scope to show.
52394         (dl_open_worker): Update callers.  Move printing scope of new
52395         object to before the relocation.
52396         * elf/rtld.c (dl_main): Update _dl_show_scope call.
52397         * sysdeps/generic/ldsodefs.h: Update declaration.
52398
52399         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52400         string for the scope number.
52401
52402 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
52403
52404         * nscd/servicescache.c (cache_addserv): Make sure written is always
52405         initialized.
52406
52407 2011-08-14  Roland McGrath  <roland@hack.frob.com>
52408
52409         * sysdeps/i386/i486/bits/atomic.h
52410         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52411         statement expression, so as to suppress "set but not used" warning.
52412         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52413
52414         * string/strncat.c (STRNCAT): Use prototype definition.
52415
52416         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52417         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52418         -Iprograms here.
52419         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52420         (localedef-modules): Add localedef.
52421         (locale-modules): Add locale.
52422
52423         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52424         * elf/rtld.c (dl_main): Invert order of assignment in last change,
52425         to avoid a warning.
52426
52427 2011-08-14  David S. Miller  <davem@davemloft.net>
52428
52429         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52430         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52431
52432 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
52433
52434         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52435         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52436         * elf/rtld.c (dl_main): Set l_name of vDSO.
52437         Call _dl_show_scope when DL_DEBUG_SCOPES.
52438         (process_dl_debug): Recognize scopes flag and also set it for all.
52439         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52440         Declare _dl_show_scope.
52441
52442         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52443         (do_dlopen): Pass caller_dlopen to dl_open.
52444         (__libc_dlopen_mode): Initialize caller_dlopen.
52445
52446         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52447         of libc.  Make tolower call locale-independent.  Optimize a bit by
52448         using isdigit instead of isalnum.
52449         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52450
52451 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
52452
52453         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52454         was a dependency or dynamically loaded.
52455
52456 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
52457
52458         * intl/l10nflist.c: Allow architecture-specific pop function.
52459         * sysdeps/x86_64/l10nflist.c: New file.
52460
52461         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52462         classification.
52463
52464 2011-08-10  Andreas Schwab  <schwab@redhat.com>
52465
52466         * include/dirent.h: Add libc_hidden_proto for scandirat and
52467         scandirat64.  Don't declare __scandirat64.
52468         * dirent/scandirat.c: Add libc_hidden_def.
52469         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52470         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52471
52472 2011-08-10  David S. Miller  <davem@davemloft.net>
52473
52474         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52475         enum.
52476         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52477         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52478         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52479
52480 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
52481
52482         * Versions.def [libc]: Add GLIBC_2.15.
52483         * dirent/Makefile (routines): Add scandirat and scandirat64.
52484         * dirent/Versions [libc]: Export scandirat and scandirat64 for
52485         GLIBC_2.15.
52486         * dirent/dirent.h: Declare scandirat and scandirat64.
52487         * dirent/scandirat.c: New file.
52488         * dirent/scandirat64.c: New file.
52489         * sysdeps/wordsize-64/scandirat.c: New file.
52490         * sysdeps/wordsize-64/scandirat64.c: New file.
52491         * dirent/opendir.c: Define opendirat.
52492         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
52493         using scandirat.
52494         * dirent/scandir64.c: Adjust for scandir.c change.
52495         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
52496         __scandirat64, and __scandir_cancel_handler.
52497         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
52498         additional parameter and use openat instead of open (outside of ld.so).
52499         Add new __opendir as wrapper around __opendirat.
52500         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52501         here without requiring old scandirat implementation.
52502
52503 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
52504
52505         * dirent/scandir.c (cancel_handler): Renamed to
52506         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
52507         defined.  Adjust users.
52508         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52509         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52510
52511 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
52512
52513         * string/test-string.h (IMPL): Use __STRING to expand name and then
52514         stringify it.
52515
52516         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
52517         of cleanups.
52518
52519 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52520
52521         * string/Makefile: Update.
52522         (strop-tests): Append strncat.
52523         * string/test-wcscmp.c: New file.
52524         New comprehensive test for wcscmp.
52525         * string/test-strcmp.c: Update.
52526         (WIDE): New define.
52527
52528 2011-07-22  Andreas Schwab  <schwab@redhat.com>
52529
52530         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52531         line.
52532
52533 2011-07-26  Andreas Schwab  <schwab@redhat.com>
52534
52535         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52536         encoding to ACE if AI_IDN.
52537
52538 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
52539
52540         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52541         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52542
52543 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52544
52545         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52546         Fix overflow bug in strncat.
52547         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52548
52549         * string/test-strncat.c: Update.
52550         Add new tests for checking overflow bugs.
52551
52552 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52553
52554         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52555         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52556         * sysdeps/i386/i686/multiarch/strcat.S: New file.
52557         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52558         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52559         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52560         * sysdeps/i386/i686/multiarch/strncat.S: New file.
52561         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52562         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52563
52564         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52565         (USE_AS_STRCAT): Define.
52566         Add strcat and strncat support.
52567         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52568
52569 2011-07-25  Andreas Schwab  <schwab@redhat.com>
52570
52571         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52572         __n bigger than INT_MAX+1.
52573         (__strncmp_g): Likewise.
52574
52575 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
52576
52577         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52578         * libio/stido.h: Likewise.
52579
52580         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52581         (AF_NFC): Define.
52582         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52583         (AF_NFC): Define.
52584
52585         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52586         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52587         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52588         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52589         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52590
52591         [BZ #13021]
52592         * scripts/test-installation.pl: Don't expect libnss_test1 to be
52593         installed.
52594
52595         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52596         typo.
52597         (_dl_x86_64_save_sse): Likewise.
52598
52599 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
52600
52601         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52602         OSXSAVE.
52603         (_dl_x86_64_save_sse): Likewise.
52604
52605         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52606
52607         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52608
52609 2011-07-21  Andreas Schwab  <schwab@redhat.com>
52610
52611         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52612         change.
52613         (_dl_x86_64_save_sse): Use correct AVX check.
52614
52615 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52616
52617         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52618         bug in strncpy/strncat.
52619         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52620
52621 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
52622
52623         * string/tester.c (test_strcat): Add tests for different alignments
52624         of source and destination.
52625         (test_strncat): Likewise.
52626
52627 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52628
52629         [BZ #12852]
52630         * posix/glob.c (glob): Check passed in values before using them in
52631         expressions to avoid some overflows.
52632         (glob_in_dir): Likewise.
52633
52634         [BZ #13007]
52635         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52636         check for AVX enablement so that we don't crash with old kernels and
52637         new hardware.
52638         * elf/tst-audit4.c: Add same checks here.
52639         * elf/tst-audit6.c: Likewise.
52640
52641         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52642
52643 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
52644
52645         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52646
52647 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52648
52649         * po/cs.po: Update from translation team.
52650         * po/bg.po: Likewise.
52651
52652 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
52653
52654         * misc/sys/cdefs.h: Add support for const attribute.
52655         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52656         to gnu_dev_{major,minor,makedev} functions.
52657
52658 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
52659
52660         * intl/dcigettext.c (get_output_charset): Add missing bracket.
52661
52662 2011-07-20  Andreas Schwab  <schwab@redhat.com>
52663
52664         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52665         strlen results.
52666
52667 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52668
52669         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52670         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52671         register in order to avoid conflicts with the soft frame pointer
52672         being held in r11 when necessary.
52673         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52674         (INTERNAL_VSYSCALL_NCS): Likewise.
52675
52676 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
52677
52678         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52679         * elf/dl-fini.c (_dl_fini): Adjust caller.
52680         * elf/dl-close.c (_dl_close_worker): Likewise.
52681         * sysdeps/generic/ldsodefs.h: Adjust declaration.
52682
52683 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52684
52685         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52686         "aux_cache->nlibs < 0".
52687
52688         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52689         in the reload-count case.
52690
52691 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52692
52693         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52694         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52695         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52696         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52697         * sysdeps/x86_64/multiarch/strcat.S: New file.
52698         * sysdeps/x86_64/multiarch/strncat.S: New file.
52699         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52700         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52701         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52702         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52703         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52704         (USE_AS_STRCAT): Define.
52705         Add strcat and strncat support.
52706         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52707         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52708         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52709         * string/strncat.c: Update.
52710         (USE_AS_STRNCAT): Define.
52711         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52712         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52713         and i7.
52714         * sysdeps/x86_64/multiarch/init-arch.h
52715         (bit_Prefer_PMINUB_for_stringop): New.
52716         (index_Prefer_PMINUB_for_stringop): Likewise.
52717         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52718         bit_Prefer_PMINUB_for_stringop.
52719
52720 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52721
52722         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52723         buffer64.
52724         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52725         of casting of buffer.
52726         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52727         buffer32 and buffer64.
52728         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52729         writes instead of casting of buffer.
52730         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52731         buffer32.
52732         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52733         casting of buffer.
52734
52735 2011-07-19  Andreas Schwab  <schwab@redhat.com>
52736
52737         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52738
52739 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52740
52741         * nscd/nscd.c (termination_handler): Don't do anything for a database
52742         if it has not yet been initialized.
52743
52744 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52745
52746         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52747
52748 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52749
52750         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52751
52752 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52753
52754         * po/nl.po: Update from translation team.
52755         * po/sv.po: Likewise.
52756
52757 2011-07-16  Roland McGrath  <roland@hack.frob.com>
52758
52759         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52760         now disallowed by GCC.
52761
52762         * configure.in (use-default-link): Default to yes if a test -shared
52763         link meets our qualifications.
52764         * configure: Regenerated.
52765
52766         * config.make.in (output-format): New variable.
52767         * configure.in: Check for ld --print-output-format support.
52768         * configure: Regenerated.
52769         * Makerules ($(common-objpfx)format.lds)
52770         [$(output-format) != unknown]: Just use $(output-format),
52771         instead of the linker-script munging.
52772
52773 2011-07-14  Roland McGrath  <roland@hack.frob.com>
52774
52775         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52776         of $(common-objpfx)shlib.lds.
52777         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52778
52779         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52780         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52781
52782         * configure.in (-z relro check): Adjust test code to add a large
52783         writable data section after it.
52784         * configure: Regenerated.
52785
52786 2011-07-11  Roland McGrath  <roland@hack.frob.com>
52787
52788         * configure.in (-z relro check): Fix test code to make the variable
52789         truly const.
52790         * configure: Regenerated.
52791
52792 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
52793
52794         * nscd/nscd.h (struct traced_file): Define.
52795         (struct database_dyn): Remove inotify_descr, reset_res, and filename
52796         elements.  Add traced_files.
52797         (inotify_fd): Declare.
52798         (register_traced_file): Declare.
52799         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52800         (inotify_fd): Export.
52801         (resolv_conf_descr): Remove.
52802         (nscd_init): Move inotify descriptor creation to main.
52803         Don't register files for notification here.
52804         (register_traced_file): New function.
52805         (invalidate_cache): Don't use reset_res to determine whether to call
52806         res_init, go through the list of registered files.
52807         (main_loop_poll): The inotify descriptors are now stored in the
52808         structures for the traced files.
52809         (main_loop_epoll): Likewise
52810         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
52811         to __nss_disable_nscd.
52812         * nscd/cache.c (prune_cache): There is no single inotify descriptor
52813         for a database anymore.  Check the records for all the registered
52814         files instead.
52815         * nss/Makefile (libnss_files-routines): Add files-init.
52816         (libnss_db-routines): Add db-init.
52817         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52818         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52819         * nss/nss_db/db-init.c: New file.
52820         * nss/nss_files/files-init.c: New file.
52821         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
52822         __nss_lookup_function.
52823         (__nss_lookup_function): Call nss_load_library.
52824         (nss_load_all_libraries): New function.
52825         (__nss_disable_nscd): Take parameter with callback function for files
52826         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
52827         used for the cached services.
52828         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52829         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52830         options for features to all the files in nscd.
52831
52832         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52833
52834 2011-07-10  Roland McGrath  <roland@hack.frob.com>
52835
52836         * csu/elf-init.c (__libc_csu_init): Comment typo.
52837
52838 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
52839
52840         * po/pl.po: Update from translation team.
52841         * po/ja.po: Likewise.
52842         * po/ru.po: Likewise.
52843         * po/ko.po: Likewise.
52844         * po/fr.po: Likewise.
52845
52846 2011-07-09  Roland McGrath  <roland@hack.frob.com>
52847
52848         * configure.in (.ctors/.dtors header and trailer check):
52849         Use an empirical test on a built program.
52850         * configure: Regenerated.
52851
52852         * configure.in (-z relro check): Use an empirical test on a built DSO.
52853         Detect, but do not require, on ia64.
52854         * configure: Regenerated.
52855
52856         * configure.in (READELF): Find it with AC_CHECK_TOOL.
52857         Update tests that use readelf to use $READELF instead.
52858         * configure: Regenerated.
52859
52860 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
52861
52862         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52863         if the result is not used.
52864
52865 2011-07-05  Andreas Jaeger  <aj@suse.de>
52866
52867         [BZ#9696]
52868         * stdlib/tst-strtod.c: Add testcase.
52869
52870 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
52871
52872         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52873         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52874         The latter has a higher limit.  Take additional parameter to pass to
52875         the new function.
52876         (__pathconf): Pass file to __statfs_link_max.
52877         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52878         __statfs_link_max.
52879         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52880         __statfs_link_max.
52881
52882         [BZ #12868]
52883         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52884         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52885         Handle Lustre.
52886         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52887         (__statfs_filesize_max): Likewise.
52888         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52889
52890 2011-07-05  Andreas Jaeger  <aj@suse.de>
52891
52892         * resolv/res_comp.c (dn_skipname): Remove unused variable.
52893
52894 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
52895
52896         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52897         `status' variable.
52898         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52899         Likewise.
52900
52901 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
52902
52903         * Makefile (strop-tests): Add strncat.
52904         * string/test-strncat.c: New file.
52905
52906 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
52907
52908         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52909
52910 2011-06-21  Andreas Jaeger  <aj@suse.de>
52911
52912         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52913         Copy rule from iconvdata/Makefile.
52914
52915 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
52916
52917         [BZ #12922]
52918         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52919         but no long options are defined, just return 'W'.
52920
52921 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
52922
52923         [BZ #9696]
52924         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52925
52926 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
52927
52928         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52929         netgroups to read.
52930         (innetgr): Likewise.
52931
52932 2011-07-05  Roland McGrath  <roland@hack.frob.com>
52933
52934         * config.make.in (install_root): Default to $(DESTDIR).
52935
52936 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
52937
52938         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52939
52940 2011-07-02  Roland McGrath  <roland@hack.frob.com>
52941
52942         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52943
52944         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52945         containing directory rather than embedding absolute directory names.
52946
52947         * scripts/check-local-headers.sh: Rewritten using awk.
52948         Match by word, not by line.  Print error messages for matches.
52949         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52950
52951         * Makerules [shlib-lds-flags empty]:
52952         ($(common-objpfx)libc_pic.opts): New target.
52953         ($(common-objpfx)libc_pic.os.clean): New target.
52954         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52955
52956         * config.make.in (OBJCOPY): New variable.
52957         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52958         * configure: Regenerated.
52959
52960         * config.make.in (use-default-link): New variable.
52961         * configure.in (use_default_link): Grok --with-default-link to set it.
52962         * configure: Regenerated.
52963         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52964         (shlib-lds, shlib-lds-flags): Define to empty.
52965
52966         * Makerules (shlib-lds): New variable.
52967         (shlib-lds-flags): New variable.
52968         (build-shlib, build-moduile, build-module-asneeded): Use it.
52969         ($(common-objpfx)libc.so): Use $(shlib-lds).
52970         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52971         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52972
52973         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52974         DT_FLAGS/DT_FLAGS_1 with zero flags.
52975
52976         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52977         linker script munging.
52978
52979 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
52980
52981         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52982         as 128-bit value.
52983         * crypt/sha512.c (sha512_process_block): Perform total addition using
52984         128-bit if possible.
52985         (__sha512_finish_ctx): Likewise.
52986         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52987         as 64-bit value.
52988         * crypt/sha256.c (SWAP64): Define.
52989         (sha256_process_block): Perform total addition using 64-bit if
52990         possible.
52991         (__sha256_finish_ctx): Likewise.
52992
52993 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
52994
52995         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
52996         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52997         * nscd/hstcache.c (cache_addhst): Likewise.
52998         * nscd/grpcache.c (cache_addgr): Likewise.
52999         * nscd/aicache.c (addhstaiX): Likewise
53000         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53001
53002 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
53003
53004         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53005         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53006         * nscd/hstcache.c (cache_addhst): Likewise.
53007         * nscd/grpcache.c (cache_addgr): Likewise.
53008         * nscd/aicache.c (addhstaiX): Likewise
53009
53010 2011-07-01  Andreas Schwab  <schwab@redhat.com>
53011
53012         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53013         domain only when needed.
53014
53015 2011-06-30  Andreas Schwab  <schwab@redhat.com>
53016
53017         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53018         is always restored.
53019
53020 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
53021
53022         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53023         are re-adding the entry.
53024         * nscd/servicescache.c (cache_addserv): Likewise.
53025
53026 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
53027
53028         * sysdeps/generic/dl-irel.h: fix protection against multiple
53029         inclusions.
53030         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53031
53032 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
53033
53034         [BZ #12935]
53035         * malloc/memusage.sh: Fix quoting in message.
53036         * debug/xtrace.sh: Likewise.
53037
53038         * configure.in: Remove support for --experimental-malloc option, make
53039         it the default.
53040         * config.make.in: Likewise.
53041         * malloc/Makefile: Likewise.
53042
53043 2011-06-27  Andreas Schwab  <schwab@redhat.com>
53044
53045         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53046         two-byte characters.
53047
53048 2011-06-27  Roland McGrath  <roland@hack.frob.com>
53049
53050         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53051         AC_CACHE_CHECK invocation.
53052         * configure: Regenerated.
53053
53054         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53055
53056 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
53057
53058         [BZ #12350]
53059         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
53060         bit from old_res_options.
53061
53062         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53063
53064         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53065         value type for setfct.
53066
53067 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
53068
53069         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53070         __gettimeofday instead of gettimeofday.
53071
53072 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
53073
53074         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53075
53076 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
53077
53078         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53079
53080         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53081         info.
53082
53083 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53084
53085         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53086         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53087         strcpy-sse2-unaligned strncpy-sse2-unaligned
53088         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53089         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53090         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53091         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53092         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53093         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53094         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53095         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53096         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53097         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53098         (STRCPY): Support SSE2 and SSSE3 versions.
53099
53100 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
53101
53102         [BZ #12874]
53103         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53104         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53105         kernels which artificially limit size of requests.
53106
53107 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53108
53109         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53110         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53111         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53112         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53113         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53114         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53115         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53116         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53117         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53118         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53119         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53120         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53121         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53122         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53123         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53124         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53125         Enable unaligned load optimization for Intel Core i3, i5 and i7
53126         processors.
53127         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53128         Define.
53129         (index_Fast_Unaligned_Load): Define.
53130         (HAS_FAST_UNALIGNED_LOAD): Define.
53131
53132 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
53133
53134         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53135
53136 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53137
53138         [BZ #12907]
53139         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53140         until it is clear that the information is realy needed.
53141         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53142
53143 2011-06-22  Andreas Schwab  <schwab@redhat.com>
53144
53145         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53146
53147 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53148
53149         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53150         /sys/devices/system/cpu/online if it is usable.
53151
53152         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53153         reading the information from the /proc filesystem to once a second.
53154
53155 2011-06-21  Andreas Jaeger  <aj@suse.de>
53156
53157         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53158         NULL after inclusion of kernel headers.
53159
53160 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
53161
53162         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53163         calls to internal_setent.
53164
53165         [BZ #12885]
53166         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53167         addresses using gethostbyname4_r ignore IPv4 addresses.
53168
53169         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53170         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
53171
53172         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53173
53174 2011-06-20  David S. Miller  <davem@davemloft.net>
53175
53176         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53177         inclusions.
53178         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53179
53180         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53181         (elf_irel): Use it.
53182         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53183         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53184         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53185         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53186         * sysdeps/x86_64/dl-irel.h: Likewise.
53187
53188         * elf/dl-runtime.c: Use elf_ifunc_invoke.
53189         * elf/dl-sym.c: Likewise.
53190
53191 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53192
53193         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
53194         need to dereference resplen2.
53195
53196 2011-06-14  Andreas Schwab  <schwab@redhat.com>
53197
53198         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53199
53200 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53201
53202         * Makeconfig: Define vardbdir and inst_vardbdir.
53203         * nss/Makefile: Add rules to install db-Makefile.
53204
53205         * nss/nss_db/db-XXX.c: Cleanup.
53206
53207         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53208         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53209         GLIBC_PRIVATE.
53210         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53211         * nss/makedb.c: Implement -g option to specify that value strings
53212         are generated and should not be added to table iterated over for
53213         get*ent calls.
53214         * nss/nss_db/db-initgroups.c: New file.
53215
53216         * nss/getent.c: Add support for initgroups lookups through getgrouplist
53217         interface.
53218
53219         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53220         (internal_getgrouplist): Adjust to name change.
53221         Update use_initgroups_entry if this is not the first call.
53222         * nss/databases.def: Add initgroups entry.
53223
53224         * nss/makedb.c (compute_tables): Check result of multiple hash table
53225         sizes to minimize maximum chain length.
53226
53227 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
53228
53229         * Versions.def: Add entry for libnss_db.
53230         * shlib-versions: Likewise.
53231         * nss/Makefile: Add rules to build libnss_db.
53232         * nss/Versions: Add libnss_db information.  Organize libnss_files
53233         entries better.
53234         * nss/db-Makefile: Add gshadow support.  Change rules for the new
53235         makedb progra.  Some minor improvements to generate smaller files.
53236         * nss/nss_db/nss_db.h: Move NSS database header data structures to
53237         here from...
53238         * nss/makedb.c: ...here.
53239         Improve database format to be smaller and require less memory at
53240         runtime.
53241         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
53242         db anymore.
53243         * nss/nss_db/db-netgrp.c: Likewise.
53244         * nss/nss_db/db-open.c: Likewise.
53245         * nss/nss_files/flies-XXX.x: Adjust comments.
53246         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53247         * nss/nss_files/files-grp.c: Likewise.
53248         * nss/nss_files/files-hosts.c: Likewise.
53249         * nss/nss_files/files-network.c: Likewise.
53250         * nss/nss_files/files-proto.c: Likewise.
53251         * nss/nss_files/files-pwd.c: Likewise.
53252         * nss/nss_files/files-rpc.c: Likewise.
53253         * nss/nss_files/files-service.c: Likewise.
53254         * nss/nss_files/files-sgrp.c: Likewise.
53255         * nss/nss_files/files-spwd.c: Likewise.
53256         * nss/nss_db/db-alias.c: Removed.
53257         * nss/nss_db/dummy-db.h: Removed.
53258
53259 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
53260
53261         * nss/makedb.c: Rewritten to not use database library.
53262         * nss/Makefile: Update to build new makedb program.
53263
53264 2011-06-14  Andreas Jaeger  <aj@suse.de>
53265
53266         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53267         memset declaration.
53268
53269 2011-06-10  Andreas Schwab  <schwab@redhat.com>
53270
53271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53272         tmpbuf.
53273
53274 2011-06-10  Roland McGrath  <roland@hack.frob.com>
53275
53276         * Makerules (shlib.lds): Fail if the linker script comes out empty.
53277         * elf/Makefile ($(objpfx)ld.so): Likewise.
53278
53279         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53280         Don't list ld.so twice in dependencies.
53281
53282         * posix/bug-regex31.c: Include <stdlib.h>.
53283
53284         * nscd/hstcache.c (cache_addhst): Remove unused variable.
53285
53286         * nis/nss_compat/compat-spwd.c
53287         (getspent_next_nss_netgr): Remove unused variable.
53288         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53289
53290         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53291         nonmembers" output to use the right array.
53292
53293         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53294
53295         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53296
53297         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53298         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53299         * catgets/gencat.c (read_input_file): Likewise.
53300         * locale/programs/locarchive.c (enlarge_archive): Likewise.
53301
53302         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53303         variable definition inside #if's controlling its use.
53304
53305         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53306
53307         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53308
53309         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53310
53311         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53312         unreachable code.
53313
53314         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53315
53316         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53317         * configure: Regenerated.
53318
53319         * Makerules: Revert last change.
53320         * elf/Makefile: Likewise.
53321
53322 2011-06-09  Roland McGrath  <roland@hack.frob.com>
53323
53324         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53325         * elf/Makefile ($(objpfx)librtld.os): Likewise.
53326         (reloc-link): Likewise.
53327
53328 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
53329
53330         * elf/Makefile: Add rules to build pldd.
53331         * elf/pldd.c: New file.
53332         * elf/pldd-xx.c: New file.
53333
53334 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
53335
53336         * version.h: Update for 2.15 development version.
53337
53338 2011-06-07  David S. Miller  <davem@davemloft.net>
53339
53340         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53341         ifuncs.
53342         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53343         elf_machine_lazy_rel): Likewise.
53344         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53345         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53346         elf_machine_lazy_rel): Likewise.
53347         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53348         dl_hwcap via passed in argument.
53349         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53350         Likewise.
53351
53352 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53353
53354         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
53355
53356 2011-06-06  Roland McGrath  <roland@hack.frob.com>
53357
53358         [BZ #12849]
53359         * manual/fdl-1.1.texi: New file, verbatim from:
53360         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53361         * manual/lgpl-2.1.texi: New file, verbatim from:
53362         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53363         * manual/Makefile (licenses): New variable, list those new file names.
53364         (texis): Use it.
53365         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53366
53367         * manual/fdl.texi: File removed.
53368         * manual/lesser.texi: File removed.
53369         * manual/libc.texinfo (Copying, Documentation License):
53370         Use new @include file names, put @appendix directive before @include.
53371
53372 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
53373
53374         [BZ #12841]
53375         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53376         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53377         (mq_open): Add __NTH.
53378
53379 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
53380
53381         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53382         Assume Intel Core i3/i5/i7 processor if AVX is available.
53383
53384 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53385
53386         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53387         typo.
53388
53389 2011-05-31  Andreas Schwab  <schwab@redhat.com>
53390
53391         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53392         memory.  Use alloca_account.  Fix memory leak when retrying.
53393
53394 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53395
53396         * version.h (RELEASE): Bump for 2.14 release.
53397         * include/features.h (__GLIBC_MINOR__): Bump to 14.
53398
53399         * config.make.in (RANLIB): Remove entry.
53400
53401 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
53402
53403         * po/Makefile (po-sed-cmd): Add ksh to extensions.
53404         (libc.pot): Work around missing support for .ksh extension in xgettext.
53405
53406         [BZ #12684]
53407         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53408         if both request failed.
53409         (send_dg): In case of server errors clear resplen or *resplen2.
53410
53411         [BZ #12454]
53412         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53413         when there are multiple maps.
53414         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53415         (_dl_fini): Remove test here.
53416
53417         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53418
53419 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
53420
53421         [BZ #12350]
53422         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53423         bit from old_res_options.
53424         (gaih_inet): Likewise.
53425
53426         [BZ #11099]
53427         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53428         as signed.
53429
53430         * resolv/res_init.c (res_setoptions): Make the code more compact.
53431
53432         [BZ #11558]
53433         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53434         set RES_USEVC.
53435
53436         [BZ #11634]
53437         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53438
53439         * malloc/malloc.h: Mark malloc hook variables as deprecated.
53440
53441         [BZ #11781]
53442         * malloc/malloc.h: Declare malloc hook variables as volatile.
53443
53444         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53445         in last patch.
53446
53447         [BZ #11799]
53448         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53449         raise in the comment.
53450         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53451         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53452         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53453
53454 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
53455
53456         [BZ #12811]
53457         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53458         grow the buffers more if it already has to be sufficient.
53459         (build_wcs_upper_buffer): Likewise.
53460         * posix/regexec.c (check_matching): Likewise.
53461         (clean_state_log_if_needed): Likewise.
53462         (extend_buffers): Don't enlarge buffers beyond size of the input
53463         buffer.
53464         Patches mostly by Emil Wojak <emil@wojak.eu>.
53465         * posix/bug-regex32.c: New file.
53466         * posix/Makefile (tests): Add bug-regex32.
53467
53468         * locale/findlocale.c (_nl_find_locale): Return right away if
53469         _nl_explode_name failed.
53470         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53471
53472         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53473
53474         * debug/xtrace.sh: Unify messages.
53475         * malloc/memusage.sh: Likewise.
53476
53477         [BZ #12813]
53478         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53479         time symbol from vDSO.  Substitute with vsyscall if not available.
53480         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53481         __vdso_time.
53482
53483         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53484         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53485         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53486         Add sendmmsg and internal_sendmmsg.
53487         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53488         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53489         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53490
53491         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53492         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53493         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53494
53495 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
53496
53497         [BZ #12813]
53498         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53499         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
53500         available.
53501         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53502         __vdso_getcpu.
53503
53504         [BZ #12814]
53505         * iconvdata/Makefile (tests): Add bug-iconv9.
53506         * iconvdata/bug-iconv9.c: New file.
53507
53508 2011-05-27  Andreas Schwab  <schwab@redhat.com>
53509
53510         [BZ #12814]
53511         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53512
53513 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
53514
53515         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53516         (struct user_regs_struct): Change intcs field back to cs.
53517
53518 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
53519
53520         * po/ja.po: Update from translation team.
53521
53522 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
53523
53524         [BZ #12795]
53525         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53526         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53527
53528 2011-05-20  Andreas Schwab  <schwab@redhat.com>
53529
53530         * stdlib/longlong.h: Update from GCC.
53531
53532 2011-05-23  Andreas Schwab  <schwab@redhat.com>
53533
53534         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53535         parameter name.
53536         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53537         Add parameter name.
53538         (__sysconf): Pass it down.
53539
53540 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
53541
53542         [BZ #12671]
53543         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53544         some situations.
53545         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53546         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53547         add in in __libc_use_alloca calls.  Adjust callers.
53548         (glob): Use malloc in some situations.
53549
53550         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53551         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53552         pltexit.
53553
53554 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
53555
53556         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53557         and CLOCK_BOOTTIME_ALARM.
53558
53559         [BZ #12782]
53560         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53561         is returned.
53562
53563         * string/_strerror.c (__strerror_r): Print negative errors as signed
53564         numbers.
53565
53566         [BZ #12777]
53567         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53568         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53569         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53570
53571         * configure.in: Fix typo in redirection and correct removal of test
53572         files in two cases.
53573
53574         [BZ #12788]
53575         * locale/setlocale.c (new_composite_name): Fix test to check for
53576         identical name of all categories.
53577
53578         [BZ #12792]
53579         * libio/filedoalloc.c (local_isatty): New function.
53580         (_IO_file_doallocate): Use local_isatty.
53581         * stdio-common/perror.c (perror): In case a new stream is used
53582         forward the stream error.
53583         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53584         error flag.
53585
53586 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
53587
53588         [BZ #11869]
53589         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53590         alloca.
53591         * include/alloca.h (extend_alloca_account): Define.
53592
53593         [BZ #11857]
53594         * posix/regex.h: Fix comments with documentation of user-accessible
53595         fields after compilation and describe correct free'ing of pattern
53596         after re_compile_pattern.
53597         Patch by Reuben Thomas <rrt@sc3d.org>.
53598
53599 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
53600
53601         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53602         and -mno-altivec to prevent the compiler from using Altivec and/or
53603         VSX instructions when the corresponding registers are not available.
53604
53605 2011-05-19  Andreas Schwab  <schwab@redhat.com>
53606
53607         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53608
53609 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
53610
53611         * libio/freopen.c (freopen): Use __dup2, not dup2.
53612         * libio/freopen64.c (freopen64): Likewise.
53613
53614 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53615
53616         [BZ #12775]
53617         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53618         * math/Makefile (tests): Add test-powl.
53619         (CFLAGS-test-powl.c): Define.
53620         * math/test-powl.c: New file.
53621
53622 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53623
53624         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53625
53626 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
53627
53628         [BZ #11837]
53629         * iconvdata/gb18030.c: Update to GB18020-2005.
53630
53631 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
53632
53633         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53634         RE_SYNTAX_POSIX_AWK): Update to match recent development.
53635         Patch by Aharon Robbins <arnold@skeeve.com>.
53636
53637         [BZ #11892]
53638         * stdlib/putenv.c (putenv): Don't always create copy of the variable
53639         on the stack.
53640
53641         [BZ #11895]
53642         * misc/pselect.c (__pselect): Handle timeout value errors hidden
53643         through underflows.
53644
53645         [BZ #12766]
53646         * misc/error.c (error_at_line): Ensure file_name and old_file_name
53647         point to strings before performing equality test for error_one_per_line
53648         mode.
53649
53650         [BZ #11697]
53651         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53652
53653         [BZ #11820]
53654         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53655         (struct user_fpregs_struct): Avoid __uint*_t types.
53656
53657         [BZ #6420]
53658         * malloc/mtrace.c (tr_where): Add additional parameter to point to
53659         symbol info.  Use it instead of calling _dl_addr locally.
53660         (lock_and_info): New function.
53661         (tr_freehook): Call lock_and_info and pass symbol info as additional
53662         parameter to tr_where.
53663         (tr_mallochook): Likewise.
53664         (tr_reallochook): Likewise.
53665         (tr_memalignhook): Likewise.
53666
53667         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
53668         used and couldn't be at all thread-safe.
53669
53670 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
53671
53672         * libio/freopen.c (freopen): Don't close old file descriptor
53673         before the new one is opened.  Instead dup the new file descriptor
53674         to the old one after the new stream is created.
53675         * libio/freopen64.c (freopen64): Likewise.
53676         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53677         * libio/fileops.c (_IO_new_file_close_it): Handle new
53678         _IO_FLAGS2_NOCLOSE flag.
53679         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53680         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53681         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53682         _IO_FLAGS2_NOCLOSE flag.
53683         * include/unistd.h: Add hidden_proto for dup3.
53684         Define __have_dup3.
53685         * io/dup3.c: Define hidden symbol.
53686         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53687
53688         [BZ #7101]
53689         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53690         when an incomplete long option is used.
53691         * posix/tst-getopt_long1.c: New file.
53692         * posix/Makefile (tests): Add tst-getopt_long1.
53693
53694         [BZ #10138]
53695         * scripts/config.guess: Update from autoconf-2.68.
53696         * scripts/config.sub: Likewise.
53697
53698         [BZ #10157]
53699         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53700         tests into ...
53701         (has_cpuclock): ...this.  New function.
53702         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53703         macro here based on has_cpuclock code.
53704
53705         [BZ #10149]
53706         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53707         First byte (not low byte) is now always NUL.
53708         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53709
53710         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53711         Use non-cancelable interfaces.
53712
53713         [BZ #9809]
53714         * locale/iso-639.def: Add entry for Sorani.
53715
53716         [BZ #11901]
53717         * include/stdlib.h: Move include protection to the right place.
53718         Define abort_msg_s.  Declare __abort_msg with it.
53719         * stdlib/abort.c (__abort_msg): Adjust type.
53720         * assert/assert.c (__assert_fail_base): New function.  Majority
53721         of code from __assert_fail.  Allocate memory for __abort_msg with
53722         mmap.
53723         (__assert_fail): Now call __assert_fail_base.
53724         * assert/assert-perr.c: Remove bulk of implementation.  Use
53725         __assert_fail_base.
53726         * include/assert.hL Declare __assert_fail_base.
53727         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53728         mmap.
53729         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53730
53731 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
53732
53733         [BZ #11952]
53734         [BZ #12453]
53735         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53736         until all modules are registered in the DTV.
53737         * elf/Makefile: Add rules to build and run tst-tls19.
53738         * elf/tst-tls19.c: New file.
53739         * elf/tst-tls19mod1.c: New file.
53740         * elf/tst-tls19mod2.c: New file.
53741         * elf/tst-tls19mod3.c: New file.
53742         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53743
53744         [BZ #12083]
53745         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53746         correctly.
53747
53748         [BZ #12601]
53749         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53750         two-byte sequence errors.
53751         * iconvdata/Makefile (tests): Add bug-iconv8.
53752         * iconvdata/bug-iconv8.c: New file.
53753
53754         [BZ #12626]
53755         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53756         buf2 definition.
53757
53758         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53759
53760         [BZ #12432]
53761         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53762         (dummy_getcfa): New function.
53763         (init): Get _Unwind_GetCFA address, use dummy if not found.
53764         (backtrace_helper): In recursion check, also check whether CFA changes.
53765         (__backtrace): Completely initialize arg.
53766
53767         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53768         storing incomplete byte sequence in state object.  Avoid testing for
53769         guaranteed too small input if we know there is enough data available.
53770
53771 2011-05-11  Andreas Schwab  <schwab@redhat.com>
53772
53773         * Makeconfig (+link-pie): Indent.
53774         * Rules (binaries-pie): Define if $(have-fpie) and
53775         $(build-shared).
53776         (binaries-shared): Also filter out $(binaries-pie).
53777         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53778         * nscd/Makefile (others-pie): Add nscd.
53779         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53780         ($(objpfx)nscd): Remove command override.
53781         * login/Makefile (others-pie): Add pt_chown.
53782         ($(objpfx)pt_chown): Remove command override.
53783         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53784         remove command overrides.
53785
53786 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
53787
53788         * libio/tst_putwc.c: Fix error messages.
53789
53790         [BZ #12724]
53791         * libio/fileops.c (_IO_new_file_close_it): Always flush when
53792         currently writing and seek to current position when not.
53793         * libio/Makefile (tests): Add bug-fclose1.
53794         * libio/bug-fclose1.c: New file.
53795
53796 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
53797
53798         [BZ #12511]
53799         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53800         don't set DF_1_NODELETE here.
53801         (do_lookup_x): When entering new entry test for copy relocation
53802         and if necessary set DF_1_NODELETE flag.
53803         * elf/tst-unique4.cc: New file.
53804         * elf/tst-unique4.h: New file.
53805         * elf/tst-unique4lib.cc: New file.
53806         * elf/Makefile: Add rules to build and run tst-unique4.
53807         Patch by Piotr Bury <pbury@goahead.com>.
53808
53809 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
53810
53811         [BZ #12052]
53812         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53813
53814         [BZ #12625]
53815         * misc/mntent_r.c (addmntent): Flush the stream after the output
53816
53817         [BZ #12393]
53818         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53819         (is_trusted_path_normalize): Skip initial colon.  Append slash
53820         to empty buffer.  Duplicate is_trusted_path code but allow
53821         constructed patch to be prefix.
53822         (is_dst): Allow $ORIGIN followed by /.
53823         (_dl_dst_substitute): Correct clearing of check_for_trusted.
53824         Correct testing of result of is_trusted_path_normalize
53825         (decompose_rpath): Fix warning.
53826
53827 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
53828
53829         [BZ #11257]
53830         * grp/initgroups.c (internal_getgrouplist): When we found the service
53831         list through the initgroups entry in nsswitch.conf do not always
53832         continue on a successful lookup.  Don't always use the
53833         __nss_group_database value if it is set.
53834         * nss/nsswitch.conf (initgroups): Change action for successful db
53835         lookup to continue for compatibility.
53836
53837 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
53838
53839         [BZ #11532]
53840         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53841         and CP774 modules.
53842         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53843         and CP774 modules.
53844         * iconvdata/tst-tables.sh: Likewise.
53845         * iconvdata/cp770.c: New file.
53846         * iconvdata/cp771.c: New file.
53847         * iconvdata/cp772.c: New file.
53848         * iconvdata/cp773.c: New file.
53849         * iconvdata/cp774.c: New file.
53850         * iconvdata/testdata/CP770: New file.
53851         * iconvdata/testdata/CP770..UTF8: New file.
53852         * iconvdata/testdata/CP771: New file.
53853         * iconvdata/testdata/CP771..UTF8: New file.
53854         * iconvdata/testdata/CP772: New file.
53855         * iconvdata/testdata/CP772..UTF8: New file.
53856         * iconvdata/testdata/CP773: New file.
53857         * iconvdata/testdata/CP773..UTF8: New file.
53858         * iconvdata/testdata/CP774: New file.
53859         * iconvdata/testdata/CP774..UTF8: New file.
53860
53861         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53862         END CHARMAP line.
53863         * iconvdata/gen-8bit-gap.sh: Likewise.
53864         * iconvdata/gen-8bit.sh: Likewise.
53865
53866         * locale/iso-639.def: Add ary entry.
53867
53868         [BZ #11258]
53869         * locale/C-translit.h.in: Add U20A1 transliteration.
53870
53871         [BZ #12178]
53872         * locale/iso-639.def: Add wae entry.
53873         Patch by Kevin Bortis <bortis@translate-wae.ch>.
53874
53875         [BZ #12545]
53876         * locale/programs/localedef.c (construct_output_path): Use ssize_t
53877         for n.
53878
53879         [BZ #12711]
53880         * locale/C-translit.h.in: Add entry for U20B9.
53881         Patch by pravin.d.s@gmail.com.
53882
53883 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
53884
53885         [BZ #12713]
53886         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53887         ENAMETOOLONG use generic getcwd.
53888         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
53889         in rtld.  Use *stat64.
53890         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53891         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53892         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53893         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53894         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53895         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53896         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53897         __fstatat64 macros.
53898         * include/dirent.h: Add libc_hidden_proto for rewinddir.
53899         * dirent/rewinddir.c: Add libc_hidden_def.
53900         * sysdeps/mach/hurd/rewinddir.c: Likewise.
53901         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
53902
53903         * include/dirent.h (__alloc_dir): Add flags parameter.
53904         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53905         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53906         __alloc_dir.
53907         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
53908         from fdopendir if O_CLOEXEC is already set.
53909
53910 2011-03-15  Alan Modra  <amodra@gmail.com>
53911
53912         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53913         l_tls_firstbyte_offset non-zero.  Save padding offset in
53914         l_tls_firstbyte_offset for later use.
53915         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53916         freeing static tls block.
53917
53918 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
53919
53920         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53921         where #ifdef was intended.  The intent is to prevent ARG_MAX from
53922         being defined by the kernel headers.
53923
53924 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
53925
53926         [BZ #12734]
53927         * resolv/resolv.h: Define RES_NOTLDQUERY.
53928         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53929         no-tld-query and set RES_NOTLDQUERY.
53930         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53931         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53932         modern BIND to search name as TLD unless forbidden.
53933
53934 2011-05-07  Petr Baudis  <pasky@suse.cz>
53935             Ulrich Drepper  <drepper@gmail.com>
53936
53937         [BZ #12393]
53938         * elf/dl-load.c (fillin_rpath): Move trusted path check...
53939         (is_trusted_path): ...to here.
53940         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53941         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53942         using is_trusted_path_normalize() in setuid scripts.
53943
53944 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53945
53946         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53947         __BEGIN/__END_DECLS.
53948
53949 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
53950
53951         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53952         NSS_STATUS_NOTFOUND if no record was found.
53953
53954 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53955
53956         * sunrpc/Makefile (headers): Add rpc/netdb.h.
53957         (headers-not-in-tirpc): Remove rpc/netdb.h
53958         * resolv/netdb.h: Revert last change.
53959
53960 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53961
53962         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53963         circular dependency between libgcc.a and libc.a.
53964
53965 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53966
53967         * resolv/netdb.h: Don't include <rpc/netdb.h>.
53968         * nis/Makefile: Don't install rpcsvc/*.
53969         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53970         instead of <rpc/types.h>.
53971         (MAXHOSTNAMELEN): Define.
53972
53973 2011-05-03  Andreas Schwab  <schwab@redhat.com>
53974
53975         * elf/ldconfig.c (add_dir): Don't crash on empty path.
53976
53977 2011-04-28  Maciej Babinski  <mbabinski@google.com>
53978
53979         [BZ #12714]
53980         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53981         gethostbyname4_r when IPv6 results are possible.
53982
53983 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
53984
53985         [BZ #12723]
53986         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53987         _PC_PIPE_BUF handling.
53988
53989 2011-04-30  Bruno Haible  <bruno@clisp.org>
53990
53991         [BZ #12717]
53992         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53993         * resolv/netdb.h (getnameinfo): Change type of flags parameter
53994         to 'int'.
53995         * inet/getnameinfo.c (getnameinfo): Likewise.
53996
53997 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
53998
53999         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54000         to groups setting in database lookup.
54001         * nss/nsswitch.conf: Add initgroups entry.
54002
54003 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
54004
54005         [BZ #12685]
54006         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54007         mode string.
54008         Patch by Eric Blake <eblake@redhat.com>.
54009
54010 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
54011
54012         * sunrpc/Makefile (need-export-routines): Add svc_run.
54013         (routines): Remove svc_run.
54014         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54015         * sunrpc/clnt_perr.c (clnt_perrno): Export.
54016         * sunrpc/svc_run.c (svc_run): Likewise.
54017         * sunrpc/svc_udp.c (svcudp_create): Likewise.
54018
54019 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
54020
54021         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54022         problem in reallocation in last patch.
54023
54024 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
54025
54026         * sunrpc/Makefile: Move inclusion of Rules.
54027
54028 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54029
54030         * nss/nss_files/files-initgroups.c: New file.
54031         * nss/Makefile (libnss_files-routines): Add files-initgroups.
54032         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54033         _nss_files_initgroups_dyn.
54034
54035 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
54036
54037         * elf/elf.h (R_ARM_IRELATIVE): Define.
54038
54039 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54040
54041         * po/ru.po: Update from translation team.
54042
54043 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54044
54045         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54046         dependencies.
54047
54048 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
54049
54050         [BZ #12653]
54051         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54052         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54053         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54054         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54055         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54056
54057 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
54058
54059         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54060         differing bytes.
54061         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54062         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54063         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54064
54065 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54066
54067         [BZ #12420]
54068         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54069         storing it.
54070         * stdlib/bug-getcontext.c: New file.
54071         * stdlib/Makefile: Add rules to build and run bug-getcontext.
54072
54073 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54074
54075         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54076         instructions into .machine "z9-109".
54077         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54078         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54079
54080 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54081
54082         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54083         between environment variables and auxiliary vector.
54084
54085 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
54086
54087         * Makefile: Add rules to build linkobj/libc.so.
54088         * include/libc-symbols.h: Define libc_hidden_nolink.
54089         * include/rpc/auth.h: Mark functions which are to be hidden.
54090         * include/rpc/auth_des.h: Likewise.
54091         * include/rpc/auth_unix.h: Likewise.
54092         * include/rpc/clnt.h: Likewise.
54093         * include/rpc/des_crypt.h: Likewise.
54094         * include/rpc/key_prot.h: Likewise.
54095         * include/rpc/pmap_clnt.h: Likewise.
54096         * include/rpc/pmap_prot.h: Likewise.
54097         * include/rpc/pmap_rmt.h: Likewise.
54098         * include/rpc/rpc_msg.h: Likewise.
54099         * include/rpc/svc.h: Likewise.
54100         * include/rpc/svc_auth.h: Likewise.
54101         * include/rpc/xdr.h: Likewise.
54102         * nis/Makefile: Link all DSOs against linkobj/libc.so.
54103         * nss/Makefile: Likewise.
54104         * sunrpc/Makefile: Don't install headers.  Build library with normal
54105         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
54106         * sunrpc/auth_des.c: Hide exported symbols by default, export some
54107         for the compat linking library.  Remove use of INTDEF/INTUSE.
54108         * sunrpc/auth_none.c: Likewise.
54109         * sunrpc/auth_unix.c: Likewise.
54110         * sunrpc/authdes_prot.c: Likewise.
54111         * sunrpc/authuxprot.c: Likewise.
54112         * sunrpc/clnt_gen.c: Likewise.
54113         * sunrpc/clnt_perr.c: Likewise.
54114         * sunrpc/clnt_raw.c: Likewise.
54115         * sunrpc/clnt_simp.c: Likewise.
54116         * sunrpc/clnt_tcp.c: Likewise.
54117         * sunrpc/clnt_udp.c: Likewise.
54118         * sunrpc/clnt_unix.c: Likewise.
54119         * sunrpc/des_crypt.c: Likewise.
54120         * sunrpc/des_soft.c: Likewise.
54121         * sunrpc/get_myaddr.c: Likewise.
54122         * sunrpc/key_call.c: Likewise.
54123         * sunrpc/key_prot.c: Likewise.
54124         * sunrpc/netname.c: Likewise.
54125         * sunrpc/pm_getmaps.c: Likewise.
54126         * sunrpc/pm_getport.c: Likewise.
54127         * sunrpc/pmap_clnt.c: Likewise.
54128         * sunrpc/pmap_prot.c: Likewise.
54129         * sunrpc/pmap_prot2.c: Likewise.
54130         * sunrpc/pmap_rmt.c: Likewise.
54131         * sunrpc/publickey.c: Likewise.
54132         * sunrpc/rpc_cmsg.c: Likewise.
54133         * sunrpc/rpc_common.c: Likewise.
54134         * sunrpc/rpc_dtable.c: Likewise.
54135         * sunrpc/rpc_prot.c: Likewise.
54136         * sunrpc/rpc_thread.c: Likewise.
54137         * sunrpc/rtime.c: Likewise.
54138         * sunrpc/svc.c: Likewise.
54139         * sunrpc/svc_auth.c: Likewise.
54140         * sunrpc/svc_authux.c: Likewise.
54141         * sunrpc/svc_raw.c: Likewise.
54142         * sunrpc/svc_run.c: Likewise.
54143         * sunrpc/svc_simple.c: Likewise.
54144         * sunrpc/svc_tcp.c: Likewise.
54145         * sunrpc/svc_udp.c: Likewise.
54146         * sunrpc/svc_unix.c: Likewise.
54147         * sunrpc/svcauth_des.c: Likewise.
54148         * sunrpc/xcrypt.c: Likewise.
54149         * sunrpc/xdr.c: Likewise.
54150         * sunrpc/xdr_array.c: Likewise.
54151         * sunrpc/xdr_float.c: Likewise.
54152         * sunrpc/xdr_intXX_t.c: Likewise.
54153         * sunrpc/xdr_mem.c: Likewise.
54154         * sunrpc/xdr_rec.c: Likewise.
54155         * sunrpc/xdr_ref.c: Likewise.
54156         * sunrpc/xdr_sizeof.c: Likewise.
54157         * sunrpc/xdr_stdio.c: Likewise.
54158
54159 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
54160
54161         [BZ #12650]
54162         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54163         * sysdeps/ia64/dl-tls.h: Likewise.
54164         * sysdeps/powerpc/dl-tls.h: Likewise.
54165         * sysdeps/s390/dl-tls.h: Likewise.
54166         * sysdeps/sh/dl-tls.h: Likewise.
54167         * sysdeps/sparc/dl-tls.h: Likewise.
54168         * sysdeps/x86_64/dl-tls.h: Likewise.
54169         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54170
54171 2011-03-14  Andreas Schwab  <schwab@redhat.com>
54172
54173         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54174         rpath element also skip the following colon.
54175         (expand_dynamic_string_token): Add is_path parameter and pass
54176         down to DL_DST_REQUIRED and _dl_dst_substitute.
54177         (decompose_rpath): Call expand_dynamic_string_token with
54178         non-zero is_path.  Ignore empty rpaths.
54179         (_dl_map_object_from_fd): Call expand_dynamic_string_token
54180         with zero is_path.
54181
54182 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
54183
54184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54185         Make cancelable.
54186
54187 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
54188
54189         [BZ #12655]
54190         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54191         Patch by Filipe David Manana <fdmanana@apache.org>.
54192
54193 2011-04-07  Andreas Schwab  <schwab@redhat.com>
54194
54195         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54196         Maintain aligned stack.
54197         (CHECK_RSP): Remove unused macro.
54198
54199 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
54200
54201         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54202         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54203
54204 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
54205
54206         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54207
54208         * include/features.h: Mention __USE_XOPEN2K8 in comment.
54209
54210 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
54211
54212         [BZ #12518]
54213         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54214         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54215         * sysdeps/x86_64/memmove.c: New file.
54216         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54217         (memcpy): Renamed to ...
54218         (__new_memcpy): This.
54219         (memcpy): Provide GLIBC_2_14 memcpy.
54220         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54221         (memcpy): Provide GLIBC_2_2_5 memcpy.
54222
54223 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54224
54225         [BZ #12631]
54226         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54227
54228 2011-03-30  Andreas Schwab  <schwab@redhat.com>
54229
54230         * misc/syncfs.c: New file.
54231         * misc/Makefile (routines): Add syncfs.
54232         * posix/unistd.h: Declare syncfs.
54233         * sysdeps/unix/syscalls.list: Add syncfs.
54234
54235 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54236
54237         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54238         open_by_handle_at.
54239         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54240         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54241         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54242         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54243         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54244         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54245         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54246
54247 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54248
54249         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54250         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54251         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54252         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54253         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54254         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54255         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54256
54257         * io/Makefile: Compile fallocate.c, fallocate64.c, and
54258         sync_file_range.c with -fexceptions.
54259         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54260         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54261         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54262         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54263         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54264         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54265         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54266         sync_file_range as cancellation point
54267         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
54268         now a wrapper around __call_sync_file_range with cancellation handling.
54269         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54270         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
54271         function name to __call_sync_file_range.
54272         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54273         Add call_sync_file_range.
54274
54275 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54276
54277         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54278         bits/timex.h.
54279
54280 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54281
54282         * iconv/iconv.h: Fix typo in comment.
54283         * io/fcntl.h: Likewise.
54284         * libio/stdio.h: Likewise.
54285         * posix/spawn.h: Likewise.
54286         * posix/unistd.h: Likewise.
54287         * stdlib/stdlib.h: Likewise.
54288         * time/time.h: Likewise.
54289         * wcsmbs/wchar.h: Likewise.
54290
54291         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54292         open_by_handle): Add.
54293         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54294         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
54295         Augment a few comments.
54296         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54297         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54298         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54299         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54300         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54301         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54302         open_by_handle.
54303
54304         * io/fcntl.h (AT_EMPTY_PATH): Define.
54305
54306 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
54307
54308         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54309         * sysdeps/unix/sysv/linux/bits/time.h: New file.
54310         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54311         to...
54312         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
54313         * Versions.def: Add GLIBC_2.14.
54314         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54315         Export.
54316
54317 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
54318
54319         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54320         round counter.
54321         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54322
54323 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54324
54325         [BZ #12597]
54326         * string/test-strncmp.c (do_page_test): New function.
54327         (check2): Likewise.
54328         (test_main): Call check2.
54329         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54330
54331 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
54332
54333         [BZ #12587]
54334         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54335         Handle cache information in CPU leaf 4.
54336         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54337
54338 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
54339
54340         [BZ #12583]
54341         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54342         character representation.
54343         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54344
54345 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
54346
54347         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54348         END(__isnan) to END(__isnanf) to match function entry point/label
54349         EALIGN(__isnanf,...).
54350
54351 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
54352
54353         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54354
54355 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
54356
54357         [BZ #12510]
54358         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54359         copy from the symbol referenced in the relocation to initialize the
54360         used variable.
54361         Patch by Piotr Bury <pbury@goahead.com>.
54362         * elf/Makefile: Add rules to build and tst-unique3.
54363         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54364         * elf/tst-unique3.cc: New file.
54365         * elf/tst-unique3.h: New file.
54366         * elf/tst-unique3lib.cc: New file.
54367         * elf/tst-unique3lib2.cc: New file.
54368
54369         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54370
54371 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
54372
54373         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54374         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
54375         to _start.
54376
54377 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
54378
54379         * elf/dl-load.c (_dl_map_object): If we are looking for the first
54380         to-be-loaded object along a path to loader is ld.so.
54381
54382 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54383             Ulrich Drepper  <drepper@gmail.com>
54384
54385         * sysdeps/x86_64/memset.S: After aligning destination, code
54386         branches to different locations depending on the value of
54387         misalignment, when multiarch is enabled. Fix this.
54388
54389 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54390
54391         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54392         Set _x86_64_preferred_memory_instruction for AMD processsors.
54393         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54394         Set bit_Prefer_SSE_for_memop for AMD processors.
54395
54396 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
54397
54398         * libio/fmemopen.c (fmemopen): Optimize a bit.
54399
54400 2011-03-03  Andreas Schwab  <schwab@redhat.com>
54401
54402         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54403
54404 2011-03-03  Roland McGrath  <roland@redhat.com>
54405
54406         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54407
54408 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
54409
54410         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54411         __bzero_ultra1 instead of __memset_ultra1.
54412
54413 2011-02-23  Andreas Schwab  <schwab@redhat.com>
54414             Ulrich Drepper  <drepper@gmail.com>
54415
54416         [BZ #12509]
54417         * include/link.h (struct link_map): Add l_orig_initfini.
54418         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54419         returning unsuccessfully.
54420         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54421         close of a file loaded at startup, restore the original l_initfini
54422         list.
54423         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54424         list, store the pointer.
54425         * elf/Makefile ($(objpfx)noload-mem): New rule.
54426         (noload-ENV): Define.
54427         (tests): Add $(objpfx)noload-mem.
54428         * elf/noload.c: Include <memcheck.h>.
54429         (main): Call mtrace.  Close all opened handles.
54430
54431 2011-02-17  Andreas Schwab  <schwab@redhat.com>
54432
54433         [BZ #12454]
54434         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54435         dependencies are missing.
54436
54437 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54438
54439         Fix __if_freereq crash: Unlike the generic version which uses free,
54440         Hurd needs munmap.
54441         * sysdeps/mach/hurd/ifreq.h: New file.
54442
54443 2011-01-27  Petr Baudis  <pasky@suse.cz>
54444             Ulrich Drepper  <drepper@gmail.com>
54445
54446         [BZ 12445]#
54447         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54448         to extend_alloca().
54449         * stdio-common/bug23.c: New file.
54450         * stdio-common/Makefile (tests): Add bug23.
54451
54452 2010-09-28  Andreas Schwab  <schwab@redhat.com>
54453             Ulrich Drepper  <drepper@gmail.com>
54454
54455         [BZ #12489]
54456         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54457         before performing relro protection.  At old place add assertion
54458         to make sure nothing changed.
54459
54460 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
54461             Glauber de Oliveira Costa  <glommer@gmail.com>
54462
54463         * elf/elf.h: Add new ARM TLS relocs.
54464
54465 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
54466
54467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54468         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54469         cast from r3.
54470         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
54471         'tests' variable.
54472         * sysdeps/wordsize-64/tst-writev.c: New file.
54473
54474 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
54475
54476         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54477         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54478         insns in _dl_start to prevent a TOC reference before relocs are
54479         resolved.
54480
54481 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
54482
54483         [BZ #12469]
54484         * Makeconfig: Remove RANLIB definition.
54485         * Makerules: Don't use RANLIB.
54486         * aclocal.m4: Remove ranlib test.
54487         * configure.in: No need to check for ranlib.
54488         * elf/rtld-Rules: Don't use RANLIB.
54489
54490 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54491
54492         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54493         protection macro.
54494         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54495         inclusion protection macro.
54496
54497         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54498         SIGRTMIN and SIGRTMAX and print information in that case only when
54499         SIGRTMIN is defined.
54500
54501 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
54502
54503         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54504         arginfo fn returning -1.
54505
54506         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54507         and thousands string is zero terminated.
54508
54509 2011-02-03  Andreas Schwab  <schwab@redhat.com>
54510
54511         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54512         sysdeps/unix/sysv/linux/bits/socket.h.
54513
54514 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54515
54516         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54517         (__CPU_COUNT): Remove old macros.
54518         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54519         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54520         (__CPU_ALLOC, __CPU_FREE): Add macros.
54521         (__sched_cpualloc, __sched_cpufree): Add declarations.
54522
54523 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
54524
54525         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54526         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54527         * nscd/aicache.c (addhstaiX): Return timeout of added value.
54528         (readdhstai): Return value of addhstaiX call.
54529         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54530         (addgrbyX): Return value returned by cache_addgr.
54531         (readdgrbyname): Return value returned by addgrbyX.
54532         (readdgrbygid): Likewise.
54533         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54534         (addpwbyX): Return value returned by cache_addpw.
54535         (readdpwbyname): Return value returned by addhstbyX.
54536         (readdpwbyuid): Likewise.
54537         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54538         (addservbyX): Return value returned by cache_addserv.
54539         (readdservbyname): Return value returned by addservbyX:
54540         (readdservbyport): Likewise.
54541         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54542         (addhstbyX): Return value returned by cache_addhst.
54543         (readdhstbyname): Return value returned by addhstbyX.
54544         (readdhstbyaddr): Likewise.
54545         (readdhstbynamev6): Likewise.
54546         (readdhstbyaddrv6): Likewise.
54547         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54548         (readdinitgroups): Return value returned by addinitgroupsX.
54549         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54550         (prune_cache): Keep track of timeout value of re-added entries.
54551         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54552         * nscd/nscd.h: Adjust prototypes of readd* functions.
54553
54554 2011-02-04  Roland McGrath  <roland@redhat.com>
54555
54556         * nis/nis_server.c (nis_servstate): Use the right name for 0.
54557         (nis_stats): Likewise.
54558         * nis/nis_modify.c (nis_modify): Likewise.
54559         * nis/nis_remove.c (nis_remove): Likewise.
54560         * nis/nis_add.c (nis_add): Likewise.
54561
54562         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54563
54564         * posix/fnmatch_loop.c: Add some consts.
54565
54566         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54567
54568 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
54569
54570         [BZ #12460]
54571         * config.make.in (config-cflags-novzeroupper): Define.
54572         * configure.in: Substitute libc_cv_cc_novzeroupper.
54573         * elf/Makefile (AVX-CFLAGS): Define.
54574         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54575         (CFLAGS-tst-auditmod4a.c): Likewise.
54576         (CFLAGS-tst-auditmod4b.c): Likewise.
54577         (CFLAGS-tst-auditmod6b.c): Likewise.
54578         (CFLAGS-tst-auditmod6c.c): Likewise.
54579         (CFLAGS-tst-auditmod7b.c): Likewise.
54580         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54581
54582 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
54583
54584         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54585         function to the callback.
54586         Patch partly by Jiri Olsa <jolsa@redhat.com>.
54587
54588 2011-02-02  Andreas Schwab  <schwab@redhat.com>
54589
54590         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54591         of errno.
54592
54593 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
54594
54595         [BZ #11724]
54596         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54597         of constructors.
54598         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54599         of destructors.
54600         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54601
54602         [BZ #11724]
54603         * elf/Makefile: Add rules to build and run new test.
54604         * elf/tst-initorder.c: New file.
54605         * elf/tst-initorder.exp: New file.
54606         * elf/tst-initordera1.c: New file.
54607         * elf/tst-initordera2.c: New file.
54608         * elf/tst-initordera3.c: New file.
54609         * elf/tst-initordera4.c: New file.
54610         * elf/tst-initorderb1.c: New file.
54611         * elf/tst-initorderb2.c: New file.
54612         * elf/tst-order-a1.c: New file.
54613         * elf/tst-order-a2.c: New file.
54614         * elf/tst-order-a3.c: New file.
54615         * elf/tst-order-a4.c: New file.
54616         * elf/tst-order-b1.c: New file.
54617         * elf/tst-order-b2.c: New file.
54618         * elf/tst-order-main.c: New file.
54619         New test case by George Gensure <werkt0@gmail.com>.
54620
54621 2010-10-01  Andreas Schwab  <schwab@redhat.com>
54622
54623         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54624         decoding ACE if AI_CANONIDN.
54625
54626 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
54627
54628         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54629
54630 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
54631
54632         * version.h (RELEASE): Bump for 2.13 release.
54633         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54634
54635         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54636
54637         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54638         MADV_NOHUGEPAGE.
54639         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54640         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54641         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54642         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54643         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54644         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54645
54646         * posix/getconf.c: Update copyright year.
54647         * catgets/gencat.c: Likewise.
54648         * csu/version.c: Likewise.
54649         * debug/catchsegv.sh: Likewise.
54650         * debug/xtrace.sh: Likewise.
54651         * elf/ldconfig.c: Likewise.
54652         * elf/ldd.bash.in: Likewise.
54653         * elf/sprof.c (print_version): Likewise.
54654         * iconv/iconv_prog.c: Likewise.
54655         * iconv/iconvconfig.c: Likewise.
54656         * locale/programs/locale.c: Likewise.
54657         * locale/programs/localedef.c: Likewise.
54658         * malloc/memusage.sh: Likewise.
54659         * malloc/mtrace.pl: Likewise.
54660         * nscd/nscd.c (print_version): Likewise.
54661         * nss/getent.c: Likewise.
54662
54663         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54664         PF_CAIF, and PF_ALG.
54665         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54666
54667 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
54668
54669         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54670         (modules-names): Use them.
54671         (ifunc-test-modules, ifunc-pie-tests): Define.
54672         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54673         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54674         (test-extras): Likewise.
54675         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54676         $(compile-command.c).
54677         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54678         (all-built-dso): Define.
54679         (check-textrel.out, check-execstack.out): Depend on it.
54680
54681         * configure.in: Don't override --enable-multi-arch.
54682
54683 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
54684
54685         [BZ #6812]
54686         * nscd/hstcache.c (tryagain): Define.
54687         (cache_addhst): Return tryagain not notfound for temporary errors.
54688         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54689         failed.
54690
54691 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
54692
54693         [BZ #10563]
54694         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54695         to make the syscall.
54696         * sysdeps/unix/sysv/linux/setgroups.c: New file.
54697
54698         [BZ #12378]
54699         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54700         and fall back to matching as normal character if the string ends before
54701         the matching ']' is found.  This is what POSIX requires.
54702         * posix/testfnm.c: Adjust test result.
54703         * posix/globtest.sh: Adjust test result.  Add new test.
54704         * posix/tst-fnmatch.input: Likewise.
54705         * posix/tst-fnmatch2.c: Add new test.
54706
54707 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
54708
54709         * elf/Makefile (check-execstack): Revert last change.  Depend on
54710         check-execstack.h.
54711         (check-execstack.h): New target.
54712         (generated): Add check-execstack.h.
54713         * elf/check-execstack.c: Include "check-execstack.h".
54714         (main): Revert last change.
54715         (handle_file): Return zero if GNU_STACK is absent and
54716         DEFAULT_STACK_PERMS doesn't include PF_X.
54717
54718 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
54719
54720         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54721         in child fails because the descriptor is already closed.
54722         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54723         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54724         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54725
54726         [BZ #12397]
54727         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54728         syscall.
54729
54730         [BZ #10484]
54731         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54732         temporary buffer used to handle multi lookups locally.
54733         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54734
54735 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54736
54737         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54738         loader is ld.so.
54739
54740 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
54741
54742         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54743         alignment for SSE2.
54744
54745 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54746
54747         [BZ #12394]
54748         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54749         characters.  When rounding increased number of integer digits recompute
54750         number of groups.
54751         * stdio-common/tst-grouping.c: New file.
54752         * stdio-common/Makefile: Add rules to build and run tst-grouping.
54753
54754 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
54755
54756         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54757         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
54758
54759         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54760         void.
54761         * bits/select.h: Likewise.
54762
54763 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
54764
54765         * po/ja.po: Update from translation team.
54766
54767 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
54768
54769         [BZ #11155]
54770         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54771         implementation just like for lxstat, fxstatat, et al.
54772
54773 2010-12-27  Jim Meyering  <meyering@redhat.com>
54774
54775         [BZ #12348]
54776         * posix/regexec.c (build_trtable): Return failure indication upon
54777         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
54778
54779 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
54780
54781         [BZ #12201]
54782         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54783         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54784         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54785         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54786
54787         [BZ #12207]
54788         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54789
54790         [BZ #12204]
54791         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54792         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54793
54794 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
54795
54796         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54797         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54798         script has SORT_BY_INIT_PRIORITY.
54799         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54800         NO_CTORS_DTORS_SECTIONS is defined.
54801         * elf/soinit.c: Likewise.
54802         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54803         NO_CTORS_DTORS_SECTIONS is defined.
54804         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54805         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54806         * sysdeps/sh/init-first.c: Likewise.
54807         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54808
54809 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
54810
54811         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54812         always use the slow path.
54813
54814 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
54815
54816         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54817         similar rule which adds the sysdep directories to the header search in
54818         order to pick up the correct platform stackinfo.h.
54819         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54820         perform test if it is, otherwise return successfully without testing.
54821         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54822         DEFAULT_STACK_PERMS define in stackinfo.h.
54823         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54824         defined in stackinfo.h.
54825         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54826         DEFAULT_STACK_PERMS defined in stackinfo.h.
54827         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54828         * sysdeps/ia64/stackinfo.h: Likewise.
54829         * sysdeps/s390/stackinfo.h: Likewise.
54830         * sysdeps/sh/stackinfo.h: Likewise.
54831         * sysdeps/sparc/stackinfo.h: Likewise.
54832         * sysdeps/x86_64/stackinfo.h: Likewise.
54833         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54834         PF_X for powerpc64.  Retain PF_X for powerpc32.
54835
54836 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
54837
54838         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54839         accurately.
54840         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54841         GETDENTS_64BIT_ALIGNED.
54842
54843 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
54844
54845         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54846
54847 2010-12-10  Andreas Schwab  <schwab@redhat.com>
54848
54849         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54850         _GNU_SOURCE.
54851
54852         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54853         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54854         Remove __restrict.
54855         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54856         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54857
54858 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
54859
54860         [BZ #11655]
54861         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54862         are initialized.
54863
54864 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
54865
54866         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54867
54868 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
54869
54870         * po/it.po: Update from translation team.
54871
54872 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
54873
54874         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54875         unused codes.
54876
54877 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
54878
54879         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54880
54881 2010-11-24  Andreas Schwab  <schwab@redhat.com>
54882
54883         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54884         specially.
54885         (gaih_getanswer_slice): Likewise.
54886
54887 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
54888
54889         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54890
54891 2010-05-31  Petr Baudis  <pasky@suse.cz>
54892
54893         [BZ #11149]
54894         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54895         silently even in the chroot mode.
54896
54897 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
54898
54899         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54900         last patch a bit.  Pretty printing
54901
54902 2010-05-31  Petr Baudis <pasky@suse.cz>
54903
54904         [BZ #10085]
54905         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54906         initialization of skip_initgroups_dyn.
54907
54908 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
54909
54910         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54911         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54912
54913 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
54914
54915         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54916
54917 2010-11-11  Andreas Schwab  <schwab@redhat.com>
54918
54919         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54920         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54921         (tst-fnmatch-ENV): Set MALLOC_TRACE.
54922         ($(objpfx)tst-fnmatch-mem): New rule.
54923         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54924         * posix/tst-fnmatch.c (main): Call mtrace.
54925
54926 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
54927
54928         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54929         Support Intel processor model 6 and model 0x2c.
54930
54931 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
54932
54933         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54934           signed comparison.
54935
54936 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
54937
54938         [BZ #12205]
54939         * string/test-strncasecmp.c (check_result): New function.
54940         (do_one_test): Use it.
54941         (check1): New function.
54942         (test_main): Use it.
54943         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54944         Support strcasecmp and strncasecmp.
54945
54946 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
54947
54948         [BZ #12194]
54949         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54950         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54951
54952 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54953
54954         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54955         IFUNC support.
54956         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54957         memset-x86-64.
54958         * sysdeps/x86_64/multiarch/bzero.S: New file.
54959         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54960         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54961         * sysdeps/x86_64/multiarch/memset.S: New file.
54962         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54963         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54964         Set bit_Prefer_SSE_for_memop for Intel processors.
54965         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54966         Define.
54967         (index_Prefer_SSE_for_memop): Define.
54968         (HAS_PREFER_SSE_FOR_MEMOP): Define.
54969
54970 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
54971
54972         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54973         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54974
54975 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
54976
54977         [BZ #12191]
54978         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54979         (__x86_64_raw_data_cache_size_half): Likewise.
54980         (__x86_64_raw_shared_cache_size): Likewise.
54981         (__x86_64_raw_shared_cache_size_half): Likewise.
54982
54983         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54984         (__x86_64_raw_data_cache_size_half): Likewise.
54985         (__x86_64_raw_shared_cache_size): Likewise.
54986         (__x86_64_raw_shared_cache_size_half): Likewise.
54987         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54988         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54989         and __x86_64_raw_shared_cache_size_half.  Round
54990         __x86_64_data_cache_size_half, __x86_64_data_cache_size
54991         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54992         to multiple of 256 bytes.
54993
54994 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
54995
54996         [BZ #12167]
54997         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54998         of inacessible symlinks.  Verify result of symlink before returning it.
54999         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55000         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55001
55002 2010-10-28  Erich Ritz  <erichritz@gmail.com>
55003
55004         * math/math.h (isinf): Fix typo in comment.
55005
55006 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
55007
55008         * po/da.po: Update from translation team.
55009
55010 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
55011
55012         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55013         is added to the list.
55014
55015 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55016             Ulrich Drepper  <drepper@gmail.com>
55017
55018         * elf/dl-object.c (_dl_new_object): Don't append the new object to
55019         the global list here.  Move code to...
55020         (_dl_add_to_namespace_list): ...here.  New function.
55021         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55022         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55023         * elf/dl-load.c (lose): Don't remove the element from the list.
55024         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55025         (_dl_map_object): Likewise.
55026
55027 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
55028
55029         [BZ #12159]
55030         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55031         into all bytes of SSE register.
55032         Patch by Richard Li <richardpku@gmail.com>.
55033
55034 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
55035
55036         [BZ #12140]
55037         * malloc/malloc.c (_int_free): Fill correct number of bytes when
55038         perturbing.
55039
55040 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
55041
55042         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55043         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55044         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55045         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55047         submachine.
55048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55049
55050 2010-10-22  Andreas Schwab  <schwab@redhat.com>
55051
55052         * include/dlfcn.h (__RTLD_SECURE): Define.
55053         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
55054         mode & __RTLD_SECURE instead.
55055         (open_path): Rename preloaded parameter to secure.
55056         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55057         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55058         * elf/dl-deps.c (openaux): Likewise.
55059         * elf/rtld.c (struct map_args): Remove is_preloaded.
55060         (map_doit): Don't use it.
55061         (dl_main): Likewise.
55062         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55063         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55064
55065 2010-09-09  Andreas Schwab  <schwab@redhat.com>
55066
55067         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55068         (sysd-rules-targets): Remove duplicates.
55069         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55070         rtld-%.$o dependency.
55071
55072 2010-10-18  Andreas Schwab  <schwab@redhat.com>
55073
55074         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55075         _dl_map_object do it.
55076
55077 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
55078
55079         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55080         fast fma builtins, define the macros in the C99 standard.
55081         (FP_FAST_FMAF): Likewise.
55082         (FP_FAST_FMAL): Likewise.
55083         * sysdeps/x86_64/bits/mathdef.h: Likewise.
55084
55085         * bits/mathdef.h: Update copyright year.
55086         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55087
55088 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
55089
55090         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55091         builtins, define the macros in the C99 standard.
55092         (FP_FAST_FMAF): Likewise.
55093         (FP_FAST_FMAL): Likewise.
55094         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55095         multiply/add.
55096         (FP_FAST_FMAF): Likewise.
55097
55098 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
55099
55100         [BZ #3268]
55101         * math/libm-test.inc (fma_test): Some new testcases.
55102         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55103         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55104         y and infinite z.  Do multiplication by C already in long double.
55105         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55106         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55107         y and infinite z.  Do bitwise or of inexact bit into u.d.
55108         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55109         * sysdeps/i386/fpu/s_fmaf.S: Removed.
55110         * sysdeps/i386/fpu/s_fma.S: Removed.
55111         * sysdeps/i386/fpu/s_fmal.S: Removed.
55112
55113 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
55114
55115         [BZ #3268]
55116         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55117         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55118         computation is not scheduled after fetestexcept.  Fix value
55119         of minimum denormal long double.
55120
55121 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
55122
55123         [BZ #3268]
55124         * math/libm-test.inc (fma_test): Add some more tests.
55125         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55126         correctly.
55127
55128 2010-10-15  Andreas Schwab  <schwab@redhat.com>
55129
55130         * scripts/data/localplt-s390-linux-gnu.data: New file.
55131         * scripts/data/localplt-s390x-linux-gnu.data: New file.
55132
55133 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
55134
55135         [BZ #3268]
55136         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55137         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55138         instead of dbl-64.
55139         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55140         inlines.
55141         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55142         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55143         if one of x and y is very large and the other is subnormal.
55144         * sysdeps/s390/fpu/s_fmaf.c: New file.
55145         * sysdeps/s390/fpu/s_fma.c: New file.
55146         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55147         * sysdeps/powerpc/fpu/s_fma.S: New file.
55148         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55149         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55150         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55151
55152 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
55153
55154         [BZ #3268]
55155         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55156         fma tests.
55157         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55158         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55159         * sysdeps/i386/i686/multiarch/s_fma.c: Include
55160         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55161         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55162         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55163         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55164
55165 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
55166
55167         [BZ #12078]
55168         * posix/regcomp.c (parse_branch): One more memory leak plugged.
55169         * posix/bug-regex31.input: Add test case.
55170
55171 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55172
55173         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55174         * posix/bug-regex31.input: New file.
55175
55176         [BZ #12078]
55177         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55178         (parse_sub_exp): Fix last change, use postorder.
55179
55180         * posix/bug-regex31.c: New file.
55181         * posix/Makefile: Add rules to build and run bug-regex31.
55182
55183         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55184
55185         [BZ #12078]
55186         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55187
55188         [BZ #12108]
55189         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55190         to have entries in sys_siglist.
55191
55192         [BZ #12093]
55193         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55194         be NULL.
55195
55196 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
55197
55198         [BZ #3268]
55199         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55200         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55201         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55202         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55203         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55204         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55205         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55206         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55207         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55208         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55209         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55210         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55211         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55212         * math/ftestexcept.c (fetestexcept): Likewise.
55213         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55214         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55215         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55216         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55217         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55218         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55219         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55220
55221 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55222
55223         [BZ #12107]
55224         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55225         newline.
55226
55227 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
55228
55229         * string/bug-strstr1.c: New file.
55230         * string/Makefile: Add rules to build and run bug-strstr1.
55231
55232 2010-10-05  Eric Blake  <eblake@redhat.com>
55233
55234         [BZ #12092]
55235         * string/str-two-way.h (two_way_long_needle): Always clear memory
55236         when skipping input due to the shift table.
55237
55238 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
55239
55240         [BZ #12005]
55241         * malloc/mcheck.c: Handle large requests.
55242
55243         [BZ #12077]
55244         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55245         for strncmp and strncasecmp.
55246         * string/stratcliff.c: Add tests for strcmp and strncmp.
55247         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55248
55249 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55250
55251         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55252         __set_fpscr.
55253
55254 2010-09-30  Andreas Jaeger  <aj@suse.de>
55255
55256         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55257         (CGROUP_SUPER_MAGIC): Define.
55258         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55259         Handle btrfs and cgroup file systems.
55260         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55261         Likewise.
55262
55263 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
55264
55265         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55266         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55267
55268 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55269
55270         [BZ #12067]
55271         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55272         trying to locate the ELF header.
55273
55274 2010-09-27  Andreas Schwab  <schwab@redhat.com>
55275
55276         [BZ #11611]
55277         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55278         Mask out sign-bit copies when constructing f_fsid.
55279
55280 2010-09-24  Petr Baudis <pasky@suse.cz>
55281
55282         * debug/stack_chk_fail_local.c: Add missing licence exception.
55283         * debug/warning-nop.c: Likewise.
55284
55285 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
55286
55287         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55288         implementing getdents64 using getdents syscall, set d_type if
55289         __ASSUME_GETDENTS32_D_TYPE.
55290
55291 2010-09-16  Andreas Schwab  <schwab@redhat.com>
55292
55293         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55294         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55295
55296 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
55297
55298         [BZ #12037]
55299         * posix/unistd.h: Undo change of feature selection for ftruncate from
55300         2010-01-11.
55301
55302 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
55303
55304         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55305         detection.
55306
55307 2010-09-20  Andreas Schwab  <schwab@redhat.com>
55308
55309         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55310         fanotify_mark.
55311         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55312
55313 2010-09-14  Andreas Schwab  <schwab@redhat.com>
55314
55315         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55316         variables after CHECK_SP call.
55317         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55318
55319 2010-09-13  Andreas Schwab  <schwab@redhat.com>
55320             Ulrich Drepper  <drepper@redhat.com>
55321
55322         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55323         re-relocationg ld.so.
55324         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55325         _dl_init_paths call.
55326         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
55327         here anymore.
55328
55329 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
55330
55331         * resolv/res_init.c (__res_vinit): Count the default server we added.
55332
55333 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
55334             Ulrich Drepper  <drepper@redhat.com>
55335
55336         [BZ #11968]
55337         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55338         (____longjmp_chk): Use %ebx for saving value across system call.
55339         Add unwind info.
55340
55341 2010-09-06  Andreas Schwab  <schwab@redhat.com>
55342
55343         * manual/Makefile: Don't mix pattern rules with normal rules.
55344
55345 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55346
55347         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55348         operation.
55349         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55350         * libio/iofopncook.c (_IO_cookie_init): Likewise.
55351         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55352         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55353         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55354         Likewise.
55355
55356 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
55357
55358         [BZ #11979]
55359         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55360         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55361
55362 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
55363
55364         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55365         * sysdeps/x86_64/addmul_1.S: Likewise.
55366         * sysdeps/x86_64/lshift.S: Likewise.
55367         * sysdeps/x86_64/mul_1.S: Likewise.
55368         * sysdeps/x86_64/rshift.S: Likewise.
55369         * sysdeps/x86_64/sub_n.S: Likewise.
55370         * sysdeps/x86_64/submul_1.S: Likewise.
55371
55372 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55373
55374         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55375         Define __sched_param instead of SCHED_* and sched_param when
55376         <bits/sched.h> is included with __need_schedparam defined.
55377         * bits/sched.h [__need_schedparam]
55378         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55379         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55380         (__defined_schedparam): Define to 1.
55381         (__sched_param): New structure, identical to sched_param.
55382         (__need_schedparam): Undefine.
55383
55384 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
55385
55386         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55387         (epoll_create1): Declare.
55388
55389         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55390
55391 2010-08-31  Andreas Schwab  <schwab@redhat.com>
55392
55393         [BZ #7066]
55394         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55395         shifting retval into place.
55396
55397 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
55398
55399         * nis/rpcsvc/nis.h: Update copyright notice.
55400         * nis/rpcsvc/nis.x: Likewise.
55401         * nis/rpcsvc/nis_callback.h: Likewise.
55402         * nis/rpcsvc/nis_callback.x: Likewise.
55403         * nis/rpcsvc/nis_object.x: Likewise.
55404         * nis/rpcsvc/nis_tags.h: Likewise.
55405         * nis/rpcsvc/yp.h: Likewise.
55406         * nis/rpcsvc/yp.x: Likewise.
55407         * nis/rpcsvc/ypupd.h: Likewise.
55408         * nis/yp_xdr.c: Likewise.
55409         * nis/ypupdate_xdr.c: Likewise.
55410
55411         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
55412         mainly the body of pmap_getport.  Add parameters to specify timeouts.
55413         (pmap_getport): Use __libc_rpc_getport.
55414         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55415         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55416         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55417
55418 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
55419
55420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55421         fanotify_mark.
55422
55423 2010-08-27  Roland McGrath  <roland@redhat.com>
55424
55425         * sysdeps/i386/i686/multiarch/Makefile
55426         (CFLAGS-varshift.c): New variable.
55427
55428 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
55429
55430         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55431         * sysdeps/i386/i686/multiarch/varshift.c: New file.
55432
55433         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55434
55435         * sysdeps/x86_64/strlen.S: Minimal code improvement.
55436
55437 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
55438
55439         * sysdeps/x86_64/strlen.S: Unroll the loop.
55440         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55441         strlen-sse2 strlen-sse2-bsf.
55442         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55443         __strlen_no_bsf if bit_Slow_BSF is set.
55444         (__strlen_sse42): Removed.
55445         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55446         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55447
55448 2010-08-25  Roland McGrath  <roland@redhat.com>
55449
55450         * sysdeps/x86_64/multiarch/varshift.S: File removed.
55451         * sysdeps/x86_64/multiarch/varshift.c: New file.
55452         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55453         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55454         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55455         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55456
55457 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
55458
55459         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55460         strlen-sse2 strlen-sse2-bsf.
55461         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55462         __strlen_sse2_bsf if bit_Slow_BSF is unset.
55463         (__strlen_sse2): Removed.
55464         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55465         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55466         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55467         bit_Slow_BSF for Atom.
55468         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55469         (index_Slow_BSF): Define.
55470         (HAS_SLOW_BSF): Define.
55471
55472 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
55473
55474         [BZ #10851]
55475         * resolv/res_init.c (__res_vinit): When no server address at all
55476         is given default to loopback.
55477
55478 2010-08-24  Roland McGrath  <roland@redhat.com>
55479
55480         * configure.in: Remove config-name.h generation.
55481         * configure: Regenerated.
55482         * config-name.in: File removed.
55483         * scripts/config-uname.sh: New file.
55484         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55485         ($(objdir)config-name.h): New target.
55486
55487         * sunrpc/rpc_parse.h: Avoid nested comment.
55488
55489 2010-08-24  Richard Henderson  <rth@redhat.com>
55490             Ulrich Drepper  <drepper@redhat.com>
55491             H.J. Lu  <hongjiu.lu@intel.com>
55492
55493         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55494         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55495         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55496         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
55497         _mm_alignr_epi8 with _mm_loadu_si128.
55498         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55499         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55500         (__m128i_shift_right): Removed.
55501         * sysdeps/i386/i686/multiarch/varshift.h: New file.
55502         * sysdeps/i386/i686/multiarch/varshift.S: New file.
55503         * sysdeps/x86_64/multiarch/varshift.h: New file.
55504         * sysdeps/x86_64/multiarch/varshift.S: New file.
55505
55506 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
55507
55508         * configure.in: Move assembler checks to before sysdep dir checking.
55509
55510 2010-08-20  Petr Baudis  <pasky@suse.cz>
55511
55512         * LICENSES: Sync the sunrpc license.
55513
55514 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
55515
55516         * sunrpc/auth_des.c: Update copyright notice once again.
55517         * sunrpc/auth_none.c: Likewise.
55518         * sunrpc/auth_unix.c: Likewise.
55519         * sunrpc/authdes_prot.c: Likewise.
55520         * sunrpc/authuxprot.c: Likewise.
55521         * sunrpc/bindrsvprt.c: Likewise.
55522         * sunrpc/clnt_gen.c: Likewise.
55523         * sunrpc/clnt_perr.c: Likewise.
55524         * sunrpc/clnt_raw.c: Likewise.
55525         * sunrpc/clnt_simp.c: Likewise.
55526         * sunrpc/clnt_tcp.c: Likewise.
55527         * sunrpc/clnt_udp.c: Likewise.
55528         * sunrpc/clnt_unix.c: Likewise.
55529         * sunrpc/des_crypt.c: Likewise.
55530         * sunrpc/des_soft.c: Likewise.
55531         * sunrpc/get_myaddr.c: Likewise.
55532         * sunrpc/getrpcport.c: Likewise.
55533         * sunrpc/key_call.c: Likewise.
55534         * sunrpc/key_prot.c: Likewise.
55535         * sunrpc/openchild.c: Likewise.
55536         * sunrpc/pm_getmaps.c: Likewise.
55537         * sunrpc/pm_getport.c: Likewise.
55538         * sunrpc/pmap_clnt.c: Likewise.
55539         * sunrpc/pmap_prot.c: Likewise.
55540         * sunrpc/pmap_prot2.c: Likewise.
55541         * sunrpc/pmap_rmt.c: Likewise.
55542         * sunrpc/rpc/auth.h: Likewise.
55543         * sunrpc/rpc/auth_unix.h: Likewise.
55544         * sunrpc/rpc/clnt.h: Likewise.
55545         * sunrpc/rpc/des_crypt.h: Likewise.
55546         * sunrpc/rpc/key_prot.h: Likewise.
55547         * sunrpc/rpc/netdb.h: Likewise.
55548         * sunrpc/rpc/pmap_clnt.h: Likewise.
55549         * sunrpc/rpc/pmap_prot.h: Likewise.
55550         * sunrpc/rpc/pmap_rmt.h: Likewise.
55551         * sunrpc/rpc/rpc.h: Likewise.
55552         * sunrpc/rpc/rpc_des.h: Likewise.
55553         * sunrpc/rpc/rpc_msg.h: Likewise.
55554         * sunrpc/rpc/svc.h: Likewise.
55555         * sunrpc/rpc/svc_auth.h: Likewise.
55556         * sunrpc/rpc/types.h: Likewise.
55557         * sunrpc/rpc/xdr.h: Likewise.
55558         * sunrpc/rpc_clntout.c: Likewise.
55559         * sunrpc/rpc_cmsg.c: Likewise.
55560         * sunrpc/rpc_common.c: Likewise.
55561         * sunrpc/rpc_cout.c: Likewise.
55562         * sunrpc/rpc_dtable.c: Likewise.
55563         * sunrpc/rpc_hout.c: Likewise.
55564         * sunrpc/rpc_main.c: Likewise.
55565         * sunrpc/rpc_parse.c: Likewise.
55566         * sunrpc/rpc_parse.h: Likewise.
55567         * sunrpc/rpc_prot.c: Likewise.
55568         * sunrpc/rpc_sample.c: Likewise.
55569         * sunrpc/rpc_scan.c: Likewise.
55570         * sunrpc/rpc_scan.h: Likewise.
55571         * sunrpc/rpc_svcout.c: Likewise.
55572         * sunrpc/rpc_tblout.c: Likewise.
55573         * sunrpc/rpc_util.c: Likewise.
55574         * sunrpc/rpc_util.h: Likewise.
55575         * sunrpc/rpcinfo.c: Likewise.
55576         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55577         * sunrpc/rpcsvc/key_prot.x: Likewise.
55578         * sunrpc/rpcsvc/klm_prot.x: Likewise.
55579         * sunrpc/rpcsvc/mount.x: Likewise.
55580         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55581         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55582         * sunrpc/rpcsvc/rex.x: Likewise.
55583         * sunrpc/rpcsvc/rstat.x: Likewise.
55584         * sunrpc/rpcsvc/rusers.x: Likewise.
55585         * sunrpc/rpcsvc/sm_inter.x: Likewise.
55586         * sunrpc/rpcsvc/spray.x: Likewise.
55587         * sunrpc/rpcsvc/yppasswd.x: Likewise.
55588         * sunrpc/rtime.c: Likewise.
55589         * sunrpc/svc.c: Likewise.
55590         * sunrpc/svc_auth.c: Likewise.
55591         * sunrpc/svc_authux.c: Likewise.
55592         * sunrpc/svc_raw.c: Likewise.
55593         * sunrpc/svc_run.c: Likewise.
55594         * sunrpc/svc_simple.c: Likewise.
55595         * sunrpc/svc_tcp.c: Likewise.
55596         * sunrpc/svc_udp.c: Likewise.
55597         * sunrpc/svc_unix.c: Likewise.
55598         * sunrpc/svcauth_des.c: Likewise.
55599         * sunrpc/xcrypt.c: Likewise.
55600         * sunrpc/xdr.c: Likewise.
55601         * sunrpc/xdr_array.c: Likewise.
55602         * sunrpc/xdr_float.c: Likewise.
55603         * sunrpc/xdr_mem.c: Likewise.
55604         * sunrpc/xdr_rec.c: Likewise.
55605         * sunrpc/xdr_ref.c: Likewise.
55606         * sunrpc/xdr_sizeof.c: Likewise.
55607         * sunrpc/xdr_stdio.c: Likewise.
55608
55609         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55610         handling.
55611
55612 2010-08-19  Andreas Schwab  <schwab@redhat.com>
55613
55614         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55615
55616 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
55617
55618         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55619         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55620         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55621         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55622         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55623         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55624         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55625         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55626         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55627         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55628         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55629         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55630         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55631         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55632
55633 2010-07-26  Anton Blanchard  <anton@samba.org>
55634
55635         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55636         * malloc/arena.c (heap_trim): Likewise.
55637
55638 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
55639
55640         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55641         here.  Not...
55642         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55643         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55644
55645 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
55646
55647         * sysdeps/i386/elf/Makefile: New file.
55648
55649 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55650
55651         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55652         from fanotify_init.
55653         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55654         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55655
55656 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
55657
55658         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55659         of strncasecmp_l.
55660         * sysdeps/multiarch/strcmp.S: Likewise.
55661
55662 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
55663
55664         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55665         strncase_l-nonascii.
55666         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55667         Add strncase_l-ssse3.
55668         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55669         * sysdeps/x86_64/strcmp.S: Likewise.
55670         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55671         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55672         * sysdeps/x86_64/strncase.S: New file.
55673         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55674         * sysdeps/x86_64/strncase_l.S: New file.
55675         * string/Makefile (strop-tests): Add strncasecmp.
55676         * string/test-strncasecmp.c: New file.
55677
55678         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55679         warning.
55680
55681         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55682         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55683
55684 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55685
55686         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55687
55688 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
55689
55690         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55691         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55692         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55693
55694 2010-05-01  Alan Modra  <amodra@gmail.com>
55695
55696         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55697         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55698         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55699         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55700         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55701         tidying.  Don't tail-call __sigjmp_save for static lib.
55702         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55703         save location.
55704         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55705         (CALL_MCOUNT): Add eh info, and nop after bl.
55706         (TAIL_CALL_SYSCALL_ERROR): New macro.
55707         (PSEUDO_RET): Use it.
55708         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55709         Correct save location of integer regs and cr.
55710         (_dl_profile_resolve): Correct cr save location.  Delete nops
55711         after bl when SHARED.  Reduce cfi size a little by better
55712         placement of cfi directives.
55713         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55714         make a stack frame.  Instead use parm save area as a temp.
55715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55716         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
55717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55718         Don't make a stack frame for parent, use parm save area.
55719         Increase child stack frame to 112 bytes.  Don't save unused reg,
55720         and adjust reg usage.  Set up cfi on error recovery and
55721         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55723         (__makecontext): Add dummy nop after jump to exit.
55724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55725         Use correct parm save area and cr save, reduce stack frame.
55726         Correct cfi for possible PSEUDO_RET frame setup.
55727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55728         Branch to local label emitted by PSEUDO_RET rather than
55729         __syscall_error.
55730
55731 2010-08-12  Andreas Schwab  <schwab@redhat.com>
55732
55733         [BZ #11904]
55734         * locale/programs/locale.c (print_assignment): New function.
55735         (show_locale_vars): Use it.
55736
55737 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
55738
55739         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55740         field.
55741         (struct statfs64): Likewise.
55742         (_STATFS_F_FLAGS): Define.
55743         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55744         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55745         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55746         (ST_VALID): Define locally.
55747         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55748         __statvfs_getflags, use the provided value.
55749         * sysdeps/unix/sysv/linux/kernel-features.h: Define
55750         __ASSUME_STATFS_F_FLAGS.
55751
55752         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55753
55754         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55755         Add sys/fanotify.h.
55756         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55757         fanotify_mask for GLIBC_2.13.
55758         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55759         fanotify_init and fanotify_mark.
55760         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55761         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55762
55763         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55764         Add prlimit.
55765         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55766         prlimit64 for GLIBC_2.13.
55767         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55768         prlimit64.
55769         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55770         syscall.
55771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55772         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55773         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55774         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55775         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
55776         add prlimit alias.
55777         * sysdeps/unix/sysv/linux/prlimit.c: New file.
55778
55779         [BZ #11903]
55780         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55781         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55782
55783         * nss/Makefile: Add rules to build and run tst-nss-test1.
55784         * shlib-versions: Add entry for libnss_test1.
55785         * nss/nss_test1.c: New file.
55786         * nss/tst-nss-test1.c: New file.
55787
55788         * nss/nsswitch.c (__nss_database_custom): Define new variable.
55789         (__nss_configure_lookup): Set appropriate entry in
55790         __nss_configure_lookup to true.
55791         * nss/nsswitch.h: Define enum with indeces of databases in
55792         databases and __nss_database_custom arrays.  Declare
55793         __nss_database_custom.
55794         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55795         to avoid using nscd when custom rules are installed.
55796         * nss/getXXbyYY_r.c: Likewise.
55797         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55798
55799         * nss/nss_files/files-parse.c: Whitespace fixes.
55800
55801 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
55802
55803         [BZ #11883]
55804         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55805         * posix/fnmatch_loop.c: Likewise.
55806
55807 2010-07-17  Andi Kleen  <ak@linux.intel.com>
55808
55809         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55810         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55811         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55812         * Versions.def [GLIBC_2.13]: Add.
55813
55814 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
55815
55816         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55817         Also fail if tpwd after pwuid call is NULL.
55818
55819 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55820
55821         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55822         when converting to ms.
55823
55824 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55825
55826         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55827         EOPNOTSUPP errors with ENOTTY.
55828         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55829         EOPNOTSUPP errors with ENOTTY.
55830
55831 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
55832
55833         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55834         Add strcasecmp_l-ssse3.
55835         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55836         strcasecmp.
55837         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55838         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55839         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55840
55841 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
55842
55843         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55844
55845         * string/Makefile (strop-tests): Add strcasecmp.
55846         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55847         strcasecmp_l-nonascii.
55848         (gen-as-const-headers): Add locale-defines.sym.
55849         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55850         * sysdeps/x86_64/strcasecmp.S: New file.
55851         * sysdeps/x86_64/strcasecmp_l.S: New file.
55852         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55853         * sysdeps/x86_64/locale-defines.sym: New file.
55854         * string/test-strcasecmp.c: New file.
55855
55856         * string/test-strcasestr.c: Test both ends of the range of characters.
55857         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55858
55859 2010-07-29  Roland McGrath  <roland@redhat.com>
55860
55861         [BZ #11856]
55862         * manual/locale.texi (Yes-or-No Questions): Fix example code.
55863
55864 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
55865
55866         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55867         for ld.so.
55868
55869 2010-07-27  Andreas Schwab  <schwab@redhat.com>
55870
55871         * manual/memory.texi (Malloc Tunable Parameters): Document
55872         M_PERTURB.
55873
55874 2010-07-26  Roland McGrath  <roland@redhat.com>
55875
55876         [BZ #11840]
55877         * configure.in (-fgnu89-inline check): Set and substitute
55878         gnu89_inline, not libc_cv_gnu89_inline.
55879         * configure: Regenerated.
55880         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55881
55882 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
55883
55884         * string/test-strnlen.c: New file.
55885         * string/Makefile (strop-tests): Add strnlen.
55886         * string/tester.c (test_strnlen): Add a few more test cases.
55887         * string/tst-strlen.c: Better error reporting.
55888
55889         * sysdeps/x86_64/strnlen.S: New file.
55890
55891 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
55892
55893         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55894         lower-latency instructions.
55895
55896 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
55897
55898         * string/test-strcasestr.c: New file.
55899         * string/test-strstr.c: New file.
55900         * string/Makefile (strop-tests): Add strstr and strcasestr.
55901         * string/str-two-way.h: Don't undefine MAX.
55902         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55903
55904 2010-07-21  Andreas Schwab  <schwab@redhat.com>
55905
55906         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55907         strcasestr-nonascii.
55908         (CFLAGS-strcasestr-nonascii.c): Define.
55909         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55910         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55911         Remove unused attribute.
55912
55913 2010-07-20  Roland McGrath  <roland@redhat.com>
55914
55915         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55916         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
55917         ld.so.cache was broken.  With it, there is no way to disable dsocaps
55918         like LD_HWCAP_MASK can disable hwcaps.
55919
55920 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
55921
55922         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55923
55924 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
55925
55926         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55927         call in strcasestr.
55928         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55929         __strcasestr_sse42_nonascii.
55930         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55931         strcasestr-nonascii.c.
55932         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55933
55934 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
55935
55936         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55937         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55938         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55939         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55940
55941 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
55942
55943         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55944         fcntl.
55945
55946 2010-07-06  Andreas Schwab  <schwab@redhat.com>
55947
55948         [BZ #11577]
55949         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55950         dl_signal_cerror.
55951
55952 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
55953
55954         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55955         _PC_PIPE_BUF using F_GETPIPE_SZ.
55956
55957 2010-07-05  Roland McGrath  <roland@redhat.com>
55958
55959         * manual/arith.texi (Rounding Functions): Fix rint description
55960         implicit in round description.
55961
55962 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
55963
55964         * elf/Makefile: Fix linking for a few tests to make recent linker
55965         happy.
55966
55967 2010-06-30  Andreas Schwab  <schwab@redhat.com>
55968
55969         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55970         $(common-objpfx)libc_nonshared.a.
55971
55972 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
55973
55974         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55975         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55976         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55977         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55978         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55979         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55980         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55981         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55996         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55997         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55998         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55999         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56000         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56001         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56002         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56003         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56004         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56005         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56006         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56007         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56022
56023 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
56024
56025         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56026         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
56027         * string/memmove.c (memmove): Renamed to ...
56028         (MEMMOVE): ...this.  Default to memmove.
56029         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56030         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56031         (END_CHK): Define.
56032         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56033         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56034         mempcpy-ssse3-back memmove-ssse3-back.
56035         * sysdeps/x86_64/multiarch/bcopy.S: New file .
56036         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56037         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56038         * sysdeps/x86_64/multiarch/memcpy.S: New file.
56039         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56040         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56041         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56042         * sysdeps/x86_64/multiarch/memmove.c: New file.
56043         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56044         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56045         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56046         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56047         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56048         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56049         Define.
56050         (index_Fast_Copy_Backward): Define.
56051         (HAS_ARCH_FEATURE): Define.
56052         (HAS_FAST_REP_STRING): Define.
56053         (HAS_FAST_COPY_BACKWARD): Define.
56054
56055 2010-06-21  Andreas Schwab  <schwab@redhat.com>
56056
56057         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56058         Restore proper fallback handling.
56059
56060 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
56061
56062         [BZ #11701]
56063         * posix/group_member.c (__group_member): Correct checking loop.
56064
56065         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56066         OOM in getpwuid_r correctly.  Return error number when the caller
56067         should return, otherwise -1.
56068         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56069         call returning > 0 value.
56070         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56071
56072 2010-06-07  Andreas Schwab  <schwab@redhat.com>
56073
56074         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56075         libc_nonshared.a from targets in modules-names.
56076
56077 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
56078
56079         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56080         requires it.
56081
56082 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
56083
56084         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56085         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56086         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56087         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56088
56089 2010-06-02  Andreas Schwab  <schwab@redhat.com>
56090
56091         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56092
56093 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
56094
56095         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56096         and F_GETPIPE_SZ.
56097         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56098         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56099         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56100         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56101         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56102         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56103
56104 2010-06-14  Roland McGrath  <roland@redhat.com>
56105
56106         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56107
56108 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
56109
56110         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56111         __REDIRECT followed by __THROW.
56112         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56113         * posix/getopt.h (getopt): Likewise.
56114
56115 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56116
56117         * hurd/lookup-at.c (__file_name_lookup_at): Accept
56118         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
56119         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56120         in AT_FLAGS.
56121         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56122         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56123
56124 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
56125
56126         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56127
56128 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
56129
56130         [BZ #11640]
56131         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56132         Properly check family and model.
56133
56134 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
56135
56136         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56137
56138 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
56139
56140         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56141
56142 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
56143
56144         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56145         symbol reference.
56146
56147 2010-05-19  Andreas Schwab  <schwab@redhat.com>
56148
56149         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56150         symbol reference.
56151
56152 2010-05-21  Andreas Schwab  <schwab@redhat.com>
56153
56154         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56155         and internal_recvmmsg.
56156         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56157         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56158         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56159         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56160
56161         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56162         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56163         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56164
56165 2010-05-20  Andreas Schwab  <schwab@redhat.com>
56166
56167         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56168
56169 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
56170
56171         POWER7 optimizations.
56172         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56173         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56174
56175 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
56176
56177         * version.h: Update for 2.13 development version.
56178
56179 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
56180
56181         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56182         exceptions.  Return 0.
56183
56184 2010-05-07  Roland McGrath  <roland@redhat.com>
56185
56186         * elf/ldconfig.c (main): Add a const.
56187
56188 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
56189
56190         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56191         (args_options): Add no-idn option.
56192         (ahosts_keys_int): Add idn_flags to ai_flags.
56193         (parse_option): Handle 'i' option to clear idn_flags.
56194
56195         * malloc/malloc.c (_int_free): Possible race in the most recently
56196         added check.  Only act on the data if no current modification
56197         happened.
56198
56199 See ChangeLog.17 for earlier changes.